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

Search This thread

extrememonkey

Senior Member
Oct 13, 2010
341
57
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 **
 

norberto_

Senior Member
Jun 16, 2010
174
32
turn off all viruskillers and firewalls.
maybe one of those blocking tha adb.
just an idea
 

recyclebin

Member
Mar 20, 2005
6
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
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
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
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 :/
 

thomas.raines

Recognized Developer
Jun 23, 2011
2,200
3,914
Hutto
I finally got adb to work long enough to root the tab, but now it doesn't. Just says error device not found... Any ideas.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    How do I connect Sony Tablet with adb protocol through USB?

    Windows (Windows XP, Vista and 7)

    Please install SDK and setup USB as described in Google Android SDK site
    http://developer.android.com/sdk/installing.html
    http://developer.android.com/sdk/win-usb.html

    In order to connect Sony Tablet S and P, please follow below procedure.

    Turn on "USB debugging" in Sony Tablet S and P
    Put following device descriptions into each sections [Google.NTx86] and [Google.NTamd64] in extras\google\usb_driver\android_winusb.inf.

    ;SONY Sony Tablet P
    %CompositeAdbInterface% = USB_Install, USB\VID_054C&PID_04D2&MI_01

    ;SONY Sony Tablet S
    %CompositeAdbInterface% = USB_Install, USB\VID_054C&PID_05B4&MI_01



    Please add 0x54c into .android/adb_usb.ini file under HOME directory by using following command from command prompt.

    echo 0x54c >> %HOMEPATH%\.android\adb_usb.ini


    --------------------------------------------------------------------------
    Linux (Ubuntu 11.04)

    Please install SDK and setup USB as described in Google Android SDK site
    http://developer.android.com/sdk/installing.html
    http://developer.android.com/guide/d...tml#setting-up


    In order to connect Sony Tablet S and P, please follow below procedure.

    Turn on "USB debugging" in Sony Tablet S and P
    Please utilize 0x54c as USB Vendor ID on creating new udev rule file(51-android.rules).
    Please add 0x54c into .android/adb_usb.ini file under HOME directory by using following command from shell prompt.

    echo "0x54c" >> $HOME/.android/adb_usb.ini


    -------------------------------------------------------------------------------
    Mac (Mac OS X 10.6.8)

    Please install SDK and setup USB as described in Google Android SDK site
    http://developer.android.com/sdk/installing.html
    http://developer.android.com/guide/d...tml#setting-up


    In order to connect Sony Tablet S and P, please follow below procedure.

    Turn on "USB debugging" in Sony Tablet S and P
    Please add 0x54c into .android/adb_usb.ini file under HOME directory by using following command from shell prompt.

    echo "0x54c" >> $HOME/.android/adb_usb.ini
    1
    I can't install the driver on Windows 7 64-bit.
    It wants 64-bit driver.

    Windows7, Windows Vista and Windows XP -

    Install the Google Android SDK and USB driver as described at the following Google Android SDK sites:
    Installing the Google Android SDK - http://developer.android.com/sdk/installing.html
    Google USB Driver - http://developer.android.com/sdk/win-usb.html
    Once the Google Android SDK and Google USB Driver are installed, open the android_winsub.inf file and copy the the following descriptions into the [Google.NTx86] and [Google.NTamd64] sections of the extras\google\usb_driver\android_winusb.inf file:
    ;SONY Sony Tablet P
    %CompositeAdbInterface% = USB_Install, USB\VID_054C&PID_04D2&MI_01
    ;SONY Sony Tablet S
    %CompositeAdbInterface% = USB_Install, USB\VID_054C&PID_05B4&MI_01

    Work fine on my windows seven x64..!.
    1
    Works fine now too.
    Don't know what my problem was.:confused:

    me either! but I'm happy for you that it works now !. :D
    1
    Please add 0x54c into .android/adb_usb.ini file under HOME directory by using following command from command prompt.

    echo 0x54c >> %HOMEPATH%\.android\adb_usb.ini

    This one has me baffled.I'm a noob with this stuff.I did the rest without any problems (I think) ,just not sure which way to insert this into the cmd prompt.My file is in C:\Users\Vinny\android.

    Cheers Vinny

    Yes in C:\Users\Vinny\.android folder should be a file:
    adb_usb.ini
    open this file or create if it not extsist as a text file and write
    0x54c
    ito the file. Save it
    restart your pc and you should have adb.