Difference between revisions of "Xiaomi Mi Pad 5 Pro (xiaomi-elish)"

From postmarketOS
Jump to navigation Jump to search
m (Update the support status of the device)
(9 intermediate revisions by one other user not shown)
Line 11: Line 11:
 
| gpu = Adreno 650
 
| gpu = Adreno 650
 
| storage = 128/256 GiB
 
| storage = 128/256 GiB
| display = 1600x2560 120HZ LCD
+
| display = 2560x1600 120HZ LCD
 
| memory = 6/8 GiB
 
| memory = 6/8 GiB
 
| architecture = aarch64
 
| architecture = aarch64
Line 17: Line 17:
 
| status_usbnet = Y
 
| status_usbnet = Y
 
| status_flashing = Y
 
| status_flashing = Y
| status_touch = <!-- Touch screen is working? You can also answer these questions with P for partially. -->
+
| status_touch = N<!-- Touch screen is working? You can also answer these questions with P for partially. -->
 
| status_screen = P
 
| status_screen = P
| status_wifi = <!-- Wireless network works? -->
+
| status_wifi = N<!-- Wireless network works? -->
 
| status_xwayland = <!-- Showing X11 applications in a Wayland compositor (Weston, KWin, ...) works? -->
 
| status_xwayland = <!-- Showing X11 applications in a Wayland compositor (Weston, KWin, ...) works? -->
 
| status_fde = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
 
| status_fde = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
 
| status_mainline = Y
 
| status_mainline = Y
 
| status_battery = P
 
| status_battery = P
| status_3d = <!-- Hardware accelerated 3D graphics (e.g. with freedreno) -->
+
| status_3d = Y
| status_accel = <!-- The sensor that measures proper acceleration works -->
+
| status_accel = Y<!-- The sensor that measures proper acceleration works -->
 
| status_audio = <!-- Using the device's speakers/headphone jack works -->
 
| status_audio = <!-- Using the device's speakers/headphone jack works -->
| status_bluetooth = <!-- It's possible to pair and use other devices via the bluetooth protocol -->
+
| status_bluetooth = N<!-- It's possible to pair and use other devices via the bluetooth protocol -->
 
| status_camera = <!-- Taking photos and videos works. -->
 
| status_camera = <!-- Taking photos and videos works. -->
 
| status_gps =  
 
| status_gps =  
Line 36: Line 36:
 
| status_otg = <!-- USB-OTG adapters work, e.g. to connect an USB flash drive to the device -->
 
| status_otg = <!-- USB-OTG adapters work, e.g. to connect an USB flash drive to the device -->
 
| status_nfc = -
 
| status_nfc = -
| status_irtx = <!-- Infrared (IR) port works -->
+
| status_irtx = -<!-- Infrared (IR) port works -->
 
| booting = yes <!-- The device is booting at all, can be yes/no *IMPORTANT* -->
 
| booting = yes <!-- The device is booting at all, can be yes/no *IMPORTANT* -->
  
Line 63: Line 63:
  
 
== Installation ==
 
== Installation ==
(Optional) Back up super partiton(need root, recommand to use [https://topjohnwu.github.io/Magisk/install.html magisk]):
+
(Optional) Backup super partiton(need root, recommand to use [https://topjohnwu.github.io/Magisk/install.html magisk]):
 
  adb shell
 
  adb shell
 
  su
 
  su
 
  dd if=/dev/block/by-name/super of=/sdcard/super.img
 
  dd if=/dev/block/by-name/super of=/sdcard/super.img
 +
exit
 +
exit
 
  adb pull /sdcard/super.img
 
  adb pull /sdcard/super.img
  

Revision as of 14:43, 20 June 2022

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 2560x1600 120HZ LCD
Storage 128/256 GiB
Memory 6/8 GiB
Architecture aarch64
Features
USB Networking
Works
Flashing
Works
Touchscreen
Broken
Display
Partial
WiFi
Broken
FDE
Mainline
Works
Battery
Partial
3D Acceleration
Works
Audio
Bluetooth
Broken
Camera
GPS
Mobile data
Unavailable
SMS
Unavailable
Calls
Unavailable
USB OTG
NFC
Unavailable
Sensors
Accelerometer
Works
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) Backup super partiton(need root, recommand to use magisk):

adb shell
su
dd if=/dev/block/by-name/super of=/sdcard/super.img
exit
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]