Flashing Instructions

Before You Begin

Unlock your bootloader first. This guide assumes your device is already unlocked.

Formatting data is mandatory for a clean flash. Back up your files.

By "recovery files" we mean boot.img, dtbo.img, and vendor_boot.img.

You do not need to re-flash partition images (boot/dtbo/vendor_boot) to update the same ROM.

If super_empty.img fails to flash, you can typically skip it.

You can use any custom recovery to flash ROMs.

To install a custom kernel, sideload the kernel ZIP while flashing the ROM ZIP.

Step 1 Prepare Your Environment

Select your device/OS to see specific installation commands:

Windows PC Setup

1. Download and run the 15-second ADB & Fastboot Installer. Thanks to K3V1991.

2. Open the folder where you downloaded the ROM files.

3. Right-click an empty area inside the folder and choose "Open in terminal".

Always use Command Prompt. Do not use PowerShell, and do not run Command Prompt as Administrator.

Linux Setup

Open your terminal and install the Android tools.

For Ubuntu/Debian:

sudo apt install adb fastboot

For Fedora Linux:

sudo dnf install android-tools

For Arch Linux:

sudo pacman -S android-tools

Termux (Android to Android) [content yet to be updated]

On the host device, open Termux.

1. Set up storage and update packages:

termux-setup-storage && pkg update && pkg upgrade

2. Run the auto-installer script (credits: offici5l):

curl -sS https://raw.githubusercontent.com/offici5l/MiTool/67577f94e67a352b805cdc0047f25ab05573d987/install.sh | bash

Bugjaeger (GUI Method) [content yet to be updated]

1. Install Bugjaeger from the Play Store.

2. Enable OTG on the host device if available, then connect devices via OTG.

3. Navigate to the Fastboot (Lightning bolt) tab in the app.

For step 2, use the app's "Flash" button (blue floating action button) instead of typing commands.
Step 2 Flash Partitions

1. Reboot your Xiaomi Pad 6 into Fastboot Mode (hold Power + Volume Down while the device is off).

2. Connect it to your PC/host device.

3. Flash the required images:

fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash vendor_boot vendor_boot.img

4. Wipe the super partition (optional but recommended for a clean flash):

fastboot wipe-super super_empty.img

5. Reboot into recovery:

fastboot reboot recovery
Step 3 Sideload ROM & Format

1. On the tablet (now in Recovery mode), select Apply Update > Apply from ADB.

2. On your host device, sideload the ROM ZIP:

adb sideload rom_filename.zip
Note: Sideload might stop at ~47% or show values above 100%. Check the tablet screen; if it shows "Success" or "Step 2/2", the sideload completed.

3. (Optional) If the ROM is vanilla, reboot to recovery again and sideload GApps.

4. Format data:

5. Reboot system.

Common Errors

SPL Downgrade / Aborted

Flash the recovery from an older ROM build first, or ensure you are using the recovery provided with the ROM.

File extension is .bin

Some browsers rename .zip to .bin. Rename the file extension back to .zip.

Device not found

Windows: check Device Manager for driver issues. Linux/Termux: ensure you have permissions or that OTG is enabled.