Xiaomi Mi 5s Plus (xiaomi-natrium)
Appearance
	
	
|  Xiaomi Mi 5s Plus running Plasma Mobile | |
| Manufacturer | Xiaomi | 
|---|---|
| Name | Mi 5s Plus | 
| Codename | xiaomi-natrium | 
| Released | 2016 | 
| Type | handset | 
| Hardware | |
| Chipset | Qualcomm Snapdragon 821 (MSM8996Pro) | 
| CPU | 2x2.35 GHz Kryo 2x2.2 GHz Kryo | 
| GPU | Adreno 530 | 
| Display | 1080x1920 IPS LCD | 
| Storage | UFS 2.0 64/128GB | 
| Memory | 4/6 GB | 
| Architecture | aarch64 | 
| Software | |
| Original software The software and version the device was shipped with. | Android (MIUI) 6.0 (MIUI 8.2) | 
| Extended version The most recent supported version from the manufacturer. | Android (MIUI) 8.0 | 
| postmarketOS | |
| Category | testing | 
| Mainline Instead of a Linux kernel fork, it is possible to run (Close to) Mainline. | yes | 
| Device package |  device-xiaomi-natrium | 
| Kernel package |  linux-xiaomi-natrium | 
| 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. | Partial | 
| Screen Whether the display works; ideally with sleep mode and brightness control. | Works | 
| Touchscreen | Works | 
| Multimedia | |
| 3D Acceleration | Works | 
| Audio Audio playback, microphone, headset and buttons. | Partial | 
| Camera | Broken | 
| IR TX | Broken | 
| Connectivity | |
| WiFi | Partial | 
| Bluetooth | Works | 
| GPS | Untested | 
| NFC Near Field Communication | Works | 
| Modem | |
| Calls | Untested | 
| SMS | Untested | 
| Mobile data | Untested | 
| Miscellaneous | |
| FDE Full disk encryption and unlocking with unl0kr. | Works | 
| USB OTG USB On-The-Go or USB-C Role switching. | Works | 
| Sensors | |
| Accelerometer Handles automatic screen rotation in many interfaces. | Broken | 
| This device is based on the Snapdragon 821. See the SoC page for common tips, guides and troubleshooting steps | 
Contributors
- AlecJY
Users owning this device
- AlecJY
- Crystalast-29 (Notes: sharp panel is working on "natrium-sharp-panel" branch)
How to enter flash mode
Power off the device, then press and hold Power + Volume Down together for a few seconds.
Installation
Follow the installation guide to build and install.
What's not working
- Cellular
- Camera
- GPS
- Sensors
- IR
- Sharp panel varient, but JDI panel varient works good
- WiFi is unstable and the signal is poor (in some cases)
- Built-in speakers and microphone, only headphone jack works
Current Progress
IR
The IR led can be lighted up with ir-ctl tool. Currently not test with real IR receivers.
Sharp panel varient
It seems that there is no obvious problem. If you own a Mi 5s Plus with a Sharp panel, you can try this version.
See also
- pmaports!3128 Initial merge request