5,814,797 Members 51,096 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Help ADB shell while in SafeStrap

Tip us?
 
CapinWinky
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 24
Join Date: Mar 2011
Question [Q] Help ADB shell while in SafeStrap

Like a lot of people, I rooted, busyboxed and installed SafeStrap. Unfortunately, I can't boot anymore, the best I can do is get into SafeStrap or recovery. I know I can manually remove safestrap using adb shell.

When I try to run adb shell while in SafeStrap, I get this:

Code:
CANNOT LINK EXECUTABLE: could not load library "libc.so" needed by "/sbin/sh"; caused by library "libc.so" not found
If I'm in actual recovery, adb devices does not list the phone.

Someone please help me get into ADB shell so I can dump SafeStrap!
 
k1mu
Old
#2  
k1mu's Avatar
Recognized Contributor
Thanks Meter 1,551
Posts: 1,908
Join Date: Apr 2011
Location: Virginia

 
DONATE TO ME
Quote:
Originally Posted by CapinWinky View Post
Like a lot of people, I rooted, busyboxed and installed SafeStrap. Unfortunately, I can't boot anymore, the best I can do is get into SafeStrap or recovery. I know I can manually remove safestrap using adb shell.

When I try to run adb shell while in SafeStrap, I get this:

Code:
CANNOT LINK EXECUTABLE: could not load library "libc.so" needed by "/sbin/sh"; caused by library "libc.so" not found
If I'm in actual recovery, adb devices does not list the phone.

Someone please help me get into ADB shell so I can dump SafeStrap!
Try "adb shell /system/bin/sh"

Something's not right, as there's no "/sbin/sh" file on my *stock* SGS4.

However. Removing Safestrap will probably just brick your phone. What build, bootloader, etc?
My Android devices:
vzw Samsung Galaxy S4 stock NC5 rooted
Samsung Galaxy Tab 2 10.1, also stock but rooted.

VZ Droid Incredible 2 rooted but otherwise stock.
Samsung Galaxy Tab 10.1
 
CapinWinky
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 24
Join Date: Mar 2011
I'm NC5. I rooted with towelroot. Everything was actually working fine for several days, then I let the battery die and now I can't get past SafeStrap. I tried your suggestion trying to launch ADB shell and it returned the same error.

When I run ADB devices while in safestrap, it returns as being in recovery. I can also get it into sideload mode in the stock recovery. It is not detected when rebooted into Download.

At this point, I would be happy to completely factory reset with ODIN if that's even possible. I'm not familiar with ODIN, so I'm trying to read up.
Tags
adb, libc, safestrap
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes