root xiaomi mi 9T - Redmi K20 / Xiaomi Mi 9T Questions & Answers

Hi everybody
I come back on my concern to root my Xiaomi Mi 9T under miui 11.0.3.
I managed to root it by installing the magiskmanager.zip by the recovery twrp.
Here are the manips that I made via fastboot.
-Fastboot devices
-fastboot flash recovery twrp.img
I restart in the recovery manually because doing fastboot reboot recovey twrp.img it does not work.
So I install magiskmanager.zip
All is well for the moment I am rooted at startup.
May the worry is that the recovery does not stay when I restart in recovery mode I fall on the original one.
So suddenly I redo everything from the beginning and in magiskmanager I do the direct installation (recommended) and I download the app twrp on the playstore.
I download the twrp that offers and the flash via the application twrp and there surprise I restart recovery twrp mode.
Bizarre all these manipulations before it was much simpler.
Tell me if I made mistakes during my manips.
Sorry about the novel ...
Thanks for reading me

Use instructions from thread "root without twrp". Did that a few days ago and there was not a single issue. You can flash twrp (I used official) at the beginning via fastboot and you good to go.
Making long story short:
Unlock bootloader, flash twrp, flash ROM, install magisk manager, flash boot.img use magisk manager to patch boot and you got it

Related

Lost recovery, cant boot, only fastboot

Guys... when i tried to flash oos 3.0 on my op2 through twrp, i first wiped the data to install new rom, then install oos 3.0, it failed. I then flashed the recovery i downloaded from the thread, then restart the recovery
I cant boot into the recovery.
System can't boot
Is it called "brick"?
So i tried to flash stock recovery in pc by command, but it says "remote: device is locked. cannot flash images". any solution to this problem?
I can boot into fastboot mode
You need to run the phone in Qualcomm mode on a PC and run the recovery tool to fix you bootloader.
I did the same and it was a royal ball ache trying to find out how to fix it
Don't do what rosswaa said
Why not?
What you should do is boot your phone into fastboot mode, connect it to your pc. Flash this modified TWRP recovery img to your phone https://www.androidfilehost.com/?fid=24459283995297945. After that you have to flash this modified SuperSU (through the new recovery) https://www.androidfilehost.com/?fid=24459283995297946.
The normal recovery doesn't work in OOS 3.0 (just like in HOS) and it's the SuperSU that gives you the soft brick. A dirty flash of the modified SuperSU should fix it.
I also had your problem and I did what rosswaa said which shouldn't be necessary (I lost all my data and backups).
I didn't lose anything, but I tried doing what you said and my bootloader was screwed so wouldn't take a flashed recovery or anything (yes the modified one)
Wish I hadnt been so excited and just flashed but all sorted now
Hmm okay, if it doesn't work with flashing the new recovery img then do what rosswaa said and after that follow this post https://forums.oneplus.net/threads/installation-instructions-faqs-oxygenos-3-0-0.439108/
Obviously try what green says first, if it works then happy days
first i am really glad that someone give some advices on me. But since i am a noob, how can i flash twrp in fastboot mode? using command? "fastboot flash recovery xxx.img"? thx
SPiCa39's said:
Guys... when i tried to flash oos 3.0 on my op2 through twrp, i first wiped the data to install new rom, then install oos 3.0, it failed. I then flashed the recovery i downloaded from the thread, then restart the recovery
I cant boot into the recovery.
System can't boot
Is it called "brick"?
So i tried to flash stock recovery in pc by command, but it says "remote: device is locked. cannot flash images". any solution to this problem?
I can boot into fastboot mode
Click to expand...
Click to collapse
1 Install official TWRP 3.x via fastboot twrp.me/devices/oneplustwo.html
Reboot to recovery
2 install this modified version of TWRP
forum.xda-developers.com/oneplus-2/development/recovery-teamwin-recovery-project-3-0-0-t3310713
Reboot to recovery
3 install oos3 (And supersu)
Sorry i can't post link

Fu**ed up during first twrp installation, forgot to flash supersu before reboot

On xiaomi 3s during first twrp installation, forgot to flash supersu before reboot now i am stuck on MI logo, can access fastboot but not twrp. tried re-flashing twrp (wich i can do) but the phone still stuck with no twrp acess, tried to flash fastboot (flash boot twrp.img) also does nothing.ùi am quite the noob, please help?
redsjack said:
On xiaomi 3s during first twrp installation, forgot to flash supersu before reboot now i am stuck on MI logo, can access fastboot but not twrp. tried re-flashing twrp (wich i can do) but the phone still stuck with no twrp acess, tried to flash fastboot (flash boot twrp.img) also does nothing.ùi am quite the noob, please help?
Click to expand...
Click to collapse
Boot into TWRP. Goto Advanced --> Disable DM-Verify. Reboot device. Done.
now i installed the supersu but when i reboot the phone it always boots to TWRP i think because i flashed
fastboot flash boot twrp.img (yes i am a idiot)
if i want to boot the system what should i do?
redsjack said:
now i installed the supersu but when i reboot the phone it always boots to TWRP i think because i flashed
fastboot flash boot twrp.img (yes i am a idiot)
if i want to boot the system what should i do?
Click to expand...
Click to collapse
As far as I read this thread you forgot to turn off the DM-Verify option in TWRP after install and rebooted immediately.....
Hate to break it to you but your currently installed OS is now pretty much dead now. Had the same issue when I first tried it.
You need to install a clean MIUI ROM first via fastboot and MIFlash-Tool. Then proceed to install TWRP again. When TWRP is booted the first time it will ask your permission to Modify the System. Swipe to confirm that (needed for most operations TWRP is able to do).
After you allow the system modify part, you are in TWRPs main menu. Tap on "Advanced", then tap on "Disable DM-Verify". Once again swipe to confirm.
After that, you should be able to have TWRP on your device and should be able to boot normally to MIUI... or you go straight ahead and flash a new Custom Rom.
thank you.
So i will need to download a new rom (any suggestion on which one is good? i did install twrp because my vendor rom didn't work with local 3g and LTE) and install it with the miui flash tool. Than repeat the twrp installation but disable dm-verify first, (than reinstall super su?),and at the end reboot.
No need to clear anything?
i flashed the global stable rom from the xiaomi flash tool it say successful and took just a second but i am stuck still on mi logo....
Is your phone unlocked?
In fastboot fastboot oem device-info
i unlocked it just one day before with permission message from xiaomi.
Next time used cofface twrp for redmi 3S: http://en.miui.com/thread-244098-1-1.html
Sent from my Redmi 3S using Tapatalk
Ez. Go to fastboot mode, flash again the whole ROM and flash your TWRP again. Don't forget to disable DM-verify. It stuck at logo not because of you forgot to root your device, is because of you forget to disable DM-verify.

fastboot help

I was flashing TWRP
I couldn't boot into system after flashing..
This is what I did:
1. fastboot boot recovery.img
2. Swipe to allow modifications in twrp
3. Flash TWRP installer zip
4. Reboot into partition B
5. Reboot bootloader
6. fastboot boot recovery.img
7. Swipe to allow modifications in twrp
8. Flash TWRP installer zip
9. Then I rebooted into recovery to check if recovery boots and it did.
But afterwards couldn't boot back into system. It was again booting into recovery.
I booted into recovery using fastboot boot, that's why it might won't boot into system. Is there a command to boot into system after above procedure?
Files used: https://m.youtube.com/watch?v=tRcYUMBgvaI
? How to Root Mi A1! Unlock Bootloader, TWRP Recovery ... - YouTube
By Dhananjay Bhosale
Kindly also suggest source of files you used, if you know another working method.
I have the same problem. Meanwhile, flash the stock fastboot images.
Why do you want to have TWRP installed? I am following these steps each month (fastboot ROM was always out sooner than my OTA) without any issues.
1. flash stock ROM via fastboot
2. fastboot boot twrp-3.1.1.img and don't allow system modifications or you won't be able to apply OTA
3. install magisk 15.1
4. reboot to system
If first boot takes more than 2-3 minutes, hold power off button until phones restarts, second start will take the usual time.
I also don't allow any modifications from TWRP, and just boot to TWRP when I need to. I do not install TWRP.
Sounds like you'll have to do a miflash of the rom, then try not installing TWRP and not allowing any modifications in TWRP to system. Just use TWRP to flash Magisk.

Disabling Stock Recovery flash on MIUI

Hello This a thread to show you how to prevent the stock rom from flashing the stock recovery every time you boot up. There is a script likely located in the boot.img file of the stock rom that flashes the stock recovery every time you boot up. what you have to do is overwrite that boot.img which would disable that script from running. one easy way to do this is to flash twrp and flash magisk.zip, this will overwrite the boot.img
magisk
Magisk-v21-4.zip - BytesTransfer
bytestransfer.com
"
McNoob
Senior Member
Google really is a friend. All I had to do was install Magisk before booting to System.
Below are my exact steps, if that helps someone.
Preliminary:
Download Magisk 17.1 zip, place it on a USB flashdrive.
Install latest magiskmanager apk from Play store (or sideload it if not on the store)
1- In Fastboot:
fastboot flash recovery twrp.img
fastboot boot twrp.img (If all goes well, this boots to TWRP; if prompted for a code, hit cancel)
2- Disconnect the cable.
Reboot to recovery once more (just to make sure, this is probably redundant; hit cancel if prompted for a code)
3- Mount USB-OTG, connect your flashdrive.
Install Magisk.
During the installation, you'll see some red fail lines, but Magisk seems to work around the encryption, just be patient.
4-Reboot System. You're done! Launch MagiskManager. Device is rooted in the process, too. (Verify with a root checker app).
Power Off. Hit Power + volume Up - You should boot to TWRP.
"

About to give up on flashing recovery to OOS 11.1.1.1

I tried "fastboot boot" almost all of KizuYuna's .imgs, tried fastboot boot the lineagerecovery.img. All I get is the fastboot logo and the phone just restarts into OOS... TWRP is same.
About to MSM downgrade to OOS 10 to get recovery working like I did before. Thought it would be better to flash a rom from OOS 11 to get better firmware compatibility but just wont work.
Simply go back to OS 10.3.5 using the MSM Download Tool. Upgrade via OTA to 11..1.1.1, fastboot flash boot magisk_patched-23000_11.1.1.1 from XDA 235Sanders15 post. (you are now rooted with Magisk. Via Magisk install TWRP-Installer-3.5.2_9-0 you are now unrooted but have TWRP installed. Using TWRP flash Magisk v23.0.You are now rooted on OS 11.1.1.1 with TWRP installed. Do not change the Kernel it will cause a Bootloop.
bpambrose said:
Simply go back to OS 10.3.5 using the MSM Download Tool. Upgrade via OTA to 11..1.1.1, fastboot flash boot magisk_patched-23000_11.1.1.1 from XDA 235Sanders15 post. (you are now rooted with Magisk. Via Magisk install TWRP-Installer-3.5.2_9-0 you are now unrooted but have TWRP installed. Using TWRP flash Magisk v23.0.You are now rooted on OS 11.1.1.1 with TWRP installed. Do not change the Kernel it will cause a Bootloop.
Click to expand...
Click to collapse
So you are saying MSM to 10 and then flash official 11.1.1.1 or fastboot flash boot magisk_patched-23000_11.1.1.1 (this is a full 11.1.11.1 OS flash? No need to use twrp from 10?)
Thanks
So I just went thru an Android 10 to 11.1.1.1 upgrade, and it was a bit frustrating. So I'll throw out what I learned along the way.
Note, I have a T-Mobile Variant, so sometimes you need different files/steps for T-Mo.
I flashed the full OTA via Settings > Update > Local Upgrade, which ended up boot-looping.
Via Fastboot, I did fastboot flash boot magisk_patched-23000_11.1.1.1.img; followed by fastboot reboot;
This was still boot-looping, so I shutdown the phone, and booted into recovery, which was now PBRP.
via PBRP, I flashed the full OTA again from my SDCard; then installed PBRP zip;
Reboot to System and got a Successful Boot. Yey.
Reboot to Recovery; Backup Boot.
Reboot to System
Install Magisk App; within Magisk > Install > select my Boot Backup to Patch (per Magisk instructions); I used a file manager to copy to my PC from my phone
Reboot to Fastboot; fastboot flash boot magisk_patched-23000_rJoA.img (the file Magisk created)
Reboot to System; Success!
I guess my morale of the story is, get a clean boot working, go from there. Patch your own boot, don't rely on someone else's.
Fenopy said:
So I just went thru an Android 10 to 11.1.1.1 upgrade, and it was a bit frustrating. So I'll throw out what I learned along the way.
Note, I have a T-Mobile Variant, so sometimes you need different files/steps for T-Mo.
I flashed the full OTA via Settings > Update > Local Upgrade, which ended up boot-looping.
Via Fastboot, I did fastboot flash boot magisk_patched-23000_11.1.1.1.img; followed by fastboot reboot;
This was still boot-looping, so I shutdown the phone, and booted into recovery, which was now PBRP.
via PBRP, I flashed the full OTA again from my SDCard; then installed PBRP zip;
Reboot to System and got a Successful Boot. Yey.
Reboot to Recovery; Backup Boot.
Reboot to System
Install Magisk App; within Magisk > Install > select my Boot Backup to Patch (per Magisk instructions); I used a file manager to copy to my PC from my phone
Reboot to Fastboot; fastboot flash boot magisk_patched-23000_rJoA.img (the file Magisk created)
Reboot to System; Success!
I guess my morale of the story is, get a clean boot working, go from there. Patch your own boot, don't rely on someone else's.
Click to expand...
Click to collapse
So you had to go through all the trouble because you had a bootloop issue when OTA updating to 11? I already got to 11 but am trying to fastboot boot a recovery because I want to flash a custom ROM... When I fastboot boot TWRP.img or LOS Recovery .img it just shows fastboot logo and restarts the phone with no recovery shown..

Categories

Resources