Xiaomi Pad 5 (xiaomi-nabu)
Appearance
![]() Xiaomi Pad 5 (nabu) | |
Manufacturer | Xiaomi |
---|---|
Name | Pad 5 |
Codename | xiaomi-nabu |
Released | 2021 |
Type | tablet |
Hardware | |
Chipset | Qualcomm Snapdragon 860 (SM8150-AC) |
CPU |
Octa-core (1x2.96 GHz Kryo 485 Gold 3x2.42 GHz Kryo 485 Gold 4x1.78 GHz Kryo 485 Silver) |
GPU | Adreno 640 |
Display | 1600 x 2560 IPS LCD |
Storage | 128GB / 256GB UFS 3.1 |
Memory | 6GB |
Architecture | aarch64 |
Software | |
Original software | Android |
Original version The version the device was shipped with. |
10 |
Extended version The most recent supported version from the manufacturer. |
13 (MIUI 13) |
postmarketOS | |
Category | testing |
Pre-built images Whether pre-built images are available here. |
no |
Mainline Instead of a Linux kernel fork, it is possible to run (Close to) Mainline. |
yes |
pmOS kernel The kernel version that runs on the device's port. |
6.13.0 |
Flashing It is possible to flash the device with pmbootstrap flasher . |
Works
|
---|---|
USB Networking After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system). |
Works
|
Internal storage eMMC, SD cards, UFS, ... |
Partial
|
Battery Charging and battery level reporting works |
Partial
|
Screen Display works. Ideally with sleep mode and brightness control. |
Works
|
Touchscreen |
Works
|
Keyboard Build in physical keyboard |
Works
|
Stylus |
Works
|
Multimedia | |
3D Acceleration |
Works
|
Audio Audio playback, microphone, headset and buttons. |
Partial
|
Camera |
Broken
|
Camera Flash |
Works
|
Connectivity | |
WiFi |
Works
|
Bluetooth |
Works
|
Miscellaneous | |
FDE Full disk encryption and unlocking with unl0kr. |
Untested
|
USB OTG USB On-The-Go or USB-C Role switching |
Works
|
Sensors | |
Accelerometer Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile |
Broken
|
Magnetometer Sensor to measure magnetism |
Works
|
Ambient Light |
Untested
|
Hall Effect Also known as flip cover sensor |
Works
|
Contributors
- Map220v
- Vio :D
- Pan Ortiz
- Marc Serdeliuk
Users owning this device
- AskorbinovayaKislota (Notes: 6/256, huaxing panel, tripleboot Crdroid (Android 13) + Windows 11 + PostmarketOS, plus i have precision pen 2 for it)
- Fireman112 (Notes: Daily driver, locked bootloader)
- FlashTeens (Notes: Treble boot Windows,Android and Linux)
- Latenightdef (Notes: Running stock MIUI with unlocked bootloader for handwritten uni lectures)
- Lepotototor (Notes: Use as secondary little laptop. Use with uefi and dualbooting pmos and Arch)
- Russanandres (Notes: Some android 14 rom)
- Serdeliuk (Notes: Triple boot: Android, Windows 11, PostmarketOS)
- Thedanilfez (Notes: PostmarketOS edge, phosh)
- Vincele (Notes: MIUI, daily driver, unlocked)
- ZBookCMD (Notes: Dualboot Windows 11 & Arch Linux ARM)
KNOWN ISSUES
WARNING: Please read them all before installing. |
- If you plan to dualboot, please use slot_a to install postmarketOS and slot_b to use android, the GPU firmware seems to be able to only load on slot_a
- There are some issues with the ufs crashing for apparently not reason, this seems to be common on samsung ufs (check which ufs model you have with:
$ cat /sys/class/block/*/device/model
- The top right speaker is not working
- Try to avoid using qbootctl to change slots, this is known to be problematic at least on other devices, it can soft-brick your tablet (it is fixable, but please avoid it D:)
- The sound quality is not great yet, so please do not use the speakers at full volume
REQUIREMENTS
- Unlocked bootloader
- Install postmarketOS on the slot_a
- USB C cable
- Minimum Knowledge of how a PC works
How to enter flash mode
Fastboot
- Shutdown the device completely.
- Hold the and button simultaneously, until the "FASTBOOT" text appears.
Installation
With pmbootsrap
WARNING: This will erase your existing data on the device. |
To install pmbootstrap, follow pmbootstrap Wiki |
- On pmboostrap init, choose xiaomi nabu, it is important to use edge, as this is the only branch where nabu is at the moment
- After selecting your UI and all your cute stuff, do:
$ pmbootstrap install
- Connect the tablet in fastboot mode to your pc
- Flash with:
$ pmbootstrap chroot
$ fastboot --set-active=a
$ fastboot erase dtbo
$ exit
$ pmbootstrap flasher flash_rootfs
$ pmbootstrap flasher flash_kernel
$ pmbootstrap chroot fastboot reboot
- And that's it :D, if you find any issues, please report them at pmaports issues
Premade images with fastboot
WARNING: This will erase your existing data on the device. |
You can download Fastboot from Fastboot |
![]() |
Since 17 of march of 2025, we have premade Xiaomi Nabu images :D you can download them on Premade Xiaomi Nabu images |
- Extract the files xz you downloaded, you can do it with peazip or with:
The file names change each week, so change the file name to the one you downloaded. |
$ xz -d 20250317-0353-postmarketOS-edge-gnome-mobile-3-xiaomi-nabu-boot.img.xz
$ xz -d 20250317-0353-postmarketOS-edge-gnome-mobile-3-xiaomi-nabu.img.xz
- Connect the tablet in fastboot mode to your pc
- Flash with:
The file names change each week, so change the file name to the one you extracted. |
$ fastboot --set-active=a
$ fastboot erase dtbo
$ fastboot flash boot 20250317-0353-postmarketOS-edge-gnome-mobile-3-xiaomi-nabu-boot.img
$ fastboot flash userdata 20250317-0353-postmarketOS-edge-gnome-mobile-3-xiaomi-nabu
$ fastboot reboot
- And that's it :D, if you find any issues, please report them at pmaports issues
Gallery
-
Xiaomi Pad 5 with working Wi-Fi
-
Xiaomi Pad 5 with KDE Plasma