Xiaomi Mi Pad 5 Pro (xiaomi-elish)
![]() Xiaomi Pad 5 Pro running phosh ui with mainline kernel. | |
Manufacturer | Xiaomi |
---|---|
Name | Mi Pad 5 Pro |
Codename | xiaomi-elish |
Released | 2021 |
Type | tablet |
Hardware | |
Chipset | Qualcomm Snapdragon 870 (SM8250-AC) |
CPU | Octa-core (1x3.2 GHz Kryo 585 & 3x2.42 GHz Kryo 585 & 4x1.80 GHz Kryo 585) |
GPU | Adreno 650 |
Display | 2560x1600 120HZ IPS LCD |
Storage | 128/256 GiB |
Memory | 6/8 GiB |
Architecture | aarch64 |
Software | |
Original software | Android |
Original version | 11 (MIUI 12.5) |
Extended version | 13 (MIUI 14.0) |
postmarketOS | |
Category | testing |
Pre-built images | no |
Mainline | yes |
Flashing |
Works |
---|---|
USB Networking |
Works |
Internal storage |
No data |
SD card |
No data |
Battery |
Partial |
Screen |
Works |
Touchscreen |
Works |
Keyboard |
Partial |
Multimedia | |
3D Acceleration |
Works |
Audio |
Partial |
Camera |
No data |
Camera Flash |
No data |
Connectivity | |
WiFi |
Works |
Bluetooth |
Works |
GPS |
No data |
Miscellaneous | |
FDE |
No data |
USB OTG |
Works |
HDMI/DP |
No data |
Sensors | |
Accelerometer |
Broken |
Magnetometer |
No data |
Ambient Light |
No data |
Proximity |
No data |
Hall Effect |
No data |
Haptics |
No data |
Barometer |
No data |
Contributors
- Jianhua
Users owning this device
- CalcProgrammer1
- Jianhua (Notes: mainlining in progress)
How to enter flash mode
You have to press
+ to enter the bootloader.Backup
This section is Optional
Backup super partiton, either by using Magisk (need root) or without root using a recovery program such as TWRP or Orange Fox.
Method 1: Magisk
Use Magisk:
$ adb shell
$ su
# dd if=/dev/block/by-name/super of=/sdcard/super.img
# exit
$ exit
$ adb pull /sdcard/super.img
Method 2: Orange Fox Recovery Project
Use Orange Fox Recovery Project:
Download and rename "OrangeFox-23.07.04-Unofficial-elish.img" to "boot.img"
$ mv OrangeFox-23.07.04-Unofficial-elish.img boot.img
$ fastboot boot boot.img
$ adb shell
# dd if=/dev/block/by-name/super of=/sdcard/super.img
# exit
$ adb pull /sdcard/super.img
Installation
Install pmbootstrap and execute:
$ pmbootstrap init
$ pmbootstrap install
Note: pmbootstrap will ask you to select panel variant, check kernel command line
msm_drm.dsi_display0=qcom,mdss_dsi_k81_42_02_0a_dual_cphy_video is CSOT panel msm_drm.dsi_display0=qcom,mdss_dsi_k81_35_02_0b_dual_cphy_video is BOE panel
There are two ways to flash rootfs:
Before installing rootfs, please erase dtbo_b (dtbo_a reserved for android)
$ fastboot erase dtbo_b
1.Flash rootfs to the super partition:
$ pmbootstrap flasher flash_rootfs --partition super
$ pmbootstrap flasher flash_kernel --partition boot_b
$ fastboot set_active b
2.Use fastboot to flash rootfs to system_b partition (dual boot):
$ fastboot set_active a
$ fastboot reboot fastboot
$ pmbootstrap flasher flash_rootfs --partition system_b
$ pmbootstrap flasher flash_kernel --partition boot_b
$ fastboot reboot bootloader
$ fastboot set_active b
SSH into the device (Full instructions):
$ ssh user@172.16.42.1
Issues
keyboard
In mainline kernel, goio155 seems unavailable, which controls WN8031F(KEYBOARD SOC) to exit sleep mode. It causes keyboard disconnect after 6 seconds. Currently, there are no ways to fix it.
See also
Initial merge request: pmaports!2871 pmaports fork: [1]