Jump to content

Xiaomi 12 Lite 5G (xiaomi-taoyao)

From postmarketOS Wiki
Xiaomi 12 Lite 5G
Xiaomi 12 Lite 5G running gnome-mobile
Xiaomi 12 Lite 5G running gnome-mobile
Manufacturer Xiaomi
Name 12 Lite 5G
Codename xiaomi-taoyao
Model 2203129G
Released 2022
Type handset
Hardware
Chipset Qualcomm Snapdragon 778G+ (SM7325-AE)
CPU Octa-core (1x2.5 GHz Cortex-A78
3x2.4 GHz Cortex-A78
4x1.9 GHz Cortex-A55)
GPU Adreno 642L
Display 2400 x 1080 (120Hz 6.55" AMOLED)
Storage 128/256 GB
Memory 6/8 GB
Architecture aarch64
Software
Original software
The software and version the device was shipped with.
Android 12
Extended version
The most recent supported version from the manufacturer.
Android 14
FOSS bootloader no
postmarketOS
Pre-built images
Whether pre-built images are available here.
no
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
no
pmOS kernel
The kernel version that runs on the device's port.
6.17.0
Features
Flashing
It is possible to flash the device with pmbootstrap flasher.
Works
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Works
Battery
Charging and battery level reporting works
Works
Screen
Display works. Ideally with sleep mode and brightness control.
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Audio playback, microphone, headset and buttons.
Partial
Camera
Broken
Camera Flash
Broken
Connectivity
WiFi
Works
Bluetooth
Works
GPS
Broken
NFC
Near Field Communication
Broken
Modem
Calls
Works
SMS
Works
Mobile data
Works
Miscellaneous
USB OTG
USB On-The-Go or USB-C Role switching
Works
HDMI/DP
Video and audio output with HDMI or Display Port works.
Broken
Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Broken
Magnetometer
Sensor to measure magnetism
Works
Ambient Light
Works
Proximity
Broken
Hall Effect
Also known as flip cover sensor
Broken
Haptics
Broken
Barometer
Sensor to measure air pressure
Broken
Power Sensor
Sensor to monitor current, voltage and power. Not fuel gauge!
Broken

Contributors

Users owning this device

How to enter flash mode

  • Bootloader: Power on the device with both Volume Down and Power buttons.

How to unlock bootloader

Unlocking the bootloader is tricky on all Xiaomi devices, follow the official process here. You'll have to wait 1 week or even more.

Installation

Using pmbootstrap

Note Note: The device has not yet been merged into pmaports. Use manual installation.

Follow Installation/Using pmbootstrap. When asked for the device's vendor/codename, select xiaomi as the vendor and taoyao as the codename.

To flash the image to the device:

  • Enter flashing mode (see #How to enter flash mode)
  • Run pmbootstrap flasher flash_kernel to flash the kernel
  • Run pmbootstrap flasher flash_rootfs

See also