How to Install MIUI 12 on Any Xiaomi Device

Must read

How to disable and delete Samsung Pay from your Galaxy phone

When it comes to paying conveniently, Samsung Pay makes using your phone as a bank card an easy process; however, there may come...

Playing Xbox Series X games makes it hard to go back to the Xbox One

TechRadar has had hands-on time with a not-final version of the Xbox Series X as part of the Xbox Series X preview program.It's...

Should I buy an SSD for my PS4 or PS4 Pro?

Wondering whether you should buy an SSD for your PS4 or PS4 Pro? Then you've landed on the right page. Solid-state storage is...

Facebook is banning some Oculus players who use more than one headset

Source: Nick Sutrich / Android Central In a shocking move, Facebook's Oculus Support team has confirmed that users with multiple Oculus headsets may not...
Bhawani Singhhttps://techmepro.com
I am a blogger who believes in delivering latest tech news from around the world to my viewers.

Xiaomi recently announced MIUI 12 and subsequently released the first closed beta for several devices. As it’s with MIUI, closed betas are generally released in China first and distributed to the rest of the world later. In such a scenario, Xiaomi users from across the globe are unable to experience the new MIUI 12 build. Nevertheless, we managed to install MIUI 12 on our Redmi K20 through TWRP. So, if you are also looking for a way to install MIUI 12 on your Xiaomi device then you have landed at the right place. In this article, we take you through the complete installation process of MIUI 12 with step-by-step instructions. Now, without losing any moment, let’s jump to the guide and learn how to install MIUI 12.

Requirements

1. First and foremost, you need an unlocked bootloader. If you have not done that yet then you can try this method to instantly unlock the bootloader. Sign-in with an old Mi account that you have used for unlocking bootloader in the past. I tried this method on my Redmi K20 and the bootloader was immediately unlocked without any waiting time. Apart from that, keep in mind, unlocking the bootloader will completely erase your device so back up all your files and folders.

2. Secondly, you need to set up ADB on your computer.

3. Next, download TWRP from the official website for your particular device. You can also look for the latest TWRP build from XDA forums for your Xiaomi device.

3. Finally, download the MIUI 12 Recovery ROM from the below section.

Download MIUI 12 Recovery ROM

Make Chinese MIUI 12 ROM Compatible with Indian Variants [Only For K20 Pro, K20 and Poco X2]

For some devices launched in India, the internals are almost similar between Chinese and Indian variants, but there is a difference in codenames. For example, K20 Pro is codenamed as raphael in China and raphaelin in India. Similarly, K20 is codenamed as davinci in China and davinciin in India. Finally, Poco X2 which is actually a rebranded Redmi K30 is codenamed as phoenix in China and phoenixin in India.

As we can see, in is appended in all the Indian codenames. So all we need to do is, just add in at the end of the codename and you will be all set. Thereafter, the Chinese MIUI 12 build will become compatible with Indian variants. As a result, you won’t face ‘Error 7’ on TWRP while installing MIUI 12. Here is how you can do it.


1. Download the MIUI 12 ROM for your device (K20 Pro, K20, or Poco X2) from the above section. Make sure to download the file on your computer.

2. After that, install WinRAR (Free) on your computer, in case you don’t have it. Next, right-click on the MIUI 12 ROM and choose “Extract to miui..”.

Install MIUI 12 - 1

3. After the extraction is complete, open the extracted folder and navigate to META-INF -> com -> google -> android. Here, right-click on “updater-script” and open with “Notepad”.

Install MIUI 12- 2

4. In the very first line, add in at the end of the codename. For example, here I have changed davinci to davinciin.

Install MIUI 12 3

5. Now, click on “File” and save it. Finally, close the text file.

Install MIUI 12 - 4

6. Next, move to the parent folder and select all the files and folders. After that, right-click on the selection and select “Add to archive”.

Install MIUI 12 - 5

7. Here, choose “ZIP” as your Archive format and click on the “OK” button.

Install MIUI 12 - 6

8. In a few minutes, a new ZIP file will be created in the same parent folder. Now, this is your updated MIUI 12 build and you can transfer it to your smartphone for further installation.

Install MIUI 12 - 7

Install MIUI 12 on Any Xiaomi Device

I am assuming that you have already downloaded the MIUI 12 ROM, TWRP and have unlocked the bootloader. Also, make sure to back up all your personal files and folders as this process will wipe the whole device.

1. First of all, transfer the MIUI 12 ROM to your Xiaomi device, in case you have downloaded it on your computer.

2. After that, connect your device to the computer and fire up ADB. Next, execute the below command to boot your device into the Fastboot mode.

adb reboot bootloader
Install MIUI 12 - 8

3. Once you are into the Fastboot mode, run fastboot devices to check the connection. If it returns a serial number then your device is successfully connected to the computer.

Install MIUI 12 - 9

4. Now, run the below command to install TWRP. Make sure to rename the TWRP file to recovery and put it in the same ADB folder.

fastboot flash recovery recovery.img
Install MIUI 12 -10

5. After installing TWRP, disconnect your device from the computer. Now, press and hold Volume Up and Power buttons at once. Once the device reboots and shows Mi/Redmi/Poco logo, release the buttons. You will now directly boot into TWRP.

Install MIUI 12 -11

6. Now go to Wipe -> Advanced Wipe and select Dalvik, Cache, System, Data, and Vendor. Make sure to not touch ‘Internal Storage’ as it stores the MIUI 12 ROM file. Next, swipe to wipe.

Install MIUI 12 - 12

7. Having done that, move to “Install” and select the MIUI 12 ROM file and swipe to install.

Install MIUI 12 - 13

8. After the installation, again go to “Wipe” and tap on “Format Data”. Now, type yes and it will completely erase the device. This step is needed to get out of the encryption loop.

Install MIUI 12 - 14

9. Finally, tap on “Reboot System” and you will boot straight into MIUI 12. If TWRP throws ‘No OS installed’ error, do not worry. Just reboot the system anyway and you will boot into MIUI 12.

Install MIUI 12 - 15

More articles

Leave a Reply

Subscribe to our newsletter

To be updated with all the latest news, offers and special announcements.

- Advertisement -

Latest article

How do you put your phone in your pocket?

We already know which pocket most of our readers put their smartphone in, but based on a rather heated discussion at the Android...

Samsung Galaxy S21 Series Colour Options Tipped, Phones Said to Be Produced in Brazil, Indonesia, Korea, Vietnam

Samsung Galaxy S21 series (not the official name) colours have been allegedly leaked, along with the production countries. The information was shared by a...

Microsoft Is Bringing a Skype Meet Now Button to Your Windows 10 Taskbar for Quick Video Calls

Microsoft is bringing a “Meet Now” icon to the taskbar of the latest Windows 10 version to let users quickly set up a...

Latest scientific findings on covid-19

The following is a roundup of some of the latest scientific studies on the novel coronavirus and efforts to find treatments...
- Advertisement -