OTA Update Re-twrp and re-root - OnePlus 3 Questions & Answers

Is there a smooth way to take an OTA update and re-root without a computer? So far my method has been:
see that there's an update
wait a week to see if the bugs are worked out
take the update at work
curse myself for forgetting I can't root until I get home
go home and flash twrp twice to get it to stick
flash magisk
get root back for Tasker and titanium
Is there a less tethered method I'm missing?

Immediately after installing new OTA, don't restart ur device, first reboot to recovery, after that reboot again to system, in this way ur TWRP will not be replaced by stock recovery. And after rebooted, again reboot to TWRP and flash the SuperSU zip to get root again.

Sounds good, except for the supersu bit. Is magisk interchangeable there?

Yes, Magisk is interchangeable with SuperSU.
You don't even have to reboot to recovery after flashing an update. Since you're rooted, the OnePlus OTA app will automatically download the 1 GB+ full OTA update zip. Once you have the update, make sure you have a copy of Magisk.zip somewhere on your internal storage. Then reboot to TWRP, flash OOS OTA, then immediately flash Magisk.zip. (Occasionally, you will run into an error where TWRP unmounts /system after flashing the OTA, simply go to main menu > mount and toggle /system off and then on again before flashing Magisk). Then simply reboot and your OS will be updated and rooted without OOS replacing TWRP.
Generally: Flash OTA -> wipe cache/Dalvik -> Flash Magisk (may need to remount /system) -> Reboot

Related

Update oxygen 3.2.6 removed my root. Please help. Also just joined xda.

My oneplus 3 was rooted (oxygen 3.2.5 maybe) but I installed the update 3.2.6 today from phone by going into settings. When the phone got updated my root does not work anymore. Please help.
I forgot how I rooted my phone before but it was still on android 6 when I rooted.
When I reboot I still get the black screen saying the device can't be trusted because xxxxxxxxxx Is unlocked, dont remember what.
Usb debugging is on as well as oem unlocked ( these options are still showing unlocked when i went to settings but don't know if they are ACTUALLY unlocked.
Xposed luck patcher, etc not working
Root checker says root not installed properly
Used twrp before.
Also is there any way that I can re-root my phone again without data loss?
Its my first post ever in any form so dont know about posting much.
You can mail me too at [email protected].
Thanks
Try flashing Super su manually from Recovery
Flash latest SuperSU (I think it is 2.78) in twrp. Flash xposed module in twrp too
If you did the official update from Settings > System Updates, then you are most likely back to stock recovery as well. You're going to have to re flash twrp before you can flash root and xposed. You will not lose data by performing any of these steps as your bootloader is still unlocked.
http://forum.xda-developers.com/oneplus-3/development/toolkit-oneplus-3-toolkit-unlock-t3398799
Download twrp
Boot to fastboot
fastboot boot sometwrp.img
Flash supersu from temporary twrp
Hw4ng3r said:
If you did the official update from Settings > System Updates, then you are most likely back to stock recovery as well. You're going to have to re flash twrp before you can flash root and xposed. You will not lose data by performing any of these steps as your bootloader is still unlocked.
Click to expand...
Click to collapse
If you had root and custom recovery (TWRP) then you couldn't have updated by this method as it wouldn't have worked. You need to reflash SuperSU in TWRP as others have stated.
Much simple: from recovery (hope you're having TWRP installed) flash latest SuperSU and Xposed zip file.
Then Wipe Cache/Dalvik, then reboot in System.
If you won't to lose root, you should consider a custom rom like FreedomOS, that provides SuperSU binary by itself (even Xposed, if I'm not wrong).

One Plus 3 rooted OTA question

Hello,
I have a question about the now oos 3.2.8 update for the one plus 3. A few rooted users reported that they recive the full zip file (1.3 gb) as ota.
In theory it would be great to get this as root user so you can just go and flash it with twrp. But I never heard anything like that before so how are you supposed to install it and where is the file on the device in order to flash it with twrp?
Basically what happens is you'll get the ota notification for the delta zip. You try and install that and it'll of course fail to install then it'll boot back up and tell you "root detected downloading full zip" or something along those lines and then it'll download the whole zip and it'll install fine you'll lose root and TWRP may or may not be overwritten I've had it happen sometimes but not all the time.
you install it by just hitting the install button on the system update ui and it'll run openrecoveryscript to make twrp or the stock recovery flash it.

OnePlus 3 OxygenOS 4.0.1 --- rooting

Hi all,
after I had a full crash while I was trying to update 4.0.0 -> 4.0.1 I now installed all from the scratch.
I now try to get root for it. I installed TWRP (twrp-3.0.2-1.28-oneplus3.img) ... opening it it asks me to bring in a PIN. every PIN I enter is wrong. If I choose cancel I am in. But System is accessable.
Anybody can post a real HowTo for getting root (SuperSU) in OxygenOS 4.0.1
Thanks in advance
After you flash the rom, flash SuperSU immediately. Then reboot to recovery, NOT to system.
If the phone stuck, force reboot by pressing power& vol.- . Reflash recovery, reboot to recovery, reboot to system.
Adb Sideload SuperSu via TWRP
Harish_Kumar said:
Adb Sideload SuperSu via TWRP
Click to expand...
Click to collapse
This worked for me!
 @all: does anybody have the Stock Recovery .img for "OxygenOS 4.0.1"?
I always get this "the dm-verfiy ..." message. And after booting I have to type in the unlock PIN ... booting again ... ready to use. I think is is because TWRP
How did you do?
Skickat från min ONEPLUS A3003 via Tapatalk
null0seven said:
After you flash the rom, flash SuperSU immediately. Then reboot to recovery, NOT to system.
If the phone stuck, force reboot by pressing power& vol.- . Reflash recovery, reboot to recovery, reboot to system.
Click to expand...
Click to collapse
can you explain me what the purpose of rebooting into recovery after flashing supersu and not to system?
On some roms, you have to instal SuperSu, before first boot. Or you will not have root.
Some rooms will mess up recovery if youre first boot it's in system & not to recovery. You reboot, to recovery, first, to be shure that you have a working recovery.
This is how I did: upgraded to OOS 4.0.1, flashed the latest TWRP (3.0.3-0), copy & paste SuperSU to internal storage then flashed it through TWRP. Everything works fine.
Now I'm trying to figure out how to decrypt this phone because OOS 4.0.1 converts the Data partition file system to F2FS. I'm a heavy user of MultiROM, that's the reason for decrypting.

Cannot install 4.0.2 update

I was using 4.0.0 stock with twrp and root. Tried to install the 4.0.2 update but every boot just took me back to recovery. Tried wiping clean, no change. Tried installing stock recovery v2.0, recovery would hang. Tried using new twrp 3.0.3 and I could get back in, but any ROM, stock or not I installed, would not stick.. Even twrp would warn me "no os installed. reboot anyway?" even when I had just installed a ROM. So in the end I flashed OOS 3.2.8 with twrp and then flashed stock recovery. At this point I'm pretty much at factory stock at v3.2.8 with stock recovery v1.0. Now I'm trying to update to 4.0.2 via OTA and for the 3rd time already I have received a installation failed message and rebooted to system. The first time I thought it was because I disconnected VPN after starting the download, so I downloaded a second and a third time. I don't want to resort to sideloading again because I fear I might get the same no OS installed problem I got when I tried to install 4.0.2 in the first place. Does anyone have any insight on what is wrong?
Steps:
1. Install latest Official or Modified TWRP ( 3.0.3/ 3.0.3 version 14 by eng.stk)
2. Enter into recovery. Connect phone to PC and copy downloaded ROM file.
3. Wipe everything in the recovery- Data, System, cache and Dalvic. It will erase everything.
4. Flash ROM zip after completing, don't reboot phone. Reboot to recovery again, and then reboot phone.
If u reboot phone directly after flashing ROM, u will loose TWRP.
Even twrp would warn me "no os installed. reboot anyway?" even when I had just installed a ROM.
Click to expand...
Click to collapse
This is pretty normal for nougat OOS. I've faced it for all 3 ROMs i flashed. Don't worry, your ROM was flashed successfully. You can mount and check the /system partition, you can see your ROM files there.
So here's what worked for me. (considering you are on ext4 /data)
1. Flash latest official twrp recovert ext4 version or use the file system swapper zip if it doesn't decrypt your data in recovery. TWRP has some issues as of now and mounts f2fs as default, so you just need to flash the file system swapper zip in order to swap it to ext4 by default.
2. Wipe /system /cache and dalvik cache.
3. Flash full 4.0.2 ROM zip, should be 1.4 GB in size.
4. Flash TWRP image again just in case.
5. Reboot to recovery, not to system.
6. Flash stable 2.79 Super Su and you are good to go.
Thanks for the tip, however I don't mind losing twrp, I only want to get stock unaltered update and this procedure does not help in this
IonAphis said:
Thanks for the tip, however I don't mind losing twrp, I only want to get stock unaltered update and this procedure does not help in this
Click to expand...
Click to collapse
Have you tried this guide: https://forum.xda-developers.com/oneplus-3/how-to/guide-flashing-oos-v4-0-1-custom-rom-t3537757
P.S. I think you did, but I'm just asking.
Thanks for the tip, but I fixed it. Ended up flashing v3.2.8 via twrp and installed OTA to 4.0.1 via sideload. Recovery would not boot unless first fully booted into the system. After that sideloaded 4.0.2 via OTA and now back to complete stock.
Thanks guys!

Will I lose root if I accept the latest OTA?

Running stock image with root, is it usually safe to take ota's?
You will receive error when installing the OTA. Unroot and then update, or... since you already have the bootloader unlocked (for rooting) you can flash from a PC the latest factory image (with the -w removed form the flash-all.bat script).
If you use magisk, you can go into it and select uninstall and restore images. Do not reboot your phone. Install the OTA and once you're at step to, go into magisk and select install and select the OTA option. Wait for the update to finish and reboot. Afterwards you're rooted and updated.
severedsnake said:
Running stock image with root, is it usually safe to take ota's?
Click to expand...
Click to collapse
Magisk Uninstall never worked for me for some reason.
Download OTA to PC
Boot into TWRP
ADB Sideload OTA
reboot
powerdown
Boot into TWRP again
flash Magisk.zip
Done
You can even flash the OTA.zip in twrp as well. When done, just fastboot into twrp, flash the twrp installer zip, then kernel, then magisk, reboot, done :good:

Categories

Resources