• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

How To Guide [GUIDE][UNLOCK][ROOT] How to unlock bootloader, flash ArrowOS v11.0 ROM and root Xiaomi Poco X3 Pro

Search This thread

eu7tFeTyT7vfPy

Senior Member
Apr 21, 2021
54
8
LineageOS
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?
 
Last edited:

Aleplus

Member
Jul 13, 2020
49
1
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 ;)
Прикол
 

pl1992aw

Senior Member
Apr 5, 2019
1,060
686
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?

If you are new to Flash ROMs, you can follow the picture guide here :
https://forum.xda-developers.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.
 
  • Like
Reactions: urbanman2004

xAxB

Member
Mar 9, 2017
42
8
11. [OPTIONAL] Power off the device and boot back into recovery.
a. Go to Install –> Navigate to the TWRP folder on the microSD.
  • Select " Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip" and flash it, but do not change any of the checkboxes that show up before doing so.
  • NOTE: This will disable forced encryption of data partition for better performance and internal SD + Data mounting in TWRP. It's not needed for the ROM to work, but due to disabling encryption it compromises security.
  • Reboot into the new ROM.
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?
 
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:
1634450745599.png


if someone can help me figure this out?
also the account is same: 644****727
1634450822698.png


can someone point me out what i am doing wrong? thanks!
 
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:
View attachment 5435377

if someone can help me figure this out?
also the account is same: 644****727
View attachment 5435379

can someone point me out what i am doing wrong? thanks!


my bad guys. i didnt know i had two accounts with similar emails and logged in with other one.
 
  • Like
Reactions: urbanman2004

snuckyye01

New member
Nov 7, 2020
2
1
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 ;)
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?
 

David029292

New member
Oct 11, 2020
4
0
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.
 

i_sagnik

Senior Member
Sep 3, 2021
62
30
18
West Bengal
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.
It will and should work fine!
 

rayone

Senior Member
Mar 15, 2008
167
22
www.ray1.net
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.
 

rayone

Senior Member
Mar 15, 2008
167
22
www.ray1.net
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.
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.
 
Aug 12, 2015
32
2
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!
 

irmas5

Senior Member
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!
what rom you trying install? do you unlocked bootloader? how trying install?
lineageos 18.1, bootloader unlocked with miui-tool and via twrp ... lineage and twrp from here, xda
on what rom you are now? do you tried any other rom?
 

irmas5

Senior Member
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.
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.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    thank you so much! i really appreciate your help!

    but there needs to be a way to mount /data...
    thank you so much! i really appreciate your help!

    but there needs to be a way to mount /data...
    sorry
    1
    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
    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...
  • 30
    If you've recently purchased a Xiaomi Poco X3 Pro, but were on the fence about using it until an AOSP ROM became available then you're in luck. Kudos to @kubersharma for his contribution by providing us the first official AOSP release, ArrowOS v11.0 [vayu].
    Now, throughout this guide, I have linked the page or post based on information I gathered to put this guide together in order to credit that person instead of having to name drop them individually. These are fully detailed instructions to make it easier for newbs.
    I've spent the better part of my day figuring all of this stuff out so hopefully you won't go through the trouble I did. PLEASE DO NOT PM ME FOR HELP. REPLY TO THIS GUIDE BELOW, THANKS. NOW LET'S BEGIN!!!

    UNLOCK BOOTLOADER
    1. Unlock the bootloader with Xiaomi Unlocker tool.
    a. Be aware this process will factory reset the device before proceeding.
    b. Download the Mi Unlock app onto your PC. Extract the contents within the zip file into an empty folder then run the app.
    c. Register for Xiaomi account and sign in with your Mi Account.
    d. Your Mi Account must be added to your Mi Settings
    • Sign into your Mi Account on the device.
    • Go to Settings –> About Phone –> tap on MIUI version (For POCO) until it says Developer options is enabled.
    • Back out of About Phone, Additional Settings –> Developer options –> Mi Unlock status.
    • Agree, then "Add account and device".
    e. Shut down your phone manually, and hold Vol down + Power button to enter Fastboot mode.
    • Download and install the latest Xiaomi USB Drivers or here (or Google's latest USB drivers for Windows if all else fails) for your PC.
    • Connect the device to the computer via USB cable, and confirm that your phone shows up recognized as "Android Bootloader Interface" (in Device Manager), and click "Unlock" in the Unlock app.
    • NOTE: If Windows does not recognize the device due to it automatically installing the wrong "Kedacom Device Driver" then you will have to manually install the drivers for "Android ADB Interface/Android Bootloader Interface".
    f. After your first initial unlock attempt, you MUST wait 168 hours before unlock process can fully complete.
    • Wiping the device or removing the Mi account from the device could result in the timer being reset.
    g. After the waiting period expires, click "Unlock" in the Unlock app. You will notice the phone will restart followed by subsequent different screens during the phone's boot sequence including the "POCO" screen which now displays an "open lock icon" at the top, indicating your bootloader unlock attempt and will eventually end up on a "This device is locked" screen where you have to confirm you are the device owner by entering your Mi Account password to "activate this device"; connect to your WiFi prior to doing so if the device lacks an active sim card.

    FLASH CUSTOM RECOVERY, DECRYPTION DISABLER, & ROM THEN ROOT
    2. Download the Official ArrowOS v11.0-vayu fastboot ROM for POCO X3 Pro [direct link here].
    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.
    b. Choose the GApps build type which "includes Play services and now some AOSP apps have been replaced with GApps... All GApps packages and other[sic] files [were] extracted from original firmware images for Pixel4XL (coral)."
    3. [OPTIONAL] Download the latest version of Encryption Disabler then copy it along with the fastboot ROM into a folder named 'TWRP' on the root of your microSD.
    4. Ensure USB Debugging is already enabled on your device (in Settings –> Additional Settings –> Developer options).
    5. Remove any screen unlock (i.e., fingerprint, PIN, pattern or password) in MIUI.
    6. Power off device and put it in Fastboot mode (Vol down + Power button).
    7. Download the latest SDK Platform Tools from Google for adb compatibility and create a folder called "adb" in the root of the "C:\" drive.
    a. Extract the files adb, AdbWinApi.dll, AdbWinUsbApi.dll, and fastboot into the folder.
    b. Ensure the latest USB drivers are installed for your PC, connect the device to the computer via USB cable, and confirm that your phone shows up recognized as "Android Bootloader Interface".
    c. Launch "Command Prompt" on your PC and run the command:
    cd C:/adb
    • To show a list of devices (including your phone) connected to your PC, enter the command:
    fastboot devices
    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".
    9. Flash custom recovery file in CMD, run commands:
    fastboot flash recovery "recovery.img"
    fastboot boot recovery.img
    10. Your device should automatically boot into custom recovery. At this point, the microSD will become accessible from recovery or the PC, but the device's internal storage will not be which makes using a microSD card much more imperative for this process since the recovery is in early access development.
    a. Go to Wipe –> Format Data, type "yes" to perform data wipe; Back out to the main menu.
    b. Go to Install –> Navigate to the TWRP folder on the microSD (via "external_sd").
    • Select "Arrow-v11.0-vayu-OFFICIAL-20210424-GAPPS.zip" and flash the ROM, but do not change any of the checkboxes that show up before doing so.
    • Format data (not wipe) before rebooting into the new ROM.
    • NOTE: At most it takes around 1 minute to boot back up.
    11. [OPTIONAL] Power off the device and boot back into recovery.
    a. Go to Install –> Navigate to the TWRP folder on the microSD.
    • Select " Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip" and flash it, but do not change any of the checkboxes that show up before doing so.
    • NOTE: This will disable forced encryption of data partition for better performance and internal SD + Data mounting in TWRP. It's not needed for the ROM to work, but due to disabling encryption it compromises security.
    • Reboot into the new ROM.
    12. After going through the phone's boot sequence, you'll be presented with the initial phone setup process onscreen where you can begin recovering your data.
    13. Go to Settings –> About phone –>tap on Build number until it says Developer options is enabled.
    a. Back out to Settings –> System –> to access Developer options –> Enable USB Debugging.
    14. Installing Magisk via custom recovery will fail in the background, resulting in an unresponsive "POCO" screen which is caused by installer scripts not being able to properly detect the correct device info or the recovery environment does not meet its expectation. In this case, you will need to use the Patch Image method as it is guaranteed to work 100% of the time. Installing Magisk through custom recoveries on modern devices is no longer recommended due to this reason.
    a. Pull down the Notification Bar from the top of the screen and change "Charging this device via USB" to "File Transfer".
    b. Open " Arrow-v11.0-vayu-OFFICIAL-20210424-GAPPS.zip " and copy "boot.img" to the phone's internal storage.
    c. Download the latest version of Magisk (Magisk v22.1) and copy it to the phone's internal storage and use the native "Files" app to install the apk.
    • NOTE: Magisk binaries (ZIP) are now included within Magisk Manager APK file. Now you don’t have to download it separately. You can install the .apk file or rename its extension to .zip then flash it through custom recovery / TWRP.
    d. Launch Magisk from the app drawer and go to "Install" under Magisk –> "Select and Patch a File," select the "boot.img" you copied internally –> "LET'S GO".
    e. Copy the generated patched file to the ADB folder and flash it via fastboot by running the following commands:
    cd C:/adb
    fastboot flash boot boot.img
    f. Reboot into the new ROM and voila!
    fastboot reboot
    g. Use an app such as Root Checker or BusyBox Checker (from the Play Store) to confirm root status.
    h. To bypass/restore SafetyNet validation, open the Magisk app, go to Settings (cogwheel icon) and enable MagiskHide.
    5
    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.
    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.
    2
    SIDENOTES:
    These are either my comments or other user's comments that may be considered helpful as it relates to ArrowOS

    Picture guide unlock bootloader, flash custom ROMs & root Xiaomi Poco X3 Pro (Credits to @pl1992aw)

    Using TWRP to install OTA Updates

    Installing OTA updates

    Stability of 'PitchBlack Recovery Project' Recovery

    How to verify SafetyNet status

    Feel feel to let me know of other threads or comments that are also related to installing ArrowOS.
    2
    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 ;)