Related
Hello XDA,
Im quite sure this has already been asked on the forum but i couldn't find an answer.
I need some advise about my recently rooted Nexus 6. I want to fully enjoy from a custom recovery but i dont want to lose the option of receiving OTA updates to my phone.
What do you guys do so your nexus keeps getting the lastest of Android?
Can i use WugFresh's root toolkit to sideload OTA updates even when i have a custom recovery?
What other ways can i use to update Android?
Thanks,
No but you could use the tool kit to reload recovery and stock then take your OTA then reroot and reload TWRP.
And you can side load but it is important you understand exactly what you're doing. the kit does nothing more than you can from the command line it just tries to save you from yourself. it can be a help or hindrance. If you don't understand what's going on it will be the latter
Sent from my Benzo'd Google N6 on VZ
If you've got root and/or custom recovery, since Lollipop you can forget about OTA. And if you're gonna go through the hassle of flashing stock recovery and unrooting to get the OTA, you might as well just flash the latest factory image straight away. Just remember to leave out userdata.img so you can keep your data...
Didgeridoohan said:
If you've got root and/or custom recovery, since Lollipop you can forget about OTA. And if you're gonna go through the hassle of flashing stock recovery and unrooting to get the OTA, you might as well just flash the latest factory image straight away. Just remember to leave out userdata.img so you can keep your data...
Click to expand...
Click to collapse
Agreed. OTA is overrated. If I was on T-Mobile or the factory image was not available. I would grab the radio and load what I wanted.
Now I am running the E radio and the i build on VZ
Sent from my Benzo'd Google N6 on VZ
Didgeridoohan said:
you might as well just flash the latest factory image straight away. Just remember to leave out userdata.img so you can keep your data...
Click to expand...
Click to collapse
what do you mean flashing directly?
Can i use Simple recovery switcher to eaisly switch to stock recovery without unrooting and get the OTA update?
torecdude said:
what do you mean flashing directly?
Can i use Simple recovery switcher to eaisly switch to stock recovery without unrooting and get the OTA update?
Click to expand...
Click to collapse
Click the link in my signature for more information on OTA updates. No modifications of any kind to system can be made for an OTA to flash successfully.
Didgeridoohan said:
If you've got root and/or custom recovery, since Lollipop you can forget about OTA. And if you're gonna go through the hassle of flashing stock recovery and unrooting to get the OTA, you might as well just flash the latest factory image straight away. Just remember to leave out userdata.img so you can keep your data...
Click to expand...
Click to collapse
Evolution_Freak said:
Click the link in my signature for more information on OTA updates. No modifications of any kind to system can be made for an OTA to flash successfully.
Click to expand...
Click to collapse
Thank you, your thread as helped me alot. But i didnt understand why did you posted OTA files that are flashable with TWRP altough we cant update lollipop with rooted devices?
Guess im going to have to unroot and flash stock recovery to OTA update directly from google or use a pure shamu rom.
Updating via OTA on a Nexus is an undesirable method IMO. As mentioned previously, if you download and flash the factory images, you avoid the potential update failures in an OTA from modified stock parameters. As for recovery, you don't need to flash a custom recovery, you can simply boot a custom recovery from the PC using fastboot and having the recovery image of choice in your platform tools.
fastboot boot name_of_recovery_image_here.img
I don't flash from the device any more. Keeps me out of trouble. Being connected to the PC helps remind me to move a copy of my backup to the PC before flashing.
torecdude said:
Thank you, your thread as helped me alot. But i didnt understand why did you posted OTA files that are flashable with TWRP altough we cant update lollipop with rooted devices?
Guess im going to have to unroot and flash stock recovery to OTA update directly from google or use a pure shamu rom.
Click to expand...
Click to collapse
I put the link to that thread in mine as a quick way for people who are rooted/unlocked and running a custom recovery to find. Those are not the "official" way of updating. They work because someone here put the time in to make them work for unlocked/rooted users. No, you can't use an "official" OTA process if you've altered your device but that method uses TWRP to flash just like you were flashing a custom ROM.
I'm glad my thread has helped you! Since I'm not a developer yet, it is my sole purpose here to help users with anything I can. So a comment like that is very reassuring that I'm on the right path.
I have a nexus 6. I have been using custom ROMs from the days of xperia mini pro. Never had a Nexus before. I want to have root in my nexus 6 for ad blocking cereberus and more. But this time I don't want custom ROMs. I just need the OTA's. I know OTA's dont happen automatically after root. So please tell me should I root and put a custom recovery, Or just root for manually updating the OTA's. Where can I get all the OTA's ?? I know it's a lot of questions.. Please.
Quick answer: Isn't going to happen.
Reason: Lollipop wont install OTA if you modify /system, because it is now written as a block, unlike previous versions of android.
IF you root, you have modified /system.
Consequence: you will not update by OTA while rooted. It will fail.
Possible workaround: You can however AFAIK, unroot and then take an OTA, but I'll let others confirm this, please don't take me saying it as factual.
Factory image flash: always works, but you have to await the release after the updates.
mad_rulzzz said:
I have a nexus 6. I have been using custom ROMs from the days of xperia mini pro. Never had a Nexus before. I want to have root in my nexus 6 for ad blocking cereberus and more. But this time I don't want custom ROMs. I just need the OTA's. I know OTA's dont happen automatically after root. So please tell me should I root and put a custom recovery, Or just root for manually updating the OTA's. Where can I get all the OTA's ?? I know it's a lot of questions.. Please.
Click to expand...
Click to collapse
FWIW: I would recommend that you:
1) Unlock bootloader
2) Decide if you want uncrypted kernel, or not (since it wipes data, just like unlocking bootloader).
3) Fastboot flash TWRP recovery.
4) Download SuperSU .zip and flash it in recovery.
5) Now, when a new OTA comes out, they usually show up here > http://forum.xda-developers.com/nexus-6/general/ref-nexus-6-stock-ota-urls-t2906493
6) You can download your current factory image here > https://developers.google.com/android/nexus/images
7) Unzip your current factory image. Fastboot flash the system.img and that will unroot and restore the stock recovery.
8) Fastboot flash the stock boot.img if you have a custom kernel (or an unencrypted stock kernel).
9) Relax and wait for the OTA.
RW-1 said:
Quick answer: Isn't going to happen.
Reason: Lollipop wont install OTA if you modify /system, because it is now written as a block, unlike previous versions of android.
IF you root, you have modified /system.
Consequence: you will not update by OTA while rooted. It will fail.
Possible workaround: You can however AFAIK, unroot and then take an OTA, but I'll let others confirm this, please don't take me saying it as factual.
Factory image flash: always works, but you have to await the release after the updates.
Click to expand...
Click to collapse
I knew about the OTA failing due to the system partition getting changed while rooting. I think what I was looking for what cam30era just explained!!!
mad_rulzzz said:
I have a nexus 6. I have been using custom ROMs from the days of xperia mini pro. Never had a Nexus before. I want to have root in my nexus 6 for ad blocking cereberus and more. But this time I don't want custom ROMs. I just need the OTA's. I know OTA's dont happen automatically after root. So please tell me should I root and put a custom recovery, Or just root for manually updating the OTA's. Where can I get all the OTA's ?? I know it's a lot of questions.. Please.
Click to expand...
Click to collapse
You can just update in fastboot without an OTA. Just flash the new bootloader, system and possibly the new boot.img in fastboot and reroot. Erase and flash cache.img afterwards. Thats how i do it at least.
mad_rulzzz said:
I knew about the OTA failing due to the system partition getting changed while rooting. I think what I was looking for what cam30era just explained!!!
Click to expand...
Click to collapse
What he just explained is what I said, unroot and take the OTA.... He listed how as well.
RW-1 said:
What he just explained is what I said, unroot and take the OTA.... He listed how as well.
Click to expand...
Click to collapse
Yup.
@rw_1 @cam30era thanks guys
I would do what gee2012 said.
From what I have seen the OTA and the images are released pretty close together.
Instead of flashing images to get back to stock and waiting for the OTA. and then re-rooting
Just download the image files from Google. Manually flash all the files EXCEPT user data if you want to keep your data.
Re-root.
You are now updated and don't have to wait for OTA.
Either way works so it depends on which you are happier with.
mad_rulzzz said:
@rw_1 @cam30era thanks guys
Click to expand...
Click to collapse
Welcome. And BTW: there's a button for that.
gee2012 said:
You can just update in fastboot without an OTA. Just flash the new bootloader, system and possibly the new boot.img in fastboot and reroot. Erase and flash cache.img afterwards. Thats how i do it at least.
Click to expand...
Click to collapse
Just to be sure I understood right:
If I don't care about app data or settings ( I have titanium backup),
1)I can just unlock the boot loader
2)Flash the latest factory image from [developers.google.com/android/nexus/images]
3)Root using chain fire's tool
And repeat the process when the factory image of the next version is uploaded by google.
one last thing... Does Google upload factory images after each OTA happens?
cam30era said:
Welcome. And BTW: there's a button for that.
Click to expand...
Click to collapse
My BAd!!
mad_rulzzz said:
If I don't care about app data or settings ( I have titanium backup),
1)Can I just unlock the boot loader
2)Flash the latest factory image from [developers.google.com/android/nexus/images]
3)Root using chain fire's tool
And repeat the process when the factory image of the next version is uploaded by google.
Does Google upload factory images after each OTA happens? i.e; If Nexus 6 receives an OTA to 5.2, will they upload the 5.2 factory image soon?
Click to expand...
Click to collapse
When you unlock the bootloader it will wipe the contents of your SD card. Make sure it is backed up on your PC.
Unfortunately, not every OTA gets published as a factory image. Most, but not all. Case in point: LMY47M.
cam30era said:
Unfortunately, not every OTA gets published as a factory image. Most, but not all. Case in point: LMY47M.
Click to expand...
Click to collapse
I noticed that.... But that build is only for T-Mobile users, I guess...
Minor Differences, for example; If you take the android builds for Indian phones they are required by law to display the SAR rating. So I wouldn't worry about LMY47M, unless they have changed something to fix the memory leaks.
mad_rulzzz said:
I noticed that.... But that build is only for T-Mobile users, I guess...
Minor Differences, for example; If you take the android builds for Indian phones they are required by law to display the SAR rating. So I wouldn't worry about LMY47M, unless they have changed something to fix the memory leaks.
Click to expand...
Click to collapse
Correct. M is intended for T-Mobile. My point, though, is that Google doesn't always, 100% of the time publish a factory image for every OTA.
Hello All,
A few months ago I got a Nexus 6 as a replacement for a Moto 2014. I love Nexus devices and used to flash roms back in the day and now I am a little lost. I followed some instructions when I first got the device on how to set up Root using WUGFresh Root Tool Kit: http://www.wugfresh.com/nrt/ I also installed TWRP recovery. I can't remember how I actually got here because I did it a while back. I rooted and set up a custom recovery.
I am on 5.1.1 at the moment.
Kernel Version: 3.10.40-gc16a3c6
[email protected] #1
Tue Jul 28 17:58:25 UTC 2015
Build Number:
LMY48W
Im on AT&T
I can't remember how I actually got here because I did it a while back. I rooted and set up a custom recovery (I think) and I basically started from scratch and had to reinstall everything. I want to update to Marshmallow and I have a few questions.
1.) If I do update it to the Marshmallow 6.0.1 will I lose all my data and installed programs?
2.) Where can I get the closest to stock Marshmallow 6.0.1 or 6.0 for the Nexus 6?
3.) Whats the best way to install it?
4.) If I get an OTA should I install it? What will happen if I do?
Sorry for all the NEWB questions. I got so lost in all the documentation, references, XDA developers, multiple versions of custom recoveries I can't figure out what I did anymore and I can't figure out what to do!
TLDR: I have a Nexus 6 on 5.11 LMY48W, phone is rooted, I have TWRP, how can I get step by step instructions to install the best and most up to date Marshmallow for Nexus 6?
First and foremost: Please, don't use rootkits and toolkits, the Marshmallow updates come fast, toolkit developers will always be a step behind. Not to mention, that if something goes sideways (and wirh Marshmallow it probably will), you won't have the knowledge to fix it.
So:
4) You're rooted, you won't get an OTA
1) Since you won't get an OTA, you must flash by hand, and you should always do a clean install when doing a version upgrade
3) Now you can decide if you do a full factory setup, with flashall, or you can choose to learn how to flash images one by one, then if you don't flash userdata, and you do the factory reset from a custom recovery, you'll have all your files intact. But the stock recovery deletes everything when doing factory reset.
https://developers.google.com/android/nexus/images?hl=en#instructions
2) https://developers.google.com/android/nexus/images?hl=en#shamu
Scroll down to the most recent one: 6.0.1 (MMB29K)
istperson said:
First and foremost: Please, don't use rootkits and toolkits, the Marshmallow updates come fast, toolkit developers will always be a step behind. Not to mention, that if something goes sideways (and wirh Marshmallow it probably will), you won't have the knowledge to fix it.
So:
4) You're rooted, you won't get an OTA
1) Since you won't get an OTA, you must flash by hand, and you should always do a clean install when doing a version upgrade
3) Now you can decide if you do a full factory setup, with flashall, or you can choose to learn how to flash images one by one, then if you don't flash userdata, and you do the factory reset from a custom recovery, you'll have all your files intact. But the stock recovery deletes everything when doing factory reset.
https://developers.google.com/android/nexus/images?hl=en#instructions
2) https://developers.google.com/android/nexus/images?hl=en#shamu
Scroll down to the most recent one: 6.0.1 (MMB29K)
Click to expand...
Click to collapse
Thanks. Since I am using the Nexus 6 do you recommend that I set it back to factory settings to get the OTA updates? If so what is a good link for instructions to do that? Thanks!
As long as you are going from stock to stock, you can skip the factory reset - I've done that all this time, and have never had an issue. Just flash using fastboot (don't use flash-all), and skip the step to flash userdata.
shibed said:
Thanks. Since I am using the Nexus 6 do you recommend that I set it back to factory settings to get the OTA updates? If so what is a good link for instructions to do that? Thanks!
Click to expand...
Click to collapse
Nevermind I saw your link. I should have read that a little closer. Thanks! I will try the factory image.
istperson said:
First and foremost: Please, don't use rootkits and toolkits, the Marshmallow updates come fast, toolkit developers will always be a step behind. Not to mention, that if something goes sideways (and wirh Marshmallow it probably will), you won't have the knowledge to fix it.
So:
4) You're rooted, you won't get an OTA
1) Since you won't get an OTA, you must flash by hand, and you should always do a clean install when doing a version upgrade
3) Now you can decide if you do a full factory setup, with flashall, or you can choose to learn how to flash images one by one, then if you don't flash userdata, and you do the factory reset from a custom recovery, you'll have all your files intact. But the stock recovery deletes everything when doing factory reset.
https://developers.google.com/android/nexus/images?hl=en#instructions
2) https://developers.google.com/android/nexus/images?hl=en#shamu
Scroll down to the most recent one: 6.0.1 (MMB29K)
Click to expand...
Click to collapse
Dude! Just as an FYI I want to thank you and let you know I was able to successfully sort out my issues using your guidance.
shibed said:
Dude! Just as an FYI I want to thank you and let you know I was able to successfully sort out my issues using your guidance.
Click to expand...
Click to collapse
I'm glad I could help.
I'd like to do a clean re-install of the OS before moving everything over to the phone ... but I don't see any downloads for the 3T on the OP downloads page?
http://downloads.oneplus.net/
zim2dive said:
I'd like to do a clean re-install of the OS before moving everything over to the phone ... but I don't see any downloads for the 3T on the OP downloads page?
http://downloads.oneplus.net/
Click to expand...
Click to collapse
Not that I know of. Im bricked until they release them
Atlantian said:
Not that I know of. Im bricked until they release them
Click to expand...
Click to collapse
Dare I ask what went wrong?
I was going to unlock the bootloader (since it would require a full wipe if I waited and did it later), but otherwise stop there (I don't think changing recovery or rooting result in any need to wipe)
There is a full OTA zip in the 2nd post of the TWRP thread. This may solved your problem. But I do suggest you read the whole thread, as there maybe info that regard to your bootloader issue. I noticed that some of the OP3T came with OOS 3.5.1, which have issue w/ custom recovery. So you have to upgrade to 3.5.3.
PS: there is this full backup available also.
someone0 said:
There is a full OTA zip in the 2nd post of the TWRP thread. This may solved your problem. But I do suggest you read the whole thread, as there maybe info that regard to your bootloader issue. I noticed that some of the OP3T came with OOS 3.5.1, which have issue w/ custom recovery. So you have to upgrade to 3.5.3.
PS: there is this full backup available also.
Click to expand...
Click to collapse
I don't have the phone yet ..just ordered it but I'm interested..... how to install the ota zip on stock recovery??...
Sorry for the#noob guestion # but I'm coming from lg and op3 is totally new for me....
cultofluna said:
I don't have the phone yet ..just ordered it but I'm interested..... how to install the ota zip on stock recovery??...
Sorry for the#noob guestion # but I'm coming from lg and op3 is totally new for me....
Click to expand...
Click to collapse
After mucking around with TWRP/Root, I decided I wanted to try the plain vanilla SafetyNet-compliant OxygenOS experience. In TWRP, I flashed the 3.5.3 OTA from here. I rebooted my phone into Fastboot and relocked the bootloader, then rebooted back into OxygenOS. I think relocking the bootloader and flashing the OTA are interchangeable.
Also, from what I recall, if you want to flash the file through the stock recovery, have the file downloaded to the root of your internal storage partition and name it ota.zip. Either download it while in the OS, or use Fastboot mode and use adb push to upload it from your computer to your phone through USB. Reboot into Recovery and there should be an option to update.
I flashed mi 9t pro rom on my k20 pro. now if i install TWRP and ROOT(Magisk) will I get the OTA?
If yes,
If I flash/install DOLBY or Viper4android or change the Display Refresh rate or any type of System application/modification through TWRP or Magisk , will it stop getting OTA?
and if I get OTA, will those applications or modifications be removed after installing the OTA update?
Thanks
As you already know how to flash things, why would you bother with ota updates?
Ota updates with modified rom is always a surprise. But, definitely you gonna lose some changes if it applies fine...
Thanks for the reply.
I just know how to flash what . but I don't have that much knowledge how things are work. So I am confused all the time. However, I'm not using any modified rom. the rom I've mentioned above is stock fastboot rom. So it would be helpful if anyone gives me the answer.
zahidhasanzahid said:
Thanks for the reply.
I just know how to flash what . but I don't have that much knowledge how things are work. So I am confused all the time. However, I'm not using any modified rom. the rom I've mentioned above is stock fastboot rom. So it would be helpful if anyone gives me the answer.
Click to expand...
Click to collapse
You won't lose OTA, but OTA will break some things that you've done.
You will need to turn off OTA. Whenever there's an update you want you will need to download the recovery ROM for that version and install it manually in TWRP. You should be OK just wiping cache and dalvik. After installing you will need to immediately install Magisk again in TWRP.
I'm not sure about any mods as I've not used any you mention. I suppose it depends on where they get installed to and if a recovery ROM touches those areas.