Basically this is the same steps as on x10 mini pro explained here, but it needs a different tool root exploit name as rageagainstthecage created by 743C found somewhere around the net. The original tool I found was packaged in zip and contains the exploit tools and the su binary and also Superuser.apk for controlling the superuser access on the device, but unfortunately the su binary is somehow corrupted or compiled with different x8 original glibc or whatever and it won’t work like it should and I have to replace the binary su from x10 exploit. Repackage them again, and here is the working tools, extract them to some location. I assume you already have android software development kit installed on your linux box and if not grab’em first from here, and make sure once again the installed android SDK is already on your system path before continuing.
It’s time to do some linux command, and here is the complete steps I do on my friend xperia x8 :
{code}[root@jfklixs-domain exploid_x8]# cd /home/jfdesign/project/android/exploid_x8
[root@jfklixs-domain exploid_x8]# adb push rageagainstthecage /data/local/tmp/rageagainstthecage
107 KB/s (5392 bytes in 0.049s)
[root@jfklixs-domain exploid_x8]# adb push su /data/local/tmp/su
191 KB/s (22120 bytes in 0.112s)
[root@jfklixs-domain exploid_x8]# adb push Superuser.apk /data/local/tmp/Superuser.apk
516 KB/s (38823 bytes in 0.073s)
[root@jfklixs-domain exploid_x8]# adb shell
$ cd /data/local/tmp
$ chmod 775 rageagainstthecage
$ ./rageagainstthecage
[*] CVE-2010-EASY Android local root exploit (C) 2010 by 743C
[*] checking NPROC limit …
[+] RLIMIT_NPROC={1728, 1728}
[*] Searching for adb …
[+] Found adb as PID 1114
[*] Spawning children. Dont type anything and wait for reset!
[*]
[*] If you like what we are doing you can send us PayPal money to
[*] [email protected] so we can compensate time, effort and HW costs.
[*] If you are a company and feel like you profit from our work,
[*] we also accept donations > 1000 USD!
[*]
[*] adb connection will be reset. restart adb server on desktop and re-login.
${/code}
{code}[root@jfklixs-domain exploid_x8]# adb shell
# cd /data/local/tmp
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system
# cat su > /system/bin/su
# cat Superuser.apk > /system/app/Superuser.apk
# rm /system/app/superuser.apk
# chmod 06777 /system/bin/su
# chmod 777 /system/app/Superuser.apk
# reboot{/code}
Good luck then and have fun.
Share this with your friends own xperia-x8 :