[Q] OTA update Query - Nexus 7 (2013) Q&A

Hi, i got my nexus flo a week ago. This is my first nexus device.I have some queries. I have unlocked the bootloader, installed twrp and rooted the device.
Will that prevent me getting OTA?
Also, does having unlocked bootloader and custom recovery cause failure to update the software?
(Not just the JSS15R but future updates to kitkat as well)
Also what is the odex and deodex in this thread? which one should i flash?
http://forum.xda-developers.com/showthread.php?t=2383059

littleromeo said:
Hi, i got my nexus flo a week ago. This is my first nexus device.I have some queries. I have unlocked the bootloader, installed twrp and rooted the device.
Will that prevent me getting OTA?
Also, does having unlocked bootloader and custom recovery cause failure to update the software?
(Not just the JSS15R but future updates to kitkat as well)
Also what is the odex and deodex in this thread? which one should i flash?
http://forum.xda-developers.com/showthread.php?t=2383059
Click to expand...
Click to collapse
Odex vs deodex: http://forum.xda-developers.com/showthread.php?t=2200349
If I understand well, updates will 'fail' with custom recovery, whereas the update is flashed the firmware version number shows the old version. Explained in the guides somewhere.
Sent from my Nexus 7 (2013)

littleromeo said:
Hi, i got my nexus flo a week ago. This is my first nexus device.I have some queries. I have unlocked the bootloader, installed twrp and rooted the device.
Will that prevent me getting OTA?
Also, does having unlocked bootloader and custom recovery cause failure to update the software?
(Not just the JSS15R but future updates to kitkat as well)
Also what is the odex and deodex in this thread? which one should i flash?
http://forum.xda-developers.com/showthread.php?t=2383059
Click to expand...
Click to collapse
Unlocked bootloader has no direct negative effect on ota installs.
With an unlocked bootloader you might do further actions which can affect the ota like modify or delete /system files. You might install an enhancement like apm. Those, among others, would prevent the ota update from completing.
Now normally root by itself would not prevent an ota update, but there was an issue with SuperSU v 1.51 and earlier which did prevent the ota install from completing. This was fixed in SuperSU v1.55 and above.
Installing twrp will not block the ota.
The ota will disable root and overwrite custom recovery by default.
If you would like to prevent that behavior, the easiest way is to
copy the ota update.zip and supersu update.zip to your virtual sdcard
boot into twrp
install ota update.zip
immediately (prior to reboot) re-install supersu

sfhub said:
Unlocked bootloader has no direct negative effect on ota installs.
With an unlocked bootloader you might do further actions which can affect the ota like modify or delete /system files. You might install an enhancement like apm. Those, among others, would prevent the ota update from completing.
Now normally root by itself would not prevent an ota update, but there was an issue with SuperSU v 1.51 and earlier which did prevent the ota install from completing. This was fixed in SuperSU v1.55 and above.
Installing twrp will not block the ota.
The ota will disable root and overwrite custom recovery by default.
If you would like to prevent that behavior, the easiest way is to
copy the ota update.zip and supersu update.zip to your virtual sdcard
boot into twrp
install ota update.zip
immediately (prior to reboot) re-install supersu
Click to expand...
Click to collapse
Thank you for the guide, updated to JSS15R. There were no touchscreen problems for me before the update and everything is just like before even after update. Hope someone comes up with a changelog soon.

Related

[Q]If i root, will i be avalible to revieve OTA updates?

Maybe a noobish question, but im sorry
As the title says : if i root the phone, will i be able to recieve updates OTA ?
edit : and same question : if i get cwr (for nandroid backups) will i be able to recieve OTA updates?
Thanks guys
So long as you're running the stock rom, you should still get OTA updates. They may or may not break root, but you'll have to risk that. If you're running a custom ROM, then you probably will not get OTA updates, but you can of course update your ROM as per the developer builds.
You will remove root if you install an OTA, and I have heard of people actually bricking their phones installing an OTA with root.
installing CWM will break OTA even if you're on the stock ROM because it flashes in stock recovery, not CWM.
...and from the mixed responses you can tell that it wasn't really a noob question. (all answers were partially correct, btw).
The update will still get pushed to your phone, based on the build version of your phone. The custom recovery will fail to install, at which point you can simply install it yourself by performing a manual flash via recovery.
Depending on the extent of the update, you may or may not lose root, and possibly even your custom recovery. Your best option is to manually flash an update, then the su.zip, and I've also put together flashable a script to prevent your custom recovery from reverting to stock at your next boot (I'll post it when I get chance). Flash all the files while in CWM, and you're golden!
I have reached maximum thanks-per-day, otherwise i would give a thanks to all of you..
So, i still have few questions :
1) If i root, get custom CWM, but stock rom, will i still be able to SEE ota update, and to DL it over the OTA (not flash it)?
2) Can i brick my device with flashing ota , while rooted and with custom CWM ?
Thanks in advance
-yes it will still show up.
-it won't brick your device, but the update will fail, and you'll have to pull battery to gay back into the os.
Sent from my Galaxy Nexus using XDA App

Need some help applying OTA update

Hello, first of all, I'm sorry for the noob question. I tried to search for the answer but I got more confused than when I started. I have rooted my SGS3 just to be able to use the Wifi hotspot, I'm not into other modifications or anything, I just wanted the hotspot. Now the phone wants me to update through OTA, but of course it's not working. My questions are:
-Should I go back to stock (following the videos from qbking77) and then apply the OTA? Is it safe?
-Should I go back to stock and MANUALLY update the phone?
-Is LF9 the latest OFFICIAL update?
-Is there anything else I should consider?
I don't care about custom roms or any other modifications, I like the phone vanilla BUT with the hotspot enabled. I was looking through a lot of videos and threads but I could't find a good answer.
Thanks in advance!
The latest official release is LJ7. You have a couple of options to get the update.
- You could go back to stock to accept the update. The key is that you need the stock recovery installed for the update to work normally. You could then reflash the custom recovery if you like.
- You could manually apply the update from the recovery. If you phone is bugging you to apply the update it then you probably already have the update ZIP in your \cache\ folder. You could also download it. The normal OTA update will only work in the CWM recovery (not TWRP) but there are modified versions posted here that remove the check to allow it to work from TWRP.
Other considerations: If you are using the WiFi Tether for Root users it will no longer work one you update to Jelly Bean (LJ7). You will need to unisntall that and get version that was modified by TrevE.
m20120 said:
The latest official release is LJ7. You have a couple of options to get the update.
- You could go back to stock to accept the update. The key is that you need the stock recovery installed for the update to work normally. You could then reflash the custom recovery if you like.
- You could manually apply the update from the recovery. If you phone is bugging you to apply the update it then you probably already have the update ZIP in your \cache\ folder. You could also download it. The normal OTA update will only work in the CWM recovery (not TWRP) but there are modified versions posted here that remove the check to allow it to work from TWRP.
Other considerations: If you are using the WiFi Tether for Root users it will no longer work one you update to Jelly Bean (LJ7). You will need to unisntall that and get version that was modified by TrevE.
Click to expand...
Click to collapse
Thanks for the help! Yes I think I have CWM on. I followed a video from qbking77 (I think) and installed it. Or at least it was something like custom recovery or something the like. Do you think I can apply the update directly from CWM? Or it would be easier (and cleaner) to go back to stock recovery and do it "officially". Also, are all stock recovery the same? I ask because there are some different files in qbking77's website. I don't know if the version of stock recovery matters at all. Also, thanks for the tip on the modified app.
You probably have CWM recovery. You only need the stock recovery if you want to let the phone apply the OTA (i.e. it prompts you to accept the update). You also have to have the phone in a completely stock state (root is ok). You can not have any modified system files.
If you want to apply the update manually you can also do that with CWM. You can copy the file (something like eec955eb4a5b.update_SPH-L710_LI3_to_LJ7.zip) from the \cache folder to the internal sdcard of your phone. You can then boot into CWM recovery and apply flash the ZIP update. You must have stock system files in order for this update to work also.
If you have modified any system files (I removed the system version of Swype) you have to get back to stock in either case.
m20120 said:
You probably have CWM recovery. You only need the stock recovery if you want to let the phone apply the OTA (i.e. it prompts you to accept the update). You also have to have the phone in a completely stock state (root is ok). You can not have any modified system files.
If you want to apply the update manually you can also do that with CWM. You can copy the file (something like eec955eb4a5b.update_SPH-L710_LI3_to_LJ7.zip) from the \cache folder to the internal sdcard of your phone. You can then boot into CWM recovery and apply flash the ZIP update. You must have stock system files in order for this update to work also.
If you have modified any system files (I removed the system version of Swype) you have to get back to stock in either case.
Click to expand...
Click to collapse
Ok, so the only thing I did is install the wfi hotspot app after rooting, I didn't touch anything else. So I shouldn't worry about system files, right?
You mentioned that since my phone is bothering me with updates notifications, it is because it already downloaded the update into the "cache," right? So I should just find that file, put it in the sdcard and flash from CWM? It's really that easy?
nahuelarg86 said:
Ok, so the only thing I did is install the wfi hotspot app after rooting, I didn't touch anything else. So I shouldn't worry about system files, right?
You mentioned that since my phone is bothering me with updates notifications, it is because it already downloaded the update into the "cache," right? So I should just find that file, put it in the sdcard and flash from CWM? It's really that easy?
Click to expand...
Click to collapse
It is probably there if it is prompting you to update.
One step that I almost forgot about. When you do the update you will reinstall the script that detects a custom recovery and it will install the stock recovery.
There is a good procedure here that gives you the step by step process, including flashing the Team Epic file to prevent the updated ROM from restoring the stock recovery. If you do not flash the Team Epic file the update will still be successful and you will still have root, you will just end up with the stock recovery.
The process is really easy and it is the one that I used to update from LI3 to LJ7.

rooting and ota

Hi,
I might sound dumb but will I be ablle to get OTA updates if I install custom recovery and root.
thechamp007 said:
Hi,
I might sound dumb but will I be ablle to get OTA updates if I install custom recovery and root.
Click to expand...
Click to collapse
No. OTA updates require stock recovery. However, you can revert to stock recovery and unroot as you please. Also, you can flash OTA updates through TWRP once a flashable zip is made, except you have to download it and flash it manually, just like installing a custom ROM. Cheers.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4
I received the last update through OTA on a rooted Stock ROM with TWRP installed.
After the install was finished TWRP asked if I wanted to restore the root. All went smoothly.
To clarify.. I did not flash the ROM. I used the normal OTA update.
tigerdim said:
I received the last update through OTA on a rooted Stock ROM with TWRP installed.
After the install was finished TWRP asked if I wanted to restore the root. All went smoothly.
To clarify.. I did not flash the ROM. I used the normal OTA update.
Click to expand...
Click to collapse
I believe you can on small point updates. The full update from 4.3 to 4.4 most likely won't work with a custom recovery.
nbehary said:
I believe you can on small point updates. The full update from 4.3 to 4.4 most likely won't work with a custom recovery.
Click to expand...
Click to collapse
you must have stock /system folder + stock recovery
you can be rooted, by if you delete some files in /system - you break your ota
new ota will be with new radio too
after ota super-su apk will be removed by the ota
---------------
i restored /system apps from sdcard before 4.3 ota and migrate very well from 4.2.2
The ota 4.3 update removed my root and Twrp. Hope 4.4 doesn't do the same. It's always a pain for me to restore root with my Windows 7 laptop. It keeps installing the wrong usb drivers which get in the way of the wugfresh toolkit access to the nexus 7. So it's no easy task for me.

OTA Update

I have rooted my Nexus 7 wifi 2012 tablet with TWRP
I don't want to keep un-rooting, applying ota updates then re-rooting my tablet. Is there an easy way. Maybe modified images i can use on a rooted tablet which i can install via the install option in twrp recovery loader.
I also notice that Nexus root tool kit has a ota sideload update option in the advanced menue.
So my question is where are the modifies ota update files if they exist as I don't want to keep un-rooting, rerooting each time to apply official ota updates. I have searched the net and can't find modifies ota updates?
My OTA failed due to root and modifications so I extracted system.img and boot.img from the 5.1 tarball and flashed them using Nexus Root Toolkit. Works well.
I'm going through the same issue - I want to keep running stock, but every time an OTA update comes in, it bugs me for an update until I go through the whole process of finding the files elsewhere, using the Toolkit to flash them etc etc.
Is there a better way to do this automatically? Can I find the downloaded OTA package on the Nexus and just flash it from there?
Since Lollipop, you can't take an OTA in any way (official or sideload) if you've modified your system. Rooting, custom recovery or kernel. Unrooting does not help since the system already has been modified.
Easiest way to upgrade and still keep your data is to flash the factory image but leave out userdata.img. This can be easily done through NRT (No wipe mode) if command prompt is scary. Yes you'll have to reroot... But hey, this is a Nexus, it's easy.
I assume that means waiting for someone to post the update?
If you want to wait for someone to make a prerooted image, then yes. Otherwise just download the official factory image (Google it) and go for it.
Google doesn't always release OTAs and factory images at the same time, so some waiting will probably always be involved...
Drives me crazy. TWRP used to be able to intercept a OTA flash, flash the needed images, detect you lost root and ask to restore root.
Somewhere that disappeared.
I just flashed a very old stock and took every OTA to 5.0.2, rooted, setup... now getting bombarded with 5.1.1 update notification. Ugh
Didgeridoohan said:
Since Lollipop, you can't take an OTA in any way (official or sideload) if you've modified your system. Rooting, custom recovery or kernel. Unrooting does not help since the system already has been modified.
Easiest way to upgrade and still keep your data is to flash the factory image but leave out userdata.img. This can be easily done through NRT (No wipe mode) if command prompt is scary. Yes you'll have to reroot... But hey, this is a Nexus, it's easy.
Click to expand...
Click to collapse
I need to flash the latest lollipop image to my rooted nexus with TWRP. I know where to find the images but don't remember how to flash it. What exactly are the steps and how do I leave out userdata.img ?
And what are the steps to reroot lollipop?
Thanks
i keep getting the offer to download the 5.1 update but when i do it dloads it then tries to reboot into recovery to flash it but it obviously boots into TWRP recovery which is no good.
So the question is when it dloads the update where does it dload to?
and could i flash it from TWRP if i find it?

Using OTA's when rooted

I have my M8 running the GPE ROM which I have rooted. On previous Android versions, I was able to apply the OTA albeit manually in the custom recovery.
The last few OTA's I have attempted on my M8 have been a complete failure and I have ended up having to wipe and apply a factory image. Recently therefore i have been ignoring the updates (L-MR1 has been bugging me to install for weeks!)
Is there a method of applying these updates with the phone rooted?
Thanks
An ota will install with root applied BUT you have to make sure the system partition is untouched. This means that ALL the "stock" apps need to be there and nothing can be removed. xposed is also a known bugger to refuse official ota updates. And a must have is the HTC stock recovery. An ota never installs through a custom recovery !

Categories

Resources