Xiaomi Mi 4c (xiaomi-libra)
Appearance
| This device has been archived. This means that it no longer appears in pmbootstrap and is likely broken. It can still be selected in pmbootstrap init by typing in the vendor and codename, but you will have to build the kernel package manually. |
|
Mi 4c running weston | |
| Manufacturer | Xiaomi |
|---|---|
| Name | Mi 4c |
| Codename | xiaomi-libra |
| Released | 2015 |
| Type | handset |
| Hardware | |
| Chipset | Qualcomm Snapdragon 808 (MSM8992) |
| CPU |
4x1.4 GHz Cortex-A53 2x1.8 GHz Cortex-A57 |
| GPU | Adreno 418 |
| Display | 1080x1920 IPS |
| Storage | 16/32 GB |
| Memory | 2/3 GB |
| Architecture | aarch64 |
| Software | |
Original software The software and version the device was shipped with. |
Android (MIUI) 5.1.1 |
Extended version The most recent supported version from the manufacturer. |
Android (MIUI) |
| Nura | |
| Category | archived |
Mainline Instead of a Linux kernel fork, it is possible to run (Close to) Mainline. |
no |
Nura kernel The kernel version that runs on the device's port. |
3.10.107 |
Unixbench score Unixbench Whetstone/Dhrystone score. See Unixbench. |
1926.2 |
| Device package |
|
| Kernel package |
|
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. |
Works
|
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 | |
Wi-Fi |
Works
|
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 Handles automatic screen rotation in many interfaces. |
Untested
|

Contributors
- aostanin
Maintainer(s)
Users owning this device
- Hastalavista (Notes: PMOS edge w/ downstream kernel, broken touchscreen, WiFi not working, wonky PMIC)
- Netman (Notes: Dead, no battery)
- Russanandres (Notes: MIUI v8)
- SayaAEP (Notes: 3/32, second phone, touchscreen cracked, dead battery, still working if i had to fix it)
Issues
- (Gnome) Password request dialog covers OnBoard input

How to enter flash mode
Recovery mode
- Turn the device off (or restart also works)
- Hold and button
- Once you feel vibration and phone turns on, release button
- Keep holding until you get to recovery.
Flashing (Download, Fastboot) mode
- Same as recovery, but this time hold the and keys.
Installation
- Install pmbootstrap first on your PC
- zap & reinit pmbootstrap (
pmbootstrap -y zap ; pmbootstrap init), choosexiaomi-ferrarias a device - proceed with installation as usual: reboot device to fastboot mode, then:
pmbootstrap install pmbootstrap flasher flash_kernel pmbootstrap flasher flash_rootfs
Mainline kernel
There is a close-to-mainline kernel fork featuring USB, screen via simplefb and basic core bringup. Find it here.
See also
- pmaports!1454 Initial merge request