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)
(16 intermediate revisions by one other user not shown)
Line 6: Line 6:
 
| imagecaption = Xiaomi Pad 5 Pro booting mainline with simple framebuffer.
 
| imagecaption = Xiaomi Pad 5 Pro booting mainline with simple framebuffer.
 
| releaseyear = 2021
 
| releaseyear = 2021
| originalsoftware = Android 11
+
| originalsoftware = MIUI 12.5 (Android 11)
 
| chipset = Qualcomm SM8250-AC Snapdragon 870 5G
 
| 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)
 
| cpu = Octa-core (1x3.2 GHz Kryo 585 & 3x2.42 GHz Kryo 585 & 4x1.80 GHz Kryo 585)
 
| 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 =  
 
| status_mobiledata = -
 
| status_mobiledata = -
 
| status_sms = -
 
| status_sms = -
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 ==
Back up super partiton(need root, recommand to use magisk[https://topjohnwu.github.io/Magisk/install.html]):
+
(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/Download/super.img
+
  dd if=/dev/block/by-name/super of=/sdcard/super.img
  adb pull /sdcard/Download/super.img
+
exit
 +
exit
 +
  adb pull /sdcard/super.img
  
 
Switch to slot b to boot and disable dtbo:
 
Switch to slot b to boot and disable dtbo:
Line 73: Line 75:
 
  fastboot erase dtbo
 
  fastboot erase dtbo
  
Clone the pmaports forks, and rebase with master:
+
[https://wiki.postmarketos.org/wiki/Installing_pmbootstrap Install pmbootstrap] and execute:
 
+
  pmbootstrap init
cd /path/to/your/pmaports (for example: /home/jianhua/.local/var/pmbootstrap/cache_git/pmaports)
 
git remote add myself https://gitlab.com/jianhua000/pmaports.git
 
  git fetch myself && git checkout xiaomi_elish
 
git rebase master
 
  
 
Compile the kernel and flash rootfs to the super partition:
 
Compile the kernel and flash rootfs to the super partition:
  
  pmbootstrap build linux-xiaomi-elish
+
  pmbootstrap build linux-postmarketos-qcom-sm8250
 
  pmbootstrap build device-xiaomi-elish
 
  pmbootstrap build device-xiaomi-elish
 
  pmbootstrap install
 
  pmbootstrap install
Line 104: Line 102:
 
* {{Kernel package|DEVICE_CODENAME}}
 
* {{Kernel package|DEVICE_CODENAME}}
 
-->
 
-->
 +
[http://deviceinfohw.ru/devices/item.php?item=560913 Device's hardware info]
 +
 
Initial merge request: {{MR|2871|pmaports}}
 
Initial merge request: {{MR|2871|pmaports}}
 
pmaports fork: [https://gitlab.com/jianhua000/pmaports]
 
pmaports fork: [https://gitlab.com/jianhua000/pmaports]

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
Camera Flash
Keyboard
Touchpad
USB-A
HDMI/DP
Ir TX
Unavailable
Ir RX
Stylus
Haptics
Ethernet
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]