This guide covers installing LineageOS 19, based on Android 12, on the Xiaomi Redmi 4A (codename rolex). Since Xiaomi ended official updates at Android 7.1.2 Nougat, LineageOS is a good way to run a newer version of Android on the phone, with its own customisation options on top of near-stock Android.
Xiaomi Redmi 4A overview
The Xiaomi Redmi 4A has a 5-inch 720 x 1280 IPS LCD display, a quad-core Snapdragon 425 processor with the Adreno 308 GPU, 2GB or 3GB of RAM, and a 3,120mAh battery. It launched in November 2016 on Android 6.0.1 Marshmallow with MIUI 8.

LineageOS 19 and Android 12
LineageOS 19 is based on Android 12, which introduced the Material You design language, a redesigned notification shade and lock screen, a Privacy Dashboard, privacy indicators for the camera and mic, scrolling screenshots, one-handed mode, and a quick tap gesture. LineageOS keeps close to stock Android and adds its own customisation options on top.
How to install LineageOS 19 on the Xiaomi Redmi 4A
Go through the requirements below first.
Prerequisites
Download LineageOS 19
Download Android 12 GApps
Most AOSP ROMs come without Google apps, so install the Android 12 GApps package if you want them.
Warning
GetDroidTips is not responsible for any damage to your device. Flash this only on the Redmi 4A, and do it at your own risk.
Instructions to install
- Transfer the ROM and GApps ZIP to the phone, then boot into TWRP with USB Debugging enabled:
adb reboot recovery

- In TWRP, go to Wipe > Advanced Wipe and clean System, Data, Vendor, and Cache.
- Go to Install and flash the ROM ZIP.
- Flash the GApps ZIP the same way.
- Reboot to the system. The first boot takes a few minutes.

FAQ
Did the Redmi 4A get Android 12 officially?
No. Xiaomi ended official updates at Android 7.1.2 Nougat, so Android 12 is only available through community ROMs like this one.
Can I root after installing?
Yes. Flash the latest Magisk ZIP in TWRP after the ROM to gain root access.
Do I need to wipe before flashing?
Yes. Coming from MIUI or another ROM, wipe System, Data, Vendor, and Cache first to avoid boot issues.
That covers installing LineageOS 19 on the Xiaomi Redmi 4A. If you run into any trouble, leave a comment below.