yashsingh1/xdaforums huggingface dataset:
[Xiaomi Poco X3 Pro] therealkurison:
yeah, because you wont be replacing the stock recovery. you'll just be booting from the twrp.img directly
[Xiaomi Poco X3 Pro] Muzzyme:
Thanks!

(moving other question to q&a)
[Xiaomi Poco X3 Pro] GoMati:
If I could dig a little deeper: what about Xiaomi.eu roms? I have one flashed and rooted, can I safely flash TWRP or will it overwrite anyway? Just booting works ofc :) And what about decryption in that case (does it still work only when booted or is xiaomi.eu different pair of shoes?)

Thanks in advance!
[Xiaomi Poco X3 Pro] therealkurison:
I'm only basing my answers on what the author of the tread has said. he said it works on custom MIUIs, which I'm assuming Xiaomi.eu roms are one too, then I guess it will work flashed. but i can't confirm this since I haven't tried yet.
[Xiaomi Poco X3 Pro] disacrol:
Maybe I'm kind of a newbie with these things, but I am not able to do any of these things at all.

To clarify, I do not have an actual physical SD card in the slot.

But am not able to mount the adequate storage to copy a custom rom from my pc into the device.

Am am also not able to find the folder structure I've copied the custom ROM into (root of whatever appeared in windows when I enabled file transfer in MIUI)

What am I missing here?
[Xiaomi Poco X3 Pro] pl1992aw:
Go into MIUI again, put the rom in the Download folder. This folder should be easy to find in TWRP.

Download the TWRP from this thread by Nebrassy.

Then

fastboot boot TWRP-3.5.1-vayu-Nebrassy-1.img

Find the Download folder and flash it.

After finish flashing Rom, format data, which you type yes.

Then reboot.
[Xiaomi Poco X3 Pro] disacrol:
Can't find it. Maybe I'm just not familiar with android system's file structure and I'm looking at the wrong places. Here is what I get when loading from Windows:

And here are examples of what I'm presented to when in TWRP (sorry for the quality):

I wandered around most of these directories to no avail. Can't figure where can those folders I've seen in Windows be located in that storage TWRP is showing to me.

What am I not seeing? Are you guys having similar behavior in your devices?
[Xiaomi Poco X3 Pro] pl1992aw:
Download TWRP from here:

https://androidfilehost.com/?w=files&flid=324966

Reflash your TWRP with the one I provided, the working one.

And then boot TWRP with the command I posted earlier.

Put the Rom inside Download

Remove finger print and device password lock. It should be in the state that once MIUI boot up, you just swipe up and got into Poco launcher.

Turn on USB debug in developer setting.
[Xiaomi Poco X3 Pro] disacrol:
That is the exact one I have downloaded

I tried both of the following approaches:

1 - Flash recovery and reboot into recovery (even though MIUI seems to override afterwards);

fastboot flash recovery TWRP-3.5.1-vayu-Nebrassy-1.img
fastboot reboot recovery

2 - Directly boot into TWRP as you said.

fastboot boot TWRP-3.5.1-vayu-Nebrassy-1.img

Either way, behavior is the same, except that using approach 2 I get a dialog with "Mount" and "Decrypt Data" as title, and a "Enter Password for User [0]" prompt, and I have absolutely no idea what to do here, so I just click Cancel (and a "Updating partition details..." progress log shows briefly, then goes away and TWRP UI popups up as usual). Could this be the problem?

I did NOT do as you seem to suggest, "Reflash" and then "Boot with the command". I do not see the point in flashing TWRP if I'm going to directly boot into the very same image.

Maybe I was not clear about this: I am not able to mount in TWRP as if I was in MIUI. When I tap the Mount button, only Metadata and Cache are enabled (sometimes Data is also enabled, but if I disable it I can no longer enable it). Nothing detected in PC. If i tap "Disable MTP" and then "Enable MTP" again, then my pc detects but just shows an empty storage which fails to be written (if I try to copy anything there).

Is this really required? Do you know exactly why? My device requires password lock, have to uninstall and reconfigure a bunch of stuff to be allowed to do that.

USB debug is always enabled - otherwise I wouldn't be able to get far...
[Xiaomi Poco X3 Pro] disacrol:
UPDATE: Yeah, disabling fingerprint and lock screen, directly booting into TWRP no longer shows me that encrypt dialog and now I can see the folders I was expecting in /sdcard.

EDIT: The thing is, I trying to stick with the ROM's instructions:

And then rebooting, because I've read somewhere here that we should always reboot after wiping.

I also make sure to keep the Vol Down key pressed to make sure it remains in fastboot so I can boot again into TWRP via the command line, and not boot into a factory-reset MIUI system.

But THEN the problem surfaces again. I don't get anything in the sdcard folder, mount does not work.

Now I noticed there is a button here to check the logs. I have the following logged in red:

E: Unable to decrypt FBE device

Failed to decrypt data.

Unable to decrypt with default password. You may

need to perform a Format Data.

Interestingly enough, if I reboot into MIUI and I get up to that "this device is locked" screen (that MIUI always shows up if my bootloader is unlocked), and force-shutdown the device and boot back into TWRP, voila, the decrypt error no longer occurs. I would expect the exact opposite, but I know nothing about the decryption thing.

It's just that I wanted to wipe it all clean, reboot if needed back to TWRP, and then flash the ROM I wanted. But I guess I'll have to try this after MIUI first boots, and stick with whatever garbage it leaves behind... or do I have other choices?
[Xiaomi Poco X3 Pro] pl1992aw:
The fingerprint and lock screen encrypt is due to security reasons in the ROM.

Imagine you have some photos of your naked body in your phone and someone stole your phone. Do you want them to see those photos?

Different phones have different guidelines. It's not in general. For our Poco X3 pro, here's a guide how to do step by step.

https://xdaforums.com/t/guide-unloc...11-0-rom-and-root-xiaomi-poco-x3-pro.4267623/

Also read the reply other people posted, so that if you find someone with similar issues reported, you can follow how they solved it in replies.

In XDA, there's tags with filters. You can try with the How To Guide. Usually guides are marked with it.
[Xiaomi Poco X3 Pro] disacrol:
Thanks again. Yeah I keep scrolling through different threads to get a hold of it. Makes me mad it depends on each device.

In the meantime I have updated my previous post, could you maybe shed some lights here as well? Do I have to boot into MIUI before installing a ROM? Or can I just install the ROM and not reboot the system after wiping? I'm afraid to do that after I have read some users feedback about loosing access to data and stuff
[Xiaomi Poco X3 Pro] pl1992aw:
Post the question in the How To Guide here. https://xdaforums.com/t/guide-unloc...11-0-rom-and-root-xiaomi-poco-x3-pro.4267623/

This thread is for TWRP recovery. Since the question you're asking is not relate to the recovery itself, rather more relate to how to flash custom Roms, it's better to leave this thread clean.

I'll post the reply there.

The reply is here:

https://xdaforums.com/t/guide-unloc...root-xiaomi-poco-x3-pro.4267623/post-85120921
[Xiaomi Poco X3 Pro] kd276:
Dowloaded, want to thank you @Nebrassy for your hard work, appreciated, TWRP is the best. :)
[Xiaomi Poco X3 Pro] Nebrassy:
new build is up

fixed flashing stock rom on indian variant

fixed super partition showing up twice

added support for pstore

fixed apex spam
[Xiaomi Poco X3 Pro] nasryus:
Thank you! However I tried flashing Derpfest on my Poco X3 Pro vayu (3rd June 2021) and got the error:

//

E3003: Can't install this package (DATE OF DERPFEST PACKAGE 3rd June 2021) over newer build (DATE OF TWRP 17th June 2021)

Updater process ended with ERROR: 1

Error installing zip file...

//

Is there any way around it?

[EDIT: Fixed it by flashing an older version of TWRP over the latest one (I actually googled TWRP-3.5.1-vayu-nebrassy-1.img, found it and flashed it. Now flashed Derpfest no problem. Thanks]
[Xiaomi Poco X3 Pro] Nebrassy:
sounds like a problem they should fix, you might get away by just modifying their updater-script

and for older builds of twrp, just go to the archived folder in the download link
[Xiaomi Poco X3 Pro] hfmls:
i updated using fastboot, all good.
[Xiaomi Poco X3 Pro] Nebrassy:
new build is up

-fixed decryption on stock

-fixed vibration
[Xiaomi Poco X3 Pro] disacrol:
Hey guys, any news on sideload support?
[Xiaomi Poco X3 Pro] Nebrassy:
uploaded new build, fixed adb sideload and fastbootd
[Xiaomi Poco X3 Pro] Raviu:
Hey thanks, I can confirm sideload is working with version 4

I've one problem, when I enable work profile, it cannot be decrypted it says cannot decrypted user id 10

I've having the same lock for both owner and work profile.

So when I try to make a backup it says "

Not all users decrypted!!

Backup/restore operation may fail!"
[Xiaomi Poco X3 Pro] t-ara:
I tried to flash the lastest build, but my phone didn't recognize internal memory and OTG card?
[Xiaomi Poco X3 Pro] RedMatterGG:
I still cant read internal storage nor wipe it,i need to do a "hard format/wipe" of the entire internal storage and after that it shows up correctly,i am trying as i type to install a rom using sideloading(yes sideloading seems to work)
[Xiaomi Poco X3 Pro] RedMatterGG:
all right for all of you that cant get a rom to boot or are having other issues there are youtube tutorials on exactly how to flash and what twrp u need to use for this phone,i dont know if im allowed to post it here so please search,i got ancient rom up and running and a custom kernel up and running without any issues
[Xiaomi Poco X3 Pro] pl1992aw:
You can read:

https://xdaforums.com/t/guide-unloc...-custom-roms-root-xiaomi-poco-x3-pro.4288121/
[Xiaomi Poco X3 Pro] Nebrassy:
new build uploaded

- fixed kernel issue related to fastbootd
[Xiaomi Poco X3 Pro] k3lcior:
@Nebrassy Is current TWRP capable of backing up and restoring EFS partition?
[Xiaomi Poco X3 Pro] Nebrassy:
You tell us
[Xiaomi Poco X3 Pro] kd276:
Done via adb command line, all ok. Thank you.
[Xiaomi Poco X3 Pro] enzobelmont:
@Nebrassy I am trying to install mi-globe ROM using your latest twrp and it can't get the installer script that let you install adaway, mixplore, magisk etc.

It installs rom with no complements. I've tried orangefox and pitchblack; and those recoveries try to install the rom using its script, but as my data partition is encrypted they fails.

As those recoveries are not as advanced as yours, I am not using them. Any advice?

thanks in advance.
[Xiaomi Poco X3 Pro] LEIBE:
Hello, encrypted ROMS are always a problem on the TWRP, now using CR DROID but still try not to change between ROMS because of the way encryption will behave.

CHEEERS
[Xiaomi Poco X3 Pro] pl1992aw:
https://xdaforums.com/t/leave-data-unencrypted.4270021/
[Xiaomi Poco X3 Pro] KENSHIRO7867:
Sorry I have the global version 12.5.1.0 RJUEUXM and after unlocking the bootloader whether I put the 3.5.1 of 22.06 or the 3.5.2 of 30.06 as twrp recovery, both are installed, but on reboot but then when I turn off the device and go back to recovery there is the recovery of miui 5.0.

Can you tell me why? which twrp should i use for my little x3 pro global version 12.5.1.0 RJUEUXM?
[Xiaomi Poco X3 Pro] pl1992aw:
Read replies. You will find your answer. 34
[Xiaomi Poco X3 Pro] kd276:
I have same firmware but this is EEA (Europe) not global, global is V12.5.2.0. RJUMIXM, at least according to the firmware packages.

I'm on custom rom, no issues, on stock miui it revert back to the stock recovery at every reboot.

edit:

pl1992aw reply just before me.
[Xiaomi Poco X3 Pro] KENSHIRO7867:
so to make sure that it remains on the twrp 3.5.1 just flashed, I have to immediately put a custom rom? crdroid type 7.7
[Xiaomi Poco X3 Pro] pl1992aw:
If you want TWRP to stay, but still want to use MIUI, you can use MIUI by Xiaomi.eu
[Xiaomi Poco X3 Pro] kd276:
As pl1992aw said, but ArrowOs is very great custom rom, super fast loading, smooth, low resource usage, no bloatware, just install and do everything, MIUI is very nice, i admit i like it a lot, but at the expence of performance, loading times are like 3~4 times more long, is heavy, but since i do not care about aestetics my preference is for light and minimal custom roms where i have full control on what is installed. You decide what you want based on your personal tastes and usage.
[Xiaomi Poco X3 Pro] kd276:
Noticed just now 3.5.2 v2, installed succesfully.
[Xiaomi Poco X3 Pro] pcjabuy:
Hi Bro, I have flashed this recovery on my own poco X3 Pro. But when I tried to mount the "System" partition and delete files in it，this recovery told me like：

unable to decrypt FBE deviece

MTP Enabled

rm -rf “/system_root/recovery/system/media/bootanimation.zip”

process ended with ERROR：1

I don‘t know how to slove this problem，and I also tried to wipe the “System” partition，but this recovery didn't have this choice in “wipe” menu.

Did I done something wrong, or this recovery doesn't have this function？

Thanks for help！
[Xiaomi Poco X3 Pro] pl1992aw:
https://xdaforums.com/t/link-how-to-make-your-system-read-write-r-w.4258745/
[Xiaomi Poco X3 Pro] pcjabuy:
Great! Thank you Bro.
[Xiaomi Poco X3 Pro] dantevn:
So I followed flash guide completely, the flasher said the process was complete, but it just rebooted normally instead of to recovery, and volume up+power btn just loads the normal miui recovery?
[Xiaomi Poco X3 Pro] kd276:
If you are on MIUI stock it restore the MIUI recovery at every boot, if you want to stay on MIUI but using TWRP you need to install Xiaomi.eu MIUI custom rom after unlock the bootloader.
[Xiaomi Poco X3 Pro] dantevn:
I'll try that, someone gave me this which I installed first, and now:

Entered TWRP, flashed miui 12.0.6 firmware first, then tried crDroid, and I get "Flashing A/B zip to inactive slot: A. To flash additional zips, please reboot recovery to switch to the updated slot." Which I don't understand at all, because this device doesn't have slots.
[Xiaomi Poco X3 Pro] kd276:
My firmware is the last, V12.5.1.0 (RJUEUXM), no issues, there is a new one for global V12.5.2.0 (RJUMIXM), however is better if you ask info to @pl1992aw before, he is using last global firmware and he have no issues with TWRP, he is the expert here.
[Xiaomi Poco X3 Pro] dantevn:
@pl1992aw Could you please help me with this? I installed this, it let me install it after previous failed attempt, but now the phone is stuck in default miui recovery 5.0. Can't fastboot into anything... Says the device is unauthorized in cmd

Edit1: I somehow got it into "sideload" instead of "unauthorized"

Edit2: Wiping the data in official recovery let me boot into the phone normally

Note1: I really shouldn't touch what I don't understand

Edit3: Still won't let me install crDroid, same error about flashing to inactive slot and to reboot recovery to switch to the updated slot.

Edit4: It finally worked, with ArrowOS, on the first try. crDroid absolutely refuses to install.
[Xiaomi Poco X3 Pro] kd276:
While pl1992aw is away i can personally say that ArrowOS is the best, fastest and stable rom for this device, installation is very smooth and beginner proof, updates are also OTA, just a click and you have, all automatically, the new version without any wipe or data loss.
[Xiaomi Poco X3 Pro] BoboPS2:
Hello everyone, before proceeding to flash the rom, I wanted to ask you for confirmations.

to install TWRP on my POCO X3 pro global. first i locked the bootloader.

Then I'll have to install the TWRP from fastboot:

the comenda is this?

fastboot flash recovery twrp.img

while this command what is it for?

fastboot boot twrp.img

once I start twrp I mount the rom .zip

"xiaomi.eu_multi_POCOX3Pro_V12.5.2.0.RJUMIXM_v12-11.zip"

and then I install from recovery?

is there anything else i need to do?

The TWRP to install is this:

twrp-3.5.2_10-0-vayu-Nebrassy.img

To check that I have all the USB drivers installed adb etc .. what should I do?

Thank you
[Xiaomi Poco X3 Pro] k3lcior:
https://xdaforums.com/t/guide-unloc...-custom-roms-root-xiaomi-poco-x3-pro.4288121/

Guide even with pictures..
[Xiaomi Poco X3 Pro] BoboPS2:
OK thanks. I'll let you know
[Xiaomi Poco X3 Pro] popej:
I have Poco EEA version V12.5.1.0.RJUEUXM. I used TWRP-3.5.2-vayu-Nebrassy-2.img. I wanted to make full backup and then install ArrowOS. Some problems:

Backup of data fails:

I:addFile '/data/extm' including root: 1
==> set selinux context: u:object_r:extm_data_file:s0
failed to lookup fscrypt tar policy for '/data/extm' - '5f102a042d5c55c3ea8e5329957a6ee8'
I:Error adding file '/data/extm' to '/usb_otg/TWRP/BACKUPS/421aaaaa/2021-07-13--11-42-45/data.f2fs.win001'
Error creating backup.
I:ERROR tarList for thread ID 0
Error creating backup.
I:InfoManager saving '/usb_otg/TWRP/BACKUPS/421aaaaa/2021-07-13--11-42-45/data.info'
createTarFork() process ended with ERROR: 255
Backup Failed. Cleaning Backup Folder.

Backup of system fails, when destination is SD, probably missing check for 4GB file size limit:

Backing up Super (product, vendor, system, system_ext, odm)...
I:Reading '/dev/block/by-name/super', writing '/usb_otg/TWRP/BACKUPS/421aaaaa/2021-07-13--11-55-23/super.emmc.win'
I:TWFunc::Set_Brightness: Setting brightness control to 1200
I:Set overlay: ''
I:TWFunc::Set_Brightness: Setting brightness control to 5
I:TWFunc::Set_Brightness: Setting brightness control to 0
I:TWFunc::Set_Brightness: Setting brightness control to 1200
I:Set overlay: ''
I:TWFunc::Set_Brightness: Setting brightness control to 5
I:TWFunc::Set_Brightness: Setting brightness control to 0
I:Error writing destination fd (Operation not permitted)
Backup Failed. Cleaning Backup Folder.

Then I have tried to install Arrow-v11.0-vayu-OFFICIAL-20210709-GAPPS.zip. I formated data first. Result was:

Unable to find partition for path 'system_root'
Failed umounting System
Error installing zip file 'usb_otg/Arrow...'

Anyway, I have installed ArrowOS with its recovery and then switched to TWRP. Dirty flash goes OK with TWRP, the same for flashing patched boot.img. Thanks for your work!
[Xiaomi Poco X3 Pro] k3lcior:
And why would you flash ROM through USB OTG? Just put the files on internal storage, you are creating issues for yourself. Same with backup.
[Xiaomi Poco X3 Pro] popej:
Doesn't matter, flashing works from any source. And backup of data fails for any destination.
[Xiaomi Poco X3 Pro] k3lcior:
It works perfectly fine for me, so obviously you are doing something wrong.
[Xiaomi Poco X3 Pro] Jaftdroid:
Hello everyone,

POCO X3 Pro user here.

Anyone else experiencing like a 3 to 5 seconds freeze on TWRP boot? Like, you can't do any action during that period. Is it normal or...

Best regards! Love this recovery.
[Xiaomi Poco X3 Pro] 0b4:
Yes, that's normal. Touch screen drivers need some time to load in twrp.
[Xiaomi Poco X3 Pro] Naveenthemi:
Just putting it out here, this TWRP works perfectly, no issues so far except for the delayed touch response at first (a user said the delay is for drivers to load, but I have never come across that delay in other devices running TWRP). It can decrypt internal storage and was able to flash xiaomi.eu and Magisk smoothly.

Thank you for your work.
[Xiaomi Poco X3 Pro] minoccio:
I can't do a full nandroid backup . There is an error at the end of the file generate
[Xiaomi Poco X3 Pro] Raviu:
Hey,

I've taken an encrypted backup using this TWRP

Now I need to restore it, it shows the backup number something like b9e02c91

But the problem now, it does not ask for decryption password and does not show any "Partitions to restore"

Please help me to recover my data

After taking the backup I've pulled the whole TWRP dir over adb, now I pushed it back.. I do this on other devices and it works.
[Xiaomi Poco X3 Pro] ValgarBaldr:
Hi! I can't flash custom ROM using TWRP, I think I don't know how to do it. I wanted to install crdroid but in the post the instructions are "flash this, this and this, you're done" and I'm new to this.

I'm getting this error:

Installing zip file '/external_sd/crDroidAndroid-11.0-20210620-hotdogb-v7.7.zip'

Unmounting System...

I:AB zip

Flashing A/B zip to inactive slot: A

I:Mount: Unable to find partition for path '/system'

I:Copied file /system/bin/sh to /tmp/sh

Failed to parse build number in post-build-incremental=eng.mukesh.20210620.235802.

Package is for product OnePlus7T but expected vayu

To flash additional zips, please reboot recovery to switch to the updated slot.

I:Install took 0 second(s).

Error installing zip file '/external_sd/crDroidAndroid-11.0-20210620-hotdogb-v7.7.zip'

Updating partition details...

I:checking for twrp app

I:Data backup size is 4484MB, free: 100457MB.

...done
[Xiaomi Poco X3 Pro] k3lcior:
"crDroidAndroid-11.0-20210620-hotdogb-v7.7.zip" is not a Poco X3 Pro ROM so you are either flashing wrong ROM or you are at wrong forums.
[Xiaomi Poco X3 Pro] ValgarBaldr:
I must get confused then, I have downloaded from the wrong link I guess. I will try again. Thank you so much.
[Xiaomi Poco X3 Pro] ValgarBaldr:
I just checked and I downloaded from here. What I did wrong? https://xdaforums.com/t/rom-11-0-crdroid-7-8-official-vayu-bhima.4277507/
[Xiaomi Poco X3 Pro] k3lcior:
Can you not spot the difference in filenames? I dont know where you downloaded it, but not from https://xdaforums.com/t/rom-11-0-crdroid-7-8-official-vayu-bhima.4277507/

hotdog = OnePlus 7T

vayu = Poco X3 Pro

crDroid Android - Browse /vayu/7.x at SourceForge.net

Highly customizable Android Platform

sourceforge.net
[Xiaomi Poco X3 Pro] ValgarBaldr:
Omg I see it now. I'm sorry. Thank you for your help
[Xiaomi Poco X3 Pro] Nebrassy:
Make sure you put it in the right directory, there should be two directories under backup, device ID, then name of backup and inside of that, the images

Then grab recovery.log
[Xiaomi Poco X3 Pro] Raviu:
Attached recovery log

And here is output of `ls` to confirm path:

```

$ adb shell ls /data/media/0/TWRP/BACKUPS/b9e02c98/1969-12-31--19-41-35_RQ3A210605005_release-keys

bluetooth.emmc.win

boot.emmc.win

data.f2fs.win000

data.f2fs.win001

data.f2fs.win002

data.f2fs.win100

data.f2fs.win200

data.f2fs.win300

data.f2fs.win400

data.f2fs.win500

data.f2fs.win600

data.f2fs.win700

data.f2fs.win800

data.info

dsp.emmc.win

dtbo.emmc.win

efs1.emmc.win

efs2.emmc.win

efsc.emmc.win

efsg.emmc.win

modem.emmc.win

recovery.emmc.win

recovery.log

super.emmc.win

```
[Xiaomi Poco X3 Pro] Nebrassy:
You didn't attach recovery log