[Xiaomi Poco F5 / Redmi Note 12 Turbo (China)] senerex:
[All-in-One] Poco F5 / Redmi Note 12 Turbo (marble): Unlock Bootloader, Root, Flash TWRP, Flash ROM

Dear Poco F5 / Redmi Note 12 Turbo user,

I'm not responsible if anything happens to your device. If you execute these AiO procedures properly then you shouldn't face any problems. Before you proceed please back up all your important data and make sure that your phone battery is charged >80%!

Edit 01: This procedure works also for HyperOS!!

A. Prerequisites:

1. Install ADB and Fastboot tools with drivers on Windows

How to do this please read here: https://xdaforums.com/t/official-to...vers-15-seconds-adb-installer-v1-4-3.2588979/

Restart your computer.

2. Enable "OEM unlocking" and "USB debugging" in your device

a. Enable Developer Options in: Settings/About Phone/MIUI version. Click on MIUI version 7 or 8 times

b. Now go to: Settings/Additional Settings/Developer Options and check "OEM unlocking" and "USB debugging"

3. Create a Mi Account

If you don’t have a Mi Account, then create one here:

https://account.xiaomi.com

4. Connect your Mi Account to your device

Go to: Settings/Additional Settings/Developer Options/Mi Unlock status and check "Add account and device"

B: Unlock the Bootloader

Unlocking the bootloader will erase all your data! So please back up your data before you unlock the bootloader!

1. You must enable "OEM unlocking" and "USB debugging" as per point A.2.

2. You must connect your Mi Account with your device as per point A.4.

3. Download Mi Unlock Tool here:

https://en.miui.com/unlock/index.html

4. Enter the fastboot mode by holding together "Volume Down + Power" and connect your device to your computer via USB cable (best would be the original cable)

5. Start the Mi Unlock Tool

6. Enter your eMail and your password of your Mi Account (the same account which you added to your device - Point A.4.)

7. Connect you device to your computer and start the unlock procedure

8. Follow the unlock tool instructions until the unlock procedure is finished

9. Reboot your device

C: Root Your MIUI ROM without TWRP

1. Your Bootloader must be unlocked (see Point B)

2. You must enable "OEM unlocking" and "USB debugging" as per point A.2.

3. Download the fastboot ROM (the same ROM currently installed in your device) from here: https://xiaomifirmwareupdater.com/miui/marble/ and unzip it.

4. Open the file and extract the “boot.img” on to your computer.

5. Transfer the “boot.img” from your computer on to your device

6. Download the latest Magisk manager App from here:

https://github.com/topjohnwu/Magisk

and install it on to your device.

7. Open Magisk App and click install, and then "select and patch a file" (of course you select “boot.img”)

8. Transfer the patched boot.img file from your device’s download folder on to the “ADB and Fastboot” folder in your computer. In the computer rename the patched file into: “patched_boot.img”

9. Switch off your device. Now enter the fastboot mode by holding together "Volume Down + Power" and connect your device to your computer

10. Go to “ADB and Fastboot” folder in your computer and open a command window inside that folder.

Enter the terminal command in command line: >>fastboot boot patched_boot.img<< and hit enter. Now the device will restart.

Attention your device is now only temporary rooted, so don’t restart your device just yet. Find Magisk app in your device, open it, click “install” and then check “direct install”, then press “let’s go”. Magisk will now install and make the root permanent. Now click “reboot” and the device will restart.

D: Install A Xiaomi.eu ROM

1. Your Bootloader must be unlocked (see Point B)

2. You must enable "OEM unlocking" and "USB debugging" as per point A.2.

3. Download and put onto your computer the Xiaomi.eu ROM (please select marble) from here: https://sourceforge.net/projects/xi...files/xiaomi.eu/MIUI-STABLE-RELEASES/MIUIv14/ and unzip it.

4. Switch off your device. Now enter the fastboot mode by holding together "Volume Down + Power" and connect your device to your computer.

5. In your computer (in the Xiaomi.eu ROM folder) please click the file: “windows_fastboot_first_install_with_data_firmat.bat" (if you’re using windows, or press the proper file if you’re using mac or linux) and computer will do the rest. The device will restart.

E: Root Your Xiaomi.eu ROM without TWRP

1. Your Bootloader must be unlocked (see Point B)

2. You must enable "OEM unlocking" and "USB debugging" as per point A.2.

3. Pls find in your computer the downloaded and unzipped hybrid Xiaomi.eu ROM from Point D.2.

4. Find the file “boot.img” and transfer it on to your device

5. Download the latest Magisk manager App from here:

https://github.com/topjohnwu/Magisk

and install it on to your device.

6. Open Magisk App and click install, and then "select and patch a file" (of course you select “boot.img”)

7. Transfer the patched “boot.img” file from your device’s download folder on to the “ADB and Fastboot” folder in your computer. In the computer rename the patched file into: “patched_boot.img”

8. Switch off your device. Now enter the fastboot mode by holding together "Volume Down + Power" and connect your device to your computer

9. Go to “ADB and Fastboot” folder in your computer and open a command window inside that folder.

Enter the terminal command in command line: >>fastboot boot patched_boot.img<< and hit enter. Now the device will restart.

Attention your device is now only temporary rooted, so don’t restart your device just yet. Find Magisk app in your device, open it, click “install” and then check “direct install”, then click “let’s go”. Magisk will now install and make the root permanent. Now click “reboot” and the device will restart.

F: Install TWRP

To be updated once the official TWRP for this device is available.

G: Install A Custom ROM

To be updated once official custom ROMs (Lineage etc.) for this device are available.

H: Return To MIUI

1. I'm assuming your bootloader is unlocked

2. You must enable "OEM unlocking" and "USB debugging" as per point A.2.

3. Download and put onto your computer the latest fastboot ROM from here: https://xiaomifirmwareupdater.com/miui/marble/ and unzip it.

4. Switch off your device. Now enter the fastboot mode by holding together "Volume Down + Power" and connect your device to your computer.

5. In your computer (in the folder where you have put your ROM) please click the file:

a. “flash_all.bat" (if you want to make a clean install but keep the bootloader unlocked).

b. “flash_all_except_storage" (if you want to make a clean install but keep your data and maintain the bootloader unlocked).

c. “flash_all_lock" (if you want to make a clean install and lock the bootloader).

In all three cases (a., b., c.) when flashing is finished, restart your device.

If my guide helped you, please click "thanks" and enjoy your phone.