Bug#991828: xperia-flashtool: fails to prepare flash-files and flash them

Klodwig Seibertz ksos at gmx.net
Mon Aug 2 20:28:25 BST 2021


Package: xperia-flashtool
Version: 0.9.33+ds-1
Severity: important
X-Debbugs-Cc: ksos at gmx.net

Dear Maintainer,

   * What led up to the situation?
   - I was unable to use the flashtool from Flashtool.net due to "outdated"
     glibc in Debian buster. I fell back to the Debian package version 
     which I did not know of until then. Using the Debian version seemed
     like the best solution to me.
   
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   - I tried to flash a Sony Xperia Z2 Sirius stock ROM via Flashtool.
   - The good: 
   	- gui: started
	- connection to the device via USB in flashmode/fastboot was
	  possible
	- flash preparation could start but: it is known, or at least
	  was known, that the linux version needs an external Xperifirm
	  version to download the needed firmware. So I used Xperifirm,
	  via mono, to fetch und unpack the needed firmware (worked) and
	  loaded it to ~/.flashTool/firmwares/downloads to build the
	  flash-list via the "XF-Button" in flashtool.
   
   * What was the outcome of this action?
   - Nothing happend, there was no list build and therefore the flash-preparation
     could not start nor be finished, the software did nothing.
   - This is reproducible
   - I used an old version of Flashtool to build a flash-list and
     afterwards could proceed to the flash-preparation where the
     software finally fully hung-up and did nothing more

   * What outcome did you expect instead?
   - I expected that the flash-preparation would finish and I will be
     asked to conncet my device in flash-mode and then would get my
     device flashed. This did not happen.
   - I added the terminal output
---
	$ flashtool -gui
	2021-08-02 20:11:52,888 main ERROR No ScriptEngine found for language bsh. Available languages are: nashorn, Nashorn, js, JS, JavaScript, javascript, ECMAScript, ecmascript
	2021-08-02 20:11:52,890 main ERROR No ScriptEngine found for language bsh. Available languages are: nashorn, Nashorn, js, JS, JavaScript, javascript, ECMAScript, ecmascript
	2021-08-02 20:11:52,897 main ERROR No script with name selector has been declared.
	2021-08-02 20:11:52,900 main ERROR No script with name selector has been declared.
	2021-08-02 20:11:52,908 main ERROR No script with name selector has been declared.
	2021-08-02 20:11:52,911 main ERROR No script with name isconsole has been declared.
	2021-08-02 20:11:52,912 main ERROR No script with name isconsole has been declared.
	<- This level is successfully initialized
	JAVA_HOME : /usr/lib/jvm/java-11-openjdk-amd64
	Flashtool 0.9.33.0
	libusb version 1.0.24
	Searching for a web proxy
	A proxy has been found. Using it as default
	cannot connect to daemon at tcp:5037: Connection refused
	adb: Kein Prozess gefunden
	Loading devices database
	Loaded 131 devices
	Starting phone detection
	Device disconnected
	Creating bundle from ftf file : /home/klodwig/.flashTool/firmwares/D6503_23.5.A.1.291_Customized CE1.ftf
	Added this entry to the bundle list : loader.sin
	Added this entry to the bundle list : amss_fsg.sin
	Added this entry to the bundle list : amss_fs_1.sin
	Added this entry to the bundle list : amss_fs_2.sin
	Added this entry to the bundle list : apps_log.sin
	Added this entry to the bundle list : auto-boot.ta
	Added this entry to the bundle list : boot_delivery.xml
	Added this entry to the bundle list : cache.sin
	Added this entry to the bundle list : cust-reset.ta
	Added this entry to the bundle list : elabel.sin
	Added this entry to the bundle list : fota-reset.ta
	Added this entry to the bundle list : fotakernel.sin
	Added this entry to the bundle list : kernel.sin
	Added this entry to the bundle list : osv-restriction.ta
	Added this entry to the bundle list : partition-image.sin
	Added this entry to the bundle list : system.sin
	Added this entry to the bundle list : userdata.sin
	Selected Bundle for Sony Xperia Z2(D6503). FW release : 23.5.A.1.291. Customization : Customized CE1
	Preparing files for flashing
	^C

Best regards,
Klodwig


-- System Information:
Debian Release: 11.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-6-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages xperia-flashtool depends on:
ii  default-jre                    2:1.11-72
ii  fastboot                       1:10.0.0+r36-7
ii  java-wrappers                  0.3
ii  libapk-parser-java             2.6.10+ds-4
ii  libbcpkix-java                 1.68-2
ii  libbigdoc-java                 0.3.0-2
ii  libcommons-compress-java       1.20-1
ii  libcommons-io-java             2.8.0-1
ii  libeclipse-core-commands-java  3.9.800+eclipse4.18-2
ii  libeclipse-core-jobs-java      3.10.1000+eclipse4.18-1
ii  libeclipse-jface-java          3.22.0+eclipse4.18-2
ii  libeclipse-osgi-java           3.16.100+eclipse4.18-1
ii  libeclipse-ui-forms-java       3.11.0+eclipse4.18-2
ii  libequinox-common-java         3.14.0+eclipse4.18-1
ii  libguava-java                  29.0-6
ii  libjarchivelib-java            1.1.0-1
ii  libjbbp-java                   2.0.3-1
ii  libjdom2-java                  2.0.6-2
ii  libjgit-java                   4.11.9-1
ii  libjna-java                    5.6.0-1
ii  libjna-platform-java           5.6.0-1
ii  liblog4j2-java                 2.13.3-1
ii  liblz4-java                    1.5.1-3
ii  libpicocli-java                3.9.6-3
ii  libproxy-vole-java             1.0.3-3
ii  libswt-cairo-gtk-4-jni         4.17.0-1
ii  libswt-gtk-4-java              4.17.0-1
ii  libusb-1.0-0                   2:1.0.24-3

Versions of packages xperia-flashtool recommends:
ii  adb  1:10.0.0+r36-7

xperia-flashtool suggests no packages.

-- no debconf information



More information about the pkg-java-maintainers mailing list