Xiaomi Redmi 5 Plus (xiaomi-vince)
![]() Xiaomi Redmi 5 Plus | |
Manufacturer | Xiaomi |
---|---|
Name | Redmi 5 Plus |
Codename | xiaomi-vince |
Released | 2017 |
Category | testing |
Original software | Android |
Original version | 8.1 |
postmarketOS kernel | 6.3.0 |
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 |
USB Networking |
Works |
---|---|
Flashing |
Works |
Touchscreen |
Works |
Display |
Works |
WiFi |
Works |
FDE |
Works |
Mainline |
Works |
Battery |
Works |
3D Acceleration |
Works |
Audio |
Partial |
Bluetooth |
Works |
Camera |
Broken |
GPS |
Broken |
Mobile data |
Broken |
SMS |
Broken |
Calls |
Broken |
USB OTG |
Works |
NFC |
Unavailable |
Accelerometer |
Works |
---|---|
Magnetometer |
Partial |
Ambient Light |
Works |
Proximity |
Broken |
Hall Effect |
Works |
Barometer |
Unavailable |
Power Sensor |
Unavailable |
Camera Flash | |
---|---|
Keyboard |
Unavailable |
Touchpad |
Unavailable |
USB-A |
Works |
HDMI/DP |
Unavailable |
Ir TX |
Partial |
Ir RX |
Unavailable |
Stylus |
Unavailable |
Haptics |
Broken |
Ethernet |
Unavailable |
FOSS bootloader |
Unavailable |
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
How to enter flash mode
- Turn off the device
- Press Power + Volume Down to enter fastboot
Installation
On your host machine, install arm-none-eabi-
GCC toolchain and follow the instructions below
git clone https://github.com/msm8953-mainline/lk2nd cd lk2nd make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary fastboot flash boot build-msm8953-secondary/lk2nd.img fastboot reboot
Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the Volume Down. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.
Follow the usual Installation guide
FDE
Works perfectly with animation.
GPU bug workaround
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with export FD_MESA_DEBUG=nobin
in /etc/profile.d/gpu-nobin.sh
and reboot.
(from Redmi Note 4 with same GPU [1]. I've tested it, works fine.)
Touchscreen
There are some problems with suspend and module 'rmi_i2c'. (dmesg here) Temporary fix to enable touch:
$sudo rmmod rmi_i2c $sudo modprobe rmi_i2c
Also you can create crontab script with this lines.
Battery
The battery charge report works.
Parts
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
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) |
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