Jump to content

Xiaomi Redmi 5 Plus (xiaomi-vince): Difference between revisions

From postmarketOS Wiki
M0Rf30 (talk | contribs)
No edit summary
Tfuxu (talk | contribs)
Add section about UART and some small changes
Line 34: Line 34:
| status_calls = N
| status_calls = N
| status_otg = Y
| status_otg = Y
| status_nfc = -
| status_irtx = N
| booting = yes
| booting = yes
| pmoskernel = 4.9.305
| pmoskernel = 4.9.305
Line 135: Line 137:
| BU52061NVX
| BU52061NVX
|}
|}
== Serial UART ==
{{todo|This section needs further testing|nocategory=yes}}
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.
[[File:Xiaomi-vince-uart.jpg|507px]]
[[File:Vince-uart-pins-shem.png]]
See also: [[Serial debugging]]


== See also ==
== See also ==

Revision as of 16:43, 20 March 2022

Xiaomi Redmi Note 5 /
5 Plus
Xiaomi Redmi Note 5 / 5 Plus
Xiaomi Redmi Note 5 / 5 Plus
Manufacturer Xiaomi
Name Redmi Note 5 /
5 Plus
Codename xiaomi-vince
Released 2017
Hardware
Chipset Qualcomm MSM8953 Snapdragon 625
CPU Octa-core Cortex-A53 2 GHz
GPU Adreno 506
Display 2160x1080 (403 PPI) IPS
Storage 32/64 GB
Memory 3/4 GB
Architecture aarch64
Software
Original software Android 8.1
postmarketOS
Category testing
Pre-built images no
Mainline no
postmarketOS kernel 4.9.305
Features
Flashing
Works
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
Works
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Broken
Audio
Works
Camera
Broken
Camera Flash
No data
IR TX
Broken
Connectivity
WiFi
Works
Bluetooth
Broken
GPS
Broken
Modem
Calls
Broken
SMS
Broken
Mobile data
Broken
Miscellaneous
FDE
No data
USB OTG
Works
HDMI/DP
No data
Sensors
Accelerometer
Broken
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data


Maintainer(s)

  • M0Rf30

Users owning this device


How to enter flash mode

  1. Turn off the device
  2. Press Power + Volume Down to enter fastboot

Installation

Here's how to boot pmOS via fastboot:

  1. Install to a SD card with

$ pmbootstrap install --sdcard=/dev/sdX

  1. Insert the SD card into the device
  2. Connect the device to your PC
  3. Enter the fastboot mode
  4. Finally, boot pmOS:

$ pmbootstrap flasher boot

or

  1. Enter the fastboot mode
  2. Flash system

$ pmbootstrap flasher flash_system

  1. Flash kernel

$ pmbootstrap flasher flash_kernel

  1. Finally, reboot into pmOS:

$ fastboot reboot

Audio

To enable audio you need to install triggerhappy. You can do it in many ways:

  1. At the first

$ pmbootstrap install command appending --add triggerhappy or with $ sudo apk add triggerhappy on a running device

  1. On both cases you always need to enable the triggerhappy daemon with:

$ sudo rc-update add triggerhappy default

Smart Speaker

To use the speaker, the device relies on:

Vendor Model
Texas Instruments tas2557 (some useful commits 1)

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 LSM6DS3
Magnetometer / Compass Asahi Kasei AK09918 1
Ambient Light Liteon Opto LTR579 ALSPS
Hall ROHM Semiconductor BU52061NVX

Serial UART

TODO TODO: This section needs further testing

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

See also