Xiaomi Mi 2 (xiaomi-aries)
Appearance
	
	
| WARNING: This device
 is not recommended for future use with postmarketOS due to its armhf architecture. Alpine Linux (the distribution that postmarketOS extends) pmaports#599 has been considering dropping it. | 
| This device is still running on armhf, although it supports armv7. If you own it, change it and test it that way. | 
| This device runs a Downstream kernel. Some UIs will not work, and most features (3D acceleration, audio, etc.) may be broken. | 
|  Xiaomi Mi 2 | |
| Manufacturer | Xiaomi | 
|---|---|
| Name | Mi 2 | 
| Codename | xiaomi-aries | 
| Released | 2012 | 
| Type | handset | 
| Hardware | |
| Chipset | Qualcomm Snapdragon S4 Pro (APQ8064) | 
| CPU | Quad-Core Krait @ 1.5 GHz | 
| GPU | Adreno 320 | 
| Display | 720x1280 IPS | 
| Storage | 16/32 GB | 
| Memory | 2 GB | 
| Architecture | armhf | 
| Software | |
| Original software The software and version the device was shipped with. | Android (MIUI) 4.1 (MIUI 4) | 
| Extended version The most recent supported version from the manufacturer. | Android (MIUI) | 
| postmarketOS | |
| Category | downstream | 
| Mainline Instead of a Linux kernel fork, it is possible to run (Close to) Mainline. | no | 
| Device package |  device-xiaomi-aries | 
| Kernel package |  linux-xiaomi-aries | 
| Flashing Whether 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 Whether charging and battery level reporting work. | Untested | 
| Screen Whether the display works; ideally with sleep mode and brightness control. | Works | 
| Touchscreen | Works | 
| 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 | 
| Sensors | |
| Accelerometer Handles automatic screen rotation in many interfaces. | Untested | 
| This device is based on the Snapdragon 600. See the SoC page for common tips, guides and troubleshooting steps | 
Contributors
- Lwrless
Maintainer(s)
How to enter flash mode
+ , it will look like this:
Progress
In pmaports!168 I used outdated cm11 kernel from LineageOS, it boots fine but I wasn't able to get the display working.
Then I switched to the kernel which is still maintained by GuaiYiHu from MoKee. By following the steps on Troubleshooting:display and Tuning_sysfs, the display was enabled.
Installation
See also
- pmaports!171 Initial merge request
