[TOOL] [UPDATE 04/09/2015] Flashtool version 0.9.19.10 - Windows / Linux / Mac

Androxyde

Recognized Developer
Aug 3, 2010
1,096
2,832
143
46
Paris
www.flashtool.net
im also unable to startup flashtools on win8.1 -
Code:
java.lang.NullPointerException
	at com.btr.proxy.search.browser.ie.IEProxySearchStrategy.createPacSelector(IEProxySearchStrategy.java:75)
	at com.btr.proxy.search.browser.ie.IEProxySearchStrategy.getProxySelector(IEProxySearchStrategy.java:48)
	at com.btr.proxy.search.ProxySearch.getProxySelector(ProxySearch.java:192)
	at org.system.Proxy.setProxy(Proxy.java:30)
	at gui.MainSWT.createContents(MainSWT.java:936)
	at gui.MainSWT.open(MainSWT.java:114)
	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)
What are your proxy settings ?
 

ianrobbie

Senior Member
Nov 23, 2012
623
186
0
Hi everyone,

Sorry if this is a n00b question but I installed Flashtool on a Windows 8.1 x64 computer, I try to run it with either x86 or x64 .exe's but nothing happens.

Tried compatibility mode, also tried it on another computer (same software), same result (it's installed in C:\Program Files (x86)\Flashtool).

Does anyone know how to solve this?

Thanks in advance.
I have the exact same problem. Installed as admin, but when I try to run Flashtool.exe, it creates the two files, then just craps out.

Anybody solve this?
 

aydahm

Senior Member
Jun 9, 2010
170
22
0
Istanbul
What is the content of stdout.log and stderr.log ?
this is for stderr.log:

java.lang.NullPointerException
at com.btr.proxy.search.browser.ie.IEProxySearchStrategy.createPacSelector(IEProxySearchStrategy.java:75)
at com.btr.proxy.search.browser.ie.IEProxySearchStrategy.getProxySelector(IEProxySearchStrategy.java:48)
at com.btr.proxy.search.ProxySearch.getProxySelector(ProxySearch.java:192)
at org.system.Proxy.setProxy(Proxy.java:30)
at gui.MainSWT.createContents(MainSWT.java:982)
at gui.MainSWT.open(MainSWT.java:114)
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)

Mine doesn't create stdout.log; version 0.9.18.4.0
 

Androxyde

Recognized Developer
Aug 3, 2010
1,096
2,832
143
46
Paris
www.flashtool.net
this is for stderr.log:

java.lang.NullPointerException
at com.btr.proxy.search.browser.ie.IEProxySearchStrategy.createPacSelector(IEProxySearchStrategy.java:75)
at com.btr.proxy.search.browser.ie.IEProxySearchStrategy.getProxySelector(IEProxySearchStrategy.java:48)
at com.btr.proxy.search.ProxySearch.getProxySelector(ProxySearch.java:192)
at org.system.Proxy.setProxy(Proxy.java:30)
at gui.MainSWT.createContents(MainSWT.java:982)
at gui.MainSWT.open(MainSWT.java:114)
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)

Mine doesn't create stdout.log; version 0.9.18.4.0
It crashes while searching for your proxy settings. What are your proxy settings ??
 

nolihowell

Senior Member
Jul 6, 2014
423
47
0
27
Vancouver
Xperia Z3 D6603

guys my flashtool 9.18.4 on windows doesnt open anymore open once only plz help im in need of help.

---------- Post added at 09:39 AM ---------- Previous post was at 09:38 AM ----------

even with run as administrator
 

daffy2

Member
Feb 11, 2009
35
16
0
Broken FTF generation / bundle creation

There seems to be a defect when it comes to generating a bundle (FTF).

The process to create the file will silently fail without any diagnostics if the "Branding" or "Version" fields in the GUI contain some specific characters.

Example: There is a firmware on the Sony servers for the Sony Xperia Tablet Z2 which has the following info

Branding: VMo_FR/DE/AT/CH/BE/NL/PL
Version: 23.0.1.A.4.30

Using this information - e.g. via "Check Updates" - results in total silent failure.

The root cause seems to be the following line in https://github.com/Androxyde/Flashtool/blob/master/src/flashsystem/Bundle.java

File ftf = new File(OS.getWorkDir()+"/firmwares/"+_device+"_"+_version+"_"+_branding+".ftf");

Here, the data for _version and _branding (and _device) is taken unsanitized for the target file system (in my case: Windows, but all other OS have the same challenge). This is a recipe for the disaster.

Most likely, a file name should be constructed explicitly first, and then some whitelisting on characters should be applied. Example: Remove all characters except [azAZ09-_\.] (note the escaped period at the end of the regex). This should be safe for all file systems involved, at the cost of losing some characters in the process ;)

Alternatively, simply mandate that user explicitly construct a valid file name.

Remark: Somewhere deep down there, there is some kind of error handling problem. That problem must have resulted in some kind of error code or exception, and something must have "silenced" that. This is not Best Practice.
 

Androxyde

Recognized Developer
Aug 3, 2010
1,096
2,832
143
46
Paris
www.flashtool.net
What should i do?? please . Changed proxy settings in firefox. now its working. thanks @Androxyde
You can try to create a new local windows admin account and run Flashtool connected to this account. If it runs, then you really have an issue with your proxy configuration, check it then for each browser you have installed.
 
  • Like
Reactions: bondisback

CamoGeko

Forum Moderator
Staff member
Dec 10, 2010
15,945
8,319
253
Establishing Battlefield Control... Standby!
Getting these errors while trying to flash FTF on Xperia Z2 tab (SGP511):

Code:
13/020/2015 00:20:56 - ERROR - Processing of system.sin finished with errors.
13/020/2015 00:20:56 - INFO  - Ending flash session
13/020/2015 00:20:56 - ERROR - ERR_SEVERITY="MINOR";ERR_CODE="0017";ERR_DYNAMIC="80080053";
I'm guessing that means its a corrupt FTF file, I'm downloading another one as I'm typing this so I really hope it will work.