Xiaomi Redmi 4A (xiaomi-rolex)
Appearance
This device is supported as part of a generic port. Refer to Generic MSM89x7 (qcom-msm89x7) for installation instructions and more information. |
Manufacturer | Xiaomi |
---|---|
Name | Redmi 4A |
Codename | xiaomi-rolex |
Released | 2016 |
Type | handset |
Hardware | |
Chipset | Qualcomm Snapdragon 425 (MSM8917) |
CPU | Quad-core 1.4 GHz Cortex-A53 |
GPU | Adreno 308 |
Display | 720 x 1280 pixels, 16:9 ratio (~296 ppi density) IPS LCD capacitive touchscreen, 16M colors |
Storage | 16 GB |
Memory | 2 GB |
Architecture | aarch64 |
Software | |
Original software The software and version the device was shipped with. |
Android (MIUI) 6.0.1 (MIUI 10) |
postmarketOS | |
Category | testing |
Mainline Instead of a Linux kernel fork, it is possible to run (Close to) Mainline. |
yes |
pmOS kernel The kernel version that runs on the device's port. |
6.15 |
Generic port | Generic MSM89x7 (qcom-msm89x7) |
Device package |
![]() |
Kernel package |
![]() |
Flashing It is possible to flash the device with pmbootstrap flasher . |
Works
|
---|---|
USB Networking After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system). |
Works
|
Internal storage eMMC, SD cards, UFS, ... |
Works
|
SD card Also includes other external storage cards |
Works
|
Battery Charging and battery level reporting works |
Broken
|
Screen Display works. Ideally with sleep mode and brightness control. |
Works
|
Touchscreen |
Works
|
Multimedia | |
3D Acceleration |
Works
|
Audio Audio playback, microphone, headset and buttons. |
Works
|
Camera |
Partial
|
Connectivity | |
WiFi |
Works
|
Bluetooth |
Works
|
GPS |
Broken
|
Modem | |
Calls |
Works
|
SMS |
Works
|
Mobile data |
Works
|
Miscellaneous | |
FDE Full disk encryption and unlocking with unl0kr. |
Works
|
USB OTG USB On-The-Go or USB-C Role switching |
Broken
|
Sensors | |
Accelerometer Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile |
Broken
|
This device is based on the Snapdragon 425. See the SoC page for common tips, guides and troubleshooting steps |
Contributors
- Nrdnandan
Maintainer(s)
- Nrdnandan
Users owning this device
- Dumpster (Notes: Soon to be pmOS test subject (needs unlock first))
- Hitechshell
- Maciej (Notes: OK, not used currently)
- Manigohan (Notes: not in my possession currently)
- Nrdnandan (Notes: Broken Touchscreen,Damaged Battery)
- RoDen (Notes: Plasma Desktop)
- Tfuxu (Notes: Damaged jack connector)
- Zeroxonef (Notes: Backup phone 2, simless)
How to enter into bootloader (fastboot)
- Shutdown the phone completely.
- Press and button simultaneously to enter fastboot mode.
How to enter into recovery mode
- Shutdown the phone completely
- Press and button simultaneously to enter the recovery (MI or Custom).
Installation
- Follow the Installation guide and your device wiki page.
Warning: Flashing lk2nd is required, as it is a hard dependency. Without it the mainline kernel will not select the display panel (resulting in black screen on boot). |
$ pmbootstrap init # choose Vendor: qcom Device codename: msm89x7
$ pmbootstrap install
$ fastboot flash boot lk2nd.img # Build lk2nd from msm8916-mainline/lk2nd repo
$ pmbootstrap flasher flash_rootfs
Bootloader original status
- The bootloader in new Xiaomi devices are locked. To unlock it, you need to go to https://en.miui.com/unlock/download_en.html and follow the instructions as given.
See Also
- GSMArena page
- pmaports!1158 Initial merge request
- pmaports!1911 2nd attempt merge request