Help rooting k20 pro 512gb edition - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

i recently bought the k20 pro with the 512gb storage and i wanted to root with magisk because a few games are not working.
the thing is i dont know where to start. i dont want to brick my phone.
miui version is 10.3.3 and is being identified as mi 9t pro.

ok so i followed a guide and finished installing twrp and magisk but after flashing magisk it know boots into the mi recovery menu. any help?

more info
Xiaomi K20 pro premium
Miui global 11.0.1
TWRP 3.3.1-25
magisk 2.0.1
if i install magisk version i get a boot loop to TWRP and if i use older versions i get a boot loop to mi recovery.
any help please?

That could be encryption issue. Please format data (Not wipe) to remove encryption and flash dfe (to disable force encryption) and magisk (for root).

Kiesport said:
That could be encryption issue. Please format data (Not wipe) to remove encryption and flash dfe (to disable force encryption) and magisk (for root).
Click to expand...
Click to collapse
i tried flashing dfe and magisk after but i get some error when flashing magisk. i ended up installing the eu rom and now the apps works.

Related

Rooting and installing xposed on the new Xiaomi Mi 6x

Hi,
Just got the new Xiaomi Mi 6x. Couldnt find any info online regarding rooting it since it was recently released.
Is it possible at the moment to root this device using magisk? if so is there a twrp version i can boot just to install it ?
Will xposed work with this miui version of android ?
will the international version get a stock android rom that i can flash on this mi 6x ?
Thanks & Regards
Edit : already unlocked the bootloader at Xiaomi's MI service center.
Mi6x said:
Hi,
Just got the new Xiaomi Mi 6x. Couldnt find any info online regarding rooting it since it was recently released.
Is it possible at the moment to root this device using magisk? if so is there a twrp version i can boot just to install it ?
Will xposed work with this miui version of android ?
will the international version get a stock android rom that i can flash on this mi 6x ?
Thanks & Regards
Edit : already unlocked the bootloader at Xiaomi's MI service center.
Click to expand...
Click to collapse
No idea about Xposed
Here is twrp https://romprovider.com/2018/05/xiaomi-mi-6x-root-twrp/
have a look at https://www.xiaomigeek.com/ - they are always up2date and fast with new ROMs, rootkits and flashtools.
Mi6x said:
Hi,
Just got the new Xiaomi Mi 6x. Couldnt find any info online regarding rooting it since it was recently released.
Is it possible at the moment to root this device using magisk? if so is there a twrp version i can boot just to install it ?
Will xposed work with this miui version of android ?
will the international version get a stock android rom that i can flash on this mi 6x ?
Thanks & Regards
Edit : already unlocked the bootloader at Xiaomi's MI service center.
Click to expand...
Click to collapse
magisk is do able.
in fact I did root my mi 6x with magisk, just grab the beta version (magisk 16.7), since the phone is a treble device.
as for twrp, you can get it here (you can even d/l the unofficial LOS 15.1 as well) :
https://www.cyanogenmods.org/forums/forum/xiaomi/mi-6x-wayne/
the annoying part is, whenever you're in miui, you need to format data for twrp to be able to read/write the data partition.
I haven't really play with this phone just yet, and yes I didn't install the lazyflasher as well.
but the good news, this device is bootable with GSI
as for exposed, I had no luck with systemless exposed... got bootloop on the MI screen.
but maybe that's because I didn't flash the lazy flasher, or should I learn about exposed on a treble device
Can someone give me mi stock recovery 3.0 for this device?
Mi6x said:
Hi,
Just got the new Xiaomi Mi 6x. Couldnt find any info online regarding rooting it since it was recently released.
Is it possible at the moment to root this device using magisk? if so is there a twrp version i can boot just to install it ?
Will xposed work with this miui version of android ?
will the international version get a stock android rom that i can flash on this mi 6x ?
Thanks & Regards
Edit : already unlocked the bootloader at Xiaomi's MI service center.
Click to expand...
Click to collapse
hi i can tell you that in Android8 based miui10 xposed will not work every device
NK600 said:
hi i can tell you that in Android8 based miui10 xposed will not work every device
Click to expand...
Click to collapse
Hello,
Is there any progress on xposed on mi 6x. I have a new mi 6x and MIUI 9.6.6.0 Chinese and English stock ROM is pre-installed. And it is andorid 8.1. Can I install xposed this phone (MIUI 9 and android 8.1)? Should I stay at MIUI 9. Because I get MIUI 10.2.5 OTA upgrade but I haven't applied this update yet. If xposed is not compatible with MIUI 10, should I stay at MIUI 9.6.6?
Thanks
coolman7 said:
Hello,
Is there any progress on xposed on mi 6x. I have a new mi 6x and MIUI 9.6.6.0 Chinese and English stock ROM is pre-installed. And it is andorid 8.1. Can I install xposed this phone (MIUI 9 and android 8.1)? Should I stay at MIUI 9. Because I get MIUI 10.2.5 OTA upgrade but I haven't applied this update yet. If xposed is not compatible with MIUI 10, should I stay at MIUI 9.6.6?
Thanks
Click to expand...
Click to collapse
Hi!
I think, first what you need - make TWRP backup with maximum partitions set. You can use for this action this TWRP, folder contain scripts for run TWRP from PC and flash recovery to phone (used TWRP-3.2.3-0810-XIAOMI6X-RU-wzsx150-hypeartist.img).
Use run TWRP only. For run TWRP you need enable USB debugging on phone, connect to PC, allow access from this PC and run Run-TWRP.bat
After boot to TWRP you need not allow modifications on system partition and make full backup. This backup need copy to PC from internal storage and keep for future.
When you make backup, you can what you want - you can install Magisk via run TWRP from PC or upgrade and test MIUI 10
StannerG said:
Hi!
I think, first what you need - make TWRP backup with maximum partitions set. You can use for this action this TWRP, folder contain scripts for run TWRP from PC and flash recovery to phone (used TWRP-3.2.3-0810-XIAOMI6X-RU-wzsx150-hypeartist.img).
Use run TWRP only. For run TWRP you need enable USB debugging on phone, connect to PC, allow access from this PC and run Run-TWRP.bat
After boot to TWRP you need not allow modifications on system partition and make full backup. This backup need copy to PC from internal storage and keep for future.
When you make backup, you can what you want - you can install Magisk via run TWRP from PC or upgrade and test MIUI 10
Click to expand...
Click to collapse
Thanks for reply. Can I install Xposed to MIUI 10?
coolman7 said:
Thanks for reply. Can I install Xposed to MIUI 10?
Click to expand...
Click to collapse
Hi! I'm not use MIUI and cannot answer on this question.
I take all backups (TWRP and partition backups) and tried to install xposed and I failed all of my tests.
I have mi 6x and using original stok ROM MIUI 9.6.6.0. I haven't flashed TWRP yet. I just boot TWRP with fastboot commands. I installed Magisk 19.1.
First I tried to install standard Xposed (probably works with SuperSU, but I am using Magisk). Installed Xposed installer.apk and flashed xposed-v90-sdk27-arm64-beta3.zip from TWRP. Result is bootloop.
I flashed xposed-uninstaller-20180117-arm64.zip and bootloop solved.
Second I tried to install XposedInstaller_3.1.5-Magisk.apk and flashed xposed-v90.2-sdk27-beta3-topjohnwu.zip from TWRP and result is bootloop.
I flashed xposed-uninstaller-20180117-arm64.zip and but bootloop not solved. So I restore TWRP backup (boot, system and data partitions) and bootloop solved.
I tried several different things but all resulted as bootloop.
Any idea how to install xposed to this system?
coolman7 said:
I take all backups (TWRP and partition backups) and tried to install xposed and I failed all of my tests.
I have mi 6x and using original stok ROM MIUI 9.6.6.0. I haven't flashed TWRP yet. I just boot TWRP with fastboot commands. I installed Magisk 19.1.
First I tried to install standard Xposed (probably works with SuperSU, but I am using Magisk). Installed Xposed installer.apk and flashed xposed-v90-sdk27-arm64-beta3.zip from TWRP. Result is bootloop.
I flashed xposed-uninstaller-20180117-arm64.zip and bootloop solved.
Second I tried to install XposedInstaller_3.1.5-Magisk.apk and flashed xposed-v90.2-sdk27-beta3-topjohnwu.zip from TWRP and result is bootloop.
I flashed xposed-uninstaller-20180117-arm64.zip and but bootloop not solved. So I restore TWRP backup (boot, system and data partitions) and bootloop solved.
I tried several different things but all resulted as bootloop.
Any idea how to install xposed to this system?
Click to expand...
Click to collapse
yes i can
---------- Post added at 04:36 PM ---------- Previous post was at 04:34 PM ----------
coolman7 said:
I take all backups (TWRP and partition backups) and tried to install xposed and I failed all of my tests.
I have mi 6x and using original stok ROM MIUI 9.6.6.0. I haven't flashed TWRP yet. I just boot TWRP with fastboot commands. I installed Magisk 19.1.
First I tried to install standard Xposed (probably works with SuperSU, but I am using Magisk). Installed Xposed installer.apk and flashed xposed-v90-sdk27-arm64-beta3.zip from TWRP. Result is bootloop.
I flashed xposed-uninstaller-20180117-arm64.zip and bootloop solved.
Second I tried to install XposedInstaller_3.1.5-Magisk.apk and flashed xposed-v90.2-sdk27-beta3-topjohnwu.zip from TWRP and result is bootloop.
I flashed xposed-uninstaller-20180117-arm64.zip and but bootloop not solved. So I restore TWRP backup (boot, system and data partitions) and bootloop solved.
I tried several different things but all resulted as bootloop.
Any idea how to install xposed to this system?
Click to expand...
Click to collapse
you need some magisk mods
coolman7 said:
I take all backups (TWRP and partition backups) and tried to install xposed and I failed all of my tests.
I have mi 6x and using original stok ROM MIUI 9.6.6.0. I haven't flashed TWRP yet. I just boot TWRP with fastboot commands. I installed Magisk 19.1.
First I tried to install standard Xposed (probably works with SuperSU, but I am using Magisk). Installed Xposed installer.apk and flashed xposed-v90-sdk27-arm64-beta3.zip from TWRP. Result is bootloop.
I flashed xposed-uninstaller-20180117-arm64.zip and bootloop solved.
Second I tried to install XposedInstaller_3.1.5-Magisk.apk and flashed xposed-v90.2-sdk27-beta3-topjohnwu.zip from TWRP and result is bootloop.
I flashed xposed-uninstaller-20180117-arm64.zip and but bootloop not solved. So I restore TWRP backup (boot, system and data partitions) and bootloop solved.
I tried several different things but all resulted as bootloop.
Any idea how to install xposed to this system?
Click to expand...
Click to collapse
Xposed need a DEODEXED rom for working and MIUI is a ODEXED rom so xposed don't work and that's why you got bootloop

K20 Pro China ROM Magisk Bootloop Problem

Read a similar problem from this thread https://forum.xda-developers.com/k20-pro/how-to/redmi-k20-pro-firmware-10-3-8-0-9-6-13-t3939647
I'm already unlocked and I was gonna stick with the China ROM for now, so I flashed Magisk. After an hour I noticed my root access WAS GONE. So tried restarting it and... bootloop! Magisk uninstaller fixed this BUT I want that Magisk. So I kept retrying... Fastboot, flash TWRP(another issue is TWRP wont stick no matter what it will be replaced by stock recovery), Install magisk, bootloop... Rinse and repeat.
I tried 2 methods installing Magisk. TWRP and the Boot Image Patching using boot.img from latest China ROM miui_RAPHAEL_V10.3.12.0.PFKCNXM_75ea367433_9.0.zip
Im running out of ideas, can anyone here help and share how they fixed it? Thanks!
you should change to Xiaomi EU rom, no issues with Magisk.
Try installing ver 18 or 18.1 magisk i had issues with ver 19 and up on pocof1. Also on pocof1 you had to install dfe (disable force encryption) and them twrp wouldnt be replaced with stock boot recovery. Also any update that comes when twrp is installed will rewrite it to stock recovery.
Wipe userdata/factory reset after installing magisk
I have the same issue and resolve it by install OrangeFox-R10.0_8-Stable & Magisk-v20.1.zip.

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

9t Pro bricked, can only access fastboot HELP

[SOLVED]
I need help I just bricked my phone and can only access fastboot.
I just unlocked my 9t pro to install a custom rom and followed the steps of this video ( can't post link but it's called: Redmi K20 Pro / MI 9T Pro - INSTALL Pixel Experience ROM Official | Android 9 Pie)
I managed to install twrp, made a backup of dtbo, boot, system and data and then wiped dalvik, cache, system and Data. After that I flashed DM Verity Force Encrypter and proceeded to flash havoc-os which gave me Error 7. I figured I might need to reboot the recovery, after doing so only fastboot comes up anymore. I cannot access twrp and have no OS installed. Please help.
If bootloader unlocked, you could use MiFlash to flash stock Rom
nvidiafx2004 said:
If bootloader unlocked, you could use MiFlash to flash stock Rom
Click to expand...
Click to collapse
Thank you, where can I find the file that I need to flash in MiFlash? I don't want to break any more than I already did
Greenmoon234 said:
[SOLVED]
I need help I just bricked my phone and can only access fastboot.
I just unlocked my 9t pro to install a custom rom and followed the steps of this video ( can't post link but it's called: Redmi K20 Pro / MI 9T Pro - INSTALL Pixel Experience ROM Official | Android 9 Pie)
I managed to install twrp, made a backup of dtbo, boot, system and data and then wiped dalvik, cache, system and Data. After that I flashed DM Verity Force Encrypter and proceeded to flash havoc-os which gave me Error 7. I figured I might need to reboot the recovery, after doing so only fastboot comes up anymore. I cannot access twrp and have no OS installed. Please help.
Click to expand...
Click to collapse
This is the problem with random YouTube videos, they don't always give good advice.
There is no reason to back up dtbo, unless you are going to install an overclocked screen refresh rate mod.
There's no reason to wipe system.
There's no need to install DM Verify Force Encrypter, unless you know what they are for and you choose to disable DM Verify and/or permanently disable encryption.
Go here https://xiaomifirmwareupdater.com/archive/miui/raphael/
And choose the fastboot ROM for the version you want to install, then flash it in the Mi Flash Tool.
When flashing you MUST change the flash option at the bottom of the screen to 'clean all'. If you do not change this you will brick your phone (worse than it is now)
After this you can start again. Your best solution to flashing is to search these forums. There's many good guides here

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