Jump to content

Xiaomi Mi A3 (xiaomi-laurel)

From postmarketOS Wiki
Revision as of 18:18, 8 May 2022 by Mint (talk | contribs)
Xiaomi Mi A3
Mi A3 booting postmarketOS!
Mi A3 booting postmarketOS!
Manufacturer Xiaomi
Name Mi A3
Codename xiaomi-laurel
Released 2019
Hardware
Chipset Qualcom SM6125 Snapdragon 665
CPU Octa-core (4x2.0 GHz Kryo 260 Gold & 4x1.8 GHz Kryo 260 Silver)
GPU Adreno 610
Display 1560x720 AMOLED
Storage 64 GB / 128 GB UFS 2.1
Memory 4 GB / 6 GB
Architecture aarch64
Software
Original software Android 9.0
postmarketOS
Category testing
Pre-built images no
Mainline yes
postmarketOS kernel 5.18_rc4
Unixbench Whet/Dhry score 1549.8
Features
Flashing
Works
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
No data
Screen
Partial
Touchscreen
No data
Multimedia
3D Acceleration
No data
Audio
No data
Camera
No data
Camera Flash
No data
Connectivity
WiFi
No data
Bluetooth
No data
GPS
No data
Modem
Calls
No data
SMS
No data
Mobile data
No data
Miscellaneous
FDE
No data
USB OTG
No data
HDMI/DP
No data
Sensors
Accelerometer
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data


Contributors

Users owning this device


How to enter flash mode

On boot press and hold the Volume Down button. If your device is already powered off, press and hold the Volume Down and Power buttons simultaneously until you get to the "FASTBOOT" screen.

Installation

As of now the only way to boot this device is through netboot, since when UFS is enabled, it causes the kernel to panic. Install fastboot on your host system and run the following commands:

$ pmbootstrap init
$ pmbootstrap --extra-space 1000 install --no-sparse
$ pmbootstrap initfs hook_add netboot
$ fastboot erase dtbo
$ pmbootstrap flasher flash_vbmeta
$ pmbootstrap flasher flash_kernel
$ fastboot reboot

To serve the netboot image, run the following with your phone plugged in:

$ pmbootstrap netboot serve

Display

The device as of now can only run a simple framebuffer. After I implement UFS support on the platform I'll try to implement a DRM driver for it.

See also