Xiaomi Mi Pad 5 Pro (xiaomi-elish)

From postmarketOS
Revision as of 13:03, 27 January 2022 by Jianhua (talk | contribs)
Jump to navigation Jump to search
Xiaomi Mi Pad 5 Pro
Xiaomi Pad 5 Pro booting mainline with simple framebuffer.
Xiaomi Pad 5 Pro booting mainline with simple framebuffer.
Manufacturer Xiaomi
Name Mi Pad 5 Pro
Codename xiaomi-elish
Released 2021
Category testing
Original software MIUI 12.5 (Android 11)
Hardware
Chipset Qualcomm SM8250-AC Snapdragon 870 5G
CPU Octa-core (1x3.2 GHz Kryo 585 & 3x2.42 GHz Kryo 585 & 4x1.80 GHz Kryo 585)
GPU Adreno 650
Display 1600x2560 120HZ LCD
Storage 128/256 GiB
Memory 6/8 GiB
Architecture aarch64
Features
USB Networking
Works
Flashing
Works
Touchscreen
Broken
Display
WiFi
FDE
Mainline
Works
Battery
Partial
3D Acceleration
Audio
Bluetooth
Camera
GPS
Mobile data
Unavailable
SMS
Unavailable
Calls
Unavailable
USB OTG
NFC
Unavailable
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Barometer
Power Sensor
Misc
Keyboard
Touchpad
USB-A
HDMI/DP
Ir TX
Unavailable
TrustZone
FOSS bootloader



Contributors

  • Jianhua

Users owning this device

  • Jianhua (Notes: mainlining in progress)


How to enter flash mode

You have to press Power + Volume Down to enter the bootloader.

Installation

(Optional) Back up super partiton(need root, recommand to use magisk):

adb shell
su
dd if=/dev/block/by-name/super of=/sdcard/super.img
exit
adb pull /sdcard/super.img

Switch to slot b to boot and disable dtbo:

fastboot set_active b
fastboot erase dtbo

Install pmbootstrap and execute:

pmbootstrap init

Compile the kernel and flash rootfs to the super partition:

pmbootstrap build linux-postmarketos-qcom-sm8250
pmbootstrap build device-xiaomi-elish
pmbootstrap install
pmbootstrap flasher flash_rootfs --partition super
pmbootstrap flasher flash_kernel

SSH into the device (Full instructions):

ssh user@172.16.42.1

See also

Device's hardware info

Initial merge request: pmaports!2871 pmaports fork: [1]