Xiaomi Mi 8 Lite (xiaomi-platina)

From postmarketOS Wiki
Xiaomi Mi 8 Lite
Xiaomi Mi 8 Lite
Xiaomi Mi 8 Lite
Manufacturer Xiaomi
Name Mi 8 Lite
Codename xiaomi-platina
Released 2018
Type handset
Hardware
Chipset Qualcomm Snapdragon 660 (SDM660)
CPU 4x2.2 GHz Kryo 260 Gold + 4x1.8 GHz Kryo 260 Silver
GPU Adreno 512
Display 1080 x 2280
Storage 64/128GB
Memory 4/6GB
Architecture aarch64
Software
Original software Android (MIUI)
Original version 8.1
postmarketOS
Category testing
Pre-built images no
Mainline partial
postmarketOS kernel 4.4.296
Features
Flashing
Works
USB Networking
Works
Internal storage
SD card
Battery
Works
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Broken
Audio
Broken
Camera
Broken
Camera Flash
Connectivity
WiFi
Broken
Bluetooth
Broken
GPS
Broken
Modem
Calls
Broken
SMS
Broken
Mobile data
Broken
Miscellaneous
FDE
USB OTG
Works
HDMI/DP
Sensors
Accelerometer
Broken
Magnetometer
Ambient Light
Proximity
Hall Effect
Haptics
Barometer


Contributors

  • MollySophia

Users owning this device


How to enter flash mode

Bootloader Unlocking

Like other Xiaomi devices, the user will have to acquire the bootloader unlock key: https://en.miui.com/unlock

The device will not unlock if the device isn't 7 days old (from the time when your device connects to internet and powered on, and linked with Mi Account)

Recovery mode

  • Turn the device off (or restart also works)
  • Hold Volume Up and Power button
  • Once you feel vibration and phone turns on, release Power button
  • Keep holding Volume Up until you get to recovery.

Flashing (Download, Fastboot) mode

  • Same as recovery, but this time hold the Volume Down and Power keys.

Installation

  • Install pmbootstrap first on your PC
  • zap & reinit pmbootstrap (pmbootstrap -y zap ; pmbootstrap init), choose xiaomi-platina as a device
  • proceed with installation as usual: reboot device to fastboot mode, then:
pmbootstrap install
pmbootstrap flasher flash_kernel
pmbootstrap flasher flash_rootfs
pmbootstrap flasher flash_vbmeta

And then

fastboot reboot

See also

pmaports!2837 Initial merge request