OTA update with root and TWRP? - OnePlus 3T Questions & Answers

hi! my OP3T is rooted and have a custom recovery (TWRP). now i get an ota update. i have read somewhere in this case its necessary to flash the ota manually in TWRP because i will lost root after this and if i flash it in TWRP i can after ota update flash superSU and will have no problems after reboot the phone.
i have tried this but get "Error 7" in TWRP while flashing ota update. isn't it possible at this way? what is my mistake?
thanks a lot for help and pardon for my bad english!

RotesMeerJogger said:
hi! my OP3T is rooted and have a custom recovery (TWRP). now i get an ota update. i have read somewhere in this case its necessary to flash the ota manually in TWRP because i will lost root after this and if i flash it in TWRP i can after ota update flash superSU and will have no problems after reboot the phone.
i have tried this but get "Error 7" in TWRP while flashing ota update. isn't it possible at this way? what is my mistake?
thanks a lot for help and pardon for my bad english!
Click to expand...
Click to collapse
I have a detailed thread already running on how to update here
http://forum.xda-developers.com/oneplus-3t/how-to/rom-oxygenos-3-5-4-mm-ota-update-t3519074
I shall keep it up to date with further releases
Sent from Funk Tuned 3T

okay, i have searched in the wrong category thanks a lot for the link!
this thread can be closed.

how can i receive the updates when i root my phone?
and is there anyway to change the emoji without root?

a7mad-911 said:
how can i receive the updates when i root my phone?
Click to expand...
Click to collapse
You should still receive OTA notifications with root. And it should detect you have root, and will download the full update zip, and it will install with TWRP.
Otherwise, you can manually download the full zip update from Funk WIzard's thread which he linked in Post #2 above (which also has detailed instructions on how to update when rooted and TWRP installed).

Works like a charm with magisk 13.6

I just did it with my OP3t and was super easy.
1) download update.
2) go to hidden folder .Ota
3) move zip file to another folder
4) put Magisk in the folder, too
5) reboot to recovery, flash ROM, then Magisk
6) wipe dalvik/cache and reboot
Edit: updated following testing of redpoint73's correct advice

LeighR said:
4) put twrp and Magisk in the folder, too
5) reboot to recovery, flash ROM, then twrp, then Magisk
Click to expand...
Click to collapse
As long as you already have TWRP installed (which is the situation we are talking about) you just need to flash the OTA update zip, then flash Magisk.
Magisk prevents TWRP from being over-written (replaced) with stock recovery. In other words, you don't need to flash TWRP, since TWRP is already there.

redpoint73 said:
As long as you already have TWRP installed (which is the situation we are talking about) you just need to flash the OTA update zip, then flash Magisk.
Magisk prevents TWRP from being over-written (replaced) with stock recovery. In other words, you don't need to flash TWRP, since TWRP is already there.
Click to expand...
Click to collapse
This means I will keep all apps/settings/files?
Thank you.

JayDz said:
This means I will keep all apps/settings/files?
Click to expand...
Click to collapse
Yes.
Although I will caveat that with my rule of thumb: "hope for the best, prepare for the worst". In that a "dirty" flash of an update is often possible (saving your a lot of work setting up the device again). But you should still be prepared to wipe and do a "clean" install if you run into any problems. So back up your data, by your method of choice, before you try to update.
In particular, for a major update (such as OOS 4.x to 5.x) a clean install (default wipe in TWRP - data, cache and Dalvik) is typically advised.

Shall?? You used the word 'shall' properly in context? Kudos to the school system (I here assume India's) you attended, and to you for paying attention, using the 'King's English' in it's most proper form.

Related

[ROM] OxygenOS Open Beta 9 (Nougat) Update and Installation!!

Hi everyone,
We appreciate everyone’s feedback from the OxygenOS Open Beta 8. With your help, we have optimized and improved several key areas.
The changes include:
Added Expanded Screenshots
Shelf Design Optimizations
General UI Optimizations
DPI Optimizations
Battery Performance Optimizations
Stability and Performance Optimizations
General bug fixes
Please visit the download page here:
http://downloads.oneplus.net/oneplus-3/oneplus_3_oxygenos_openbeta_9/
If you’ve already flashed a previous Open Beta build, you will receive this update via OTA. If you haven’t, you will need to flash this build by ADB sideload. Your data may transfer, but there is always a possibility of losing personal data, so be sure to backup all of your important data before flashing this build. As stated before, once you flash the Open Beta, you’ll continue getting Open Beta OTAs.
Please follow the link below for the UI/UX experience survey. We’d really appreciate a few minutes of your time, as it will help us make OxygenOS even better. One last thing: this is a limited program, so we may disable this download link once we receive enough feedback.
- Feedback on UI/UX: https://goo.gl/forms/hEqMPq9U9QNrxvhc2
Note: If you flash this Open Beta build, you’ll receive Open Beta OTAs (but not official OTAs). You’ll need to manually (clean) flash back to our official builds to continue receiving official OTAs. Rolling back to official OxygenOS versions require wiping data and cache.
Thank you for your patience and as always, we look forward to hearing your continued feedback in the bug reporting forum here: https://forums.oneplus.net/feedback/.
Thank you for helping us build a better OxygenOS.
Never settle.
Installation Methods
Before we start:This method is only for the OnePlus 3
Follow the steps correctly otherwise you may brick your device. I am not responsible for any damage to your device, please ensure that your device is at least 60% charged to prevent the accidental shutdown in-between the update process.
Downloads:
Beta 9 Full Zip Official Download
Compatible Stock Recovery
********************* For Stock Non Rooted Users with Stock Recovery *****************
1. Download the appropriate OTA/Full Zip from above link and place it in the root folder.
2. Navigate to Settings > System Updates > Settings Icon > Local Upgrade & Select the OTA File
3. Once selected system would prompt upgrade now
4. Select upgrade now and system would reboot in stock recovery and flash the OTA
5. The installer would itself flash the OTA and reboot the device.
The Device will reboot and your OnePlus 3 is now running on the latest OxygenOS firmware & OS.
PS: The first boot may take some time so keep calm and wait for it to boot.
* After flash is successful go back to recovery and a wipe of cache is recommended.
* If in any case flash is unsuccessful the system would prompt you to download the full 1.4GB zip. So download that and follow the same process as above.
************************ For Rooted Users with TWRP Recovery ************************
Download Beta 9 Full Zip
1. Download the Beta 9 Full Zip on your phone internal memory.
2. Download the Latest SuperSU SR5
4. Reboot To TWRP (Modified 28) & Take a Nandroid of your existing ROM
5. Go to Wipe > Advance Wipe > Select Dalvik & Cache & Swipe to Wipe
6. Install Menu > Select Beta 9 Rom Zip > Swipe to Flash
7. Wipe Dalvik & Cache
8. Flash SuperSU to maintain root
9. Reboot System and Enjoy the Beta 9 Update
* Do not flash Xposed as not compatible with 7.0 builds yet
If you come from a custom rom, i recommend a clean flash and make sure you use the modified TWRP 3.0.2-1.28 as the official one is incompatible with the CB firmware yet.
PS: The first boot may take some time so keep calm and wait for it to boot and the system would boot twice due to flash of supersu so keep calm
PS: Rooted users may either flash the full Beta 9 Zip or they need to flash the previous full zip beta 8 first to overwrite system partition followed by the relevant Beta 9 OTA zip for a successful flash else just the OTA flash would fail with error 7 in TWRP
I was on TWRP (modded) and rooted. Installed the update (OTA) and now my phone just reboots to TWRP no matter what I do (I have even made a factory reset and reinstalled Beta8)
salomaoa said:
I was on TWRP (modded) and rooted. Installed the update (OTA) and now my phone just reboots to TWRP no matter what I do (I have even made a factory reset and reinstalled Beta8)
Click to expand...
Click to collapse
You can't install the ota update on TWRP recovery. You need the stock one.
Try reflashing TWRP recovery via fastboot and then flash open beta 9(not the ota)
salomaoa said:
I was on TWRP (modded) and rooted. Installed the update (OTA) and now my phone just reboots to TWRP no matter what I do (I have even made a factory reset and reinstalled Beta8)
Click to expand...
Click to collapse
Download the recovery at the bottom of the page.
http://downloads.oneplus.net/oneplus-3/oneplus_3_oxygenos_openbeta_9/
Copy it onto your phone with the this Open Beta 9 package.
Start up TWRP, format /dalvik, /cache, /system, /data.
Flash the Open Beta and clean the caches if asked.
Flash the original recovery from TWRP as recovery image, and restart your phone afterwards.
Your phone may boot into the new recovery, then show "Update failed", then do another restart, but after that mine was working.
Does all partitions support f2fs?
smk513 said:
Does all partitions support f2fs?
Click to expand...
Click to collapse
AFAIK, only data partition is f2fs
Sun90 said:
AFAIK, only data partition is f2fs
Click to expand...
Click to collapse
I wonder if the new version is possible...
Thank you for your response.
flashing with twrp will result in recovery booting loop. after downloading ota simply reboot to recovery, download oneolusrecovery from ob9 page. transfer it to phone. select install image in twrp, select reocover, flash as recovery and reboot to recovery. itll show updating.. takes about 20mins
Will modified twrp also not work?
Really? The modified twrp doesnt work? I,ve read the thread in oneplus forum and some are saying it worked for them. :/
Edit: anyways, im on modified twrp, rooted, beta 8, can i dirty flash beta 9?
jfodra said:
Really? The modified twrp doesnt work? I,ve read the thread in oneplus forum and some are saying it worked for them. :/
Click to expand...
Click to collapse
It works. I flashed the full zip with it.
Edit:
Yes you can dirty flash. Everything is working as expected.
jfodra said:
Really? The modified twrp doesnt work? I,ve read the thread in oneplus forum and some are saying it worked for them. :/
Click to expand...
Click to collapse
It will work with full zips !! It won't work it ota updates
As simple as this
Dirty flashed over OB8, everything working fine!
Edit:
Using Modified TWRP
Dirty flashed over OB8, so far no issue's.
Did flash TWRP img after update in TWRP (just to be sure), first boot took a while tho.
Anyone tried supersu?
I have this from yesterday. I was on 3.2.8 from OnePlus site, dated 12.05.16.
Clean flash with TWRP 3.0.2-1.28, thanks to eng_stk. Flash the rom & SuperSU SR5 (if you want root). Refalsh recovery 3.0.2-1.28. Reboot to recovery. If it not works reflash recovery.
Then reboot to system.
I did not flash any mods. All it's ok.
t181 said:
It works. I flashed the full zip with it.
Edit:
Yes you can dirty flash. Everything is working as expected.
Click to expand...
Click to collapse
Oh okay thanks. So is it the same as before? Flash beta 9, flash twrp again, then flash sr5 then reboot?
Edit: Nvrmind, flashed it already and d*mn. It does feel smoother than beta 8. ???
Can it be flashed over modded Open Beta 8 ?
M3ntoR said:
Can it be flashed over modded Open Beta 8 ?
Click to expand...
Click to collapse
Yep. Just make sure to have the full update and not the OTA one. Also, just in case make sure you have the TWRP img and super-su on your phone's memory to be able to flash them again
Any mirror for this? Full zip is downloading really slow and I've already stucked on twrp after OTA Need to dirty flash the full zip, but it is going to dowload around Christmas with that speed...

One Plus 3 T - Build Update 28_170324 - Update Question

Hello Community,
I am using a custom recovery (TWRP) and my phone is rooted. Can I update this build update in an official way (like in the picture) or do I need to flash a complete ROM? And if I need to flash a complete ROM, has someone the ROM from the new build update? Wasn't able to find it until now.
Sincerely PIPT
You need to do some reading before trying anything more, because you're likely to brick your phone and then you'll really be in trouble.
Yes, you can download and apply updates without having your data wiped and starting from scratch, but there's a very specific process to do this. Failing to follow the proper steps will result in a bricked device. Save yourself some trouble, and learn more about what you're doing before you make a mistake that you can't fix.
I had the same situation as you. I first tried update with OTA, it downloaded and rebooted and failed.
When it booted again, and ran the OTA updater it downloaded the full ROM package, rebooted and installed fine in twrp.
You should flash full rom over your system like dirty flash, just wipe dalvik and cache after flashing completed, then reboot.
This is safe way if you have root and twrp
Keep in your mind you will lose root and twrp after upgraded, flash them again ?
chazarss said:
You should flash full rom over your system like dirty flash, just wipe dalvik and cache after flashing completed, then reboot.
This is safe way if you have root and twrp
Keep in your mind you will lose root and twrp after upgraded, flash them again
Click to expand...
Click to collapse
You also have to flash supersu after dirty flashing the rom. Also I personally wipe Dalvik and cache before flashing the rom. I've never had any issues with the procedure I follow.
---------- Post added at 17:19 ---------- Previous post was at 17:17 ----------
olskar said:
I had the same situation as you. I first tried update with OTA, it downloaded and rebooted and failed.
When it booted again, and ran the OTA updater it downloaded the full ROM package, rebooted and installed fine in twrp.
Click to expand...
Click to collapse
If you have a custom recovery or you're rooted never install an OTA. you need to have official recovery to install an OTA. Dirty flashing the full rom is the best way to update.
PIPT said:
I am using a custom recovery (TWRP) and my phone is rooted. Can I update this build update in an official way (like in the picture) or do I need to flash a complete ROM? And if I need to flash a complete ROM, has someone the ROM from the new build update?
Click to expand...
Click to collapse
See here: https://forum.xda-developers.com/oneplus-3t/how-to/rom-oxygenos-3-5-4-mm-ota-update-t3519074
In addition to the needed files, the thread has detailed instructions on how to update (stock phone vs. rooted with TWRP) in Post #3 of the thread.
Based on this, you must flash the full ROM zip (as opposed to the partial OTA "patch"), if you are rooted. But you should still be able keep your data. But I would still back up what is important to you, before updating. Just common sense to have your important data backed up, especially before large OS updates.
I'm actually about to do this myself today (rooted OOS 4.0.3 to 4.1.1), so I'll let you know how that goes.
bonham1988 said:
If you have a custom recovery or you're rooted never install an OTA. you need to have official recovery to install an OTA. Dirty flashing the full rom is the best way to update.
Click to expand...
Click to collapse
You can flash full OTA packages through TWRP. You can't flash the smaller patches, but if it's the full firmware, then TWRP 3.0.4.1 will work just fine. Just be sure to flash SuperSU or Magisk before booting to retain root.
redpoint73 said:
See here: https://forum.xda-developers.com/oneplus-3t/how-to/rom-oxygenos-3-5-4-mm-ota-update-t3519074
In addition to the needed files, the thread has detailed instructions on how to update (stock phone vs. rooted with TWRP) in Post #3 of the thread.
Based on this, you must flash the full ROM zip (as opposed to the partial OTA "patch"), if you are rooted. But you should still be able keep your data. But I would still back up what is important to you, before updating. Just common sense to have your important data backed up, especially before large OS updates.
I'm actually about to do this myself today (rooted OOS 4.0.3 to 4.1.1), so I'll let you know how that goes.
Click to expand...
Click to collapse
Can I install stock recovery too to make OTA updates and then after the update install TWRP and flash root again? I only ask because I want to do the smaller updates (bug fixes and improvements) too and won't wait for OS and Firmware updates to update my build, because not every little update is listed to get installed manually.
But all in all thx for so many answers
I updated officially with stock recovery and full it's zip, DM Verity has been triggered. It's annoying, anyone else?
edit: fixed it, still annoying that a stock rom tripped it tho.

OTA Updates after root

I have OxygenOS 4.1.6 with magisk and twrp.
I can update my phone with OperaVPN ?
or I need to uninstall magisk and flash stock recovery and update version device?
How disable dm-verity?
saarxee said:
I have OxygenOS 4.1.6 with magisk and twrp.
I can update my phone with OperaVPN ?
or I need to uninstall magisk and flash stock recovery and update version device?
Click to expand...
Click to collapse
It should just detect you have TWRP, and download the full update (not the partial update for stock devices - which will result in a bootloop) and install properly.
I would advise to have Magisk on the phone, and flash it right away (after the update - before booting) as you will need this to get root again. And it will also (my understanding) prevent TWRP from being wiped out (which may happen if you reboot after the update w/o rooting first).
Alternately, you can get the full update zip from the Guides section, when it comes out. Then just flash in TWRP. Again, flash Magisk before rebooting.
saarxee said:
How disable dm-verity?
Click to expand...
Click to collapse
It's discussed in the Guides section. Please read before posting questions that have been asked and answered over and over.

Flash OOs Oreo Stable release

Folks,
Seeing alot of comments about bootloops, etc after trying to install the new stable OOS Oreo release.
I went through the same issue myself and found the following method to work best.
PLEASE NOTE: I'm not responsible if this does Any type of damage or issues to your device.
Be sure to backup all you need to back up to your PC.
1. Complete wipe of phone.
2. Flash the stock recovery that was used for reverting from Oreo Beta to Nougat. http://oxygenos.oneplus.net.s3.amazonaws.com/OP5_recovery.img
3. Wipe everything again.
4. Sideload new Oreo release. (Credit @HatRiGt, https://drive.google.com/open?id=1NW5zyUOL6bWgUWozFGLiutzud203npKp)
5. Reboot to bootloader and flash the Chinese TWRP. https://drive.google.com/open?id=1AKbC4HB0h4rEldQUowWGdyM4iYBVV--7
6. Reboot to recovery and flash Magisk. I flashed the 14.6 version and haven't found any issues yet. (https://forum.xda-developers.com/attachment.php?attachmentid=4366826&d=1513897917)
7. Boot phone.
I cannot promise this will work for you, but it has done the job for me.
Running Oreo Stable with Magisk 14.6 and restored all apps from Titanium Backup that I saved on my PC.
I highly suggest blu_spark TWRP instead of chinese one, and i think this method is ONE of the other working way
Couldn't get mine to work with blu spark, hence why I had to use chinese
Link for Chinese twrp please
Thank you very much, work for me
Make a video of it please
New Magisk v.15.
Thanks to topjohnwu.
joecaesar said:
Link for Chinese twrp please
Click to expand...
Click to collapse
Added to OP.
All is well. And with google Drive almost all data is back.
Nice & easy workaround..
Step 5 has to be : install TWRP on fastboot mode...
@hallo dare
Any chance you can make a very detailed video about this process?
cultofluna said:
Nice & easy workaround..
Step 5 has to be : install TWRP on fastboot mode...
Click to expand...
Click to collapse
Yes, sorry. Amended text now.
lvints said:
@hallo dare
Any chance you can make a very detailed video about this process?
Click to expand...
Click to collapse
No real need for a video mate, just follow the post step by step and you're golden!
I can not sideload Oreo zip, it says can not read
Lvsitano said:
I can not sideload Oreo zip, it says can not read
Click to expand...
Click to collapse
You should try changing the TWRP
If you have problems with adb sideload:
Boot into fastboot and install stock .
Unlock/Lock your Phone and unlock it again. Locking will wipe the whole phone.
After this you can make a clean installation.
Reboot to bootloader and flash the Chinese TWRP and boot to Recovery.
Install the oreo.zip file.
Reboot to System.
Make your Setup: WLAN, GMail Account aso.....
After all boot to Recovery and install Magisk
Very easy, put oreo zip file in the root folder, backup all data, flash stock recovery, boot with stock recovery, wipe cache, upgrade internal..., Select oreo zip file and flash it, then back and select wipe, select erase every thing and reboot. Done.
Thank you so much! I finally got it working. I needed to do a factory wipe and skip the magisk installation but it worked!
Cheers!
nikoeuren said:
Thank you so much! I finally got it working. I needed to do a factory wipe and skip the magisk installation but it worked!
Cheers!
Click to expand...
Click to collapse
Magisk won't flash on stock recovery, if that's the reason you had to skip installing it.
hallo dare said:
Magisk won't flash on stock recovery, if that's the reason you had to skip installing it.
Click to expand...
Click to collapse
No I installed the TWRP and flashed magisk. It refused to boot so I factory swiped it and all was good. Now I have to figure out how to install magisk without getting into bootloop.
Sent from my ONEPLUS A5000 using Tapatalk

Miui 12 QFKEUXM

Received an update today , if i use standart ota updater via settings, does it overwrite the twrp and root stuff i have or it wont? Coz i never done this before, always using custom roms and now latest stock miui 11 with root.
You could flash the zip rom through the recovery, but keep in mind this. Let the phone boot with the new update, then go back to recovery (if you get the stock recovery, reflash it with fastboot), then flash magisk
So it is overwriting twrp and magisk even if i install it directly from twrp?
meezy5 said:
Received an update today , if i use standart ota updater via settings, does it overwrite the twrp and root stuff i have or it wont? Coz i never done this before, always using custom roms and now latest stock miui 11 with root.
Click to expand...
Click to collapse
You will loose Magisk/root but not Magisk Manager app and all Magisk data like modules, apps granted root, etc - once you re-root, everything will be there again.
I only suggest that you first un-hide Magisk Manager (if hidden for you), at the end you can hide it again
If you update via OTA, you will loose TWRP. If you don't want to flash TWRP again, then download the same full MIUI 12 zip package you got OTA notification for, and flash it from TWRP (without wiping, formatting or so), and immediately thereafter reboot first back to TWRP, and only then to MIUI 12
If you would like to update truly by OTA, you would have to flash the stock recovery back before starting the OTA.
Hence the way as described above, you save first on flashing stock recovery, and later on flashing TWRP back
Ok thanks so after twrp flash i have to reboot back to twrp , do i have to install force encrypt then to prevent overwriting twrp by miui or not?
meezy5 said:
Ok thanks so after twrp flash i have to reboot back to twrp , do i have to install force encrypt then to prevent overwriting twrp by miui or not?
Click to expand...
Click to collapse
See posts #933, #935-#937 in the TWRP thread:
https://forum.xda-developers.com/showpost.php?p=82945031&postcount=936

Categories

Resources