Xiaomi Redmi 5 Plus (xiaomi-vince)
Xiaomi Redmi 5 Plus | |
Manufacturer | Xiaomi |
---|---|
Name | Redmi 5 Plus |
Codename | xiaomi-vince |
Released | 2017 |
Type | handset |
Hardware | |
Chipset | Qualcomm Snapdragon 625 (MSM8953) |
CPU | Octa-core Cortex-A53 2 GHz |
GPU | Adreno 506 |
Display | 1080x2160 (403 PPI) IPS |
Storage | 32/64 GB |
Memory | 3/4 GB |
Architecture | aarch64 |
Software | |
Original software | Android (MIUI) |
Original version | 8.1 |
postmarketOS | |
Category | community |
Pre-built images | yes |
postmarketOS kernel | 6.8.2 |
Flashing |
Works |
---|---|
USB Networking |
Works |
Internal storage |
Works |
SD card |
Works |
Battery |
Works |
Screen |
Works |
Touchscreen |
Works |
Multimedia | |
3D Acceleration |
Works |
Audio |
Partial |
Camera |
Partial |
Camera Flash |
Broken |
IR TX |
Broken |
Connectivity | |
WiFi |
Works |
Bluetooth |
Works |
GPS |
Partial |
Modem | |
Calls |
Partial |
SMS |
Works |
Mobile data |
Partial |
Miscellaneous | |
FDE |
Works |
USB OTG |
Works |
Sensors | |
Accelerometer |
Works |
Magnetometer |
Partial |
Ambient Light |
Works |
Proximity |
Broken |
Hall Effect |
Works |
Haptics |
Broken |
This device is based on the Snapdragon 625. See the SoC page for common tips, guides and troubleshooting steps |
Maintainer(s)
- M0Rf30
Users owning this device
- 4PERTURE
- Bazsalanszky
- Bczeman
- Kasesag (Notes: Runs pmOS, main experimental Mobile Linux device.)
- KenOokamiHoro (Notes: 4+64GB variant, Dual boot with Pixel Experience 12)
- M0Rf30
- Tecncr
- Tfuxu (Notes: Old daily driver, now used only for experimenting)
- V1M4dr0n (Notes: LOS main & pmOS on SDCard)
Installation
- Follow the Installation guide
Note: lk2nd is a hard dependency, without it the mainline kernel will not select the panel. |
$ pmbootstrap install
$ pmbootstrap flasher flash_lk2nd
$ pmbootstrap flasher flash_rootfs
How to enter flash mode
- Stock Fastboot: Power on the device with both Power and Volume Down buttons
- lk2nd Fastboot: Power on the device. After it vibrates, hold Volume Down
Note: Pressing the keys too early will cause the stock bootloader to handle the key combination. You will end up in the wrong Fastboot interface. |
- Recovery: Power on the device with both Power and Volume Up buttons
Audio
Only speaker is not supported yet.
Parts
Modem
Modem works with ipa-lite on 6.7.0/main 1
Smart Speaker
To use the speaker, the device relies on:
Vendor | Model |
---|---|
Texas Instruments | tas2557 (some useful commits 1
2) Seems to be very similar to tas2559 |
Fingerprint
Two drivers are available within downstream kernel.
These are not supported yet in mainline kernel.
Vendor | Model |
---|---|
Fingerprint Cards AB | FPC1020 (some useful commits 12) |
Goodix | GF3208 |
Sensors
Type | Vendor | Model |
---|---|---|
Accelerometer / Gyroscope | STMicroelectronics | LSM6DSL (on some variants) 1 |
Accelerometer / Gyroscope | Bosch | BMI120 (on some variants) 1 |
Magnetometer / Compass | Asahi Kasei | AK09918C 1 |
Ambient Light / Proximity | Liteon Opto | LTR579 ALS / PS (same ALS registers of Liteon LTRF216A 1 with no PS part) |
Hall | ROHM Semiconductor | BU52061NVX (works as gpio key) |
Touchscreen
Type | Vendor | Supported |
---|---|---|
RMI4 | Synaptics | Yes |
NT36672 | Novatek | Partially (disabled in dts) |
NT36672 can be enabled from lk2nd, manual build is needed. https://github.com/msm8953-mainline/lk2nd/blob/main/dts/msm8953-xiaomi-vince.dts#L18-L42
//touchscreen-compatible = "syna,rmi4-i2c";
touchscreen-compatible = "novatek,nt36525-i2c";
Serial UART
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.
See also: Serial debugging