FORUMS

[Q] Help ADB shell while in SafeStrap

24 posts
Thanks Meter: 0
 
By CapinWinky, Junior Member on 7th August 2014, 06:47 PM
Post Reply Subscribe to Thread Email Thread
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!
 
 
8th August 2014, 12:01 AM |#2  
k1mu's Avatar
Recognized Contributor
Flag Virginia
Thanks Meter: 1,604
 
Donate to Me
More
Quote:
Originally Posted by CapinWinky

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?
8th August 2014, 02:27 PM |#3  
OP Junior Member
Thanks Meter: 0
 
More
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.
25th September 2014, 10:35 PM |#4  
Junior Member
Thanks Meter: 0
 
More
While in Safestrap (I'm using v3.72 on a Galaxy S4 NB1), go to Mount -> Select "System". After mounting the system partition, I was then able to adb shell into the device like normal.

NOTE: One difference in adb that I noticed was that I lost my adb shell root access in Safestrap mode (even tho the device was rooted beforehand). Might be something with SELinux.

HTH.
Post Reply Subscribe to Thread

Tags
adb, libc, safestrap
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes