[XPERIA X10 Q&A, Help & Troubleshooting] Crystalline888:
****FIXED!!!!****

After creating a new user account, moving everything to the root of C (I remembered SOMETHING I used at some point had to go there) actually trying to edit the javascript myself (FAIL) and several other crazy measures, I figured out that flashtool, at least on this particular computer, MUST BE INSTALLED to C:/Windows/System32.

I've spent all day searching for the answer to this; I haven't come across anything that says "FLASHTOOL MUST BE INSTALLED IN THE DEFAULT DIRECTORY." I've actually come across a few tutorials in which it is installed in other directories. I know that when I used it with windows 7, I kept the program on the desktop, as I generally do with standalone exes. So I'm assuming it's this machine, or vista. However, the main flashtool page might possibly benefit from a note "On some machines it is necessary...." or something similar.

I did find quite a few instances of similar (not exactly the same) problems; perhaps this would help those people out?

I hope someone who is having this problem stumbles across this thread....most of the search results for the complete error lead to, well...nothing.

------

I wanted to update my Xperia X10a to 2.3, but it still isn't available in my region. before I figured out THAT was the problem (duh) I stupidly allowed SEUS to "repair" my phone, thinking that maybe it would "recognize" it's software and give me the update. So now I'm stuck with 2.1 and no root. No problem...I'll just use flashtool.

Downloaded and tried running it. Asked for admin permission, then nothing. Ran as administrator, same thing. Turned off UAC, same...left it off, ran as administrator...same. I already had JDK, but I uninstalled and reinstalled all java, rebooted. Got this error:

Startup Error

java.lang.NullPointerException

at gui.FlasherGUI.initLogger(FlasherGUI.java:114)

at gui.FlasherGUI.main(FlasherGUI.java:142)

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)

Added this to "path" in environment variables ;C:\Program Files\Java\jre6\bin

Rebooted. Same error.

Obviously this has something to do with Java, which I really don't know anything about. I'm desperate at this point. I wish I had just been happy with 2.1 and not even tried, but I wasn't thinking I was taking some huge chance since it's SOOOO easy to reinstall firmware, root, ect. I've lost ALL my apps/info. Was relying on Titanium backup pro, which I cant use without root. AUGH!!!! Can anyone help?

EDIT: Just followed these instructions(below), for giggles, and same error.

it doesn't seem to be common at all. I've uninstalled java and started over something like 10 times now. I'm going insane!

PREPARATION BEFORE FLASHING

PREPARATION BEFORE FLASHING

1. Download the f/w and flashtool from above link.

2. Extract Flashtool to a folder (we'll be using \X10Flash for this example)

3. Extract the f/w to \X10FLash\firmware

4. Download 32bit JDK here (JDK, Not JRE!!) . Its usually the first download from the top>>

5. Install JDK. By default it will be installed to C:\Program Files\Sun\JavaDB

6. Copy this t your clipboard "C:\Program Files\Sun\JavaDB\bin" (including "")

7. Go to your Control Panel>System>Properties>Advanced>Enviroment Variables.

8. In the System Variables section(bottom half of the window), look for 'Path' and click 'Edit'.

9. Go to the end of the line and type ';' and paste the path from earlier "C:\Program Files\Sun\JavaDB\bin". Click OK to everything after that. This will tell windows where to look for the java files so Flashtool can run properly.

10. Restart your system. Shut down your X10 Mini Pro at the same time since it need to rest in off state for about 20-30 secs. If not some X10 Mini Pro will boot automatically when u plug in the usb cable.