Twrp with miui ota support - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

Is there any twrp that can flash ota without having to wipe data first. I read that red fox allows it but I don't want to wide data and flash magisk again.

Related

[Rooted/4.0.1]How to Update to Oxygen OS4.0.2 on TWRP?

I saw there is already a thread about updating with twrp, but I still got questions so…sorry for asking again.
My 3T is on Oxygen OS 4.0.1, and is already rooted with twrp 3.0.3-1 and SuperSU 2.79.
Just now I saw 4.0.2 is out. And I'm not sure how to get it.
I assume I need to download the full zip and put it in storage and [install] it in TWRP, but I have other questions…
Do I need to [wipe] something before flashing? Dalvik or Cache or something like that? I'm not sure about what they actually mean.
Or wipe again after that?
And do I need to flash twrp and SuperSu again in the process? And in what order?
Download the full 4.0.2 ota zip, boot to TWRP, flash full 4.0.2 zip, reboot recovery, then reflash the latest super su in TWRP. This would be considered a dirty flash due to no data being g wiped, so if you're able to backup your current setup, that would be preferred.
I've done the dirty flash as shown above and all is good!

Question about Orangefox OTA with magisk

i have activated the orangefox miui ota option, after install the ota with the orangefox recovery should i wipe userdata again after magisk reflash?

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

twrp treble error, Orange Fox ok

I just downloaded and
RMX1931EX_11_OTA_1290_all_6Q1G7PnXC7fy ( version C29 LATEST) from Realme support site
1. when I used TWRP to flash 0zip file, it decrypted but gave ZIP TREBLE ERROR
2. when i used Orange Fox recovery, and tried flashing twrp's decrypted zip file, IT SAID, ZIP IS CORRUPT
so
3. I used Orange Fox recovery, flashed Ozip, flashed vbmeta.img, flashed magisk20.3 and format data, the DEVICE BOOTED to REALME UI finally
4. if i wana go back to stock recovery ? where can i find stock oppo recovery ? ( this is not an important question for me btw)
my question as dumb user
1. how can i skip treble and what is treble btw and as on end user how will it affect me
2. is there a way to flash ozip without doing FOMAT DATA ? ( i was coming from c25, color os)
3. now i am on latest vendor and may be in a month new verison C30 will be out, If i flash it using OF recovery. will have to FORMAT DATA again ?
please help me
YasuHamed said:
I just downloaded and
RMX1931EX_11_OTA_1290_all_6Q1G7PnXC7fy ( version C29 LATEST) from Realme support site
1. when I used TWRP to flash 0zip file, it decrypted but gave ZIP TREBLE ERROR
2. when i used Orange Fox recovery, and tried flashing twrp's decrypted zip file, IT SAID, ZIP IS CORRUPT
so
3. I used Orange Fox recovery, flashed Ozip, flashed vbmeta.img, flashed magisk20.3 and format data, the DEVICE BOOTED to REALME UI finally
4. if i wana go back to stock recovery ? where can i find stock oppo recovery ? ( this is not an important question for me btw)
my question as dumb user
1. how can i skip treble and what is treble btw and as on end user how will it affect me
2. is there a way to flash ozip without doing FOMAT DATA ? ( i was coming from c25, color os)
3. now i am on latest vendor and may be in a month new verison C30 will be out, If i flash it using OF recovery. will have to FORMAT DATA again ?
please help me
Click to expand...
Click to collapse
1) you should have used twrp 3.4.0 by mauronofrio. the official twrp has the zip treble error after decrypting
2) from color OS to RUI format data is mandatory
3) from c27-28 to C29 there is no need to format data and it is presumed that it will be the same C29 -> C30
minoccio said:
1) you should have used twrp 3.4.0 by mauronofrio. the official twrp has the zip treble error after decrypting
2) from color OS to RUI format data is mandatory
3) from c27-28 to C29 there is no need to format data and it is presumed that it will be the same C29 -> C30
Click to expand...
Click to collapse
thank you so much sir
i am regreting already that i bought this non developer firendly device!
coming from Pocof1 ...
may be there will be custom kernels and modes for x2pro in few months! since device is still fresh
YasuHamed said:
I just downloaded and
RMX1931EX_11_OTA_1290_all_6Q1G7PnXC7fy ( version C29 LATEST) from Realme support site
1. when I used TWRP to flash 0zip file, it decrypted but gave ZIP TREBLE ERROR
2. when i used Orange Fox recovery, and tried flashing twrp's decrypted zip file, IT SAID, ZIP IS CORRUPT
so
3. I used Orange Fox recovery, flashed Ozip, flashed vbmeta.img, flashed magisk20.3 and format data, the DEVICE BOOTED to REALME UI finally
4. if i wana go back to stock recovery ? where can i find stock oppo recovery ? ( this is not an important question for me btw)
my question as dumb user
1. how can i skip treble and what is treble btw and as on end user how will it affect me
2. is there a way to flash ozip without doing FOMAT DATA ? ( i was coming from c25, color os)
3. now i am on latest vendor and may be in a month new verison C30 will be out, If i flash it using OF recovery. will have to FORMAT DATA again ?
please help me
Click to expand...
Click to collapse
Dont spam the same content when asked elsewhere.
How did you go back on official recovery? I cant go bacj to stock when im flashing the latest update the orange fox is still there?
1039Mark said:
How did you go back on official recovery? I cant go bacj to stock when im flashing the latest update the orange fox is still there?
Click to expand...
Click to collapse
IF U DONT FLASH VBMETA.IMG
u will go back to stock recovery after reboot
YasuHamed said:
I just downloaded and
RMX1931EX_11_OTA_1290_all_6Q1G7PnXC7fy ( version C29 LATEST) from Realme support site
1. when I used TWRP to flash 0zip file, it decrypted but gave ZIP TREBLE ERROR
2. when i used Orange Fox recovery, and tried flashing twrp's decrypted zip file, IT SAID, ZIP IS CORRUPT
so
3. I used Orange Fox recovery, flashed Ozip, flashed vbmeta.img, flashed magisk20.3 and format data, the DEVICE BOOTED to REALME UI finally
4. if i wana go back to stock recovery ? where can i find stock oppo recovery ? ( this is not an important question for me btw)
my question as dumb user
1. how can i skip treble and what is treble btw and as on end user how will it affect me
2. is there a way to flash ozip without doing FOMAT DATA ? ( i was coming from c25, color os)
3. now i am on latest vendor and may be in a month new verison C30 will be out, If i flash it using OF recovery. will have to FORMAT DATA again ?
please help me
Click to expand...
Click to collapse
First thing, if u ever want to flash ozip in twrp dont download it from official site . You need to use custom recovery flashable ozip. And if u move from one realme ui to realme ui no need to format data. Just flash custom ozip.
Latest twrp from mauronofrio and Orangefox are able to flash official ozip from Realme site

system partition deleted?

i used 2 twrp versions and 1 orangefox recovery
i wanted to install an gsi and followd this tutorial:
well now i dont have the option to wipe my system
after installing an system .img i am in a bootloop nice
i flashed the whole stock rom with odin still not there
what caaan i dooo i just want toooo geeet andoird 13 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaah
masapulmai said:
i used 2 twrp versions and 1 orangefox recovery
i wanted to install an gsi and followd this tutorial:
well now i dont have the option to wipe my system
after installing an system .img i am in a bootloop nice
i flashed the whole stock rom with odin still not there
what caaan i dooo i just want toooo geeet andoird 13 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaah
Click to expand...
Click to collapse
and yes my phone supports project treble
masapulmai said:
and yes my phone supports project treble
Click to expand...
Click to collapse
Just flash system.img via twrp. Don't need wipe system partition
update your magisk on stock to v25.2 to avoid a bootloop. only bother to install phh patched GSIs if they're A12 ones.
backup up apps and files, boot twrp and format data (not wipe). use reboot option in twrp to reboot recovery... don't skip this stage!! wipe cache and dalvik/art. flash extract image to system partition.

Categories

Resources