Jump to content

Xiaomi Redmi 4A (xiaomi-rolex)

From postmarketOS Wiki
Revision as of 19:22, 11 April 2025 by Bczeman (talk | contribs) (Latest commit should work now)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 4A
File:xiaomi-rolex.jpg
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 Android (MIUI)
Original version 6.0.1 (MIUI 10)
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
Broken
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Works
Camera
Partial
Camera Flash
No data
Connectivity
WiFi
Works
Bluetooth
Works
GPS
Broken
NFC
No data
Modem
Calls
Broken
SMS
Broken
Mobile data
Broken
Miscellaneous
FDE
Works
USB OTG
Broken
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

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)
  • Nrdnandan (Notes: Broken Touchscreen,Damaged Battery)
  • RoDen (Notes: Plasma Desktop)
  • Tfuxu (Notes: Damaged jack connector)
  • Vincele (Notes: MIUI, not mine, locked)
  • Zeroxonef (Notes: Backup phone 2, simless)


How to enter into bootloader (fastboot)

  • Shutdown the phone completely.
  • Press Volume Down and Power button simultaneously to enter fastboot mode.

How to enter into recovery mode

  • Shutdown the phone completely
  • Press Volume Up and Power button simultaneously to enter the recovery (MI or Custom).

Installation

Note 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

See Also