Root for X10 mini (pro)

This hack http://c-skills.blogspot.com/2010/07/android-trickery.html is almost universal.
I've compiled and tested a version for X10 mini.
Download: exploid_x10mini.zip
- download and extract the archive...

You will need ADB from Android SDK and USB drivers for X10 mini (part of Sony Ericsson PC Companion).
Enable USB debugging on the phone in Settings>Applications>Development and connect the phone to PC via USB.
Add the Power Control widget to your active widgets on the phone, so you can quickly turn off and on the wi-fi function.
From the command line (on windows it's cmd.exe):
cd c:\exploid_x10mini (or another folder where you've extracted the files from exploid_x10mini.zip)
adb push Superuser.apk /sdcard/Superuser.apk
adb push su /sdcard/su
adb push exploid /sqlite_stmt_journals/exploid
adb push busybox /sqlite_stmt_journals/busybox
adb shell
cd sqlite_stmt_journals
chmod 755 exploid
chmod 755 busybox

Immediately after the next command, you will need to disable and enable the wi-fi using the power widget on the phone:
./exploid
then run:
rootshell
enter password rootnow
prompt will change to # - now we have root
./busybox cp /sdcard/Superuser.apk /system/app/
./busybox cp /sdcard/su /system/bin/
./busybox cp busybox /system/bin/
chmod 4755 /system/bin/su
rm /system/bin/rootshell
exit
- out of rootshell
exit - out of adb shell

Verification:
When you run the abd shell again and issue su command, the Superuser.apk will run on the phone and will ask whether to allow the root permissions...

EDIT: your possible questions might be already answered on the XDA forum.

Comments

How do I make my X10 visible for adb?

I never had any problems connecting to my Nexus One, but I can't communicate with my X10 using the same USB cable, same computer (Linux BTW), and same software. I've turned on developer mode in the application settings on the X10 but I can't get it to talk to the X10. I can see

S: Manufacturer=Sony Ericsson
S: Product=Sony Ericsson USB Device

in /proc/bus/usb/devices, but trying to communicate with it I only get:

adb -d shell
error: device not found

Re: got it

I had not turned USB debugging properly on. Now it works and I can upload my own applications.

would just like to say...

the above worked (perfectly on the third or fourth try).

big problem

how can we install apps on SD CARD on x10 mini pro?

doesn't make sense to me

I can only get to

c:\exploid_x10mini

and then I can't get any further. I'm not sure if I have ADB from Android SDK running in the way I should. I don't know what it's supposed to be like

when I try to enter
adb push Superuser.apk /sdcard/Superuser.apk
it says it is not recognized

thanks

Su --> Permission Denied

It's done. I already complete the first tutorial... But in test (typing su) i got the message PERMISSION DENIED.
I already try the suggest sollutions: Turn Wi-fi on/off... change the type of conection (charge or files)...
What should I do to get root access?
I want to uninstall factory apps!! =S

thanks! *-*................. MARK

already charge only.

I have already turn x10 mini pro to charge only mode, and the SDcard is free for the mini pro. But when I type "adb devices", but the stuff didn't show on the devices list. I have no idea for that. Please help me....=_=!

re: already charge only.

The sequence must be strictly adhered to; i.e., before connecting the phone to the PC, PC Companion must be running, phone must already be in debug mode. Then connect the devices and select "charge only". Otherwise, the ADB device from PC Companion won't be called up. Anyway, if the phone has enough memory, I guess you can just push everything to "sqlite_stmt_journals" and not worry about the "charge only" step.

Thanks for reply. Finally, I

Thanks for reply. Finally, I used the "universial androot" finish it.

This is a great utility! I

This is a great utility! I was looking for a way to remove factory-installed apps in my X10 mini. The initial few sites I Google'd get root by replacing the kernel with some customed kernel; a method that's a little scary, besides I can't find a custom kernel for my X10. And then they require one to download a terminal emulator into the phone and issue unix commands with those pathetic keyboards. Your method acquires root in a completely unintrusive way, works across different phone models (with the same processor family?), and allows me to work from a PC keyboard. I'm more than happy to come across this tool.

The essentials of what I did to remove pre-installed apps:

Prepare the "exploid_x10mini" folder according to instruction
Run PC Companion
Turn on USB debugging on phone
Plug in USB cable to PC and phone
Select "Charging" on phone
in DOS prompt:
> cd c:\exploid_x10mini
> adb push exploid /sqlite_stmt_journals/exploid
> adb shell
$ cd /sqlite_stmt_journals
$ chmod 755 exploid
$ ./exploid
$ cd /system/bin (I'm not sure why but when I ran rootshell initially, I got permission denied until I did this)
$ ./rootshell
enter password rootnow
# cd /system/app

# cat Email.apk > /sdcard/tmp/Email.apk (repeat these 2 commands for every app you want to remove)
# rm Email.apk

# reboot

Done. I did not do the WiFi on/off thing. I keep "rootshell" around until I'm satisfied with the stability of the system without the removed apps. Also I'm removing the apps bit by bit for easy troubleshooting in case something messed up. The second time I entered the system I only need:

> cd c:\exploid_x10mini
> adb shell
$ rootshell
enter password rootnow
> mount -oremount,rw /dev/block/mtdblock0 /system
...and so on to remove apps from /system/app
> mount -oremount,ro /dev/block/mtdblock0 /system

This time I did not keep the screen on while charging and I did not have WiFi turned on. The remount is needed because it seems that after a reboot, /system is mounted "ro" by default. So I guess it's best to remount it back to "ro". Also, some sites with other phones have /system mounted on /dev/block/mtdblock3, so I guess if you have some other phone, it's prudent to just issue a "mount" command first to see where it is mounted originally.

Of course, cleanup "exploid" and "rootshell" when they are no longer needed.

That's all forks. I'm now a happy owner of an efficient android phone.

a note on reboot

Apparently "reboot" doesn't clear the "dalvik-cache" on my X10 mini... I see some orphaned entries in "manage applications". The best is still power off/on.

already charge only

I have already turn x10 mini pro to charge only mode, and the SDcard is free for the mini pro. But when I type "adb devices", the stuff didn't show on the devices list. I have no idea for that, any help for that?

Please Help!!!!

help me please!!! I was trying to root my phone and everything went ok until the step in which i had to put "$ ./exploid" in the command line, after that i got amessage of "permission denied" after that i had to leave so I put exit twice until my command window closed. the phone was working as always but I turned it off that night. now it wont boot up. it does nothing, it doesnt charge, or display anything. if i press the power button for a couple seconds it vibrates slightly a sudden shock really. and thats it nothing else. please help!!!!!!

Happens to me too

Try taking the simcard out, and see if it turns on now.
If it does, then we might be having the same issue... it turns on sometimes with the simcard inside, after a long while. Haven't figured out how to make it work all the time.

any ideas, people?

It did

I hadn't tried it without the sim card!!!!
But it did boot up!!!!!! now how do i get it to boot up with the simcard?

Can this root help my CallerID?

Hi good work you have done on androids. Maybe you can help me with one problem. Do you know which file is the responsable for setting the caller id on the x10mini. I need to mod it for id to properly recognize my contacts in SMS messaging. As right now it recognized my contacts when someone calls but when they send me a SMS it just put the number not the contact name. I know this issue is due to the callerid checking for 11 numbers instead of 8 as i need it in my country. I have this same exact issue on a Motorola Z6w and fix it changing the lenght on the configuration file of the phone(mod a file in the root of the linux system in the phone), but im new to android and i dont know how to search for such a configuration file on the X10mini. Im looking for the file that let me mod the min/max length for the callerid.
Sorry for the off topic, but i think you may now.

what was the file on the

what was the file on the other phone?
and please copy here the content, what you have changed, i will try to search it.

Hi i have recently update the

Hi i have recently update the Xperia mini and the problem with the caller id is now gone, Thanks anyway

Root problem!

HI!

I have a following problem with rooting:
at this step:
adb push exploid /sqlite_stmt_journals/exploid
i get this :

D:\X10\exploid_x10mini (1)\exploid_x10mini>adb push exploid /sqlite_stmt_journal
s/exploid
failed to copy 'exploid' to '/sqlite_stmt_journals/exploid': Permission denied

Can anyone help me solve the problem?
I have FW 1.1.A.0.8 on the x10mini.

Thanks for help!!

BR, Norberto

Can this root help my CallerID?

Hi good work you have done on androids. Maybe you can help me with one problem. Do you know which file is the responsable for setting the caller id on the x10mini. I need to mod it for id to properly recognize my contacts in SMS messaging. As right now it recognized my contacts when someone calls but when they send me a SMS it just put the number not the contact name. I know this issue is due to the callerid checking for 11 numbers instead of 8 as i need it in my country. I have this same exact issue on a Motorola Z6w and fix it changing the lenght on the configuration file of the phone(mod a file in the root of the linux system in the phone), but im new to android and i dont know how to search for such a configuration file on the X10mini. Im looking for the file that let me mod the min/max length for the callerid.
Sorry for the off topic, but i think you may now.

I really feel the same.

How could you solve this problem?. I really feel the same.

Solved

Tha problem is solved.
I had to confirm directory path accurancy or permission of /sqlite_stmt_journals by ls -l command
now i have root.

ROOTING THE ZTE SOFTSTONE

this udev exploit is almost universal it also worked great for the zte racer (aka zte x850, tmn soft stone, http://www.gsmarena.com/zte_racer-3423.php ; similar soc to the x10mini) with one minor "hiccup":
$ su
reloc_library[1244]: 11798 cannot locate '_ZNK7android6Parcel15setDataPositionEj'...CANNOT LINK EXECUTABLE

probably needs a recompile, using rootshell for now to work on the phone (too bad it gets sluggish ;)
results so far: one rooted phone, not bad for the first seconds using the sdk and trying to root the little bastard

props to you all, the known exploit and the prebuilt binaries really came in handy since i haven't had the opportunity to setup the cross toolchain yet.

cluck

zte racer

You need to use the eclair version of su and Superuser.apk on zte racer.
You can download su-2.1-e-unsecure-signed.zip from here: http://bit.ly/brI0EV

Excellent instructions,

Excellent instructions, althou the permissions / USB Charger issue caught me out a bit!

Now rootin tootin and playing nice :) Thankses

imamrf from indonesia

thx. my x10mini rooted succesfully..

Excellent!!!

Works a treat on my UK x10 mini
complete novice but found it very straightforward
Thankyou

Thanks and install on sd card

It's done,thanks!
Can we install application on the sd card now? Have you got a tuto for app2sd maybe?

someone had to be the 1st goof, so here I am... :/

I've succesfully rooted my x10 mini following your simple and clear instructions.

I've gone all the way until Superuser poped and asked for allow root permissions.

While trying to uninstall some apps from my carrier (trying both "rm" command and gui options) I messed up somewhere
and the mini started poping warnings about abnormal terminations of severall apps running on background.

I've pressed the "force kill" button a few dozen times but they just kept coming so I
just unlugged the usb cable and forced a hard reset (here's my critical error, I guess).

Now the mini just freeze on startup and I can't restart it by any means.

I've tried both with usb cable plugged in and unplugged.

I've tried to acess the x10 by means of adb with partial success ($ prompt is available) but rootshell (#) is denied.

Any help would be VERY appreciated.

Thanks for your time.

Hi. You can try to run Sony

Hi. You can try to run Sony Ericsson PC Companion 2.0. Choose update/repair software,
it will repair the software and reset the phone to factory settings. I did on my X10 mini.
Good luck
Munk

RReplying to myself, and someone who might have same issue

Running SE Update Service and reinstalling the software just solved the problem.
It took a few minutes to restart after reinstalation (normal as advised)
and lost all my data (apps and contacts), but solved the big problem (phone not restarting).

Thanks for you time.

P.S.: will re-root the mini and act with more caution this time :)

wondering about something...

Ok so i know that the X10 mini and the X10 mini pro are basically the same unit. The only difference i know if is the actual keyboard on the pro (which i have myself) but is there any software differences i need to be aware of or can i use the same exploid package as listed above on the mini pro too?

I'd love to root my phone to get rid of the crap that the providers stuff in on it (crappy demo games and the like) but i would hate to do something wrong with it since i am really a n00b at this.

So ok to proceed with the above exploid on the mini pro or do i need a more specific package to it?

When I run this

When I run this command
C:\x10mini\exploid_x10mini>adb push Superuser.apk /sdcard/Superuser.apk

I get "Error: device not found"

any ideas?

x10 mini pro

it works also on X10 mini pro as is

sweet

thanks for the quick answer :)

newbie friendly version of these steps

Guys I have taken these steps and added newbie-friendly extras to help those who have got stuck!

http://xperiaminipro.blogspot.com/2010/08/how-to-root-your-mini-mini-pro...

Good luck!

BRILLIANT GUIDE!!!

Thanks so much for simplifying the guide for this of us who aren't so technically competent

Thanks from France

It's ok for me on a x10 mini. Thanks a lot !
I've root the phone and uninstall default applications with Root Manager.
Now, how can we install application on the micro sd card ?
Great job !

Here this is full tutorial from Vietnamese - http://izload.net

All guys cannot hack your phone X10mini or mini pro can visit here . Use translator toolbar at bottom page to translate to English if you want :). This tutorial is full and working 100% correctly for all case.
http://izload.net/forum/threads/2076-Huong-dan-hack-root-Sony-X10-Mini-M...

xperia x10i uk generic

Worked here on my xperia x10 perfectly on the latest 026 firmware. The easiest way to root!

Tyvm.

Acces denied

I have a mini xperia and I just run the commands I have found on this site. I would say that everything happens
very well but it crashes when the audit has consistently refused access ...

Verification:
When you run the adb shell again and issue su command, the Superuser.apk will run on the phone and will ask whether to allow root permissions...

"""Permissions denied""

You indicate that you have to put in "charging mode"? Does it make a report? if so, that means charging mode?

Thank

I have the same problem.

I have the same problem. Everything seems to go ok following the steps, but when I try with "su" I get "Permission denied". The Superuser.apk doesn't ask me for authorization, allthought it is installed (I can see it in apps menu)

do i extract the file in my

do i extract the file in my phone sd card before i do the cmd??

Hi, update procedure seems to

Hi, update procedure seems to work fine, even the check (triggering the prompt on the x10 mini) works as predicted. When I reboot phone, it still boots into 1.6. I checked the /system/bin/ and /system/app/ directories after 'rooting', and they showed the resent Superuser.apk, su and busybox files.

This is a Dutch Vodafone (locked) phone. Might this be the reaseon?

Thanks.

Ubuntu

noob wonder if i can i do the stuff on a ubuntu maskin??

Can it be removed easily.

Can i remove it. Also does it stop any updates from SE

you can remove it, just run

you can remove it, just run update manager from SE. about the updates I dont know though, but I just removed and redid so I know that works =)

Newbie. need help in rooting x10 mini pro

Hi! I'm quite new to android phones and using an Android SDK. And I find it hard to understand the instructions. Could somebody give out a complete step by step guide in rooting my SE Xperia X10 Mini Pro from using/installing the Android SDK and what to do with it, upto the last step?

I would really appreciate the help! Thanks!

Thanks

First of all thanks for this.
This also working on Mini Pro.

I'm creating single click root on X10 Mini pro.
Until Enter password all working well after this i can't enter pass.
So,Please remove the password.

Thanks in advance.

Finished, almost...

I've gone through all the stages and everything seemed to go ok.

I'm at the last stage and I've run the adb shell once again but I'm not sure what is meant by the "su command"...do I simply type in "su" and enter the command; because it's showing as unrecognised when I do that.

What does it mean?