Q re unlocking, rooting and OTA updates - Samsung Galaxy Nexus

Hey all just wanted to clarify something before venturing forward.
1) Unlocking without rooting will still enable OTA updates to be pushed to my yakju GN?
2) Rooting will disable future OTA updates thus requiring manual ROM updates? Each manual update will thus wipe the device and require manual backup and restore of data and apps?
3) What is the reason to unlock the bootloader without rooting? It sees most things like customising boot screen animation, changing icons and using a firewall requires root not just unlock.

Bump! 10cghar.

lazerin said:
Hey all just wanted to clarify something before venturing forward.
1) Unlocking without rooting will still enable OTA updates to be pushed to my yakju GN?
2) Rooting will disable future OTA updates thus requiring manual ROM updates? Each manual update will thus wipe the device and require manual backup and restore of data and apps?
3) What is the reason to unlock the bootloader without rooting? It sees most things like customising boot screen animation, changing icons and using a firewall requires root not just unlock.
Click to expand...
Click to collapse
1. Yes
2. Rooting will not affect OTA updates. If you make any changes to anything outside /sdcard/ it'll cause problems. Manual update will not wipe the device.
3. Unlock bootloader + no root.... this way you can root afterwards if you decide to root and then backup your apps/data.
If you don't unlock.. then one day you decide to root, and you unlock bootloader you lose everything and can't back it up.
You can't change boot animations without root.

As well, unlocking the bootloader allows you to use fastboot commands, which you would otherwise not be able to use.

After rooting are we supposed to lock the bootloader back again? What is the reason for locking it again? Is it to prevent malicious apps from messing with it or unintentional modification?
If after rooting, I locked the bootloader back, can I still install other ROMs and multi boot other ROMs?

I would highly recommend you leave it unlocked. If you lock it, you will lose your data the next time you have to unlock.
Also, having it unlocked allows you to use fastboot commands.
There is no good reason to lock it.
Sent from my Galaxy Nexus using Tapatalk

hmm that sucks. I relocked the bootloader because that's what some tutorials said to do.

kwurky said:
hmm that sucks. I relocked the bootloader because that's what some tutorials said to do.
Click to expand...
Click to collapse
Who was advising that? In any case, if you're already rooted, you can do a full nandroid backup. You could also download TiBackup and back up all your apps and data. Either way, you have something to fall back on when unlock wipes the phone.

Hmm more than one tutorial I read added that step. Even one on xda. I'm not going to go find it now. Anyways it will be a hassle, that's all, nothing I can't handle. I already have Titanium Backup paid version so my apps and data are covered. I don't think I can do a Nandroid backup though because I encrypted all the data on the phone. When rebooting into CWM, it gives me an error when trying to do Nandroid backup. Says it can't access sdcard.

if I unlock, keep stock recovery and stock ICS and root...
Can I still receive OTA updates if I do things like change boot animation, change the default launcher, use samba filesharing?
Thanks guys

garpunkal said:
if I unlock, keep stock recovery and stock ICS and root...
Can I still receive OTA updates if I do things like change boot animation, change the default launcher, use samba filesharing?
Thanks guys
Click to expand...
Click to collapse
Changing the default launcher (as long as you don't delete the original launcher), and using samba will cause no issues. Changing the boot animation may cause you an issue, but just back up the original file before you replace it, so you have a copy just in case.

what about using adaway (as it changes hosts file)...

garpunkal said:
what about using adaway (as it changes hosts file)...
Click to expand...
Click to collapse
Not an issue.
Sent from my Galaxy Nexus using Tapatalk

what about busybox?

garpunkal said:
what about busybox?
Click to expand...
Click to collapse
No, it won't affect anything. Adding files to the ROM doesn't affect it. What does affect the OTA update is deleting or modifying existing files.
Sent from my Galaxy Nexus using Tapatalk

Related

[Q] Help about rooting and other stuff

Sorry if this question has been asked before, but i could not find any.
So i got the Nexus beast yesterday, and it's already blazing me off with it's greatness. But i got a few problems though:
1. I got the jakjuxw, not the jakju, will i get the same updates as the jakju OTA, but only a week later or so?
2. I did not root the phone before starting using it, but i regret that now. Is there any way i can root it and NOT lose all of my apps and data? I have spent so many hours to customize this device and i dont want to start all over (yes i know about app backup's, but they are slow)
3. If i root but stay with the stock rom, will i still be getting the original OTA updates or does i have to flash the roms manually and wipe the phone every time?
I'd appreciate it if anyone could answer all the questions =)
Baguett said:
Sorry if this question has been asked before, but i could not find any.
So i got the Nexus beast yesterday, and it's already blazing me off with it's greatness. But i got a few problems though:
1. I got the jakjuxw, not the jakju, will i get the same updates as the jakju OTA, but only a week later or so?
Click to expand...
Click to collapse
Not sure about this, it probably depends on what they want to release. I don't think there's any kind of guarantee they'll get the same updates, but there's also probably no reason why they wouldn't.
2. I did not root the phone before starting using it, but i regret that now. Is there any way i can root it and NOT lose all of my apps and data? I have spent so many hours to customize this device and i dont want to start all over (yes i know about app backup's, but they are slow)
Click to expand...
Click to collapse
You need to unlock the bootloader to root, and unlocking the bootloader wipes the device. Sorry. Someday an exploit might be found for ICS that allows you to root without unlocking.
3. If i root but stay with the stock rom, will i still be getting the original OTA updates or does i have to flash the roms manually and wipe the phone every time?
Click to expand...
Click to collapse
If you keep stock recovery, you'll still get OTA updates when rooted. If you use custom recovery like ClockworkMod, you'll have to do them manually (but you won't need to wipe). In both cases, applying the update will probably cause you to lose root and you'll have to re-root. This is easy if you've unlocked the bootloader.
If you root by using some future exploit, you might find that the update you just installed removed root and closed the hole that allowed you to gain it without unlocking the bootloader, and now you're left stuck without root. I'd say just unlock the bootloader now and be done with it. It'll be a pain, but then you don't need to worry about it again.
phazerorg said:
If you keep stock recovery, you'll still get OTA updates when rooted. If you use custom recovery like ClockworkMod, you'll have to do them manually (but you won't need to wipe). In both cases, applying the update will probably cause you to lose root and you'll have to re-root. This is easy if you've unlocked the bootloader.
Click to expand...
Click to collapse
ok thanks
Just unlocked it and rooted it, but i think im gonna install the official google 4.0.2 rom, i wil get the OTA updates then too right?
edit: how am i able to flash a rom without CWM? Also do i really not need to wipe my phone if i use CWM? i had to do it on my Desire.
Baguett said:
ok thanks
Just unlocked it and rooted it, but i think im gonna install the official google 4.0.2 rom, i wil get the OTA updates then too right?
Click to expand...
Click to collapse
Yes, but the updates will probably unroot you. You should be able to just re-root after. If using CWM you can probably flash superuser right after flashing the update and not lose root at all. This is what I always did with my Nexus One when I still had the rooted stock ROM.
edit: how am i able to flash a rom without CWM?
Click to expand...
Click to collapse
If the ROM comes as images (like the Google factory images) you can flash with fastboot. The Google ones come with a script that uses fastboot to do it for you.
Also do i really not need to wipe my phone if i use CWM? i had to do it on my Desire.
Click to expand...
Click to collapse
I meant installing updates here... you don't usually need to wipe if you are installing updates to your current ROM, such as OTA updates to the stock ROM. You need to wipe if you're changing ROMs. It's probably no different than your Desire.

[Q] HTC One X rooting questions

So, I'm extremely new to all of this Android modding stuff, and recently got a One X. I'm thinking of rooting it, but I have a couple of questions:
i) When I unlock the bootloader with htcdev.com, will the phone memory and sd card get wiped? If so, how can I backup my contacts etc., and if I just copy-paste the SD card contents back into the phone after it is wiped is it fine?
ii) Can I still receive OTA updates for it? (I'm not thinking of installing a Custom ROM yet, just rooting.)
Thanks in advance!
a704e said:
So, I'm extremely new to all of this Android modding stuff, and recently got a One X. I'm thinking of rooting it, but I have a couple of questions:
i) When I unlock the bootloader with htcdev.com, will the phone memory and sd card get wiped? If so, how can I backup my contacts etc., and if I just copy-paste the SD card contents back into the phone after it is wiped is it fine?
ii) Can I still receive OTA updates for it? (I'm not thinking of installing a Custom ROM yet, just rooting.)
Click to expand...
Click to collapse
i) When you HTCDev unlock, the ROM will be factory reset back, but the SD card contents will remain unwiped. If your contacts are not 'Google' contacts, you will need to back these up to the SD card first. In your 'People' app, go Menu> Manage Contacts> Import/Export Contacts> Export to phone storage. It'll create a .vcf file that you can them import after you are unlocked.
ii) After you have unlocked, you'll currently need to put a custom recovery on, so that you can flash SuperSU. If you use Paul's interim recovery, he also provides a link to the stock recovery, which you will need to flash back if you want to apply an OTA update.
Thanks for the quick reply!
So if I want to update OTA, I revert back to stock recovery, but do not need to re-lock the bootloader? Will this "unroot" the phone?
Also, should I still use the interim recovery or should I use the newly-released official one here? :http://forum.xda-developers.com/showthread.php?t=1594819
a704e said:
Thanks for the quick reply!
So if I want to update OTA, I revert back to stock recovery, but do not need to re-lock the bootloader? Will this "unroot" the phone?
Also, should I still use the interim recovery or should I use the newly-released official one here? :http://forum.xda-developers.com/showthread.php?t=1594819
Click to expand...
Click to collapse
Yes applying an OTA update will unroot the phone. You will not need to re-lock the bootloader as far as I'm aware.
Worth considering is that if you are unlocked and rooted, why go backwards to get an OTA update? As soon as it lands, the devs will get there mits on it and it'll be available here to download and flash.
Why is it you want root? Are you looking to remove system apps?
wnp_79 said:
Yes applying an OTA update will unroot the phone. You will not need to re-lock the bootloader as far as I'm aware. Not certain on this though so please check.
Worth considering is that if you are unlocked and rooted, why go backwards to get an OTA update? As soon as it lands, the devs will get there mits on it and it'll be available here to download and flash.
Why is it you want root? Are you looking to remove system apps?
Click to expand...
Click to collapse
Sent from my HTC One X using xda premium
To update to new firmware versions after root I don't have to use HTC's OTA updates? I didn't realize that, thanks for pointing it out. So, flashing the SuperSU binaries will be like flashing the stock firmware but with root?
I'm looking to root to remove system apps and also to install root-only apps.

[Q] OTA updates run automatically?

This is my first Nexus. If I unlock the bootloader and root, and stay with rooted stock, would a future OTA update relock the bootloader and undo root?
Also, are the OTA updates automatic, or can I choose not to install the update?
Ectoplasmic said:
This is my first Nexus. If I unlock the bootloader and root, and stay with rooted stock, would a future OTA update relock the bootloader and undo root?
Also, are the OTA updates automatic, or can I choose not to install the update?
Click to expand...
Click to collapse
Once you are unlocked, you won't become locked unless you manually lock it. This is the case even if you accept an OTA or factory restore.
Some OTAs are mandatory like the one most people got when they turned on the unit, however most are optional and won't install unless you choose to, either on purpose or by accident.
sfhub said:
Once you are unlocked, you won't become locked unless you manually lock it. This is the case even if you accept an OTA or factory restore.
Some OTAs are mandatory like the one most people got when they turned on the unit, however most are optional and won't install unless you choose to, either on purpose or by accident.
Click to expand...
Click to collapse
However, to be fair, the DEB JLS36I update out there right now will cause you to lose root. It does not lock the bootloader, but it does whack root and custom recoveries. Unless you choose the option in TWRP to recover root after the install, in which case it rolls back the update and keeps both TWRP and root, meaning you are as you were as before. A few days later, you get the prompt to install the update again, and the circle of life continues.
Does that mean rooted and unlocked on JSS15R I can get the next OTA update but I loose root? I dont have any custom stuff like recovery or rom, just unlocked and rooted for a few apps like titanium backup, cpu Z and gemeni app manager
AndroidGreg said:
Does that mean rooted and unlocked on JSS15R I can get the next OTA update but I loose root? I dont have any custom stuff like recovery or rom, just unlocked and rooted for a few apps like titanium backup, cpu Z and gemeni app manager
Click to expand...
Click to collapse
You can get the update and just re-root.
However if you have modified or removed any files, ota will very likely fail. Removing stock app would be an example of removing a file. On the other hand disabling stock app would be fine.
What if I just bought a nexus 7 LTE and already updated to to JLS36I? How would I get root then? Hypothetically of course...
Sent from my Nexus 7 using Tapatalk
lastdeadmouse said:
What if I just bought a nexus 7 LTE and already updated to to JLS36I? How would I get root then? Hypothetically of course...
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
Same way you would if you hadn't installed JLS36I
Unlock bootloader
Boot into custom recovery
Install root

[NOOB Question] Rooting Nexus 7 without installing custom recovery?

After some vigorous searching I've found out that if you don't modify the boot loader then you should be okay receiving OTA updates. I'd like to root my nexus 7 so I can run some apps that require root access. I've looked at many methods on how to root the nexus 7, but from my noob understanding, the majority of these methods require unlocking the boot loader and getting TWRP recovery. Won't that mess up the OTA? I've searched a couple threads but I don't necessarily understand the difference between an unlocked boot loader and a rooted device. The reason I still want to have OTA updates is so that I can still update android and so on.
Thanks for taking the time to read this and help guys!
Pickle_Jr;4f86 said:
After some vigorous searching I've found out that if you don't modify the boot loader then you should be okay receiving OTA updates. I'd like to root my nexus 7 so I can run some apps that require root access. I've looked at many methods on how to root the nexus 7, but from my noob understanding, the majority of these methods require unlocking the boot loader and getting TWRP recovery. Won't that mess up the OTA? I've searched a couple threads but I don't necessarily understand the difference between an unlocked boot loader and a rooted device. The reason I still want to have OTA updates is so that I can still update android and so on.
Thanks for taking the time to read this and help guys!
Click to expand...
Click to collapse
On this platform, at this time, you need to unlock the bootloader to install root.
You don't need to flash/install twrp if you don't want to, but you need to boot into twrp temporarily to install the root files.
Even if you install twrp rather than boot into it temporarily, it won't cause your ota to fail.
The things that cause the ota to fail are
1) modifying or deleting any files with your root permissions
This includes root apps which do things you might not realize
2) installing custom kernel
3) installing earlier version of supersu
sfhub said:
On this platform, at this time, you need to unlock the bootloader to install root.
You don't need to flash/install twrp if you don't want to, but you need to boot into twrp temporarily to install the root files.
Even if you install twrp rather than boot into it temporarily, it won't cause your ota to fail.
The things that cause the ota to fail are
1) modifying or deleting any files with your root permissions
This includes root apps which do things you might not realize
2) installing custom kernel
3) installing earlier version of supersu
Click to expand...
Click to collapse
Awesome! Thanks! So if I understand correctly, as long as I be careful about what root apps I have as well as have a newer (newest) version of SuperSU installed I'll be okay? I'm assuming I'll lose root when I get an OTA update but hopefully when the time comes, there'll be a way to root android 4.4 when the n7 get's it as well. And if something goes wrong I guess I could just unroot, factory reset, and update OTA that way too. Thanks for the help!
Pickle_Jr said:
Awesome! Thanks! So if I understand correctly, as long as I be careful about what root apps I have as well as have a newer (newest) version of SuperSU installed I'll be okay?
Click to expand...
Click to collapse
Yes.
For example, if you freeze a stock app in titanium, that is ok, but if you remove a stock app, then an OTA will likely fail.
If you use stickmount, it modifies a system file and backs it up, then restores it when it is done, but sometimes that gets out of sync, in which case the OTA fails.
There are other examples.
Pickle_Jr said:
I'm assuming I'll lose root when I get an OTA update but hopefully when the time comes, there'll be a way to root android 4.4 when the n7 get's it as well. And if something goes wrong I guess I could just unroot, factory reset, and update OTA that way too. Thanks for the help!
Click to expand...
Click to collapse
If you install root through the stock recovery, you'll lose root permissions (but the files will still be there). Just re-root using the existing procedure.
If you want to save a step, boot into TWRP to install the OTA (which you download manually) and then "chain" install the OTA, then the root install files.
This way, you lose root for half a second until the 2nd install file in the chain runs. Essentially you won't lose root (or won't notice losing root) because the first time you boot into 4.4, you'll have root.

Root questions

I'm on a stock unlocked 10 in the USA. I'm trying to understand all the root options. I really only want root for a couple reasons which is primarily titanium backup and greenify.
I don't believe I need sunshine for this but believe I need to unlock the bootloader. Correct? My concern is what happens with otas? How will I get them? Will I have to unroot every time I want to apply one? Do I have to apply a new recovery for what I want to do?
I also read that there are potential radio issues when rooting. Will I encounter that?
I'm in the same boat and new to htc. You need to unlock the bootloader to root. You only need s-off if you want to flash firmware from other regions etc.
If you flash twrp/root, you can't get OTA updates. So you would have to flash custom rom which hopefully updates to include the latest OTA (will take some time)
Or... You restore back to stock system and recovery (I think?) then get OTA, then reflash twrp and re-root.
I can't find a clear guide anywhere, there are snippets of information hidden away in several post's. Once I understand, I will flash twrp/root and try Leedroid rom, knowing I can restore via nandroid, hopefully. Also think there are issues if you change system, hosts file, gps.conf etc, it's not clear....
So... waiting for clear guidance on, how to restore back to stock, meaning I can try twrp/root/custom rom.
Missing greenify, adblock, changing kernel params, TBackup to debloat and backup
Sent from my HTC 10 using XDA-Developers mobile app
http://forum.xda-developers.com/showthread.php?t=3373025
Sent from my Nexus 5 using XDA-Developers mobile app
Are there any clear instructions on this?
Sent from my HTC 10 using XDA-Developers mobile app
Also do we lose encryption? If we flash back to stock to take an ota, so we have to wipe every time?
Sent from my HTC 10 using XDA-Developers mobile app
Bump....
If you S-Off and S-On, you lose data because you lose/gain encryption keys. (Or.. well, somethin' like that.)
Thanks but I don't think I need s off. I just want to greenify and backup
Sent from my HTC 10 using XDA-Developers mobile app
km8j said:
I'm on a stock unlocked 10 in the USA. I'm trying to understand all the root options. I really only want root for a couple reasons which is primarily titanium backup and greenify.
I don't believe I need sunshine for this but believe I need to unlock the bootloader. Correct?
Click to expand...
Click to collapse
Correct.
km8j said:
My concern is what happens with otas? How will I get them? Will I have to unroot every time I want to apply one? Do I have to apply a new recovery for what I want to do?
Click to expand...
Click to collapse
In order to root, you will need to flash a custom recovery (TWRP) and the latest BETA SuperSU (either the modified version that leaves forced encryption enabled, or the standard version that requires you to specify that prior to flashing). Doing that alone will not break your ability to receive an OTA update. However, for an OTA to be completely installed, stock recovery is required (which replaces TWRP). After rooting, you can return to stock recovery if you desire, and then you should be able to install the OTA with no problem, provided you haven't modified system at all. However, you'll then have to re-install custom recovery and root again, as the new boot.img that's included in the OTA zip will remove root access. Then you can follow the same procedure to be prepared for future OTAs.
The question really becomes, will you be using either of those apps to modify system? I don't personally know how they work and why they need root access - I'm assuming it's to access information under /data. If they're not touching /system, you should be fine.
km8j said:
I also read that there are potential radio issues when rooting. Will I encounter that?
Click to expand...
Click to collapse
The radio issues aren't necessarily related to root - they're related to removing encryption. Using the modified SuperSU or applying the proper flag to the standard SuperSU prevent this from being an issue.

Categories

Resources