****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.
hey dude have u tried installing JRE coz imo JDK is needed oly when u use Android Development Kit or Android SDK and JRE for Runtime Purpose !! i used flashtool with JRE only and not JDK !! did u try out this thing ??? sorry if u have tried !!
else try and see if it might help !!
thank me if it did!!
OR
just disable your anti-virus and firewall while running.
Be sure that you have installed java 6 (from control panel)
could you run with compatibility mode Windows XP service pack 3?
Crystalline888 said:
****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.
Click to expand...
Click to collapse
It's your antivirus
It did it to me the other day
Reinstall flashtool to c:\flashtool
Disable antivirus
Run flashtool
Works fine
Just disable if you want to flash
Sent from my Xperia X10 using xda premium
Still No go. Getting same error again and again.
Fed up with this.......
Related
Hello.
This is my first post so first off I would like to say thank you to the members of XDA because I have been helped a great deal in the past by simply reading some of the posts on this forum.
That being said, I have a problem that I could not find the answer to after hours of searching.
I am trying to Debrand/Root my Rogers X10a using the Exploid method
forum.xda-developers.com/showthread.php?p=7490733#post7490733
After I enter my Device ID into the appropriate file, I ran RootX10a_v2.cmd as instructed. However, once I try to run step 1 i get the following message:
"unable to access jarfile X10flash.jar"
Ive tried connecting the phone in flash mode to different USB ports and using different Device IDs however nothing has worked.
Any ideas?
Any help will be greatly appreciated.
Thanks!
I have just the thing for you matey. I can't post a link sorry but google search for Universal Androot and download and install it on your phone.
It allows to you 1 click root or unroot your device without any fuss and should allow you to root it when 2.1 is released as it contains the superuser files for 1.5 / 1.6 and 2.0 - 2.2.
I am using it and it works brilliantly. Hope this helps
Sent from my rooted .26 x10i using the XDA app
Welcome to xda! the answer is in the forum but i can't remember where.
Set up the path to the sdk tools in your environment variables.
Cheers
Gav
Thanks for the responses.
steve- are you sure that the universal androot works with the x10? another concern is that i also wanted to debrand my phone to get rid of rogers bloatware so how would I solve that issue if I can't access the x10flash.jar?
gavriel- sorry. could you explain in a little more detail what you said? i don't quite understand what you mean.
Thanks!
The one click root seems simple enough.
My problem now is with debranding.
Ive tried the method where you switch the files in SEUS (ive also tried PC Companion) just before it installs onto your phone and that has not worked. It says every time that the installation has failed.
Does anyone have any other ideas as to how I can debrand my phone?
Thanks!
For sure. I may be wrong but ill explain it as I understand it.
Basically when your PC is trying to use a jar file it looks in a particular area. I'm not sure where it looks though. Obviously your jar file isn't in that directory or you wouldn't get that error. So, by adding it as an environment variable it will look in the directory u added for that file.
The environment variables is found somewhere in the system settings. I can't remember where. Once you have found it you should find the path to the jar you are trying to access. Copy that path and paste it and the end of the environment variables. Don't erase anything that's in there. If need be seperate that path from the one before with a ; (semicolon). Save it and try running the jar again. It should work.
Good luck and hopefully it helps.
bmalaklou said:
After I enter my Device ID into the appropriate file, I ran RootX10a_v2.cmd as instructed. However, once I try to run step 1 i get the following message:
"unable to access jarfile X10flash.jar"
Click to expand...
Click to collapse
It means that Java can't find the X10flash.jar file. Do you have that file in the same directory as DeviceID.txt? Also, do you have the latest version of 32-bit Java installed?
To solve my debranding problems I had to use the 32 bit update 20, not 21 (which is the latest) and you need the jdk and the jre, hope that helps
Sent from my X10a using XDA App
Exactly what the subject says. Can anybody either give me a crash course or post a link on how to connect my phone with adb? I've searched the threads but none of them are specific on the steps I. Actually making the two work together. Thanks in advance.
Sent from the ever changing vibrant.
First things first, do you have the drivers for your phone? I'm explaining based on the assumption that you do and that you are running windows.
1.Download AndroidSDK.
2.Run as admin(XP) and allow it to install all the packages.
3.Make sure your phone is recognized by the PC (drivers). Go to my computer, right click or manage. Devices>other devices>your phone. If it says unknown get your drivers, let me know if you don't have them and I'll explain.
4.Go to my computer, right click then click properties>advanced system settings>environmental variables. At the bottom where it says system variables, find PATH. It should look something like this:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;xxxxx
After Wbem; should be the file path that leads you to Android SDK platform tools. Go to the actual folder and then just copy the file path then paste it after Wbem; overwriting what was previously there. So mine looks like this (This isn't necessarily yours, depends on the type of system you're running and where sdk is installed)
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files (x86)\Android\android-sdk-windows\platform-tools
Press Ok when you're done.
5. Open command prompt and type in: adb devices. It lists the devices attached to the pc, if yours is connected and recognized it will list it.
Good luck.
http://sites.google.com/site/androidsamurai/Home/adb-for-dummies-1
this site helped me out a lot.
Awesome!!! Yeah I have the drivers and everything installed. I just wasn't sure how I did the path thing and you pretty much cleared it up for me. Thanks.
Sent from the ever changing vibrant.
i would like to connect my phone to adb but the thing is my path varies greatly from the example given
%CommonProgramFiles%\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Intel\DMIX;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\ThinkPad\Bluetooth Software\;C:\Program Files\QuickTime\QTSystem\
Am i to assume that i am to paste the sdk platform tools file path over everything after wbem or add it into the variable value(not replacing anything). there is a lot of stuff in there and would be ashamed to mess anything up.
Windows 7 x86
If you want to use SDK then yes. If you're so worried about messing something up, which you won't - copy the original filepath into notepad or something and save it. Then replace the enviromental variables path with the SDK path. If you ever want to change it back for any reason then just overwrite the SDK path with the original that you saved.
^ this is good stuff...
Just going to add cyanogen's wiki has a great step by step guide. I just set a friend up today using it.
*RESOLVED*
ive searched to no prevail. id like to start developing apps but am having issues getting the environment set up. i have the jdk properly installed.
issue 1 (main \ major ):
ive installed the android sdk from multiple sources, but when i try to start sdk tools, the command prompt flashes/ opens briefly and i get this message:
"Failed to execute tools\android.bat:
The system cannot find the file specified."
do i need to change a PATH variable or something...
issue 2:
i cannot get eclipse to run. when i try to open the exe file ( because there is no short cut icon...?) it gives a message about not finding a companion library... ive try to change the properties in the file that is supposed to fix it, but it was already set the way its supposed to be. this is not major as i can use a different IDE.
so im completely lost as to th sdk tool. any help would be appreciated!
edit:
i just tried adding the file path to the android sdk ( PATH variable) and it still did not work... :/
i also just tried start the android,bat file and the cmd promt flashes briefly saying somthing about xcopy is not an operable command...etc couldnt read all of it...
btw im on windows 7 home premium
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
Check if this can help you.
Actually, you don't need to configure environment variables. You only need to install Java SE, and Eclipse and Android SDK should work fine.
RoberGalarga said:
Check if this can help you.
Actually, you don't need to configure environment variables. You only need to install Java SE, and Eclipse and Android SDK should work fine.
Click to expand...
Click to collapse
well eclipse wont install either, it cant find some companion library.all i curently have is the java jdk and an IDE called intelliJ idea or something like that, nothing else will install...i had to add an environmental variable to get the java jdk to work on cmd. if you could give links to any files your using that would be of help. , that is if your on windows 7
Sure...
Eclipse
Android SDK
Follow the indications of my previous link
Word of caution
I hate to discourage anyone from following their hearts desires especially when it comes to software development. But I wanted to share some advice with you coming from an experienced software engineer. I've been developing software for over 15 years. My experience comes mainly from developing Windows desktop applications in C/C++. I've also been developing software using Java for several years so I'm by no means new to Java technology or development tools.
I've only recently started to develop for the Android platform. It didn't take me long to get started (i.e. get the development environment setup and start developing using the AVD manager) but as I dig into it I'm finding that the Android platform has become very much like developing Windows applications which is interesting to find because I really haven't done a lot of user interface development using Java. In the past my Java development projects have always been more back end server integration related to App Servers and database integration (i.e. Apache/Tomcat, JSP, Oracle, etc.).
I have seen user interface development libraries in Java such as Swing in the past but haven't had a real need for them. So to tell you the truth I can't say how much better or worse the Android SDK user interface libraries are than the traditional JDK 1.4 libraries.
All of this is to say that when I say this you know it's coming from someone that isn't just learning how to program. My advice to you is that if you haven't done much Java development in the past that Android development is not the place to start. You might want to start with the basics first like just setting up a simple Java program and learning the technology first before you jump head long into something.
I've done that more times than I can count in my long career and I can tell you from experience it's the surest way to fail before you get started.
thanks but...
RoberGalarga said:
Sure...
Eclipse
Android SDK
Follow the indications of my previous link
Click to expand...
Click to collapse
i tried to use those files, but still the same problem, they wont launch/ install...in your post it says to launch them from the folder, correct...? the problem is, THEY WONT LAUNCH AT ALL...no UI for anything, just a quick flash of the cmd window for both of them and a pop up window for eclipse...
***i wasnt yelling, just frustrated...
First. DELETE EVERYTHING FROM DOWNLOADED FILES TO EXTRACTED FILE GET RID OF ALL OF IT then clear trash can.
THen ensure the JDK is successfully installed by opening command prompt and typing "java -version" you should have build 1.7 or higher. If not, you may download it here http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u4-downloads-1591156.html
Download this http://developer.android.com/sdk/index.html and pick the one that has "Recommended" next to it.
after you have that downloaded. FOLLOW THE STEPS BELOW TO A T! NO SHORTCUTS WHAT SO EVER!
Then once everything is downloaded. simply FOLLOW ME again TO A T! and if you follow that you should get everything working. And seriously, FOLLOW IT TO A T! do not take shortcuts do not try to do more than one thing at a time just take it step by step. I had no problems getting it up and running by following that last link.
Hope that helps and BE PATIENT you will get to play around soon enough
elesbb said:
...Then once everything is downloaded. simply FOLLOW ME again TO A T! and if you follow that you should get everything working. And seriously, FOLLOW IT TO A T! do not take shortcuts do not try to do more than one thing at a time just take it step by step. I had no problems getting it up and running by following that last link.
Hope that helps and BE PATIENT you will get to play around soon enough
Click to expand...
Click to collapse
thank you very much. i have what i need now, although i think i figured out my problem...stupid me was viewing the archive for eclipse instead of extracting the files to a separate folder, where the shortcut appeared!. thank you as it was your instructions that led me to my problem.
tripartist1 said:
thank you very much. i have what i need now, although i think i figured out my problem...stupid me was viewing the archive for eclipse instead of extracting the files to a separate folder, where the shortcut appeared!. thank you as it was your instructions that led me to my problem.
Click to expand...
Click to collapse
hahaha!! Sometimes all we need to do is slow down and look at whats infront of us xD glad you got it figured out!
Samsung Galaxy S II not recognized on PC
I want to sync my PC with my Samsung Galaxy Skyrocket and put music on it, but the PC won't recognized the phone.
I have tried downloading and installing the driver, Kies, etc and still get the same error.
Can someone help me??
android.bat still not present
I went to the sdk site to download. I ran the exe file, says that it couldn't find the tool\android.bat file. Please help
Is there any other way to unlock the bootloader of my XPERIA phone without doing it the 'official' way & transmitting personal IMEI & email info to Sony? (after which they don't have to honour your warranty?)
If there isn't:
I am stuck on Step 10 of Sony's official instructions
I have done what they told me so far:
* I have got the IMEI
* I have checked that my phone is bootloader unlockable. YES.
* I have downloaded the Android SDK (398 MB!). It's a file called adt-bundle-windows-x86.zip
* I have extracted adt-bundle-windows-x86.zip
* I have looked in its folders
* In Step 10, Sony says:
~~~~~~~~~~
Place the unzipped file in the usb_driver folder, located in the Android SDK > extras > google folder on your computer. Accept to replace the old android_winusb.inf-file with the new file. If you can't find the usb_driver folder, please install the Google USB Driver Packager using the Android SDK manager..
~~~~~~~~~~
However, I cannot find this folder in the Android SDK (adt-bundle-windows-x86.zip that I unzipped earlier).
So I have no idea what they mean.
I come here to share my frustration and hopefully get an idea from a more clued-in person.
Thanks for any help.
They have mentioned what you need to do in the instructions. You need to run the Android SDK Manager from the SDK's main folder that you have extracted from the downloaded zip file. In that folder, you will find the executable SDK Manager file. Run it, and make sure these items are checked:
- Tools > 'Android SDK Tools' and 'Android SDK Platform-tools'.
- Extras > 'Google USB Driver'.
Next, click 'Install packages' and wait till the packages are downloaded and installed. Once done with that, you should have all the required tools as well as drivers in their respective locations in the SDK folder.
See the first link in my Sig.
Sent from myushi
HQRaja said:
They have mentioned what you need to do in the instructions. You need to run the Android SDK Manager from the SDK's main folder that you have extracted from the downloaded zip file. In that folder, you will find the executable SDK Manager file. Run it, and make sure these items are checked:
- Tools > 'Android SDK Tools' and 'Android SDK Platform-tools'.
- Extras > 'Google USB Driver'.
Next, click 'Install packages' and wait till the packages are downloaded and installed. Once done with that, you should have all the required tools as well as drivers in their respective locations in the SDK folder.
Click to expand...
Click to collapse
Hi HQRaja,
Thanks for answering.
Installing the Google USB driver
I am prompted to install this when I checkmark it and click on "Install 1 package..." in the bottom-right. Thank you so much. Sony's instructions had me confused.
I'm now getting download time-outs on this file so I may try again later, but thanks for getting me on the right track!
The other two you mentioned were already installed.
Sony's instructions aren't the clearest for a first-timer, especially since this SDK doesn't run a traditional installer process and it was unclear to me exactly where I needed to look to install the driver (extras was all the way down the bottom and only appears with a valid net connection active, otherwise it wouldn't be seen in the listing). Thanks for clarifying exactly what I need to do.
I am not sure why I downloaded almost 400MB and didn't get this file included in a traditional-type of installer that doesn't need a net connection (again) but that might be a question for another day
Thanks again. Hopefully I'll have this bootloader unlocked soon and then my phone rooted.
XperienceD said:
See the first link in my Sig.
Click to expand...
Click to collapse
Hi XperienceD
Thanks for putting all this together under one roof, so to speak. Much appreciated!
This should save me heaps of time and frustration soon. Cheers.
Guys,
the bootloader has been unlocked!
Sony should update their instructions on unlockbootloader.sonymobile.com
~~~~~~~~~~~~
In Step 12 they don't have a link to the Fastboot button for your phone (lazy), so you have to Google to find their Fastboot button page. Turns out for my phone the Fasbtoot button is the UP volume button.
In steps 15 and 16 they are referring to an out-of-date file location when talking about the fastboot command. It is now found in:
adt-bundle-windows-x86\adt-bundle-windows-x86\sdk\platform-tools and is not within the android sdk folder as stated by them. Going in there now and trying that fastboot command results in nothing. Again, this is very poor on Sony's part but perhaps they want to limit the amount of users that do this.
~~~~~~~~~~~
This was my first android phone and first time unlocking the bootloader, so I found their instructions poor.
I hope that helps someone.
clean slate
Anyway, I disconnected the phone from the USB cable and it seemed to take a while to start up but that's 'cause it seemed to wipe the phone to a factory restore when unlocking the bootloader, which is fine with me.
rooting
Still haven't rooted, but I will try Bin4ry's method for rooting the phone, assuming I ever get that file in one piece. I tried downloading twice and I never got the complete file but I'll get there.
You guys are fantastic.
Earlier I had so many threads open that weren't helping, that my head almost exploded.
Thanks so much for the helpful push.
I'm trying to root SGP412 (sim-free Z Ultra sold in Japan).
The stock firmware (build number 14.3.A.2.21) prevents the rooting via Easy Root Tool, and kingroot does not work either.
Right now there are two options that I can think of:
A. Roll back the firmware to one old enough for the root tool to work, root the tablet, and update the firmware back to the latest one.
B. Find the absolute kernel addresses and use 'iovyroot' to root (this should be able to root the device with the current firmware).
Option B seems a bit daunting, so I've been looking into option A; I got an ftf of an old firmware (14.1.B.3.357)
I downloaded the Flashtool, but following errors occur when I try to run the FlashTool.exe/FlashTool64.exe (tried both).
java.lang.ClassNotFoundException: gui.Main
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
EXE4J_JAVA_HOME is set to the root directory of the latest JRE (tried JDK also). I tried the same thing on two different computers (both running Windows 10 Pro 64-bit), but get the same errors.
Update
I loaded the project on eclipse and then it created a 'bin' folder and .class files were generated inside the folder. The 'bin' folder has the subdirectory 'gui' inside and the file 'Main.class' in it, but I'm still getting the same error: java.lang.ClassNotFoundException: gui.Main...
I added the CLASSPATH environment variable and set the value to the directory path of the Flashtool's bin folder, but it didn't change anything.
Has anyone seen anything similar to this in trying to use Flashtool?
My sincere apologies for reviving a necropost. But I suddenly find myself in the same situation. I'd like to root my Xperia Ultra, SGP412 running Android 4.4.2 with a firmware version of 14.3.A.2.21.
I have a very specific usage scenario for it. I want to control an Onyx Boox Max Carta from it, running a VNC streamer on the Xperia and a VNC viewer on the OBMC. The OBMC runs Android 4.0.4 so there are very few clients available for it. RemoteDroid on the Xperia should solve it but it requires a rooted device.
Since this Japanese version of it is a tablet, rather than a phone (the SIM card slot is soldered) there is no phone app and hence I can't do the *#*#number thing on it.
If anyone was able to solve the OP's question, kindly inform in this thread.
Kumabjorn said:
My sincere apologies for reviving a necropost. But I suddenly find myself in the same situation. I'd like to root my Xperia Ultra, SGP412 running Android 4.4.2 with a firmware version of 14.3.A.2.21.
I have a very specific usage scenario for it. I want to control an Onyx Boox Max Carta from it, running a VNC streamer on the Xperia and a VNC viewer on the OBMC. The OBMC runs Android 4.0.4 so there are very few clients available for it. RemoteDroid on the Xperia should solve it but it requires a rooted device.
Since this Japanese version of it is a tablet, rather than a phone (the SIM card slot is soldered) there is no phone app and hence I can't do the *#*#number thing on it.
If anyone was able to solve the OP's question, kindly inform in this thread.
Click to expand...
Click to collapse
mm I have not had much luck with vnc servers on android.
My phone force closes remotedroid..got the server working by lowering the resolution in settings but I get no data to my client.
Tried on another device and the app crashes as soon as I start the server. And it said my devie is rooted in the toast..its not.
And it give me a black screen when I connect as a client...oh..jesus. It says in the app "4. The serve app will ONLY work on a rooted KitKat device and the app must be installed in /system." ..not reading the instructions works really good.
Hang on..I found a vnc server that works! For lollipop.
http://www.apkmonk.com/app/com.pranayc.remotevncserver/
huh..this is the very first time I have got vnc working on android!
I get image but no controls..You can try RemoteDroid and report if it works in case you succeed to root your phone.
You can go the long way and compile a vnc server from source code and run it from terminal but its not the practical way when you can run teamviewer instead..
So next problem:
Its not possible to install the dialer apk?
https://www.apkmirror.com/apk/google-inc/google-dialer/
Its a long shot. But you can try..if it will even install.
There is this guide. But I cant make this work on marshmallow.
I don't have any devices running stock lollipop or older to test the old contacts app with.
http://www.xperiablog.net/2013/06/20/xperia-tablet-z-how-to-access-the-service-menu/
Long pressing in the contacts app does nothing in marshmallow.
I found this thread: https://forum.xda-developers.com/showthread.php?t=2289383
adb shell "am start -a android.intent.action.MAIN -n com.sonyericsson.android.servicemenu/.ServiceMainMenu"
But I get the following: (again running marshmallow)
Code:
Starting: Intent { act=android.intent.action.MAIN cmp=com.sonyericsson.android.s
ervicemenu/.ServiceMainMenu }
Error type 3
Error: Activity class {com.sonyericsson.android.servicemenu/com.sonyericsson.and
roid.servicemenu.ServiceMainMenu} does not exist.
The issue OP was running into with flashtool won't affect you unless you're running the same Windows 10 pro version whatever build op was on and the same flashtool. I recommend running a separate windows 7 machine physical or virtual machine for messing with drivers and this stuff.
Quoting the op post
A. Roll back the firmware to one old enough for the root tool to work, root the tablet, and update the firmware back to the latest one.
B. Find the absolute kernel addresses and use 'iovyroot' to root (this should be able to root the device with the current firmware).
Neither of these are going to work. B...if you have freetime to spend go ahead but its eh. Go out and have fun this summer instead of staring on a hex editor.
Today ..I mean today in july 2017 we have some issues.
That is that its almost impossible to obtain older stock roms.
Xperiafirm removed all but the latest. Filehosts posted here has removed the file due to inactivity.
I found two stock roms for SGP412 to download in case you need it. I can't find it in flashtool.
Dunno if sol24 is the same device or if sol24 and SGP412 are two different models?
https://www.androidfilehost.com/?fid=24566382913913003
https://www.androidfilehost.com/?fid=24562946973630839
But get back to the dialer. My guess to why you want to access the service menu might be to check if bootloader unlocked allow will be yes or no?
And it being impossible to root the device perhaps this is what you want to do? And then root the phone with the bootloader unlocked?
I don't know the mechanisms applied by sony to stop it to being able to root. But hopefully it might be possible to overcome with unlocked bootloader.