Unrooting Magisk Help - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

Hi,
I have root with TWRP and Magisk installed on MIUI Global 11.0.1.0 (QFKMIXM). But I want to OTA update my phone and I've read OrangeFox supports OTA for MIUI.
How can I update my phone I can't find any clean instructions and will it erase my data?
--
https://c.mi.com/thread-996088-1-0.html can I use this method?

Related

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.

OTA via TWRP ?

Hi Guys,
I have a mate 10 pro BLA-L09 on C782 i have received an OTA. I have TWRP and magisk installed using the official TWRP from their website but when i install the OTA it fails (i expected this)
How can i download and flash the latest OTA whilst not loosing my custom data etc.
brichardson1991 said:
Hi Guys,
I have a mate 10 pro BLA-L09 on C782 i have received an OTA. I have TWRP and magisk installed using the official TWRP from their website but when i install the OTA it fails (i expected this)
How can i download and flash the latest OTA whilst not loosing my custom data etc.
Click to expand...
Click to collapse
You'd have to flash back stock recovery, then install OTA.
When it has finished you'd have to flash TWRP and Magisk again.
OR you could see if that particular update is available on http://pro-teammt.ru/firmware-database/
If so you can install it using TWRP with HuRUpdater. But you'd have to use TWRP by pretoriano80 as official TWRP is pretty bareboned...
https://forum.xda-developers.com/mate-10/development/huawei-mate-10-pro-twrp-3-2-1-0-t3769904
https://forum.xda-developers.com/honor-9/development/tool-flash-official-firmware-recovery-t3769279
You would still have to flash Magisk after, but saves you the trip to fastboot

How do I save my root after flashing miui10 beta Rom?

I am using Redmi 4a . Rooted with magisk and recovery is Twrp. It. I don't want to lose root access after update. tried FlashFire but it crashes when I open it .
Help appreciated !
I'm using miui10 (beta) developper Rom (miui_HM4AGlobal_8.10.25_d36c3e7df5_7.1.zip) and it is true that a big update (mean when it's the entire ROM) replaces twrp and crashes root.
You just have to install again twrp with fastboot method in order to flash SuperSu (the one i use) in order to retrieve root.
https://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
Hi, when used to use MIUI i installed pitchblack recovery and after the miui update it didn´t dissapeared so there is no need to always flash the recovery but the magisk fil you have to install again because the update flashs the stock boot img.

Is it possible to install an "OTA" update on a Xiaomi phone if Magisk was disabled?

Is it possible to install an "OTA" update on a Xiaomi phone if Magisk was disabled?
I'm not sure if this is the right thread for this.
I have a Redmi 7 phone (not Redmi Note 7), I want to know if it's possible to just disable Magisk by selecting Uninstall and Restore Images so I can install an OTA update instead of downloading the Recovery ROM everytime just to update MIUI?
I have some modules enabled too in Magisk.
Installing a Recovery ROM means I have to reinstall TWRP and Magisk, it's not really hard but I want to save a few minutes.
You've got the OTA upgrade guide in the official Magisk docs:
https://topjohnwu.github.io/Magisk/ota.html
More device specific details are probably easier to find in your device's forum.

Mi9TPro update with twrp and root

Hi, currently my 9t pro has version 12.0.5 (Android 10).
I have root with magisk 25.2 and the twrp version is 3.5.2.9.0 (I point out that, every time I enter recovery, it asks me for the screen unlock pin, without which I cannot access).
I would like to upgrade to version 12.5.2.0 (Android 11).
Do I just boot into twrp, insert the lock screen pin, install the above update, wipe cache and dalvik, install the magisk zip and reboot?
Or am I obliged to update twrp when changing the Android version? The latest version of twrp released for my device seems to me to be 3.6.2.9.0
A thousand thanks
bricca said:
Hi, currently my 9t pro has version 12.0.5 (Android 10).
I have root with magisk 25.2 and the twrp version is 3.5.2.9.0 (I point out that, every time I enter recovery, it asks me for the screen unlock pin, without which I cannot access).
I would like to upgrade to version 12.5.2.0 (Android 11).
Do I just boot into twrp, insert the lock screen pin, install the above update, wipe cache and dalvik, install the magisk zip and reboot?
Or am I obliged to update twrp when changing the Android version? The latest version of twrp released for my device seems to me to be 3.6.2.9.0
A thousand thanks
Click to expand...
Click to collapse
TWRP v3.6.2 should be ok with A10.
On the other side, A11 (AFAIK) will not work with v3.5.2.
Hence better update TWRP
The rest should work the way you descried, just make sure that you upgrade from Global to Global (or EEA to EEA, etc) - ie, not from Global to EEA or so (that would require flashing the Fastboot ROM)
You can also wipe from TWRP:
/data/system/package_cache
PS:
Disable/uninstall Smali Patcher or similar Magisk modules that were specific for the old ROM - to avoid bootloop upon upgrading the ROM and flashing Magisk (if you do not uninstall Magisk, all modules and everything will be back upon your upgrade)
zgfg said:
TWRP v3.6.2 should be ok with A10.
On the other side, A11 (AFAIK) will not work with v3.5.2.
Hence better update TWRP
The rest should work the way you descried, just make sure that you upgrade from Global to Global (or EEA to EEA, etc) - ie, not from Global to EEA or so (that would require flashing the Fastboot ROM)
You can also wipe from TWRP:
/data/system/package_cache
PS:
Disable/uninstall Smali Patcher or similar Magisk modules that were specific for the old ROM - to avoid bootloop upon upgrading the ROM and flashing Magisk (if you do not uninstall Magisk, all modules and everything will be back upon your upgrade)
Click to expand...
Click to collapse
Would you please explain to me how I can upgrade twrp from 3.5.2 to 3.6.2? I also have the official twrp app.
As for the magisk modules these are the ones I currently have installed. Do you think it is better to uninstall magisk directly before entering twrp and flash the new rom and magisk zip?
bricca said:
Would you please explain to me how I can upgrade twrp from 3.5.2 to 3.6.2? I also have the official twrp app.
As for the magisk modules these are the ones I currently have installed. Do you think it is better to uninstall magisk directly before entering twrp and flash the new rom and magisk zip?
Click to expand...
Click to collapse
As usual - TWRP.me, download, find your device, download img and flash to Recovery (you can do from current TWRP or from Fastboot)
Maybe you better disable that liboencrypto module
Or you can try with but study Magisk GitHub Wiki, how to fix the bootloop caused by incompatible modules
zgfg said:
As usual - TWRP.me, download, find your device, download img and flash to Recovery (you can do from current TWRP or from Fastboot)
Maybe you better disable that liboencrypto module
Or you can try with but study Magisk GitHub Wiki, how to fix the bootloop caused by incompatible modules
Click to expand...
Click to collapse
The twrp update flash so I can do it directly from the application?
Instead, to avoid a possible bootloop just uninstall that module? Do all the others give problems?
Thank you.
bricca said:
The twrp update flash so I can do it directly from the application?
Instead, to avoid a possible bootloop just uninstall that module? Do all the others give problems?
Thank you.
Click to expand...
Click to collapse
I never use the TWRP app. Read instructions from TWRP.me
You can uninstall modules. But, plz read and LEARN (it's more useful for the future how to dožisable modules from TWRP - docs I pointed you in the previous post)

Categories

Resources