Jump to content

Xiaomi Mi A3 (xiaomi-laurel)

From postmarketOS Wiki
Xiaomi Mi A3
Mi A3 booting postmarketOS!
Mi A3 booting postmarketOS!
Manufacturer Xiaomi
Name Mi A3
Codename xiaomi-laurel
Released 2019
Type handset
Hardware
Chipset Qualcomm Snapdragon 665 (SM6125)
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 (MIUI)
Original version
The version the device was shipped with.
9.0
postmarketOS
Category testing
Pre-built images
Whether pre-built images are available here.
no
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
yes
pmOS kernel
The kernel version that runs on the device's port.
6.1
Unixbench score
Unixbench Whetstone/Dhrystone score. See Unixbench.
1549.8
Features
Flashing
It is possible to flash the device with pmbootstrap flasher.
Works
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Works
Battery
Charging and battery level reporting works
Untested
Screen
Display works. Ideally with sleep mode and brightness control.
Partial
Touchscreen
Untested
Multimedia
3D Acceleration
Untested
Audio
Audio playback, microphone, headset and buttons.
Untested
Camera
Untested
Connectivity
WiFi
Untested
Bluetooth
Untested
GPS
Untested
Modem
Calls
Untested
SMS
Untested
Mobile data
Untested
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Untested
USB OTG
USB On-The-Go or USB-C Role switching
Untested
Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Untested


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

Install fastboot on your host system and run the following commands:

$ pmbootstrap init
$ pmbootstrap install
# fastboot erase dtbo
$ pmbootstrap flasher flash_vbmeta
$ pmbootstrap flasher flash_rootfs
$ pmbootstrap flasher flash_kernel
# fastboot reboot

Not merged features

Those features are already working but not yet merged into postmarketOS / mainline linux:

  • Touchscreen
  • USB OTG
  • Display and GPU

Display

The device as of now can only run a simple framebuffer.

Modem

No support on the platform as of now, shouldn't be too hard to implement since it's the same modem in the SDM630, SDM636, SDM660 and SDM670.

Who's working on it

Szczurek (@szczurek:matrix.org on Matrix)

See also