If you want to relock your bootloader you'll need your partition table to be stock.
Warning
All your data will be erased! Back up now if needed.
If your last boot was Windows, Switch to Android first before starting the uninstallation process
- Boot your NABU into fastboot mode by holding down the
volume down
button while rebooting with a USB cable connected - Or, if you have USB debugging enabled, run the below command while booted into Android.
adb reboot bootloader
Note
Method 1 - Uninstall using adb shell restore
Open a CMD window inside the platform-tools folder, then (while your tablet is in fastboot mode) run
fastboot boot path\to\recovery.img
[!Warning] This will wipe your Android files. Backup first if needed.
adb shell restore
adb reboot
Method 2 - Uninstall in fastboot
Replace
path\to\gpt_both0.bin
with the path to the gpt_both0.bin file.
fastboot flash partition:0 path\to\gpt_both0.bin
To avoid a bootloop and restore FS size
fastboot -w
fastboot reboot
Method 3 - Uninstall using "Nabu Fastboot Tool"
A
cable
to connect your
Xiaomi Pad 5
to your
other device
`
Any other device (Android, Windows, Mac or Linux)
- Open the Nabu Fastboot Tool in the browser of any device.
- Click on the
Connect Device Fastboot
button. - Select
Android
from the list that appears andallow
permissions.
- Scroll down to the
Format/wipe make Partition Stock
section. - In the input box, type
format
. - Finally, click the
Format/Wipe
button and pressOK
when a warning popup appears. - Once the formatting completes, a success popup will appear. Click
OK
to dismiss the popup. - Scroll up and click on the
Reboot Device
button to restart your device.
Note
If your device rebooted into recovery after uninstalling Windows, perform the following actions:
- Select Wipe Data/Factory reset
- Wipe All Data
- After Data is wiped successfully, Click Back To Main Menu
- Click Reboot
- Reboot to System