OTA's and root - Nexus 5X Q&A, Help & Troubleshooting

I'm thinking about doing the beta for 7.1... When I do it I will clean flash it, if I do this I will root and get twrp... can I take updates if I do this. I'm guessing not, but is there any way to update the os when there is a update without loosing my data.
Thanks,

Sumaech said:
I'm thinking about doing the beta for 7.1... When I do it I will clean flash it, if I do this I will root and get twrp... can I take updates if I do this. I'm guessing not, but is there any way to update the os when there is a update without loosing my data.
Click to expand...
Click to collapse
Restore stock boot.img using bootloader/fastboot.
Apply OTA.
Reflash twrp.img using bootloader/fastboot.
Apply SuperSU.

sfhub said:
Restore stock boot.img using bootloader/fastboot.
Apply OTA.
Reflash twrp.img using bootloader/fastboot.
Apply SuperSU.
Click to expand...
Click to collapse
Yes I plan on that... but the will be updates somewhat more often, my question is if I can update without loosing my data.

Related

How can I restore Stock Recovery?

Hello everyone
I've been using recovery twrp
Regain Stock Recovery I want to do I receive the updates ota
Is there a way receipt ota updates with the survival of recovery twrp and rooted?
How can I do that? Without botloop
Please note that I do I delete a lot of asus applications that do not use them
And sorry about the bad language
Thank you very much
Same question anybody here to talk this topic ?
maahmd said:
Hello everyone
I've been using recovery twrp
Regain Stock Recovery I want to do I receive the updates ota
Is there a way receipt ota updates with the survival of recovery twrp and rooted?
How can I do that? Without botloop
Please note that I do I delete a lot of asus applications that do not use them
And sorry about the bad language
Thank you very much
Click to expand...
Click to collapse
not possible to update with custom recovery.
if u want to update, u have to flash full firmware and corresponded recovery.img via adb. Then u can manually apply the ota update.
If you have TWRP, you can't take OTAs.
If you want to go back to stock recovery, just flash the stock recovery.img via fastboot for whichever build you want to go back to (you can pull it from a stock ROM zip that can be downloaded from ASUS).
If you flash an OTA while your ROM is rooted, you'll likely lose root, but it really depends on what they update. Some phones manage to retain root after an OTA, but it all depends on what's written during the update.
Basically the idea is:
If you use a rooted/custom ROM, you don't EVER take an OTA. If you're 100% stock, then grab the OTA and be the first one with the fresh update. If you're rooted/custom, wait for a dev to release their ROM update that's flashable through TWRP.
sounak1 said:
not possible to update with custom recovery.
if u want to update, u have to flash full firmware and corresponded recovery.img via adb. Then u can manually apply the ota update.
Click to expand...
Click to collapse
OK
If I able to apply the stock recovery.img of rom official
But I remove Bloatware Can I apply an update manually ota??? After removing the root ? or i need to freez Bloatware Without removing ?
sounak1 said:
not possible to update with custom recovery.
if u want to update, u have to flash full firmware and corresponded recovery.img via adb. Then u can manually apply the ota update.
Click to expand...
Click to collapse
Harfainx said:
If you have TWRP, you can't take OTAs.
If you want to go back to stock recovery, just flash the stock recovery.img via fastboot for whichever build you want to go back to (you can pull it from a stock ROM zip that can be downloaded from ASUS).
If you flash an OTA while your ROM is rooted, you'll likely lose root, but it really depends on what they update. Some phones manage to retain root after an OTA, but it all depends on what's written during the update.
Basically the idea is:
If you use a rooted/custom ROM, you don't EVER take an OTA. If you're 100% stock, then grab the OTA and be the first one with the fresh update. If you're rooted/custom, wait for a dev to release their ROM update that's flashable through TWRP.
Click to expand...
Click to collapse
I've got it
But the question here is when using stock rom and remove asus basic applications that the system Can I ota updates at the root remove an application? Or I will face the problem of bootloop?
maahmd said:
I've got it
But the question here is when using stock rom and remove asus basic applications that the system Can I ota updates at the root remove an application? Or I will face the problem of bootloop?
Click to expand...
Click to collapse
If you try to apply an OTA with a modified /system, it will fail. You can modify the OTA to remove the integrity check.
Harfainx said:
If you try to apply an OTA with a modified /system, it will fail. You can modify the OTA to remove the integrity check.
Click to expand...
Click to collapse
how i remove the integrity check for ota ??!?!
and thnxxxxxxxx aloo0o0t
maahmd said:
how i remove the integrity check for ota ??!?!
and thnxxxxxxxx aloo0o0t
Click to expand...
Click to collapse
http://forum.xda-developers.com/zenfone2/general/how-to-flash-ota-rom-twrp-t3209545
Harfainx said:
http://forum.xda-developers.com/zenfone2/general/how-to-flash-ota-rom-twrp-t3209545
Click to expand...
Click to collapse
thnxxxx u alo0o0o0o0o0o0o0o00oot

Root and OTA update 2.38.617.6

Hi, my phone was rooted on software version: 2.28.617.8, but root lost after ota update 2.38.617.6.
Any way to root again?
Thanks
HTC-10 US unlocked version
direccion said:
Hi, my phone was rooted on software version: 2.28.617.8, but root lost after ota update 2.38.617.6.
Any way to root again?
Thanks
HTC-10 US unlocked version
Click to expand...
Click to collapse
Do the same thing as before? TWRP should work now, so Magisk or supersu should be good to go.
Tarima said:
Do the same thing as before? TWRP should work now, so Magisk or supersu should be good to go.
Click to expand...
Click to collapse
so if I flash TWRP and supersu zip, will i be able to get OTAs??
kelbaez said:
so if I flash TWRP and supersu zip, will i be able to get OTAs??
Click to expand...
Click to collapse
Yes, but you'll have to flash the stock recovery and boot images from your current update (2.38.617.6) prior to taking next OTA or it simply won't update. If anything you or apps do using root to mount system as RW (or modify it), you'll have to flash stock system image prior to taking OTA as well. Best way is to restore stock system image and boot from TWRP backup then find stock recovery on forums or extract from current RUU and flash stock recovery then take OTA.

Flash stock over rooted to get OTA

I wonder is it possible to flash stock unrooted OOS over rooted OOS in order to install small OTAs. After updates plan to root again. Does anyone know whether this is possible or not? And, any side effects could occur?
I search over internet and couldn't find any useful info about this.
Thanks in advance.
Technically you'll be updating your device by flashing the newest stock anyway. No need for OTAs. You can then re-root.
GTRanushka said:
I wonder is it possible to flash stock unrooted OOS over rooted OOS in order to install small OTAs. After updates plan to root again. Does anyone know whether this is possible or not? And, any side effects could occur?
I search over internet and couldn't find any useful info about this.
Thanks in advance.
Click to expand...
Click to collapse
Yes, sounds doable
ABotelho23 said:
Technically you'll be updating your device by flashing the newest stock anyway. No need for OTAs. You can then re-root.
Click to expand...
Click to collapse
Not what i meant. Let's say I'm on rooted OB18. But i want to update it to OB19. all i have is OB18 stock firmware. So, can i flash OB18 over rooted OB18 and then update it to OB19 (ota). Then re-root.
The reason I'm asking this is i have a very limited data internet connection. So i can save GBs if this is doable.
XDRdaniel said:
Yes, sounds doable
Click to expand...
Click to collapse
Yeah. Well.. I'm gonna try this out myself. Thanks! :highfive:
GTRanushka said:
Not what i meant. Let's say I'm on rooted OB18. But i want to update it to OB19. all i have is OB18 stock firmware. So, can i flash OB18 over rooted OB18 and then update it to OB19 (ota). Then re-root.
The reason I'm asking this is i have a very limited data internet connection. So i can save GBs if this is doable.
Click to expand...
Click to collapse
Plan to keep a copy of OB18 around? If so, then yea absolutely it should work. Root will either modify your system or your kernel depending on the method, which both get overwritten if you flash stock.
Issue you'll probably end up having in the future though is that if you always use OB18, when it comes time to install OB20, you'll be downgrading without a wipe, which I don't think is a great idea.
GTRanushka said:
I wonder is it possible to flash stock unrooted OOS over rooted OOS in order to install small OTAs. After updates plan to root again. Does anyone know whether this is possible or not? And, any side effects could occur?
I search over internet and couldn't find any useful info about this.
Thanks in advance.
Click to expand...
Click to collapse
No you can't.
Because OTA will fail for "partition mismatching": the systemless root alters only but anyhow the /boot partition.
You must update with FOTA (Full OTAs), doesn't matter you're using stock or TWRP recovery.
The OxygenOS built-in updater should detects your system as modified and download only FOTAs.
Simone98RC said:
No you can't.
Because OTA will fail for "partition mismatching": the systemless root alters only but anyhow the /boot partition.
You must update with FOTA (Full OTAs), doesn't matter you're using stock or TWRP recovery.
The OxygenOS built-in updater should detects your system as modified and download only FOTAs.
Click to expand...
Click to collapse
Let's say he has open beta 18, rooted and twrp installed, if he flashes ob18 again over it, this will get rid both of the root and twrp, resulting in an untouched system, therefore, ota after this will be possible. He can then flash back twrp and root the device
XDRdaniel said:
Let's say he has open beta 18, rooted and twrp installed, if he flashes ob18 again over it, this will get rid both of the root and twrp, resulting in an untouched system, therefore, ota after this will be possible. He can then flash back twrp and root the device
Click to expand...
Click to collapse
But practically speaking, it's crazy to unroot system only for OTA.
It would be more reliable to download FOTAs on rooted system.
Then, if @GTRanushka is running Magisk (MagiskSU) as root method, it could be working even after firmware update.
Because of its systemless nature.
Simone98RC said:
But practically speaking, it's crazy to unroot system only for OTA.
It would be more reliable to download FOTAs on rooted system.
Then, if @GTRanushka is running Magisk (MagiskSU) as root method, it could be working even after firmware update.
Because of its systemless nature.
Click to expand...
Click to collapse
This would be weird because I always had to flash magisk after a ota update..
GTRanushka said:
I wonder is it possible to flash stock unrooted OOS over rooted OOS in order to install small OTAs. After updates plan to root again. Does anyone know whether this is possible or not? And, any side effects could occur?
I search over internet and couldn't find any useful info about this.
Thanks in advance.
Click to expand...
Click to collapse
In order to flash OTAS has to have stock rom but also recovery stock and bootloader blocked but not installed the OTAS otherwise it tells you that you have something modified and you have to download the complete rom. (That does not suit you)
ajnexus5 said:
In order to flash OTAS has to have stock rom but also recovery stock and bootloader blocked but not installed the OTAS otherwise it tells you that you have something modified and you have to download the complete rom. (That does not suit you)
Click to expand...
Click to collapse
You don't need a locked bootloader for OTA just have to flash stock full ROM zip and stock recovery then you're good to go
Simone98RC said:
But practically speaking, it's crazy to unroot system only for OTA.
It would be more reliable to download FOTAs on rooted system.
Then, if @GTRanushka is running Magisk (MagiskSU) as root method, it could be working even after firmware update.
Because of its systemless nature.
Click to expand...
Click to collapse
Why i try to unroot and do OTAs is the much less download size compared to FOTAs.
Renosh said:
You don't need a locked bootloader for OTA just have to flash stock full ROM zip and stock recovery then you're good to go
Click to expand...
Click to collapse
I tried it with the bootloader open and I did not think that something is not right that it has to download complete the rom.:

Root without custom recovery?

Is it possible to unlock the bootloader and flash via adb magisk in order to root the phone but still able to mentain the oem recovery so i can flash the updates that are coming more easily?
if u r rooted u cannot flash OTA's, so no u can't
Yes it's possible, however when you install the update you will lose root and have to root it all over again.
Sent from my ONEPLUS A5010 using Tapatalk
I'm new to Oneplus, but Flashfire has worked for me when twrp cannot be installed.
Bradl79 said:
if u r rooted u cannot flash OTA's, so no u can't
Click to expand...
Click to collapse
How?
bkeaver said:
Yes it's possible, however when you install the update you will lose root and have to root it all over again.
Click to expand...
Click to collapse
The process will only be to flash magisk via fastboot, right ?
prologikus said:
Is it possible to unlock the bootloader and flash via adb magisk in order to root the phone but still able to mentain the oem recovery so i can flash the updates that are coming more easily?
Click to expand...
Click to collapse
You don't use adb... Patch the boot image with the Magisk Manager and then flash it with fastboot. There are instructions for it in the Magisk release thread.
When updating the OS you'll have to do it again.
In my opinion, the only reason to do it this way is if you've got limited bandwidth and can't download the full OTA zips. Using the full zip is way, way easier... Just download the full OTA file, flash in TWRP and then flash the Magisk zip right after. Done. You don't need a computer at all...
Didgeridoohan said:
You don't use adb... Patch the boot image with the Magisk Manager and then flash it with fastboot. There are instructions for it in the Magisk release thread.
When updating the OS you'll have to do it again.
In my opinion, the only reason to do it this way is if you've got limited bandwidth and can't download the full OTA zips. Using the full zip is way, way easier... Just download the full OTA file, flash in TWRP and then flash the Magisk zip right after. Done. You don't need a computer at all...
Click to expand...
Click to collapse
Can you give precise instruction hot to flash full ota over twrp???
I Have files... Than... Am on Honor View 10C432B130 wanna go to b140

Question on losing root after OTA

So op 5t released a new update, whenever i open the update screen it says root detected, i would lose my root privileges if I update the phone.
I wanted to know whether i would only lose my root, or entire thing of bootloader getting locked etc?
After updating will I be able to just boot into recovery and flash root file? Or whole process I would have to do again
Thanks
Updates reinstall the stock recovery. You have to flash twrp then root.
virusshah1997 said:
So op 5t released a new update, whenever i open the update screen it says root detected, i would lose my root privileges if I update the phone.
I wanted to know whether i would only lose my root, or entire thing of bootloader getting locked etc?
After updating will I be able to just boot into recovery and flash root file? Or whole process I would have to do again
Thanks
Click to expand...
Click to collapse
When you install an OTA it will NOT relock your bootloader, it will reinstall the stock recovery since that is included in the OTA zip and is forced installed to be sure the update installs correctly.
You will lose the root temporarily until you flash a custom recovery again and your root of choice.
Misanful said:
When you install an OTA it will NOT relock your bootloader, it will reinstall the stock recovery since that is included in the OTA zip and is forced installed to be sure the update installs correctly.
You will lose the root temporarily until you flash a custom recovery again and your root of choice.
Click to expand...
Click to collapse
I have to flash TWRP again?
virusshah1997 said:
I have to flash TWRP again?
Click to expand...
Click to collapse
yes.
Misanful said:
yes.
Click to expand...
Click to collapse
Wait, really? https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#ota-installation-tips doesn't say anything about having to flash twrp again...
When an OTA is available, please go to Magisk Manager → Uninstall → Restore Images. Do not reboot immediately or you will have Magisk uninstalled. This will restore your boot (or dtbo if available) back to 100% untouched stock images in order to pass verifications. This step is required before doing any of the following steps written below!
Click to expand...
Click to collapse
Or does "100% stock images" mean the stock bootloader = flash twrp again?
Just to clearify, updating my phone by an OTA does not lock the bootloader but I'd have to flash twrp and magisk again..?
Yakumichan said:
Wait, really? https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#ota-installation-tips doesn't say anything about having to flash twrp again...
Or does "100% stock images" mean the stock bootloader = flash twrp again?
Just to clearify, updating my phone by an OTA does not lock the bootloader but I'd have to flash twrp and magisk again..?
Click to expand...
Click to collapse
yee, but after you have used the OTA you will need to flash twrp again since the OTA flashes the stock recovery, or modify your boot image but that is a pain in the ass. :silly:
Misanful said:
yee, but after you have used the OTA you will need to flash twrp again since the OTA flashes the stock recovery, or modify your boot image but that is a pain in the ass. :silly:
Click to expand...
Click to collapse
Means if I'd like to unroot my phone by doing nothing, this is probably the easiest way?

Categories

Resources