yashsingh1/xdaforums huggingface dataset:
[XPERIA X10 Android Development] mattiL:
I am fairly certain of this:

1. You need only to have a DeviceID.txt file for Step1, it is only the java application (X10flash.jar) in Step 1 that uses it.

Step 2 and 3 runs the adb.exe, Android debugger, and does not need the DeviceID.txt. (But needs USB debugging activated in the phone)

So there is no need to copy this file to all three steps.

2. Many of the problems people are having stems from one little error in file step2.cmd, a character that is supposed to be a "@" has unluckily been replaced with a "#", and this stops the command from being executed.

In my case the file looked like this, note the text marked in bold:

@echo off

cd step2

#adb push fota.pkg /sdcard/fota.pkg

adb shell am start -a com.sonyericsson.android.fota.action.DEBUG_ENTRY

echo "select option 6 SDCARD UPDATE"

pause

I changed it to this instead:

@echo off

cd step2

@adb push fota.pkg /sdcard/fota.pkg

adb shell am start -a com.sonyericsson.android.fota.action.DEBUG_ENTRY

echo "select option 6 SDCARD UPDATE"

pause

Regarding the phones device ID, I did not test the script provided by jerpelea, instead i read the device ID from registry at this location:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_0FCE&PID_ADDE\

Furthermore, I do not think flashing changes the phones device ID, this is as I see it a hardware fingerprint, like a network cards MAC address, but I might be wrong there.

After flashing several different ROMs I still have the same id as I started with.

AND YOU MUST ALWAYS START WITH STEP 1 IF YOU HAVE SOME OTHER FIRMWARE RUNNING.
[XPERIA X10 Android Development] Maftoon:
Did i need Certain firmware to root my x10i??

because new SE firmware release !!

can i update my phone to new firmwere and root my x10?
[XPERIA X10 Android Development] Astral07:
20€ from me, Confirmation number: 22D23548R98217903
[XPERIA X10 Android Development] nkolsen:
When running step 2 i keep getting a "device not found" error... Have no clue what to do. I have 2 device ID's though, and have tried with both, but it just doesnt seem to work :(
[XPERIA X10 Android Development] pietropizzi:
@ all: Please read exacty these comments, all Information you need is there:

http://xdaforums.com/showpost.php?p=7008911&postcount=1246

key notes:

You actually have old firmware, new, branded, unbranded or don't know firmware --> Always start from Step 1

after flashing Step 1 --> USB Debugging activated --> go on to Step 2 and Step 3

To make it more simple and get rid of that DeviceID finding, take Omnius for step 1.
[XPERIA X10 Android Development] lucheluche:
make sure you have usb debug mode active on the phone and Sony X10 drivers installed to use adb shell (h ttp://w ww.megaupload.com/?d=U2PY6QOR , manually install from device manager)
[XPERIA X10 Android Development] Evostance:
Is there any reason apps that require root access force close and when I try typing su in terminal on the phone I can permission denied?

Also, my phone was never wiped when it was rooted, just updated. Im assuming this is correct?
[XPERIA X10 Android Development] thefunkaygibbon:
My device ID is not updating in Regedit.

I have run the Jar and the searched manually. I did find one record, which appeared to work for step 1, but not 2 or 3.

Step 2 ended up working through the OTA update method, so I am now stuck on step 3...

any ideas?
[XPERIA X10 Android Development] Bin4ry:
Can someone arabic try this package that i build?

http://rapidshare.com/files/404030629/arabic.rar.html

Thanks for testing.

Regards

Bin4ry
[XPERIA X10 Android Development] Tom-Helge:
Ok, since i'm tempted to go back to a rooted state on my XPERIA X10i again now since the new R2BA020 firmware seems to be working very good.

So i have to ask though, since i'm on Tele2 (under NetCom's networks) in Norway and the phone is ofc locked to them, will i then come over any problems if i root my X10i to the R2BA020 firmware?.

I'm asking because i want to make sure everything works like it should so i don't flash to the R2BA020 firmware and then comes over alot of problems after i have rooted.
[XPERIA X10 Android Development] mattiL:
Step 2 and 3 requires that USB Debugging is activated in the phone.

Check my post on the previous page for info:

http://xdaforums.com/showpost.php?p=7008911&postcount=1246
[XPERIA X10 Android Development] Chewitt:
Step 2 has not worked most probably when you did it, and so step 3 has not rooted your phone.

you might get away with re doing step 2 after using my fix that is in my sig and then doing step 3 again.
[XPERIA X10 Android Development] bcool15:
for x10a users there aint no runme.cmd file in step4 and give error but is present in step 5 folder shud i change it or wat?
[XPERIA X10 Android Development] Evostance:
Lol... Love it how I wrote a detailed tutorial and it didnt seem to work for me yet it works for others xD
[XPERIA X10 Android Development] Chewitt:
i think they fixed the code now but some people already downloaded it before hand and so get the error.
[XPERIA X10 Android Development] thefunkaygibbon:
Sorry, should have mentioned that, The phone is in debug mode. I have tried it with the SD mounted and unmounted, but neither work... just get the Device not found error...

I have also manually installed the X10 ADB driver, and gone through that process again, but no luck.
[XPERIA X10 Android Development] Chewitt:
Have you re checked your device ID as it can change.
[XPERIA X10 Android Development] chai_archer:
anybody facing the app forced close in R2? every time i try install app from market, market closed. any solutions?
[XPERIA X10 Android Development] thefunkaygibbon:
DeviceID.jar does not return a value, but a manual search shows the same ID that worked in step 1.

I have noticed on another post though, that step 3 does not need the deviceID as it uses ADB in debug?!?
[XPERIA X10 Android Development] Theaccomplice88:
Should those of us who want our X10a's to run on ATT's 3G still use step 5? or just stop after step 4?
[XPERIA X10 Android Development] FRiKiNFRoG:
For step 4 for x10a: Modify the step4.cmd with notepad:

@echo off
cd step4
X10flash.bat
@echo *************************************
@echo YOUR PHONE IS ROOTED AND WILL RESTART
@echo *************************************

pause
[XPERIA X10 Android Development] dink-x10:
Hi, I am having some real problems with ADB for step 3, I keep getting message device not found.... It took a long time and a lot of rebooting of phone and computer to get step 2 to work...

Now my computer is not recognising the debugging mode, however I try to connect or reboot, the phone says it is in debug mode but there is no message coming up to say "SEMC ADB device found" when the debug mode is entered....

Any help please as I'm really looking forward to getting rid of Moxier etc!

Thanks
[XPERIA X10 Android Development] sahha:
thanx

how i can try this package ?
[XPERIA X10 Android Development] Bin4ry:
unrar it then activate usb debugging and run "RuneMe.cmd" :)

Regards

Bin4ry
[XPERIA X10 Android Development] bcool15:
Thanks

Any clue about y tappin camera app returns. With error sayin app not installed even tho the icons present
[XPERIA X10 Android Development] zoz33:
Thanks Binary, but I receive the following errors:

failed to copy 'arabic\DroidSans.ttf' to '/system/fonts//DroidSans.ttf': Permiss

ion denied

failed to copy 'arabic\DroidSans-Bold.ttf' to '/system/fonts//DroidSans-Bold.ttf

': Permission denied

failed to copy 'arabic\DroidSansFallback.ttf' to '/system/fonts/DroidSansFallbac

k.ttf': Permission denied

failed to copy 'arabic\libwebcore.so' to '/system/lib/libwebcore.so': Permission

denied
[XPERIA X10 Android Development] bcool15:
I ran step 5 bein on ATT it still updates apn settings it explains y step 5 is used in 1st post :-)
[XPERIA X10 Android Development] bcool15:
Is ur SD unmounted?
[XPERIA X10 Android Development] Bin4ry:
Sorry was my fault. This should work then:

http://rapidshare.com/files/404045563/arabic.rar.html

Regards
[XPERIA X10 Android Development] brunswick000:
Ive just rooted using this latest version and everything seems to be working perfectly thus far.

I would like to know how to remove certain apps? I know that the files for removal are listed in the tutorial, but how exactly do we do this?? Any advice is much appreciated
[XPERIA X10 Android Development] zoz33:
Thanks Bin4ry for your support, I think I got the jist of it, just needed to add a mkdir for /sdcard/arabic then it should work. I also added steps to backup the replaced files.

However now the phone refuses to boot and is stuck on the Sony Ericsson logo startup!

Best Regards
[XPERIA X10 Android Development] Evostance:
Check my sig
[XPERIA X10 Android Development] thtaymf:
Bin4ry, I got this errors when im running your file.
[XPERIA X10 Android Development] zoz33:
I advice you to wait since I faced problems getting my phone to boot in the first place after installing Bin4ry's files, we should hold on the Arabic until we find out what caused the phone not to boot.
[XPERIA X10 Android Development] leobg:
I assume you refer to the one that's on the desktop. Simply delete it and pull new shortcurt from the app drawer. This should solve the problem
[XPERIA X10 Android Development] sahha:
Bin4ry,

i copy arabic file to sd card and run RunMe all complete but after restart my phone is stop on sony ericsson flag :mad: don't start :mad:
[XPERIA X10 Android Development] Bin4ry:
not cool both of you ...

can you connect through adb ?

Regards

Bin4ry
[XPERIA X10 Android Development] tehfixxx:
Root is successful, but still say build R1FA016

I've read the last 30 pages, but I've not yet to find an answer. If I've missed it, then my apologies.

I've followed the instructions diligently. All of my step 1, 2, and 3 seem to have work and the device has been rooted successfully. I've tested the phone for an hour, and it was working like normally. However, when I check my build number it still say R1FA016 (I'm using X10i). I have read step 2 suppose to update the build to R2BA020, but it did not for me. There might be a minor process it has skipped. I would like to know what are my current option since my device is currently working, I haven't had any other problem.

- Do I re-run step 2 and 3 again?

- Or do I have to restart all over from step 1, after doing factory reset with SEUS?

- Or all I need now is to upgrade the build to R2BA020?

Thank you again for the root, I truly appreciated it.
[XPERIA X10 Android Development] zoz33:
No, Redoing the whole rooting process all over again! looking forward to restoring all 130 apps using mybackup, one-by-one! :D

Don't worry about it, I'll try putting DroidSansFallback.ttf only and let you know.
[XPERIA X10 Android Development] leobg:
There were few releases of the new root, it looks like you grab the broken one where step2 wasn't working.

I would recommend you to redownload step 2 onwards from post #4 and start from there. Apparently step 1 has gone right with you already.
[XPERIA X10 Android Development] tehfixxx:
Thank you :D, I'll try that when I've a chance later today. It could have been the case, and I'll keep reading to see what other suggestions might be out there from other poster.
[XPERIA X10 Android Development] frostdream:
Hello all :-)

A big thanks to you. Binary, jerpelea, biker end the other for your incredible work ! Huge improvement for our x10, thanks to you!

So I successfully root my x10, with the ole, and now the new release .

I didn't found any bug for now, just one dead shortcut but it doesn't mater.

The new r2 root is much faster than the same stock rom: 446 vs 457 on quadrant benchmark. And 434 for the first root release.

So, again, awesome work guys, hope to see next step :-)

My donation will going to arrive next week as promise :-)

Thanks from France guys !!!
[XPERIA X10 Android Development] leobg:
there is one # in the script that should be @ :) If you don't want to bother fixing the script yourself, simply re-download steps 2 onwards. Jerpelea has done few nice improvements which are certainly worth the redownloading
[XPERIA X10 Android Development] sahha:
can you repair this file DroidSansFallback.ttf

DroidSansFallback.ttf i can not open it on pc " error "
[XPERIA X10 Android Development] Bin4ry:
I'm very sorry for that :/

I will take another look for myself.

Regards

Bin4ry
[XPERIA X10 Android Development] Octanum:
Can someone possibly post a different guide for the Rogers X10a, I don't really understand the method in the first post. Nothing seems to be done in step 4 and 5 and for step 2, it says to run step 2, same for 3 and 4? o.O

Possibly something with screenshots? Or perhaps someone has done that, but I missed it in the hundred pages? Probably anything would help me though.

Perhaps I'll understand it once I get everything downloaded.
[XPERIA X10 Android Development] leobg:
The guide Bin4ry and Jerpelea posted in post #1 and #4 are good. They are a bit high level for novice user, but are accurate and work precisely.

As a prerequirements I would recommend you to have a Windows XP 32 bit system, with SE PC Companion, JDK 1.6 and Android SDK installed. Before you begin, in order to determinate your DeviceID - put the phone in flash mode by pressing on back button and connecting it to the USB while phone is turned off. This will install the flasher USB interface which is the thing you need to lookup in registry and put in deviceid.txt file on step 1 and 4.

Once you are done with these 'pre-requirements' - proceed to the guide from post #1

note - make sure you always use the same USB port once you extract DeviceID, as if you change the port, ID changes too.
[XPERIA X10 Android Development] pmp.s:
step 1, 3, 4 and 5

hi so i only have 1 device id! which i found with the refedit method it was saved in.text step 1 and 2 and 3.

step 1 see the error in pic 1!

step 2 works fine!

step 3 see the error in pic 3

step 4 for x10a it actually doesnt reboot the phone and step 5 see img 5.

i followed the tutorial word by word.

i do have better terminal and spare parts and superuser but when i go to BT and i write SU i get access denied!

when i try cpu for root i get acces denied! so what to do?

btw i have build # r1fa014

thank you!
[XPERIA X10 Android Development] leobg:
BTW Where is the pic?

Seems like the culpirt is you don't have the right pre-required firmware that must be flashed in step 1. Make sure step 1 completes with no error report before proceeding any further.
[XPERIA X10 Android Development] Octanum:
Ah, seems I missed those video guides. Thanks!
[XPERIA X10 Android Development] smallord:
I didnot see your pics too. did you run the steps first and then plug in the usb?
[XPERIA X10 Android Development] FRiKiNFRoG:
tappin camera? What's that????

I installed all apps from the latest root but I also kept a lot of app, I uninstalled moxier, I kept full timescape/mediascape, original home..
[XPERIA X10 Android Development] bmw-boy:
Thanks for all Deve for rooting

i have done the last method and is working perfectly

and iafter all the steps i install SE Companion and it give me new update for the software

so if i up date the software i will loss the rooting

for the arabic font i will try and give the feedback very soon

the donation coming very soon
[XPERIA X10 Android Development] bmw-boy:
Arabic Font

the same error fro Arabic font

i have try with SD Card Mount and unmounted

the sake error

please Bin4ry advice and help us

thanks
[XPERIA X10 Android Development] digitalhater:
How much I would love to see that on my HD2.
[XPERIA X10 Android Development] pmp.s:
i just updated the pics thanks!
[XPERIA X10 Android Development] pmp.s:
just updated the pics thanks!
[XPERIA X10 Android Development] Harveer:
hey i kinda got a similar problem, when i get to step 3 i can seem to get it to work. it keeps saying error: device not found, step 1 and 2 worked a charm. it seems my computer doesnt have the right drivers because in device manager the xperia x10 has a question mark next to it. does anyone have the drivers? cheers
[XPERIA X10 Android Development] zoz33:
I tried installing only libwebcore.so and I faced the same problem hanging on boot screen with SE logo.
[XPERIA X10 Android Development] Bin4ry:
seems it is not compatible to our current SE Android.

I try to look at it later.

Regards
[XPERIA X10 Android Development] D-Trixxx:
quick question...what do I need to do to "prep" my device for root? I have a Rogers x10a handset. Do I need to flash it with a generic rom? If so which is recommended?

Thanks in advance ...once I successfully root mine I will donate.
[XPERIA X10 Android Development] zoz33:
Thanks Bin4ry, I think I'll wait on it, you sure you got libwebcore.so from a 1.6 release?
[XPERIA X10 Android Development] MarylandCookie:
Personally i would use this Global Generic Rom for step 1:

X10i_GLOBAL_GGL_GENERIC_1232-2Shared

X10i_GLOBAL_GGL_GENERIC_1232-Megaupload

I used this ROM and have not had a single problem.

Use with either Omnius or x10Flash Tool.

Regards
[XPERIA X10 Android Development] RodneyBR:
Since I did the old 3 step process yesterday (for the X10i), do I need to start from step 1 again or can I start from step 3 for the X10a root?
[XPERIA X10 Android Development] RodneyBR:
Ok, downloaded the X10a file and it looks like there simple are additional steps, so I guess I don't need to start all over from step 1 again.
[XPERIA X10 Android Development] zkiller:
Help :/

failed to copy 'bin\busybox' to '/sdcard/busybox': Permission denied

/sdcard/busybox: cannot open for read: No such file or directory

Unable to chmod /system/bin/busybox: No such file or directory

link failed File exists

link failed File exists

link failed File exists

link failed File exists

link failed File exists

rm failed for /sdcard/busybox, No such file or directory

failed to copy 'bin\su' to '/sdcard/su': Permission denied

/sdcard/su: cannot open for read: No such file or directory

Unable to chmod /system/bin/su: No such file or directory

rm failed for /sdcard/su, No such file or directory

##############################

# DEVICE ROOTED SUCCESFULLY #

##############################

Is my device really rooted ??? or i missed something ??

Why permission denied ? everything else in this script work perfectly

Thanks for your help.
[XPERIA X10 Android Development] GreatBigDog:
Xperia X10 software update

Wow, Root achieved a few days ago and now SE has an OTA update that they are releasing. Could be a coincidence but I got caught for several months with the HTC update to the Rogers Magic that removed rooting ability from the phone.

I haven't rooted yet but I want to keep my options open so I turned off the automatic serach for updates on the X10.

http://blogs.sonyericsson.com/products/2010/06/30/xperia-x10-software-update…-over-the-air/
[XPERIA X10 Android Development] nonentity:
i encountered the same problem, but after a few rounds of troubleshooting, i got it to work...

1st: turn off ur X10 and remove the batt for 5 secs

2nd: check ur PC taskmanager and kill the adb.exe

and try again... it works for me..
[XPERIA X10 Android Development] RodneyBR:
Yea, I read that as well and will do the same.
[XPERIA X10 Android Development] k3roro:
How strongly do you recommend those two bolded in black? I have the JRE and I thought that may be enough and I have no idea how to install the Android SDK. Can we still root if we don't have those two recommended?

Thanks
[XPERIA X10 Android Development] Diabolico:
You don't need JDK, like you said JRE is enough. And the Android SDK is not necesarry either as long as you did install and used SEUS once so you have and USB ID for your device.
[XPERIA X10 Android Development] Harveer:
hey, cheers for the reply, i jus tried that but no success, every time i cancel adb.exe it opens up again straight away?
[XPERIA X10 Android Development] Higgins12:
The update refered there is the R2BA020 = the same what the Guys put up as a update yesterday and it is rooted too. Just read first post.
[XPERIA X10 Android Development] zyexx:
Step 4 & 5?

Silly question here, where are the files for Step 4 and Step 5?
[XPERIA X10 Android Development] Diabolico:
Check post #4 on the first page, it provides the link for steps 4 and 5 that should only be used on X10a, not the X10i.
[XPERIA X10 Android Development] pmp.s:
anyhelp!!!?
[XPERIA X10 Android Development] zkiller:
How do i check if my device is rooted ?

and why this permission denied in post #1311 ?

Please really need your help, thxs
[XPERIA X10 Android Development] zyexx:
any rom step 1?

Can I use any rom with step 1?
[XPERIA X10 Android Development] Octanum:
Hotfile is being a real pain. Been telling me I'm downloading something for a couple hours now when I'm not :/
[XPERIA X10 Android Development] Harveer:
yo, i had the same problem, i repeated step 3 again but it said

link failed File exists

link failed File exists

link failed File exists

link failed File exists

link failed File exists

but nothing about busybox. i tried titanium backup and according to that i have root? but im not sure though.
[XPERIA X10 Android Development] orion_12:
Thank you

I cant say enough thanks to you guys, x10 on new method of rooting and flaskhing is easy and my goy this is one badass phone, all we have to do now is wait for froyo. Once again thank you Devs
[XPERIA X10 Android Development] mattiL:
I noticed in your screen dump that you had an error popup in the system tray pointing to hardware driver problems.

My suggestion for you would be to install the latest version of SonyEricsson Update Service (SEUS), run it once so that your phone gets it drivers properly installed.

Then continue with installing Sun Java Runtime Environment (JRE).

And please restart your XP after installation of software, as windows tends to like that.

Now you should be ready to run Step 1 of the rooting steps.

If this step fails, there really is no use to continue with step 2.

Start with this, and then well see how to go along.

Good Luck
[XPERIA X10 Android Development] ricey1986:
Q's???

Hi guys just come over from an HD2. Loving the phone but want root. Just a quick question. What is flashtool?? Is it something similar to customruu for the hd2? Also if i need to get rid of root how would i flash an original rom? Sorry in advance if this isnt relevant place.

Ricey
[XPERIA X10 Android Development] Higgins12:
If you did Step 3 alread those "link failed File exists" messages are normal as you created the Symlinks to busybox already and the script can't create them again. Nothing to worry about. If you have the Superuser.apk inbstalled and start a program which requests root privileges you should get a pop-up asking to confirm. If so you can be sure that you have root.
[XPERIA X10 Android Development] zyexx:
Houston...we got root!!!!

All rooted...thanks guys
[XPERIA X10 Android Development] pmp.s:
Thank you man :) ill try this tonight .
[XPERIA X10 Android Development] zoz33:
No you need to start with the one from post #1
[XPERIA X10 Android Development] mattiL:
Read this:

http://xdaforums.com/showpost.php?p=6514704&postcount=3
[XPERIA X10 Android Development] JQE:
Rogers 3G access.

OK i have an X10A from rogers.

I have rooted according to the 5 step X10a process... everything works except data.. sort of

i can get to websites in the browser (which i assume is wap) but none of my other apps can connect... I have run step 4 and 5 and they say successfull..

Can anyone help me? I am thinking i will have to unroot my phone until i can figure this out..

i have done the steps 2 times to make sure i did it all right.
[XPERIA X10 Android Development] RodneyBR:
I'm with Rogers and have ax X10a as well and rooted using the 5 step and all works.

On your phone, try going into SETTINGS > WIRELESS CONTROLS > MOBILE NETWORKS and click on AUTO INTERNET SETTINGS
[XPERIA X10 Android Development] JQE:
Yup tried that.. Had to do that to get event the WAP to show up, but sadly i just can't get 3G.. i know it SHOULD work, but for some reason it won't go for me...