yashsingh1/xdaforums huggingface dataset:
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Nilsb7:
Here's a link :)

https://sourceforge.net/projects/xi...K20MI9T_V11.0.6.0.QFJCNXM_v11-10.zip/download

Let us know if it works for you!
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] zgfg:
Thanks.

It tells me Download is not possible from this device (although I'm trying from Mi 9T)?!

Anyway, this is QFJCNXM 11.0.6.0, I will wait for QFJEUXM
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] raza_maestro:
I flashed it and only noticeable thing is March security patch.

Will use and see if there are any major improvements.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] hulyahulya:
first if i install offical twrp after flash your script then after instal SHRP project . your script still will work fine right ?
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Pupet_Master:
Yes

BUT

Smartphones have flash memory,the more you flash things the more (even if slowly) the memory will lose it life.

So keep flashing a recovery twice just to update is a no go for me
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Vanmanman:
I have a mi9t 11.05.0 with magisk 20.4. For some reason when I install TWRP it will boot first time to TWRP but then second time revert back to stock recovery. Can anyone help?

update... all of a sudden its not doing this.... not sure how to delete post
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Alucarhd:
I might be off topic but I'm looking to root my mi 9t. Already unlocked the bootloader + flashed TWRP + installed the miui 12 found in another topic (works like a charm btw).

My previous phone (OP5) was kinda easy to root (TWRP + magisk), but the xiaomi mi 9T JEEZ... I really don't know how to install magisk now that I installer the miui 12 + twrp... :(
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Micdu70:
Don't know why it should be more difficult, it's same process...
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] zgfg:
Look at this thread and instructions. Worked through MIUI 10, 11 and now also 12:
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Alucarhd:
Aha I know, I've been up til 3AM because nothing seemed to work (was forced to use miflash software because my phone was softbricked).. Was stuck in bootloop :(

I succeeded this morning to get my miui 12 version working + I used the davinci TWRP for the flash.

But when I wanted to flash magisk 20.4, I got stuck (again) in a bootloop. So now I really don't know what to do (+ I imported all my apps from OP5 to mi 9t, but I should be able to flash magisk without losing anything)
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Wolfcity:
Extract boot image from recovery/zip package from the firmware you're running now and copy it to your device.

Install Magisk Manager app and patch the extracted image (it's one of the install options) in Magisk manager make sure to have dm verity and enforce encryption switched to On, Recovery option to Off.

Copy the patched image to PC and flash it by Fastboot to boot partition.

Reboot to system and you are rooted.

Following this thread: https://xdaforums.com/mi-9t/how-to/guide-easiest-to-root-twrp-t4000209

as [MENTION=7786725]zgfg[/MENTION] posted above.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] zgfg:
Read that instructions in the thread I gave you in the previous post - they describe i Installation of Magisk not by flashing Magisk zip through TWRP but by patching and flashing boot image
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Alucarhd:
I've already read that topic, and OP said the stock recovery was mandatory for the root process. I'm not entirely sure the magisk flash will work with my TWRI davinci recovery :/

I'll try

Update : It worked like a charm. Installed youtube vanced + other root apps.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] hulyahulya:
witch one is working for full restore ? SHRP project or orange fox ?
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] zgfg:
There is the new official TWRP 3.4.0, two or three days old
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] hulyahulya:
full system restore with backup working ?
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Nilsb7:
I'm not sure sadly, but as far as I know it should be possible by selecting "System Image" partition while creating a backup instead of the usual "System" partition.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] R!ffRaff:
the current official twrp cannot automatically install OTA update (lineageos 17.1). after confirming the installation the script boots into twrp and asks for the encryption password. with the lineage recovery this runs through without confirmation until the Os is rebooted. unfortunately lineage recovery does not offer the functions but the update process is better. will anything else be changed?

currently I use the recovery of lineage and only to install or backup the twrp. would be nice if you didn't always have to change!
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] yaro666:
I use twrp 3.5.0-9.0 and Lineage. Since 3.5.0 came out it's possible to OTA update without loosing anything. Just updated yesterday the ROM with 20210210, so stop spreading bulls#!t.

Just download OTA and you end up in TWRP, where you just unlock with pattern and that's it.

ROM installs along with magisk, 5 updates and mot a single problem
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] R!ffRaff:
I didn't write that it didn't work. the automaitsche install without a screen does not work. twrp has had some problems and different smytomes on different devices since may 2020. Please don't pretend that twrp is the best there is. for some time now nothing really has happened. errors are rarely eliminated.

with the other recovery I can do the update and have to unlock the sipm pin and password after an automatic restart. no extra button, no password, no pattern. on other devices twrp 3.5.0 still leads to the boot loop! so please don't tell how great twrp works!

It looks similar with twrp. lately there were some bugs there which lineage fixed themselves. Always making other people stupid is not particularly nice, especially not when you want to point out errors that are interesting for other users!
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] yaro666:
You just have to use pattern to decrypt your data - security, if someone wants to steal your phone and get data from recovery, that's pro for me.

TWRP is updated when new version of android appears. I've been using TWRP since HTC HD2 era, so it's close to 10 years and never had problems that's related to recovery - always due to buggy/updated ROMS.

Lineage is great, but it lacks the most important functions to me - backup and install without connecting to PC.

Lineage is great for OTA, if you don't use root. Everytime I updated with Lineage recovery I was loosing root, so I had to download magisk.zip, hook phone to PC and install with ADB only magisk

Don't put words in my mouth, that I make people stupid. I just disagree that Lineage is one and only, best recovery, but users have different expectations and I like to have full control of my phone even on the go.

Sorry if I offended you, but I am correcting you just basing on my experiences
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] R!ffRaff:
i have been using twrp on different devices for many years. Unfortunately, the soupport has gotten worse. This does not mean that no new version appears, but errors are not or rarely corrected. lineage 17.1 has also changed a few things why some things don't work.

i have been using the recovery since lineage17 official because of the updates. I've never lost the root because of it! if you like to test try it out once. lineage has just fixed something in relation to magist.

i think twrp is of course better, just because of the possibilities. when updating you don't have to unlock the phone because it is also not the case with the original recovery and the phone is still encrypted. rather, decryption by twarp is a security problem.

try it is also flashed back quickly via sideload / fastboot

have a nice day ;)
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] R!ffRaff:
TWRP 3.5.1 out now
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] AGelu:
Could you repeat your steps please ? From TWRP fastboot installation .

- After first reboot to TWRP : did you format data for decryption ?

- Did you flash Magisk ? If yes, when? After a reboot to system or on the same batch with dev Eu rom ?
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Nilsb7:
Yes! But the Greek and Russian versions are only partially confirmed working yet, see below!

Could you test whether you're able to create a data backup and restore data from a backup through TWRP without any errors?

The simplest way of checking this would be

Create a backup

Reboot to system, change some kind of setting or (un)install an app

Restore from backup and verify the restore worked by checking whether the setting or the deleted app is back

That would be very helpful as that's the last bit of information that's missing for us here!
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Skiamakhia:
I basically followed the flash instructions on this XDA Guide. So it's gonna be a lot of copy/paste from this page.

Make sure before you start you have downloaded the Russian TWRP Version of 4PDA

1. Obviously you need to have your phone bootloader unlocked and enabled USB Debugging.

2. Connect your phone to PC

2. Reboot to Fastboot using Volume Down+Power button

3. On your PC, navigate to the 4PDA TWRP folder

4. Start the Flash_TWRP.bat file (as Administrator just to be sure)

5. Follow the instructions in the CMD window

6. After TWRP Flash, reboot into recovery (Press Volume up Button+Power button)

7. Flashed Xiaomi.eu stable 10.3.14

8. Rebooted and let the ROM load (have patience, first time takes pretty long!)

9. Follow and complete setup

After setup is completed first thing I did was download and install Magisk Manager through web browser.

After Magisk Manager is installed, open it and select Magisk on top, download as a ZIP, save it somewhere you can find it in Recovery mode.

Next reboot into Recovery (Vol. Up button+Power button), select Install and look for the Magisk Zip file and flash it.

After flashing Magisk, reboot into system again and load up Magisk Manager. It should say that both are currently installed.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Skiamakhia:
What should I be selecting when making an backup with TWRP?

- Boot

- Data

- System?

- System image?

- Firmware update?

First 2 seems obvious, but I've never done this so I might just ask.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Nilsb7:
AFAIK Boot, System (ROM) and Data (your apps + settings) are the default, so those three should suffice.

I'm not familiar with the others either, last time I used twrp was a few years ago and it didn't have those options back then.

https://twrp.me/faq/whattobackup.html

Here's some interesting information about some magical thing call dm-verity (that I don't understand either) which might come into play when trying to restore from backup.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Nilsb7:
Could you go into detail of step 1? There can be crucial details hidden in this step.

The rest of your instructions are very detailed and helpful! Much appreciated by everyone here I think ;)
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Skiamakhia:
Thank you. I basically followed the flash instructions on this XDA Guide. But I added my steps in my post above.

EDIT: And I also tested the backup through TWRP just yet. Worked for me.

What I did:

1. Booted into Recovery, selected Backup

2. Backed up Boot, System and Data (as you mentioned above)

3. Rebooted into system and installed Fdroid and Yalp Store and updated all apps that Yalp Store said he could update.

4. After all the updates I booted back into Recovery, selected Restore

5. Chose my backup from earlier and restored

6. Rebooted into system and checked for Fdroid and Yalp store, but they vanished.

So it seems that it works? At least for me :fingers-crossed:
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] PabloPrezes:
Quote:

Originally Posted by PabloPrezes

Hello, which recovery will work properly under MIUI Global 10.3.11 Stable (PFJMIXM) MI 9T

I'm using the Greek one, flashed magisk and everything fine

Hello, and which Greek version do you have:

twrp_davinci_3.3.1_05-08-19

twrp_davinci_3.3.1_12-08-19
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Nilsb7:
Perfect! Thanks a lot for taking the time to test and write about it. :)

So I think we now have confirmations of the latest Greek version working with both the latest xiaomi.eu dev and stable version!

I'll update OP when I'm back home sometime tomorrow.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] DualPerson:
4PDA version works with global stable V10.3.11.0. With LR and greek one, couldn't boot
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] soldatino69:
Would like to have trwp and root on miui stock global!

things to do:

1) Flash Greek or 4PDA twrp?!

2) Format data

3) reboot to recovery

4) Flash with recovery or mi flash stock global rom

5) flash magisk 19300

It is right?

Greek twrp support OTA update?

Thanks
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] mauriciocardoso:
Hi guys

I read at the xiaomi adb/fastboot-tools site that the antirollback thing can bring problems when trying to flash twrp. And his software offers a "disable antirollback protection" switch. Anybody knows something about It?
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] soldatino69:
Me too! ! ! That why I ask for! The best things is flash EU rom After unlook .. I think:
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] mauriciocardoso:
But, anybody knows If this "disable antirollback protection" switch Works? Or, If It could be risky?
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] fmcheetah:
[MENTION=4363173]Nilsb7[/MENTION]

I would recommend a small mod. of your Excel Sheet: Stock MIUI.EU should be renamed as Stock MIUI Global (EU is missleading with.eu)

As far as i know none of the recoveries mentioned in the excel sheet can handle incremental updates (those are the updates received from Xiaomi)!

If someone has flashed TWRP he can only flash updates from Custom ROM sources (Xiaomi.eu, LOS, Pixel Experience...etc..) which are usually complete ROM's in .ZIP format.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Pope26:
Hey, Thank you for this information thread.

I've now done the following:

Installed twrp-3.3.1-2-davinci-fix.zip and flash xiamoi.eu V10.3.14.0.PFJCNXM_v10-9 and for now everything at the flash process worked fine.

The ROM boots up and seems to be able to setup.

Backup & Recovery is for me no thing i need so i've not test it.

Magisk 19.3 can be installed too, but you have first boot the rom -> than reboot -> again into twrp and flash magisk.

Only thing i've noticed at the boot proces the Modelname chaged from "MI by Xiaomi" to "Redmi by Xiaomi" but I think thats not an show breaker.

Best Regards
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] LIONS1:
I can confirm that twrp_davinci_3.3.1_12-08-19_blue_Ss_new.img is compatible with custom ROMs and latest xiaomi.eu stable and weekly ROMs and does take and restore Backups successfully
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Pope26:
So yes the model has changed through the flash of the Recovery:

I think its the vbmta.img file which let this information change.

Is there an way to get back from Model: Redmi K20 to Mi9T ?

Best Regards & Thank You
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Nilsb7:
Thanks for the suggestions! OP updated.

Which weekly dev version do you mean exactly? AFAIK from .8 up to .15 have been released just within the last week.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] fmcheetah:
Just updated from Xiaomi MIUI 10.5 9.8.8 to 9.8.15 no problems with latest greek TWRP
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] LIONS1:
last two weekly builds 8.8 and 15.8

edite: I also tried davinci twrp fix works perfectly with xiaomi.eu builds install backup and restores
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Nilsb7:
OP updated!

I'll stick to updating the Excel sheet picture & OP changelog only from now on.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Hot-Proton:
4DPA working with 9.8.15. and Backup also work.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] mauriciocardoso:
Hi guys, I tried to flash the original chinese twrp and i softbricked my eea 9T and had to recover It with miflash. So, i couldn't to flash the russian one Nor this chinese one. I can try the greek one still, but i'm beginning to think If my antirollback (arb=1) could be the cause of those failures.

What do you think?

Should i try to flash some kind of dummy.img before flash twrp?
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] rastip:
Hey Guys,

I just wanted to root my Mi 9T to block ads and have better control of app permissions.

If I understood it correctly, I need to flash TWRP and Magisk. The only think I am confused with, is after I root it, I wont be able to get updates and it will be still stock rom. Is this correct?
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] limuc:
4DPA working with Global Stable 10.3.11 (rooted) and backup also work., restore I have not testet.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] soldatino69:
Wich magisk to use?!

Or have to make yourself using Magisk manager and boot.img from rom used!?
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Schnedi:
No, use the latest stable or canary I use the canary from here: https://github.com/topjohnwu/magisk_files/blob/master/canary_builds/magisk-release.zip
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] soldatino69:
Don't work for me ! process Ended with error 1

Unable to unmount system and something else!

(Same thing with magisk 19..2)

Need to set something?

However With Greek trwp after flash EU weekly 9.8.15

No boot only fastmod mode.

trwp Davinci fix work good for me
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Schnedi:
System partition is mounted, you need to unmount it first.

Home-> mount, uncheck system and install it again
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Marlenio:
4PDA TWRP works with Xiaomi.eu 10.3.12 and 10.3.14.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] soldatino69:
Installed ! Many thanks
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] rastip:
TWRP and Official Global EU ROM

I have stock ROM 10.3.12.0 PFJEUXM. Phone brand new bought in EU. Do you think the russian 4PDA will work on this version?

If I understood it correctly Xiaomi.eu is chinese dev ROM and not the Global stock rom for EU market? Is this correct?
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] soldatino69:
Xiaomi EU make both rom stable and dev respectively based to on China global and china dev adapted and translated in many languages for use in Europe
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] vesi:
I confirm. MIUI.GR does not work, ends up in a fastboot.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Nilsb7:
Your answer is in the OP picture... and below

According to this post the latest Greek TWRP version is the only version that works with stock 10.3.12.0 so be careful

Could you be more precise? Does the Greek version of TWRP not work for you with Xiaomi.eu 10.3.12 or with 10.3.14, or with neither version?
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] vesi:
On 10.3.14. I didn't try version 10.3.12.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Medeon:
Flash another stock rom or not?

After finally unlocking my bootloader I tried to boot into twrp trough adb, using my computer. I've tried all three of the twrp images but none worked. I know, I should have known for I am on the Global 10.3.11 PFJMIXM MIUI (International) version.:o This is a bummer.:eek:

The only way I can think of, to get any of these twrp images to work on my MI 9t, is to flash an official Global 10.3.12 PFJEUXM MIUI (European) stock ROM from here with the MiFlash tool.

Is it possible or would it be a bad idea to flash a European stock ROM over my current International MIUI version?
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] mailis:
So the 4PDA version did solve my issue when only booting into Fastboot and I am currently able to flash the 9.8.15 version from Xiaomi.eu. But I face the same issue as others, since my phone is now recognized as Redmi K20 instead of Mi9T. I tried to download the latest Mi9T rom from https://xiaomifirmwareupdater.com/miui/ and extract the vbmeta.img from there, but no luck.

Anyone else has any suggestions?
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Nilsb7:
I think this magic is hidden inside the misc.bin, but I don't know for sure either.

Found this website claiming the following concerning the misc partition which sounds promising:
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Medeon:
Update: Although I can't boot into the 4PDA Russian version of TWRP from the Global 10.3.11 MIUI, it actually doesn't get stuck in a fastboot bootloop, which is the case with the other twrp versions on this particular ROM, but boots directly into the Android system and thus reboots the phone.

However, it still doesn't solve the problem for getting TWRP to work on the 10.3.11 Global version. I'm even thinking about flashing the 10.3.9 version through MiFlash (since it's required to flash the Pixel-experience Custom Rom), but I'm unsure whether this is possible. It might refuse to work due to anti-rollback or relocks the bootloader. Does anybody have experience with these matters?
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Nilsb7:
I bought my phone in the Netherlands and had a similar or even same issue. When I tried to install TWRP I used the LR-Team version as it was the only version available at that time. TWRP did not stick, in other words after flashing TWRP I would be able to go to TWRP once (if I recall correctly..) but after leaving TWRP the Android system would just start again and trying to reboot into recovery always brought back the stock recovery. I fixed (or bruteforce fixed?) this by flashing the misc.bin.

I don't know what stock android version I had installed.

I don't even know whether it was Global stock or EEA stock version or how to see the difference...

But... maybe you could try including the misc partition when flashing 4DPA or Greek TWRP?

I don't know anything about the anti-rollback protection either :/
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Medeon:
The thing is, I just want to boot the twrp.img to the phone's RAM and make backups of some partitions (including stock recovery and misc) through an ADB shell as root. So I didn't flash the twrp.img to my phone yet I just want to boot into trwp. Which should be possible on any Android phone. Oddly enough it seems that these guys were able to flash and boot into the 4PDA Greek version of twrp on a GLOBAL STABLE 10.3.11(PFJMIXM) ROM.

I have alsoo flashed a vbmeta.img (which is included in the aPDA download package) to disable verified boot:

[STRIKE]fastboot --disable-verity flash vbmeta vbmeta.img[/STRIKE]

I thought it would prevent the phone from booting into system instead of the twrp.img, it didn't solve the problem. I still don't want to flash twrp recovery because I don't know if it works. I'm confused:confused: By the way I alsoo bought my phone in The Netherlands ;) but that shouldn't affect the software don't you think?
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] rastip:
Hi Marlenio,

Acourding to Nilsb7 https://xdaforums.com/showpost.php?p=80104224&postcount=76 Only the Greek version TWRP is working with 10.3.12.0 official.

Did you try the russian 4PDA on stock 10.3.12.0 or the dev rom?