In this guide, we will show you the steps to install the Pixel Experience ROM on Xiaomi 12/Pro/12X. The three new additions to the Xiaomi family beholds an impressive specs sheet and it’s probably the best that you could get in this price segment. However, the same might not be said about the software experience. Many users are of the opinion that the MIUI gives them a bloated UI feel with tons of unnecessary installed apps only making the matter worse.
If you also echo the same thought process, then you now have the opportunity to break free from the shackles of the Xiaomi ecosystem. You could now welcome abode the Pixel Experience ROM onto your Xiaomi 12/Pro/12 X. As is evident from its name, it beholds a clean stock OS experience and gives you just the right amount of Pixel goodies [including the beloved Material You theming design]. So without further ado, let’s check out the steps to install this ROM onto your device right away.
How to Install Pixel Experience on Xiaomi 12/Pro/12X
The below instructions are listed under separate sections for ease of understanding. Make sure to follow the same sequence as mentioned. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.
STEP 1: Install Android SDK
First and foremost, you will have to install the Android SDK Platform Tools on your PC. This is the official ADB and Fastboot binary provided by Google and is the only recommended one. So download it and then extract it to any convenient location on your PC. Doing so will give you the platform-tools folder, which will be used throughout this guide to install the Pixel Experience onto your Xiaomi 12/Pro/12X.
STEP 2: Download Pixel Experience for Xiaomi 12/Pro/12X
You may now grab hold of the Pixel Experience GSI ROM for your device from below. You may find three different versions of the ROM- the normal arm64-ab, the arm64-ab-slim, and the arm64-ab-vndklite. It is recommended that you download the normal variant, i.e. arm64-ab.
Download: Pixel Experience ROM
Once you have downloaded the ROM, extract it to the platform-tools folder on your PC. Likewise, rename it to system, so that the complete name becomes system.img
STEP 3: Unlock Bootloader on Xiaomi 12/Pro/12X
Next up, you will have to unlock the bootloader on your device. Do keep in mind that this process will wipe off all the data and might nullify the device’s warranty as well. So if that’s all well and good, then refer to our comprehensive guide on How to Unlock the Bootloader on any Xiaomi Device.
STEP 4: Extract Boot, Vendor_Boot and Vbmeta
- To begin with, download the Fastboot ROM for your device.
- Then extract it to any convenient location on your PC.
- Once extracted, copy the boot.img, vendor.img, and vbmeta.img files.
- Then transfer these files to the platform-tools folder on your PC.
STEP 5: Boot Xiaomi 12/Pro/12X to Fastboot Mode
- Connect your device to the PC via a USB cable. Make sure USB Debugging is enabled.
- Then head over to the platform-tools folder, type in CMD in the address bar, and hit Enter. This will launch the Command Prompt.
- Type in the following command in the CMD window to boot your device to Fastboot Mode
adb reboot bootloader
- Now type in the below command to verify the Fastboot Connection
fastboot devices
- If you get a device ID followed by the fastboot keyword, then the connection stands successful.
STEP 6: Change Slots and Boot to FastbootD Mode
We will now be setting Partition A as the active one and then flash the GSI file in that partition. [You could do so on Partition B as well, we have just selected Partition A for the sake of uniformity throughout the guide].
- Execute the below command and check the value next to (bootloader) current-slot.
fastboot getvar all
- If it is A, well and good. However, if it is B, then use the below command to switch to A:
fastboot set_active a
- Now execute the below command to boot your device to FastbootD Mode:
fastboot reboot fastboot
STEP 7: Install Pixel Experience on Xiaomi Mi 12/Pro/12X
- To begin with, make sure that the system.img [ROM file], vbmeta, vendor_boot, and boot.img files are present in the platform-tools folder.
- Then flash vbmeta and disable verity by executing the below command
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
- After that, flash the vendor_boot file using the following command:
fastboot flash vendor_boot vendor_boot.img
- Next up, erase the data on the system partition via the below command
fastboot erase system
- Now flash the Pixel Experience ROM using the below command
fastboot flash system system.img
- After that, factory reset your device via the following command
fastboot -w
- Next up, flash the boot file with the help of the following command
fastboot flash boot boot.img
- Finally, you may now reboot the device to the newly installed ROM:
fastboot reboot
That’s it. These were the steps to install the Pixel Experience ROM on Xiaomi 12/Pro/12X. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.
- How to Root Xiaomi 12/Pro/12X via Magisk Patched Boot
- Guide to Root Pixel Experience ROM via Magisk [without TWRP]
- How to Root Pixel Experience ROM via TWRP Recovery
- How to Install Pixel Experience ROM without TWRP
I’ve tried multiple times to download the rom from GitHub but it shows unauthorized access. Please help me out with it.
hola
realice todos los pasos y nunca paso de la imagen de inicio se quedo en el logo de xiaomi booteando , todos los paso fueron exitosos ninguno mostro error. espero me puedan ayudar si quiero la rom de pixel experience en mi dispositivo
Have a nice day. Please, give me an advice. I can’t install Pixel Experience ROM on Xiaomi12. After entering the command, this appears: C:\Windows\system32>fastboot –disable-verity –disable-verification flash vbmeta vbmeta.img
fastboot: unknown option — disable-verity
Hi Josef, could you try out this command and let me know the results:
fastboot flash vbmeta vbmeta.img –disable-verity –disable-verification
Note: It’s a double dash before both the “disable” keywords [the comment section isn’t able to format it that way]
Hello, hope you are well. You can help? When booting into FasbootD mode and entering the command, fastboot –disable-verity –disable-verification flash vbmeta vbmeta.img, I get the message: cannot install on locked device. However, if my device is unlocked, what can I do?
Good morning, I hope you are well. I have managed to install the rom, but the footprint does not work. Can it be made to work somehow?
is it have any bugs? what about battery endurnace?
fastboot erase system giving an error
Erasing ‘system’ FAILED (remote: ‘Check device console.’)
please help
I have error
platform-tools>fastboot erase system
Erasing ‘system’ FAILED (remote: ‘Check device console.’)
fastboot: error: Command failed
CUPID
Hello!
Thanks for the tutorial above!
Could you please tell me how do I update this once a new version is out, without formatting my data again?
Thanks!
hello, me it say :
Resizing ‘system_a’ FAILED (remote: ‘Not enough space to resize partition’)
fastboot: error: Command failed
what do i do