[Q] Nexus 4 Root + OTA updates + Autoroot - Nexus 4 Q&A, Help & Troubleshooting

Hello guys!
On 25th Jan I'll receive my Nexus 4 when I come back home. (so excited!) So my question to you is how can I get Root access and still getting the OTA updates from google.
Here's the whole story -
I want to root my Nexus right away. (this includes unlocking the bootloader and rooting it as far as I'm concerned)
I want to be able to receive OTA updates, because I'm not interested in flashing custom ROMs (for now).
I want my Nexus to keep its root state after update. I've heard that some guys did this on their N7s so I guess it's possible.
The reason I want this is because I like stock ROM and would like to receive new goodies that Google might be pushing out. Also I'd like to be able to flash some mods and install some useful apps that require root. This is the whole deal.
So, can somebody guide me to how to do all this? (not the actual steps, but links, articles, posts etc.)
Thank you very much!

OTA Root Keeper
https://play.google.com/store/apps/details?id=org.projectvoodoo.otarootkeeper
1/root without flashing recovery
2/Don't modify any of your system file
3/Receive OTA notification
4/protect root using Root Keeper
5/Apply OTA
6/Restore root
That's very little work. If you want all of that (like 4 taps in a year) automated, you already spent more work writting this post
Sent from my Nexus 4 in a Faraday cage

Related

Updating a Nexus 7 Once Rooted

Alright, to start off, I apologize if there is a thread already on this (I searched but couldn't find anything).
I am a complete noob at rooting and don't know much about it. I plan on rooting my Nexus 7 in order to get Stickmount for additional storage on my device. My worry isn't about that, after I root it, how easy will it be to update it when a update for the Nexus 7 is released? I heard of stuff like flashing a rom with a updated software or flashing a modified firmware. Will tutorials be available for this when the time comes?
Extratex said:
Alright, to start off, I apologize if there is a thread already on this (I searched but couldn't find anything).
I am a complete noob at rooting and don't know much about it. I plan on rooting my Nexus 7 in order to get Stickmount for additional storage on my device. My worry isn't about that, after I root it, how easy will it be to update it when a update for the Nexus 7 is released? I heard of stuff like flashing a rom with a updated software or flashing a modified firmware. Will tutorials be available for this when the time comes?
Click to expand...
Click to collapse
After you root, install OTA rootkeeper from the market. I assume it works with the Nexus 7, not sure why it wouldn't, but this keeps your device from losing root after an OTA. You can also install clockworkmod recovery and install any ROM you want which makes more sense considering this is a nexus device after all
Sent from my Nexus 7 using Tapatalk 2
hic9582 said:
After you root, install OTA rootkeeper from the market. I assume it works with the Nexus 7, not sure why it wouldn't, but this keeps your device from losing root after an OTA. You can also install clockworkmod recovery and install any ROM you want which makes more sense considering this is a nexus device after all
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
i can confirm this works.
i tested out a few different scenarios last night.
booted up device, ran update, unlocked bootloader, put bad boot.img on
restored to factory, rooted, booted, used OTA Keeper, ran update, rebooted and root was gone. ran OTA Keeper to restore and BAM! root was back
hic9582 said:
After you root, install OTA rootkeeper from the market. I assume it works with the Nexus 7, not sure why it wouldn't, but this keeps your device from losing root after an OTA. You can also install clockworkmod recovery and install any ROM you want which makes more sense considering this is a nexus device after all
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
I just looked up that app, it seems it's already integrated into SuperSu (that's the one I'm planning on getting). I just want to know if it's easy or not to upgrade the device once it's rooted.
OTA rootkeeper is on super Su ???
Sent from my Nexus 7 using xda premium
armyboy11b said:
OTA rootkeeper is on super Su ???
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
"The application doesn't support original Superuser and not SuperSU for a very simple reason. The same feature OTA protection feature is already present in SuperSU."
That's what it said on the app overview section.
SuperSU Premium has it and it worked for me on my T-Mobile G2x when I updated to new OTA. Don't know if free version has it
Sent from my Galaxy Nexus
I'm a noob to this type of stuff so if free SuperSU DOES have the OTA rootkeeper, does that mean I can update my device without any trouble?
If it doesn't, what methods can I take to update it without causing any damage?
Pretty sure its only in the paid version its called survival mode
Sent from my Galaxy Nexus using XDA
OP: You should calm down. I mean that in the nicest way possible. This is a Nexus device. You can unlock your device anytime you want. You can simple re-root if you happen to lose root, there well always be a method. If you like to be on stock, you can just flash the updated stock firmware. Chances are someone will pack a nice stock rooted firmware within a couple hours of it being released, possibly before you even get a notification that there is a new update.
Sorry if I came out as panicky, it's just that I never did this before so I don't know what's right from wrong. Well I'm sure I'll get used to it eventually, thanks for the help.

[Q] Nexus 4 rooting and oem updates after

Hi,
I know there is a lot of comments about why root nexus 4. The reason for me is that I know there is a lot of small fixes which i can install (battery kernel... I think i can install just to rooted phpne) but for me the main thing is that I know in time I will get very lazy about installing new roms. I have htc desire and last time i installed new rom year ago. The same with my xoom.
So my question is, if i root my phone, will i be abble to update original rom just by going to settings-about-update? It doesnt work on my desire and xoom. But i installed unoficial roms there. But if i just want to unlock the phone for little fixes and still be able to get updates from google... Is that possible?
Sorry if it is stupud question,...
Thx
milos797 said:
Hi,
I know there is a lot of comments about why root nexus 4. The reason for me is that I know there is a lot of small fixes which i can install (battery kernel... I think i can install just to rooted phpne) but for me the main thing is that I know in time I will get very lazy about installing new roms. I have htc desire and last time i installed new rom year ago. The same with my xoom.
So my question is, if i root my phone, will i be abble to update original rom just by going to settings-about-update? It doesnt work on my desire and xoom. But i installed unoficial roms there. But if i just want to unlock the phone for little fixes and still be able to get updates from google... Is that possible?
Sorry if it is stupud question,...
Thx
Click to expand...
Click to collapse
I believe that OTA updates just flash the stock kernel again, so you could unlock, root and flash a different kernel without fear of losing OTA updates. However, OTA updates will force you to lose root and you will have to flash the custom kernel again. You will continue to get notifications that say that there is a new update as long as you aren't also on a custom ROM
If you are running the stock ROM you will still get and ota notification. However if you've made any modifications such as a custom kernel, build.prop edit, system.ui edit, etc. The ota will fail upon installation.
If all you do is get root access it will install fine. You'll just have to flash the su binaries again.
Sent from my Nexus 7 using xda premium
Actually, SU has a survival mode that will preserve root even after OTA. CWM will also protect ropt so you don't have to reroot it. My Nexus 7 has been stock rooted and went thru 2 OTAs without losing root.
Skickat från min Nexus 4
Sorry to hijack,
My question is, I am rooted with stock rom but have CWR and a different kernel.
When the next OTA comes, I would need to download the whole rom because of CWR and kernel.
Question I have is that if I want to flash the OTA, would I need to wipe my device or can I just flash the ROM ontop. I know my old device (DHD) I had to wipe everything before I install the ROM. The reason why I am asking is because can I get away with just flashing on top therefore keeping all my data on my device so I no need to restore it via titanium backup (I am lazy)

Root and OTA update

Hello.
If I root my Nexus 4, can I still update my Nexus over OTA updates?
Can I keep the original Google firmware?
Thank you.
You can get the OTA updates, you keep the original Google firmware, and as far as I know you either have to install OTA root keeper to keep rooted or get superSU premium that has an option to stick after updates.
If you also use a custom recovery like CWM you probably have to install the update manually through the recovery.
Also, this is a pretty frequently asked question, in the future you'll probably get quicker/more detailed answers if you google first

[Q] Nexus 4 Root Question

Hi, I'm new to all of this rooting stuff so I'm sorry if my questions seem stupid.
Anyway, I have a Nexus 4 16 GB from the playstore and I am planning on rooting it soon so I can use apps such as Titanium Backup. I recently upgraded it to 4.3 and I plan on following this guide to root it :http://www.youtube.com/watch?v=jn5ih0omlxI
After this I plan on installing a custom kernel so that I can use apps to enhance the screen colors (any suggestions for the kernel?)
So my question is that will I be able to receive any OTA updates after this without having to re-root? For example, will I get the next update while still maintaining root.
neogamma said:
Hi, I'm new to all of this rooting stuff so I'm sorry if my questions seem stupid.
Anyway, I have a Nexus 4 16 GB from the playstore and I am planning on rooting it soon so I can use apps such as Titanium Backup. I recently upgraded it to 4.3 and I plan on following this guide to root it :http://www.youtube.com/watch?v=jn5ih0omlxI
After this I plan on installing a custom kernel so that I can use apps to enhance the screen colors (any suggestions for the kernel?)
So my question is that will I be able to receive any OTA updates after this without having to re-root? For example, will I get the next update while still maintaining stock.
Click to expand...
Click to collapse
In not an expert on what requirements there are too receive ota updates, but I can talk about kernels.
Most of them have some sort of color calibration settings available. All except Trinity kernel as far as I've seen. They all have different features these are worth exploring. My favorites are AK, Matr1x, and Purified if you'd like a few ideas to start with.
You can use Trickster mod from Google play to tweak kernel settings.
You can refer to this spreadsheet for color ideas.
http://forum.xda-developers.com/showthread.php?t=2039607
Sent from my Nexus 4 using Tapatalk 4
No, you can't OTA mantaining the custom kernel, but there are ways to keep root while doing an OTA upgrade.
Sent from my Nexus 4 with Tapatalk 4

[Q] Does rooting my Nexus causes OTA updates to fail?

Hi all,
I've been searching this forum (and the rest of the internet) for this question but there are not really similar answers.
I would like to root my nexus 4 just to be able to change the host file in the system folder. The rest if the phone I would like to remain stock (for now). But since android 4.4 is coming up I was wondering if it is still possible to receive the OTA update after performing this action.
Anyone knows an answer to this question?
Verstuurd van mijn Nexus 4
Mr. Tijntje said:
Hi all,
I've been searching this forum (and the rest of the internet) for this question but there are not really similar answers.
I would like to root my nexus 4 just to be able to change the host file in the system folder. The rest if the phone I would like to remain stock (for now). But since android 4.4 is coming up I was wondering if it is still possible to receive the OTA update after performing this action.
Anyone knows an answer to this question?
Verstuurd van mijn Nexus 4
Click to expand...
Click to collapse
edit: I am checking on something for you... you will receive OTA updates but checking to see if host file is one of the files it checks before it upgrades.
More than likely any changes to your system folder will cause it too fail
http://forum.xda-developers.com/showthread.php?t=2417810
In my experience you still receive OTA updates, but you lose root while updating. I'm not sure if the hosts file is changed though.
If you're rooted and you've stock recovery then you'll be able to Upgrade but if you've rooted n installed 3rd party recovery then you'll receive update but it won't install. It will fail.
meZQureshi said:
If you're rooted and you've stock recovery then you'll be able to Upgrade but if you've rooted n installed 3rd party recovery then you'll receive update but it won't install. It will fail.
Click to expand...
Click to collapse
Are you sure about that? I've been running cwm recovery ever since 4.2.0. Every ota update was received and installed without issues, but I always simply lost root until a new method for the new android release appeared.
You can still receive OTA but I would suggest not accepting it and flash it manually using a "safe" method. The OTA update from 4.2 to 4.3 caused problems on rooted phones. Usually it is fine but 4.3 changed the file system which caused the problem, so better be safe than sorry.
Sent from my Nexus 4 using Tapatalk
Thank you all for your replies, this tells me again that it is quite difficult to say what happens. Since KitKat is probably coming to the Nexus 4 one of these days I will stay stock for now and decide later if I want to root my phone.
I used superSU Pro, and turned on "survival mode" when I did the OTA update to 4.3, and didn't have any problems losing root. Sometimes I'll get a message say I may have lost root access, but I've never had any problems with apps that require root.
Sent from my Nexus 4 using XDA Premium 4 mobile app
on the last update.. I wasn't getting the OTA until I unrooted. I think you have to unlock the bootloader too.. then I immediately received the OTA. I didn't have stock recovery. I was glad that I didn't have to wipe everything.. I then re-rooted.. was good to go.

Categories

Resources