yashsingh1/xdaforums huggingface dataset:
[Xiaomi Poco X3 Pro] xelrix:
Sorry for the long winded and repeated questions.

And yeah, canary isn't necessary. I would even suggest staying on stable unless theres specific things in canary that you want to use/test.

Another thing, did you patch any disable dm-verity patch during installation?

If you did, I suggest that you try skipping it for now if you did, just for trial sake.

Besides, magisk already have its own disable dm-verity solution.

If you did not, sorry im out of suggestions.
[Xiaomi Poco X3 Pro] Th3 Ant:
Nope, just straight up used "Select and patch a file" option to generate patched .img

Then just flashed that using

fastboot flash boot <patched.img>

and rebooted - nothing more, nothing less - didn't use any other .zips, modules or anything like that...
[Xiaomi Poco X3 Pro] urbanman2004:
Last time I checked, my guide said to use the "latest version of Magisk" which was Magisk v22.1 at the time, not canary ¯\_(ツ)_/¯
[Xiaomi Poco X3 Pro] urbanman2004:
I actually wanna help you, but look throughout this whole thread: nobody else is reporting having the same issue as you. You can bring up all the experience you have under your belt, but in the grand scheme of things, we all are able flash Magisk w/o issue. Maybe try following my guide to the 'T' next time and using Pbrb instead of TWRP.
[Xiaomi Poco X3 Pro] xelrix:
Its a stretch but for the boot.img flash, did you use fastboot (reboot bootloader) or fastbootd (reboot fastboot)?

Calling it a stretch because if you have twrp, you would get to twrp version of fastboot, which i dont think is working yet for vayu.

If everything else fail, im thinking your partitions might be somewhat broken.

I would suggest you download the latest miui fastboot rom for your region and use the flash_all.bat script (dont relock obviously)

Then redo everything.

As it seems, you're doing everything accordingly so there shouldn't be anything wrong.

He linked the latest stable release, which is fine.

Edit:

Just to share, i initially used uberman2004 tutorial from unlocking bootloader till rom installation (installed miui eu rom though) EXCEPT installing magisk nor patching disable dm-verity patch.

It works fine.

But for arrowos (a month later), i decided to start clean.

1. Enable adb in dev option

2. Boot into fastboot ([adb reboot bootloader])

3. Run flash_all.bat script from miui global 12.0.6 fastboot rom (yes my vayu is global)

4. [Fastboot flash recovery recovery.img] (which is latest nebrassy's twrp)

5. [Fastboot boot recovery.img] (on hindsight, [fastboot reboot recovery] should be fine)

6. Install latest arrowos with gapps from my sd card (didn't cross my mind to just use otg)

7. Format data

8. Reboot to system

9. Dash through initial setup

10. Install mixplorer

11. Open up the arrow os file and extract the boot.img to the root of my sd card

12. Install magisk v23.0 stable that i got from github

13. Patched the boot.img ive extracted just now

14. Transfer the patched boot.img from my phone to the adb folder in my pc

15. [Fastboot flash boot *patched boot.img*]

16. [Fastboot reboot]

And im done.

Note that i never install any dm-verity patch nor have i tried installing many custom rom on my phone prior.
[Xiaomi Poco X3 Pro] pl1992aw:
Someone uploaded a patched

miui global 12.0.6.0 magisk patched boot.img

Source:

https://xdaforums.com/t/how-to-root-poco-x3-pro-miui-v12-0-6-0-rjumixm-global.4268449/post-84958155

According to the date and the Magisk update, the Magisk this person use most likely is v22.1

As there's no complaint afterward when people seem to have use it, it might be a working patched boot.img

You can risk and try, but your decision to trust it or not.

There's a tool quite easy to use on PC, and I have use it to flash TWRP recovery, boot TWRP and flash patched boot.img. So it's easier to use and doesn't really need to always check if the code you are typing is correct or not.

XiaomiADBFastbootTools (Java)

https://github.com/Szaki/XiaomiADBFastbootTools

The only concern is whether you trust using this PC program or not. This tool is also listed in the INDEX thread. In virus total it's all clean.

Few things to rule out the issue:

1) Do you have microSD card in your device? In the past, some people have problems when having microSD in their devices to bootup or other issues. If you have microSD inserted, remove it to see if it quit the bootloop.

2) When you turn on adb debug in developer setting, it should have a pop up. There's an option like: Always allow from this computer. Did you have it checked? If you did not allow it/trust the device, you'll likely have issue when using fastboot and adb.

3) Use the latest adb platform-tools.

4) Reboot your PC. Sometimes there's problem with the PC, causing errors.
[Xiaomi Poco X3 Pro] Th3 Ant:
So yeah... finally fixed my Magisk issue

I've decided to completely start from scratch (again) and flashed MIUI Global (even tho my stock was EU) using recovery, then ArrowOS and used TWRP to flash Magisk 22.1 (yes, it's not latest).

It didn't bootloop this time so I've checked Magisk app and it showed that Magisk was installed. I've updated it from Magisk app (using direct install) and after reboot, everything was still working fine - no more bootloops etc.

Thanks everyone for helping - I probably should've done that at start when it didn't work but I was really tired setting everything every time after flashing...
[Xiaomi Poco X3 Pro] urbanman2004:
See how going back to the drawing board and starting over does wonders? Lol :LOL:. On a serious note, although I did initially implore you to do that multiple times in an effort to isolate the root cause of your issue, I am really glad that you were finally able to get things working. Enjoy your newly Magisk rooted Arrow OS flashed Poco X3 Pro :giggle:.
[Xiaomi Poco X3 Pro] Th3 Ant:
Yeah... I did that one time but it didn't fix it so I tried again and somehow it worked this time.

Maybe it was issue with EU MIUI... or maybe not.

Anyway - it works now. Just last question (hopefully) - any idea why JamesDSP makes ringtones sound distorted? Media sound works without any problems but ringtone and notification doesn't...

If I uninstall module, everything goes back to normal.

Should I try with V4A?
[Xiaomi Poco X3 Pro] urbanman2004:
Your inquiry is out of scope for the purposes of this guide. Maybe try hollering at the dev here.

I previously had an issue related to a call recording app I use that was causing my audio output from the speakers to sound distorted so I ended up troubleshooting the issue on my own till I successfully found the root cause of the issue as it pertains to this post here. Not sure if it could be somewhat related, but other than that, you're better off googling for a resolution.
[Xiaomi Poco X3 Pro] Skelos:
You have reason, man. I'm sorry. I heve to read with more brain. :-(

I have other doublt. You talk about of two commands:

but same file recovery.img is useful for recovery and boot? I expectacing two different files...
[Xiaomi Poco X3 Pro] pl1992aw:
What doubt do you have? Why expecting 2 different files?

fastboot flash recovery "recovery.img"

to overwrite the recovery

fastboot boot "recovery.img"

to boot the file eg. recovery

You might have mistaken with

fastboot flash boot "boot.img"
[Xiaomi Poco X3 Pro] Th3 Ant:
fastboot boot recovery.img

Means that it's gonna boot into recovery without "saving" - to save you have to include "flash" command (fastboot

flash

boot <image.img>)

This allows you to boot using some other image without actually writing it to that partition
[Xiaomi Poco X3 Pro] Skelos:
My dubt was about to do both command. I see in the Magisk webpage (https://topjohnwu.github.io/Magisk/install.html) where it is explicated as understable for dummies (like me ^_^ ):

So, if I got it right, if Magisk indicates Ramdisk yes I have to working with boot.img

fastboot boot ....

else with recovery

fastboot flash recovery ...

All is clear: Root checker basic shows device as rooted! Thanks to all guys.
[Xiaomi Poco X3 Pro] pl1992aw:
You can actually do both.

fastboot flash recovery ...

With this, the 3rd party recovery (eg. TWRP/OrangeFox) will overwrite the official recovery, and will stay inside the device.

fastboot boot ....

It will just boot the selected image file. After reboot/shutdown, it will vanish.

And in fact, our TWRP seems to do better when just boot inside RAM at the moment.
[Xiaomi Poco X3 Pro] marialigaya456:
is there any way that i can unlock, without the 160hrs+ waiting. or it's the only way. :P
[Xiaomi Poco X3 Pro] pl1992aw:
It's the only way at the moment. Unless someone found an exploit.
[Xiaomi Poco X3 Pro] kevinxjen:
Bro, what global rom did you flashed? I am having the same problem as yours.

Bootloop when flashing the magisk patched boot image. Regardless if I use 22.1 or 23.0.

What I've tried

1. Re-flash arrow Os

2. Flashed Magisk (22.1 and 23.0) zip

using TWRP but still bootloop

NOTE: When I installed Arrow OS, I was on MIUI Global 12.0.6

Thanks brother
[Xiaomi Poco X3 Pro] pl1992aw:
If you want to use Magisk, use 7th May version ArrowOS.

Just dirty flash the 7th May version and you can roll back.
[Xiaomi Poco X3 Pro] kevinxjen:
Oh i see. So no way I can use magisk on the latest build, right? Im on 16th May
[Xiaomi Poco X3 Pro] urbanman2004:
No way: please read
[Xiaomi Poco X3 Pro] arik100:
After doing this steps(i didn't install magisk via recovery), system doesn't boot and i see fastboot screen.

any ideas?

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
[Xiaomi Poco X3 Pro] pl1992aw:
Read this:

https://xdaforums.com/t/guide-unloc...root-xiaomi-poco-x3-pro.4267623/post-85037731
[Xiaomi Poco X3 Pro] arik100:
thanks for heads up.

i would have expected this to be at the front page not here..

1. do you have any idea if this will be solved at all? and when?

2. does other roms like PE and havoc have the same issue?

3. is downgrading to older version of arrowOS will solve this?
[Xiaomi Poco X3 Pro] pl1992aw:
This information is shown in Telegram group.

https://t.me/PocoX3ProUpdates

Not always the developer will update the front page.

They are fixing the issue.;)

1. No idea, no ETA. I don't really like to ask about issue solve date/time. It's like pushing them to do faster, are you done, are you done? Usually just stay with previous stable version and wait patiently.

2. No, this issue (about Magisk) is specific to this 16th May version of ArrowOS. I didn't use PE or havoc, but you can read if there's people complaining.

3. As I wrote, if you want to use Magisk, use 7th May version or earlier ones. (Download from ArrowOS official website in their archive)

With older version, you don't get the latest fix/feature shown in the change log.
[Xiaomi Poco X3 Pro] urbanman2004:
Aside from what good friend pl1992aw has already discussed, you do realize in the instructions of my guide, it is based on "

Arrow-v11.0-vayu-OFFICIAL-20210424-GAPPS.zip"

which was unaffected by the Magisk 'root' issue. Be sure to make note of the minor details next time.
[Xiaomi Poco X3 Pro] ksonschoen:
Thank you both for your help and thank you for your Guide,

I am currently stuck at the last thing, magisk flashing. I read what you typed and dirtyflashed the boot.img of the 7th may version of ArrowOS. Is that enough or do I need to boot the whole Zip from 7th may AOS?

Sadly it still gives me the fastboot loop which I can't get out of without not having magisk root.

I started with a rollback to MIUI 12.0.4 and am using TWRP unofficial by spartann. Does it depend on the recovery system?

Also somehow the optional decryption didn't work, i still can't mount data, or isn't that the purpose?

If it all doesn't work, do you think I should try with the ArrowOS Version you wrote your guide based on ?

Thank you.
[Xiaomi Poco X3 Pro] pl1992aw:
Dirty flash the whole 7th May version zip.

Flashing different version boot.img won't work between versions.

Use TWRP by Nebrassy

From here: https://xdaforums.com/t/recovery-unofficial-alpha-teamwin-recovery-project.4269551/

And also prepare Orangefox recovery in case some issue encountered.

You can find both in the INDEX thread.

TWRP by spartann cannot decrypt data partition. Use the one by Nebrassy.

"Format" "Data" after you flash ArrowOS zip.

You will need to type "yes" in TWRP for this step. If you did not do this, you are doing it wrong.

If all doesn't work, do a clean flash and start again.

Boot to fastboot and flash the Global stock MIUI 12.0.4.0 fastboot version, DO NOT lock the bootloader.
[Xiaomi Poco X3 Pro] urbanman2004:
You are welcome, but please stop performing misguided methods of flashing a 'questionary ROM' (for the lack of a better term) before starting to ask questions for assistance if you are not going to follow this guide step-by-step verbatim.
[Xiaomi Poco X3 Pro] arik100:
thanks for the informative answer. i really appreciate it.

1. yes i saw that in the update, it seems the telegram is much up -to date than the forum.

2. just wondering, why magisk getting broken in an update doesn't make the update get "faulty" status and not being released? it's like in my opinion it's one of the most important issues for custom ROMs.
[Xiaomi Poco X3 Pro] pl1992aw:
Magisk is not a must. Imagine if ALL your need from Magisk is achieved in a single custom Rom, what's the need of Magisk?

And do you know Magisk author got hired by Google? Magisk itself may be still continued, but Magiskhide or Safteynet bypass likely will not due to obvious security reasons.
[Xiaomi Poco X3 Pro] ldyte3:
Great guide! Did have the same issues as @Th3 Ant but it seems the 7th May release is the easy fix as 16th May release doesn't work with magisk/root.
[Xiaomi Poco X3 Pro] urbanman2004:
That is correct and thanks ;)
[Xiaomi Poco X3 Pro] LaikaTheBigRedDoggo:
Guide worked perfectly, used MIUI GLOBAL V12.0.6.0 build firmware & vendor and followed the instructions exactly, had my phone running Arrow OS in under 40 minutes (after the unlock period, of course!)

The ArrowOS camera app is kinda crummy, hopefully something new gets developed, unless anyone knows a way to replace it with a substantially better one?
[Xiaomi Poco X3 Pro] pl1992aw:
Try GCam here:

https://xdaforums.com/t/gcam-for-x3-pro.4256287/
[Xiaomi Poco X3 Pro] kcohmikeel:
anyone here can upload the May 7th GAPPS ROM zip file? it's not from arrowos.net
[Xiaomi Poco X3 Pro] 3rdtimethecharm:
1.04 GB file on MEGA

mega.nz
[Xiaomi Poco X3 Pro] urbanman2004:
Arrow-v11.0-vayu-OFFICIAL-20210507-GAPPS
[Xiaomi Poco X3 Pro] LaikaTheBigRedDoggo:
Hey, does the Project Black Recovery support backups? it doesnt seem to backup for me, just fails.

is this a encryption issue?

edit: I ended up switching to TWRP, which backed up flawlessly, however I dont really like it as much as I liked Project Black. I've had issues with TWRP on other devices in the past and Project Black gave me a very good first impression.
[Xiaomi Poco X3 Pro] arik100:
well, i need youtube vanced , and adaway mostly for starters. but rom creators doesn't usually change too much up front.

yes i know that, but for now it's working and i believe that someone else will take the lead instead.
[Xiaomi Poco X3 Pro] urbanman2004:
Instead of speculating just perform a dirty flash and rollback to v20210507. I've already uploaded a copy of it above.
[Xiaomi Poco X3 Pro] kcohmikeel:
thanks.. you're the life saver..
[Xiaomi Poco X3 Pro] kcohmikeel:
thanks. you're the life saver
[Xiaomi Poco X3 Pro] Soso2001:
Guys, does anybody have a Gapps package suggestion to install along Arrow OS Vanilla? Tried Mind the Gapps but setup crashed and stuck after several attempts so couldn't take log. I'm more of a micro-pico guy.
[Xiaomi Poco X3 Pro] Soso2001:
Duplicated
[Xiaomi Poco X3 Pro] KiiKeEp:
Any fix for the patched non booting boot.img?
[Xiaomi Poco X3 Pro] Hazara_pak:
So you didn't had to downgrade the miui first?
[Xiaomi Poco X3 Pro] lemastershox33:
I'm in V12.0.6.0 stock miui, Do I need to flash the stock again before flash arrowos?, or I just have to do a fomat data in twrp, flash arrow os and format again and reboot to system?

Sorry about the question, I'm new in custom roms
[Xiaomi Poco X3 Pro] pl1992aw:
First read the replies in this thread. There's other users who encountered issues, especially if you want to use Magisk with ArrowOS.

In general, if you're already on stock 12.0.6.0, it shouldn't be needed to flash stock again. The step you mention should be good to go.
[Xiaomi Poco X3 Pro] lemastershox33:
Thanks for the reply, I'm not a Magisk user. I just want to get away from miui. I've been reading the thread for some days and A'll try to flash arrow.
[Xiaomi Poco X3 Pro] ldyte3:
Np, hopefully the next OTA fixes the root issue. Hate having to dirty flash.

Also i would say the hardest part of the guide is waiting 168 hours for your phone to unlock, next time if you can add the bit it on how you skip that part i would give it a 10/10 for guides :giggle::p.
[Xiaomi Poco X3 Pro] peamvg:
I love this version, so with Magisk 23, it's TOP, I don't even need to patch the boot.

I wait for the OTA update fix, at least I can't do it, says it doesn't exist ...
[Xiaomi Poco X3 Pro] LaikaTheBigRedDoggo:
No, however I believe V12.0.6.0 GLOBAL is equivalent to V12.0.4.0 regular MIUI or something? I am no pro.

The ArrowOS forum post also suggests that it now supports V12.0.6.0 AND 12.0.4.0, so I believe it *should* be fine regardless, just like it did for me.
[Xiaomi Poco X3 Pro] rosnazli:
all work accept root.it not work.i try 10 times.still same not root successfull.i follow the step already
[Xiaomi Poco X3 Pro] stue1202:
thanks bro
[Xiaomi Poco X3 Pro] arkonoiid:
what 7th may version ? magisk only have v23 v22.1 etc

and v23 was 18days ago that make it the 11th may version ?

Releases · topjohnwu/Magisk

The Magic Mask for Android. Contribute to topjohnwu/Magisk development by creating an account on GitHub.

github.com
[Xiaomi Poco X3 Pro] arkonoiid:
deleted
[Xiaomi Poco X3 Pro] pl1992aw:
ArrowOS 7th May version
[Xiaomi Poco X3 Pro] arkonoiid:
the ArrowOS website doesn't provide the 7th may version, even when I click "archive"

hmm...
[Xiaomi Poco X3 Pro] pl1992aw:
https://xdaforums.com/t/guide-unloc...root-xiaomi-poco-x3-pro.4267623/post-85067755

ArrowOS website removed it. Use the Rom someone else had.
[Xiaomi Poco X3 Pro] arkonoiid:
thank you.

but sorry, I forgot to mention that I wanted the version without GAPPS
[Xiaomi Poco X3 Pro] arkonoiid:
would you have this 7th May version, without GAPPS ?

edit : found it. below.
[Xiaomi Poco X3 Pro] pl1992aw:
https://xdaforums.com/t/rom-official-arrowos-11-0-android-11-0-vayu-bhima.4267263/post-85066121
[Xiaomi Poco X3 Pro] pl1992aw:
Quote redirect from https://xdaforums.com/t/recovery-unofficial-alpha-teamwin-recovery-project.4269551/post-85120507

First, backup everything you want to keep (photos, sms, phone contact, whatsapp chat log, Chrome bookmark, notes, documents, login password, every settings, etc. ) on your PC and/or Google account before flashing a custom Rom because you will be doing something like "Reset to factory".

If you see "this device is locked" when boot up, login to your Xiaomi account first, proceed until you see Poco launcher. Then go into setting and log out your Xiaomi account in the device.

It looks stupid to login then logout, but it's intended that Xiaomi wants to confirm you own this phone, not a stolen by theft. The reason for "Find my device" function.

You will loose every personal stuff that you had since you did after unlocking the phone.

Make sure you have no password or finger print in MIUI, the 9 dot picture password is also not allowed.

I see you prepare the Rom of Pixel Plus UI Poco X3 Pro, so I assume you're going to use that Rom.

The info in that XDA thread of Pixel Plus UI Poco X3 is somewhat not enough.

Make sure your device is MIUI version is 12.0.4.0 or 12.0.6.0. Check it in the setting

Should look similar to this:

If not, it's better to download the official Rom of Global MIUI 12.0.6.0 from here:

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

Download the Stable Recovery 12.0.6.0 version if you are flashing through TWRP.

Put it together inside your phone with the Pixel Plus UI Rom, somewhere easy to find.

Boot to fastboot and use the

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

to boot into TWRP.

In TWRP, press install, choose MIUI rom zip, swipe to flash.

After it's done, press back, then press install, and then choose Pixel Plus rom zip, swipe to flash.

After it's done, press back twice until you see "wipe" option. Click it and press "Format Data".

Then you type in "yes". If you did not do this "type yes" step, you are doing it wrong.

After it's done, you can boot to system. Wait for about 10 minutes until you see the setting up page showing.
[Xiaomi Poco X3 Pro] disacrol:
I'm so glad you noticed that, I just took the developer description in the thread for granted. So I flashed the new MIUI, flashed the rom, formatted data and rebooted. it all worked.

And you got that right - developer said to "wipe everything except metadata" and not "format data". I wasn't understanding this right.

Thanks for all your help man. Will be owning you one for all the trouble you had.
[Xiaomi Poco X3 Pro] arkonoiid:
why people would want an unencrypted phone ?

isn't that less secure ?
[Xiaomi Poco X3 Pro] Skelos:
Today I notificed new update for Stock Rom MIUI V12.5.1.0.RJUEUXM (831MB).

My device is rootes and installed a lot of apps.

I woult know what happens if I install the update.

I have to re-root Poco X3 pro?

I have to reinstall and re-patch all?

Please, let me know.

Sk.
[Xiaomi Poco X3 Pro] Skelos:
I would to delete this message but I don't know how to do...
[Xiaomi Poco X3 Pro] pl1992aw:
Make sure you back up eveything in case something went wrong.

2 out comes:

1) will update to new version and have to re-root.

2) OTA will be blocked because of root. In this case, you have to un-root to update. After update done, then if you want root, re-patch and flash the modified patch boot.img of MIUI V12.5.1.0.RJUEUXM
[Xiaomi Poco X3 Pro] Skelos:
OK, thanks.

My case is the 2nd. Could you point me to a guide for un-root the Poco X3 Pro Global? This is the unique brick missing me to update...

Thanks in advance, guy.
[Xiaomi Poco X3 Pro] pl1992aw:
Go into Magisk and press uninstall. Choose restore to stock boot. After it's done, reboot your phone.

After reboot, check inside Magisk if it is uninstalled or not.

If it is uninstalled, then you can check for MIUI update.

If you plan to use Magisk after MIUI update, then it's better to download the MIUI update Rom zip and flash MIUI 12.5.1.0 because you will still need to patch Magisk boot.img, so you need to take boot.img from Rom zip.

OTA update sometimes can be troublesome.
[Xiaomi Poco X3 Pro] xelrix:
If your phone is bricked, i would suggest just straight flash 12.5 with the fastboot rom.
[Xiaomi Poco X3 Pro] joviwuxda:
Hi friend,

My Arrow OS is Arrow-v11.0-vayu-OFFICIAL-20210507-GAPPS

Could I use TWRP to install OTA updates to Arrow OS GAPPS build Date: 2021-05-16 ?

or

Could I just use phone to download the Arrow OS file then directly install it on phone ?

Would you recommend procedure to study how to use TWRP to install OTA updates ?

Thanks.
[Xiaomi Poco X3 Pro] xelrix:
Yes you can use twrp to dirty flash updates