Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
LineageOS is a free, community built, aftermarket firmware distribution of Android 10 (Q), which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
What's working:
- Boot
- Bluetooth
- Camera / Camcorder
- Double Tap to Wake
- IR Blaster
- RIL (LTE/Dual SIM/SMS)
- FM Radio
- VoLTE
- GPS
- WiFi
- WiFi Hotspot
- USB (ADB/MTP/PTP)
- Video Playback
- Touch
- Sensors
- SELinux enforcing
What's not working:
- You tell me.
- Maybe encryption.
Installation instructions
- Download the zip(s).
- Install a compatible Recovery, i.e. with vendor support.
- Perform a NANDroid backup of your current ROM (Optional)
- Wipe data if you come from different ROM. Don't needed if you do an upgrade from LOS 17.1.
- Wipe system, cache and vendor partitions.
- Flash ROM.
- Optional: Install the Google Apps addon package.
- Optional: Install Magisk for Root.
Downloads
- If you don't have Recovery with vendor support: Unofficial TWRP by nick00007
- Rom: https://rolex.yurikoles.com/
- Official GApps: Open GApps 10.0 arm64
- Latest radio firmware: Xiaomi Firmware Updater by yshalsager
- Bonus: I prefer aroma GApps (you choose what to install): Unofficial Open GApps 10.0 arm64 aroma
Thanks To
* AOSP
* Lineage OS Team
* Thago for Triton-kernel
* nick00007 for device and vendor trees, recovery.
XDA:DevDB Information
Lineage OS 17.1 ROM, ROM for the Xiaomi Redmi 4a
Contributors
yurikoles, Thago, nick00007
Source Code: https://github.com/xiaomi-rolex
ROM OS Version: Android 10
ROM Kernel: Linux 3.x
ROM Firmware Required: Latest
Based On: LineageOS
Version Information
Status: Stable
Current Stable Version: 17.1
Stable Release Date: 2020-06-27
Created 2020-06-27
Last Updated 2020-07-10
Last edited: