• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Lost root? How do I fox this problem?

bdg49089

Lurker
Everything was working fine until yesterday. Started getting "x has been denied superuser permissions" messages. Ran both gingerbreak again and also the newer eman rooter. Here is the dump from root checker:

Superuser Application Status:
Superuser application - version 3.0.7 - is installed!

System File Properties for Root Access:
Standard Location
Check Command: ls -l /system/bin/su:
Result: -rwsr-sr-x 1 root root 22364 Aug 1 2008 /system/bin/su
Analysis: Setuid attribute present and root user ownership present. Root access is correctly configured for this file! Executing this file can grant root access!

Alternative Location
Check Command: ls -l /sbin/su:
Result: ls: /sbin/su: Permission denied
Analysis: File system permissions restricted and denied access.

Alternative Location
Check Command: ls -l /system/xbin/sudo:
Result: ls: /system/xbin/sudo: No such file or directory
Analysis: File /system/xbin/sudo does not exist.

Standard Location
Check Command: ls -l /system/xbin/su:
Result: lrwxrwxrwx 1 root root 14 Jun 16 18:13 /system/xbin/su -> /system/bin/su
Analysis: File: /system/xbin/su is a symbolic link pointing to another file: /system/bin/su

Root User ID and Group ID Status:
SU binary not found or not operating properly

System Environment PATH: /sbin /vendor/bin /system/sbin /system/bin /system/xbin

ADB Shell Default User:
ADB shell setting for standard access, stored in default.prop, is configured as: root user - ro.secure=0

Rom is mirage 09292013. Any advice appreciated.
 
Just flash the newest MiRaGe ROM and the 20110828 gapps from your custom recovery, making sure you wipe and format everything but the SD card.
If you need help, just ask.

PS: The location of the su can be found in only one location not two. Either it's in /system/bin or it's in /system/xbin
The location in all Gingerbread ROMs is /system/xbin. The Gingerbreak.apk installs su to the /system/bin location.
You did lose root it seems, then gained it back with the Gingerbreak.apk.
 
I know this thread is stale, but wanted to point out the issue in case someone else runs into the same problem... the problem is the su located in /sbin.
the PATH makes the system use the /sbin/su instead of /system/bin/su, and the one in /sbin is messed up.
since there is a good one in /system/bin, you can most likely use terminal to get rid of the bunk copy...
start terminal
Code:
cd /
./system/bin/su
rm -f /sbin/su
should work.
if not,
Code:
adb kill-server
adb root
might allow a root prompt, from which you can do the rm as well.
 
Back
Top Bottom