Jump to content

Xiaomi Mi 5s Plus (xiaomi-natrium)

From postmarketOS Wiki
Xiaomi Mi 5s Plus
Xiaomi Mi 5s Plus running Plasma Mobile
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
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
Partial
Screen
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
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Broken


Contributors

  • AlecJY

Users owning this device


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

OSZAR »