Xiaomi Mi A2 Lite (xiaomi-daisy)
|Name||Mi A2 Lite|
|Chipset||Qualcomm Snapdragon 625 (MSM8953)|
|CPU||2 GHz 8 Core Cortex-A53|
|Display||1080 x 2280 IPS|
This device is also known as Xiaomi Redmi 6 Pro (sakura). The only difference is that sakura has MIUI preinstalled instead of stock Android One.
Users owning this device
First make sure to enable USB debugging in Android () Then with device powered off, hold the and buttons simultaneously for a few seconds, until Fastboot Mode screen appears.
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.
Build the image
$ pmbootstrap init $ pmbootstrap install
In order to use the daisy, installing lk2nd is needed. The package
lk2nd-msm8953 provides a prebuilt version ready to flash to the device.
To use it, add it in the init step or instead of running
pmbootstrap install, add the package like this:
pmbootstrap install --add lk2nd-msm8953
Then put the device in fastboot mode and run:
$ pmbootstrap flasher flash_lk2nd
Then reboot the device and press the
START in green at the top left corner of the screen.
Install the image
To proceed with the installation to internal storage of pmOS, plug the device to the computer with an USB cable and run:
$ pmbootstrap flasher flash_rootfs --partition userdata $ sudo fastboot format system
|If you want to install pmOS to an SD card instead of internal storage, you need to add
I.e. (using lk2nd):
To use it select mainline kernel when running
Flashing lk2nd is needed. ().
|Modem||Partial||ModemManager needs to see a mobile data device, so IPA support is half-needed for calls and SMS to work. There's partial support for it in a dev branch, the driver probes and configures everything, but mobile data still doesn't work.|
|Sensors||Partial||Working with i2c-gpio from here. WIP SSC driver here.|
|Audio||Works||Everything works. Speaker works since version 6.4.7. Needs alsa UCM config from this package.|
|Touchscreen||Partial||Only Focaltech models supported. Models with Goodix GT917D chip not working yet.|
|Charger||Works||Driver added in 6.1|
|Panel||Partial||Only supported hx8933, ili8707 and otm1911 models (not sure if there are any other panels)|
Firmware loads and modem boots.
It detects SIM card and can be unlocked and configured with qmicli.
Because audio needs more work i couldn't test audio quality on calls but with q6voiced it should work.
|Mobile data is not working in kernel version 5.15 and later. There's an ongoing effort to upstream the driver needed for mobile data to work. A testing branch can be found here.|Mobile data works now.
To configure the mobile network settings, use NetworkManger (mobile network menu on phosh settings) so it sets up the network interface and IP routing.
After that, two new network interfaces should appear. The rmnet one is the connection to the modem, and the other one is virtual and the one that is used to transmit mobile data.
|1: Tx, 2: GND, 3: EDL test-points|