[Xiaomi Black Shark 3 Pro Guides, News, & Discussio] KM7:
Rooting Black Shark 3 / 3 Pro the Correct & Easy Way - BL Unlocking, TWRP & OTA Fix

Greetings fellow Black Shark users!

This guide is made for Black Shark 3 Pro Global version, but in theory it should work with any version if the bootloader is unlocked.

Warning: Before you start, backup your phone data as this would wipe your phone!

Do this at your own risk, I'm not responsible if you break your phone!

Prerequisites:

- Update your phone to the latest version possible.

- Download ADB, BOOTLOADER UNLOCK TOOL & TWRP Installer for Black Shark 3 Pro Global or Black Shark 3 Global.

On Phone:

1- Enable Developer Options. (Go to Settings, then About Phone, then Tap on Build number 7 times, then enter your password if needed)

2- Enable OEM unlocking. (Go to Settings, then Additional Settings, then Developer Options, then enable OEM unlocking option, then enter your password if needed)

3- Enable USB Debugging. (Go to Settings, then Additional Settings, then Developer Options, then enable USB Debugging option)

On PC:

4- Run BS3Pro_by_KM Installer. (Use the right version for your device. Right click and choose run as administrator. On driver installation popup click Next, then Install and Finish. Also Install dotNet3.5 if it ask for it. You must reboot your PC after the installation.)

5- Connect your Phone to PC using USB cable.

On Phone:

6- When Allow USB debugging popup appear, tap OK. (Tick Always allow from this computer)

On PC:

7- Make sure google drivers installed correctly and that your PC can see your Phone. (Android ADB Interface)

8- Open Command Prompt as administrator. (Type CMD in Windows search bar, then right click on Command Prompt ‘cmd’ and click on Run as administrator)

9- In CMD type:

cd c:\adb

Then press Enter key.

10- In CMD type:

adb devices

Then press Enter key. (If you can see a Device ID with ‘device’ written on its right, then continue to next step, if not then recheck your drivers. If you see a Device ID with ‘unauthorized’ written on its right, then go back to step 6)

11- In CMD type:

adb reboot edl

Then press Enter key. (To enter EDL mode)

On Phone:

12- You will only see a black screen on your phone. (This is normal, but your phone will be connected to your PC)

On PC:

13- Disconnect and reconnect your Phone to PC using USB cable then make sure the drivers are installed correctly and that your PC can see your Phone. (Qualcomm HS-USB QDLoader 9008)

14- Go to C:\adb and run MiFlash application, then click “refresh”. (You should see your device in the table now)

15- Click “select” and choose “C:\adb\Unlock” folder, then click “OK”, then click “flash”. (When it says done go to next step)

On Phone:

16- Disconnect the USB cable from your Phone, then hold power button and volume down button for 15 seconds until the phone reboots into Fastboot mode.

17- Make sure you see Fastboot mode on your phone screen. (With big green START on top)

On PC:

18- Reconnect your Phone to PC using USB cable then make sure google drivers installed correctly and that your PC can see your Phone. (Android Bootloader Interface)

19- In CMD type:

fastboot devices

Then press Enter key. (If you can see a Device ID, then continue to next step, if not then recheck your driver setup)

20- In CMD type:

fastboot flashing unlock

Then press Enter key. (This will unlock the bootloader, if you see an error make sure that your model is supported)

21- In CMD type:

fastboot erase userdata

Then press Enter key. (This will wipe userdata “Factory Reset”)

22- In CMD type:

fastboot getvar current-slot

Then press Enter key. (This will show you which slot you’re currently using, note it down)

23- In CMD type:

fastboot boot twrp.img

Then press Enter key. (This will boot TWRP, if it doesn’t work the first time, then force reboot your phone and repeat steps 16-21, you can skip step 20-22 if you already performed them)

On Phone:

24- Make sure TWRP is booted on your phone.

On PC:

25- In CMD type:

adb pull /dev/block/bootdevice/by-name/boot_a stock_boot_a.img

Then press Enter key. (This will copy the stock boot_a.img into your current directory)

26- In CMD type:

adb pull /dev/block/bootdevice/by-name/boot_b stock_boot_b.img

Then press Enter key. (This will copy the stock boot_b.img into your current directory)

On Phone:

27- In TWRP, go to Reboot, then system.

28- Download and install Magisk Manager from here. (Once the phone is booted correctly)

On PC:

29- In CMD type:

adb push stock_boot_X.img /sdcard/Download

Then press Enter key. Change ‘X’ to your current slot from step 22, mine was ‘stock_boot_a.img’. (This will copy your stock boot.img to your phone’s Downloads directory)

On Phone:

30- Run Magisk Manager, tap on the first INSTALL button on the top right, when it asks you to Install Magisk tap INSTALL, then tap on Select and Patch a File, and choose your stock_boot_X.img from ‘Download’ directory. When it’s done it will create a new file in your ‘Download’ directory named magisk_patch.img. (Don’t tap Reboot, just tap back and close the App)

On PC:

31- In CMD type:

adb pull /sdcard/Download/magisk_patched.img

Then press Enter key. (This will copy the patched boot.img to your current ‘adb’ directory)

32- In CMD type:

adb reboot bootloader

Then press Enter key. (To enter Fastboot mode)

33- In CMD type:

fastboot flash boot_x magisk_patched.img

Then press Enter key. Change ‘X’ to your current slot from step 22, mine was ‘boot_a’. (This will flash Magisk to your boot)

34- In CMD type:

fastboot reboot

Then press Enter key. (This will reboot your phone)

On Phone:

35- Run Magisk Manager, check if Magisk is installed and you have two green ticks on the left.

Congratulations! Now you have successfully rooted your Black Shark 3 Pro !

Fingerprint Calibration Tutorial (This is needed if the fingerprint sensor is stopped working)

1- Dial this from your phone

*#*#466349#*#*

This will take you to the fingerprint calibration page.

2- Tap on 售后校准, then you will be ask you to add the FLASH FLA.

3- Now tap START, and then immediately press your thumb on the fingerprint scanner area, keep you finger pressed until the step is completed.

4- Now it will ask you to add the black FLAT. (This means you have to wear a 'black' cloth on your thumb or a black glove before pressing your thumb on the fingerprint scanner, then hold your thumb on the fingerprint scanner area until the calibration is complete.)

5- When done successfully, reboot your device then try to add your fingerprints.

Full OTA Factory Image for Black Shark 3 Pro Global “MBU-H0" - Fix most phone's issues and restore it to factory state. This also fixes OTA updating issues.

1- Download this zip file MOBS2005121OS00MP1.

2- Rename km_update.zip to update.zip and move it to “ota” directory in your phone.

3- Dial this from your phone

*#*#1027#*#*

Then press "LOCAL UPDATE" and start updating your device. (You might need to do this twice)

4- Update your device to the latest version from the settings.

Special thanks to:

[MENTION=10993933]John Eveline[/MENTION] for the Bootloader Unlocking Tools.

[MENTION=7350669]wzsx150[/MENTION] for Black Shark 3 Pro TWRP.

[MENTION=4470081]topjohnwu[/MENTION] for Magisk.

[MENTION=4638083]Snoop05[/MENTION] for ADB Installer Code.

PS: I put a lot of time and effort in making this guide, if you want to copy it to somewhere else, then at least give credit!