[outdated; delete?] Newbies Guide to Rooting X10

Status
Not open for further replies.

synlar

Senior Member
Apr 23, 2010
90
2
0
Use Bin4ry's/Androxyde's flashtool:
http://forum.xda-developers.com/showthread.php?t=920746


outdated stuff:
There seems to be a lot of questions regarding the steps laid out in the official thread, so here I'll try doing a STEP BY STEP guide for those who are confused with the steps.
I borrowed some stuff from the original guide, so thanks Bin4ry, jerpelea and biktor_gj for everything!


NOTE: Before you begin, you should know that this process will wipe everything off your phone. So backup your contacts, and text messages and everything on your phone! Download a free backup program from the market to make backups onto your SD card, and after you're done everything, download that program again and restore everything from SD card. Your SD card remains fine.


1)
Install SEUS (Sony Ericsson Update Service).
You can get it from here: http://www.sonyericsson.com/cws/download/1/110/61/1275980198/Update_Service_Setup-2.10.6.21.exe

2) Run SEUS, follow the prompts. You don't need to update the phone through it, but get the phone ready for updating. This process should install the drivers necessary for the rooting process.

Note: I suggest you keep your USB cable attached to that USB port. Remember which USB port of your computer it's attached to, as changing USB ports can lead to a bit of confusion for the next 2 steps!

3) To check if #2 was successful, click on Start, click Run, and type: regedit
In the Registry Editor that pops up, click on Computer, press CTRL+F, and search for this: USB\Vid_0fce&Pid_adde\

After it's finished finding, on the right side you'll see DeviceInstance, then it says REG_SZ, then it says something like USB\Vid_0fce&Pid_adde\5&270d2a78&0&3
You'll need that last bit (in this example: 5&270d2a78&0&3 Yours would probably be different). This is your DeviceID (you'll need it soon!)

Note: You may have multiple of these if you plugged the USB cord into many USB ports on your computer. Each USB port will give a different DeviceID, so if you have more than one DeviceID, you'll have to choose one, and if it doesn't work (you'll find out when you reach #5!) you will have to choose another one.


Alternatively, download the file in the next step and extract it, go to the folder called 1st, and run the DeviceID.jar file. It should give your DeviceID

4) Download this:
http://filevo.com/1nlq8wryo11u.html
or from here: http://rapidshare.com/files/404363083/i_R1FA16_ft.rar.html
Extract it.
In the step1 folder, you'll see a file called DeviceID.txt
Open it up, delete whatever's there, and put YOUR DeviceID (that you found from the previous step).
Save the file and close notepad.

Note: Make sure there are no extra spaces or lines after/before the DeviceID. The ONLY thing that should be in the file is your DeviceID, NO SPACES/LINES (for example, only this: 5&270d2a78&0&3 [yours will probably be different])

5) Take out the USB cable from your phone (leave it plugged into your computer)
Turn your phone OFF
Open up step1.cmd (it's not inside the step1 folder, but outside it), but DON'T PRESS ANYTHING

Now we have to put the phone into flash mode. This is how you do it:
Hold the Back button on your phone, and while holding the back button, insert the USB cable into the phone.
A green light should come on the phone (like when it's charging or a missed call)
Quickly "Press any key to continue..." in the open step1.cmd window.

Let it finish what it's doing. It will say "Press any key to continue..." after it's finished. Until then, DON'T touch anything!

If you get problems in this step, refer to this post:
http://forum.xda-developers.com/showpost.php?p=6970868&postcount=3
Here's a helpful video for common java issue: http://forum.xda-developers.com/showthread.php?t=713457

After completion, this will give you a Generic X10i R1FA016 firmware (check it by pressing the left button, go to settings>about phone and at the very bottom under build number)
Keep your phone plugged into the USB.

6) Download this:
http://filevo.com/yzmh8wlyrgtz.html
or from here: http://rapidshare.com/files/404359845/ROOT_F2v2.rar.html
Extract it.
DELETE step4 folder, step5 folder, step4.cmd and step5.cmd

Now we're going to put the phone into Debugging mode:
Turn your phone on if it's not already on.
Press the left button, go to Settings>Applications>Development and check on USB debugging, press OK in the popup. Plug the USB into the phone (in case you disconnected it). You should see an exclamation mark at the very top left of the screen of the phone.
Do NOT have the SD card mounted to your computer!

Note: This next step can take a while!
Open step2.cmd, don't press anything!
On the phone, a list of buttons will come up eventually. Press the 6th option (something about update from SDcard). ONLY PRESS IT ONCE!
Leave your phone alone. Go to the washroom or eat a snack.
You'll see the progress on the phone screen, as it installs the package. Leave everything alone.

After completion, this will give you a Generic X10i R2BA023 firmware.

If you get problems, try this post: http://forum.xda-developers.com/showpost.php?p=7003121&postcount=1122

7) The phone should be on, USB plugged in, and already in USB debugging mode.
Open step3.cmd, and 'Press any key to continue'
Let it finish what it's doing, it will say 'Press any key to continue' at the end after it's finished.

After completion, this will give you ROOT! And it also installs some programs for you.

_____________________________________________________________________
Additional steps for X10a:

Download this:
http://www.megaupload.com/?d=BY0GZBM3
Extract it.

Inside the step4 folder, there is a DeviceID.txt file. Remember you've seen this before? Copy the same one from step1 folder that you did in #4, and put it into the step4 folder.

Follow #5 (except with step4.cmd)

Next, turn the phone on (if it doesn't turn on, unplug the USB from the phone, and try turning it on again, then plug the USB back in). Put it in USB debugging mode if it's not (if you forgot how to, look back in #6)

Open step5.cmd

After it's done, press the left button on the the phone, go to Settings>About phone and under Model number it should say X10a


_____________________________________________________________________
Market Fix:
If you have an X10i, follow this: http://forum.xda-developers.com/showthread.php?t=719486

Otherwise if you have an X10a, use this file instead, but follow the same instructions as in the link above: http://rapidshare.com/files/405188255/Market-Fix-X10a.rar

_____________________________________________________________________

To delete preinstalled programs you don't want, such as Moxier:
Put phone in debugging mode if it's not already.
I recommend you unplug USB from phone so you don't end up running some file and messing your phone
Open up the step3 folder. Right-click on cleanup.cmd, and click on edit.
Whatever is there in that list of "@adb shell rm /blah/blah/blah" will get wiped off your phone. So change the list as you want. If you're unsure, REMOVE IT FROM THE LIST!
After you're done making your list of apps to remove, save the file, plug USB into phone, and run the file.

Here is a thread that says what some of the applications are, and additional ones you can add to the list, to remove from the phone: http://forum.xda-developers.com/showthread.php?t=714021

Alternatively, you can install Titanium Backup from the market (it's free!) and use that to uninstall some applications. Also, it's really great for making a backup of your stuff (you can backup more things now since you have access to more things since you now have root!)


_____________________________________________________________________

If you are experiencing difficulties, try reading through this thread, since it may already be answered: http://forum.xda-developers.com/showthread.php?t=711969


Check out this post if you are having troubles; hopefully it can clear up some common problems people may be having: http://forum.xda-developers.com/showpost.php?p=7099515&postcount=1927

I hope this step-by-step guide helps!
 
Last edited:

mackdaddy187

Senior Member
Jul 5, 2010
216
13
0
Brampton
I followed this guide but when doing step 2.cmd, i did as I should and when I came back there was a picture of a phone with exclamation mark on it.

I thought it was done so I took off the usb and restarted the phone and it redid the whole progress thing, this time with the pic of a phone and an arrow pointing to it.

The phone restarted but now it won't go past the screen where is says "sony ericsson". What do I do now?
 

synlar

Senior Member
Apr 23, 2010
90
2
0
I followed this guide but when doing step 2.cmd, i did as I should and when I came back there was a picture of a phone with exclamation mark on it.

I thought it was done so I took off the usb and restarted the phone and it redid the whole progress thing, this time with the pic of a phone and an arrow pointing to it.

The phone restarted but now it won't go past the screen where is says "sony ericsson". What do I do now?
What I would do is try restarting the phone; if that doesn't help, or can't restart it, take the battery out, and put the battery in after 5 sec and try starting the phone again. If that doesn't help, or it stays as an exclamation mark, start from step 1 again :(
 

Ungruntled

Senior Member
Jul 2, 2010
81
7
0
Reading
Wow i tried to do step 2 again and now its says error: device not found
That's all I ever got from Step 2.

"error: device not found
error: device not found
"select option 6 SDCARD UPDATE"
Press any key to continue . . ."

Thank GOD though, someone had the sense to say "option 6 ON THE PHONE".
I was looking to press it on my PC keyboard for ages. I don't even know if I missed the option appearing on my phone but I don't think so as it always said the above on the PC.

Anyway, I gave up and used SEUS to update. Flashing in step 1 gave me a generic firmware and removed my O2 UK branding. SEUS then updated to the R2BA020 before it was available on O2... battery life vastly improved but I am missing a few market apps.

And now I can't even manage step 1! I am no fool and I am in IT, but I am pretty confused by all this. I only wanted to remove f***ing Moxier apps and improve battery life. Now I've lost access to stuff on the market, I kinda wish I'd waited for O2 to release it officially!

The Java app from pre-step 1 for finding phone ID just displays a blank screen too. I've got 3 different IDs on my PC and none of them work now. I assume as I got the "official" generic FW OTA, perhaps they locked out this method?

Frustrated at losing access to market apps more than anything.
 

synlar

Senior Member
Apr 23, 2010
90
2
0
Are you sure the device is in USB-debug mode? When you plug the USB into the phone, make sure that exclamation sign at the very top left of the screen comes up, and then try running step2.cmd
 

kleebod

New member
Jul 5, 2010
1
0
0
Vancouver
Step 2 Problems

Okay I'm in the right thread because I am a total root noob.
This is my first attempt at trying this.

I'm running an X10a on Rogers.
I've been following the instructions to the letter, but I just can't get step 2 completed.

This is the error I message I get: "Failed to copy 'fota.pkg' to '/sdcard/fota.pkg': Permission Denied" ... blah blah blah.
I can't seem to get past this "Permission Denied" issue.

Any help is appreciated.
 

wongrhy

Member
Feb 16, 2009
21
1
0
I got the following error message which at step1. I am sure I followed all the installation steps(with Java installed) and switched the phone into flash mode already.

Can anyone let me know how to resolve it? Thank you very much.

Here are the error messages:
Exception in thread "main" java.lang.UnsupportedClassVersionError: X10flash (Uns
upported major.minor version 50.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
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 java.lang.ClassLoader.loadClassInternal(Unknown Source)
 

jamesbrpt01

New member
Jul 5, 2010
4
0
0
Help

I run the whole process to root R2BA020, working well.
I was updating the rom R2BA023, and run the 5 steps, my X10 only shows a drawing of the X10 with a triangle with exclamation. I need help to restore the X10.
 

The-Lord

Senior Member
Jun 23, 2010
93
4
0
Bangalore
www.rahulverma.net
@wongrhy
Go to command promt and type javac and hit enter. If it does not display java help options then path is not set correctly.

Try setting up the path with the following command on the command prompt

path={PUT YOUR JAVA BIN FOLDER PATH HERE}

Make sure you change/put the java bin folder path above.

After that try running the flash again.

@Topic Creator.
I guess you forgot to mention that the DeviceID.txt from the Step 1 has to be copied in the Step 2 and Step 3 folder.
 
Last edited:

The-Lord

Senior Member
Jun 23, 2010
93
4
0
Bangalore
www.rahulverma.net
I run the whole process to root R2BA020, working well.
I was updating the rom R2BA023, and run the 5 steps, my X10 only shows a drawing of the X10 with a triangle with exclamation. I need help to restore the X10.
Try the steps from beginning. It should work. If you want to go back to Sony Default unrooted firmware then try the ROMs by jerpelea in another thread in the forum.
 

jamesbrpt01

New member
Jul 5, 2010
4
0
0
run the step 1 and the outcome is:

please connect Xperia in flash mode.
Pressione qualquer tecla para continuar. . .
05/07/2010 03:55:32 X10flash main
INFO: start
java.io.IOException: Unable to open channel, GetLastError=0
at com.sonyericsson.cs.usbflashnative.impl.USBFlashNativeImpl.openChanne
l(Native Method)
at X10flash.main(X10flash.java:410)
Exception in thread "main" java.lang.NullPointerException
at java.lang.String.<init>(Unknown Source)
at X10flash.testPluged(X10flash.java:103)
at X10flash.run(X10flash.java:375)
at X10flash.main(X10flash.java:417)
Pressione qualquer tecla para continuar. . .
 

jamesbrpt01

New member
Jul 5, 2010
4
0
0
when I turn on the X10 it writes Sony Ericsson and then the screen with the design of the X10 and the triangle with exclamation. I no longer have access to the phone.
 

Attachments

Status
Not open for further replies.