Jump to content

Xiaomi Mi 2 (xiaomi-aries)

From postmarketOS Wiki
(Redirected from Xiaomi Mi 2)


Warning 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.
Note This device is still running on armhf, although it supports armv7. If you own it, change it and test it that way.
Xiaomi Mi 2
Xiaomi Mi 2
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)
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
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.
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
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Untested

Contributors

  • Lwrless

Maintainer(s)

How to enter flash mode

Volume Down + Power, 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