Code Monkey home page Code Monkey logo

flashtool's People

Contributors

androxyde avatar bin4ry avatar championswimmer avatar doomlord avatar frost-nzcr4 avatar russel5 avatar squallatf avatar xperiaoverlay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flashtool's Issues

Error in processHeader while try to flash "xperia mini pro sk17i" with flashtool-0.9.19.10

While I tried to flash my sk17i I always get error Processing of loader.sin finished with errors.
I use Ubuntu 14.04, I also tried on Windows, but there exactly the same error.

Trace:

$ ./FlashTool
Not running as root but Sony/SonyEriccson Vendor ID found on your udev rules
if Flashing didn't work well, run flashtool as root
Used java home : ./x10flasher_lib/linjre64
flashsystem.X10FlashException: Error in processHeader : null
    at flashsystem.X10flash.processHeader(X10flash.java:313)
    at flashsystem.X10flash.uploadImage(X10flash.java:324)
    at flashsystem.X10flash.sendLoader(X10flash.java:404)
    at flashsystem.X10flash.flashDevice(X10flash.java:759)
    at gui.tools.FlashJob.run(FlashJob.java:42)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
flashsystem.X10FlashException: Error in processHeader : null
    at flashsystem.X10flash.uploadImage(X10flash.java:344)
    at flashsystem.X10flash.sendLoader(X10flash.java:404)
    at flashsystem.X10flash.flashDevice(X10flash.java:759)
    at gui.tools.FlashJob.run(FlashJob.java:42)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Full log with Debug enabled: https://drive.google.com/open?id=0B7Ad4gohdViicUdhcC1aQ2ZSMUE

However older version flashtool-0.9.10.1-linux works good.

Checksum problem Flashtool-0.9.23.1

I've downloaded the package flashtool-0.9.23.1-linux.tar.7z from http://www.flashtool.net/downloads_linux.php. As you can see, the MD5 hash is 3C70AF72F9B9E45C195F9192409E0C0F. This is the second download and when I check the value with md5sum I get a68d331f710b78f7eaf4350e70d3e693.

Can anyone explain me why, as I don't think the file I have downloaded is always damaged? The Flashtool program seems to execute correctly, but I want to be sure. Thanks.

Remember last used firmware folder

Please implement opening last remembered firmware folder upon "Flash" button click.
It is soooo frustrating when it always opens the same "firmware" folder at flashtool installation directory and waiting for windows to fetch the whole directory tree and being unable to switch folder until it finishes. :(
Over and over again after each "Flash" click.

NumberFormatException: For input string: "serd"

Hi,

I have win7 64 bit and trying to use flashtool-0.9.22.3.
But it does not start, and stderr.log contains following:

java.lang.IllegalArgumentException: Malformed \uxxxx encoding. at org.ini4j.spi.EscapeTool.unescapeBinary(EscapeTool.java:188) at org.ini4j.spi.EscapeTool.unescape(EscapeTool.java:112) at org.ini4j.spi.AbstractParser.unescapeFilter(AbstractParser.java:109) at org.ini4j.spi.AbstractParser.parseOptionLine(AbstractParser.java:91) at org.ini4j.spi.IniParser.parse(IniParser.java:101) at org.ini4j.spi.IniParser.parse(IniParser.java:67) at org.ini4j.Ini.load(Ini.java:119) at org.ini4j.Ini.load(Ini.java:114) at org.ini4j.Ini.load(Ini.java:99) at org.ini4j.Ini.<init>(Ini.java:69) at com.btr.proxy.search.browser.firefox.WinFirefoxProfileSource.getProfileFolder(WinFirefoxProfileSource.java:61) at com.btr.proxy.search.browser.firefox.FirefoxSettingParser.parseSettings(FirefoxSettingParser.java:36) at com.btr.proxy.search.browser.firefox.FirefoxProxySearchStrategy.readSettings(FirefoxProxySearchStrategy.java:147) at com.btr.proxy.search.browser.firefox.FirefoxProxySearchStrategy.getProxySelector(FirefoxProxySearchStrategy.java:95) at com.btr.proxy.search.ProxySearch.getProxySelector(ProxySearch.java:194) at org.system.Proxy.setProxy(Proxy.java:30) at gui.MainSWT.createContents(MainSWT.java:1183) at gui.MainSWT.open(MainSWT.java:118) at gui.Main.main(Main.java:46) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.exe4j.runtime.LauncherEngine.launch(Unknown Source) at com.exe4j.runtime.WinLauncher.main(Unknown Source) Caused by: java.lang.NumberFormatException: For input string: "serd" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at org.ini4j.spi.EscapeTool.unescapeBinary(EscapeTool.java:183) ... 24 more

How can i help with C5 devices

Hello,
I am the owner of an Xperia C5 Dual and willing to help to get flashtool support for this device.
Only, I don't know how to help....can anyone guide me?
Regards

.

.

First attempt at flashing a "bundle" always fails

After flashtool starts up, the first attempt at flashing a bundle results in a failure. However the second attempt at the same bundle succeeds.

Log is following:

02/017/2015 21:17:14 - INFO - Selected Bundle for Sony Xperia Z1 (C6906). FW release : 14.5.A.0.242. Customization : Generic CA
02/017/2015 21:17:14 - INFO - Preparing files for flashing
02/017/2015 21:17:25 - INFO - Please connect your device into flashmode.
02/017/2015 21:17:29 - INFO - Device connected in flash mode
02/017/2015 21:17:30 - INFO - Opening device for R/W
02/017/2015 21:17:30 - INFO - Reading device information
02/017/2015 21:17:30 - INFO - Unable to read from phone after having opened it.
02/017/2015 21:17:30 - INFO - trying to continue anyway
02/017/2015 21:17:30 - INFO - Start Flashing
02/017/2015 21:17:30 - INFO - Processing loader.sin
02/017/2015 21:17:30 - INFO - Checking header
02/017/2015 21:17:30 - ERROR - Processing of loader.sin finished with errors.
02/017/2015 21:17:30 - INFO - Ending flash session
02/017/2015 21:17:30 - ERROR - Error in processHeader : 6 : The handle is invalid.
02/017/2015 21:17:30 - ERROR - Error flashing. Aborted
02/017/2015 21:17:30 - INFO - Device connected in flash mode
02/017/2015 21:17:44 - INFO - Selected Bundle for Sony Xperia Z1 (C6906). FW release : 14.5.A.0.242. Customization : Generic CA
02/017/2015 21:17:44 - INFO - Preparing files for flashing
02/017/2015 21:17:55 - INFO - Please connect your device into flashmode.
02/017/2015 21:17:56 - INFO - Opening device for R/W
02/017/2015 21:17:56 - INFO - Reading device information
02/017/2015 21:17:56 - INFO - Phone ready for flashmode operations.

Error Flashing Xperia XZ

I am trying to flash a new US Xperia XZ running the latest Android 7.0 to a UK or other fingerprint sensor enabled firmware, but I keep getting this error:

12/030/2017 22:30:12 - INFO - Start Flashing
12/030/2017 22:30:12 - INFO - No loader in the bundle. Searching for one
12/030/2017 22:30:15 - INFO - No matching loader found
12/030/2017 22:30:15 - WARN - No loader found or set manually. Skipping loader
12/030/2017 22:30:15 - INFO - Ending flash session
12/030/2017 22:30:15 - ERROR - null
12/030/2017 22:30:15 - ERROR - Error flashing. Aborted
12/030/2017 22:30:16 - INFO - Device connected in flash mode

I tried both using and not using the fsc file, downloading the XZ driver from Sony developers website and manually creating the ftf file. I cannot install all the drivers as some suggested, it shows "install failed" for many of the drivers and there is not one for the XZ.

Thank you for your help.

Incorrect IMEI when attempting to unlock bootloader (Linux 0.9.19.10)

Hello, title says it all. I have an M4 Aqua E2306 and I am attempting to unlock the bootloader. Whenever I tried to unlock it, it would say it worked but it really didn't, and then I found that tool was not using the right IMEI but I cannot select it to change it. In the meantime, is there anyway that I can manually change the IMEI?
Using Fedora 23
screenshot from 2015-12-06 22-00-53

FlashTool doesn't open anymore on Ubuntu 16.04

It used to work perfectly but it suddenly stopped. i gues it has something to do with Ubuntu/java updates since the same installed versions worked before on same system.

Running as root. Used java home : ./x10flasher_lib/linjre64 Exception in thread "main" java.lang.NullPointerException at org.logger.MyLogger.setLevel(MyLogger.java:59) at gui.Main.main(Main.java:29)

Hangs on clicking "Create" in Bundle.

On Linux (Fedora 25 Workstation Edition):
Flashtool hangs when I click the "Create" button. It works perfectly fine upto then.
Traceback:

java.lang.NullPointerException
at org.system.DeviceEntry.getFlashScript(DeviceEntry.java:370)
at gui.BundleCreator$6.widgetSelected(BundleCreator.java:312)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5227)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4561)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4151)
at gui.BundleCreator.open(BundleCreator.java:113)
at gui.MainSWT$21.widgetSelected(MainSWT.java:504)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5227)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4561)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4151)
at gui.MainSWT.open(MainSWT.java:180)
at gui.Main.main(Main.java:46)

WARN - (X10flash.java:377) - No loader found or set manually. Skipping loader

I'm trying to get the UK Version of the OS on my Xperia X Performance to take advantage of the fingerprint reader. Here are the steps I've taken...

  1. Downloaded, Installed and upgraded to the flashing tool version 0.9.23.2.
  2. Downloaded and opened XperiFirm. Selected my phone, and the UK Version of the driver (Customized UK, 41.2.A.2.199)
  3. Opened the flashing tool, selected, tools / bundles / create. Found the driver (step 2), selected my phone, entered branding and version info. Moved all of the files to the firmware content, clicked create. This was successful.
  4. Clicked on the lightening icon, selected "Flashmode".
  5. Found the correct firmware from the tree. Selected APPS_LOG and USERDATA form the wipe list, and clicked Flash.
  6. With my phone turned off, I waited for the instructions to press the volume down button and plugged in the USB cable.

The only warning I get is WARN - (X10flash.java:377) - No loader found or set manually. Skipping loader.

Here is the log with additional info.

phonelog.txt

I've tried:

  • uninstalled and re-downloaded the flash tool and the driver
  • turning everything on and off
  • scouring the net to find a solution

Any thoughts?

GUI is partly unreadable with GTK dark theme

On my machine (Linux/Debian/Stretch), the interface is partly unreadable, colors are messed up. It seems the background color is the standard grey, while the foreground color is changed to be light grey or white.

sony mobile flasher by androxyde --- new version 0 9 23 2 available --- _016

Above is shown when the dialog is not focused, when it gets the focus the text turns even lighter. Using strace I found out this is due to my ~/.config/gtk-3.0/settings.ini file, which contains:

[Settings]
gtk-application-prefer-dark-theme=1

Setting this to 0 fixes the GUI.

Again, not sure if this is something Flashtool should fix (it's probably an eclipse problem), but I wanted to document it here anyway.

Facing NegativeArraySizeException

I'm trying to flash .ftf file in flashmode on my Xperia Z3 Compact (D5833).
The firmware being installed flashed is D5833_23.1.A.1.28_Customized India.

As soon as flashtool starts flashing data, it throws NegativeArraySizeException at line SinFile.java:276.

The process goes smooth with other firmwares, though this may lead us into thinking that this is ftf file specific issue, there is high chance that some conditions aren't handled by code which are valid in some ftf files.

Exception from log file:
java.lang.NegativeArraySizeException
at flashsystem.SinFile.processHeader(SinFile.java:276)
at flashsystem.SinFile.(SinFile.java:36)
at flashsystem.X10flash.sendImages(X10flash.java:358)
at flashsystem.X10flash.flashDevice(X10flash.java:498)
at gui.tools.FlashJob.run(FlashJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Logs from flashtool UI:
10/037/2015 19:37:48 - INFO - Flashtool Version 0.9.18.5 built on 14-02-2015 15:30:00
10/037/2015 19:37:48 - INFO - Executing search strategies to find proxy selector
10/037/2015 19:37:49 - INFO - No proxy found for IE. Trying next one
10/037/2015 19:37:49 - INFO - No proxy found for firefox. Trying next one
10/037/2015 19:37:49 - INFO - No proxy found for java. Trying next one
10/037/2015 19:37:49 - INFO - Syncing devices from github
10/037/2015 19:37:49 - INFO - Scanning devices folder for changes.
10/037/2015 19:37:53 - INFO - Pulling changes from github.
10/037/2015 19:37:55 - INFO - Devices sync finished.
10/037/2015 19:37:59 - INFO - Device disconnected
10/037/2015 19:37:59 - INFO - Selected Bundle for Sony Xperia Z3 Compact (D5833). FW release : 23.1.A.1.28. Customization : Customized India
10/037/2015 19:37:59 - INFO - Preparing files for flashing
10/038/2015 19:38:14 - INFO - Please connect your device into flashmode.
10/038/2015 19:38:25 - INFO - Device connected with USB debugging off
10/038/2015 19:38:25 - INFO - For 2011 devices line, be sure you are not in MTP mode
10/038/2015 19:38:30 - INFO - Device disconnected
10/038/2015 19:38:51 - INFO - Device connected in flash mode
10/038/2015 19:38:52 - INFO - Opening device for R/W
10/038/2015 19:38:52 - INFO - Reading device information
10/038/2015 19:38:52 - INFO - Phone ready for flashmode operations.
10/038/2015 19:38:52 - INFO - Current device : D5833 - YT910ZVA8G - 1288-8703_R8C - 1285-6521_23.1.A.1.28 - APAC-LTE_23.1.A.0.726
10/038/2015 19:38:52 - INFO - Start Flashing
10/038/2015 19:38:52 - INFO - Processing loader.sin
10/038/2015 19:38:52 - INFO - Checking header
10/038/2015 19:38:52 - INFO - Flashing data
10/038/2015 19:38:52 - INFO - Processing of loader.sin finished.
10/038/2015 19:38:53 - INFO - Loader : S1_Root_9c84 - Version : MSM8974AB_27 / Boot version : S1_Boot_MSM8974AC_LA3.0_L_15.4 / Bootloader status : ROOTABLE
10/038/2015 19:38:53 - INFO - Processing partition-image.sin
10/038/2015 19:38:53 - INFO - Checking header
10/038/2015 19:38:53 - INFO - Flashing data
10/038/2015 19:38:53 - INFO - Processing of partition-image.sin finished.
10/038/2015 19:38:53 - INFO - Parsing boot delivery
10/038/2015 19:38:53 - INFO - Phone boot version : S1_Boot_MSM8974AC_LA3.0_L_15.4. Boot delivery version : S1_Boot_MSM8974AC_LA3.0_L_15.4
10/038/2015 19:38:53 - INFO - Boot delivery up to date. Nothing to do
10/038/2015 19:38:53 - INFO - Processing kernel.sin
10/038/2015 19:38:53 - INFO - Checking header
10/038/2015 19:38:53 - INFO - Flashing data
10/038/2015 19:38:55 - INFO - Processing of kernel.sin finished.
10/038/2015 19:38:55 - INFO - Processing fotakernel.sin
10/038/2015 19:38:55 - INFO - Checking header
10/038/2015 19:38:55 - INFO - Flashing data
10/038/2015 19:38:57 - INFO - Processing of fotakernel.sin finished.
10/038/2015 19:38:57 - INFO - Processing amss_fs_2.sin
10/038/2015 19:38:57 - INFO - Checking header
10/038/2015 19:38:57 - INFO - Flashing data
10/038/2015 19:38:57 - INFO - Processing of amss_fs_2.sin finished.
10/038/2015 19:38:57 - INFO - Processing amss_fs_1.sin
10/038/2015 19:38:57 - INFO - Checking header
10/038/2015 19:38:57 - INFO - Flashing data
10/038/2015 19:38:57 - INFO - Processing of amss_fs_1.sin finished.
10/038/2015 19:38:57 - INFO - Processing amss_fsg.sin
10/038/2015 19:38:57 - INFO - Checking header
10/038/2015 19:38:57 - INFO - Flashing data
10/038/2015 19:38:57 - INFO - Processing of amss_fsg.sin finished.
10/038/2015 19:38:57 - INFO - Ending flash session
10/038/2015 19:38:57 - ERROR -
10/038/2015 19:38:57 - ERROR - Error flashing. Aborted
10/038/2015 19:38:57 - INFO - Device connected in flash mode
10/040/2015 19:40:08 - INFO - Device disconnected
10/040/2015 19:40:13 - INFO - Device connected with USB debugging off
10/040/2015 19:40:13 - INFO - For 2011 devices line, be sure you are not in MTP mode
10/055/2015 19:55:45 - INFO - Flash canceled

Device connected in fastboot mode; This action can only be performed in fastboot mode

As the title states;
snapshot64
The device is detected as being connected in fastboot mode, but once I try to perform an action like flashing a kernel, I get told I can't do that because the device needs to be connected in fastboot mode, which it already is.

Connection in flashmode is detected correctly, but of course actions that can only be performed in fastboot mode still don't work there.

[robin@pingu ~]$ uname -a
Linux pingu 3.14.4-1-ARCH #1 SMP PREEMPT Tue May 13 16:41:39 CEST 2014 x86_64 GNU/Linux
[robin@pingu ~]$ java -version
java version "1.7.0_55" OpenJDK Runtime Environment (IcedTea 2.4.7) (ArchLinux build 7.u55_2.4.7-1-x86_64) OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
snapshot65

Problems in Linux

Sony Mobile Flasher by Androxyde doesn't work correctly in my Fedora 21 GNOME. When I run "./FlashTool" from the terminal in the extracted FlashTool folder the Flashtool starts with a dialogue box stating that "Please move /home/kuntal/Desktop/FlashTool/firmwares content to /root/.flashTool/firmwares" which I can't remove and also can't move the firmwares either.

Please somebody help me. A detailed tutorial of installing Flashtool in Fedora 21 GNOME and Linux Mint 17.1 Rebecca Cinnamon wil be greatly appriciated.
Thanks in advance.
screenshot from 2015-04-22 12 28 48

Fails to load devices list from github due to .gitconfig

(Feel free to skip to the end of this post, while writing it I realized the cause of the problem)

When I run flashtool on Linux/Debian/Stretch, it seemingly fails to load the devices list from github. When I do a sync, it finishes quite quickly, and nothing seems to be cloned.

When I enable debug logging and sync, I get:

13/015/2017 22:15:17 - INFO  - (DevicesSyncJob.java:25) - Syncing devices from github
13/015/2017 22:15:17 - INFO  - (DevicesGit.java:64) - Opening devices repository.
13/015/2017 22:15:17 - INFO  - (DevicesGit.java:82) - Scanning devices folder for changes.
13/015/2017 22:15:17 - INFO  - (DevicesGit.java:92) - Pulling changes from github.
13/015/2017 22:15:18 - INFO  - (DevicesGit.java:105) - Quietly closing devices repository.
13/015/2017 22:15:18 - INFO  - (DevicesGit.java:105) - Quietly closing devices repository.
13/015/2017 22:15:18 - WARN  - (Repository.java:883) - close() called when useCnt is already zero
13/015/2017 22:15:18 - DEBUG - (Repository.java:886) - 
java.lang.IllegalStateException
	at org.eclipse.jgit.lib.Repository.close(Repository.java:885) [org.eclipse.jgit_4.4.1.201607150455-r.jar:4.4.1.201607150455-r]
	at org.system.DevicesGit.closeRepository(DevicesGit.java:112) [x10flasher.jar:Version 0.9.23.1 built on 11-01-2017 15:12:00]
	at org.system.DevicesGit.gitSync(DevicesGit.java:43) [x10flasher.jar:Version 0.9.23.1 built on 11-01-2017 15:12:00]
	at gui.tools.DevicesSyncJob.run(DevicesSyncJob.java:26) [x10flasher.jar:Version 0.9.23.1 built on 11-01-2017 15:12:00]
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) [org.eclipse.core.jobs_3.8.0.v20160509-0411.jar:?]
13/015/2017 22:15:18 - INFO  - (DevicesSyncJob.java:27) - Devices sync finished.

Once I got this backtrace on stderr, though it doesn't seem reproducible (I don't get any output on stderr mostly):

org.eclipse.jgit.api.errors.TransportException: [email protected]:Androxyde/devices.git: Auth fail           
        at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:135)                            
        at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:202)                                                
        at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:135)                                 
        at org.system.DevicesGit.cloneRepository(DevicesGit.java:55)                                       
        at org.system.DevicesGit.pullRepository(DevicesGit.java:97)                                       
        at org.system.DevicesGit.gitSync(DevicesGit.java:40)                                                       
        at gui.tools.DevicesSyncJob.run(DevicesSyncJob.java:26)                                                
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)                                     
Caused by: org.eclipse.jgit.errors.TransportException: [email protected]:Androxyde/devices.git: Auth fail      
        at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:159)     
        at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:137)                        
        at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:264)
        at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:162)                  
        at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)                       
        at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)                              
        at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1179)                                     
        at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128)                                       
        ... 7 more                                                                                             
Caused by: com.jcraft.jsch.JSchException: Auth fail                                                            
        at com.jcraft.jsch.Session.connect(Session.java:512)                                                   
        at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:116)                                               
        ... 14 more      

I'm a bit surprised at seeing this git url, since the obvious place in the source uses a https url.

The cause

Writing this, I suddenly realize what's happening: I have a ~/.gitconfig file that contains:

[url "[email protected]:"]
       insteadOf = https://github.com/

To make sure I always use git for my own submodules, even when they specify to use https. Apparently the git client used by Flashtool observes this config, but then does not support SSH key (agent) authentication or something similar. Removing these lines fixes the sync.

I'm not sure if there's anything Flashtool could or should do to fix this, so feel free to close this issue without changes.

Flashtool won't startup, Java Error

Flashtool 0.9.18.6,
it won't startup, and stderr.log is made everytime i try to open.

  • Windows 8.1 64bit

of course i've tried uninstall and reinstall.
nothing shows up.

this is the contents of stderr.log.

java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at com.btr.proxy.search.browser.firefox.FirefoxProxySearchStrategy.getProxySelector(FirefoxProxySearchStrategy.java:96)
at com.btr.proxy.search.ProxySearch.getProxySelector(ProxySearch.java:192)
at org.system.Proxy.setProxy(Proxy.java:30)
at gui.MainSWT.createContents(MainSWT.java:1019)
at gui.MainSWT.open(MainSWT.java:116)
at gui.Main.main(Main.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)


Add support for Simple USB Logger Beta

Simple USB Logger v1.7 doesn't support USB 3.0 port (or Windows 10?) and can't get log.

Simple USB Logger Beta (2.0.8) supports USB 3.0 port and it works fine on Windows 10 x64,
but I couldn't create fsc with the log.
Flashtool tries to parse log file, but it outputs empty fsc file.
http://www.incentivespro.com/forum/viewtopic.php?t=1856&sid=a4703dfcb2ffc267a697863b198f4833

Here is log file taken with beta 2.0.8 (Xperia X Performance 41.2.A.2.223)
https://drive.google.com/open?id=0B0j3VJ1Xp5N8UmdSWUNocmh2MjQ

Please add support for Simple USB Logger Beta's log file.

Error null on creating bundle

Hi,
I keep getting Error - null when creating bundle (tested manually and with xperifirm-button on ubuntu x64 and windows 7 64bit multilple times).

FW:
F5321_Customized DE_1305-6830_34.2.A.0.292_R5C

Errorlog:
26/022/2017 22:22:26 - DEBUG - (MyLogger.java:82) - <- This level is successfully initialized
26/022/2017 22:22:29 - INFO - (XperiFirm.java:51) - Downloading latest XperiFirm
26/023/2017 22:23:19 - INFO - (XperiFirm.java:95) - Creating bundle for Xperia X Compact Customized DE 34.2.A.0.292
26/023/2017 22:23:19 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : adspso_S1-SW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:19 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : amss_fsg_S1-MODEMSW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:19 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : amss_fs_1_S1-MODEMSW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:19 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : amss_fs_2_S1-MODEMSW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:19 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : apps_log_S1-SW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:19 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : auto-boot.ta
26/023/2017 22:23:19 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : boot_delivery.xml
26/023/2017 22:23:19 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : cache_S1-SW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:19 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : cust-reset.ta
26/023/2017 22:23:19 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : diag_S1-SW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:19 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : elabel-F5321-row-row_201609050139669.1_34.2.A.0.292_S1-ELABEL-LIVE-D553-PID1-0004-MMC.sin
26/023/2017 22:23:19 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : fota-reset.ta
26/023/2017 22:23:19 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : fotakernel_S1-SW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:19 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : kernel_S1-SW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:19 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : master-reset.ta
26/023/2017 22:23:19 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : modem_S1-MODEMSW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:19 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : oem_S1-SW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:19 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : osv-restriction.ta
26/023/2017 22:23:19 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : partition-image_S1-SW-LIVE-D553-PID1-0006-MBR.sin
26/023/2017 22:23:19 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : persist_S1-SW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:19 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : Qnovo_S1-SW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:19 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : ramdump_S1-SW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:19 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : reset-non-secure-adb.ta
26/023/2017 22:23:19 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : reset-wipe-reason.ta
26/023/2017 22:23:19 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : ssd_S1-SW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:20 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : system_S1-SW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:20 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : userdata_S1-SW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:20 - ERROR - (XperiFirm.java:99) - null
26/023/2017 22:23:20 - INFO - (XperiFirm.java:95) - Creating bundle for Xperia X Compact Customized DE 34.2.A.0.292
26/023/2017 22:23:20 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : adspso_S1-SW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:20 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : amss_fsg_S1-MODEMSW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:20 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : amss_fs_1_S1-MODEMSW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:20 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : amss_fs_2_S1-MODEMSW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:20 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : apps_log_S1-SW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:20 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : auto-boot.ta
26/023/2017 22:23:20 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : cache_S1-SW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:20 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : cust-reset.ta
26/023/2017 22:23:20 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : diag_S1-SW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:20 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : elabel-F5321-row-row_201609050139669.1_34.2.A.0.292_S1-ELABEL-LIVE-D553-PID1-0004-MMC.sin
26/023/2017 22:23:20 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : fota-reset.ta
26/023/2017 22:23:20 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : fotakernel_S1-SW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:20 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : kernel_S1-SW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:20 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : master-reset.ta
26/023/2017 22:23:20 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : modem_S1-MODEMSW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:20 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : oem_S1-SW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:20 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : osv-restriction.ta
26/023/2017 22:23:20 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : partition-image_S1-SW-LIVE-D553-PID1-0006-MBR.sin
26/023/2017 22:23:20 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : persist_S1-SW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:20 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : Qnovo_S1-SW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:20 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : ramdump_S1-SW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:20 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : reset-non-secure-adb.ta
26/023/2017 22:23:20 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : reset-wipe-reason.ta
26/023/2017 22:23:20 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : ssd_S1-SW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:20 - DEBUG - (Bundle.java:135) - Added this entry to the bundle list : system_S1-SW-LIVE-D553-PID1-0006-MMC.sin
26/023/2017 22:23:20 - ERROR - (XperiFirm.java:99) - null

Support for Nougat?

Tried to flash Android 7.0 with Flashtool but /system wouldn't get flashed for some reason. Any support planned for it?

Error: Could not find or load main class gui.Main

Hello,
I follow the instructions on the file BUILD.md, everythings gone right!
But when I launch the program:

$ ./../Deploy/FlashTool/FlashTool
Not running as root but Sony/SonyEriccson Vendor ID found on your udev rules
if Flashing didn't work well, run flashtool as root
Used java home : ./x10flasher_lib/linjre64
Error: Could not find or load main class gui.Main

When I installed it from AUR "yaourt -S xperia-flashtool", When I plug the device, I have this error:

$ xperia-flashtool 
Not running as root but Sony/SonyEriccson Vendor ID found on your udev rules
if Flashing didn't work well, run flashtool as root
Used java home : ./x10flasher_lib/linjre64
18/049/2017 17:49:01 - INFO  - <- This level is successfully initialized
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f5690a406a7, pid=10209, tid=0x00007f564dd44700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_112-b15) (build 1.8.0_112-b15)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.112-b15 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [jna5433525613938673711.tmp+0x96a7]  Java_com_sun_jna_Native__1getPointer+0xc7
#
# Core dump written. Default location: /usr/lib/xperia-flashtool/core or core.10209
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid10209.log
Compiled method (nm)  109376 2674     n 0       com.sun.jna.Native::_getPointer (native)
 total in heap  [0x00007f56b1869590,0x00007f56b18698f0] = 864
 relocation     [0x00007f56b18696b8,0x00007f56b1869700] = 72
 main code      [0x00007f56b1869700,0x00007f56b18698e8] = 488
 oops           [0x00007f56b18698e8,0x00007f56b18698f0] = 8
Compiled method (c1)  109376 2582       3       com.sun.jna.Structure::readField (302 bytes)
 total in heap  [0x00007f56b1816450,0x00007f56b1819498] = 12360
 relocation     [0x00007f56b1816578,0x00007f56b18167e8] = 624
 main code      [0x00007f56b1816800,0x00007f56b1818580] = 7552
 stub code      [0x00007f56b1818580,0x00007f56b18187a8] = 552
 oops           [0x00007f56b18187a8,0x00007f56b18187c0] = 24
 metadata       [0x00007f56b18187c0,0x00007f56b1818800] = 64
 scopes data    [0x00007f56b1818800,0x00007f56b1819068] = 2152
 scopes pcs     [0x00007f56b1819068,0x00007f56b1819428] = 960
 dependencies   [0x00007f56b1819428,0x00007f56b1819430] = 8
 nul chk table  [0x00007f56b1819430,0x00007f56b1819498] = 104
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
/usr/lib/xperia-flashtool/FlashTool: line 105: 10209 Aborted                 (core dumped) $JAVA_HOME/bin/java -classpath ./x10flasher.jar:${CP}:${SWT} -Xms128m -Xmx512m -Duser.country=US -Duser.language=en -Djsse.enableSNIExtension=false gui.Main

Thank you

Hope add a option,ignore the phone-type.

My xperia x performance flashed wrong ROM,by using testpoint,I can enter the S1 mode(SOMC Flash Device)
But my phone lost the bootloader,the flashtool can't recognize it,so I can't flash the FTF.
Hope you can add a option in the flashtool,which can ignore the phone-type,so I can unbrick my phone.

I can't install Flashtool in Fedora 22

Can you explain me how to install this program?
File: flashtool-0.9.19.8-linux.tar.7z
I open it with Ark (I have KDE installed), then extract it to Downloads/Flashtool.
I Open Terminal then:> cd Downloads/ Flashtool
>./configure
and then i get this...
: bash: ./configure: No such file or directory

I don't know how to proceed, please help me.

ADB quit unexpectedly

Flashtool 0.9.18.5
Java 1.8.0_31 64 bits
OSX 10.10.3

Flashtool kept giving me the above error when open.
Due to this, Flashtool succesfully identified my rooted device in the log, but it kept giving me 'No device' in the menu.
I took an adb.mac file from another package, replacing the one that was in the Flashtool package and this solved the issue.
It seems like your application has outdated ADB drivers.
Attaching the file to this message seems not possible, so I will gladly provide the file if required.

Best regards,
Kenny

flashtool-0.9.19.0-linux

Something not working on PCLinuxOS 64 bit Mate
http://pastie.org/10326503

I tried:
Unlock Xperia Z2 Bootloader with Flashtool

1 Download the Flashtool and then install it on your computer.
– get it from official Flashtool Download page.
2 Launch the Flashtool program on your computer after the installation is complete.
3 Click the β€˜BLU’ icon in Flashtool.
4 You will now be asked to connect the Xperia Z2 in Flashmode.
5 Power off the phone.
6 Connect the USB cable to your PC first, then press and hold Volume Down on your smartphone and connect it to your PC.
– Flashmode should be loaded and Flashtool will show the Device Selector screen.

Problem is in 6 ,
Connect the USB cable to your PC first, then press and hold Volume Down on your smartphone and connect it to your PC.

then I see
Connect the USB cable to your PC first, then press and hold UP on your smartphone and connect it to your PC.

and flashtool not running.
Tested on Xperia Z2

( I tried, because I want root, I want try lilipop, I want create recovery
and because xperia firmawe have bug, after connect usb, I can not off wi-fi and Bluetooth,
reboot only working )

I tried
http://duopetalflower.blogspot.com/2012/12/unlock-xperia-s-bootloader-from-ubuntu.html

# ./fastboot.linux -i 0x0fce getvar version
./fastboot.linux: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
[root@localhost x10flasher_lib]# strace -e open ./fastboot.linux -i 0x0fce getvar version
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/tls/x86_64/libselinux.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib64/tls/libselinux.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib64/x86_64/libselinux.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib64/libselinux.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/x86_64/libselinux.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libselinux.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib64/x86_64/libselinux.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libselinux.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
./fastboot.linux: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
+++ exited with 127 +++

PCLinuxOS probably not support selinux yet,
and maybe not will, he using probably old init (sysvinit)
https://wiki.archlinux.org/index.php/SysVinit
https://en.wikipedia.org/wiki/Init

Add a new driver

I noticed that my phone isn't prΓ©sent into the driver list of the add-in Xperia Driver pack: could you integrate it into the next release of Flashtool, it would be usefull !

Crash with manual proxy in IE

I have manually configured proxy in IE. When I open flashtool, it crashes immediately with this error message:

java.lang.NullPointerException
    at com.btr.proxy.search.browser.ie.IEProxySearchStrategy.createPacSelector(IEProxySearchStrategy.java:76)
    at com.btr.proxy.search.browser.ie.IEProxySearchStrategy.getProxySelector(IEProxySearchStrategy.java:49)
    at com.btr.proxy.search.ProxySearch.getProxySelector(ProxySearch.java:193)
    at org.system.Proxy.setProxy(Proxy.java:30)
    at gui.MainSWT.createContents(MainSWT.java:949)
    at gui.MainSWT.open(MainSWT.java:120)
    at gui.Main.main(Main.java:30)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
    at com.exe4j.runtime.WinLauncher.main(Unknown Source)

Note I am using v0.9.18.2.

Since it doesn't seem like you are accepting PRs, here is what I think is the solution:

Before line 75, insert if (pac != null)

I am using a proxy.pac script and auto-detect in IE.

Java-Files not found (Linux)

My system: openSUSE 42.1 64bit with KDE

If I want to start FlashTool as root, it calls:
linux-f9t1:/home/schweineschwarte/Downloads/Xperia J/Flashtool-master/ProgramExe # sh FlashTool
Running as root.
Used java home : ./x10flasher_lib/linjre64
ls: Zugriff auf ./x10flasher_lib/_jar nicht mΓΆglich: Datei oder Verzeichnis nicht gefunden
ldd: x10flasher_lib/linux/lib32/udev/libusbx-1.0.so.0.1.0: Datei oder Verzeichnis nicht gefunden
ls: Zugriff auf ./x10flasher_lib/swtlin/x86/_jar nicht mΓΆglich: Datei oder Verzeichnis nicht gefunden
FlashTool: Zeile 74: ./x10flasher_lib/linjre64/bin/java: Datei oder Verzeichnis nicht gefunden

I have download the zip-file from github and extract it full.

Linux FlashToolConsole errors

Hello,

First off, great tool. Thanks :)

Using the gui I am able to extract kernel.sin and system.sin without issues. However, when using FlashToolConsole I get errors. Running 64-bit Ubuntu 16.04 on z5 dual sin files. z5_kernel.sin.zip Here is the command I am using:

superr@studio:~/android/FlashTool$ ./FlashToolConsole --action=extract --file=/home/superr/android/z5dual/kernel.sin

and here is the output:

Used java home : ./x10flasher_lib/linjre64
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/swt/custom/StyledText
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
    at java.lang.Class.getDeclaredMethods(Class.java:1975)
    at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.createBuilder(PluginBuilder.java:149)
    at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:119)
    at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:888)
    at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:828)
    at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:820)
    at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:449)
    at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:197)
    at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:209)
    at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:492)
    at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:246)
    at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:171)
    at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:82)
    at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:64)
    at gui.Main.main(Main.java:21)
Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.custom.StyledText
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 17 more

Thanks for your help :)

Misleading greyed text input

I found the FILESET Decrypt bundle tool to be very useful, as is flashtool as well, but I had to google to know how to use it. Thought it was broken;

After files are successfully decrypted, the "Bundler" dialog shows up. You must write 2 of the 3 text inputs that appear, as expected. But the first one must be double-clicked to be filled as a combobox would That's awful and I'd never figure it myself.

I think of 3 better ways to spawn that dialog showing a list of devices:

  • It could come from a button next to the greyed text input;
  • Or it could spawn as soon as the "Bundler" dialog does, without waiting further user input.
  • The best of them, in my opinion: turn that text input into a proper combobox. It by itself implements the behavior intended with this dialog spawing text input of yours.

Put binaries on github

Hi, would you be able to upload the binaries to github releases instead of uploaded.to? I tried to download from uploaded.to and it was a package called flashtool-0.9.19.1-windows.exe.exe which tried to get me to install spyware, before finally extracting the actual file flashtool-0.9.19.1-windows.exe to my Home directory. I just hope it didn't install any viruses... The torrents have no seeds

Also, how about some instructions to install from source?

XperiFirm integration missing (in Linux version)?

I just downloaded the latest FlashTool:
3150d2d45b6b8e3eb96fc59591664a81 flashtool-0.9.18.6-linux.tar.7z
and I found that there's no "Check Updates" in the "Devices" menu anymore. Neither do I see a new button on the main window. Is it something expected?

Can't flash Nougat ftf to Xperia Z5

Hi
Everytime I try to flash stock ftf it fails. In the logs after parsing boot delivery, i get the error lines
-null
-error flashing. Aborted.

My phone is now bricked as I wiped the system partition before flashing.
I've attached the debug log.

I'm on the latest version of flashtool.

I flashed the very same ftf on this phone using the same version of flashtool a few months ago, but now when I try to reflash this happens.
Please help

Thanks

flashtool_2017-05-31_10-40-59.txt

Can't open flashtool

Help i can't open flashtool and it shows a stderr file.

java.lang.NullPointerException
at org.logger.MyLogger.initProperties(MyLogger.java:36)
at org.logger.MyLogger.setLogDest(MyLogger.java:28)
at gui.Main.main(Main.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)

My laptop is running on Windows XP 32-bit
Please help me because my device is having a bootloop and i can't any other way to fix it!

Unable to flash as a root: ERROR "Can't read a byte value"

I've struggled few days with inability to flash firmware with flashtool. Whenever I started flash process it failed with an error:

ERROR "Can't read a byte value"

Googling I found only one thread and it tells to use different firmware
http://forum.xda-developers.com/z3-compact/help/flashtool-error-message-t3195748/post62709293

Ok, I've tried different firmwares from http://xperiafirmware.com/8-firmware/33-sony-xperia-z-c6603/ and all of them failed. Then I configured system to run flashtool as an ordinary user (not root) and it mystically started to work! So I'm documenting this problem here in hope that this will be usefull for someone.

ERROR - Processing of cache.sin finished with errors.

Can you help me guys to fix this hard problem here

i want to flash my xperia m device because i have a crypted storage
Thanks
Image of problem : https://s29.postimg.org/gy7f9z2hz/image.png

15/045/2017 20:45:43 - INFO - Flashtool Version 0.9.23.0 built on 21-12-2016 11:00:00 15/045/2017 20:45:43 - INFO - Executing search strategies to find proxy selector 15/045/2017 20:45:44 - INFO - No proxy found for IE. Trying next one 15/045/2017 20:45:44 - INFO - No proxy found for firefox. Trying next one 15/045/2017 20:45:44 - INFO - No proxy found for java. Trying next one 15/045/2017 20:45:44 - INFO - Syncing devices from github 15/045/2017 20:45:44 - INFO - Opening devices repository. 15/045/2017 20:45:44 - INFO - Scanning devices folder for changes. 15/045/2017 20:45:55 - INFO - Pulling changes from github. 15/045/2017 20:45:55 - INFO - Quietly closing devices repository. 15/045/2017 20:45:55 - INFO - Devices sync finished. 15/045/2017 20:45:55 - INFO - Loading devices database 15/045/2017 20:45:55 - INFO - Loaded 94 devices 15/045/2017 20:45:55 - INFO - Starting phone detection 15/046/2017 20:46:00 - INFO - Device disconnected 15/046/2017 20:46:07 - INFO - Selected Bundle for Sony Xperia M(C1905). FW release : 15.1.C.2.8. Customization : Customized ZA 15/046/2017 20:46:07 - INFO - Preparing files for flashing 15/047/2017 20:47:30 - INFO - Please connect your device into flashmode. 15/053/2017 20:53:09 - INFO - Device connected in flash mode 15/053/2017 20:53:10 - INFO - Opening device for R/W 15/053/2017 20:53:10 - INFO - Reading device information 15/053/2017 20:53:10 - INFO - Phone ready for flashmode operations. 15/053/2017 20:53:10 - INFO - Opening TA partition 2 15/053/2017 20:53:10 - INFO - Current device : C1905 - YT910G3RXG - 1274-5568_R2C - 1272-2325_15.4.A.1.9 - WORLD-i_15.4.A.1.9 15/053/2017 20:53:10 - INFO - Closing TA partition 15/053/2017 20:53:10 - INFO - Start Flashing 15/053/2017 20:53:10 - INFO - Processing loader.sin 15/053/2017 20:53:10 - INFO - Checking header 15/053/2017 20:53:10 - INFO - Flashing data 15/053/2017 20:53:11 - INFO - Loader : S1_Root_dbe9 - Version : loader_MSM8X30_10 / Boot version : S1_Boot_MSM_8227_5 / Bootloader status : ROOTABLE 15/053/2017 20:53:11 - INFO - Max packet size set to 512K 15/053/2017 20:53:11 - INFO - USB buffer size set to 512K 15/053/2017 20:53:25 - INFO - Parsing boot delivery 15/053/2017 20:53:50 - INFO - Found a template session. Using it : C:\Users\mouad\.flashTool\devices\C190X\default.fsc 15/053/2017 20:53:50 - INFO - Set loader configuration : [00 01 00 00 00 0C] 15/053/2017 20:53:50 - INFO - Opening TA partition 2 15/053/2017 20:53:50 - INFO - Writing TA unit 00002774. Value : 01 15/053/2017 20:53:50 - INFO - Closing TA partition 15/053/2017 20:53:50 - INFO - Processing partition-image.sin 15/053/2017 20:53:50 - INFO - Checking header 15/053/2017 20:53:50 - INFO - Flashing data 15/053/2017 20:53:50 - INFO - Opening TA partition 2 15/053/2017 20:53:50 - INFO - Processing cache.sin 15/053/2017 20:53:50 - INFO - Checking header 15/053/2017 20:53:50 - INFO - Flashing data 15/053/2017 20:53:50 - ERROR - Processing of cache.sin finished with errors.

xperia z1 drivers do not install

The driver setup program fails to install drivers for Xperia Z1.
Windows 8 driver installation wizard eventually says "Driver is not installed".
Flashtool version is 0.9.18.5.

However, driver setup v1.5 (20140318) can successfully install.

Linux - launch script reporting wrong java version when using sudo, alert after fixing that

Hi there,

Something surprised me, after downloading release 0.9.18.5, when attempting to execute the launch script on my system (Ubuntu 14.04 64-bit).

I was unable to start the app with sudo, let me ilustrate it with commands:

> sudo java -version
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
> sudo echo $JAVA_HOME
/usr/lib/jvm/java-8-oracle/
> sudo ./FlashTool
Running as root.
JAVA_HOME not set. Using default value : ./x10flasher_lib/linjre64
Java version must be 1.8

While I was able to start the app without sudo:

> java -version
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
> echo $JAVA_HOME
/usr/lib/jvm/java-8-oracle/
> ./FlashTool
Not running as root but Sony/SonyEriccson Vendor ID found on your udev rules
if Flashing didn't work well, run flashtool as root

After some research I found the reasons that caused JAVA_HOME to be unset when using sudo on this SO Q&A.

A quick solution is running sudo with the -E flag, a permanent solution can be found at the SO Q&A.


I'm reporting this hoping it may be useful for someone, and because you may want to add a notice on the script, or even note it on the linux installation FAQ, but sadly the the above didn't suffice.

Continue reading for some jokes and an alert message beating me 😒


> sudo -E ./FlashTool
Running as root.

(Flashtool:13478): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
**(the error message above repeated several times)**
(Flashtool:13478): IBUS-WARNING **: The owner of /home/**myusername**/.config/ibus/bus is not root!
**(the GLib-GIO-CRITICAL error message above again three times more)**

The error above caused an alert dialog to appear, warning to move firmware/ contents to /root/.flashTool/firmware. After doing that, the same errors are reported and the same alert appears.

> sudo cp firmwares/* /root/.flashTool/firmwares/
> sudo -E ./FlashTool
Running as root.

(Flashtool:13624): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
**(...)**
(Flashtool:13624): IBUS-WARNING **: The owner of /home/**myusername**/.config/ibus/bus is not root!
(Flashtool:13624): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
**(...)**

I decided to test it with a permanent solution (as explained in the SO Q&A) on the /etc/sudoers file, which in my system is edited with the sudo visudo command.

> sudo cat -n /etc/sudoers | grep 12
12  Defaults    env_keep+="JAVA_HOME"
> sudo ./FlashTool
Running as root.

The app starts, no errors are reported, but the alert message still persists, even with the contents of firmware copied to where it asks for:

> sudo tree /root/.flashTool
/root/.flashTool
β”œβ”€β”€ devices
β”œβ”€β”€ firmwares
β”‚Β Β  β”œβ”€β”€ Downloads
β”‚Β Β  β”œβ”€β”€ prepared
β”‚Β Β  β”œβ”€β”€ sinExtracted
β”‚Β Β  └── X10_V1_BLRelock.ftf
└── registeredDevices

6 directories, 1 file

I'm not sure, but it seems is a kind of problem with perms, environment, or both. When letting the full environment persist with sudo -E, errors are reported (so it seems something is wrong).
Could you get an eye on this and tell me what can I try? Thanks in andvance


ASSETS

captura de pantalla de 2015-05-21 16 53 02 png

stdout and stderr

> sudo -E ./FlashTool
Running as root.

(Flashtool:16842): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(Flashtool:16842): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(Flashtool:16842): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(Flashtool:16842): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(Flashtool:16842): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(Flashtool:16842): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(Flashtool:16842): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(Flashtool:16842): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(Flashtool:16842): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(Flashtool:16842): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(Flashtool:16842): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(Flashtool:16842): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(Flashtool:16842): IBUS-WARNING **: The owner of /home/**myusername**/.config/ibus/bus is not root!

(Flashtool:16842): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(Flashtool:16842): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(Flashtool:16842): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

Environment

> env | sed 's/**myusername**/MYUSERNAME/g'
XDG_VTNR=7
MANPATH=/home/MYUSERNAME/.nvm/v0.11.14/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man:/home/MYUSERNAME/.rvm/man
XDG_SESSION_ID=c2
CLUTTER_IM_MODULE=xim
SELINUX_INIT=YES
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/MYUSERNAME
GPG_AGENT_INFO=/run/user/1000/keyring-t8dr88/gpg:0:1
TERM=xterm
SHELL=/bin/bash
VTE_VERSION=3409
NVM_PATH=/home/MYUSERNAME/.nvm/v0.11.14/lib/node
WINDOWID=58720268
OLDPWD=/home/ALMACEN/SOFTWARE/ANDROID/FlashTool/x10flasher_lib
UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1569
GNOME_KEYRING_CONTROL=/run/user/1000/keyring-t8dr88
GTK_MODULES=overlay-scrollbar:unity-gtk-module
NVM_DIR=/home/MYUSERNAME/.nvm
USER=MYUSERNAME
TIMEFORMAT=
real %3R    user %3U    sys %3S pcpu %P

XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
SSH_AUTH_SOCK=/run/user/1000/keyring-t8dr88/ssh
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
PAGER=less
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg
PATH=/home/MYUSERNAME/.nvm/v0.11.14/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/MYUSERNAME/.rvm/bin:/home/ALMACEN/SOFTWARE/ANDROID/android-sdk-linux/platform-tools:/home/ALMACEN/SOFTWARE/ANDROID/android-sdk-linux/tools:/home/ALMACEN/SOFTWARE/ANDROID/android-sdk-linux/platform-tools:/home/ALMACEN/SOFTWARE/ANDROID/android-sdk-linux/tools
DESKTOP_SESSION=ubuntu
QT_IM_MODULE=ibus
QT_QPA_PLATFORMTHEME=appmenu-qt5
NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist
JOB=gnome-session
PWD=/home/ALMACEN/SOFTWARE/ANDROID/FlashTool
JAVA_HOME=/usr/lib/jvm/java-8-oracle/
XMODIFIERS=@im=ibus
GNOME_KEYRING_PID=1561
LANG=gl_ES.UTF-8
GDM_LANG=gl
MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
IM_CONFIG_PHASE=1
COMPIZ_CONFIG_PROFILE=ubuntu
HISTIGNORE=&:bg:fg:ll:h
GDMSESSION=ubuntu
HISTCONTROL=ignoredups
SESSIONTYPE=gnome-session
LESSCHARSET=latin1
HOME=/home/MYUSERNAME
XDG_SEAT=seat0
SHLVL=1
LANGUAGE=gl
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
UPSTART_INSTANCE=
LESS=-i -N -w  -z-4 -g -e -M -X -F -R -P%t?f%f \
:stdin .?pb%pb\%:?lbLine %lb:?bbByte %bb:-...
UPSTART_EVENTS=started starting
LOGNAME=MYUSERNAME
QT4_IM_MODULE=xim
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-4ytphN4Da0
NVM_BIN=/home/MYUSERNAME/.nvm/v0.11.14/bin
LESSOPEN=|/usr/bin/lesspipe.sh %s 2>&-
INSTANCE=Unity
UPSTART_JOB=unity-settings-daemon
TEXTDOMAIN=im-config
XDG_RUNTIME_DIR=/run/user/1000
DISPLAY=:0
HOSTFILE=/home/MYUSERNAME/.hosts
XDG_CURRENT_DESKTOP=Unity
GTK_IM_MODULE=ibus
HISTTIMEFORMAT=[%d/%m %H:%M:%S] 
TEXTDOMAINDIR=/usr/share/locale/
COLORTERM=gnome-terminal
XAUTHORITY=/home/MYUSERNAME/.Xauthority
_=/usr/bin/env

Ubuntu: Installed libusb version 1.0.20-1, yet: libusb.LibUsbException: Libusb not found.

I have libusb version 1.0.20-1 already installed, while it seems that flashtool only require 1.0.15, according to the text of the exception:
libusb.LibUsbException: Libusb not found. Minimum libusb version is 1.0.15. It can be downloaded on http://www.libusbx.org
at libusb.UsbSystem.initSystem(UsbSystem.java:28)
at libusb.UsbSystem.<init>(UsbSystem.java:15)
at linuxlib.JUsb.init(JUsb.java:21)
at gui.Main.initLinuxUsb(Main.java:58)
at gui.Main.main(Main.java:39)
However hard I try, I still cannot get past this exception.
I have tried installing ligusbx (its version is only 1.0.18!), to no avail. And then I tried the method in https://askubuntu.com/questions/366336/how-do-i-install-libusbx-library , but there are two differences:

  1. Instead of having libusbx-1.0.so inside x10flasher_lib/linux/lib32/ or ./x10flasher_lib/linux/lib64/, I have them in udev/ and udev1/ inside x10flasher_lib/linux/lib32/ and ./x10flasher_lib/linux/lib64/ , so I thought it would be correct to copy libusbx-1.0.so.0.1.0 to udev/ and udev1/ .
  2. I cannot find the 2 lines below in the 2 shell scripts, FlashTool and FlashToolConsole:
    ln -sf libusbx-1.0.so.0.1.0 ./x10flasher_lib/linux/lib32/libusbx-1.0.so
    ln -sf libusbx-1.0.so.0.1.0 ./x10flasher_lib/linux/lib64/libusbx-1.0.so
    Instead, I found the lines:
    UDEV=$(ldd x10flasher_lib/linux/lib64/udev/libusbx-1.0.so.0.1.0 |grep found|wc -l)
    and
    UDEV=$(ldd x10flasher_lib/linux/lib32/udev/libusbx-1.0.so.0.1.0 |grep found|wc -l)
    in these two shell scripts, so I replace libusbx with libusb, but it didn't work.
    My last shot, when I look at the code ln -sf libusbx-1.0.so.0.1.0 ./x10flasher_lib/linux/lib32/libusbx-1.0.so in that answer, I realize that its function was to create a symlink. So I decided to change the symlinks libusbx-1.0.so to point to libusb-1.0.so.0.1.0 (which I have copied over from the previous attempt) instead of libusbx-1.0.so.0.1.0 (which is still in the udev and udev1 directories).
    I still cannot get flashtool past the aforemention exception...

libusb file permission

I have been seeing the following warning:
ldd: warning: you do not have execution permission for `x10flasher_lib/linux/lib64/udev/libusbx-1.0.so.0.1.0'

Problem when Flashing FTF Android 7.1.1 for Xperia XZ duel when using Fashtool

Hi,
I'm trying to flash an FTF file (Android 7.1.1)(Build#: 41.2.A.2.199) for my Xperia XZ duel.
All drivers are installed and the FTF is not corrupt. Once I start flashing and connect my phone in flash-mode i get the error:
No loader in the bundle. Searching for one INFO - No matching loader found - WARN - No loader found or set manually. Skipping loader
and then basically the flashing is terminated.
I'm using the latest version of Flash tool and I hope it's fixable.

Thanks,

Hangs on "Downloading latest XperiFirm"

Steps to reproduce:

  • Install Flashtool
  • Plug in device (Xperia Z2 Tablet in my case)
  • Press XF button

Expected:

  • I get to choose firmware to download? I'm not actually sure what's meant to happen

Actual:

  • See "Downloading latest XperiFirm" in console but then nothing happens

Tested on both Ubuntu LTS and OS X, same result.

Log output:

10/000/2016 17:00:59 - INFO  - Flashtool Version 0.9.22.3 built on 08-06-2016 22:30:00
10/000/2016 17:00:59 - INFO  - libusb version 1.0.20
10/000/2016 17:00:59 - INFO  - Executing search strategies to find proxy selector
10/000/2016 17:00:59 - INFO  - No proxy found for gnome. Trying next one
10/000/2016 17:00:59 - INFO  - No proxy found for kde. Trying next one
10/000/2016 17:00:59 - INFO  - No proxy found for firefox. Trying next one
10/000/2016 17:00:59 - INFO  - Syncing devices from github
10/000/2016 17:00:59 - INFO  - Opening devices repository.
10/001/2016 17:01:00 - INFO  - Scanning devices folder for changes.
10/001/2016 17:01:00 - INFO  - Pulling changes from github.
10/001/2016 17:01:00 - INFO  - Pull failed. Trying to clone repository instead
10/001/2016 17:01:00 - INFO  - Quietly closing devices repository.
10/001/2016 17:01:00 - INFO  - Cloning devices repository to /home/tola/.flashTool/devices
10/001/2016 17:01:10 - INFO  - Quietly closing devices repository.
10/001/2016 17:01:10 - INFO  - Devices sync finished.
10/001/2016 17:01:10 - INFO  - Loading devices database
10/001/2016 17:01:11 - INFO  - Loaded 91 devices
10/001/2016 17:01:11 - INFO  - Starting phone detection
10/001/2016 17:01:14 - INFO  - Device connected with USB debugging off
10/001/2016 17:01:14 - INFO  - For 2011 devices line, be sure you are not in MTP mode
10/001/2016 17:01:29 - INFO  - Device connected with USB debugging on
10/001/2016 17:01:30 - INFO  - Connected device : Sony Xperia Z2 Tablet
10/001/2016 17:01:30 - INFO  - Installed version of busybox : N/A
10/001/2016 17:01:30 - INFO  - Android version : 4.4.2 / kernel version : 3.4.0-perf-g35f9635 / Build number : 17.1.2.A.0.314
10/001/2016 17:01:30 - INFO  - Root access denied
10/001/2016 17:01:35 - INFO  - Downloading latest XperiFirm

I wonder if there's an uncaught Java exception somewhere because I noticed that when I ran:

./FlashToolConsole --action=imei

I got:

Used java home : ./x10flasher_lib/linjre64
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/swt/custom/StyledText
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
    at java.lang.Class.getDeclaredMethods(Class.java:1975)
    at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.createBuilder(PluginBuilder.java:149)
    at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:119)
    at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:888)
    at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:828)
    at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:820)
    at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:449)
    at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:197)
    at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:209)
    at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:492)
    at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:246)
    at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:171)
    at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:82)
    at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:64)
    at gui.Main.main(Main.java:21)
Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.custom.StyledText
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 17 more

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.