[Guide] Enabling ADB protocol through USB for Sony Tablet S [Win | OS X | Linux]

extrememonkey

Senior Member
Oct 13, 2010
341
57
0
Have you got the tablet connected ?.If so try running it first without the tablet.
With the tablet disconnected it list devices (obviousl none listed)

as soon as I connect the tablet it does the below error

* daemon not running. starting it now on port 5037 *
* daemon started succesfully *
** daemon still not runnningerror. cannot connect to daemon **
 

recyclebin

Member
Mar 20, 2005
6
0
0
failed....

failed..

SGPT111CN/S
Android 3.2.1 (release2)
Version: THMAS0242400

[*] Waiting for device...
* daemon not running. starting it now *
* daemon started successfully *
[*] Device found.
[*] Pushing log flooder to device...
5 KB/s (0 bytes in 5382.001s)
[*] Preparing to append to packages.list...
[*] Rebooting device...
[*] Waiting for tablet to reboot.
[*] Attempting to move system package library directory...
[-] Could not find system package.
run-as: Package 'com.pwn.me' is unknown
[*] If you received any errors in the previous step, abort the exploit
[*] and try again. Otherwise, press any key to continue.

..
 

Ilmoran

Senior Member
Sep 4, 2010
50
4
0
failed..

SGPT111CN/S
Android 3.2.1 (release2)
Version: THMAS0242400

[*] Waiting for device...
* daemon not running. starting it now *
* daemon started successfully *
[*] Device found.
[*] Pushing log flooder to device...
5 KB/s (0 bytes in 5382.001s)
[*] Preparing to append to packages.list...
[*] Rebooting device...
[*] Waiting for tablet to reboot.
[*] Attempting to move system package library directory...
[-] Could not find system package.
run-as: Package 'com.pwn.me' is unknown
[*] If you received any errors in the previous step, abort the exploit
[*] and try again. Otherwise, press any key to continue.

..
There are two options from the Root Method thread that should help you (either one seems to work for the same issue):

Method 1:

I was getting the "run-as: Package 'com.pwn.me' is unknown" error at first. What I did was disable the "Sony Tablet S" in the Windows Device Manager so that it would no longer ask me if I wanted to transfer files. I also turned off my antivirus software. I don't know if those two things fixed it but I no longer receive that error. However, like I previously posted, I still get the "remount failed" error.
Thanks, this helped with the com.pwn.me issue, but now I'm getting the same error message as you.

Code:
[*] Attemping persistence...
remount failed: Operation not permitted
Edit:
SOLVED IT!
disabled Tablet S in the device manager, ran the exploit, and enabled the Tablet S again in the device manager after the first reboot. Then the remount succeeded and everything went fine. Tablet rooted.
I was getting the same "com.pwn.me" package unknown issue, and this worked for me! Thanks guys.

For anyone else getting the com.pwn.me error, try this. Just to be clear, you want the Sony Tablet disabled in Device Manager (it was under Portable Devices for me) during the first part of the exploit. Once it pauses and says "If you received any errors in the previous step, abort the exploit and try again." re-enable the Sony Tablet in Device Manager, and then resume the root process (be sure to give time for the Tablet to be re-enabled; it took 15-20 seconds for me).

Method 2:

It was cbuckmiller. He deserves credit as he has helped out a number of us with this issue. Here's what he said to me and how I finally got it working.

"I never post stuff on here so they wont let me post this on the dev section.
I was having the same problems as you. I did notice that when I plugged in my tablet it was recognizing two devices, Sony tablet and MTP. I associated the adb driver with the one that said Sony Tablet and left the MTP alone.
I kept having the same problems that you were having. I eventually looked for the MTP driver. I found it here on this site. http://android.mrboot.de/index.php?/archives/6-Sony-Tablet-S-MTP-driver-for-3G-version.html
After installing that driver, the root process worked. I did notice that when it was saying rebooting, it wouldn't continue on until after the tablet had loaded the launcher.
So yeah, try that out and see if that works.
Maybe share this info too for the others."

It's frustrating that a driver issue would cause all those problems because ADB was working fine with my Tablet, but there was still another driver needed for everything to function properly. I installed the Sony driver as stated and the Sony driver for the MTP device from the website and then rebooted and it worked properly. AHHH Windows! Anyway I sent my donation and am keeping tabs on everyone on my bounty thread. Thanks djrbliss!
 

Meelouw

Senior Member
Dec 6, 2010
145
16
38
Fail ...

Hey !

i have some problem to active ADB.

I have try with 2 pc, one with windows 7 et other with Windows Vista.

First i have install JDK and JRE, after i have install SDK and with SDK i have install USB Driver et platform-tools.

I modified android_usb.inf in extra/... and adb_usb in /.android

and ... nothing ! ADB run but i don't see my tablet ...

i think that it's because driver for tablet is not ... i can navigate in files with explorer and nothing. In device manager i have a "!" with my tablet.

So i have test script of BluechipJ and ... the same :/

any issues ?

/e it's good ! i have don't use the good method to install driver and now, it's ok :)

thank BlueChipJ for your video ;)
 
Last edited:

Meelouw

Senior Member
Dec 6, 2010
145
16
38
Do you can use "adb remount" or "adb root" ? because, fail for me. "adb devices" or "adb pull" run for me but i can't remount system :/