Jump to content

Xiaomi Redmi 4 Standart (xiaomi-prada)

From postmarketOS Wiki
Note This device is supported as part of a generic port. Refer to Generic MSM89x7 (qcom-msm89x7) for installation instructions and more information.
Xiaomi Redmi 4 Standart
xiaomi-prada showing fastfetch
xiaomi-prada showing fastfetch
Manufacturer Xiaomi
Name Redmi 4 Standart
Codename xiaomi-prada
Released 2016
Type handset
Hardware
Chipset Qualcomm Snapdragon 430 (MSM8937)
CPU Octa-core 1.4 GHz Cortex-A53
GPU Adreno 505
Display 720x1280 IPS
Storage 16/32 GB
Memory 1/2/3 GB
Architecture aarch64
Software
Original software Android (MIUI)
Original version 6.0.1
FOSS bootloader lk2nd
postmarketOS
Category testing
Pre-built images no
Mainline yes
postmarketOS kernel 6.13
Generic port Generic MSM89x7 (qcom-msm89x7)
Features
Flashing
Works
USB Networking
Works
Internal storage
Works
SD card
Works
Battery
Works
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Works
Camera
Broken
Camera Flash
Works
IR TX
Broken
Connectivity
WiFi
Works
Bluetooth
Works
GPS
Broken
Modem
Calls
Broken
SMS
Broken
Mobile data
Broken
Miscellaneous
FDE
Works
USB OTG
Works
Sensors
Accelerometer
Works
Magnetometer
Works
Ambient Light
Partial
Proximity
Works
Haptics
Broken

Installation

Note Warning: Flashing lk2nd is required, as it is a hard dependency.
$ pmbootstrap init # choose Vendor: qcom Device codename: msm89x7
$ pmbootstrap install
$ fastboot flash boot lk2nd.img # Build it from msm8916-mainline/lk2nd
$ pmbootstrap flasher flash_rootfs

Device Notes

Sensors

Connected to i2c-gpio

Sensor Model Status
Accelerometer/Gyroscope bosch,bmi120 (bosch,bmi160) Works
Light/Proximity liteon,ltr559 (liteon,ltr501) Works
Magnetometer yamaha,yas537 (yamaha,yas530) Works

UART

The working voltage is 1.8 V. Warning: the test points are very small, soldering is not recommended. It's probably better to just hold a wire with a hard thin end with your hands.

How to enter flash mode

[Power] + [Vol-] to fastboot mode

Users owning this device

Maintainer(s)

See also