I have a Sony Ericsson Xperia X8 with Android 2.1-update1 and I need a quick easy way to get root access so I can boot it through a custom ROM me and a friend have been working on (the custom ROM is like Gingerbread (Android 2.3), but with a different UI so that it's compatible with my phone)
migrated from superuser.com Jan 16 '11 at 15:16
This question came from our site for computer enthusiasts and power users.
Taken from here: http://forum.xda-developers.com/showthread.php?t=811457
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 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):
Immediately after the next command, you will need to disable and enable the wi-fi using the power widget on the phone:
Prompt will change to
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...