I have a GSM SGN running stock ICS 4.04. Previously, unlocked the bootloader as verified by the bootloader screen. Used Wug
SA,
Many thanks for your time. Understand exactly what you want me to do. In ADB Shell, I am able to get into the sbin directory. However, not able to delete its su file. Used "adb shell rm -r/sbin/su" (and su.app) command with no luck. Also, I could not find an adb command for listing files in the directory.
Since I came from the era of DOS, tried to get into the "Galaxy Nexus" drive as shown on file explorer. Was hoping to get at it from there. No luck. Appreciate the time you have taken.
SA,
I did what you asked; found that the directory did not mount - when using a "space" between the commands and modifiers (mount -o), I got a return of usage info vice rootfs / rootfs rw,relatime 0 0. I tried not using a space before the options and got a mount not found.
Also, I got files not found for the listing commands (assume that because the directory did not mount.
Greatly appreciate your time; don't feel in a rush for my issue.
Best wishes - jlt1112
C:\Users\Scary Alien>
C:\Users\Scary Alien>[COLOR="Blue"][B]adb shell[/B][/COLOR]
root@android:/ # [COLOR="Blue"][B]su[/B][/COLOR]
su
root@android:/ # [COLOR="blue"][B]ls -a -l -d /sbin[/B][/COLOR]
ls -a -l -d /sbin
[COLOR="Red"]drwxrwxr-x system system 2012-04-16 19:46 sbin[/COLOR]
root@android:/ # [COLOR="blue"][B]ls -a -l /sbin/su[/B][/COLOR]
ls -a -l /sbin/su
/sbin/su: No such file or directory
1|root@android:/ # [COLOR="blue"][B]mount[/B][/COLOR]
mount
[COLOR="red"]rootfs / rootfs ro,relatime 0 0[/COLOR]
[COLOR="Purple"]<snip>[/COLOR]
root@android:/ # [COLOR="blue"][B]mount -o remount,rw -t rootfs rootfs /[/B][/COLOR]
mount -o remount,rw -t rootfs rootfs /
root@android:/ # [COLOR="blue"][B]mount[/B][/COLOR]
mount
[COLOR="red"]rootfs / rootfs [COLOR="Blue"]rw[/COLOR],relatime 0 0[/COLOR]
[COLOR="purple"]<snip>[/COLOR]
root@android:/ # [COLOR="blue"][B]cd /sbin[/B][/COLOR]
cd /sbin
root@android:/sbin # [COLOR="blue"][B]mv su old-stupid-su[/B][/COLOR]
mv su old-stupid-su
failed on 'su' - No such file or directory
255|root@android:/sbin #
SA,
I was able to successfully list the following: system/bin/su and the following directories: /sbin /vendor/bin /system/sbin /system/bin /system/xbin. I was bit able to find su in any of the other directories than one it is suppose to be in.
I didn't go any further since I couldn't find any more "SU's".
Should I delete that file and try to root the phone again? If so given I am on ICS 4.04, which rooting strategy should I use?
Again many thanks for your time!
SA,
See attached:
Sorry for the delay.
SA,
Really appreciate your sticking with me.
Current root and mount status: system mounted as ready only. /(roots): mounted as read-write.
su: present/properly secured.
Superuser.apk: present
busybox not present
saved root: not present
Device appears to have root.
When I identify current recovery, application does not respond and then asked me to close.
Confirms what you been thinking. Your app is beautifully written; very impressive.
Went to uninstall SU via Apps in Settings; could not because it was loaded via the rooting process vice a download from the app store. All I can do is to stop process and disable. Went to the app store and it shows installed - no luck for a reinstall.
My intent sometime today is to try to rename it as you tried to have me do for \sbin. If I can't do that, then guess I should try to wipe and reload another ROM. Whether I am successful or not, I have really learned a lot and appreciate all your help!
SA,
Good by me - when you have time, send me the guide.
Best wishes!
SA,
Good news - your program shows I have root and I was able to check other things. It seems that I had the wrong SU .... before your program executed, SU requested permission for it to do its job.
I can't thank you enough for all the time you have spent with me. I hope you gained something from this too. My very best wishes!
Joe
Scary Alien,
I seem to have found myself in the same boat as Jlt1112 and have yet to find my way out. I ran the same codes in terminal and they are the exact same as his. I then tried to install the new su.zip to no avail. I'm also having the same issues with busybox, and when I ran your app, it came back the exact same as his as well. Any help would be appreciated. Oh and I left my iphone for this galaxy nexus 3 days ago.... Complete Noob.
Thanks!!!!!
Thanks for the response! I am actually on 4.1.1. I tried rooting using a combination of a few out of date methods, I then found a random post about updating the su.zip. I then flashed the one you pointed to, but nothing, actually when I try and flash, it tells me on the clkmod that I may loose root, so I hit yes to apply update from sdcard. And nothing! So here I am partially rooted and no idea what to flash or if I need to start over?