Xiaomi Mi A2 (xiaomi-jasmine)
Appearance
![]() Xiaomi Mi A2 | |
Manufacturer | Xiaomi |
---|---|
Name | Mi A2 |
Codename | xiaomi-jasmine_sprout |
Released | 2018 |
Hardware | |
Chipset | Qualcomm SDM660 Snapdragon 660 |
CPU | 8-core (4x 2.2 GHz Kryo 260 & 4x 1.8 GHz Kryo 260) |
GPU | Adreno 512 |
Display | 1080 x 2160 LTPS IPS LCD |
Storage | 32/64/128 GB |
Memory | 4/6 GB |
Architecture | aarch64 |
Software | |
Original software | Android 8.1 |
postmarketOS | |
Category | testing |
Pre-built images | no |
Mainline | no |
postmarketOS kernel | 4.4.226 |
Flashing |
Works |
---|---|
USB Networking |
Works |
Internal storage |
No data |
SD card |
No data |
Battery |
No data |
Screen |
Works |
Touchscreen |
Works |
Multimedia | |
3D Acceleration |
Broken |
Audio |
Broken |
Camera |
Broken |
Camera Flash |
No data |
Connectivity | |
WiFi |
Broken |
Bluetooth |
Broken |
GPS |
Broken |
NFC |
No data |
Modem | |
Calls |
Broken |
SMS |
Broken |
Mobile data |
Broken |
Miscellaneous | |
FDE |
No data |
USB OTG |
No data |
HDMI/DP |
No data |
Sensors | |
Accelerometer |
Broken |
Magnetometer |
No data |
Ambient Light |
No data |
Proximity |
No data |
Hall Effect |
No data |
Haptics |
No data |
Barometer |
No data |
Contributors
Maintainer(s)
Users owning this device
- Joeth
- Jojo autoboy
- M.01001101.01010110
- Profmagija
- Rambonette (Notes: Ubuntu Touch)
- Robante15
- Shouko
- Somekool
- Vishalbala
- XRayMan (Notes: Main device)
Notes
This device is quite similar to the Xiaomi Redmi Note 7 (xiaomi-lavender) and Xiaomi Redmi Note 8T (xiaomi-willow), and many of the issues were solved with steps from that devices pages, so if you're hacking on the Mi A2 it's a good idea to read the xiaomi-lavender and the xiaomi-willow page closely.
How to enter flash mode
Bootloader Unlocking
Because this device is an Android One device, it can be unlocked using fastboot oem unlock
from fastboot mode.
Recovery mode
- Turn the device off (or restart also works)
- Hold and button
- Once you feel vibration and phone turns on, release button
- Keep holding until you get to recovery.
Flashing (Download, Fastboot) mode
- Same as recovery, but this time hold the and keys.
Installation
- Install pmbootstrap.
- Download the device/linux package from my Github (because it is not merged) and paste it into your pmaports/device folder.
pmbootstrap -y zap; pmbootstrap init
, choosexiaomi-jasmine_sprout
as your device- Weston, XFCE4, and GNOME have been successfully tested. Phosh and Plasma Mobile do not work
pmbootstrap install
- Enter fastboot, plug USB into computer
pmbootstrap flasher flash_kernel
pmbootstrap flasher flash_rootfs
pmbootstrap flasher flash_vbmeta
- Reboot, sometimes
fastboot reboot
works, otherwise hold down until it reboots to system. - Hopefully weston comes up with
postmarketos-demos
. ssh user@172.16.42.1
Additional Info
Info from the Xiaomi Redmi Note 7, and Redmi Note 8 port that also applies to the Mi A2: