Xiaomi Mi A2 Lite (xiaomi-daisy)
|Name||Mi A2 Lite|
|Original software||Android 8.1|
|Chipset||Qualcomm Snapdragon 625 (MSM8953)|
|CPU||2 GHz 8 Core Cortex-A53|
|Display||1080 x 2280 IPS|
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 mainline kernel, 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.
If using the downstream kernel, put your device in fastboot mode.
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||Should work with WIP IPA patches, not in msm8953-mainline master branch|
|WiFi||Partial||Sometimes stops working and reconnecting to the WiFi network is needed|
|Sensors||Partial||Working with i2c-gpio from here, still missing a proper SSC driver|
|Audio||Partial||Works with minimal changes to motorola-ocean UCM config. Still not packaged. Speaker does not work|
|Touchscreen||Partial||Only Focaltech models supported. Models with Goodix GT917D chip not working yet.|
|Charger||Partial||WIP driver here|
|Panel||Partial||Only supported hx8933 and ili8707 models|
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|