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

test: Reply
 
LinkBack Thread Tools
Old February 18th, 2012, 08:07 PM   #1 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,308
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 32,715
Thanked 14,916 Times in 7,302 Posts
Default Galaxy Nexus root / un-root without unlocking bootloader

.
Introducing the Samsung Galaxy Nexus root / un-root without needing to unlock your bootloader. Yep!

Note: it appears that this will only work for GNex phones running Android ICS 4.0.2--the exploit that this method utilizes does not seem to work for 4.0.4; if you use this method to gain root in 4.0.2 and wish to retain it later in 4.0.4, be sure to use a utility like my app Android Root Toolkit or OTA RootKeeper to save root in 4.0.2 so that you don't lose it when you install the 4.0.4 OTA.

I've had this posted in the VZW Galaxy Nexus root area for a little bit, but I've updated it with un-root options and support for Linux (32-bit) and Mac/OSX, so I thought I'd post it here in the GSM area too since it should work identically to the LTE version.

Download for the simple-gnex-root-unroot.zip package is located at the bottom of this post.

How to use:





Notes:





Credits / references:





simple-gnex-root-unroot.zip:

.....File size: ..........944,566 (bytes)
.....MD5 checksum: 2ebd6f0d58b26955d7b97d37fa1e0b36
Attached Files
File Type: zip simple-gnex-root-unroot.zip (922.4 KB, 288 views)
File Type: txt windows-root-example.txt (2.2 KB, 96 views)
File Type: txt windows-unroot-example.txt (2.1 KB, 49 views)
File Type: txt linux-root-example.txt (2.6 KB, 26 views)
File Type: txt linux-unroot-example.txt (2.1 KB, 16 views)

Advertisements
scary alien is online now  
Last edited by scary alien; May 27th, 2012 at 09:15 AM. Reason: update w/notes for Linux users that adb only works on 32-bit distros
Reply With Quote
The Following 4 Users Say Thank You to scary alien For This Useful Post:
Digglerrdam (March 9th, 2012), Hoosiers (March 14th, 2012), jrennie (April 19th, 2012), NexusToo (March 5th, 2012)
sponsored links
Old February 19th, 2012, 02:18 PM   #2 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,308
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 32,715
Thanked 14,916 Times in 7,302 Posts
Default

Updated first post above with new version of the .zip root package.

It does a more complete un-root.

Cheers!

-SA
scary alien is online now  
Reply With Quote
The Following User Says Thank You to scary alien For This Useful Post:
NexusToo (March 5th, 2012)
Old March 5th, 2012, 11:43 AM   #3 (permalink)
New Member
 
Join Date: Mar 2012
Location: Italy
Posts: 4
 
Device(s): Galaxy Nexus
Carrier: Not Provided

Thanks: 4
Thanked 2 Times in 2 Posts
Default

Great, it works

Thank you very much sir
NexusToo is offline  
Reply With Quote
The Following User Says Thank You to NexusToo For This Useful Post:
scary alien (March 5th, 2012)
Old March 5th, 2012, 11:51 AM   #4 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,308
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 32,715
Thanked 14,916 Times in 7,302 Posts
Default

Quote:
Originally Posted by NexusToo View Post
Great, it works

Thank you very much sir
Thank you, too, NexusToo!

And welcome to the AndroidForums--we're very pleased you signed-up with us!

Cheers and have a great rest of your day .
scary alien is online now  
Reply With Quote
The Following User Says Thank You to scary alien For This Useful Post:
NexusToo (March 5th, 2012)
Old March 8th, 2012, 12:18 PM   #5 (permalink)
New Member
 
Join Date: Mar 2012
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Assuming this will not wipe all my data?

As this is not touching the bootloader, I'm guessing that it will NOT wipe all my data?
ericzlot is offline  
Reply With Quote
Old March 8th, 2012, 12:33 PM   #6 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,308
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 32,715
Thanked 14,916 Times in 7,302 Posts
Default

Quote:
Originally Posted by ericzlot View Post
As this is not touching the bootloader, I'm guessing that it will NOT wipe all my data?
Eric,

That is correct .

It is simply installing the root binaries (su and Superuser.apk).

By the way, let me know if you're using a Mac--I haven't updated the .zip package here in the GSM area to include a fixed version of the script--but its available in this same thread in the VZW area (they are identical files).

I'll get it updated tonight...

The Linux and Windows scripts should work just fine for you, though.

Cheers and let me know how it goes .

Oh, and welcome to the AndroidForums, too!
scary alien is online now  
Reply With Quote
Old March 9th, 2012, 04:36 PM   #7 (permalink)
Junior Member
 
Join Date: May 2010
Posts: 64
 
Device(s):
Carrier: Not Provided

Thanks: 3
Thanked 2 Times in 2 Posts
Default

Just curious, if you don't install clockworkmod will your phone still receive OTA's?

Can you even install clockworkmod using this exploit without unlocking?
ncguy2 is offline  
Reply With Quote
Old March 9th, 2012, 04:50 PM   #8 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,308
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 32,715
Thanked 14,916 Times in 7,302 Posts
Default

Quote:
Originally Posted by ncguy2 View Post
Just curious, if you don't install clockworkmod will your phone still receive OTA's?
Yes!

As long as you have a stock recovery, any OTA you receive be able to be applied (you'll actually get the OTA even if you have a non-stock recovery, you just wouldn't be able to install it until you had the stock recovery installed).

Bear in mind that you might also want to install and run OTA RootKeeper so that you can still get root (recover root) after taking an OTA (like when 4.0.4 comes out).

Quote:
Can you even install clockworkmod using this exploit without unlocking?
Yes!

After you root, just download ROM Manager and use it to flash ClockworkMod custom recovery.

Cheers!
scary alien is online now  
Reply With Quote
Old March 9th, 2012, 05:05 PM   #9 (permalink)
Junior Member
 
Join Date: May 2010
Posts: 64
 
Device(s):
Carrier: Not Provided

Thanks: 3
Thanked 2 Times in 2 Posts
Default

Wow. Sounds like you can have your cake and eat it too! Anything left that would still require unlock?
ncguy2 is offline  
Reply With Quote
Old March 9th, 2012, 05:09 PM   #10 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,308
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 32,715
Thanked 14,916 Times in 7,302 Posts
Default

Quote:
Originally Posted by ncguy2 View Post
Wow. Sounds like you can have your cake and eat it too! Anything left that would still require unlock?
You can't use fastboot to soft-boot or flash anything without having an unlocked bootloader.

So, if you had to restore back to stock, etc., you'd have to unlock.

But you should be able to do most root-y things just fine .

At least this way, you'll be able to make Titanium Backups and/or a Nandroid backup of your current setup, save that stuff off to your PC or such. Then, when / if you ever to have to unlock, you're just a restore away from being back in the state you were when you made the restore .

Cheers!
scary alien is online now  
Reply With Quote
The Following User Says Thank You to scary alien For This Useful Post:
ncguy2 (March 9th, 2012)
sponsored links
Old March 12th, 2012, 01:01 PM   #11 (permalink)
New Member
 
Join Date: Mar 2012
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi I have just managed to root my mobile and have got titanium backup working without unlocking the bootloader. Do you have any idea why luckypatcher will not work even when supperuser shows allowed under status. Thanks for your hard work.
shabaz786 is offline  
Reply With Quote
Old March 12th, 2012, 02:32 PM   #12 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,308
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 32,715
Thanked 14,916 Times in 7,302 Posts
Default

Quote:
Originally Posted by shabaz786 View Post
Hi I have just managed to root my mobile and have got titanium backup working without unlocking the bootloader. Do you have any idea why luckypatcher will not work even when supperuser shows allowed under status. Thanks for your hard work.
No problem, happy to help.

I've actually never heard of Lucky Patcher before now... I can't say that I agree with its existence or usage, given that I myself am an Android Market and Amazon AppStore app developer.
scary alien is online now  
Reply With Quote
The Following 2 Users Say Thank You to scary alien For This Useful Post:
El Presidente (March 12th, 2012), shabaz786 (March 12th, 2012)
Old March 14th, 2012, 03:37 PM   #13 (permalink)
New Member
 
Join Date: Mar 2012
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 1 Time in 1 Post
Default

Thank you very much for this straightforward method.

Brand new Droid user here (finally gave up on RIM) and your instructions were very helpful.

Cheers!
Hoosiers is offline  
Reply With Quote
The Following User Says Thank You to Hoosiers For This Useful Post:
scary alien (March 14th, 2012)
Old March 14th, 2012, 03:45 PM   #14 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,308
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 32,715
Thanked 14,916 Times in 7,302 Posts
Default

Quote:
Originally Posted by Hoosiers View Post
Thank you very much for this straightforward method.

Brand new Droid user here (finally gave up on RIM) and your instructions were very helpful.

Cheers!
You are most welcome!

And welcome to the AndroidForums (and another Hoosier, if I'm not mistaken? ).

Cheers!
scary alien is online now  
Reply With Quote
Old March 14th, 2012, 04:02 PM   #15 (permalink)
New Member
 
Join Date: Mar 2012
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by scary alien View Post
You are most welcome!

And welcome to the AndroidForums (and another Hoosier, if I'm not mistaken? ).

Cheers!
Sure am! I'm finishing up my senior year and am on Spring Break right now.

Made our trip short this year so we could hopefully go watch us in the NCAA tournament, only to find out we are playing in Oregon . Hopefully we can go see another victory against UK in Atlanta (knocks on wood).

Quick question if you don't mind:

I used this method so I could save my data before unlocking my bootloader. Do I need the full version of Titanium backup to do this since the GNex only has internal memory and I need to export to my computer?

Thanks.
Hoosiers is offline  
Reply With Quote
Old March 14th, 2012, 04:29 PM   #16 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,308
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 32,715
Thanked 14,916 Times in 7,302 Posts
Default

Quote:
Originally Posted by Hoosiers View Post
Sure am! I'm finishing up my senior year and am on Spring Break right now.

Made our trip short this year so we could hopefully go watch us in the NCAA tournament, only to find out we are playing in Oregon . Hopefully we can go see another victory against UK in Atlanta (knocks on wood).

Quick question if you don't mind:

I used this method so I could save my data before unlocking my bootloader. Do I need the full version of Titanium backup to do this since the GNex only has internal memory and I need to export to my computer?

Thanks.
Nice! Yeah, March Madness is a great time of the year .

I'm not a TiBu expert (I do have the full version, though), but I know that you'd have to do each app one at a time vs. being able to batch them all at one time--I think that's the biggest reason folks purchase the full version.

Cheers!
scary alien is online now  
Reply With Quote
Old March 20th, 2012, 09:37 PM   #17 (permalink)
Junior Member
 
Join Date: Mar 2012
Location: Canada
Posts: 62
 
Device(s): Galaxy Nexus
Carrier: Not Provided

Thanks: 6
Thanked 13 Times in 12 Posts
Default

Dumb question - will this work on earlier builds (eg: 4.0.1) or only 4.0.2?

I'm just a newbie that didn't think he'd want to root his phone and then figured out a good reason to do it, and now i'm looking for the least painful way of backup up the last week of playing with my new phone.
MachDelta is offline  
Reply With Quote
Old March 20th, 2012, 09:45 PM   #18 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,308
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 32,715
Thanked 14,916 Times in 7,302 Posts
Default

Quote:
Originally Posted by MachDelta View Post
Dumb question - will this work on earlier builds (eg: 4.0.1) or only 4.0.2?

I'm just a newbie that didn't think he'd want to root his phone and then figured out a good reason to do it, and now i'm looking for the least painful way of backup up the last week of playing with my new phone.
MachDelta,

Welcome to the AndroidForums!

Not a dumb question at all. I don't actually know the answer... I've not stayed on 4.0.1 long enough to save a Nandroid for testing like this.

I'm pretty sure that Jay (saurik) only built and tested this on 4.0.2... Did you not ever receive a 4.0.2 OTA?

It would simple enough to try it to see...you'll either end-up rooted or you won't (and if you do get root, you'll be able to easily un-root, too). The act of rooting (in this case, anyways) is simply installing the su and Superuser.apk binaries on your phone (so you don't have to use them, even if you do root).

Cheers and let me know!
scary alien is online now  
Reply With Quote
Old March 20th, 2012, 09:54 PM   #19 (permalink)
Junior Member
 
Join Date: Mar 2012
Location: Canada
Posts: 62
 
Device(s): Galaxy Nexus
Carrier: Not Provided

Thanks: 6
Thanked 13 Times in 12 Posts
Default

Quote:
Originally Posted by scary alien View Post
MachDelta,

Welcome to the AndroidForums!

Not a dumb question at all. I don't actually know the answer... I've not stayed on 4.0.1 long enough to save a Nandroid for testing like this.

I'm pretty sure that Jay (saurik) only built and tested this on 4.0.2... Did you not ever receive a 4.0.2 OTA?

It would simple enough to try it to see...you'll either end-up rooted or you won't (and if you do get root, you'll be able to easily un-root, too). The act of rooting (in this case, anyways) is simply installing the su and Superuser.apk binaries on your phone (so you don't have to use them, even if you do root).

Cheers and let me know!
My provider is Bell (Canada) and for some reason i'm not particularly familiar with (I've heard more than one explanation, ranging from technical to "they're evil" ) 4.0.1 is what they ship/push.

Anyways, i'll give it a shot tonight and let you know if it works, or if it bricks (jk )

Thanks!
MachDelta is offline  
Reply With Quote
The Following User Says Thank You to MachDelta For This Useful Post:
scary alien (March 20th, 2012)
Old March 20th, 2012, 09:59 PM   #20 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,308
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 32,715
Thanked 14,916 Times in 7,302 Posts
Default

MachDelta,

I could test it for you, but I can't do it tonight (I'm in the middle of some other things and its getting a little late). But if you really wanted me to, I could try to get to it during the day on Friday.

The exploit uses particular offsets in the run-as binary and these may very well be different for v4.0.1. So, if it fails, you'll just see that the su and SuperUser.apk files don't get installed (because the mempodroid binary wasn't granted root/superuser permissions itself).

Sorry for not anticipating that there'd still be 4.0.1 users out there.....

Good luck! You've got me curious, now .
scary alien is online now  
Reply With Quote
The Following User Says Thank You to scary alien For This Useful Post:
MachDelta (March 20th, 2012)
sponsored links
Old March 20th, 2012, 10:39 PM   #21 (permalink)
Junior Member
 
Join Date: Mar 2012
Location: Canada
Posts: 62
 
Device(s): Galaxy Nexus
Carrier: Not Provided

Thanks: 6
Thanked 13 Times in 12 Posts
Default

It appears to have worked!




Thanks SA!
MachDelta is offline  
Reply With Quote
The Following User Says Thank You to MachDelta For This Useful Post:
scary alien (March 20th, 2012)
Old March 20th, 2012, 10:40 PM   #22 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,308
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 32,715
Thanked 14,916 Times in 7,302 Posts
Default

You are most welcome!

Cheers!
scary alien is online now  
Reply With Quote
Reply


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



All times are GMT -5. The time now is 06:07 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.