Labels:
Sony,
Xperia Tablet S 3G
I Rooted my New SONY XPERIA TABLET S SGPT121US ICS 4.0.3
Guide to Root your Xperia Tablet S!! ATTENTION: I am not responsible if you brick or damage your device, use at your OWN RISK!!
Files you need:
All in one Xperia Tablet root.zip
OR
ADB Tools
SonyTabletICS-2.zip
Superuser-3.1.3-arm-signed.zip
VpnFaker.apk (Attachment)
ATTENTION: For those who are not using the US firmware, the attached VpnFaker.apk may not be suitable for your tablet.
Please follow these steps(click me) to resign the VpnFaker.apk. Thanks to WonderEkin
***Pls Execute the command line by line***
Unzip those files into a dir, Open cmd console, cd to that dir
Run the following command and press Restore on your tablet
Check the resultadb restore settings.ab
And continue, ignore the "rm -r a" permission denied erroradb shell ls -ld /data/data/com.android.settings/a drwxrwxrwx system system a
While the loop is running, open another cmd console and runadb shell cd /data/data/com.android.settings rm -r a while : ; do ln -s /data a/file99; done
Once the restore process is completed, you can press CTRL+C on the 1st cmd console to break the loopadb restore settings.ab
Check the /data permission
Then continueadb shell ls -ld /data drwxrwxrwx system system data
Push the resigned VpnFaker.apk(resign by ZipSigner 2) and update the timestampadb push busybox /data/local/tmp adb push rootkit.tar.gz /data/local/tmp adb push Superuser.apk /data/local/tmp adb push su /data/local/tmp adb shell cd /data/local/tmp chmod 755 busybox ./busybox tar zxf rootkit.tar.gz exit
Now, replace the VpnDialogs (ignore "cp: can't open 'system/xxxxxxx': Permission denied" while you execute "/data/local/tmp/busybox cp -r system system2")adb push VpnFaker.apk /data/local/tmp adb shell touch -t 1346025600 /data/local/tmp/VpnFaker.apk exit
Make sure the datatime is 2012/08/27 00:00adb shell cd /data /data/local/tmp/busybox cp -r system system2 /data/local/tmp/busybox find system2 -type f -exec chmod 666 {} \; /data/local/tmp/busybox find system2 -type d -exec chmod 777 {} \; mv system system- mv system2 system mv app app- mkdir app mv /data/local/tmp/VpnFaker.apk /data/app
Generate the packages.xmlTZ=0 ls -l /data/app -rw-r--r-- shell shell 198580 2012-08-27 00:00 VpnFaker.apk
And double check the result/data/local/tmp/busybox sed -f /data/local/tmp/packages.xml.sed system-/packages.xml > system/packages.xml
Exit adb shell and reboot, you should see something like "Android is updating" during startup./data/local/tmp/busybox grep vpndialogs system/packages.xml <updated-package name="com.android.vpndialogs" codepath="/system/app/VpnDialogs.apk" nativelibrarypath="/data/data/com.android.vpndialogs/lib" flags="1" ft="136f14be668" it="136f14be668" ut="136f14be668" version="15" shareduserid="1000"> <package name="com.android.vpndialogs" codepath="/data/app/VpnFaker.apk" nativelibrarypath="/data/data/com.android.vpndialogs/lib" flags="1" ft="1396560b400" it="1396560b400" ut="1396560b400" version="45" shareduserid="1000">
Start the injected Terminal Emulatorexit adb reboot
In Terminal Emulatoradb shell am start -n com.android.vpndialogs/.Term
Still in the Terminal Emulator, ignore the script errorid You should see the uid is 1000(system)
Check the uid is 2000(shell)/data/local/tmp/onload.sh /data/local/tmp/onload2.sh Now back to the cmd console Code: adb shell /dev/sh id
And
Check the root access uid 0(root)chown 0.0 /data/local/tmp/_su chmod 6755 /data/local/tmp/_su /data/local/tmp/_su id
Backup /system (you may just skip it)
Copy su & Superuser.apk to /systemdd if=/dev/block/mmcblk0p3 of=/mnt/sdcard/system.ext4 bs=128K
Check the /system _su is working or not/data/local/tmp/busybox mount -o rw,remount /system /data/local/tmp/busybox cp /data/local/tmp/_su /system/xbin chown 0.0 /system/xbin/_su chmod 6755 /system/xbin/_su /data/local/tmp/busybox cp /data/local/tmp/su /system/xbin chown 0.0 /system/xbin/su chmod 6755 /system/xbin/su /data/local/tmp/busybox cp /data/local/tmp/Superuser.apk /system/app /data/local/tmp/busybox mount -o ro,remount /system sync exit
Should be uid 0(root)_su id
And move the original /data/app & /data/system back (the original steps will keep the VpnFaker.apk, but i skip it)
Reboot your tabcd /data mv app app2 mv app- app mv system system2 mv system- system exit exit
Now, your Sony Xperia Tablet S ICS 4.0.3 should be rooted.adb reboot



0 comments:
Leave a Reply