help with rooting+ota updates? - OnePlus 5T Questions & Answers

Hello everyone,
I have purchased my OnePlus 5T, and I absolutely love it! I was just wondering whether I could root while retaining the stock ROM and recovery and still get the OTA updates in the usual way? I don't mind staying with OxygenOS and stock recovery I would just really like root access while keeping updates!
Would appreciate a quick answer,
Thankyou in advance,
Nathan.

I would unlock the bootloader and backup the default recovery. Then flash twrp and boot in to it and flash Magisk for root. Then flash the default recovery back.

Why? If you root your phone, then incremental OTA updates will more than likely get broken. That means, once you root, you will just need to apply the full update for each OTA. If you have TWRP installed, then you just download the fill update.zip file, and flash the update.zip and root.zip packages and be on your way.

when an update comes out just dirty flash the full zip once released, i thought u could still install OTA even with TWRP, u just can't with root and a modified system, can't u just uninstall magisk, then do the update then reinstall magisk?

Exactly. As soon as you modify the system (whole point of root), incremental OTAs will not work. Just dirty flash the full OTA via TWRP and profit.

This question has been asked before. You can read through all the answers here: https://forum.xda-developers.com/oneplus-5t/help/root-update-ota-t3712615

Related

OTA updates for TWRP

Would it be possible to list all OTA updates which are installable through TWRP? I am trying to find a way to update my P2 with TWRP to S244, and I find tutorials and ZIPs scattered around on the forum (except the one for S244), but it makes it a bit of a hassle when one buys this phone on MM, installs TWRP and finds out the OTA updates are not working (which makes sense).
I am on S233 now, but I can imagine I am not the only one using TWRP and looking for info whilst being even on an older firmware. I know it would be possible to reflash the stock recovery, but even these files are hard to find non-deodexed, non-TWRP.
same here
JayVerhofstadt said:
Would it be possible to list all OTA updates which are installable through TWRP? I am trying to find a way to update my P2 with TWRP to S244, and I find tutorials and ZIPs scattered around on the forum (except the one for S244), but it makes it a bit of a hassle when one buys this phone on MM, installs TWRP and finds out the OTA updates are not working (which makes sense).
I am on S233 now, but I can imagine I am not the only one using TWRP and looking for info whilst being even on an older firmware. I know it would be possible to reflash the stock recovery, but even these files are hard to find non-deodexed, non-TWRP.
Click to expand...
Click to collapse
same here bro. my phone is showing 125 mb update available which S244. i tired many times but it failed. im looking for this OTA update file which can be flash via TWRP.
please bro help me i dont want to flash whole stock rom. full updated ROM is available here.
https://forum.xda-developers.com/lenovo-p2/development/lenovo-p2-lenovo-p2a42-stock-nougat-t3661024.
please help me to find out only 125 mb TWRP update
Has anyone with systemless root, preferably Magisk, dared to try Flashfire? I looked in the official xda thread and there seem to be mixed experiences. Some get a black screen from which the phone doesn't wake up unless you use a hard reset. Others solved the black screen by booting into TWRP and flashing the Magisk uninstaller. Then doing a clean install before using Flashfire.
I guess the queue would look something like this:
1. Wipe cache
2. Flash OTA
3. EverRoot disabled
4 Flash Magisk
5. Normal reboot and preserve TWRP.
If unsuccessful
1. Flash stock boot.img
2. Flash OTA
3. EverRoot disabled
4 Flash Magisk
5. Normal reboot and preserve TWRP.

Easiest way to apply OTAs on Oreo with TWRP?

I am stock rooted. I got an OTA that I'd like to update but it looks like it doesn't want to flash through twrp. I want to stay stock rooted. Do I need to reflash entire image?
Try Flashfire.
If flashfire doesn't work (like in my case), just flash stock recovery and apply OTA. You'll have stock unrooted ROM and you can follow these steps:
1. have stock rom + stock recovery
2. use "fastboot boot twrp.img" (boots TWRP without flashing it)
3. install magisk from TWRP
When OTA cames in, I just apply it and then repeat steps 2 and 3.
_mysiak_ said:
If flashfire doesn't work (like in my case), just flash stock recovery and apply OTA. You'll have stock unrooted ROM and you can follow these steps:
1. have stock rom + stock recovery
2. use "fastboot boot twrp.img" (boots TWRP without flashing it)
3. install magisk from TWRP
When OTA cames in, I just apply it and then repeat steps 2 and 3.
Click to expand...
Click to collapse
Do you know if OTA will work if I have any other system modifications? I pushed some apps to /system for example. :silly:
Thanks for your help!
Ascertion said:
Do you know if OTA will work if I have any other system modifications? I pushed some apps to /system for example. :silly:
Thanks for your help!
Click to expand...
Click to collapse
As far as I know, even mounting system as R/W can prevent OTA update. I wouldn't even try to apply OTA with modified system partition. In your case I would download full factory image, flash everything without data wipe, root as suggested above and apply next OTA without struggles
Ascertion said:
Do you know if OTA will work if I have any other system modifications? I pushed some apps to /system for example. :silly:
Thanks for your help!
Click to expand...
Click to collapse
Have you tried flashfire? I'd recommend it. You can flash the ota, download the full ota from Google, and retain root and a custom recovery. Support chainfire and get the pro version. Although, functionally there is no difference.
jd1639 said:
Have you tried flashfire? I'd recommend it. You can flash the ota, download the full ota from Google, and retain root and a custom recovery. Support chainfire and get the pro version. Although, functionally there is no difference.
Click to expand...
Click to collapse
Flashfire worked. I had to uninstall SuperSU and reinstall magisk and TWRP but much easier than wiping everything and flashing.
Thanks all for your help! :good:
_mysiak_ said:
If flashfire doesn't work (like in my case), just flash stock recovery and apply OTA. You'll have stock unrooted ROM and you can follow these steps:
1. have stock rom + stock recovery
2. use "fastboot boot twrp.img" (boots TWRP without flashing it)
3. install magisk from TWRP
When OTA cames in, I just apply it and then repeat steps 2 and 3.
Click to expand...
Click to collapse
Holy it WORKS!!!!
Thanks!

[Q]Root/OTA/TWRP doubt

I'm coming from nexus family and I know in and out regarding flashing rooms, rooting etc for nexus devices .. I got op5t few days back and I want to root it. But I need few info's.
1. If I root the phone, Can I flash the ota Update zip using twrp?
2. If I flash the update zip successfully using twrp, will I lose twrp and root?
I just want to know what are the steps to follow to update the Stock OS but also keeping the custom recovery and root after the update..
What are the Stock things I will lose after unlocking and rooting..
You will not lose stock features if you root. Both SafteyNet bypass options and root hide features exist with custom kernels and Magisk.
Taking OTA's will be a slight issue, though. Need to flash the Magisk uninstall zip first, take OTA (you will lose custom recovery), then re-flash custom recovery then flash Magisk again.
xocomaox said:
You will not lose stock features if you root. Both SafteyNet bypass options and root hide features exist with custom kernels and Magisk.
Taking OTA's will be a slight issue, though. Need to flash the Magisk uninstall zip first, take OTA (you will lose custom recovery), then re-flash custom recovery then flash Magisk again.
Click to expand...
Click to collapse
I thought if you flashed the full zip and then Magisk right after, it would not only keep root, but TWRP as well?
xocomaox said:
You will not lose stock features if you root. Both SafteyNet bypass options and root hide features exist with custom kernels and Magisk.
Taking OTA's will be a slight issue, though. Need to flash the Magisk uninstall zip first, take OTA (you will lose custom recovery), then re-flash custom recovery then flash Magisk again.
Click to expand...
Click to collapse
So I need to use custom Kernal to Pass Safety net? Safety net fails in Stock kernel?
If you use Magisk, no. Magisk will hide the parameters that would reveal that your device has the bootloader unlocked.
rickysidhu_ said:
I thought if you flashed the full zip and then Magisk right after, it would not only keep root, but TWRP as well?
Click to expand...
Click to collapse
Well.. it's not keeping root if you have to re-flash Magisk after!
You may get away with not having to flash Magisk uninstall zip, but you might as well since you'll be in recovery anyways.
You can flash stock rom using TWRP as mentioned in this thread https://forum.xda-developers.com/oneplus-5t/how-to/oneplus-5t-mirrors-official-oxygen-os-t3708099
Once the update is completed you will be back in stock recovery and you need to flash TWRP again
https://forum.xda-developers.com/showpost.php?p=74705391&postcount=32
It would be great if someone who is familiar with OnePlus products and updates could put together a defnitive, detailed post and or instructional sticky on the whole update OTA root subject since there are so many different threads on it.
xocomaox said:
Well.. it's not keeping root if you have to re-flash Magisk after!
You may get away with not having to flash Magisk uninstall zip, but you might as well since you'll be in recovery anyways.
Click to expand...
Click to collapse
Sorry, I meant flashing Magisk will boot you back into the system updated, rooted and with TWRP intact.
I haven't heard about having to uninstall Magisk or anything, was just curious
Dazed No More said:
It would be great if someone who is familiar with OnePlus products and updates could put together a defnitive, detailed post and or instructional sticky on the whole update OTA root subject since there are so many different threads on it.
Click to expand...
Click to collapse
https://forum.xda-developers.com/showpost.php?p=74612843&postcount=3
padhu1989 said:
I'm coming from nexus family and I know in and out regarding flashing rooms, rooting etc for nexus devices .. I got op5t few days back and I want to root it. But I need few info's.
1. If I root the phone, Can I flash the ota Update zip using twrp?
2. If I flash the update zip successfully using twrp, will I lose twrp and root?
I just want to know what are the steps to follow to update the Stock OS but also keeping the custom recovery and root after the update..
What are the Stock things I will lose after unlocking and rooting..
Click to expand...
Click to collapse
Why don't you read how to do it? https://forum.xda-developers.com/oneplus-5t/how-to/oneplus-5t-unlock-bootloader-flash-twrp-t3704592

Update TWRP and OOS

I installed TWRP from blu_spark and magisk the first day my 5T arrived.
Now there is the official TWRP and an OOS update.
How do I go ahead to flash the real TWRP and update OOS without wiping all my data? And do I have to re-flash Magisk?
Thanks for your help.
just flash OOS, magisk and then the official twrp .... done
75markus said:
just flash OOS, magisk and then the official twrp .... done
Click to expand...
Click to collapse
In that order I won't lose any files?
And can I just use the OTA or Incremental zip or do I have to download and flash the full zip?
And since I am already on it, can I just flash a custom kernel afterwards without losing data?
Bronduin said:
In that order I won't lose any files?
And can I just use the OTA or Incremental zip or do I have to download and flash the full zip?
And since I am already on it, can I just flash a custom kernel afterwards without losing data?
Click to expand...
Click to collapse
Full zip.
No data loss.
Kernel is fine.
1. flash the official twrp image using blu_spark
2. flash the full OTA zip from official twrp
3. flash magisk
Just to add to the original question (and my case is with official TWRP), an Oxygen OS update notification just popped today.
I have read at multiple places that incremental zips don't work with custom recoveries.
Just wanted to confirm: even though the update notification pops-up, I cannot (am not supposed to) update the phone with the OTA, can I?

Trying to understand OTA updates

I would like to get to the point where I'm able to OTAs instead of manually flashing factory images but I'm not passing safety net when I uninstall magisk and reinstall it when the update reaches step 2. I'm not sure what is causing the update to fail. I recently switched from system root via supersu (obviously wouldn't pass safety net) to systemless root with magisk. I'm running 8.1 feb. security update with the following apps installed: adaway, busybox, CF. Lumen, greenify, magisk manager, & titanium backup. (rootless substratum & andromeda as well).
I do not have TWRP installed, I only boot to it to flash magisk and kept TWRP systemless. The purpose for this post I guess is to try understand which of the installed apps listed may affect the /system files. I was under the impression that since i now root systemlessly I would be able to accept OTAs. What am I missing here?
As far as I know you cannot be rooted and/or have a custom recovery. You can have a unlocked bootloader but you have to be stock in order to receive OTAs.
I really don't get the problem. Just flash full ota file via TWRP and then flash again magisk and twrp again.
With TWRP, flashing full OTA files is a breeze... I think incremental otas can be done in the same way, but better to flash full ota files...
onesolo said:
I really don't get the problem. Just flash full ota file via TWRP and then flash again magisk and twrp again.
With TWRP, flashing full OTA files is a breeze... I think incremental otas can be done in the same way, but better to flash full ota files...
Click to expand...
Click to collapse
......... you can flash full OTAs from TWRP?? I knew I was missing something.
So download the full OTA to internal storage. flash in TWRP. then magisk and if i choose not to install TWRP (i usually only boot to it), I'm done?
onesolo said:
I really don't get the problem. Just flash full ota file via TWRP and then flash again magisk and twrp again.
With TWRP, flashing full OTA files is a breeze... I think incremental otas can be done in the same way, but better to flash full ota files...
Click to expand...
Click to collapse
Wait, doesn't flashing the full OTA get rid of TWRP?
Do you have instructions how to install full images without TWRP being uninstalled?
Also... How do you get ota to install if the original bootloader is replaced by twrp? I thought installing twrp permanently voids the possibility to install ota...!

Categories

Resources