Go Back   Android Forums > Android Phones > Samsung Galaxy Nexus > (International / GSM) Galaxy Nexus - All Things Root
Gamers - Check out our new sister sites!
Nintendo Wii U!    |    OUYA - $99 Android System!

Like Tree1Likes

 
 
LinkBack Thread Tools
Old April 29th, 2012, 10:01 PM  
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 12,559
 
Device(s): Galaxy Nexus, Nexus 7, Droid X, Droid Eris
Carrier: Verizon

Thanks: 15,693
Thanked 9,124 Times in 4,746 Posts
Default

Quote:
Originally Posted by PhinPhin View Post
Not that I would know, I only used your root-method, wich installs superroot?
Everything else was still the stock-rom

And the link was a google-search for a download... first hit... if it's only a driverpackage I obviosly haven't found it

Wasn't there a way to install the update while keeping the root?
Well, that's weird...simply having the root (/system/bin/su and /system/app/Superuser.apk) file present should not cause an OTA to fail to install.

What exactly did you see when it tried to install and when it failed? (if you can remember)

Can you do another check for system update?

The update.zip file (although its likely not named that way) is likely still / already present in your /cache directory, so it wouldn't need to be re-downloaded by the device.

scary alien is online now  
Sponsors
Old April 29th, 2012, 10:07 PM  
Junior Member
 
Join Date: Mar 2012
Posts: 25
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by scary alien View Post
Well, that's weird...simply having the root (/system/bin/su and /system/app/Superuser.apk) file present should not cause an OTA to fail to install.

What exactly did you see when it tried to install and when it failed? (if you can remember)

Can you do another check for system update?

The update.zip file (although its likely not named that way) is likely still / already present in your /cache directory, so it wouldn't need to be re-downloaded by the device.
it showed the green android lying with an open hatch an red x inside... waited 45minutes but nothing happend, then I pulled the battery out... did boot the normal way after that luckily.

Oh and manual check for updates under "settings - phone-info - systemupdates" doesn't show an update... it says the system is uptodate... still running 4.0.2

And /cache seems to be empty, if the "/cache" is the right directory that the ES File Explorer shows...
PhinPhin is offline  
Last edited by PhinPhin; April 29th, 2012 at 10:31 PM.
Old April 29th, 2012, 11:31 PM  
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 12,559
 
Device(s): Galaxy Nexus, Nexus 7, Droid X, Droid Eris
Carrier: Verizon

Thanks: 15,693
Thanked 9,124 Times in 4,746 Posts
Default

Quote:
Originally Posted by PhinPhin View Post
it showed the green android lying with an open hatch an red x inside... waited 45minutes but nothing happend, then I pulled the battery out... did boot the normal way after that luckily.

Oh and manual check for updates under "settings - phone-info - systemupdates" doesn't show an update... it says the system is uptodate... still running 4.0.2

And /cache seems to be empty, if the "/cache" is the right directory that the ES File Explorer shows...
Thanks!

Yeah, /cache is the right place, but not having the same model of phone or having it in-hand, I don't know for sure what the file would be called.

Here's a link that looks similar to your issue (no magic answers, though):

OTA update 4.0.2 to 4.0.4 update fails

Also, this thread: OTA to a newer build of 4.0.4 failed re-iterates that you need a stock recovery installed in order for the OTA to successfully apply.

Can you install my Android Root Toolkit app (free in the Market) and use the "Identify Current Recovery" function and let me know what it says?

Thanks!
scary alien is online now  
Last edited by scary alien; April 29th, 2012 at 11:39 PM.
Old April 29th, 2012, 11:44 PM  
Junior Member
 
Join Date: Mar 2012
Posts: 25
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by scary alien View Post
Thanks!

Yeah, /cache is the right place, but not having the same model of phone or having it in-hand, I don't know for sure what the file would be called.

Here's a link that looks similar to your issue (no magic answers, though):

OTA update 4.0.2 to 4.0.4 update fails

Also, this thread: OTA to a newer build of 4.0.4 failed re-iterates that you need a stock recovery installed in order for the OTA to successfully apply.

Can you install my Android Root Toolkit app (free in the Market) and use the "Identify Current Recovery" function and let me know what it says?

Thanks!
I can't I only get an error wich says I should try it later again if I try to download any app from the Store.... I hope the update killed not something important. Tried already the obvious stuff, uninstalled the Storeupdates, stopped it, cleared its cache... nothing. Phonerestart doesn't help, too... both on wifi and 3G/EDGE. Man, and I thought staying on the stockrom would keep me away from this crap...

Btw. sorry: its the android with the red triangle with an "!" in it. dunno why I thought it was a cross :P The Update begins normal (standing android with that moving thing) but then after 40% or so I get to see the fail-android. VolUp+VolDown+power also doesn't bring me to the recovery at this point
PhinPhin is offline  
Last edited by PhinPhin; April 30th, 2012 at 12:05 AM.
Old April 30th, 2012, 10:40 AM  
Junior Member
 
Join Date: Mar 2012
Posts: 25
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

Good news first, looks like that it was Google's fault... maybe the servers of the Store have been offline or so. No it works again.

First, here's a picture of the update-error-androidbot:




And here the Android Root Kit:



And I noticed how basic the stock-recoverymode is... :P
Attached Images
File Type: jpg AndroidError.jpg (37.7 KB, 140 views)
File Type: png androidroot.png (62.9 KB, 142 views)
PhinPhin is offline  
Old April 30th, 2012, 11:41 AM  
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 12,559
 
Device(s): Galaxy Nexus, Nexus 7, Droid X, Droid Eris
Carrier: Verizon

Thanks: 15,693
Thanked 9,124 Times in 4,746 Posts
Default

PhinPhin,

Okay, just to double-check, have you used the "Identify Current Recovery" feature to display which recovery you have installed (I'm expecting it to say its the stock 4.0.2 recovery, but it would be good to confirm)?

Lemme know .
scary alien is online now  
Old May 1st, 2012, 07:40 AM  
Junior Member
 
Join Date: Mar 2012
Posts: 25
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by scary alien View Post
PhinPhin,

Okay, just to double-check, have you used the "Identify Current Recovery" feature to display which recovery you have installed (I'm expecting it to say its the stock 4.0.2 recovery, but it would be good to confirm)?

Lemme know .
Sorry, forgot that Here:



Btw. looks like I can now install apps again, maybe it was a temp failure of the Google-servers... Update still fails, though.
Attached Images
File Type: png androidroot2.png (54.7 KB, 136 views)
PhinPhin is offline  
Old May 1st, 2012, 11:31 AM  
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 12,559
 
Device(s): Galaxy Nexus, Nexus 7, Droid X, Droid Eris
Carrier: Verizon

Thanks: 15,693
Thanked 9,124 Times in 4,746 Posts
Default

PhinPhin,

Yeah, I don't know now--since we've verified you've got the stock 4.0.2 recovery, there's no reason that I can discern for the OTA to fail...

I'm not sure what to tell you at this point...
scary alien is online now  
Old May 1st, 2012, 12:56 PM  
Junior Member
 
Join Date: Mar 2012
Posts: 25
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by scary alien View Post
PhinPhin,

Yeah, I don't know now--since we've verified you've got the stock 4.0.2 recovery, there's no reason that I can discern for the OTA to fail...

I'm not sure what to tell you at this point...
I'm so lucky I'm just too annoyed to again set the whole phone up by hand to make a hardreset...

I can't log the stuff going on on the phone while the update fails, or? Even not via USB (like oldschool-serialconsoles)?

EDIT: damn, now I noticed I replied in the wrong thread obviosly! I used the other method you mentioned here: Galaxy Nexus root / un-root without unlocking bootloader

Does that change anything?
PhinPhin is offline  
Last edited by PhinPhin; May 1st, 2012 at 01:06 PM. Reason: because I'm silly :D
Old May 1st, 2012, 02:09 PM  
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 12,559
 
Device(s): Galaxy Nexus, Nexus 7, Droid X, Droid Eris
Carrier: Verizon

Thanks: 15,693
Thanked 9,124 Times in 4,746 Posts
Default

Quote:
Originally Posted by PhinPhin View Post
I'm so lucky I'm just too annoyed to again set the whole phone up by hand to make a hardreset...

I can't log the stuff going on on the phone while the update fails, or? Even not via USB (like oldschool-serialconsoles)?

EDIT: damn, now I noticed I replied in the wrong thread obviosly! I used the other method you mentioned here: Galaxy Nexus root / un-root without unlocking bootloader

Does that change anything?
I don't know of any way to monitor the stock recovery while it tries to apply the OTA (there's no adb access from the stock recovery to hook into).

LOL--I knew / remember you from the other thread [its no big deal ].

Rooting via that method is very unintrusive--you're only inserting the su binary and the Superuser.apk file--nothing else. So, that should not interfere with you receiving or being able to successfully install an impending OTA.

If you do get another message about an update--tell it to install later, and then examine the file that was hopefully downloaded in your /cache partition. It should be a relatively small file (37MB or so) and we'd be able to examine the installation script inside it to see what its looking for.

Other than that, I'm not sure how to have you proceed (I'd suggest manually installing the OTA yourself, but I'm guessing you'd run into the very same issues that you already are...).
scary alien is online now  
Sponsors
Old May 1st, 2012, 02:21 PM  
Junior Member
 
Join Date: Mar 2012
Posts: 25
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by scary alien
Other than that, I'm not sure how to have you proceed (I'd suggest manually installing the OTA yourself, but I'm guessing you'd run into the very same issues that you already are...).
Okay, how I install it myself? The recovery is stock, so no choice for starting the update manually... or does the stock-recovery only shows the update-option if an *update*.zip is in /cache?
PhinPhin is offline  
Last edited by PhinPhin; May 1st, 2012 at 02:50 PM.
Old May 1st, 2012, 03:01 PM  
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 12,559
 
Device(s): Galaxy Nexus, Nexus 7, Droid X, Droid Eris
Carrier: Verizon

Thanks: 15,693
Thanked 9,124 Times in 4,746 Posts
Default

Quote:
Originally Posted by PhinPhin View Post
Okay, how I install it myself? The recovery is stock, so no choice for starting the update manually... or does the stock-recovery only shows the update-option if an *update*.zip is in /cache?
Its the stock recovery that does the update.

The update.zip file (won't actually be called that on download) contains a whole series of assert checks that verifies that your device is the right model, O/S version, and that the various key files on the system that it wants to patch are present and match what's expected.

Can you post a screenshot of your Settings -> About phone screen (i.e., not the phone number subscreen, but the one with the Android version, Baseband version, Kernel version, Build Number, etc.).
scary alien is online now  
Old May 1st, 2012, 09:01 PM  
Junior Member
 
Join Date: Mar 2012
Posts: 25
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

FINALLY I got the update into the phone... factoryreset + OTA didn't work, too:



succeded with fastboot... it didn't work earlier, maybe it was the USB3.0 port... connected to the USB2.0 port it worked. Gah...

Still funny, stock-rom + stock-OTA update failed... wtf...

now 4.0.4 runs... 80 apps to download (and many to configure, arg)
PhinPhin is offline  
Old May 1st, 2012, 09:36 PM  
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 12,559
 
Device(s): Galaxy Nexus, Nexus 7, Droid X, Droid Eris
Carrier: Verizon

Thanks: 15,693
Thanked 9,124 Times in 4,746 Posts
Default

Ah, so you are good now, right?

The status error 7 is a checksum failed issue-bad download (I believe)...so why don't they say that, LOL.

Good to hear you are finally on 4.0.4.

Cheers!
scary alien is online now  
Old May 1st, 2012, 10:17 PM  
Junior Member
 
Join Date: Mar 2012
Posts: 25
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

Yup, Thank you! :]

I just wonder why, even die manual downloaded file gave that error... can't be a broken file on their server, else everyone would had encountered that.... weird.
PhinPhin is offline  
Old May 5th, 2012, 08:30 AM  
Junior Member
 
Josefius's Avatar
 
Join Date: Jul 2010
Posts: 19
 
Device(s): Droid R2D2, Galaxy Nexus
Carrier: Not Provided

Thanks: 1
Thanked 2 Times in 2 Posts
Default

I have the same issue as this guy in this thread you locked:
http://androidforums.com/international-galaxy-nexus-all-things-root/533857-superuser-binary-update-3-0-3-3-0-3-2-gaining-root-access-fail-error.html

I only found it out when trying to update su, I didn't notice a failure when rooting. Was this issue resolved? Any ideas would be great. Thanks I'm using stock 4.0.4.
Josefius is offline  
Old May 5th, 2012, 10:11 AM  
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 12,559
 
Device(s): Galaxy Nexus, Nexus 7, Droid X, Droid Eris
Carrier: Verizon

Thanks: 15,693
Thanked 9,124 Times in 4,746 Posts
Default

Quote:
Originally Posted by Josefius View Post
I have the same issue as this guy in this thread you locked:
http://androidforums.com/international-galaxy-nexus-all-things-root/533857-superuser-binary-update-3-0-3-3-0-3-2-gaining-root-access-fail-error.html

I only found it out when trying to update su, I didn't notice a failure when rooting. Was this issue resolved? Any ideas would be great. Thanks I'm using stock 4.0.4.
Yep, the solution there was to use the new su.zip file that seems to work better on 4.0.4:

http://www.box.com/s/jvcf196j7x8f8vrc9cyt

Flash it from ClockworkMod and you should be good-to-go!

Cheers!
scary alien is online now  
Old May 14th, 2012, 01:24 PM  
New Member
 
Join Date: May 2012
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default used CWM to flash su.zip - error su not found

downloaded the su.zip from the link
used CWM to flash the zip

reboot twice
OS =4.0.4

get a shell

find su - not found

why don't i have an 'su' file in either /sys/bin or in /sys/xbin at this point?

the only thing i can think of is that i never got rid of /system/recovery-from-boot.p

invoking CWM using

fastboot boot \recovery-clockwork-5.5.0.2-maguro.img

so CWM is on the PC, not on the phone...

details of /system/bin... /xbin below

C:\i\android-sdk-windows\platform-tools>adb shell ls -l /system/xbin
-rwxr-xr-x root shell 59456 2012-02-06 21:26 dexdump
lrwxrwxrwx root root 2012-05-14 09:51 su -> /system/bin/su

C:\i\android-sdk-windows\platform-tools>adb shell ls -l /system/bin/s*
-rwxr-xr-x root shell 5528 2012-02-06 21:26 schedtest
lrwxr-xr-x root shell 2012-02-07 09:59 schedtop -> toolbox
-rwxr-xr-x root shell 5760 2012-05-09 21:14 screencap
-rwxr-xr-x root shell 34820 2012-02-06 21:26 screenshot
-rwxr-xr-x root shell 14056 2012-02-06 21:26 sdcard
-rwxr-xr-x root shell 42552 2012-02-06 21:26 sdptool
-rwxr-xr-x root shell 173 2012-02-06 21:26 send_bug
lrwxr-xr-x root shell 2012-02-07 09:59 sendevent -> toolbox
-rwxr-xr-x root shell 5588 2012-05-09 21:14 sensorservice
-rwxr-xr-x root shell 9988 2012-05-09 21:14 service
-rwxr-xr-x root shell 10080 2012-02-06 21:26 servicemanager
lrwxr-xr-x root shell 2012-02-07 09:59 setconsole -> toolbox
lrwxr-xr-x root shell 2012-02-07 09:59 setprop -> toolbox
-rwxr-xr-x root shell 5716 2012-02-06 21:26 setup_fs
lrwxr-xr-x root shell 2012-02-07 09:59 sh -> mksh
-rwxr-xr-x root shell 9732 2012-02-06 21:26 simg2img
lrwxr-xr-x root shell 2012-02-07 09:59 sleep -> toolbox
-rwxr-xr-x root shell 9672 2012-02-06 21:26 smc_pa_ctrl
lrwxr-xr-x root shell 2012-02-07 09:59 smd -> toolbox
lrwxr-xr-x root shell 2012-02-07 09:59 start -> toolbox
lrwxr-xr-x root shell 2012-02-07 09:59 stop -> toolbox
lrwxrwxrwx root root 2012-05-14 11:07 su -> /system/xbin/su
-rwxr-xr-x root shell 5588 2012-05-09 21:14 surfaceflinger
-rwxr-xr-x root shell 192 2012-02-06 21:26 svc
lrwxr-xr-x root shell 2012-02-07 09:59 sync -> toolbox
-rwxr-xr-x root shell 5568 2012-05-09 21:14 system_server
rowntreerob is offline  
Last edited by rowntreerob; May 14th, 2012 at 01:41 PM. Reason: more info
Old May 14th, 2012, 01:32 PM  
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 12,559
 
Device(s): Galaxy Nexus, Nexus 7, Droid X, Droid Eris
Carrier: Verizon

Thanks: 15,693
Thanked 9,124 Times in 4,746 Posts
Default

Quote:
Originally Posted by rowntreerob View Post
downloaded the su.zip from the link
used CWM to flash the zip

reboot twice
OS =4.0.4

get a shell

find su - not found

why don't i have an 'su' file in either /sys/bin or in /sys/xbin at this point?

details of /system/bin... /xbin below
Welcome to the AndroidForums, rowntreerob .

Did you grab the newer su.zip that's mentioned in the CWM flashing instructions in the first post that works better for 4.0.4:

su.zip that work's for 4.0.4

Try flashing that version--it should work much better for you.

Cheers!
scary alien is online now  
Old May 14th, 2012, 02:29 PM  
New Member
 
Join Date: May 2012
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by scary alien View Post
Welcome to the AndroidForums, rowntreerob .


su.zip that work's for 4.0.4

Try flashing that version--it should work much better for you.

Cheers!
Yes. that is the su version that i download. CWM flash looks to be fine.
However, as soon as i reboot from CWM, i go to /system/xbin and there is NO SU there!


i tried adb push of the su , but i cannot do any chmods in order to get 755 so its executable.

env below looks odd to me???

the zip file has /system/xbin/su

but the symlink on my system is as follows:

Code:
ls -l /system/xbin
-rwxr-xr-x root     shell       59456 2012-02-06 21:26 dexdump
lrwxrwxrwx root     root              2012-05-14 09:51 su -> /system/bin/su
above does not look correct?

the flash will put su in /system/xbin

the symbolic in /system/xbin points to /system/bin

there is no su in /system/bin on my system

AND
after the flash/reboot, i go to /system/xbin expecting to see 'su' and it is NOT THERE???
rowntreerob is offline  
Sponsors
Old May 14th, 2012, 04:28 PM  
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 12,559
 
Device(s): Galaxy Nexus, Nexus 7, Droid X, Droid Eris
Carrier: Verizon

Thanks: 15,693
Thanked 9,124 Times in 4,746 Posts
Default

Quote:
Originally Posted by rowntreerob View Post
Yes. that is the su version that i download. CWM flash looks to be fine.
However, as soon as i reboot from CWM, i go to /system/xbin and there is NO SU there!


i tried adb push of the su , but i cannot do any chmods in order to get 755 so its executable.

env below looks odd to me???

the zip file has /system/xbin/su

but the symlink on my system is as follows:

Code:
ls -l /system/xbin
-rwxr-xr-x root     shell       59456 2012-02-06 21:26 dexdump
lrwxrwxrwx root     root              2012-05-14 09:51 su -> /system/bin/su
above does not look correct?

the flash will put su in /system/xbin

the symbolic in /system/xbin points to /system/bin

there is no su in /system/bin on my system

AND
after the flash/reboot, i go to /system/xbin expecting to see 'su' and it is NOT THERE???
Apologies for the delay...am at work and can't really research this at the moment...

Yeah, its definitely strange because the su.zip should be installing the su binary in /system/xbin and then symlink /system/bin to it.

I see that you've listed your /system/xbin/su file above and it looks like its actually pointing to /system/bin/su (i.e., the reverse of what's supposed to happen?).

I'm thinking that you should be able to manually push things via adb like you mentioned (you'd need to use a 06755 value for its permission bits).

Can you flash or soft-boot CWM, mount /system, manually remove any /system/bin/su and /system/xbin/su before you push it, then resecure it (and optionally symlink the other su)?

If you give me a little time to get home, I can detail the exact commands for you then...

Cheers!
scary alien is online now  
Old May 14th, 2012, 06:49 PM  
New Member
 
Join Date: May 2012
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

thank you..

ill try what you said ...

the description you gave should be enough for me to go on for now.

i think the problem may be permissions for chmod the su binary to make it executable.

adb push will put the file out there with rw-rw-r-- permissions and if i dont have authority to chmod in any directory , im stuck.

C:\i\android-sdk-windows\platform-tools>adb shell
shell@android:/ $ su
su
/system/bin/sh: su: not found
127|shell@android:/ $ chmod 06755 /mnt/sdcard/su
chmod 06755 /mnt/sdcard/su
Unable to chmod /mnt/sdcard/su: Operation not permitted

as you can see in the above, im not able to exec su . I can push it fine .

also not able to mount rw ... no permissions ... i dont make sense of this.
rowntreerob is offline  
Last edited by rowntreerob; May 14th, 2012 at 07:08 PM.
Old May 14th, 2012, 07:54 PM  
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 12,559
 
Device(s): Galaxy Nexus, Nexus 7, Droid X, Droid Eris
Carrier: Verizon

Thanks: 15,693
Thanked 9,124 Times in 4,746 Posts
Default

Rob,

Are you doing the adb stuff while your phone is booted in ClockworkMod custom recovery?

That's a rooted environment and you'll be able to change anything you want while booted in CWM.

Lemme know if that's the issue.

Cheers!
scary alien is online now  
Old May 14th, 2012, 08:14 PM  
New Member
 
Join Date: May 2012
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

yes.. using "G" softboot and "H", i flashed su.zip then i tried to chmod and had no permissions on the chmod..

while still in CWM after the flash , i chose 'reboot' and used and existing open shell .. maybe i need to open a new cmd shell in windows after the CWM reboot ??

opened new windows CMD immediately after 'reboot' from within CWM and heres what i get:

Code:
cd /mnt/sdcard
shell@android:/mnt/sdcard $ chmod 06755 su
chmod 06755 su
Unable to chmod su: Operation not permitted

my bootlog ( demsg.txt ) on pastebin

thank you for all the help.. im headed out for dinner.....
rowntreerob is offline  
Last edited by rowntreerob; May 14th, 2012 at 08:22 PM.
Old May 14th, 2012, 08:37 PM  
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 12,559
 
Device(s): Galaxy Nexus, Nexus 7, Droid X, Droid Eris
Carrier: Verizon

Thanks: 15,693
Thanked 9,124 Times in 4,746 Posts
Default

Okay, here's how to manually install the root binaries:

- on your PC, extract the 4.0.4 su.zip file to its own folder

- boot your phone into ClockworkMod custom recovery

- mount /system by choosing mounts and storage, then mount /system

- now, do the following (while your phone is still booted in ClockworkMod custom recovery):
Quote:
C:\gnex\su-404>dir
Volume in drive C has no label.
Volume Serial Number is 843C-52A5

Directory of C:\gnex\su-404

02/04/2012 10:53 PM 22,372 su
02/04/2012 10:57 PM 818,836 Superuser.apk
05/14/2012 09:19 PM <DIR> system
2 File(s) 841,208 bytes
4 Dir(s) 298,312,048,640 bytes free

C:\gnex\su-404>adb push su /cache/su
2427 KB/s (22372 bytes in 0.009s)

C:\gnex\su-404>adb push Superuser.apk /cache/Superuser.apk
4253 KB/s (818836 bytes in 0.188s)

C:\gnex\su-404>adb shell
~ # cd /cache
cd /cache
/cache # ls -a -l su Superuser.apk
-rw-rw-rw- 1 root root 818836 Feb 5 03:57 Superuser.apk
-rw-rw-rw- 1 root root 22372 Feb 5 03:53 su
/cache # cat su > /system/xbin/su
/cache # cat Superuser.apk > /system/app/Superuser.apk
/cache # chmod 06755 /system/xbin/su
/cache # chmod 0644 /system/app/Superuser.apk
/cache # ls -a -l /system/xbin/su /system/app/Superuser.apk
-rw-r--r-- 1 root root 818836 May 15 01:26 /system/app/Superuser.apk
-rwsr-sr-x 1 root root 22372 May 15 01:26 /system/xbin/su
/cache # exit
exit

C:\gnex\su-404>
Next, just reboot your phone and you should have root.

Note, I didn't include any symlinking stuff since that appears to be related to some of your issues.

Cheers!
scary alien is online now  
Old May 14th, 2012, 10:16 PM  
New Member
 
Join Date: May 2012
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

worked like a charm!

Note 2 things:

before invoking cat in /cache i had to delete a symlink ...

lrwxrwxrwx 1 root root 14 May 14 16:51 su -> /system/bin/su

when mounting "system" in the CWM menu, i noticed that for some reason /cache was already mounted.

at the end of your process, before reboot, i unmounted /system and unmounted /cache in CWM.

WOW... THANKS
rowntreerob is offline  
Old May 21st, 2012, 07:34 PM  
Member
 
FrenchToast's Avatar
 
Join Date: Feb 2012
Location: Georgia
Posts: 230
 
Device(s): -Galaxy Nexus! -Retired Motorola Triumph.
Carrier: Not Provided

Thanks: 112
Thanked 76 Times in 54 Posts
Default

I'm in need of help, I rooted, and unlocked my bootloader earlier, but my phone doesn't have root access! I can't used any root apps, but the Superuser app is installed, I tried to flash the recovery that was mentioned to work when the other doesn't work, but whenever I can't boot into recovery, I get the triangle with the "!" inside it. There's an option in Wug's Toolkit, that says flash recovery, I'm not sure if I should/can use it, any help or insight would be great, thank you!
__________________
I find that a duck's opinion of me is largely influenced by whether or not I have bread.
-FrenchToast
FrenchToast is offline  
Old May 22nd, 2012, 02:22 PM  
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 12,559
 
Device(s): Galaxy Nexus, Nexus 7, Droid X, Droid Eris
Carrier: Verizon

Thanks: 15,693
Thanked 9,124 Times in 4,746 Posts
Default

Quote:
Originally Posted by FrenchToast View Post
I'm in need of help, I rooted, and unlocked my bootloader earlier, but my phone doesn't have root access! I can't used any root apps, but the Superuser app is installed, I tried to flash the recovery that was mentioned to work when the other doesn't work, but whenever I can't boot into recovery, I get the triangle with the "!" inside it. There's an option in Wug's Toolkit, that says flash recovery, I'm not sure if I should/can use it, any help or insight would be great, thank you!
FrenchToast,

Apologies for the belated reply...been crazy busy these last few days.

I don't know if you are on 4.0.4 already or not, but it you are, then you'll need to use the su.zip package that works best for 4.0.4:

http://www.box.com/s/jvcf196j7x8f8vrc9cyt

(I would bet that it would work fine on 4.0.2, also).

If your install custom recovery is going away, its because at shutdown time there's a file called /system/recovery-from-boot.p whose presence indicates to Android that the stock recovery should be re-flashed.

You can follow the notes in this post:

How to install ClockworkMod custom recovery

for manually fixing this after you've successfully attained root.

You can also install my (free) app, Android Root Toolkit, which has an option for renaming the recovery-from-boot.p file. Its link is in my signature (which I'm hoping will show up in this post ).

edit: nope, didn't, but here it is: Android Root Toolkit

Cheers!
scary alien is online now  
Old May 22nd, 2012, 04:15 PM  
Member
 
FrenchToast's Avatar
 
Join Date: Feb 2012
Location: Georgia
Posts: 230
 
Device(s): -Galaxy Nexus! -Retired Motorola Triumph.
Carrier: Not Provided

Thanks: 112
Thanked 76 Times in 54 Posts
Default

Quote:
Originally Posted by scary alien View Post
FrenchToast,

Apologies for the belated reply...been crazy busy these last few days.

I don't know if you are on 4.0.4 already or not, but it you are, then you'll need to use the su.zip package that works best for 4.0.4:

http://www.box.com/s/jvcf196j7x8f8vrc9cyt

(I would bet that it would work fine on 4.0.2, also).

If your install custom recovery is going away, its because at shutdown time there's a file called /system/recovery-from-boot.p whose presence indicates to Android that the stock recovery should be re-flashed.

You can follow the notes in this post:

How to install ClockworkMod custom recovery

for manually fixing this after you've successfully attained root.

You can also install my (free) app, Android Root Toolkit, which has an option for renaming the recovery-from-boot.p file. Its link is in my signature (which I'm hoping will show up in this post ).

edit: nope, didn't, but here it is: Android Root Toolkit

Cheers!
Worked like a charm! Thank-you Scary Alien!
FrenchToast is offline  
The Following User Says Thank You to FrenchToast For This Useful Post:
scary alien (May 22nd, 2012)
Old June 1st, 2012, 04:02 PM  
New Member
 
Join Date: May 2012
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default no tar or grep with the toolbox in /system/bin

i looked into this and i guess that symlinks to "toolbox" in /system/bin are different than symlinks to "busybox" in /system/xbin.

i dont think i had busybox.. i had root , but no busybox.

i thought u got BB with root.

i used this method to root and thought that tar / grep would be included with the toolbox? They are not there in the symlinks in /system/bin

What am i supposed to do with root if i want to mount /data and then install a package or an RPM there so that i can do some shell scripting and c work?

I want to move a tar to /data/local and then unpack it. Not able to because tar is not found ??

what i have symlinked in /system/bin

Code:
$ adb shell ls -l /system/bin | grep toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 cat -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 chmod -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 chown -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 cmp -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 date -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 dd -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 df -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 dmesg -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 getevent -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 getprop -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 hd -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 id -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 ifconfig -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 iftop -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 insmod -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 ioctl -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 ionice -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 kill -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 ln -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 log -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 ls -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 lsmod -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 lsof -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 mkdir -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 mount -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 mv -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 nandread -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 netstat -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 newfs_msdos -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 notify -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 printenv -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 ps -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 reboot -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 renice -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 rm -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 rmdir -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 rmmod -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 route -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 schedtop -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 sendevent -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 setconsole -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 setprop -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 sleep -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 smd -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 start -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 stop -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 sync -> toolbox
-rwxr-xr-x root     shell      103248 2012-02-06 21:26 toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 top -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 touch -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 umount -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 uptime -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 vmstat -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 watchprops -> toolbox
lrwxr-xr-x root     shell             2012-02-07 09:59 wipe -> toolbox
what i dont have that i need: (tar / which / grep )

Code:
127|shell@android:/ # which
which
sh: which: not found
127|shell@android:/ # grep
grep
sh: grep: not found
127|shell@android:/ # tar
tar
sh: tar: not found
127|shell@android:/ #
rowntreerob is offline  
Last edited by rowntreerob; June 1st, 2012 at 05:16 PM. Reason: new data
Sponsors
Old June 1st, 2012, 08:04 PM  
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 12,559
 
Device(s): Galaxy Nexus, Nexus 7, Droid X, Droid Eris
Carrier: Verizon

Thanks: 15,693
Thanked 9,124 Times in 4,746 Posts
Default

Hey Rob,

Yeah, busybox does not automatically come with rooting--some root packages/methods might do this, but many do not.

The good news is that you can grab one from the Market--there are a few to choose from:

https://play.google.com/store/apps/details?id=stericson.busybox

https://play.google.com/store/apps/details?id=com.jrummy.busybox.installer

(each of the above also has a paid version).

Here's the dump of supported commands for the version that I have installed:




Cheers and good luck!
scary alien is online now  
Old June 5th, 2012, 05:56 AM  
New Member
 
Join Date: Jun 2012
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Rooted 2 months ago now i keep gettimg a sysyem updaye required pop up and status bar icon???
cummins2500hd is offline  
Old June 5th, 2012, 12:20 PM  
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 12,559
 
Device(s): Galaxy Nexus, Nexus 7, Droid X, Droid Eris
Carrier: Verizon

Thanks: 15,693
Thanked 9,124 Times in 4,746 Posts
Default

Quote:
Originally Posted by cummins2500hd View Post
Rooted 2 months ago now i keep gettimg a sysyem updaye required pop up and status bar icon???
Simply rooting (i.e., installing the su and Superuser.apk binaries) does not stop / prevent an OTA from coming in or being applied.
scary alien is online now  
Old July 12th, 2012, 12:08 PM  
Premium Member
 
ChazzMatt's Avatar
 
Join Date: Nov 2010
Location: metro Atlanta area
Posts: 622
 
Device(s): GNex GT-i9250 with AndroidME v.1.4, (formerly) LTE LG Esteem with ROM #2, LG Optimus M
Carrier: Straight Talk SIM

Thanks: 36
Thanked 124 Times in 90 Posts
Default 1-click Galaxy Nexus root toolkit ! Unlock bootloader+ CWM + Su (or) SuperSu

Quote:
Originally Posted by scary alien View Post
.
There is no "root exploit" required to root the Samsung Galaxy Nexus since it comes with an unlockable bootloader. So, this means that there is not soon likely to be a 1-click or easy rooting app to run that exploits something in Ice Cream Sandwich in order to root the phone.
This seems like a 1-click method in the thread below. Anything wrong with this?

1-click Galaxy Nexus root toolkit ! Unlock bootloader+ CWM + Su (or) SuperSu
http://androidforums.com/international-galaxy-nexus-all-things-root/554715-galaxy-nexus-nexus-s-one-click-root-toolkit-unlock-bootloader-cwm-su-supersu.html#post4656472

IF not, then I'll use it on both my Galaxy Nexus phones when they arrive...

I see it's now been updated to support Jelly Bean.
____________

And what about this one? Any good?

CASUAL One-Click Root and Recovery Tool for Galaxy Nexus
http://www.androidauthority.com/galaxy-nexus-casual-one-click-root-recovery-87400/


__________

And if you want your mind to be blown, go read this:

[GNex TOOLKIT V7.4] Drivers, Backup, Unlock, Root, CWM, Flash, Mods + MUCH MORE [GSM
http://forum.xda-developers.com/showthread.php?t=1392310


___________

This one seems awesome, too:

WugFresh Nexus Root Toolkit v1.5.1
http://www.wugfresh.com/dev/nexus-root-toolkit/

This program has been renamed the ‘Nexus Root Toolkit’ because it now supports all the Nexus devices:

Galaxy Nexus: GSM Models (both yakju and non-yakju builds)
Galaxy Nexus: CDMA/LTE Verizon Models
Galaxy Nexus: CDMA/LTE Sprint Models
Nexus S: Worldwide, i9020t and i9023 Models
Nexus S: 850MHz, i9020a Models
Nexus S: Korea, m200 Models
Nexus S 4G: d720 Models
Nexus 7: Asus Tablet

screenshots from v. 1.4 but you get the idea...



__________________
Your creed may be interesting, but your deeds are much more convincing.
ChazzMatt is offline  
Last edited by ChazzMatt; July 12th, 2012 at 12:57 PM.
Old July 12th, 2012, 01:07 PM  
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 12,559
 
Device(s): Galaxy Nexus, Nexus 7, Droid X, Droid Eris
Carrier: Verizon

Thanks: 15,693
Thanked 9,124 Times in 4,746 Posts
Default

At the time I wrote that, November 2011, there was no native ICS root exploit for the GNex.

In Feburary 2012, I published this thread regarding the mempodroid exploit: http://androidforums.com/international-galaxy-nexus-all-things-root/502204-galaxy-nexus-root-un-root-without-unlocking-bootloader.html which allowed the rooting of a Samsung Galaxy Nexus without unlocking the bootloader via a known Linux kernel exploit.

Unfortunately, this only works on ICS 4.0.1 or 4.0.2 devices since the kernel exploit was patched for 4.0.4.

Quote:
Originally Posted by ChazzMatt View Post
This seems like a 1-click method in the thread below. Anything wrong with this?

1-click Galaxy Nexus root toolkit ! Unlock bootloader+ CWM + Su (or) SuperSu
http://androidforums.com/international-galaxy-nexus-all-things-root/554715-galaxy-nexus-nexus-s-one-click-root-toolkit-unlock-bootloader-cwm-su-supersu.html#post4656472

IF not, then I'll use it on both my Galaxy Nexus phones when they arrive...

I see it's now been updated to support Jelly Bean.
This appears to be a tool on-par with Wug's Gnex root toolkit. Very nice, but not really new.

Quote:
And what about this one? Any good?

CASUAL One-Click Root and Recovery Tool for Galaxy Nexus
Samsung Galaxy Nexus: Rooting, BusyBox, and ClockworkMod Recovery install using CASUAL tool
I've read about Adam Outler's CASUAL adb utility/tool. I'm guessing this tool might use the same mempodroid exploit used in the thread I wrote about up-top. The reason I say this is that it won't work on ICS higher than 4.0.2. As far as I know, unless you save/protect root in 4.0.2, the only way to root past 4.0.2 is to boot an insecure boot image file and/or softboot/flash a custom recovery and flash the su.zip file.

Quote:
And if you want your mind to be blown, go read this:

[GNex TOOLKIT V7.4] Drivers, Backup, Unlock, Root, CWM, Flash, Mods + MUCH MORE [GSM
[GNex TOOLKIT V7.4] Drivers, Backup, Unlock, Root, CWM, Flash, Mods + MUCH MORE [GSM] - xda-developers
Yeah, I've read about mskip's GNex toolkit before. Its very nice and very comprehensive. But again, these are just variations of tools like Wugfresh's toolkit (although I do believe mskip's tool existed before Wug's ).

Cheers!
scary alien is online now  
Old July 12th, 2012, 04:57 PM  
Premium Member
 
ChazzMatt's Avatar
 
Join Date: Nov 2010
Location: metro Atlanta area
Posts: 622
 
Device(s): GNex GT-i9250 with AndroidME v.1.4, (formerly) LTE LG Esteem with ROM #2, LG Optimus M
Carrier: Straight Talk SIM

Thanks: 36
Thanked 124 Times in 90 Posts
Default

Quote:
Originally Posted by scary alien View Post
At the time I wrote that, November 2011, there was no native ICS root exploit for the GNex.

In Feburary 2012, I published this thread regarding the mempodroid exploit: http://androidforums.com/international-galaxy-nexus-all-things-root/502204-galaxy-nexus-root-un-root-without-unlocking-bootloader.html which allowed the rooting of a Samsung Galaxy Nexus without unlocking the bootloader via a known Linux kernel exploit.

Unfortunately, this only works on ICS 4.0.1 or 4.0.2 devices since the kernel exploit was patched for 4.0.4.



This appears to be a tool on-par with Wug's Gnex root toolkit. Very nice, but not really new.



I've read about Adam Outler's CASUAL adb utility/tool. I'm guessing this tool might use the same mempodroid exploit used in the thread I wrote about up-top. The reason I say this is that it won't work on ICS higher than 4.0.2. As far as I know, unless you save/protect root in 4.0.2, the only way to root past 4.0.2 is to boot an insecure boot image file and/or softboot/flash a custom recovery and flash the su.zip file.



Yeah, I've read about mskip's GNex toolkit before. Its very nice and very comprehensive. But again, these are just variations of tools like Wugfresh's toolkit (although I do believe mskip's tool existed before Wug's ).

Cheers!
I believe the two bottom ones say they've been updated to work with jelly bean.

I'm at the airport right now and can't look it up well on this esteem. Can't wait to get the bigger screen of nexus.

________________

EDIT: yep, at least 3 of the 4 support Jelly Bean for rooting 1 click.


http://forum.xda-developers.com/showthread.php?t=1672708
Quote:
Tool updated,not a major update though just adding support to jelly bean and few more modifications
http://www.wugfresh.com/dev/nexus-root-toolkit/
Changelog | WugFresh
Quote:
Added native Jelly Bean support using SuperSU apk and binary and automated adb push scripts
http://forum.xda-developers.com/showthread.php?t=1392310
Quote:
+Added ToolKit support for JellyBean 4.1.1 (yakju and takju but other models can use either of these to root)
ChazzMatt is offline  
Last edited by ChazzMatt; July 14th, 2012 at 08:34 PM. Reason: to add jelly bean confirmation
Old July 12th, 2012, 05:35 PM  
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 12,559
 
Device(s): Galaxy Nexus, Nexus 7, Droid X, Droid Eris
Carrier: Verizon

Thanks: 15,693
Thanked 9,124 Times in 4,746 Posts
Default

Quote:
Originally Posted by ChazzMatt View Post
I believe the two bottom ones say they've been updated to work with jelly bean.

I'm at the airport right now and can't look it up well on this esteem. Can't wait to get the bigger screen of nexus.
Yeah, you're gonna love the GNex .

In addition to the above (or maybe they've already reference it?) but you can do many of the same flashing operations using Odin (or Heimdall) vs. using fastboot.

I unfortunately, haven't yet worked with Odin...

So may ways to do things with an unlocked bootloader [its great to have so many options].

Cheers!
scary alien is online now  
Old July 14th, 2012, 08:37 PM  
Premium Member
 
ChazzMatt's Avatar
 
Join Date: Nov 2010
Location: metro Atlanta area
Posts: 622
 
Device(s): GNex GT-i9250 with AndroidME v.1.4, (formerly) LTE LG Esteem with ROM #2, LG Optimus M
Carrier: Straight Talk SIM

Thanks: 36
Thanked 124 Times in 90 Posts
Default

Quote:
Originally Posted by ChazzMatt View Post
I believe the two bottom ones say they've been updated to work with jelly bean.

I'm at the airport right now and can't look it up well on this esteem. Can't wait to get the bigger screen of nexus.

________________

EDIT: yep, at least 3 of the 4 support Jelly Bean for rooting 1 click.


Galaxy Nexus & Nexus s,one click root toolkit ! Unlock bootloader+CWM+Su(or)SuperSu - xda-developers


Nexus Root Toolkit v1.5.1 | WugFresh
Changelog | WugFresh


[GNex TOOLKIT V7.4] Drivers, Backup, Unlock, Root, CWM, Flash, Mods + MUCH MORE [GSM] - xda-developers

I downloaded a couple but ended up using this one.


Nexus Root Toolkit v1.5.1 | WugFresh


Just make sure after you install the Win7 Samsung USB drivers to reboot the PC, then go from there. In the first step you use the Nexus volume button to arrow up and down on the screen to make a choice, then use the power button to "start" the process. During that time there is a graphic on the screen with the instructions, but I was in a hurry, trying to PRESS the screen to make the choices.

Anyway it all worked fine.
ChazzMatt is offline  
Old July 17th, 2012, 11:49 AM  
Junior Member
 
Join Date: Mar 2012
Posts: 25
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

Hey,

I'm on JellyBean (4.1.1) now. Does the toolkit can root it now without deleting any apps/data?
PhinPhin is offline  
Old July 17th, 2012, 11:09 PM  
Junior Member
 
Join Date: Mar 2012
Posts: 25
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

Okay, it won't work without a wipe because of the locked bootloader... gah
But how I can make a backup of the apps (won't lose all game-saves again) and homescreen-settings of widgets and icons? The Toolkit saves a 700MB file, that can't be all apps (>6GB)
PhinPhin is offline  
Sponsors
Old July 18th, 2012, 09:22 AM  
Premium Member
 
ChazzMatt's Avatar
 
Join Date: Nov 2010
Location: metro Atlanta area
Posts: 622
 
Device(s): GNex GT-i9250 with AndroidME v.1.4, (formerly) LTE LG Esteem with ROM #2, LG Optimus M
Carrier: Straight Talk SIM

Thanks: 36
Thanked 124 Times in 90 Posts
Default

Quote:
Originally Posted by PhinPhin View Post
Okay, it won't work without a wipe because of the locked bootloader... gah
But how I can make a backup of the apps (won't lose all game-saves again) and homescreen-settings of widgets and icons? The Toolkit saves a 700MB file, that can't be all apps (>6GB)

This thread is useful for your purposes. Go to the link, there's more info I didn't copy and paste including a mention of homescreen icons.


Preparing for Jelly Bean,
xda-developers - View Single Post - Preparing for Jelly Bean,

Quote:
Before anything make a android if anything should go wrong you can restore.

For messages I suggest SMS Backup and Restore found in the play store.

For apps and all that use titanium backup and restore app+data on jellybean which will import all settings and data the application had on the original backup.

Contacts should have been backed up to the Google servers so you don't really have to worry about that, once you sign in to jellybean for the first time your contacts will be completely restores automatically.

Home screens not possible , to my knowing, unless you use a third party launcher such as Nova which let's you backup home screens
ChazzMatt is offline  
Last edited by ChazzMatt; July 18th, 2012 at 09:25 AM.
Old July 19th, 2012, 02:12 PM  
Junior Member
 
Join Date: Mar 2012
Posts: 18
 
Device(s): Galaxy Nexus GSM
Carrier: Not Provided

Thanks: 7
Thanked 2 Times in 2 Posts
Default

Quote:
ClockworkMod Method (courtesy of Koushik Dutta)

Pros:

-- simplest and fastest from what I've found
-- works for both GSM and LTE versions of the device
-- does not require a special (insecured) boot.img file

Cons: requires both adb and fastboot USB connectivity



I wanted to use this method to root my JB phone.
Recently I used the ClockworkMod to flash my phone to 4.1.1 and everything seemed to work perfectly. Later I wanted to use the above method to root it and I've encountered a problem - the recovery mode of ClockworkMod won't start. It ends up with android error and I have to take out my battery.
What is the easiest way to root a phone right now? I am a linux user so no windows programs will do it for me (it's quite a lot of struggle to find a friend willing to borrow a computer and then mess around with it...).
Also, wiping data from my cell phone is not an option (bootloader is unlocked though).
Any ideas?
Bungi is offline  
Old July 19th, 2012, 02:20 PM  
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 12,559
 
Device(s): Galaxy Nexus, Nexus 7, Droid X, Droid Eris
Carrier: Verizon

Thanks: 15,693
Thanked 9,124 Times in 4,746 Posts
Default

Quote:
Originally Posted by Bungi View Post
I wanted to use this method to root my JB phone.
Recently I used the ClockworkMod to flash my phone to 4.1.1 and everything seemed to work perfectly. Later I wanted to use the above method to root it and I've encountered a problem - the recovery mode of ClockworkMod won't start. It ends up with android error and I have to take out my battery.
What is the easiest way to root a phone right now? I am a linux user so no windows programs will do it for me (it's quite a lot of struggle to find a friend willing to borrow a computer and then mess around with it...).
Also, wiping data from my cell phone is not an option (bootloader is unlocked though).
Any ideas?
Welcome to the AndroidForums, Bungi!

So, are you in fact rooted? (did you previously successfully flash CWM and flash the su.zip file)

It kind of sounds like you just need to make the recovery "stick" (Android will re-write the stock recovery every time you shut down unless you disable a file that tells/allows him to do so).

If this sounds right, then take a peek at the Flashed custom recovery won't "stick"? section in this post:

http://androidforums.com/international-galaxy-nexus-all-things-root/470831-how-all-things-root-samsung-galaxy-nexus.html#post3712027

Also, I created a (free, in the Market) app called Android Root Toolkit that has an option to "make recovery stick".

Please note that after you've taken steps to make the recovery stick, you'll have to re-flash your custom recovery so it's present again (my app also has some custom recovery flashing options for the Galaxy Nexus, so you can re-flash it with it).

Let me know .

Cheers!
scary alien is online now  
The Following User Says Thank You to scary alien For This Useful Post:
Bungi (July 19th, 2012)
Old July 19th, 2012, 04:04 PM  
Junior Member
 
Join Date: Mar 2012
Posts: 18
 
Device(s): Galaxy Nexus GSM
Carrier: Not Provided

Thanks: 7
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by scary alien View Post
Welcome to the AndroidForums, Bungi!
Glad to be welcomed

Quote:
So, are you in fact rooted? (did you previously successfully flash CWM and flash the su.zip file)
Not quite. I was rooted before updating to JB. I didn't delete any files and according to Superuser.apk I have the /system/bin/su file but no root shell.
I wanted to root it the way I used to (fastboot - recovery mode - flash with su.zip) but the phone crashes the moment it boots in recovery mode. It works fine in fastboot but when I switch to recovery and tell it to boot that mode it crashes. I downloaded your app but I reckon I'd need to be rooted first to use it...

Thanks for a quick answer!

EDIT:
I just checked with a terminal emulator - I have no permission to use "su" command.
Bungi is offline  
Last edited by Bungi; July 19th, 2012 at 04:07 PM.
Old July 19th, 2012, 04:25 PM  
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 12,559
 
Device(s): Galaxy Nexus, Nexus 7, Droid X, Droid Eris
Carrier: Verizon

Thanks: 15,693
Thanked 9,124 Times in 4,746 Posts
Default

Quote:
Originally Posted by Bungi View Post
Glad to be welcomed

Not quite. I was rooted before updating to JB. I didn't delete any files and according to Superuser.apk I have the /system/bin/su file but no root shell.
I wanted to root it the way I used to (fastboot - recovery mode - flash with su.zip) but the phone crashes the moment it boots in recovery mode. It works fine in fastboot but when I switch to recovery and tell it to boot that mode it crashes. I downloaded your app but I reckon I'd need to be rooted first to use it...

Thanks for a quick answer!

EDIT:
I just checked with a terminal emulator - I have no permission to use "su" command.
So, you obtained JellyBean as a result of an over-thead-air (OTA) update, right (vs. installing a JB custom ROM)?

If you did install/take an OTA, then yeah, you're going to have to re-root by re-flashing ClockworkMod custom recovery via fastboot and then flash the su.zip (be sure to use the newer, up-to-date su.zip that I mention at the top of the first post in this thread).

OTAs clobber root because the su binary gets re-secured during the installation process. You could have saved root with OTA RootKeeper (or even with my app that I mentioned earlier) since they'll allow you to restore root after having previously saved it.

The good news is that your bootloader is unlocked, so all you really have to do is:

- download / copy the new su.zip file to the top-level of your /sdcard folder
- put phone in fastboot / bootloader mode
- fastboot flash recovery recovery.img (using the proper recovery.img name, of course)
- flash the new su.zip (that you've already copied to your /sdcard)
- reboot

After you reboot, you'll be rooted and you can make your recovery stick as I described in the previous post.

Let me know how it goes!

Cheers!
scary alien is online now  
The Following User Says Thank You to scary alien For This Useful Post:
Bungi (July 19th, 2012)
Old July 19th, 2012, 04:49 PM  
Junior Member
 
Join Date: Mar 2012
Posts: 18
 
Device(s): Galaxy Nexus GSM
Carrier: Not Provided

Thanks: 7
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by scary alien View Post
So, you obtained JellyBean as a result of an over-thead-air (OTA) update, right (vs. installing a JB custom ROM)?
Here's what I did:
The system let me know there is an update and it downloaded an upgrade. Then I turned on the phone on recovery mode (up/down button + power) and picked "install .zip from sdcard" and pointed to the upgrade that was downloaded by system itself (I had to cp it to sdcard from cache). And it went fine

Quote:
The good news is that your bootloader is unlocked, so all you really have to do is:

- download / copy the new su.zip file to the top-level of your /sdcard folder
- put phone in fastboot / bootloader mode
- fastboot flash recovery recovery.img (using the proper recovery.img name, of course)
- flash the new su.zip (that you've already copied to your /sdcard)
- reboot
Last (hopefully) quick question. Do I flash the recovery with the ROM that I used for upgrade? Or maybe can i flash it somehow with ClockworkModRecovery (I liked the options it offered in recovery mode).
I would like to mess it up when I'm so close to a happyend

EDIT:
Nevermind I just flashed the recovery mode from Clockwork and then installed the su.zip and it works perfectly! Thank you so much
scary alien likes this.
Bungi is offline  
Last edited by Bungi; July 19th, 2012 at 05:12 PM.
The Following User Says Thank You to Bungi For This Useful Post:
scary alien (July 19th, 2012)
Old July 25th, 2012, 06:45 AM  
Premium Member
 
ChazzMatt's Avatar
 
Join Date: Nov 2010
Location: metro Atlanta area
Posts: 622
 
Device(s): GNex GT-i9250 with AndroidME v.1.4, (formerly) LTE LG Esteem with ROM #2, LG Optimus M
Carrier: Straight Talk SIM

Thanks: 36
Thanked 124 Times in 90 Posts
Default

Just want to say I've used this 1-click solution now on both my Galaxy Nexus phone and now my wife's Galaxy Nexus phone. Worked very well. Mine had ICS 4.01, but hers had received the 4.1.1 Jelly Bean OTA -- it rooted them both just fine.

Even lets you back up and restore the APN.

This package has now been updated to Nexus Root Toolkit v1.5.2.

More screenshots and download link here:

http://www.wugfresh.com/dev/nexus-root-toolkit/




Quote:
Originally Posted by ChazzMatt View Post

___________

This one seems awesome, too:

WugFresh Nexus Root Toolkit v1.5.1
Nexus Root Toolkit v1.5.2 | WugFresh

This program has been renamed the ‘Nexus Root Toolkit’ because it now supports all the Nexus devices:

Galaxy Nexus: GSM Models (both yakju and non-yakju builds)
Galaxy Nexus: CDMA/LTE Verizon Models
Galaxy Nexus: CDMA/LTE Sprint Models
Nexus S: Worldwide, i9020t and i9023 Models
Nexus S: 850MHz, i9020a Models
Nexus S: Korea, m200 Models
Nexus S 4G: d720 Models
Nexus 7: Asus Tablet

screenshots from v. 1.4 but you get the idea...



ChazzMatt is offline  
 

Go Back   Android Forums > Android Phones > Samsung Galaxy Nexus > (International / GSM) Galaxy Nexus - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://androidforums.com/international-gsm-galaxy-nexus-all-things-root/452146-how-root-gsm-hspa-samsung-galaxy-nexus.html
Posted By For Type Date
lucky patcher galaxy next - Virgilio Ricerca Web This thread Refback May 11th, 2012 07:26 AM
שרשור על כל מה שרציתם לדעת על הגלקסי נקסוס ולא העזתם לשאול This thread Refback March 5th, 2012 02:38 AM


All times are GMT -5. The time now is 03:30 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.