Are you interested in REQUESTS? Save with our coupons on WHATSAPP o TELEGRAM!

Xiaomi Android One: guide to unlocking the TWRP bootloader and flash

Today we offer a simple guide, perhaps obvious, but not for all because too often we read in the comments on our Facebook page the difficulties and requests for help from users who are in confusion with the Android One terminals of the brand Xiaomi, ie A1, Mi A2 and Mi A2 Lite. Unlike the other smartphones offered by the Chinese house, the Android One devices do not require waiting times to unlock the bootloader due to the stock firmware of the terminals, and you do not even need to use the Mi Unlock tool, but you will simply need a PC Windows, ADB drivers and Fastboot installed (look for the drivers for your terminal on the Internet if you do not already have them) and a USB cable to connect your smartphone to your PC. It is recommended before starting any modding operation to make sure you have at least the 70% charge on the smartphone to be modded in order to avoid any problems.

ANDROID ONE


IMPORTANT: the procedure described presents complex operations which, if performed incorrectly, could damage your device. It is recommended to run only by users who have gained good experience in modding. Xiaomitoday.it staff will not be held responsible for any damage to the device. This procedure involves formatting the phone and the consequent loss of all data: it is recommended to make a backup.


Xiaomi Android One: guide to unlocking the TWRP bootloader and flash

Unblocking the bootloader

1

Go to "Settings -> My device"And tap 7 times on"Build number"(A confirmation pop-up will appear;

2

Go to "Settings -> Additional Settings -> Developer Options";

3

Put the check to "Debug USB"and "OEM unlocking";

4

Turn off the smartphone;

5

Restart it in Fastboot mode by holding down Power + Volume -;

6

Connect the smartphone to the PC;

7

In the "adb" folder, hold down the Shift key, click with the right mouse button and select "Open PowerShell window here"Or “Open a command window here”;

8

Verify that the smartphone is detected with the command "fastboot devices", following which an alphanumeric string should appear with the writing "fastboot";

9

At this point use the command "Fastboot oem unlock" to complete unlocking the bootloader.


ANDROID ONE

TWRP installation

It seems obvious to say, but the first step consists in downloading the TWRP recovery for your Android One Xiaomi terminal. You can search on the net or directly on the XDA Developers website. Once you have downloaded the TWRP custom recovery, move it to the ADB folder on your PC.

1

Turn off the smartphone;

2

Restart it in Fastboot mode by holding down Power + Volume -;

3

Connect the smartphone to the PC;

4

In the "adb" folder, hold down the Shift key, click with the right mouse button and select "Open PowerShell window here"Or “Open a command window here”;

5

Verify that the smartphone is detected with the command "fastboot devices", following which an alphanumeric string should appear with the writing "fastboot";

6

Use the command "Fastboot getvar current-slotto check which of the two A / B partitions is active, since the TWRP must be installed on the inactive one;

7

Assuming that it is the useful partition, write "fastboot flash boot_a -filename-.img"(PS: instead of -namefile- you should write the name of the TWRP to be installed);

8

Now use the command "Fastboot set_active a";

9

Press and hold the Volume+ key and simultaneously use the command “fastboot reboot"To restart in TWRP mode;

10

At the request "Keep System Read Only?" selected "Keep Read Only".

Emanuele Iafulla
Emanuele Iafulla

Nerd, Geek, Netizen, terms that do not belong to me. Simply myself, technology lover and provocative as Xiaomi does with his products. High quality at fair prices, a real provocation for the other most famous brands.

Subscribe
Notify
guest

2 Post comments
most voted
more new older
Inline feedback
View all comments
mario
mario
4 years ago

o meu nao tem a opção "USB Debugging" And "Desbloqueio OEM" alguem ajuda

fridars
fridars
5 years ago

when I use the command "fastboot getvar current-slot" it gives me: "getvar: current-slot failed (command write failed (no such file or directory))"
can someone help me?

XiaomiToday.it
Logo