Xiaomi MI A2 Lite (xiaomi-daisy)

From postmarketOS
Jump to navigation Jump to search
Xiaomi MI A2 Lite
Xiaomi-daisy Booting
Xiaomi-daisy Booting
Manufacturer Xiaomi
Name MI A2 Lite
Codename xiaomi-daisy
Released 2018
Category testing
Original software Android 8.1
postmarketOS kernel 4.9.220
Hardware
Chipset Qualcomm MSM8953 Snapdragon 625
CPU 2 GHz 8 Core Cortex-A53
GPU Adreno 506
Display 1080 x 2280 IPS
Storage 32 GB
Memory 3/4 GB
Architecture aarch64
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
Partial
Xwayland
FDE
Mainline
Partial
Battery
Works
3D Acceleration
Accelerometer
Audio
Bluetooth
Camera
GPS
Mobile data
SMS
Calls
USB OTG
NFC



Contributors

  • Ash
  • Alikates

Users owning this device

  • Alikates

Installation

Fastboot Mode

First make sure to enable USB debugging in Android ([1]) Then with device powered off, hold the Volume Down and Power buttons simultaneously for a few seconds, until Fastboot Mode screen appears.

OEM Unlock

Get device into Fastboot Mode, plug in USB cable, then:

$ sudo fastboot oem unlock

When prompted on device, use Volume-Up/Down buttons to highlight choice, then Power button to select it. The Fastboot Mode screen will appear again, and a message saying that the device isn't secure will appear briefly.

Installation

First build the image:

$ pmbootstrap init
$ pmbootstrap install

Then in order to flash it put your device in fastboot mode, and plug it in USB. Then do:

$ pmbootstrap flasher flash_rootfs --partition userdata
$ sudo fastboot format system
$ pmbootstrap flasher flash_kernel

Mainline Kernel

Device tree and panel driver support added on msm8953-mainline ([2]). Flashing lk2nd is needed. (Need to make PR to support xiaomi-daisy). The device package also needs to be updated to use linux-postmarketos-qcom-msm8953 package for kernel.

Modem

Firmware loads and modem boots. It detects SIM card and can be unlocked and configured with qmicli. Need to test Ofono with patches for QRTR support.

Wifi

Works but it is very slow. Driver spams dmesg with errors about wcn36xx: WARNING Bad TX complete indication

GPU

Firmware loads and 2D acceleration works. Testing of 3D acceleration is needed.

See also