How To Root Sony Xperia Tablet S (SGPT121 US Model)

Sony Xperia Tablet S (SGPT121) is one of the best tablets out there with a sharp-looking screen, high quality comfortable screen and it allows memory expansion. The tablet runs of Android Ice Cream Sandwich. If you would like to install latest custom-made firmware and make your Xperia tablet to run on Android Jelly Bean OS, then you should root your device.

If you are looking for a rooting tutorial, the following one will help you to root your device successfully.

WARNING: WE will not be held responsible for any damages that may or may not occur while following the tutorial given below. Use it at your won risk.

Prerequisites To Root Sony Xperia Tablet S (SGPT121 US Model):

Sony Xperia Tablet S

1) The first and foremost thing to do before rooting your device, backing up all the personal data’s safely to your computer or on a USB flash drive. If the rooting process didn’t go well and if you lose your personal data, then you can use this backup to restore your data successfully.

2) Uninstall all the anti-virus/anti-spyware applications in your Sony Xperia Tablet as they may cause some trouble while rooting.

3) Charge your device and make sure that the device has more than 80% battery backup.

4) Download Sony Xperia Tablet S USB driver and install it on your computer.

After finishing the prerequisites, we can move on to the original rooting process.

How To Root Sony Xperia Tablet S (SGPT121 US Model):

1) Download the files required for rooting from here and save it on your computer.

2) Once done connect your device with the computer and open the command console. In the command console, move to the directory in which you have saved the downloaded files.

3) Now run the command given below and at the same time press restore on your tablet.

adb restore settings.ab

4) Run the following command to check the result of your previous command.

adb shell ls -ld /data/data/
drwxrwxrwx system a

5) You will get the “rm -r a” permission denied error. Ignore it.

adb shell
cd /data/data/
rm -r a
while : ; do ln -s /data a/file99; done

6) While the command loop is running, open a new command console in your computer and run the following command.

adb restore settings.ab

7) You can also press they CTRL+C keys to break the loop on the 1st command console, once the restore process gets completed.

8) Now check the /data permission of your device.

adb shell ls -ld /data
drwxrwxrwx system data

9) After checking the permission, continue with the following command.

adb 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

10) Now push the VpnFaker.apk file and update time stamp.

adb push VpnFaker.apk /data/local/tmp
adb shell
touch -t 1346025600 /data/local/tmp/VpnFaker.apk

11) Once done, replace the VpnDialogs.

adb 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

12) During the process, you will get “cp: can’t open ‘system/xxxxxxx’: Permission denied” while you execute “/data/local/tmp/busybox cp -r system system2”. Just ignore the error.

13) Now you have to make sure that the data time is 2012/08/27 00:00.

TZ=0 ls -l /data/app
-rw-r–r– shell 198580 2012-08-27 00:00 VpnFaker.apk

14) After ensuring the data time, generate the package.xml

/data/local/tmp/busybox sed -f /data/local/tmp/packages.xml.sed system-/packages.xml > system/packages.xml

15) Once done, double-check the result.

/data/local/tmp/busybox grep vpndialogs system/packages.xml

16) After that, you can exit ADB shell and let your device reboot.

adb reboot

17) Upon rebooting you will see something like “Android is Updating.”

18) Now start the injected Terminal Emulator.

adb shell am start -n

19) In the Terminal emulator.

You should see the uid is 1000(system)

20) You should also ignore the script error in the terminal emulator.

Now back to the cmd console
adb shell

21) Now check the shell access UID is 2000(shell) and the root access UID 0(root).

chown 0.0 /data/local/tmp/_su
chmod 6755 /data/local/tmp/_su

22) Once done, backup /system

dd if=/dev/block/mmcblk0p3 of=/mnt/sdcard/system.ext4 bs=128K

23) Now copy su & Superuser.apk to /system

/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

24) Once done, check /system is working properly.


25) Also check root access uid is 0(root).

26) Now move the original /data/app & /data/system back to the device.

cd /data
mv app app2
mv app- app
mv system system2
mv system- system

27) To finish the process, reboot your Sony Xperia Tablet S.

adb reboot

Root Sony Xperia Tablet S SGPT121

That’s it. Now you have successfully rooted your Sony Xperia Tablet S (SGPT 121 US Model) device. If you have any queries regarding this tutorial, do let us know via comments.

Comments are closed.