Any link for patched and flashed boot image with Magisk for K20 pro? - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

I cannot root my phone through TWRP for some reason and I would really like to use my phone with Google Pay.
K20 pro, MIUI Global 11.0.1 unlocked bootloader.

Install Magisk yourself. It will work.

Which zip did you flash? The right version of maiden
Magisk will work.

@XblackdemonX I can't install Magisk since it's giving me an error message. Tried every possible way with no luck
@Turbine1991 I have tried install "twrp-3.3.1-15-raphael-mauronofrio"
After installing it the phone is always going back to Stock rom recovery.

@XblackdemonX I can't install Magisk since it's giving me an error message. Tried every possible way with no luck
@Turbine1991 I have tried install "twrp-3.3.1-15-raphael-mauronofrio"
After installing it the phone is always going back to Stock rom recovery.

cohenelad said:
I cannot root my phone through TWRP for some reason and I would really like to use my phone with Google Pay.
K20 pro, MIUI Global 11.0.1 unlocked bootloader.
Click to expand...
Click to collapse
install magisk 19.3
Video install
https://drive.google.com/file/d/16vDfZDWBgtY8_ECB8aRWNed_6mqctY5T/view
 @redmiK20ProIndonesia

Are you rebooting the device after installing TWRP? If you installed TWRP then rebooted without first trying to install Magisk it'll probably just stick the stock recovery back in place and overwrite TWRP if nothing is done to circumvent stock recovery overwrite. If this doesn't apply then no worries but thought I'd mention it.
That's also an old version of TWRP; have you tried a newer version? I'd say try fastboot boot recovery.img then immediately attempt to install Magisk. You're on MIUI11 so you'll want to go with Magisk 19.3.

cohenelad said:
After installing it the phone is always going back to Stock rom recovery.
Click to expand...
Click to collapse
You have to install Magisk to prevent the recovery from changing back to stock.

Related

Magisk issues

when i try to install it i get bootloop and when it installs i get a error that i need to update or reinstall and modules wont work or install but when it updates or reinstall i get a bootloop and then i get pushed into recovery, i installed magisk and patched the boot.img file same error.
what i tryed
1- flashed magisk zip from twrp
2-flashed magisk patched boot with fastboot
3-flashed magisk patched boot and wiped data it crashes some times and works sometime but with out modules and i get error i need to update.
4-flashed EU rom and did the same steps same error
i have
K20pro 10.3.3 global
tried miui eu 10.3.3
the fix
used orange fox recovery with the 19.4 magisk and it worked for me i downloaded it from https://forum.xda-developers.com/k20-pro/how-to/redmi-k20-pro-firmware-10-3-8-0-9-6-13-t3939647
1- you need a otg with a flash memory.
2-install orange fox recovery .
3-wipe data cash and devcash internal storage .
4-from the settings mount system and vendor.
5-then install the magisk 19.4 clear cash and reboot now it works fine for me.
when i first rooted global rom on Mi9t pro i flashed magisk 19.3 and it boot back to twrp then i went to advanced wipe and format data reboot and all is good did you try that.
yeah it wont run modules
shono22 said:
yeah it wont run modules
Click to expand...
Click to collapse
the reason for bootloop often is not formating data thats why i asked iff you tried that after flashing magisk.
sam00561 said:
the reason for bootloop often is not formating data thats why i asked iff you tried that after flashing magisk.
Click to expand...
Click to collapse
i get requires additional setup
your device needs additional setup for magisk to work properly.it will download magisk setup zip, do you want to proceed now?
when i press yes i get a bootloop issue
and if dont i cant run modules
when i try to install modules i get update to the latest magisk its up to date 19.3 and 7.3.2
when you get the bootloop issue after flashing the modules go into twrp and go to advanced wipe then format data i think this is possibly the issue. But backup internal storage to laptop or somewhere before doing this step.
sam00561 said:
when you get the bootloop issue after flashing the modules go into twrp and go to advanced wipe then format data i think this is possibly the issue. But backup internal storage to laptop or somewhere before doing this step.
Click to expand...
Click to collapse
it wont let me flash them in the first place like magisk is not installed on my device but i can use root the root work fine but i cant install modules
Have you tried any other version of magisk? Which version are you using and are you on the magisk manager latest version. Perhaps try magisk 19.4
sam00561 said:
Have you tried any other version of magisk? Which version are you using and are you on the magisk manager latest version. Perhaps try magisk 19.4
Click to expand...
Click to collapse
Where did you get Magisk from? Are you downloading from the official Magisk github site?
Yes
I have the same problem. I'm on 9T Pro Global on a K20 Pro Raphael. Installed TWRP and Flashed Magisk. Then wipe advanced Davisk and DATA. I installed Magisk manager but cannot install modules... I'm on latest version... It says requires additional setup but sends me to TWRP and I have to restart system all over again.
test 19.4 same issue need to update to make it work
used orange fox recovery with the 19.4 magisk and it worked for me i downloaded it from https://forum.xda-developers.com/k20-pro/how-to/redmi-k20-pro-firmware-10-3-8-0-9-6-13-t3939647
1- you need a otg with a flash memory.
2-install orange fox recovery .
3-wipe data cash and devcash internal storage .
4-from the settings mount system and vendor.
5-then install the magisk 19.4 clear cash and reboot now it works fine for me.
I'm glad you guys found a fix I was on miui global mi9t Pro and I used twrp from Marino installed magisk 19.3 that's it I was rooted and I had no issue installing modules I had about 7 of them installed. Good luck anyway orange fix supposed to be a good recovery.
sam00561 said:
I'm glad you guys found a fix I was on miui global mi9t Pro and I used twrp from Marino installed magisk 19.3 that's it I was rooted and I had no issue installing modules I had about 7 of them installed. Good luck anyway orange fix supposed to be a good recovery.
Click to expand...
Click to collapse
Is your phone k20 pro china then you just installed the global rom?'
narugan26 said:
Is your phone k20 pro china then you just installed the global rom?'
Click to expand...
Click to collapse
mine is Mi9 T pro european global rom
sam00561 said:
mine is Mi9 T pro european global rom
Click to expand...
Click to collapse
Ok sir thank you. Where did you get that twrp marino?
narugan26 said:
Ok sir thank you. Where did you get that twrp marino?
Click to expand...
Click to collapse
https://forum.xda-developers.com/k20-pro/development/recovery-unofficial-twrp-xiaomi-redmi-t3944363
I flashed twrp recovery 3.3.1.0 raphael official. Then I went and flashed the global miui rom, so far everything is correct, then I flashed magisk 20.4 zip and it gave me error 1. I wanted to flash the uninstaller and it gave me error 1. Someone could help me to solve this.
I have the Mi 9T pro
Miui 11 global stable rom
With Android 10 Q
Unlock bootloader

How to update without losing TWRP and root?

Hello, I have a Mi 9T Pro with 10.3.3, TWRP and Magisk. I received the update to 10.4.0. As stated in the title, how could I update the system without losing the TWRP and root through Magisk? Thank you in advance
MagikGab said:
Hello, I have a Mi 9T Pro with 10.3.3, TWRP and Magisk. I received the update to 10.4.0. As stated in the title, how could I update the system without losing the TWRP and root through Magisk? Thank you in advance
Click to expand...
Click to collapse
You can't. The best way to update is to download the 10.4.0 recovery ROM, then flash that in TWRP. This will still overwrite Magisk, so you will need to install that again straight after installing the update. If you don't install Magisk immediately, then booting into system would also restore stock recovery, so it needs to be done before you reboot to system.
Robbo.5000 said:
You can't. The best way to update is to download the 10.4.0 recovery ROM, then flash that in TWRP. This will still overwrite Magisk, so you will need to install that again straight after installing the update. If you don't install Magisk immediately, then booting into system would also restore stock recovery, so it needs to be done before you reboot to system.
Click to expand...
Click to collapse
Many thanks! In this way I could at least save the TWRP! Should I have to take some other precautions? Like deactivate all Magisk modules, perform a backup of apps ecc?
i have the same question too..
MagikGab said:
Many thanks! In this way I could at least save the TWRP! Should I have to take some other precautions? Like deactivate all Magisk modules, perform a backup of apps ecc?
Click to expand...
Click to collapse
No, you can simply flash the ROM and right after that, flash Magisk. This way you won't loose twrp or Magisk.
MagikGab said:
Many thanks! In this way I could at least save the TWRP! Should I have to take some other precautions? Like deactivate all Magisk modules, perform a backup of apps ecc?
Click to expand...
Click to collapse
P12AV33N said:
No, you can simply flash the ROM and right after that, flash Magisk. This way you won't loose twrp or Magisk.
Click to expand...
Click to collapse
I would just add to this that, although this is all that is required, I would still backup things, just in case.
It's always good practice when flashing things to backup what you can, even when it's not needed should things go smoothly. It only takes an absent minded moment of stupidity in TWRP to do some serious damage. As many people, myself included, can vouch for.
Thank you everyone!
I've read a lot about this, some say it's better with fastboot rom and Miflash, but twrp method with recovery seems to be easier method.
Can anybody confirm is it necessary to remove compatibility.zip file from flashable zip file before flashing?
Clean flash or dirty should work for 10.3.4.0 update?
I'm using 9T Pro (EU), rooted, stock 10.3.3.0, TWRP 3.3.1-15
macanovic88 said:
I've read a lot about this, some say it's better with fastboot rom and Miflash, but twrp method with recovery seems to be easier method.
Can anybody confirm is it necessary to remove compatibility.zip file from flashable zip file before flashing?
Clean flash or dirty should work for 10.3.4.0 update?
I'm using 9T Pro (EU), rooted, stock 10.3.3.0, TWRP 3.3.1-15
Click to expand...
Click to collapse
Flashing a minor update is fine to do as a dirty flash in TWRP.
Doing a major update is 50/50 (going from 10.3.x to 10.4.x as it's s change from Android 9 to 10, or going from 10.x.x to 11.x.x). You may be fine, you may have issues. It might be a better option to try using the 'save data' option in the Mi Flash Tool, which is the same as a dirty flash, but will still update vendor and firmware files, should they have changed between the versions.
You might be guided by what the OTA would do. Occasionally when an OTA provides a major version change, it will perform a clean flash and give you big warnings that this will happen first. If an OTA tells you this will happen, then I would definitely use the Mi Flash Tool and use the 'clean all' option.
As for the compatibility zip, it depends on the TWRP you are using. Just try as is first and if your get an error about the wrong device, then remove it and try again.
Thanks a lot, your answers are very helpful in this thread! ?
I got the OTA update to 10.3.4.0 on my Mi 9T Pro, too, but it wouldn't install via TWRP (mauronofrios version 3.3.1-15). I also tried to flash the full 10.3.4.0 ROM (https://bigota.d.miui.com/V10.3.4.0...EAGlobal_V10.3.4.0.PFKEUXM_964826982c_9.0.zip) with TWRP, but that didn't work either, not even after removing compatibility.zip.
I then changed my TWRP to OrangeFox Recovery 10.0_7 stable (via fastboot) and dirty flashed the full ROM via OrangeFox. That worked flawlessly, it even seems that it will be able to install future OTA updates, but that remains to be seen when the next OTA update arrives.
cgdams said:
I got the OTA update to 10.3.4.0 on my Mi 9T Pro, too, but it wouldn't install via TWRP (mauronofrios version 3.3.1-15). I also tried to flash the full 10.3.4.0 ROM (https://bigota.d.miui.com/V10.3.4.0...EAGlobal_V10.3.4.0.PFKEUXM_964826982c_9.0.zip) with TWRP, but that didn't work either, not even after removing compatibility.zip.
I then changed my TWRP to OrangeFox Recovery 10.0_7 stable (via fastboot) and dirty flashed the full ROM via OrangeFox. That worked flawlessly, it even seems that it will be able to install future OTA updates, but that remains to be seen when the next OTA update arrives.
Click to expand...
Click to collapse
You need to confirm if orangefox is actually ready for OTA by checking in its settings.
Sent from my Redmi K20 Pro using Tapatalk

Is it impossible to root k20 pro?

Hi there, I have been trying to root my k20 pro for 2 months and I am about to go crazy. First of all I don't want to install xiaomi.eu or other custom roms as they often have bugs. I use the indian version and I ve tried many different versions of magisk and tried both twrp and orange. I also tried disabling the treble enforcement and flashing the patched image but still whatever I do, after the installation, the phone loops back to the twrp page. Can anyone help me solve this?
shadow_170 said:
Hi there, I have been trying to root my k20 pro for 2 months and I am about to go crazy. First of all I don't want to install xiaomi.eu or other custom roms as they often have bugs. I use the indian version and I ve tried many different versions of magisk and tried both twrp and orange. I also tried disabling the treble enforcement and flashing the patched image but still whatever I do, after the installation, the phone loops back to the twrp page. Can anyone help me solve this?
Click to expand...
Click to collapse
uhhh just flash magisk if you have twrp
No, it's not impossible. I have a global version Mi 9T Pro and rooted with Magisk.
Find and install the custom recovery that works for you (I found that this recovery worked for me:
TWRP 3.3.1-22 Unofficial by mauronofrio)
then install magisk zip via recovery.
Good luck
Mooatreides said:
uhhh just flash magisk if you have twrp
Click to expand...
Click to collapse
installing is not the issue, I can install it but after I install, I can't go pass the loading screen and then phone goes back to twrp
shadow_170 said:
installing is not the issue, I can install it but after I install, I can't go pass the loading screen and then phone goes back to twrp
Click to expand...
Click to collapse
Do u already clear / wipe data after flashed the magisk cause i have the exact problem bootloop into twrp i solved it with wipe / format data

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

Losing Recovery after install Custom ROM

Hi,
I have the following problem.
I was able to install the custom ROM properly on my Mi9t pro. Unfortunately my Orangefox Recovery was deleted After the installation.
If I want to install Magisk now, I have to reflash the recovery first.
Do you have any idea why the recovery is deleted? Is there a way to prevent that?
Thanks in advance.
der_andi01 said:
Hi,
I have the following problem.
I was able to install the custom ROM properly on my Mi9t pro. Unfortunately my Orangefox Recovery was deleted After the installation.
If I want to install Magisk now, I have to reflash the recovery first.
Do you have any idea why the recovery is deleted? Is there a way to prevent that?
Thanks in advance.
Click to expand...
Click to collapse
Your (custom) Recovery was really deleted?
Or replaced by stock Recovery
Who says that installation of Magisk requires custom Recovery?
Magisk documentation (Installation Instructions) - please find it on Magisk Github - certainly not.
Patch the boot.img and flash (it can be flashed by Fastboot, hence custom Recovery is not a must to have)
Hi,
it really gets deleted. My cell phone is then only in fastboot mode.
I am not interested in flashing Magisk either, but rather that recovery after an installation is no longer available. This makes installing updates more cumbersome.
I only have the problem when I flash a custom ROM. when I flash a MIUI ROM from xiaomi.eu Beta, the recovery is retained.

Categories

Resources