Jump to content

Xiaomi Pad 5 (xiaomi-nabu)

From postmarketOS Wiki
Xiaomi Pad 5
Xiaomi Pad 5 (nabu)
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 10
Extended version 13 (MIUI 13)
postmarketOS
Category testing
Pre-built images no
Mainline yes
postmarketOS kernel 6.13.0
Features
Flashing
Works
USB Networking
Works
Internal storage
Partial
Battery
Partial
Screen
Works
Touchscreen
Works
Keyboard
Works
Stylus
Works
Multimedia
3D Acceleration
Works
Audio
Partial
Camera
Broken
Camera Flash
Works
Connectivity
WiFi
Works
Bluetooth
Works
Miscellaneous
FDE
No data
USB OTG
Works
Sensors
Accelerometer
Broken
Magnetometer
Works
Ambient Light
No data
Hall Effect
Works


Contributors

  • Map220v
  • Vio :D
  • Pan Ortiz
  • Marc Serdeliuk

Users owning this device

  • 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)


KNOWN ISSUES

Warning 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
  • If you install GNOME Mobile, it will use the desktop mode, bringing some issues like the screen not turning on after turning it off, don't worry, this is a software bug and it is fixed by using Force Phone Mode
  • 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

How to enter flash mode

Fastboot

  • Shutdown the device completely.
  • Hold the Volume Down and Power button simultaneously, until the "FASTBOOT" text appears.

Installation

With pmbootsrap

Warning WARNING: This will erase your existing data on the device.
Hint 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 WARNING: This will erase your existing data on the device.
Hint You can download Fastboot from Fastboot
Notice 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:
Note 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
Note 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

See also