Mi9T stucks on kali boot logo after flashing nethunter - Redmi K20 / Xiaomi Mi 9T Questions & Answers

I do have orangefox recovery flashed into my phone. Wiped data, system, cache... and format data
First of all, I installed MIUI (the latest version from mi website "miui_DAVINCIGlobal_V12.1.4.0.RFJMIXM_e0ac13ed89_11.0.zip"). If I reboot into the system, it works fine.
Then flash magisk(v24.3) and 'disable DM-Verity_ForceEncrypt', and reboot into recovery
When I flash nethunter (nethunter-2022.2-davinci-miui-ten-kalifs-full.zip), which I downloaded from offensive security webpage., it does install well (at least it doesn't show any error messages).
After flashing nethunter, I rebooted into system. When nethunter logo did pop up, it got stuck into that fire animation. I can still access fastboot and recovery menu.
Any idea of what's happening? Why doesn't it boot?

Xylonity said:
I do have orangefox recovery flashed into my phone. Wiped data, system, cache... and format data
First of all, I installed MIUI (the latest version from mi website "miui_DAVINCIGlobal_V12.1.4.0.RFJMIXM_e0ac13ed89_11.0.zip"). If I reboot into the system, it works fine.
Then flash magisk(v24.3) and 'disable DM-Verity_ForceEncrypt', and reboot into recovery
When I flash nethunter (nethunter-2022.2-davinci-miui-ten-kalifs-full.zip), which I downloaded from offensive security webpage., it does install well (at least it doesn't show any error messages).
After flashing nethunter, I rebooted into system. When nethunter logo did pop up, it got stuck into that fire animation. I can still access fastboot and recovery menu.
Any idea of what's happening? Why doesn't it boot?
Click to expand...
Click to collapse
For Magisk you ABSOLUTELY don't need Verity and so
Simply, extract boot.img from the firmware zip and by using Magisk APP take install, Select and Patch to patch your extracted boot.img
Do not enable Recovery option while patching
Then flash from Fastboot the patched boot img to Boot
That's it - the proper way to install Magisk to your Xiaomi ( I used and still use on my Mi 9T from MIUI 10 till now with MIUI 12.5)
For Nethunter I cannot help you. It's been more than two years since I used Kali and at that time it installed flawlessly.
However, then I had MIUI 11 and Kali required MIUI 11 - don't know how is it now...
And btw, I always use the latest TWRP.me version - currently 3.6.1_9-0

zgfg said:
For Magisk you ABSOLUTELY don't need Verity and so
Simply, extract boot.img from the firmware zip and by using Magisk APP take install, Select and Patch to patch your extracted boot.img
Do not enable Recovery option while patching
Then flash from Fastboot the patched boot img to Boot
That's it - the proper way to install Magisk to your Xiaomi ( I used and still use on my Mi 9T from MIUI 10 till now with MIUI 12.5)
For Nethunter I cannot help you. It's been more than two years since I used Kali and at that time it installed flawlessly.
However, then I had MIUI 11 and Kali required MIUI 11 - don't know how is it now...
And btw, I always use the latest TWRP.me version - currently 3.6.1_9-0
Click to expand...
Click to collapse
Thanks for replying

Related

Bootloops after flashing Magisk OOS 5.0.2

I've been getting bootloops after installing Magisk on my OnePlus 5 unlocked bootloader , rooted before at 4.5.15.
I directly updated it to 5.0.2 which resulted in many errors in the end had to flash it completely and then clean install the ROM .
The ROM works perfectly with almost no trouble.
I then flashed almost all Magisk versions I could get hold of (14.5,15.2,15.3,15.4(beta))
But none of them could get past the boot animation.
I've also flashed the no Verity mod file both before and after the flashing of Magisk nothing worked.
But everytime after all this I flash the Magisk uninstaller and I get easily get back to using the device but without root.
Anyone help me rooting this ?
The ROM has been downloaded from official OnePlus website and the twrp I'm using is the codeworkx version.
First do this then tell me how it went.
1. Boot to fastboot and flash twrp-3.2.1-0-universal-codeworkx-cheeseburger.img via command window, make sure you have adb installed on pc.
2. Then boot DIRECTLY to twrp.
3. Dirty flash OOS 5.0.2 over your current rom in twrp and then wipe dalvik and cache.
4. Then boot into fastboot DIRECTLY again and flash twrp-3.2.1-0-universal-codeworkx-cheeseburger.img again.
5. Boot into twrp directly and flash Magisk 15.2.zip
6. Finally boot into the system.
7. Optional: then you can go ahead and update Magisk via it's own flash tool.
I'm already on 5.0.2 so do I dirty flash it again?

TWRP Android Pie black screen & white led

Hey there all,
I have a OnePlus 5 which is already rooted and has TWRP from here ( sourceforge [dot] net/projects/cheeseburgerdumplings/files/15.1/cheeseburger/recovery/twrp-3.2.3-0-20180822-codeworkx-cheeseburger.img/download ) which works. I have OOS 5.1.5, magisk manager and magisk root, OEM bootloader unlocked, basically, all required stuff for root.
I want to update to Android Pie (OOS 9.0.4) but when flashing either TWRP from here ( sourceforge [dot] net/projects/cheeseburgerdumplings/files/16.0/cheeseburger/recovery/twrp-3.2.3-0-20190311-codeworkx-cheeseburger.img/download ) or here ( github [dot] com/engstk/android_device_oneplus_cheeseburger/releases/tag/v9.96 ) by booting into fastboot, then doing:
Code:
fastboot flash recovery twrp-3.2.3-x_blu_spark_v9.96_treble-op5_op5t.img
(or other image name)
and then booting recovery.. first oneplus logo, then black screen and white led. On both TWRP's.
So I reboot back into fastboot, flash the android 8.1 TWRP and I can boot into TWRP, but the 8.1 TWRP cannot flash OOS 9.0.4 (error 7), so I need to flash TWRP for android 9, but that TWRP won't boot.
How can I proceed? (without deleting my data/apps, and yes I did make a tar of /data and a TWRP backup of the phone). I know upgrading without wipe *should* possible as I've upgraded from 7/nougat to 8.1/oreo this way (flashing 8.1 twrp, flashing oos 5 zip, wiping cache, reboot - worked fine).
grasmanek94 said:
Hey there all,
I have a OnePlus 5 which is already rooted and has TWRP from here ( sourceforge [dot] net/projects/cheeseburgerdumplings/files/15.1/cheeseburger/recovery/twrp-3.2.3-0-20180822-codeworkx-cheeseburger.img/download ) which works. I have OOS 5.1.5, magisk manager and magisk root, OEM bootloader unlocked, basically, all required stuff for root.
I want to update to Android Pie (OOS 9.0.4) but when flashing either TWRP from here ( sourceforge [dot] net/projects/cheeseburgerdumplings/files/16.0/cheeseburger/recovery/twrp-3.2.3-0-20190311-codeworkx-cheeseburger.img/download ) or here ( github [dot] com/engstk/android_device_oneplus_cheeseburger/releases/tag/v9.96 ) by booting into fastboot, then doing:
(or other image name)
and then booting recovery.. first oneplus logo, then black screen and white led. On both TWRP's.
So I reboot back into fastboot, flash the android 8.1 TWRP and I can boot into TWRP, but the 8.1 TWRP cannot flash OOS 9.0.4 (error 7), so I need to flash TWRP for android 9, but that TWRP won't boot.
How can I proceed? (without deleting my data/apps, and yes I did make a tar of /data and a TWRP backup of the phone). I know upgrading without wipe *should* possible as I've upgraded from 7/nougat to 8.1/oreo this way (flashing 8.1 twrp, flashing oos 5 zip, wiping cache, reboot - worked fine).
Click to expand...
Click to collapse
I answerd you here
https://forum.xda-developers.com/on...2-1-0-oreo-oxygenos-5-0-t3725723/post79193757
please post your question only once.
The update instructions can be found here https://forum.xda-developers.com/on...xygenos-4-5-2-7-1-1-ota-t3627003/post72799040
You need to follow them, then it will work, if not, tell us where you stuck :good:

Unable to root Redmi 7A (MIUI Global 11.0.5 & Android version 9 PKQ1.190319.001

I recently bought Redmi 7A phone with the sole intention of rooting the device. But it looks like there's no way to root it. :crying::crying: I was able to unlock the bootloader, install TWRP but after that I'm stuck. Tried Magisk & SU.. both of them failed. Not sure how to proceed from here. Desperately need your help...plz
I was able to root after booting from a patched boot.img (fastboot boot patched_boot.img), installed Magisk and let it patch the flashed boot.img
You'll need a patched boot.img, don't know where I found mine (11.0.13 EU)
Same. Unlocked the bootloader, flashed vbmeta and recovery, everything works as expected. When I flash the patched_boot.img for 11.0.5 global the device keeps booting to recovery. Flashing magisk+-permissiver has no effect.
Sorry, figured it out.
1. flash boot.img
2. reboot into recovery
3. format data
4. install magisk+permissiver
5. reboot
Thanks everyone here for all the work.
I have done it. All i had to do is patch the boot image using this tool: https://github.com/YaAlex3/patcher-oss
I used miui 11.0.5 global and it just worked. The boot image is attached. The steps are: wipe everything exept sd card, then format all data, reboot back to recovery (can be 32/64 bit), flash miui_PINEGlobal_V11.0.5.0.QCMMIXM_a3def89fd4_10.0.zip (i hope it is the same image, if not, contact me, and i will send it to you), then flash boot image attached here and lastly flash Magisk-v19.3.zip.
I dont recommed you to upgrade to higher versions of magisk, because it could break your system.
So this is how i got it working, good luck!
Here is the boot image!
TheRealSalads said:
I have done it. All i had to do is patch the boot image using this tool: https://github.com/YaAlex3/patcher-oss
I used miui 11.0.5 global and it just worked. The boot image is attached. The steps are: wipe everything exept sd card, then format all data, reboot back to recovery (can be 32/64 bit), flash miui_PINEGlobal_V11.0.5.0.QCMMIXM_a3def89fd4_10.0.zip (i hope it is the same image, if not, contact me, and i will send it to you), then flash boot image attached here and lastly flash Magisk-v19.3.zip.
I dont recommed you to upgrade to higher versions of magisk, because it could break your system.
So this is how i got it working, good luck!
Click to expand...
Click to collapse
do i flash the boot img via recovery (twrp/pitchblack) or via fastboot?
nevermind. it bloody works after i installed/flash your boot.img via my pitchblack recovery. thank you so much dude!
TheRealSalads said:
I have done it. All i had to do is patch the boot image using this tool: https://github.com/YaAlex3/patcher-oss
I used miui 11.0.5 global and it just worked. The boot image is attached. The steps are: wipe everything exept sd card, then format all data, reboot back to recovery (can be 32/64 bit), flash miui_PINEGlobal_V11.0.5.0.QCMMIXM_a3def89fd4_10.0.zip (i hope it is the same image, if not, contact me, and i will send it to you), then flash boot image attached here and lastly flash Magisk-v19.3.zip.
I dont recommed you to upgrade to higher versions of magisk, because it could break your system.
So this is how i got it working, good luck!
Click to expand...
Click to collapse
Hi, I tried your method and I think the magisk installation work but i can't verify because every time I reboot my device I am automatically redirected into recovery. How can I reboot into system now?
Thanks

Problems with MIUI v11.0.4 and TWRP/Magisk

Hello,
I have MI 9T. I unlocked it and tried to get TWRP and Magisk installed and ran into issues.
I tried TWRP 3.3.1-0-davinci and Magisk v20.4, both official.
If I flash v11.0.4.0 ROM (I tried both global or EU versions, QFJMIXM and QFJEUXM), and then install TWRP and Magisk, phone goes into bootloop and then back to TWRP. After that I am not able to boot system at all, and end up going into fastboot and reflashing official ROM.
I tried flashing v10.3.15.0 PFJEUXM (EU) version. TWRP and Magisk work perfectly fine on that one.
Then I tried upgrading to v11.0.3 version (I think the hash was PFJEUXM but I'm not certain) from system settings, it works perfectly fine with TWRP and Magisk too.
If I then try upgrading to v11.0.4.0 it all goes wrong. TWRP/Magisk get wiped (that's usual), but if I reinstall them- bootloop again and unable to boot system.
I'll keep using v11.0.3 for now, but it would be nice if TWRP/Magisk get fixed to support v11.0.4. Until that happens I think it would be wise to avoid upgrading to v11.0.4 if you have TWRP and Magisk.
P.S. I never set any passwords or authentication anywhere.
--Coder
coder111 said:
Hello,
I have MI 9T. I unlocked it and tried to get TWRP and Magisk installed and ran into issues.
I tried TWRP 3.3.1-0-davinci and Magisk v20.4, both official.
If I flash v11.0.4.0 ROM (I tried both global or EU versions, QFJMIXM and QFJEUXM), and then install TWRP and Magisk, phone goes into bootloop and then back to TWRP. After that I am not able to boot system at all, and end up going into fastboot and reflashing official ROM.
I tried flashing v10.3.15.0 PFJEUXM (EU) version. TWRP and Magisk work perfectly fine on that one.
Then I tried upgrading to v11.0.3 version (I think the hash was PFJEUXM but I'm not certain) from system settings, it works perfectly fine with TWRP and Magisk too.
If I then try upgrading to v11.0.4.0 it all goes wrong. TWRP/Magisk get wiped (that's usual), but if I reinstall them- bootloop again and unable to boot system.
I'll keep using v11.0.3 for now, but it would be nice if TWRP/Magisk get fixed to support v11.0.4. Until that happens I think it would be wise to avoid upgrading to v11.0.4 if you have TWRP and Magisk.
P.S. I never set any passwords or authentication anywhere.
--Coder
Click to expand...
Click to collapse
There are two other threads about installing Magisk (without using TWRP).
However, TWRP (official or OrangeFox) can be also installed (independently of Magisk, e.g. I did once I already had Magisk).
And everything works perfect for QFJEUXM 11.0.4.0 - responding from my Mi 9T with both
Can you enumerate exactly which steps you took and which options you selected?
For me it was:
* Boot into Fastboot.
* Fastboot flash original MIUI ROM
* (Boot the system). I tried skipping this step, didn't make a difference.
* Reboot into Fastboot
* Fastboot flash TWRP.
* Reboot into TWRP.
* Reboot into TWRP again. TWRP asks to install itself before reboot. Allow TWRP to install itself.
* Copy Magisk to mobile USING MTP while in TWRP recovery.
* Install Magisk.zip. Wipe cache and dalvik.
* Reboot into system.
* FAIL.
Maybe I had to set a password somewhere or decrypt/mount something in one of the steps or something? Or did you install something extra like dm-verity disabler or something? I tried installing dm-verity disabler after TWRP but that just sent my phone into bootloop immediately.
zgfg said:
There are two other threads about installing Magisk (without using TWRP).
However, TWRP (official or OrangeFox) can be also installed (independently of Magisk, e.g. I did once I already had Magisk).
And everything works perfect for QFJEUXM 11.0.4.0 - responding from my Mi 9T with both
Click to expand...
Click to collapse
coder111 said:
Can you enumerate exactly which steps you took and which options you selected?
For me it was:
* Boot into Fastboot.
* Fastboot flash original MIUI ROM
* (Boot the system). I tried skipping this step, didn't make a difference.
* Reboot into Fastboot
* Fastboot flash TWRP.
* Reboot into TWRP.
* Reboot into TWRP again. TWRP asks to install itself before reboot. Allow TWRP to install itself.
* Copy Magisk to mobile USING MTP while in TWRP recovery.
* Install Magisk.zip. Wipe cache and dalvik.
* Reboot into system.
* FAIL.
Maybe I had to set a password somewhere or decrypt/mount something in one of the steps or something? Or did you install something extra like dm-verity disabler or something? I tried installing dm-verity disabler after TWRP but that just sent my phone into bootloop immediately.
Click to expand...
Click to collapse
I didn't need to install 11.0.4.0 - I had it by OTA
Install Magisk as described in the threads you can find here on XDA (Easiest way to install Magisk without TWRP, title was something like that), basically:
- start from stock QFJEUXM 11.0.4.0
- extract boot image from recovery/zip package QFJEUXM 11.0.40 and copy to phone
- install Magisk Manager app and patch the extracted image (DM Verity and Enforce encryption must be On, Recovery option Off)
- copy the patched image to PC and flash by Fastboot to boot partition
- reboot to system and you are rooted, enjoy Magisk
Flash the official TWRP, boot to, enter your Android unlock pin/pass but
do not format Data or anything - enjoy TWRP.
From TWRP you can flash OrangeFox recovery if you like it (you can always flash back TWRP if you wish) - it also supports Android pin/pass for the read/write access to Internal memory
You don't need to extract and patch yourself the boot image, you can find the patched boot image on my Mega (and the corresponding Magisk Manager Canary apk), as well as TWRP: https://mega.nz/#F!hllnSIpA!amAG8moMYW_tG8r731Tzgg
Thanks for your help.
I tried the thing with Magisk Manager & boot image file, and it worked. I can live with stock recovery for now. I just needed root.
You saved me quite a bit of hassle. Thanks again.
zgfg said:
I didn't need to install 11.0.4.0 - I had it by OTA
Install Magisk as described in the threads you can find here on XDA (Easiest way to install Magisk without TWRP, title was something like that), basically:
- start from stock QFJEUXM 11.0.4.0
- extract boot image from recovery/zip package QFJEUXM 11.0.40 and copy to phone
- install Magisk Manager app and patch the extracted image (DM Verity and Enforce encryption must be On, Recovery option Off)
- copy the patched image to PC and flash by Fastboot to boot partition
- reboot to system and you are rooted, enjoy Magisk
Flash the official TWRP, boot to, enter your Android unlock pin/pass but
do not format Data or anything - enjoy TWRP.
From TWRP you can flash OrangeFox recovery if you like it (you can always flash back TWRP if you wish) - it also supports Android pin/pass for the read/write access to Internal memory
You don't need to extract and patch yourself the boot image, you can find the patched boot image on my Mega (and the corresponding Magisk Manager Canary apk), as well as TWRP:
Click to expand...
Click to collapse

[SOLVED] Bootloop after installing Magisk.zip

Hello everyone! I am using Xiaomi Mi9T with OrangeFox recovery.
Today I decided to upgrade from the abandoned PixelExperience ButterySmooth rom to MSM-Xtended. I wiped data, cache, dalvik and system, installed the MSM XR v2.0 and Flame Gapps and everything has been working perfectly fine - I love the ROM so far.
However, I have trouble installing Magisk. I downloaded Magisk21.0.zip, flashed it in recovery, but my phone got stuck on fastboot. I uninstalled Magisk, everything went back to normal and I then tried patching the rom boot.img with Magisk manager and flashing that to the boot partition, once again phone gets stuck to fastboot. I tried the integrated OrangeFox Magisk installer, but it just gets stuck on the MI boot screen where it says "powered by Android".
Could you please help me with how I can fix this and install Magisk on my phone? Am I missing something?
Thank you in advance!
biskitankata said:
Hello everyone! I am using Xiaomi Mi9T with OrangeFox recovery.
Today I decided to upgrade from the abandoned PixelExperience ButterySmooth rom to MSM-Xtended. I wiped data, cache, dalvik and system, installed the MSM XR v2.0 and Flame Gapps and everything has been working perfectly fine - I love the ROM so far.
However, I have trouble installing Magisk. I downloaded Magisk21.0.zip, flashed it in recovery, but my phone got stuck on fastboot. I uninstalled Magisk, everything went back to normal and I then tried patching the rom boot.img with Magisk manager and flashing that to the boot partition, once again phone gets stuck to fastboot. I tried the integrated OrangeFox Magisk installer, but it just gets stuck on the MI boot screen where it says "powered by Android".
Could you please help me with how I can fix this and install Magisk on my phone? Am I missing something?
Thank you in advance!
Click to expand...
Click to collapse
Instead of probably your Stable Magisk v20.4 (six months old), try Canary v21101
Download Magisk Manager Canary v315 ( latest) from Github and patch the boot.img (Recovery option must be unticked) and flash magisk_patched.img by Fastboot to Boot partition
zgfg said:
Instead of probably your Stable Magisk v20.4 (six months old), try Canary v21101
Download Magisk Manager Canary v315 ( latest) from Github and patch the boot.img (Recovery option must be unticked) and flash magisk_patched.img by Fastboot to Boot partition
Click to expand...
Click to collapse
Thank you!
SOLUTION: I reached out to the ROM developers on Telegram and they sent me an old Magisk to flash. I did and it worked successfully and after updating through Magisk manager everything is working perfectly fine now The file can also be found in the ROM thread.

Categories

Resources