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) |
Extended version The most recent supported version from the manufacturer. |
Android (MIUI) |
| 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 Whether 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 Whether charging and battery level reporting work. |
Broken
|
Screen Whether the 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 |
Works
|
| Modem | |
Calls |
Partial
|
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 Handles automatic screen rotation in many interfaces. |
Works
|
Magnetometer Sensor to measure the Earth's magnetism |
Partial
|
Ambient Light Measures the light level; used for automatic screen dimming in many interfaces. |
Broken
|
Proximity |
Partial
|
Haptics |
Works
|
| 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: pmos main)
- Nrdnandan (Notes: Broken Touchscreen,Damaged Battery)
- RoDen (Notes: pmaports#3812)
- Tfuxu (Notes: Damaged jack connector)
- Zeroxonef (Notes: Backup phone 2, simless)
Models
| Model number | Market/Operator | LTE Bands |
|---|---|---|
| 2016111 | PRC/China Telecom | 1, 3, 7, 38, 39, 40, 41 |
| 2016112 | PRC/China Telecom | 1, 3, 7, 38, 39, 40, 41 |
| 2016117 | RoW | 1, 3, 4, 5, 7, 8, 20, 40, 41 |
Hardware
To check the hardware configuration of your device using the stock MIUI ROM:
1. Go to
2. Go to
3. Tap 5 times
4. Click
or simply dial then click
Displays:
| Panel/Driver | Status |
|---|---|
| EBBG/Novatek NT35521s (c3a) | Works |
| EBBG/Ilitek ILI9881C | Works |
| BOE/Himax HX8394-F | Works |
Touch Panels:
| Model (Vendor, FW) | Status |
|---|---|
| FocalTech FT5435 (O-film, FW 0x10) | Broken |
| GOODiX GT911 | Works |
Cameras:
| Type | Sensor/Vendor | Status |
|---|---|---|
| Back | Samsung/O-film S5K3L2 | Broken |
| Back | OmniVision OV13850 | Broken |
| Front | Samsung/O-film S5K5E8 | Broken |
| Front | OmniVision/O-film OV5675 | Works |
Sensors (information about the models was obtained by AIDA64 app):
| Type | Model | Status |
|---|---|---|
| Accelerometer + Gyroscope | Bosch BMI160 | Works |
| Ambient Light + Proximity | Liteon Opto LTR55X | Broken |
| Magnetometer | Yamaha YAS537 | Partial |
Modem
Modem needs manual steps Qualcomm_Snapdragon_425/427/430/435_(MSM8917/MSM8920/MSM8937/MSM8940)#Modem
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