yashsingh1/xdaforums huggingface dataset:
[Xiaomi Poco X3 Pro] pl1992aw:
Backup your stuff manually.

First make sure which country/region your phone is from. The phone box may have some clue.

Then download the fastboot ROM .tgz files according to your phone country/region.

https://xdaforums.com/t/miui-updates-tracker-poco-x3-pro-vayu.4263139/

After that, follow steps here:

MIFLASH[GUIDE]⚙ USE XIAOMI FLASH TOOL

FOR ALL XIAOMI BOOTLOADER MUST BE UNLOCKED MIUI https://new.c.mi.com/global/post/101245 https://en.miui.com/unlock/index.html HYPEROS GLOBAL https://xdaforums.com/t/how-to-unlock-bootloader-on-xiaomi-hyperos.4654009/...

xdaforums.com

Recommend to clean all first,

not recommended

to clean all and lock on your first try to confirm the ROM can be boot up to system normally.

You can check Xiaomi/Poco warranty policy in your country/region. Usually if your system is clean flash and can boot up, even if your bootloader is unlocked, you may still have warranty covered by Xiaomi.
[Xiaomi Poco X3 Pro] vijer:
Will this also work with the Poco X3 NFC?
[Xiaomi Poco X3 Pro] urbanman2004:
No... that's a totally different phone model.
[Xiaomi Poco X3 Pro] heads89:
Hi guys I am new in doing custom roms, currently waiting bootloader to unlock and install twrp. I am currently at 13.0.3, should I downgrade to 12.0.4 before flashing?
[Xiaomi Poco X3 Pro] urbanman2004:
You shouldn't have to downgrade since my guide was based on what current firmware was available at the time... As long as you use the most recent version of the software/apps required to facilitate the ROM installation and you follow the instructions of my guide to the 'T' then I don't foresee you having any issues... However, I would suggest that you use TWRP as the custom recovery instead and don't upgrade past Magisk v23.0 since the dev @topjohnwu has switched up certain functions in the app regarding rooting and modules (which my guide doesn't address).
[Xiaomi Poco X3 Pro] macnote65:
I use Qr code, is working!!
[Xiaomi Poco X3 Pro] pl1992aw:
Picture guide works with MIUI 12~13 or Android 11~12.0/12.1 custom ROMs:

https://xdaforums.com/t/4288121/
[Xiaomi Poco X3 Pro] orb3000:
Thread cleaned

Please all, lets keep it on topic and with respect.

Thanks for your cooperation
[Xiaomi Poco X3 Pro] kirki_free:
Hello to everyone , i would like to ask if its possible to unlock the bootloader using linux and if is there any guide?
[Xiaomi Poco X3 Pro] Tomo123:
Yeah, let's all stay on pre-cretacious version of Magisk, because certain someone did not update their guide.

Magisk v25.1 works. Use that, people.
[Xiaomi Poco X3 Pro] Cristian Montes:
alguien Que Me AyuDe PoRFavOr NOTENGo IDEA CoMo Se hAce EsO,sOy NuEVo En ESTO DE La ROM Y El ROOTEo🥺🙏

Mod translation via GT: SOMEONE PLEASE HELP ME I HAVE NO IDEA HOW THIS IS DONE, I'M NEW TO THIS ROM AND ROOTING THING🥺🙏
[Xiaomi Poco X3 Pro] lgg5.845lol:
Im on miui v13.0.3 global. Do i need to do anything specific now that most of things are straight forward? Should i just flash the latest twrp v3.7 ? Or do i need to install the encryption files in OP ?(I just unlocked my BL haven't installed anything yet)
[Xiaomi Poco X3 Pro] urbanman2004:
My instructions clearly state it is "recommended to downgrade" to MIUI V12.0.4.0 so approach at your own risk. And I would still recommend the installation of the encryption files unless you've researched an alternative that suits your needs or a method that offers quality of life improvements over the one listed in my instructions. The whole process and everything needed to be done should be self-explanatory and straightforward. Yes, you do want to use the latest versions of the tools when approaching the installation of the ROM, so that would entail the latest version of TWRP and GApps, etc. that are compatible w/ the ROM. Bear in mind, the developer of Magisk has switched up how it interacts w/ the OS so my instructions pertaining to that may be outdated/antiquated.

I will eventually post a new thread w/ instructions regarding how to install the latest ArrowOS or LineageOS in 2023. Just had a bit of commitments and obligations IRL take precedent which I've had to prioritize currently.
[Xiaomi Poco X3 Pro] urbanman2004:
For owners of the Poco F1 phone, I just put together a guide for LineageOS 20, the latest version of Android (13) which can be found here. I'll eventually put together another guide for the Poco X3 Pro...

Side note: Anyone know if Xiaomi intends to release a proper worthy successor to the Poco X3 Pro [and not those lower tier Poco spin-offs w/ substandard Snapdragon CPUs], and if so, when do they plan to release it.
[Xiaomi Poco X3 Pro] pl1992aw:
Poco F5 / Poco F5 pro would probably be a worthy successor, in SoC and price-wise view.

Probably the same as "Redmi Note 12 Turbo" / "Redmi K60" in China.

Releasing tomorrow or the day after.
[Xiaomi Poco X3 Pro] urbanman2004:
Oh sh*t, this article just released today: "Poco F5 and Poco F5 Pro officially debut in UAE". That's right on time, lol... The problem I foresee is that the device may not come included w/ microSD card expansion which would be really disappointing...
[Xiaomi Poco X3 Pro] pl1992aw:
Probably most companies are moving in the direction to reduce slots and sockets with minimal holes. 3.5mm, microSD, and SIM cards. Everything wireless. Even cutting out the chargers and cables from the set.

Buy the extensions, the dongles. "Let them eat cake."
[Xiaomi Poco X3 Pro] urbanman2004:
It's quite the unfortunate trend that I'm reluctant to partake in... Forced obsolescence 🙄😒
[Xiaomi Poco X3 Pro] pl1992aw:
There's actually one non-Xiaomi that has almost all.

Sony Xperia 1 V​

SD 8 Gen 2

microSD slot shared

3.5 mm

IP65/ IP68

NFC

Wireless charge

Though the price is not friendly. True flagship price and spec.
[Xiaomi Poco X3 Pro] urbanman2004:
I don't even like Sony branded phones though. I associate them in the same category as LG 🙄🤷🏽‍♂
[Xiaomi Poco X3 Pro] djsolidsnake86:
when unlock phones, is possible use the original stock android rom?
[Xiaomi Poco X3 Pro] urbanman2004:
Yes... But if you intend on rooting the device as well then you would have to refrain from following parts of the instructions relevant to flashing Arrow OS by way of custom recovery. Once you unlock the bootloader, you would still need to install custom recovery followed by attempting the 'patch method' to root the device.
[Xiaomi Poco X3 Pro] vasilis_:
I am on MIUI 13.0.6 ,can I follow the guide to install the ROM or I need to downgrade?
[Xiaomi Poco X3 Pro] YokaiSparda:
When checking Unlock status do you still have to wait 7 days?
[Xiaomi Poco X3 Pro] Uttermarcus:
Helloo for Mi 10T pro 5G M2007J3SG cannot find the exact model in the list, only Mi 10 pro

what do you suggest is the beest
[Xiaomi Poco X3 Pro] newbrn:
Thank you very much ! I'm still getting used to the acronyms used here.
[Xiaomi Poco X3 Pro] juv3nal:
Hi, when you say to downgrade, do you mean to flash the entire Miui version or just the firmware as a zip file in twrp?
[Xiaomi Poco X3 Pro] kamild_:
Entire MIUI. Flashing vendor and firmware packages would be sufficient, but I'm not aware of any place you can get vendor packages for this device.
[Xiaomi Poco X3 Pro] juv3nal:
All done now, thanks!!

In the end I used the TWRP recovery and flashed the 12.0.4 miui version and flashed this rom on top of it, and now it's working flawlessly so far.

Thank you!!
[Xiaomi Poco X3 Pro] teosc:
After each OTA update do I have to patch the boot.img file again with Magisk and flash it with twrp to keep the root?

Isn't there a way to keep root automatically after OTA update?

Thanks
[Xiaomi Poco X3 Pro] urbanman2004:
Yes, that is correct, however, I prefer flashing the patched boot.img within fastboot mode as stated in the guide.
[Xiaomi Poco X3 Pro] nikapos:
the OP of arrowOS states:

"ROM Firmware Required: MINIMUM: MIUI 12.0.4.0/12.0.6.0 vendor+firmware."

so, are you sure it is necessary to downgrade?
[Xiaomi Poco X3 Pro] standa222011:
@urbanman2004 For the MIUI and firmware you can use https://xiaomifirmwareupdater.com/ from @yshalsager
[Xiaomi Poco X3 Pro] AusVGM:
What is the easiest way to re-install the Magisk boot.img after doing an OTA update?
[Xiaomi Poco X3 Pro] urbanman2004:
If you noticed, the date when I posted this guide (2021/04/25) was prior to when the dev updated ArrowOS to allow minimum firmware version 12.0.6.0: 2021/05/04 Changelog
[Xiaomi Poco X3 Pro] elliwigy:
didnt see an answer to your question yet but assuming youre asking if its necessary to wipe data I am pretty sure due to android security device always requires a wipe going from locked to unlock state or vice versa..

so i assume after the unlock device will wipe data so its probably best to backup anything you need prior to unlocking
[Xiaomi Poco X3 Pro] urbanman2004:
Here
[Xiaomi Poco X3 Pro] ianseer:
nice guide there...

Sorry, dumb question here... I live in a country that xiaomi release my software officially on 12.0.3.0 ...

is it okay if I flashed it to 12.0.6.0 before I did all you mentioned above ? thanks in advance
[Xiaomi Poco X3 Pro] pl1992aw:
As long as you unlock bootloader.

After you unlocked, you can use other region roms and initial versions doesn't matter, but beware that safetynet/google play/netflix/DRM/etc. might not work properly.

And do not re-lock/lock the device when you change to other region roms.
[Xiaomi Poco X3 Pro] lacs143:
can i use the latest twrp in flashing arrow os without using external sd card or otg?
[Xiaomi Poco X3 Pro] ianseer:
And i cannot use the 12.0.3.0 firmware to flash Arrow OS... I need to go to 12.0.4.0 or 12.0.6.0 first, right?...

Thanks for the explanation btw
[Xiaomi Poco X3 Pro] pl1992aw:
ArrowOS tells you to use 12.0.4.0/12.0.6.0, then do that if you don't want to face issues.

You can try with your 12.0.3.0, but don't be surprised with boot-loop or bugs.

What I personally did is flash 12.0.4.0 by xiaomi.eu, then boot into system, then go into twrp and flash ArrowOS.

I'm not sure if you can flash the 12.0.4.0 rom then, without booting into MIUI system, and immediately flash ArrowOS over in the recovery.

You can try and find out.

Many things are just try and error.
[Xiaomi Poco X3 Pro] urbanman2004:
Idk, but you should try it out and see. My guide is only meant to illustrate the process I went through to flash ArrowOS, not any alternative methods that divert from my instructions.
[Xiaomi Poco X3 Pro] bla.tiga:
Do wee need enable usb debuging in unlocking bootloader process, i see your tutorial dont mention it, it enable when flashing the rom only?

And can we use "fastboot oem unlock" command instead using mi flash unlock tool and wait 168h??
[Xiaomi Poco X3 Pro] urbanman2004:
My guide is simple and straightforward which was based on my experience so again, there is no need to divert from my instructions. Multiple members in this thread can attest so if you have any other methodology in mind then again, you should try it out and see. I do not endorse any steps outside of the instruction I have already laid out.
[Xiaomi Poco X3 Pro] faheem200:
NICE
[Xiaomi Poco X3 Pro] SCXavier:
Did everything up until the point 10, but my phone won't boot into custom recovery. The only thing I get is a black screen. Anyone knows what may be happening?
[Xiaomi Poco X3 Pro] urbanman2004:
Seems as though you missed a step and I can't tell you what that might be. Go back to the drawing board and start over.
[Xiaomi Poco X3 Pro] Skelos:
Hello,

so it means that "TWRP-3.5.1-vayu-Nebrassy-1.img" file must be used instead of "recovery.img" running the command:

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

or we have to store it into the smartphone using other command?

Thank for your patience. ☺
[Xiaomi Poco X3 Pro] pl1992aw:
If the recovery file you downloaded is named "TWRP-3.5.1-vayu-Nebrassy-1.img", then the command is correct.

TWRP-3.5.1-vayu-Nebrassy-1.img

This file has to be placed in the same directory as the "fastboot.exe" on PC
[Xiaomi Poco X3 Pro] Skelos:
@pl1992aw , i would to root my POCO X3 Pro but keeping original MIUI (it means don't use custom roms).

If I understood correctly I have to do :

1) Unlock the phone , steps "UNLOCK BOOTLOADER"

2) Install recovery file. The best one is download it following "

Using TWRP to install OTA Updates

" in the second post because this is capable of decrypting and reading internal storage.

3) Download the latest version of Magisk (Magisk v22.1) as apk and install it as a common APK file after booting the phone

To be more clear:

=> Doesn't need to download GAPPS (I expect they are kept in MIUI and after Wipe/Format Data I need to setup they as a new smartphone)

=> Doesn't need to replace boot using command

fastboot flash boot boot.img

it is correct?

Or there is some step as mandatory?

I'm sorry but it not to easy for me extract steps for rooting the phone keeping original MIUI ( I would to keep original MIUI in order to recauve OTA updates)
[Xiaomi Poco X3 Pro] pl1992aw:
If you just want root in MIUI

1) is must, and keep in mind it will clean all your data stored in your phone when you press unlock on PC. (photo/ screenshot/ whatsapp chat/ etc.) Backup into PC or cloud if you want to keep things. (there are 2 step warning)

2) TWRP is optional. Magisk can be flash with TWRP (someone said it works here)

https://xdaforums.com/t/rom-official-arrowos-11-0-android-11-0-vayu-bhima.4267263/post-85009609

3A) if you use TWRP, rename "Magisk-v22.1.apk" to "Magisk-v22.1.zip" and put in your phone somewhere easy to find (eg. Download folder). Then install via TWRP (eg. press Install in TWRP, then go into the Download folder, look for Magisk-v22.1.zip, then swipe)

With this method you don't need to download rom, extract boot.img from it, patch and flash boot.img.

But personally haven't done this way, so you have to try it.

And you need to follow 1st post to flash TWRP and boot TWRP in your phone.

3B) similar to the 1st post, you can use this PC tool

XiaomiADBFastbootTools (Java)

https://github.com/Szaki/XiaomiADBFastbootTools

Some of the steps in the 1st post can be done with this tool.

With this, you can flash TWRP into recovery, flash boot.img into boot partition patched by Magisk.

If you want to follow 3B), first download the program on PC and try it out. Ask what you don't know when using this program.

If you think this program is fishy/suspicious, then you either try 3A) or follow 1st post, which is manually.

Last note

If you root, it is likely you cannot update MIUI via OTA, or may be revert to un-root state.
[Xiaomi Poco X3 Pro] urbanman2004:
Seems as though you may have also overlooked the following detail within my instructions since you're attempting to replace "Pbrb (test3)" with TWRP: "8. Download the unofficial Pbrb (test3) recovery file (PitchBlack Recovery Project 3.1.0 unofficial) by Alex Besida and copy it into the ADB install folder and rename it to "recovery.img"."
[Xiaomi Poco X3 Pro] Th3 Ant:
Hi

I've tried like 3 ROMs already and every single one bootloops after I flash Magisk patched boot.img

If I flash original boot.img, it boots just fine but no Magisk (obviously)

Where can be the issue? Tried using 3 different version of it too... nothing works...

Logcat - https://gist.github.com/th3an7/56311540c6205f8565c82041ab581527
[Xiaomi Poco X3 Pro] urbanman2004:
Your problem seems to be user generated... I would suggest you go back to the drawing board and following the instructions to my guide verbatim. According to my guide, flashing Magisk requires the user to pull the boot.img from the current ArrowOS firmware being used and patching it within Magisk then exporting the patched boot.img from your device onto your PC and flashing the patched boot.img file via fastboot.
[Xiaomi Poco X3 Pro] Th3 Ant:
That's what I did for all 3 of those ROMs - unpacking zips, using Magisk Manager app to create patched boot.img, flashing it to boot partition using

fastboot flash boot <patched_boot.img>

and after rebooting to system, it doesn't work... flashing back original one makes it bootable again

I already tried re-flashing whole zip couple times - dirty flashed, clean flashed... no gapps, with gapps... nothing works...

This is the only "wall" I haven't smashed yet...
[Xiaomi Poco X3 Pro] urbanman2004:
That's how I was able to do it, based on the instruction given in my previous comment (from recollection) aside from it being laid out step-by-step in my guide. I'm afraid its seems that you're the only one I'm aware of who's experiencing such an issue, but sorry Idk what else to tell you.
[Xiaomi Poco X3 Pro] xelrix:
How exactly did you patch the boot.img?

Where exactly did you get the unpatched boot.img?

What exactly the name of the 3 roms you were attempting to root? Exact name of the rom files (*.zip).

What region is your x3p?

It is indeed weird considering urbanman2004 tutorial is pretty much it and the rooting process itself is already pretty easy.

And as urbanman mentioned, only you who's having this problem and since all 3 of your attempts failed the same way, likely you did something wrong.
[Xiaomi Poco X3 Pro] xelrix:
To be fair though, whichever recovery you use doesn't really matter as all of them derived from twrp build anyway.

Just putting it out here but for simplicity sake, the guide is good already as is.
[Xiaomi Poco X3 Pro] Th3 Ant:
Installed latest Magisk Manager, took boot.img from ROM .zip file, used Magisk Manager to prepare patched boot.img (by choosing that previously unpacked .img from .zip) - that creates "magisk_patched-***_***.img" file.

By unpacking .zip with custom ROM (ex. ArrowOS, Havoc etc.) and taking out boot.img from it

Arrow-v11.0-vayu-OFFICIAL-20210507-GAPPS.zip

Havoc-OS-v4.4-20210511-vayu-Unofficial.zip

PE+-arm64-bgN-userdebug.img (tried using patched stock boot.img as non-patched one boots just fine)

EU

I have no idea what am I doing wrong... tried flashing .img using TWRP and with fastboot, tried flashing whole magisk .zip with TWRP - always same result - bootloop with same spam in logcat I've send couple posts earlier...
[Xiaomi Poco X3 Pro] urbanman2004:
Thanks... I'm aware he's not technically limited to only using just Pbrb (hence this post) and was only re-emphasizing where I denoted the re-naming convention of said "recovery" for simplicity's sake, but your firsthand account regarding your experience flashing Magisk supports my theory a/b the root of his issue.
[Xiaomi Poco X3 Pro] urbanman2004:
So that we are clear, are you at least able to initially boot into ArrowOS after flashing it and go through the account setup upon boot? Yes or No?
[Xiaomi Poco X3 Pro] Th3 Ant:
Yes... as I said - all 3 ROMs are bootable without any modifications - they are working fine and I can comfortably use them straight away after flashing...

Only issue is Magisk - without it, everything works.
[Xiaomi Poco X3 Pro] urbanman2004:
Ok, so w/ Magisk flashed, how are you obtaining the boot.img necessary for patching?
[Xiaomi Poco X3 Pro] xelrix:
Flashing the magisk apk as zip will always fail as mentioned in the tutorial.

Also btw, you're not supposee to flash img in recovery. They usually to be flashed in fastboot/bootloader.

Just to reconfirm, did you flashed the patched boot.img after or before you attempted to flash magisk.zip?
[Xiaomi Poco X3 Pro] Th3 Ant:
I do not flash Magisk .zip or .img - I'm installing normal .apk and use it to create patched .img using boot.img taken from ROM .zip file

If I flash .zip or flash patched .img, I can't do anything anyway since it bootloops

Yes I know - I literally said 3 times already I tried everything - flashing img in fastboot/bootloader and since that didn't work (like 10 times) I tried something else (which was just "legacy way")

I clean flashed whole ROM like 3 times already too just to confirm there is nothing about magisk - I tried flashing patched boot.img using fastboot/bootloader on completely cleanly flashed ROM first time I read this whole tutorial

That's why I've asked for help with this since it didn't work with any of tested ROMs

What I found out tho, after flashing patched .img (and when it's bootlooped) I can use "magisk" command in shell - "su" probably works too but I think it needs confirmation on phone screen as it just hangs and waits for some action (which I can't do since all I see on phone is boot animation...)
[Xiaomi Poco X3 Pro] urbanman2004:
That's not what I asked. I asked "...how are you obtaining the boot.img necessary for patching?"

Can you give me a step-by-step process so I can understand, similar to how I laid out my instructions in this guide for you and everybody else to understand.
[Xiaomi Poco X3 Pro] Th3 Ant:
1. Download .zip with ROM ex. Arrow-v11.0-vayu-OFFICIAL-20210507-GAPPS.zip from respectable XDA thread

2. Unpack downloaded .zip

3. Copy "boot.img" from that unpacked .zip onto phone memory/external SD card

4. Install Magisk Manager apk

5. Open installed Magisk Manager, choose "Install" > "select file to patch"

6. Select previously copied boot.img

7. Magisk Manager will create patched boot.img which should be in "Downloads" folder

8. Flash that patched boot.img (which is in "Downloads" folder) using fastboot/bootloader

And here is where my adventure ends - after successful flash, rebooting to system just bootloops and to get it working again I have to flash boot.img again from step 3. using fastboot/bootloader

I can even make YouTube video if that necessary...
[Xiaomi Poco X3 Pro] urbanman2004:
So my followup to that is as follows:

1. How are you flashing/updating your phone: is it by way of OTA update or are you manually flashing (after downloading it from the dev's website)?

2. Is the boot.img you're extracting coming from the same version of firmware that is being used to update?

3. Magisk is no longer a "Manager" anymore; it's just "Magisk" according to the dev of the apk.

4. The patched boot.img resulting from you using Magisk will have nomenclature similar to "magisk_patched-23000_rauu0" which is the boot.img file you should be using.

I don't usually do 'tech support' over these kind of issues since I tend presume members on XDA in these threads are somewhat familiar w/ flashing ROMS b/c it should be basic common knowledge being on a site like this otherwise you should just stick w/ stock firmware. Make of it what you will.
[Xiaomi Poco X3 Pro] xelrix:
May i know where did you get your magisk?

Also, did you patched any disable dm-verity patch?
[Xiaomi Poco X3 Pro] Th3 Ant:
It's not my first time flashing custom ROM (you can just look at my signature)

It's just first time I have issues with flashing magisk as it was always working without any issues (even on other Xiaomi phone... Note 7 btw)

I don't even know anymore how I can explain to you what am I doing - already wrote same thing like 5 times in this thread...

1. No, I DO NOT use any OTA - I literally unlocked bootloader 2 days ago and today flashed ArrowOS straight from .zip using TWRP (which you even linked somewhere)

2. Yes, IT'S SAME ZIP - I DO NOT use any other version of ArrowOS zip apart from that mentioned previously. Boot.img is TAKEN OUT of that .zip

3. And what does that have in common with my issue? Magisk is magisk - it was magisk manager before and for me it will stay that way - APK can be renamed to .zip and it can be flashed... zip can be renamed to .APK and it can be installed like any other app...

4. Yes, that's the "patched boot.img" I was talking about for like 6 post now...

Tech support? Dude... You asked me about same thing for 5 posts now - maybe I am stupid but if I didn't know what I'm doing, I wouldn't even unlock and flashed anything...

I asked a single question - "why does magisk bootloops if I flash patched .img"... I even provided logcat for anyone interested and for who definitely know more than me - I think it wasn't you tho...

Thanks for help tho but I guess we won't find solution talking like this....
[Xiaomi Poco X3 Pro] Th3 Ant:
Release Magisk v23.0 · topjohnwu/Magisk

This release is focused on fixing regressions and bugs. Note: Magisk v22 is the last major version to support Jellybean and Kitkat. Magisk v23 only supports Android 5.0 and higher. Bug Fixes [App]...

github.com

Also tried canary as some people said it sometimes work but it didn't change anything