Go Back   Android Forums > Android Phones > Samsung Galaxy Nexus > (Sprint) Galaxy Nexus - All Things Root

test: Reply
 
LinkBack Thread Tools
Old July 31st, 2012, 02:12 PM   #1 (permalink)
mbw
New Member
Thread Author (OP)
 
Join Date: Sep 2010
Posts: 9
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 3 Times in 2 Posts
Default Quick question about root and OTA

It has been awhile since I messed with this stuff. Coming from HTC EVO 4g and going to Sprint Nexus tomorrow. It's currently got ICS on it from the store, If I root it (Still need to track down how that is done these days) and then wait, will the 4.1 (or 4.1.1 or whatever) OTA give me any trouble? (Will it un-root me?)

I am guessing ill change the recovery to something else and then run something to root?

I'd prefer to be lazy and just get 4.1 from OTA, I know that I can put it on myself, but I remember it being a pain to mess with all of this on the HTC. Ill keep reading so feel free to call me a newb. Thanks! Everyone who contributes on these forums is awesome. Thanks for all the work you do!

Mike

Advertisements
mbw is offline  
Reply With Quote
sponsored links
Old July 31st, 2012, 02:18 PM   #2 (permalink)
The Hero of the Winds
 
An UrgeTo Dance's Avatar
 
Join Date: Jul 2010
Gender: Male
Posts: 1,485
 
Device(s): Sprint Galaxy Nexus (rooted) HTC Evo 4G (rooted, unactivated)
Carrier: Not Provided

Thanks: 136
Thanked 583 Times in 335 Posts
Default

If you root, you will no longer be able to accept OTAs, however this is not a bad thing. When you root you can often get updates before unrooted people get them because you can flash a ROM built from source. I have 4.1.1 on my phone and it isn't even out for our phones yet. The best way to root a Galaxy Nexus is through recovery, you can find a guide on how to do that here. Rooting this phone is a lot easier than rooting an Evo, trust me. That guide is what a lot of people on this forum have used and it has worked for all of them.
An UrgeTo Dance is offline  
Reply With Quote
Old July 31st, 2012, 02:33 PM   #3 (permalink)
mbw
New Member
Thread Author (OP)
 
Join Date: Sep 2010
Posts: 9
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 3 Times in 2 Posts
Default

Ok, That makes sense. I guess part of the motivation for wanting to stick with the OTA is the stability. It is just a lot of work to track all the news here and figure out what is working and what is not. From what I understand it will be better on Nexus.

Do you guys maintain a site somewhere that makes it simple to know what is working and what is being worked on? Is part of the issue the sprint specific radio? The rest would seem to be the same as the GSM nexus correct? (I have a GSM nexus from Google I/O, 4.1.1 is amazing. Not sure exactly why I am sticking with Sprint to be honest. Wife is on a sprint iphone 4 starting tomorrow).
mbw is offline  
Reply With Quote
Old July 31st, 2012, 02:40 PM   #4 (permalink)
mbw
New Member
Thread Author (OP)
 
Join Date: Sep 2010
Posts: 9
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 3 Times in 2 Posts
Default

Can I do the following?

1. new phone
2. put CWM recovery on it
3. create nandroid backup (correct terminology?)
4. root phone, flash 4.1.1
5. hear that OTA 4.1 is out
6. restore nandoid, get OTA
7. make another nandroid (unrooted)
8. root again on 4.1
does that work?
mbw is offline  
Reply With Quote
Old July 31st, 2012, 03:10 PM   #5 (permalink)
The Hero of the Winds
 
An UrgeTo Dance's Avatar
 
Join Date: Jul 2010
Gender: Male
Posts: 1,485
 
Device(s): Sprint Galaxy Nexus (rooted) HTC Evo 4G (rooted, unactivated)
Carrier: Not Provided

Thanks: 136
Thanked 583 Times in 335 Posts
Default

There is a way to do that (just not the way you have listed) but there isn't really a point to, because you can flash a rooted version of the OTA normally before the OTA is even out. You could also install CM10 which is a stock android ROM with a lot of awesome added features that should be in stock Android.
An UrgeTo Dance is offline  
Reply With Quote
Old July 31st, 2012, 03:37 PM   #6 (permalink)
Member
 
AARONONE's Avatar
 
Join Date: Dec 2010
Location: Los Angeles area
Gender: Male
Posts: 341
 
Device(s): S3; Gnex (sold); EVO 4g (retired); Samsung Transform (blew up)
Carrier: Not Provided

Thanks: 568
Thanked 168 Times in 118 Posts
Default

You "could" do that, but keep in mind that by the time we get an ota, rooted 4.1 ROMs will already be WAY more refined and polished. By accepting an ota, you would likely be taking a step back and losing customizations. I will bet that CM 10 today is already better than the ota we will eventually get. Most 4.1 ROMs are fully functional and don't have issues. Also, when you accept an ota, the root process becomes harder because the exploit is usually closed.

I also had the og and there were lots of "glitches" when rooted. None of which are present on the nexus. I have been rooted since 20 minutes after my purchase and have had no root specific problems. In fact, everything about this phone is better and easier than the og. Urge wrote a foolproof rooting process and it takes maybe 10 minutes. Its your phone and you should do what you feel comfortable with, but I would root and not look back. Plus if you don't like it, you can always revert back.
AARONONE is offline  
Last edited by AARONONE; July 31st, 2012 at 03:43 PM.
Reply With Quote
The Following 2 Users Say Thank You to AARONONE For This Useful Post:
An UrgeTo Dance (July 31st, 2012), frenchy714 (July 31st, 2012)
Old July 31st, 2012, 08:49 PM   #7 (permalink)
Senior Member
 
9to5cynic's Avatar
 
Join Date: Feb 2011
Location: /home/
Posts: 4,858
 
Device(s): Galaxy S3 (Verizon) Evo 4G - retired/rooted
Carrier: Verizon

Thanks: 3,066
Thanked 1,763 Times in 1,189 Posts
Send a message via AIM to 9to5cynic
Default

Because like a lot of us you are coming from an evo, I feel like saying this might be helpful.

With my evo, I flashed a lot of roms. At one point I think I flashed three a week or something like that. Not even enough time to let them settle in and get a decent feel for them.

With the nexus, after messing up with my first rom (bad DL), I put on CM10. I also downloaded a correct version of my first rom. Haven't even tried to flash it yet. There's no need to. As of now, I am perfectly content with CM10.

On the evo, several of the AOSP roms feel like you were running aftermarket software. With the nexus, it feels like you're running software that was made for the phone. It's great. Unless sprint decides that by having their official 4.1 means that I get a $5 add on to my google wallet (which I don't use - just an example ) I don't see myself ever doing that....


---

But yeah, you *could* do something like that. And, welcome to the party!
9to5cynic is offline  
Reply With Quote
The Following User Says Thank You to 9to5cynic For This Useful Post:
frenchy714 (July 31st, 2012)
Old August 1st, 2012, 01:29 PM   #8 (permalink)
mbw
New Member
Thread Author (OP)
 
Join Date: Sep 2010
Posts: 9
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 3 Times in 2 Posts
Default

Ok guys. Got my sprint gnex and its got clockwork recovery, rooted, sitting on stock 4.0.4.

now im just going through threads, reading, trying to figure out what rom to go to.

Changing roms is fun, and I can easily reset almost everything on my phone. I don't mind doing that, but I have one issue that I want to ask.

I use the Verisign "VIP Access" app for work to do two factor authentication. It has a credential ID in it and gives me a new pin every 30 seconds. I have tried to back it up with titanium backup pro and restore it to another device and it gives me errors. I can't find a way to backup and restore it with the same id. So, that makes it a huge pain to flash roms and loose my data, because I have to go through our IT department each time to tell them my new pin..... any ideas on how to solve that?
mbw is offline  
Last edited by mbw; August 1st, 2012 at 01:32 PM.
Reply With Quote
Old August 1st, 2012, 01:43 PM   #9 (permalink)
mbw
New Member
Thread Author (OP)
 
Join Date: Sep 2010
Posts: 9
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 3 Times in 2 Posts
Default

Ok, so I think the issue is it is somehow signed per machine (phone).. so if I back it up on the new phone it should restore ok on the same phone. So ill just reset my credential id with our IT department once and it should stick.

I will confirm that though since someone else might come across this thread later.
mbw is offline  
Reply With Quote
Old August 1st, 2012, 03:23 PM   #10 (permalink)
mbw
New Member
Thread Author (OP)
 
Join Date: Sep 2010
Posts: 9
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 3 Times in 2 Posts
Default

This is my newb thread, ill just keep it going...


lets say I go with the unofficial AOKP JB rom. Will that not come with a newer kernel in it? I guess what I am asking is, why do people run another kernel, lean for example?

Where is the main place to go and read about lean and how to install it, etc?

What does "180 underclock" mean?
mbw is offline  
Last edited by mbw; August 1st, 2012 at 03:43 PM.
Reply With Quote
sponsored links
Old August 1st, 2012, 03:58 PM   #11 (permalink)
The Hero of the Winds
 
An UrgeTo Dance's Avatar
 
Join Date: Jul 2010
Gender: Male
Posts: 1,485
 
Device(s): Sprint Galaxy Nexus (rooted) HTC Evo 4G (rooted, unactivated)
Carrier: Not Provided

Thanks: 136
Thanked 583 Times in 335 Posts
Default

We run different kernels because we can lol and because normally a different kernel runs better. Lean for example has insane battery life for me and I can't tell a difference in performance (and I'm underclocked), your results may vary though. Underclocking is when you clock the processor slower than stock which helps save battery, 180 is probably the amount lowered. Our stock clock speed is 1200, I personally keep mine at about 920 on lean.
An UrgeTo Dance is offline  
Reply With Quote
Old August 1st, 2012, 04:02 PM   #12 (permalink)
mbw
New Member
Thread Author (OP)
 
Join Date: Sep 2010
Posts: 9
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 3 Times in 2 Posts
Default

Again, Thanks for the help. I think I will try the Trinity kernel on the JB AOKP rom first.
mbw is offline  
Reply With Quote
Old August 1st, 2012, 04:15 PM   #13 (permalink)
The Hero of the Winds
 
An UrgeTo Dance's Avatar
 
Join Date: Jul 2010
Gender: Male
Posts: 1,485
 
Device(s): Sprint Galaxy Nexus (rooted) HTC Evo 4G (rooted, unactivated)
Carrier: Not Provided

Thanks: 136
Thanked 583 Times in 335 Posts
Default

Quote:
Originally Posted by mbw View Post
Again, Thanks for the help. I think I will try the Trinity kernel on the JB AOKP rom first.
No problem, here to help.
An UrgeTo Dance is offline  
Reply With Quote
Old August 1st, 2012, 05:46 PM   #14 (permalink)
not really so scary
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,294
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 32,666
Thanked 14,901 Times in 7,292 Posts
Default

Let me clarify a few points and offer some other alternatives to the above discussion:

1. Simply rooting will not keep you from accepting or installing an OTA

2. There are a couple of reasons for an OTA installation to fail:
  • you have a non-stock (custom) recovery installed
  • you have moved/deleted/renamed a system file
An OTA is installed by a stock recovery and the things that it checks (presence and digest comparisons) for must match, otherwise the OTA will fail to install.

3. If, by rooting, you mean installing the root binaries, su and Superuser.apk, then when an OTA installs, the su binary will be stripped of its suid rights/permissions and you will lose root

4. You can, however, save/protect/preserve root on your GNex with an app like OTA RootKeeper or my Android Root Toolkit app (see the link in my signature); after your OTA has been installed, you simply run the restore root function to re-obtain your root capabilities

5. If you want to root without installing a custom recovery, you need only softboot the custom recovery to flash your su.zip to install the root binaries. Softbooting simply temporarily runs the custom recovery "in memory" (that sounds funny because its all "memory") but does not flash it. The steps would be like this:
  • assume you've already unlocked the bootloader
  • reboot into fastboot/bootloader mode
  • fastboot boot my-recovery-image-name.img
  • flash your su.zip file using the custom recovery
  • reboot and enjoy root
6. Also, you CAN flash a custom recovery temporarily and let the system re-flash the stock recovery by making sure you don't remove the mechanism that allows / controls the re-flashing of the stock recovery (i.e., removing or renaming the /system/recovery-from-boot.p file).

Hope that helps!

Cheers
scary alien is online now  
Reply With Quote
The Following 3 Users Say Thank You to scary alien For This Useful Post:
9to5cynic (August 1st, 2012), AARONONE (August 1st, 2012), frenchy714 (August 2nd, 2012)
Old August 1st, 2012, 09:12 PM   #15 (permalink)
Member
 
AARONONE's Avatar
 
Join Date: Dec 2010
Location: Los Angeles area
Gender: Male
Posts: 341
 
Device(s): S3; Gnex (sold); EVO 4g (retired); Samsung Transform (blew up)
Carrier: Not Provided

Thanks: 568
Thanked 168 Times in 118 Posts
Default

Quote:
Originally Posted by mbw View Post
Again, Thanks for the help. I think I will try the Trinity kernel on the JB AOKP rom first.
Good choice. I know most are fans of lean, but Trinity has been the best for me. I am running 1344- 384.

That codename Android 3.0 (jellybean) looks good too.
AARONONE is offline  
Last edited by AARONONE; August 1st, 2012 at 09:15 PM.
Reply With Quote
Old August 3rd, 2012, 10:10 AM   #16 (permalink)
mbw
New Member
Thread Author (OP)
 
Join Date: Sep 2010
Posts: 9
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 3 Times in 2 Posts
Default

I am now already looking at some of the other AOKP unofficial roms on XDA, this one seems to lack the sprint update/prl stuff in about phone which seems strange. It also allows me to do a few things I don't think it should, like the notification bar pulls down on the lock screen... maybe that is correct.

Its a pretty nice rom though in general. Trinitiy and tkt is nice.
mbw is offline  
Reply With Quote
The Following User Says Thank You to mbw For This Useful Post:
AARONONE (August 3rd, 2012)
Old August 3rd, 2012, 12:37 PM   #17 (permalink)
Member
 
AARONONE's Avatar
 
Join Date: Dec 2010
Location: Los Angeles area
Gender: Male
Posts: 341
 
Device(s): S3; Gnex (sold); EVO 4g (retired); Samsung Transform (blew up)
Carrier: Not Provided

Thanks: 568
Thanked 168 Times in 118 Posts
Default

Quote:
Originally Posted by mbw View Post
I am now already looking at some of the other AOKP unofficial roms on XDA, this one seems to lack the sprint update/prl stuff in about phone which seems strange. It also allows me to do a few things I don't think it should, like the notification bar pulls down on the lock screen... maybe that is correct.

Its a pretty nice rom though in general. Trinitiy and tkt is nice.
IMO, Skank is the most polished and stable JB rom out right now. I REALLY like that trinity kernel you're running but Lean is starting to win me over. Might want to give it a go with the color adjustments and see how it functions with your phone.
AARONONE is offline  
Reply With Quote
Old August 3rd, 2012, 03:39 PM   #18 (permalink)
Member
 
sik00's Avatar
 
Join Date: Dec 2011
Location: Indiana
Posts: 276
 
Device(s): Sprint Galaxy Nexus\LG Marquee, Galaxy Tab 10.1
Carrier: Not Provided

Thanks: 44
Thanked 135 Times in 74 Posts
Default

Quote:
Originally Posted by scary alien View Post
6. Also, you CAN flash a custom recovery temporarily and let the system re-flash the stock recovery by making sure you don't remove the mechanism that allows / controls the re-flashing of the stock recovery (i.e., removing or renaming the /system/recovery-from-boot.p file).

Hope that helps!

Cheers
Hey SA..for some reason my stock recovery won't reflash over cwm on the stock rom, and I haven't changed the recovery-from-boot file. Not that I want my recovery overwritten but it would be an easy way to get the stock recovery back on in case I ever have to take the phone in. I've purposely rebooted several times with the stock OS and the recovery from boot file in-tact, but cwm still remains. Any ideas why its not affecting anything?
sik00 is offline  
Reply With Quote
Old August 3rd, 2012, 04:19 PM   #19 (permalink)
not really so scary
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,294
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 32,666
Thanked 14,901 Times in 7,292 Posts
Default

Quote:
Originally Posted by sik00 View Post
Hey SA..for some reason my stock recovery won't reflash over cwm on the stock rom, and I haven't changed the recovery-from-boot file. Not that I want my recovery overwritten but it would be an easy way to get the stock recovery back on in case I ever have to take the phone in. I've purposely rebooted several times with the stock OS and the recovery from boot file in-tact, but cwm still remains. Any ideas why its not affecting anything?
Well, in addition to the /system/recovery-from-boot.p file, there's a script called /system/etc/install-recovery.sh that actually does the installation that would also be necessary for the stock recovery to be re-flashed. I don't really know the details of how that script works (i.e., the "applypatch" invocations), but it does appear to be doing a checksum validation.

Unfortunately, I don't believe there's been a factory image published by Google for the toroplus Sprint version of the GNex, so I haven't supported re-flashing of the stock recovery in my app.
scary alien is online now  
Reply With Quote
The Following 2 Users Say Thank You to scary alien For This Useful Post:
9to5cynic (August 3rd, 2012), sik00 (August 3rd, 2012)
Reply


Go Back   Android Forums > Android Phones > Samsung Galaxy Nexus > (Sprint) 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 10:54 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.