Xiaomi Redmi 5 Plus (xiaomi-vince)

Maintainer(s)

 * M0Rf30

How to enter flash mode

 * 1) Turn off the device
 * 2) Press  +  to enter fastboot

Installation
On your host machine, install  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. 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  in   and reboot. (from Redmi Note 4 with same GPU . 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.

Smart Speaker
To use the speaker, the device relies on:

Fingerprint
Two drivers are available within downstream kernel

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