Xiaomi Redmi 5 Plus (xiaomi-vince)

From postmarketOS
(Redirected from Xiaomi-vince)
Xiaomi Redmi 5 Plus
Xiaomi Redmi 5 Plus
Xiaomi Redmi 5 Plus
Manufacturer Xiaomi
Name Redmi 5 Plus
Codename xiaomi-vince
Released 2017
Category community
Original software Android (MIUI)
Original version 8.1
postmarketOS kernel 6.7.2
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
Type Handset
Features
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
Partial
GPS
Mobile data
Partial
Internal storage
Works
SMS
Works
Calls
Partial
USB OTG
Works
Sensors
Accelerometer
Works
Magnetometer
Partial
Ambient Light
Works
Proximity
Broken
Hall Effect
Works
Misc
Built-in DVB
Camera Flash
Broken
Ir TX
Broken
Memory Card
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


Installation

Note 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 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)

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.

Xiaomi-vince-uart.jpg

Vince-uart-pins-shem.png

See also: Serial debugging

See also