Xiaomi Redmi 4 Prime (xiaomi-markw)
Appearance
![]() xiaomi-markw showing phosh about | |
Manufacturer | Xiaomi |
---|---|
Name | Redmi 4 Prime |
Codename | xiaomi-markw |
Released | 2016 |
Type | handset |
Hardware | |
Chipset | Qualcomm Snapdragon 625 (MSM8953) |
CPU | Octa-core 2 GHz Cortex-A53 |
GPU | Adreno 506 |
Display | 1080x1920 IPS |
Storage | 32 GB |
Memory | 3 GB |
Architecture | aarch64 |
Software | |
Original software | Android |
Original version | 6.0.1 |
postmarketOS | |
Category | community |
Pre-built images | yes |
postmarketOS kernel | mainline |
Flashing |
Works |
---|---|
USB Networking |
Works |
Internal storage |
No data |
SD card |
No data |
Battery |
Works |
Screen |
Works |
Touchscreen |
Works |
Multimedia | |
3D Acceleration |
Works |
Audio |
Works |
Camera |
Broken |
Camera Flash |
Broken |
IR TX |
Broken |
Connectivity | |
WiFi |
Works |
Bluetooth |
Works |
GPS |
Broken |
Modem | |
Calls |
Broken |
SMS |
Broken |
Mobile data |
Broken |
Miscellaneous | |
FDE |
Partial |
USB OTG |
Works |
Sensors | |
Accelerometer |
Works |
Magnetometer |
Works |
Ambient Light |
Partial |
Proximity |
Works |
Haptics |
Broken |
This device is based on the Snapdragon 625. See the SoC page for common tips, guides and troubleshooting steps |
Contributors
Maintainer(s)
Users owning this device
- ApertureUA (Notes:
Atmel with green lightsaber stripe in the middlefocaltech, unlocked with aboot patch) - Vipaol (Notes: pmOS,Ebbg+Atmel)
How to enter flash mode
[Power] + [Vol-] to fastboot mode
Device Notes
Display Panels
Display | Touch | Status |
---|---|---|
Ebbg | atmel,maxtouch | Works |
Tianma | edt,edt-5336 (edt,edt-ft5x06) | Works |
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 |
Bluetooth
To fix it in phosh: rc-update add bluetooth boot
Suspend
The device can't wake up from suspend (but turning display off is working). You can disable it in your UI's settings.
FDE
Atmel touch works incorrectly in osk-sdl (probably needs calibration config), focaltech is untested. You can just use more modern unl0kr instead of osk-sdl.
Installation
- See the Installation guide for details.
- Do not use "android recovery zip" method, because it can't install lk2nd and have some other problems.
- If you want to use FDE, you need to add
--fde --add=unl0kr
to use unl0kr instead of unconfigured osk-sdl.
Flash rootfs:
- To SD-card
-
- Find your SD-card:
lsblk
- Install (change /dev/sdX to your card)
$ pmbootstrap install --sdcard /dev/sdX
- Find your SD-card:
- To internal memory
-
$ pmbootstrap install $ pmbootstrap flasher flash_rootfs
Flash lk2nd:
Note: lk2nd is a hard dependency, without it the mainline kernel will not select the display panel and you'll get a black screen. |
$ pmbootstrap flasher flash_lk2nd
Lk2nd boots the kernel from file. Flashing the kernel is not needed