Xiaomi Mi A3 (xiaomi-laurel)

From postmarketOS
Jump to navigation Jump to search
Xiaomi Mi A3
Mi A3 booting postmarketOS!
Mi A3 booting postmarketOS!
Manufacturer Xiaomi
Name Mi A3
Codename xiaomi-laurel
Released 2019
Category testing
Original software Android 9.0
postmarketOS kernel 5.18_rc4
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
Unixbench Whet/Dhry score 1549.8
Features
USB Networking
Works
Flashing
Works
Touchscreen
Display
Partial
WiFi
FDE
Mainline
Works
Battery
3D Acceleration
Audio
Bluetooth
Camera
GPS
Mobile data
SMS
Calls
USB OTG
NFC
Unavailable
USB-A
HDMI/DP
Keyboard
Touchpad
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Barometer
Power Sensor
Misc
Ir TX
TrustZone
FOSS bootloader



Contributors

Users owning this device

  • Mint (Notes: Running A10/A9 firmware, mainlining!)


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