Hey all,
I'm trying to better understand what I'm doing with my phone here. Currently I have my OP3 rooted (aka unlocked bootloader, correct?) and on 8.0.0.
1. If I wanted to keep it rooted and reinstall the OS, is this as simple as downloading whichever ROM I want, copying it to my phone's internal storage, and flashing it in recovery using TWRP?
2. Is stock recovery (recovery_OP3.img on the oneplus.net website) the same part of the software as TWRP? As in the stock recovery is locked bootloader and TWRP is unlocked bootloader?
3. I've been searching for the most recent root guide, can I get a recommendation? I've read that SuperSU is not the thing to use any longer, but rather Magisk. Correct?
4. What is boot.img?
Thanks all
Shoruk3n said:
Hey all,
I'm trying to better understand what I'm doing with my phone here. Currently I have my OP3 rooted (aka unlocked bootloader, correct?) and on 8.0.0.
1. If I wanted to keep it rooted and reinstall the OS, is this as simple as downloading whichever ROM I want, copying it to my phone's internal storage, and flashing it in recovery using TWRP?
2. Is stock recovery (recovery_OP3.img on the oneplus.net website) the same part of the software as TWRP? As in the stock recovery is locked bootloader and TWRP is unlocked bootloader?
3. I've been searching for the most recent root guide, can I get a recommendation? I've read that SuperSU is not the thing to use any longer, but rather Magisk. Correct?
4. What is boot.img?
Thanks all
Click to expand...
Click to collapse
1. If you switch roms, always do a clean install (wipe all partitions) . If you want to get rid off all the mods wipe system and flash the same rom + gapps + root. You won't loose data since you are only modifying the system partition.
2. Stock recovery by Oneplus is as if says stock, you littery can't do anything with it apart from upgrading your OOS, wiping cache partitions and doing a factory reset. I do recommend the TWRP provided by Bluspark since that seems to be the only one I tried without any issues whatsoever.
3. Magisk is the new root method in my opinion, it supports Magisk modules which simply are mods that can be installed and removed with a single click (reboot required tho). You can compare it to xposed but very limited when compared.
4. Boot.img is your kernel, never flash standalone img files apart from TWRP since the kernel modifies more the only the boot img. Always flash the full zip.
Greetings. I received the OTA update (which I did not install!) on my OnePlus 5T today. I'm on OxygenOS 5.0.4 with magisk installed, phone is rooted, bootloader unlocked, stock recovery (no TWRP).
What's the right path to upgrade to 5.1.0?
I'm experienced with the command line and have no problems with it.
Based on my ideas, I think the path should be:
- Download full Oxygen OS 5.1.0 Full Zip
- Start TWRP using adb
Code:
fastboot boot
(which TWRP version?)
- Wipe dalvik and cache
- Flash the downloaded file
- Wipe dalvik and cache
- Flash magisk
That's it. Am I missing something? Do I need to reinstall magisk as specified as last step? Which TWRP version should I use (from the official website?)?
Thanks for your help :good:
Please go through the dedicated update thread that ive made for the update
https://forum.xda-developers.com/oneplus-5t/how-to/official-oxygenos-4-7-2-7-1-1-ota-t3709265
The thread has all the instructions and files needed to update. As far as twrp is concerned i recommend latest codeworkx or or bluspark recovery. The links are available on the thread.
Feel free to post on the thread if you have any further doubts.
Thanks @Funk Wizard , I read that thread (I linked it in my post) but it mentions "For Stock Non Rooted Users with Stock Recovery" and "For Rooted Users with TWRP Recovery" while in my case I'm rooted with STOCK recovery, which doesn't fit any of those 2 sentences. Which one should I follow?
As you are rooted you can flash the full zip from stock recovery that would remove root or you need follow and flash via twrp. If rooted stock recovery is no good TBH and i recommend staying on TWRP.
You can flash twrp from fastboot and then follow the instructions on the flashing post.
In case you dont need root anymore you can just flash the full zip from stock recovery. It will remove root and you will stay on stock recovery. In both the cases, use the full zip to flash via twrp or stock recovery.
No good? Please be more specific, why it's no good? From my understanding keeping stock recovery with magisk installed and bootloader unlocked allows me to pass all SafetyNet checks, which is very helpful if you don't want to deal with apps complaining that you are rooted. I can easily boot to TWRP as long as I can plug my phone into my computer by just using the fastboot command. The only downside I could see is if I brick my phone and have usb debugging disabled, I can't fastboot from adb.
Flashing TWRP would make me fail SafetyNet checks, which I'm not interested into.
After I flash the full zip, do I also need to flash the OTA update?
Thanks by the way, basically the only real "special" thing I need to do is install Magisk again after flashing.
Flashing twrp doesn't break safety net. So it's upto you if you want to stay on stock recovery with no additional benefits or on twrp.
Also, if have full time zip then you don't need to flash ota zip again.
That's good! I'll definitely flash twrp in that case.
@sshivampp Sorry to resurrect this thread, but looks like it's important. On TWRP website itself it's stated that installing TWRP would break dm-verity. What's the consequence of this? https://twrp.me/oneplus/oneplus5t.html
Hello all,
yesterday came my 4/64GB Whyred. I immediately unlocked the device (since I already had an authorized account) and flashed MIUI 10 8.7.12
Today, I started reading threads on xda, miui-forums, etc. and I found out, that there is that anti-rollback "feature".
I already have read a lot of threads, but just to make sure, I want to ask it here again:
If I want to flash twrp, is it going to work and if so, do I have do do some "special" steps or simply flash twrp via fastboot?
If I want to root the MIUI 8.7.12 via twrp, is it going to work?
If I want to flash LineageOS, is it going to work and do I have to pay attention to anything (such as flash something in addition to rom/gapps)?
If I want to flash Xiaomi.eu ROM, is it going to work and do I have to pay attention to anything (such as not flashing a version older than 8.7.12 from xiaomi.eu or flashing something in addition to rom?)
If I want to flash Global beta 8.7.12 or any newer version in the future, is it going to work and if so, would it be possible via twrp or I have to flash the fastboot rom via Miui-flasher?
Thanks in advance. :good:
chorba69 said:
Hello all,
yesterday came my 4/64GB Whyred. I immediately unlocked the device (since I already had an authorized account) and flashed MIUI 10 8.7.12
Today, I started reading threads on xda, miui-forums, etc. and I found out, that there is that anti-rollback "feature".
I already have read a lot of threads, but just to make sure, I want to ask it here again:
If I want to flash twrp, is it going to work and if so, do I have do do some "special" steps or simply flash twrp via fastboot?
If I want to root the MIUI 8.7.12 via twrp, is it going to work?
If I want to flash LineageOS, is it going to work and do I have to pay attention to anything (such as flash something in addition to rom/gapps)?
If I want to flash Xiaomi.eu ROM, is it going to work and do I have to pay attention to anything (such as not flashing a version older than 8.7.12 from xiaomi.eu or flashing something in addition to rom?)
If I want to flash Global beta 8.7.12 or any newer version in the future, is it going to work and if so, would it be possible via twrp or I have to flash the fastboot rom via Miui-flasher?
Thanks in advance. :good:
Click to expand...
Click to collapse
1. It's possible to flash TWRP, but you'll need to boot TWRP first and install TWRP as image to flash it permanently.
2. I don't see why not?
3. If you're in MIUI, you'll only need to wipe cache, dalvik, system. Just don't format it. If you're in custom ROM beside MIUI, you'll need to flash MIUI back to encrypt data.
Precaution : Don't downgrade your current MIUI firmware and you should be fine.
4. Just to be safe, don't try to ever downgrade from your current firmware ver.
5. Why not? Though my method to install update is always reboot recovery after flashing full ROM to make sure my TWRP is still intact.
NoiroID said:
1. It's possible to flash TWRP, but you'll need to boot TWRP first and install TWRP as image to flash it permanently.
2. I don't see why not?
3. Wipe cache, dalvik, system. Just don't format it. Remember : Don't downgrade your current MIUI firmware and you should be fine.
4. Just to be safe, don't try to ever downgrade from your current firmware ver.
5. Why not? Though my method to install update is always reboot recovery after flashing full ROM to make sure my TWRP is still intact.
Click to expand...
Click to collapse
I don't have the Anti-Rollback update as running the MIUI 108.7.5 version of Xiaomi EU.
So if I update to the latest Xiaomi EU release will it enable the Anti-Rollback feature.
I'm I safe to flash a previous version from Xiaomi EU?
NoiroID said:
1. It's possible to flash TWRP, but you'll need to boot TWRP first and install TWRP as image to flash it permanently.
2. I don't see why not?
3. If you're in MIUI, you'll only need to wipe cache, dalvik, system. Just don't format it. If you're in custom ROM beside MIUI, you'll need to flash MIUI back to encrypt data.
Precaution : Don't downgrade your current MIUI firmware and you should be fine.
4. Just to be safe, don't try to ever downgrade from your current firmware ver.
5. Why not? Though my method to install update is always reboot recovery after flashing full ROM to make sure my TWRP is still intact.
Click to expand...
Click to collapse
1. Following these steps? If so, after I boot to recovery via fastboot and flash recovery via recovery, do I have to do it every time I want to boot into recovery or just once?
Q9: How to flash custom recovery and custom ROMs on "Anti-Rollback" enabled devices?
A: On "Anti-Rollback" enabled ROMs you cann't flash custom recovery permanently. You'll have to boot into recovery first by running fastboot command:
Code:
fastboot boot xyz.img
(where xyz is name of your recovery file). Once you're booted into the custom recovery, copy the recovery image file in the internal storage and flash that recovery from recovery itself. Now you've successfully flashed custom recovery and you're good to go with custom ROMs. WARNING: Avoid flashing any firmware.
3. I dont understand why I have to flash MIUI back to encrypt data.
Does that mean, that if I'am using LineageOS for example and I want to clean flash newer version of LOS or RessurectionRemix or something, I have to flash MIUI first or what?
Or I can simply wipe system, data, chache, dalvik and flash newer version of LineageOS?
4. Does never firmware downgrade mean, just never install any older miui-Version than the version I'm using at the moment or I was using before I flashed the custom rom?
chorba69 said:
1. Following these steps? If so, after I boot to recovery via fastboot and flash recovery via recovery, do I have to do it every time I want to boot into recovery or just once?
Q9: How to flash custom recovery and custom ROMs on "Anti-Rollback" enabled devices?
A: On "Anti-Rollback" enabled ROMs you cann't flash custom recovery permanently. You'll have to boot into recovery first by running fastboot command:
Code:
fastboot boot xyz.img
(where xyz is name of your recovery file). Once you're booted into the custom recovery, copy the recovery image file in the internal storage and flash that recovery from recovery itself. Now you've successfully flashed custom recovery and you're good to go with custom ROMs. WARNING: Avoid flashing any firmware.
3. I dont understand why I have to flash MIUI back to encrypt data.
Does that mean, that if I'am using LineageOS for example and I want to clean flash newer version of LOS or RessurectionRemix or something, I have to flash MIUI first or what?
Or I can simply wipe system, data, chache, dalvik and flash newer version of LineageOS?
4. Does never firmware downgrade mean, just never install any older miui-Version than the version I'm using at the moment or I was using before I flashed the custom rom?
Click to expand...
Click to collapse
1. Yeah. follow that step. You only need to do it once.
3. I was assuming that you want to install Official Lineage OS, you had to reflash MIUI since official Lineage OS need your device to be in encrypted state. If you're going to flash another custom ROM beside lineage (for example : Resurrection Remix, Pixel Experience), you won't have to reflash MIUI, just wipe and install.
4. the last state before you flash custom ROM.
---------- Post added at 01:46 PM ---------- Previous post was at 01:45 PM ----------
adaa1262 said:
I don't have the Anti-Rollback update as running the MIUI 108.7.5 version of Xiaomi EU.
So if I update to the latest Xiaomi EU release will it enable the Anti-Rollback feature.
I'm I safe to flash a previous version from Xiaomi EU?
Click to expand...
Click to collapse
For safety, i suggest you shouldn't do that.
NoiroID said:
1. Yeah. follow that step. You only need to do it once.
3. I was assuming that you want to install Official Lineage OS, you had to reflash MIUI since official Lineage OS need your device to be in encrypted state. If you're going to flash another custom ROM beside lineage (for example : Resurrection Remix, Pixel Experience), you won't have to reflash MIUI, just wipe and install.
4. the last state before you flash custom ROM.
---------- Post added at 01:46 PM ---------- Previous post was at 01:45 PM ----------
For safety, i suggest you shouldn't do that.
Click to expand...
Click to collapse
3. Does that mean, that I have to flash the "last-state MIUI version" I had installed?
I ask, because in the steps above for flashing twrp it says: WARNING: Avoid flashing any firmware.
If I flash MIUI, that would be a firmware I flashed, which I should'nt do or?
Also, do I have to boot MIUI too? Or just install, wipe again and flash LineageOS?
chorba69 said:
3. Does that mean, that I have to flash the "last-state MIUI version" I had installed?
I ask, because in the steps above for flashing twrp it says: WARNING: Avoid flashing any firmware.
If I flash MIUI, that would be a firmware I flashed, which I should'nt do or?
Also, do I have to boot MIUI too? Or just install, wipe again and flash LineageOS?
Click to expand...
Click to collapse
Flash MIUI firmware version (in your case, it's 8.7.12 or later). That warning was just for some noobs that don't bother to research first.
And no, just flash MIUI, wipe, and flash. At least for LineageOS, it is.
chorba69 said:
Hello all,
yesterday came my 4/64GB Whyred. I immediately unlocked the device (since I already had an authorized account) and flashed MIUI 10 8.7.12
Click to expand...
Click to collapse
Off topic, but how did you unlock immediately? Thought that there is a 360 hours of waiting?
TheDevFreak said:
Off topic, but how did you unlock immediately? Thought that there is a 360 hours of waiting?
Click to expand...
Click to collapse
I already own a MIUI account and I unlocked my Redmi Note 4 already with that account.
So it seems that if you unlocked any xiaomi phone at least once, your account is authorized for unlock for every other xiaomi phone.
chorba69 said:
I already own a MIUI account and I unlocked my Redmi Note 4 already with that account.
So it seems that if you unlocked any xiaomi phone at least once, your account is authorized for unlock for every other xiaomi phone.
Click to expand...
Click to collapse
No bro. You still have to wait 360hours before being able to unlock even from an authorized account. That's some luck. Lmao
blaspheme000 said:
No bro. You still have to wait 360hours before being able to unlock even from an authorized account. That's some luck. Lmao
Click to expand...
Click to collapse
Oww, well..-Yeah, thats some luck.
But yeah, it worked so..
chorba69 said:
I already own a MIUI account and I unlocked my Redmi Note 4 already with that account.
So it seems that if you unlocked any xiaomi phone at least once, your account is authorized for unlock for every other xiaomi phone.
Click to expand...
Click to collapse
Damn, thought you had found a way of bypassing the 360hours
I was able to immediately unlock the bootloader of my Redmi 4 Prime, having unlocked a Redmi 3 Pro previously. No wait for me at all
So rom from xiaomi.eu dont have antirollback, means safe to downgrade?
hi!
NoiroID said:
Flash MIUI firmware version (in your case, it's 8.7.12 or later). That warning was just for some noobs that don't bother to research first.
And no, just flash MIUI, wipe, and flash. At least for LineageOS, it is.
Click to expand...
Click to collapse
nice to meet you.
I ask how.
Global beta is 8.7.12
I have already rolled back the anti-rollback.
The current state is unlocked.
In this state, I want to go to Lineage.
But like this question, I want to know about the fear of anti-rollback and how to bypass it.
How can I install twrp? Can I get a detailed answer on how to install Lineage ROM?
hi i have a very big problem
i was unlock the bootloader and the i flashed via ADB de twrp but appear this message:
c:\adb>fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (40288 KB)...
OKAY [ 0.877s]
writing 'recovery'...
FAILED (remote: Anti-rollback check failed)
finished. total time: 0.878s
and if i try to boot the rom, i can't, when it starts, there is an open padlock with Chinese letters, and two options, the first one I do not understand, and the second you put your wifi and a bidi code appears and I can not do anything else
please help
BacktotheFuji said:
I was able to immediately unlock the bootloader of my Redmi 4 Prime, having unlocked a Redmi 3 Pro previously. No wait for me at all
Click to expand...
Click to collapse
The same for me, no time to wait.
javimetallica said:
hi i have a very big problem
i was unlock the bootloader and the i flashed via ADB de twrp but appear this message:
c:\adb>fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (40288 KB)...
OKAY [ 0.877s]
writing 'recovery'...
FAILED (remote: Anti-rollback check failed)
finished. total time: 0.878s
and if i try to boot the rom, i can't, when it starts, there is an open padlock with Chinese letters, and two options, the first one I do not understand, and the second you put your wifi and a bidi code appears and I can not do anything else
please help
Click to expand...
Click to collapse
I think dummy named file before flash after fastboot flash xxx.img
I've had the same problem. Solution here : en.miui.com/thread-3282063-1-1
My phone is rooted with magisk and i have twrp recovery..
I am getting latest miui OTA update i want to update my phone but I don't wanna lose my all data is there any way to update miui without losing data on rooted phone ....
What i have?
1. Rooted
2.TWRP RECOVERY
What i don't want to lose?
1. My current Data
2. Magisk root...
Thanks...
Create backup, flash FULL OTA (not incremental) and flash magisk, wipe caches (recommended) and reboot.
If you'd like OTA support you can switch to supporting recovery like redwolf. Read the forums.
If i do what you have mentioned above , so there is no issue of a data loss ?? Or i have to use another recovery?
Hi,
firstly I am sorry for reviving an old thread, but I could not find any answer to this question. Also I am a new member and this is my first post (sorry, if I make any mistakes).
So how do I update my MIUI in the correct way and easily without any dataloss? A step-by-step guide would be very nice.
I have MIUI Global 10.3.2.0 Stable and want to update to MIUI Global 11.0.3.0 Stable.
"Normally" (before my device was rooted) I would directly update via system-update, but I am kind of scared since my phone is rooted now. It is the first time I have rooted my device, so I am new to this topic. I have used Redwolf to root my RN5P, but without flashing it as my recovery (just "fastboot boot redwolf.img", the normal TWRP did not work, since it always asked for password), also I have Magisk 20.1 (Stable) and cam2api installed.
Hope someone can help me. Thanks ahead.
yasin0005 said:
If i do what you have mentioned above , so there is no issue of a data loss ?? Or i have to use another recovery?
Click to expand...
Click to collapse
No data loss happen for me.. Like as you mine was rooted and twrp.. Just flash full recovery rom zip flash with latest version twrp( Not ota)
---------- Post added at 05:22 PM ---------- Previous post was at 05:18 PM ----------
mitu725 said:
No data loss happen for me.. Like as you mine was rooted and twrp.. Just flash full recovery rom zip flash with latest version twrp( Not ota)
Click to expand...
Click to collapse
Yes you lost magisk root... Just flash after, like as you did before
I am waiting since two weeks. Please someone answer/help me. Thanks.
- Get the recovery ROM from https://forum.xda-developers.com/redmi-note-5-pro/how-to/received-9-5-17-ota-update-t3813192
- fastboot into custom recovery, if not already permanently installed
- flash the ROM
- re-install Magisk through recovery
- re-install camera2api
Other possibility, since you have only rooted your device, but haven't installed any custom recovery
- use the builtin update from MIUI
- fastboot any custom recovery
- re-install Magisk
- re-install camera2api
Neither way any data will be lost, nor will any app be de-installed
Tischbein said:
- Get the recovery ROM from https://forum.xda-developers.com/redmi-note-5-pro/how-to/received-9-5-17-ota-update-t3813192
- fastboot into custom recovery, if not already permanently installed
- flash the ROM
- re-install Magisk through recovery
- re-install camera2api
Other possibility, since you have only rooted your device, but haven't installed any custom recovery
- use the builtin update from MIUI
- fastboot any custom recovery
- re-install Magisk
- re-install camera2api
Neither way any data will be lost, nor will any app be de-installed
Click to expand...
Click to collapse
Thank you for your reply. But in both ways I have to install custom recovery. That is not what I want (else I would have done it earlier in the frist place when I have rooted my phone). I want to keep the original MIUI recovery and "everything original/stock as possible" (that's the reason I stick to MIUI and do not use any custom rom).
Mura1 said:
Thank you for your reply. But in both ways I have to install custom recovery. That is not what I want (else I would have done it earlier in the frist place when I have rooted my phone). I want to keep the original MIUI recovery and "everything original/stock as possible" (that's the reason I stick to MIUI and do not use any custom rom).
Click to expand...
Click to collapse
Read it properly.. In the second method its written that we should fastboot any recovery not flash(install) it.. I hope your problem is solved now:good:
My question is i have orange fox recovery installed. How do I install ota ? Is just flashing the full rom zip enough? I want to preserve data.
@Mura1 you should only fastboot into any custom recovery. This you must have done in the past to root your device. It's the same way.
@Anymeofyou yes this should work. It's the same way I upgrade the device. Afterwards I flash the custom recovery and magisk as well, but that may be only a precausion. In the past I had to fastboot TWRP and flash TWRP once again within TWRP to have it installed. OrangeFox should keep the custom cevoery after an update, but since its only a few seconds to flash OF once again, it doesn't hurt me.
Till now no loss of data recognized.
Ah, thank you @Anymeofyou, know I got it and big thanks to @Tischbein in the first place . Sorry, for having to reading it multiple times (my bad).
I have updated now successfully. Have a nice day.
Tischbein said:
@Mura1 you should only fastboot into any custom recovery. This you must have done in the past to root your device. It's the same way.
@Anymeofyou yes this should work. It's the same way I upgrade the device. Afterwards I flash the custom recovery and magisk as well, but that may be only a precausion. In the past I had to fastboot TWRP and flash TWRP once again within TWRP to have it installed. OrangeFox should keep the custom cevoery after an update, but since its only a few seconds to flash OF once again, it doesn't hurt me.
Till now no loss of data recognized.
Click to expand...
Click to collapse
Thanks @Tischbein