yashsingh1/xdaforums huggingface dataset:
[Xiaomi Poco X3 Pro] kamild_:
Excellent guide (y)

My suggestions in terms of improvements:

- 7-day waiting time before unlocking: I would mention that wiping the device or removing the Mi account from the device could result in the timer being reset;

- DFE/Encryption Disabler: it's optional, not needed for the ROM to work and thanks to disabling encryption it compromises security;

- Firmware: Arrow OS requires MIUI V12.0.4.0 firmware, so before flashing Arrow OS it's recommended to downgrade MIUI to this version, otherwise the ROM might not boot

In the future, once more custom ROMs come out, it should be easy to turn this guide into general flashing instructions instead and not just for Arrow OS, which would be a great resource to have here ;)
[Xiaomi Poco X3 Pro] urbanman2004:
Fair enough, thanks for the suggestions. I can add them in.
[Xiaomi Poco X3 Pro] Aulig:
Thanks for this detailed guide! I'm currently on MIUI 12.0.2 - do you know if I have to update to 12.0.4 first or if I can follow your guide directly?
[Xiaomi Poco X3 Pro] AusVGM:
Yes, you have to update to MIUI 12.0.4.0 before flashing.
[Xiaomi Poco X3 Pro] DeblaGaming:
How stable is the PBRP Beta? Great Guide btw
[Xiaomi Poco X3 Pro] urbanman2004:
More stable than other unofficial custom recoveries such as OrangeFox, especially when it comes to functionality. Based on my experience using OrangeFox, it failed to flash anything that was already present on my microSD, but PBRP worked OOB w/ no issues first time, and allowed me to copy over files onto the microSD while the device was in recovery while simultaneously being connected to my PC. Thanks btw.
[Xiaomi Poco X3 Pro] Aulig:
Thank you, I did that now and then followed the guide (without disabling encryption as that's an important feature to me). Super easy to follow even though I haven't been modding a lot these past years. Worked perfectly, thanks @urbanman2004

Tip: make sure to check safetynet with an app and not magisk, as described in the thread linked regarding magisk hide :)
[Xiaomi Poco X3 Pro] urbanman2004:
Thanks for the compliment... I didn't feel the need to include how someone could check their device's SafetyNet status, but the app I use is called SafetyNet Helper Sample in the Play Store.
[Xiaomi Poco X3 Pro] bla.tiga:
Very detailed instruction thumbs up...

My questions

1. For miui requirement the MIUI V12.0.4.0 , is it free or need specific version like chinese or europe or asia or america for more clearly

2. In future when twrp or custom recovery available , can we just flash the rom via recovery as simple as that. Like other phone
[Xiaomi Poco X3 Pro] urbanman2004:
Thanks for the compliment. To answer your questions:

1) Any version of MIUI V12.0.4.0 will do.

2) To flash future OTA updates (ROMs), it will require flashing the "compatible recovery" (vayu ArrowOS Recovery) in fastboot mode, rebooting the device then followed by installing the OTA update once it becomes available and letting it flash automatically.
[Xiaomi Poco X3 Pro] lulzor:
hello all,

I have flashed vanilla version of ArrowOS, and magisk...

could somebody help me with installing microG for VANILLA build ROM? I'm new to microG stuff, so I don't really know from where should I install, what version etc.

some apps are not running as they require Google play services
[Xiaomi Poco X3 Pro] as400l:
I have asked this question elsewhere but maybe somebody here has some experience. Is it possible to install ArrowOS OTA with another TWRP than from ArrowOS ?

I'm asking because this AOS TWRP is very limited in functionality.
[Xiaomi Poco X3 Pro] urbanman2004:
Best that your question be taken up w/ the devs.
[Xiaomi Poco X3 Pro] urbanman2004:
So I have some breaking news:

I can confirm that the latest unofficial alpha version of TWRP (TWRP-3.5.1-vayu-Nebrassy-1) is capable of decrypting and reading internal storage. Due to this advancement, I can also confirm that ArrowOS OTA updates will officially work using TWRP. There is NO NEED TO USE ANY OTHER CUSTOM RECOVERY BESIDES TWRP.
[Xiaomi Poco X3 Pro] deejaycarras:
Hi everyone, i have one dubt in unlock bootloader process...

When phone wipe /data partition???, after or before wait the time to unlock???
[Xiaomi Poco X3 Pro] elliwigy:
Let's remain on topic and avoid bickering.
[Xiaomi Poco X3 Pro] newbrn:
My bootloader unlocks in 4 days and I am planning to change the room using your guide. I have a doubt, I am a beginner. can I do step 8 with TWRP instead of Pbrb (test3)? Would the steps be the same with the change?
[Xiaomi Poco X3 Pro] wojownikhaha:
@newbrn of course. Pitch Black is literally a dark themed TWRP with some tweaks.
[Xiaomi Poco X3 Pro] pl1992aw:
My guide is here:

https://xdaforums.com/t/guide-unloc...-custom-roms-root-xiaomi-poco-x3-pro.4288121/

Follow Section 2.

If it fail for some reason, first format data, reboot to TWRP, put MIUI ROM zip in the phone, flash MIUI, format data, then reboot to TWRP again.

When any strange error encountered, it's recommended first go back to MIUI, then proceed flashing ROMs and other zips.

There are some bugs in the latest ArrowOS version 0723 of vayu. Download the 0709 version. Look in the reply of the ROM thread for that version.
[Xiaomi Poco X3 Pro] BhayanakAtma:
Can I Lock the bootloader again after unlocking it ? Device Poco X3 Pro
[Xiaomi Poco X3 Pro] pl1992aw:
With proper original region/country MIUI of the phone you can.

Changing MIUI region/country is in general not suggested to lock bootloader. There's chance the phone bricked.

Custom ROMs definitely cannot lock bootloader.
[Xiaomi Poco X3 Pro] Rhaegar85:
Thanks that did help to an extent. Even when I removed password in TWRP it shows device can not be decrypted. I wiped dalvik/data/cache / Reboot to recovery. At this point I'm not able to access internal memeory again, had to flash using USBotg. But after 4-5 times of wiping and rebooting finally I was able to flash miui then reboot to recovery again wipe data, reboot to recovery. Flash ROM was successful after that. Before I was trying to dirty flash to update Arrow OS, I always got an error unable to mount system root (even when trying to flash miui). Is everybody facing this issue or just some IN variant or did I do something to break my phone 🤔
[Xiaomi Poco X3 Pro] popej:
I have similar problem. Boot to TWRP (latest by Nebrassy), format data, flash ArrowOS (it was version 20210709). Then I get error like:

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

No such a problem, when flashing by ArrowOS recovery. And no problem dirty flashing ArrowOS from TWRP. Just problems after formatting data.

BTW, you went from 28th version to 23rd? As I understand, 28th include OSS vendor, but 23rd uses stock vendor. I don't know if stock vendor is included in 23rd zip. Maybe you should flash MIUI before downgrading?
[Xiaomi Poco X3 Pro] Rhaegar85:
No the community build was my first Rom, unlocked the phone last week, just got it. Now I'm on ArrowOS 07/29 build. I have not tried ArrowOS recovery, on TWRP latest. Problem is after wiping data TWRP doesn't read internal storage (nor on laptop as well).

The troubleshoot above worked after a few attempts. After every action you need to reboot to recovery. So wipe data-- reboot -- flash miui (get error) -- reboot -- wipe data. I repeated this cycle till miui flashed without an error then again rebooted to install Arrow Os. Worked like a charm 😂😅
[Xiaomi Poco X3 Pro] Rhaegar85:
I think pitch black recovery is outdated, please try TWRP 3.5.2 and I know the magisk author prefers patching boot img method but you can also try and flash magisk from recovery, that works 😄
[Xiaomi Poco X3 Pro] k3lcior:
@Rhaegar85 Sounds like you didn't format Data. Format not wipe.
[Xiaomi Poco X3 Pro] Rhaegar85:
That's for @Jeffrey68 😅 and yeah that might be another reason for bootloop.
[Xiaomi Poco X3 Pro] Jeffrey68:
thx @Rhaegar85 and @k3lcior .

when can I format the data? can i still do this before trying the twrp method?
[Xiaomi Poco X3 Pro] Rhaegar85:
Sure. Boot to recovery and then format data not wipe, you have to type yes. You had to format data after flashing Arrow rom. You can still just format data and try to reboot. Else just do the same process again and format data before reboot. You can install magisk later using either method.
[Xiaomi Poco X3 Pro] Jeffrey68:
Thank you very much, I'll try it...
[Xiaomi Poco X3 Pro] Jeffrey68:
@Rhaegar85 I think I misspoke. I upgraded ArrowOs but I wouldn't want to delete all my apps, photos, videos, etc ...
[Xiaomi Poco X3 Pro] Rhaegar85:
Ok so which version are you on now? You can try wipe data-- reboot to recovery-- flash miui -- reboot to recovery -- flash Arrow rom and reboot. But if you are switching from OEM vendor to OSS vendor that might not work.
[Xiaomi Poco X3 Pro] Jeffrey68:
I'm on 9 august version now. What is the difference between OEM / OSS ?
[Xiaomi Poco X3 Pro] Rhaegar85:
From which version did you upgrade to this? OEM & OSS are like miui vendor and non-miui vendor. Try the above method or with TWRP else I don't think there is any other option than format data.
[Xiaomi Poco X3 Pro] Jeffrey68:
OK. i have updated from the july version. Indeed, by formatting the data it worked. But isn't it possible to do the OTA updates without reinstalling everything each time (magisk, apps, etc.)?
[Xiaomi Poco X3 Pro] k3lcior:
You dont have to format Data or reinstall apps when updating, this time it was needed because the ROM was rebased from MIUI to OSS vendor so clean flash was required.

Idk about Magisk not using it.
[Xiaomi Poco X3 Pro] popej:
If you have installed Magisk by patched boot.img, then you have to repat the same procedure after OTA. It is because ArrowOS OTA installs full OS including new boot.img. And there is no script for restoring Magisk in addon.d.

You could try to install Magisk by zip in TWRP, which is not recommended but probably would install missing script.
[Xiaomi Poco X3 Pro] Rhaegar85:
+1
[Xiaomi Poco X3 Pro] Jeffrey68:
thx, i'll try it the next time :)
[Xiaomi Poco X3 Pro] Rytlock2110:
How safe is the rollback in MIUI considering the anti-rollback measures Xiaomi implemented? Any danger in bricking your phone?

Sorry for the potentially stupid question, I didn't flash anything since the early Mi A2 days :P
[Xiaomi Poco X3 Pro] pl1992aw:
Some explanation in Section 2 step 11:

https://xdaforums.com/t/4288121/post-85137963
[Xiaomi Poco X3 Pro] bcip:
is it okay if my MIUI already upgraded to 12.5.x.x ?
[Xiaomi Poco X3 Pro] AusVGM:
If you are installing ArrowOS, yes that is OK. Most roms now require 12.5.x.x now.
[Xiaomi Poco X3 Pro] AxisKiku:
How to clean flash from MIUI to custom ROM using TWRP? Thanks.
[Xiaomi Poco X3 Pro] pl1992aw:
Read here:

https://xdaforums.com/t/4288121/post-85137963
[Xiaomi Poco X3 Pro] cubancigar11:
My POCO X3 PRO wasn't getting detected in fastboot. It was getting detected normally. Google drivers didn't do the job (and I have them all, fully upgraded).

I required Xiaomi USB Drivers (mentioned in the main post). I had trouble installing them though, kept getting "the hash for the file is not present..." error. Following this guide did it: https://xdaforums.com/t/guide-fix-device-not-showing-up-in-fastboot-mode-windows-10.4194491/
[Xiaomi Poco X3 Pro] pl1992aw:
Read here:

https://xdaforums.com/t/4288121/#post-85137959

Section 1 step 19 for driver
[Xiaomi Poco X3 Pro] cubancigar11:
Did. That's the guide I was following (and plan to follow once the lock period ends). It doesn't say what I am pointing out, which is that Google USB drivers are not enough and Xiaomi USB drivers give "the hash for the file is not present" which requires some work to fix.
[Xiaomi Poco X3 Pro] pl1992aw:
Try remove the driver that shown when you plug USB cable to your PC. Then reboot PC when your phone is under fastboot mode and connected to PC.

Use official cable that comes with the phone, if using desktop PC, plug it to the motherboard USB socket.

Use the MiUsbDriver.exe inside the unlock tool version Direct download link (English Version 5.5.224.55)

In your pervious reply you posted Xiaomi USB Drivers, this one does not work properly, it's a bit old.
[Xiaomi Poco X3 Pro] `pusspus:
.hii ,I`m totally new in to this ,goes from super old ip5s ,now I had poco x3 pro 8/256 global .miui—12.5.2.0 | stable ( region:indonesia ) .as for UbL need to wait 168`H ,is it had to be same pc? ,or can I unlock with another pc when the waiting times over ,thnks
[Xiaomi Poco X3 Pro] pl1992aw:
You don't need PC before the 168 hours wait fulfilled, so there's no restriction on which PC you are using.

The PC to unlock Bootloader needs internet access, and had login to the exact same Xiaomi account as on your phone.

Read here for guide with Pictures :

https://xdaforums.com/t/4288121/

Up until Section 1 step 13 you don't need a PC.
[Xiaomi Poco X3 Pro] `pusspus:
.ok ,so I can do it on pc ``A`` to get the unlock token ,and then after 168`H passed .unlock it on pc ``B`` as long as I`m using the same mi-account for that ,right?

#sorry for my ENG,
[Xiaomi Poco X3 Pro] pl1992aw:
A) request unlock token

on Phone

, then wait 168 H

B) after 168 H passed, unlock bootloader with PC using same Mi-account.

If this is what you mean, that should be mostly okay.
[Xiaomi Poco X3 Pro] `pusspus:
.oh ,wait🤔 .I think I`m lil missunderstood something ,so for the unlock request there is no need pc? ,allready read couple ``how to`` guide tho and download all the stuff since a month ago ,because my laptop just death at perfect timing😤 ,and I did allready ``add accont and device`` in the ``settings -> additional settings -> developers option -> mi unlock status`` that one is the UBL request?
[Xiaomi Poco X3 Pro] .Fè:
Hello,

I've the X3 Pro already unlocked, with Pbrb (test3) and dotOs already installed.

Is there contraindications to install the TWRP instead of Pbrb? I need to perform a complete backup of the smartphone...
[Xiaomi Poco X3 Pro] pl1992aw:
Should be no contraindications to install TWRP.

Backup and restore may or may not work even with TWRP depending on the condition.

Be prepared that any Backup you made with TWRP or Pbrb or OrangeFox may have chance that cannot be restored. Do it at your own risk.
[Xiaomi Poco X3 Pro] `pusspus:
.:eek: oh F** k me!🤦‍♂️ ,dude .this whole time😓 .sH** man how stupid I am 🤣 LoL.. ,thnks ma dude🤗
[Xiaomi Poco X3 Pro] eu7tFeTyT7vfPy:
Just making sure, the guide still works as of now right?

>a. NOTE: ArrowOS requires MIUI V12.0.4.0 firmware so it recommended to downgrade to this version before flashing ArrowOS otherwise the ROM may not boot.

I'm very new to rooting and don't want to mess this up, how would I downgrade before I flash Arrow?
[Xiaomi Poco X3 Pro] Aleplus:
Прикол
[Xiaomi Poco X3 Pro] pl1992aw:
If you are new to Flash ROMs, you can follow the picture guide here :

https://xdaforums.com/t/4288121/

New ArrowOS version recommend use firmware 12.5.1.0 and above. Firmware below 12.0.6.0 can still be used.
[Xiaomi Poco X3 Pro] eu7tFeTyT7vfPy:
Thank you, I actually understand 90% of this guide but I'll also use the one you linked to make sure nothing messes up. Thanks.
[Xiaomi Poco X3 Pro] xAxB:
When I do this I get:

Done! Updating partition details...

Failed to mount '/odm' (No such file or directory)

...done

Does anyone know what this refers to?
[Xiaomi Poco X3 Pro] saudahmedbass:
hi,

i was trying to unlock my device but i am running into a road block.

i am getting this error:

该手机已被账号 644****727 通过查找手机锁定，无法解锁

translated:

The phone has been locked by the account number 644****727 and cannot be unlocked by searching the phone.

idk what i am doing wrong. i have followed instructions upto the mi unlock device. but when i click unlock i get this error:

if someone can help me figure this out?

also the account is same: 644****727

can someone point me out what i am doing wrong? thanks!
[Xiaomi Poco X3 Pro] saudahmedbass:
my bad guys. i didnt know i had two accounts with similar emails and logged in with other one.
[Xiaomi Poco X3 Pro] snuckyye01:
Hi. I'm on stock 12.5.x firmware, and I want to install ArrowOS, which requires 12.0.x firmware.

Could I do the proper wipes and then flash just 12.0.x firmware before the ROM? Or will it cause problems to my device?
[Xiaomi Poco X3 Pro] David029292:
One question, is there any problem with me using a different computer (a different computer after the waiting time) just connecting the mi account and downloading the necessary files. Because I don't have a computer but I can use the one in my course but they keep moving the pcs around and formatting them.
[Xiaomi Poco X3 Pro] i_sagnik:
It will and should work fine!
[Xiaomi Poco X3 Pro] rayone:
Hi.

Does anyone have an laternative to the USELESS PoS Xiaomi Unlock tool?

When I try an login in it asks for my SMS verification code, which I receive and then it tells me it's the wrong code. I try until it locks me out for 24hrs. Then I try the next day until it locks me out again.
[Xiaomi Poco X3 Pro] rayone:
If I use a previous version (4.5.813.51) I can login to my account.

If I copy the exe's from 5.5.224.24 to 4.5.813.51, and launch batch_unlock.exe while also running miflash_unlock.exe I can login via the app, but every time I try and unlock the phone it just pops up the modal dialog with my account info.

If I just launch 5.5.224.24 (launch batch_unlock.exe) it always says sms code is wrong or expired and then the UI goes blank.
[Xiaomi Poco X3 Pro] gambacherkalbenstein:
Hello everyone!

While trying to install my custom ROM i get an error "unable to find partition for path '/system_root'" - Any help really appreciated!

Cheers!
[Xiaomi Poco X3 Pro] irmas5:
what rom you trying install? do you unlocked bootloader? how trying install?
[Xiaomi Poco X3 Pro] gambacherkalbenstein:
lineageos 18.1, bootloader unlocked with miui-tool and via twrp ... lineage and twrp from here, xda
[Xiaomi Poco X3 Pro] irmas5:
what rom you trying install? do you unlocked bootloader? how trying install?

on what rom you are now? do you tried any other rom?
[Xiaomi Poco X3 Pro] gambacherkalbenstein:
I like LineageOS, because I'm used to it.

I now tried with PBRB-test3 (from 1st post on here) and Lineage 18.1 was transferred, but I have bootloop now. When back to PBRB /data cannot be mounted.
[Xiaomi Poco X3 Pro] irmas5:
I don't know really, but try download recovery or fast boot miui rom and flash . Then via XiaomiADBFastbootTools install twrp , reboot to twrp wipe cach, dalvik cach, install rom, then format data. reboot.
[Xiaomi Poco X3 Pro] gambacherkalbenstein:
thank you so much! i really appreciate your help!

but there needs to be a way to mount /data...
[Xiaomi Poco X3 Pro] irmas5:
sorry
[Xiaomi Poco X3 Pro] gambacherkalbenstein:
I now successfully installed my custom rom. will this delete my data partition - meaning all of my apps again?! thanks in advance!
[Xiaomi Poco X3 Pro] urbanman2004:
Yes it would, presuming you had to root the device prior to the custom being installed. Did you not backup your data prior to installing the custom rom?
[Xiaomi Poco X3 Pro] gambacherkalbenstein:
I need to admit that I am too stupid to know how to make a backup without root (RTFM... I know, I know... bear with me). Having root, I would use Titanium Back Up.

Would it make sense to back backup /data from within PBRB-test3 and the copy it back again?

Workarounds?!

I wouldn't "survive" one more round of reinstalling/setting up all of my stuff...
[Xiaomi Poco X3 Pro] urbanman2004:
Rule of thumb whenever I make a backup is to have a local (and/or cloud) copy of the data backed up first (i.e. Titanium Backup) before using an alternative resource such as "PBRB-test3"... Reason why I say that is b/c it is better to be safe than sorry.
[Xiaomi Poco X3 Pro] gambacherkalbenstein:
Would it work to set a back up of /data back into place after rooting?

Any more suggestions without wiping?

"Failed to mount '/data' (Invalid argument)"

Backup failed. Cleaning Backup Folder.
[Xiaomi Poco X3 Pro] urbanman2004:
I have never used the backup feature available for PBRB-test3 and I actually prefer using TWRP as my custom recovery. When I backed up my device, I had used "Syncios Mobile Manager" for Windows... Another backup app that I used in the past was "Wondershare Dr.Fone toolkit for iOS and Android" for Windows but the version I had wasn't compatible with Android 11.
[Xiaomi Poco X3 Pro] rayone:
Pffff, this turned out to be that Xiaomi blacklisted my IP. New Public IP and I didn't even get prompted for 2FA.
[Xiaomi Poco X3 Pro] Viggen66:
Just a question I have already associated my phone to a Xiaomi, I know I have to wait 7 days, does this time countdown, runs after I have associated my phone to the Xiaomi account, or when I try the unlock process on the app?

Also on the Xiaomi account on a website, my phone doesn't appears on manage devices,

Thanks
[Xiaomi Poco X3 Pro] i_sagnik:
The 7days countdown initiates when you do the unlock process.

Have you correctly connected your xiaomi account? If yes, Xiaomi can be sneaky at times...
[Xiaomi Poco X3 Pro] Lu5ck:
You add the device through "Mi Unlock Status", right? The countdown start once you do that. It will reset if you add the device again.

To confirm if you really did start the countdown, you can run the unlock tool to check. The unlock tool will tell you the remaining time till you can unlock the said device.
[Xiaomi Poco X3 Pro] Viggen66:
Thanks, yes is already on countdown, issue here and I recommend is to login to your Xaiaomi account throught the weird number 81xxxxxxx, than your phone number or email account.
[Xiaomi Poco X3 Pro] djsolidsnake86:
thx for the guide

the waiting period is always 168 hours ?
[Xiaomi Poco X3 Pro] urbanman2004:
Unfortunately, yes... There is no way that I am aware of to bypass this requirement.
[Xiaomi Poco X3 Pro] Jeffrey68:
Hi everyone, I'm about to do the latest ArrowOs update and just to be sure: is it possible to update without having to reinstall all the apps or data? I'm sure a backup is always better (a problem can happen quickly) but it's still tedious to have to reinstall everything. I have TWRP as recovery and if someone could tell me in detail how to proceed, that would be really great. Thank you very much.
[Xiaomi Poco X3 Pro] knoober:
the Mi Unlock Status is asking for a SIM card. Is there any way around this? Having the device connected to Wi-Fi is not good enough, and the instructions explicitly state to be on mobile data, but this is not my main device and I had hoped to just tinker with it instead of fully activating service. I don't think I have ever had to jump through so many hoops just to get the bootloader unlocked.
[Xiaomi Poco X3 Pro] knoober:
Some Roms tolerate this better than others, and is typically called a 'dirty flash'. IIRC you simply choose not to format the data partition when you flash and hope it works. Often a clean flash is the best way to make certain you dont have any odd leftovers from previous roms. YMMV
[Xiaomi Poco X3 Pro] Jeffrey68:
Thx !
[Xiaomi Poco X3 Pro] Shpakintosh:
Hello,I had a problem here, I was trying to unlock bootloader of Poco X3 pro, but the mi unlock tool on version 5 and 6 telling me about some errors, like error(-1) and error: "please read users .....on the website" I don't know what to do,maybe I am doing something wrongly?
[Xiaomi Poco X3 Pro] ikira31:
Hello everyone and please help, I am literally losing my nerves. Has anyone encountered such a problem ?
[Xiaomi Poco X3 Pro] TheRaphel:
Ok guys, I need to return my phone for warranty repair. How to lock bootloader and load factory system?
[Xiaomi Poco X3 Pro] pl1992aw:
Follow steps here:

https://xdaforums.com/t/4288121/