[obsolete - use ALLinONE tool] Sony Tablet S Root v1.1

Search This thread

thomas.raines

Recognized Developer
Jun 23, 2011
2,200
3,914
Hutto
Cannot Root...

My device was rooted, but in the midst of creating a custom recovery, I bricked it and had to restore from update (thank god I modded the build.prop). Well, now that I ran the update, I lost root, and when I try to run this Root-Tool, I get errors. Here is the output:
Code:
[*]
[*] MTP driver has been disabled.
[*] Device found.
[*] Pushing log flooder to device...
336 KB/s (5382 bytes in 0.015s)
[*] Preparing to append to packages.list...
link failed File exists
[*] Rebooting device...
[*] Waiting for tablet to reboot...... (~20s)
[*] Attempting to move system package library directory...
[+] System package com.google.android.location has uid 10028
[+] Flooding log...
run-as: Package 'com.pwn.me' is unknown
rm failed for /log/AndroidRadio.txt, Permission denied
[*] Rebooting device...
[*] Waiting for tablet to reboot...... (~40s)
[*] Attempting to insert fake local.prop entry...
link failed File exists
[+] Flooding log...
[*] Rebooting device...
[*] Waiting for tablet to reboot...... (~40s)
[*] Attemping persistence...
remount failed: Operation not permitted
failed to copy 'su' to '/system/bin/su': Read-only file system
Unable to chmod /system/bin/su: No such file or directory
failed to copy 'busybox' to '/system/xbin/busybox': Read-only file system
Unable to chmod /system/xbin/busybox: No such file or directory
/system/xbin/busybox: not found
failed to copy 'Superuser.apk' to '/system/app/Superuser.apk': Read-only file system
[*] Cleaning up...
failed on '/data/data/com.google.android.location/lib.bak' - Permission denied
[*] Rebooting...... (~35s)
[*] MTP driver has been enabled back.
[*] Exploit complete!
[*] Press any key to exit.

Sorry for the long post, but I wanted you to see what I do. I had issues installing the OTA RootKeeper (it kept FCing).

Any suggestions?
 

condi

Senior Member
Feb 13, 2007
744
989
Ostrów Wielkopolski
condiecu.pl
My device was rooted, but in the midst of creating a custom recovery, I bricked it and had to restore from update (thank god I modded the build.prop). Well, now that I ran the update, I lost root, and when I try to run this Root-Tool, I get errors. Here is the output:
Code:
[*]
[*] MTP driver has been disabled.
[*] Device found.
[*] Pushing log flooder to device...
336 KB/s (5382 bytes in 0.015s)
[*] Preparing to append to packages.list...
link failed File exists
[*] Rebooting device...
[*] Waiting for tablet to reboot...... (~20s)
[*] Attempting to move system package library directory...
[+] System package com.google.android.location has uid 10028
[+] Flooding log...
run-as: Package 'com.pwn.me' is unknown
rm failed for /log/AndroidRadio.txt, Permission denied
[*] Rebooting device...
[*] Waiting for tablet to reboot...... (~40s)
[*] Attempting to insert fake local.prop entry...
link failed File exists
[+] Flooding log...
[*] Rebooting device...
[*] Waiting for tablet to reboot...... (~40s)
[*] Attemping persistence...
remount failed: Operation not permitted
failed to copy 'su' to '/system/bin/su': Read-only file system
Unable to chmod /system/bin/su: No such file or directory
failed to copy 'busybox' to '/system/xbin/busybox': Read-only file system
Unable to chmod /system/xbin/busybox: No such file or directory
/system/xbin/busybox: not found
failed to copy 'Superuser.apk' to '/system/app/Superuser.apk': Read-only file system
[*] Cleaning up...
failed on '/data/data/com.google.android.location/lib.bak' - Permission denied
[*] Rebooting...... (~35s)
[*] MTP driver has been enabled back.
[*] Exploit complete!
[*] Press any key to exit.

Sorry for the long post, but I wanted you to see what I do. I had issues installing the OTA RootKeeper (it kept FCing).

Any suggestions?

Hmm... you are first user, who has problem with root. Maybe its related with your adb server problems? (i've read somewhere that you had to kill and rerun adb manually).
 

Judah001

Senior Member
Dec 19, 2011
116
17
Can someone please post a tutorial?

To my understanding the process is the same as djrbliss but a few errors that people were having were fixed in condi’s method. Your best googleing a YouTube video if you are looking for a root tutorial. All you need to do is unzip the file on your desktop and make sure you have adb access when plugged in. Then all you have to do is click the run.bat file and root should be applied.

Try one of these videos
http://www.youtube.com/watch?v=O_UiE3_6IU0
http://www.youtube.com/watch?v=ijVP-uE_yIU
 
Last edited:

thomas.raines

Recognized Developer
Jun 23, 2011
2,200
3,914
Hutto
Hmm... you are first user, who has problem with root. Maybe its related with your adb server problems? (i've read somewhere that you had to kill and rerun adb manually).

It is my adb/computer... I uninstalled it and now am reinstalling everything... Hopefully that fixes it... If not, I will try rewriting it in shell and run it for terminal on device...
 

condi

Senior Member
Feb 13, 2007
744
989
Ostrów Wielkopolski
condiecu.pl
It is my adb/computer... I uninstalled it and now am reinstalling everything... Hopefully that fixes it... If not, I will try rewriting it in shell and run it for terminal on device...

yes, ok, and after you will reinstall everything - connect tab to pc, go to device manager - point on sony tab mtp device and uninstall it - CHECK uninstall files also!, then replug it, wait till windows install drivers, click right - update drivers, choose manual, from disc, and point to MTP driver which is included in root tool.

Its very important. I had the same issue with com.pwn.me and drivers,
and this helped me also.

br
condi
 

thomas.raines

Recognized Developer
Jun 23, 2011
2,200
3,914
Hutto
yes, ok, and after you will reinstall everything - connect tab to pc, go to device manager - point on sony tab mtp device and uninstall it - CHECK uninstall files also!, then replug it, wait till windows install drivers, click right - update drivers, choose manual, from disc, and point to MTP driver which is included in root tool.

Its very important. I had the same issue with com.pwn.me and drivers,
and this helped me also.

br
condi

Nope, didn't work. ADB works fine on my phone, but with the tab, I started typing in random things like crap, screw you, youre an a hole, etc, and kept getting : permission denied. When I should ahve gotten :not found... It has to be something with in the device, and I cannot flash an update, because since it isn't rooted, I cannot mod the build.prop. It's looking like my DEVing days on this device might be over... Well, unless we get ICS as promised...

Update
It's deffinitely something in the device. I am completely at a loss, and have no idea how to fix it. But I can say that the device is denying any attempt to access any files/folders in the rootfs via adb...
 
Last edited:

condi

Senior Member
Feb 13, 2007
744
989
Ostrów Wielkopolski
condiecu.pl
Nope, didn't work. ADB works fine on my phone, but with the tab, I started typing in random things like crap, screw you, youre an a hole, etc, and kept getting : permission denied. When I should ahve gotten :not found... It has to be something with in the device, and I cannot flash an update, because since it isn't rooted, I cannot mod the build.prop. It's looking like my DEVing days on this device might be over... Well, unless we get ICS as promised...

Update
It's deffinitely something in the device. I am completely at a loss, and have no idea how to fix it. But I can say that the device is denying any attempt to access any files/folders in the rootfs via adb...

Try to enter adb shell. And then try to run bins with full path, like:
Code:
/system/bin/ls -l /
/system/bin/mount
It should give you normal results, without permission thing.
Then try below commands, and after each one try to 'ls' or something else, to check if error is still there.
Code:
/system/bin/su
ls 

/system/xbin/su
ls

/system/bin/ash
ls

/system/xbin/busybox sh
ls

Post here results, your device can be deffinitely fixed.
 

thomas.raines

Recognized Developer
Jun 23, 2011
2,200
3,914
Hutto
Tried that on pc... same thing, permission denied
Tried it on terminal emulator and got could not find device error... The tab couldn't find itself...lol.
I think i need to reinstall the complete stock ROM that wary it will erase everything and start new and fresh...
Sent from my SGH-T959V using XDA App
 

condi

Senior Member
Feb 13, 2007
744
989
Ostrów Wielkopolski
condiecu.pl
Tried that on pc... same thing, permission denied
Tried it on terminal emulator and got could not find device error... The tab couldn't find itself...lol.
I think i need to reinstall the complete stock ROM that wary it will erase everything and start new and fresh...
Sent from my SGH-T959V using XDA App

have you wiped your device via recovery?
i had same problem as yours, permission denied with almost every command.

----
try 'adb usb' command, it will rerun adb service on your tab.
maybe then it will work
 
Last edited:

thomas.raines

Recognized Developer
Jun 23, 2011
2,200
3,914
Hutto
have you wiped your device via recovery?
i had same problem as yours, permission denied with almost every command.

----
try 'adb usb' command, it will rerun adb service on your tab.
maybe then it will work

Did you mean data/factory reset? Yes, did that...
Tried the adb usb command and got error: device not found...

If I run adb shell and /system/bin/sh mount -o remount rw /system I get operation not permitted
If I run /system/bin/sh chmod 777 /system/bin I get can't oopen chmod
I tried typing /system/bin/sh; chmod 777 /system/bin then /system/bin/sh; mount -o remount rw /systemand it seemed to work but when I ran the root toool, I got same results... permission denied

I starting to think /system/bin is corrupt
 
Last edited:

condi

Senior Member
Feb 13, 2007
744
989
Ostrów Wielkopolski
condiecu.pl
Did you mean data/factory reset? Yes, did that...
Tried the adb usb command and got error: device not found...

If I run adb shell and /system/bin/sh mount -o remount rw /system I get operation not permitted
If I run /system/bin/sh chmod 777 /system/bin I get can't oopen chmod
I tried typing /system/bin/sh; chmod 777 /system/bin then /system/bin/sh; mount -o remount rw /systemand it seemed to work but when I ran the root toool, I got same results... permission denied

I starting to think /system/bin is corrupt

!! Important !!

'mount -o remount rw /system' will not work on sony tab!
instead of it use:
Code:
mount -o rw,remount -t ext4 /dev/block/mmcblk0p2 /system
 

obicom

Senior Member
Nov 9, 2010
283
81
Cologne
Hi Condi my friend,

I got the experience on a tab from another user, that this command neither works.
I was forced to use :

busybox mount -o rw,remount -t ext4 /dev/block/mmcblk0p2 /system

Don't ask my why, I was a little bit astonished, as you can imagine. :eek:
 
Last edited:

thomas.raines

Recognized Developer
Jun 23, 2011
2,200
3,914
Hutto
Nope, nothing is working. I need to figure out how to make a signed.zip with a script to replace the /system/bin directory and files. So far, every attempt that I have made has been unsucessful as I cannot pass the signature verification. Even after I get pass that, I still have to figure out if it uses amend or edify scripting (probably amend as it is far beyond elcaire...lol).

Does anyone here know how to sign a zip for this POS?
Otherwise, I won't be able to DEV until we get another update and hopefully that will flash the /system/bin and fix everything...
 

ld-runner

Senior Member
Dec 11, 2006
82
0
Canton
i have ADB working when tablet is is in debug mode.
i have MTP working when tablet is NOT in debug mode.

i run the batch file and nothing happens.

it just says * daemon started successfully *

i see a little icon of a phone appear down by my system clock, then after a few seconds after the batch file is running, it disappears.

then nothing.

---------- Post added at 09:17 AM ---------- Previous post was at 08:22 AM ----------

got it working!

had to manually create the adb_usb.ini

awesome! thanks dev
 

Top Liked Posts