yashsingh1/xdaforums huggingface dataset:
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Bradco:
Is it possible to flash the last TWRP under the official TWRP in TWRP or do I used fastboot method?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Micdu70:
Yes you can flash a new TWRP in your current TWRP. :)
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Bradco:
Thanks I do that and all works ?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] welder73:
And what is the difference between the official version and this one?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] lazyaf01:
The unofficial one will get frequent updates. I.e faster bug fixes.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] realista87:
so, the TWRP 3.3.1-12 is the LATEST ONE recovery to flash? is there any changelog for the fixes made? does it support full disk decryption?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] raffaele1877:
Good evening, I flashed the last recovey 3.3.1-12, at startup it gives me the decripted date screen how can I remove this screen to go directly into recovery.

if I press the cancel button it enters into recovery, but I don't know if I can operate, if instead I insert the pass of the lock screen the decript starts and it is successful, even here I don't know if I can then operate.

How do I solve?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] lazyaf01:
The password screen you get is for security reasons. If you dont want it then either remove lock screen password or flash dfe (highly NOT recommwnded).

Also, you can flash roms and stuff even if data is encrypted afaik. Just the thing is that you wont be able to correctly read data partition. So will need to use a usb drive.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] raffaele1877:
can i update the xiaomi.eu rom directly from the update settings? or I risk the bootloop
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Micdu70:
Of course you can, it's a custom ROM. ;)
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] hugoboum:
Hey,

I tried to install both the last unofficial and official twrp from here but it always boots back to fastboot. ( I do reboot immediately from the twrp image).

I downloaded the vbmeta patcher but I don't see any vbmeta.img to flash ? Only a magiskboot and a META_INF folder.

Thank you in advance
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] xdatin1:
is this twrp official or not - TWRP 3.3.1-12 Unofficial by mauronofrio?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] fotom-dotcom:
Is this UNOFFICIAL twrp official or not? :o

p.s. yes, this twrp is not official. link to the official one - https://eu.dl.twrp.me/davinci/https://eu.dl.twrp.me/davinci/
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] xdatin1:
Is this official better than mauronofrio unofficial?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Micdu70:
I personally use OrangeFox. :D

But "Unofficial" by mauronofrio is a more up-to-date version than official one. (Written in "Features" list in OP...)

Don't know what is the "trigger" to make a new Official TWRP version...
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] zgfg:
AFAIK, problems were reported that unofficial is missing built-in BusyBox, causing problems to flash certain ZIP scripts that rely on BusyBox provided by the custom recovery

It was reported and discussed maybe in other threads

PS: Personally also using Orange Fox
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Micdu70:
Yes, so it's a good idea to always ship and use a good busybox within your scripts. ^^
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] nMaib0:
That site androidfilehost is so slow, use MEGA like normal people
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] siddharth.srivastava:
Can I backup my original efs and persist.img with this?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] DJBhardwaj:
Yes, you can backup EFS with TWRP.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] cowboysgz:
Guys quick question. I read OP and it says decryption works. So I just wanna be sure. If I'm encrypted and wanna flash another rom, will I have to format data or I can change in between roms without having to format data every time? I get unencryption works when it comes to reading internal data. But what about when flashing a new rom?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] lazyaf01:
Well, it depends on the roms you are switching between. Most roms work with switching with only data wipe. But fyi, rom devs recommend a clean flash when switching and dont provide support if not a clean flash. Also you may encounter random bugs as a result of it.

---------- Post added at 08:11 PM ---------- Previous post was at 08:03 PM ----------

Its a flashable zip. You need to flash it after you boot to twrp.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] iceboy91:
It took me almost an hour to download the recovery file... It downloaded from the Canadian mirrior and i was not able to switch to any other mirrors...
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] mchtt:
With official TWRP i had Error while backing up, with yours they are gone ! GOOD JOB
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] lazyaf01:
If you didnt notice yet, both are managed by him. Its just that unofficial is more up-to-date.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] mchtt:
Did not ?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] zgfg:
Same error for me with the official and this unofficial (and OrangeFox).

QFJEUXM 11.0.5

Backed up 201 MB of Data and failed

Failing to backup Data (there is enough space), some say it's due to dual WhatsApp?!
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] snowt123:
hi

my twrp (mi 9t), is doing replace for stock recovery, what is the solution ??
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] mchtt:
fastboot flash recovery twrp.img

then

fastboot boot twrp.img
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] snowt123:
the VBMETA PATCHER I installed by ADB or by fastboot?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] zgfg:
Do you really need? I use TWRP (Official, Unofficial, OrangeFox) with stock MIUI 11, never needed VBMETA patcher

Otherwise, reed OP post #1:with instructions
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] ccMi9t:
Quick note to any new device modders, I'd highly recommend getting an official build of OrangeFox, which is based on twrp and basically allows you to back up your ENTIRE system (Literally everything, TWRP won't let you do the internal storage partition) and it includes Magisk built in as flashing dboot will remove it.

I carry around a USB-OTG drive on my keys with the exact same storage capacity of my mobile, and back up my entire filesystem to it every week. This way I'm always safe from bootloops & any random system **** ups
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] zgfg:
I have always the same problem with TWRP (official, unofficial) and OrangeFox - failing to backup Data. Reported earlier in this thread, reported in TWRP thread and elswhere

Some say it is because TWRP does not support dual apps (I'm running dual WhatsApp?!

Anyway, running the (latest) official TWRP (last update Nov 2019) and OrangeFox (last update Feb 2020), witching sometimes from one to another, neither of them has ever been updated during these several months and as said, backing of Data (still) does not work (QFJEUXM 11.0.5 - did not work woth 11.0.4 or earlier either for me)
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] mchtt:
I had more trouble with OrangeFox than with twrp. I can backup internal storage without problem.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] raupe:
[MENTION=4712355]mauronofrio[/MENTION] Do you have plans to update the recovery with latest 9T patches and TWRP 3.4.0 source?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] zgfg:
Also, any chance to support backing up of Data if using dual Apps (like dual WhatsApp) - backup always fails with error 255

EDIT:

Now, with the Official TWRP 3.4.0:

https://dl.twrp.me/davinci/

I was able (for the first time) to successfully backup my Data partition

It reported progress 101% ? (taking little bit more space than it calculated in advance) but it successfully backed up my Data with dual WhatsApp
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] mchtt:
I confirm it works flawlessly now ?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] panpetar:
Can somebody tell me can I backup and restore all ROM with this twrp? What I have to do? I tried it many times with previous build. I can backup but I can't restore. There is an error retrieving the data
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] mchtt:
I just tried restoring a full backup, phone stuck to fastboot so dunno...

But restoring only system + data seems to work if you stay on the same rom
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] mauronofrio:
TWRP 3.4.0-0 for Xiaomi Mi 9T/K20 (davinci/davinciin) by mauronofrio:

Main changelog: https://twrp.me/site/update/2020/06/24/twrp-3.4.0-0-released.html

TWRP 3.4.0-0 Unofficial by mauronofrio
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] karamancho:
Whats the difference between official and unofficial now?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] mauronofrio:
In the unofficial build i removed the TWRP app
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] 83Grzegorz83:
When You Mauronofrio make backup of system what options You choose ;) ??
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] djdelarosa25:
But we can choose not to install that in the official build, right?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] hovnonium:
will the github be updated?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] mauronofrio:
System_image
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] lazyaf01:
Yes we can choose that

---------- Post added at 04:20 PM ---------- Previous post was at 04:19 PM ----------

Fyi there is already an official build of OF since a long time bro.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] zgfg:
Last OrangeFox R10.1.2 is from February and doesn't support backing up of Data partition if using dual apps like dual WhatsApp - it starts the back-up but fails with error 255

TWRP 3.4.0 as from few days ago is the first where I can successfully back up my Data (using dual WhatsApp), and therefore the first I can make full nandroid backup. It was also confirmed here or in another thread by few more who also use dual apps

Looking forward for an update of OrangeFox, alligned to TWRP 3.4.0, to also support dual apps
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] ccMi9t:
That's really weird, are you sure you're on the right stream? Works fine on my EU Davinci
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] zgfg:
Yes, I'm sure - I was on OrangeFox-R10.1_2-Stable-davinci, downloaded from Telegram long ago (now on the official TWRP 3.4.0).

Btw, I recall, there was/were other(s) who had the same problem and somebody told me that the cause for failing is the usage of dual apps

Btw, it's not strange, OrangeFox internally uses TWRP engine.

Only now TWRP 3.4.0 properly supports backup with dual apps - btw, check also its Changelog

One more thing: I'm on stock MIUI, I don't install custom ROMs and I NEVER FORMAT DATA.

When booting to TWRP I provide my Android screen unlock pin (just like when booting to Android)

That's the real case, I don't give a ... for the case when Data is formatted and encryption is gone. As TWRP can support stock encryption, thus custom ROMs should also support it (but they usually don't because every script-kiddy goes to compile 'his' custom ROM - taking the source from elsewhere, putting his name somewhere but without providing all the necessary porting/customization to the particular device)
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] DLVittorio:
hello, I'm on a older twrp (3.1.something) , with miui 12 stable, wanted to update to the latest as I'm planning on trying a few roms in the future.

I just need to flash the latest package in my current twrp and nothing more?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] zgfg:
Of course. You can flash from your current TWRP - to Recovery.

Reboot first to Recovery and verify if new TWRP is installed
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] lazyaf01:
I didnt get your last paragraph. Can you elaborate it please?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] mchtt:
Any guide to connect an USB storage ? No matter which format I choose I just see the boot partition of my USB device ?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] lazyaf01:
Which rom? And can you show some ss of it?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] sprajosh:
I tried "fastboot boot twrp.img". It showed everything was successful. but when I open the recovery, it shows the default system recovery.

Has anybody else faced this before? How did you fix it?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] zgfg:
>>fastboot boot ...

works only for boot images (one-time to boot to the given image, without permanently flashing the image), not for recovery images

For recovery, you must really flash:

>>fastboot flash recovery ...

and then reboot to the flashed recovery:

>>fastboot oem reboot-recovery

(or by rebooting with Vol+ and Pow, but the command above is easier)
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Luca14071978:
Basically I have the Xiaomi Mi 9T with unlocked bootloader, I tried to flash Mauroonofrio's twrp 3.4.0-0, however in the recovery twrp file manager when you open the file manager to flash the rom the folder names are not there, at in their place there are strings with alphanumeric codes. Then I tried to do the whole procedure to install the xiaomi.eu rom via usb otg, but after doing the whole procedure and restarting the system it returned to recovery, I had to restore the original rom via fastboot.

Do you have any suggestions to solve the problem ??
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] zgfg:
With stock MIUI and TWRP 3.4.0.0, you just had to enter your Android screen unlock code, and TWRP willcorrectly recognize and work with folder and file names

It is described elswhere
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] djdelarosa25:
You haven't decrypted your internal storage.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Luca14071978:
By entering the lock screen password I was able to decrypt the encryption of the internal memory and the names of the folders and files were restored. However, after having performed the complete deletion procedure (excluding the internal memory) and having flashed the miui 12 of xiaomi.eu, instead of starting the system, instead of starting the system, it returned to recovery twrp with the following error:

"E: unable to decode the FBE device"

Tips to solve the problem ??
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] djdelarosa25:
Go back into TWRP > Wipe > Format Data > type "yes" > Advanced Wipe > Tick System, Cache, and Dalvik/ART Cache > Flash ROM
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] cj60:
Twrp not booting or flashing

i am running miui stable india build, i am trying to boot twrp using fastboot commands, the device screen goes blank and according to the command prompt the boot was successful but it does not boot on the phone , i have tried flashing it directlr as well, it flashes succesfully but boots into stock recovery... any solutions?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] lazyaf01:
Flash the recovery. Dont boot. Flash it and then use the cmd to boot it (the one given in OP).
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] cj60:
Twrp not booting or flashing

when i trey to flash recovery i get this error

error: cannot determine image filename for 'C:\Users\91709\Desktop\platform-tools\twrp-3.3.1-0-davinci.img'
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] zgfg:
Have you specified that you are flashing to recovery:

fastboot flash recovery twrp-3.4.0-0-davinci.img

Also, use the latest official/unofficial TWRP 3.4.0.

To make it easier, copy the TWRP img to your Fastboot/ADB folder, then you don't need to specify path

Once you (successfully) flash TWRP, make sure you first reboot to recovery (TWRP):

fastboot oem reboot-recovery
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] cj60:
I have tried the same with the latest recovery, I get the same error.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] zgfg:
I don't use "Platform SDK tools" but "Minimal ADB and Fastboot" and never had a problem with flashing TWRP, boot, etc (Xiaomi Mi 9T, Huawei P9 and few other phones; from Windows 10 and Windows 7)
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] cj60:
I tried the same flashing the same with minimal adb and fastboot, encountered the same error
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] zgfg:
Have you enabled ADB debugging in Developers menu?

When you connected the phone by USB cable to PC, do you see a notification that ADB connection is established?

On the phone it should have ask you to grant your PC access by ADB - did you confirm?

Does it respond ok:

adb devices

and in Fastboot:

fastboot devices

Which Windows?

Share a screenshot from PC
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] akha666:
Did someone try to flash MIUI 11.0.5? what is the working version?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] MarkezG:
When you want to recover a backup it gives bootloop and when you want to update a dirty ROM too ... what handle?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] iceboy91:
[MENTION=4712355]mauronofrio[/MENTION] after installing twrp 3.4 and booting into TWP, i connect my device to the laptop and it when i want to copy files into phone's memory i can't copy anything. It says "This folder is empty" i've tried usb drivers etc.

---------- Post added at 12:37 PM ---------- Previous post was at 12:37 PM ----------

[/COLOR [MENTION=4712355]mauronofrio[/MENTION] after installing twrp 3.4 and booting into TWP, i connect my device to the laptop and it when i want to copy files into phone's memory i can't copy anything. It says "This folder is empty" i've tried usb drivers etc.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] mchtt:
Same here, it works only if I restore data, if I use more partition I go into a boot loop ?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Badis st:
Bcz u need to flash dfe..
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] MarkezG:
Bone, I recover the backups and I put DFE not? And why does that happen if the backups when I do already had the DFE installed when I put the rom for the first time?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] vblanche:
Hello,

I have this twrp3 flashed. There is something weird: the titles of the sdcard contents are just sequences of letters and/or numbers, not the proper names of the folders, so I can not install a ROM as I can properly navigate.

Anyone got an idea what's the issue here?

Many thanks.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] GGelmi:
Data encryption, you need to format data but you'll loose all your data w/o a backup on PC

GGelmi
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] vblanche:
sorry, newbie here...format data while in twrp? then I reboot to system, reconnect phone to pc, retransfer zip (to be flashed) to phone, and return in twrp to install?

thanks
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] GGelmi:
Save data before format in twrp: If you are on A11 look for right twrp for decrypt data (pattern only) so you could see It w/o format

GGelmi