FORUMS
Remove All Ads from XDA

[ROM][UNOFFICIAL] LineageOS 15.1 for Xiaomi Redmi 4A & 5A [UNIFIED][OTA]

881 posts
Thanks Meter: 3,511
 
By 33bca, Recognized Developer on 16th April 2018, 11:42 AM
Post Reply Email Thread

LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1 (Oreo), 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. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.

GPL compliance:

Broken:
  • WIFI MAC address gets randomly generated (only once, you will keep the same as long as you are on LOS)
  • Sepolicy is still permissive
  • Nothing else? Otherwise please report it!

Working:
  • Camera (and flashlight)
  • WiFi
  • Bluetooth
  • Telephony (Calls and Data)
  • Audio (Record and Playback)
  • Video Playback
  • Sensors
  • GPS
  • VoLTE



Compatibility:
Compatible with all Xiaomi Redmi 4A and Redmi 5A variants (16GB / 32GB), other Redmi devices are not supported.
Builds are based off the Xiaomi's Android 7.1 firmware with proprietary blobs from MIUI 8.3.29 dev package.
Downloads:
Notice:
  • No custom kernels are supported in this thread. Only stock kernel and official builds will be supported. No bug reports if that's not the case.

Installation:
  • Reboot to recovery (Custom TWRP recovery for Redmi 4A - Direct link)
  • Format /system, /data and /cache
  • Install LineageOS zip package
  • Install [optional] the LineageOS su addon to get root (there are obviously other root methods, but this is the recommended one as it survives to OTA updates)
  • Install [optional] a Google Apps package of your choice (Open GApps is advisable, but stock and super variants are not recommended!!!)
Important notes:
  • Current minimal * required * firmware version is MIUI 8.3.29 Global dev, otherwise installation could have issues. Download the latest dev fastboot package directly from Xiaomi and flash it prior to installing LineageOS or, alternatively, download and install one of the latest custom packages containing firmware only (at your own risk).
  • GApps can only be flashed on clean installs.
  • Formatting data (all user data is wiped, including internal storage) is a must if MIUI was previously installed and device was encrypted.
Credits & collaborations:
This work is due to efforts from RedmiDevs founding members that did the full device bring-up. Huge thanks to @xboxfanj for all the help during that bring-up.
Finally, all RedmiDevs & LineageOS team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!

Device wiki:
Changelog:
XDA:DevDB Information
LineageOS 15.1, ROM for the Xiaomi Redmi 4A & 5A

Contributors:
33bca
ROM OS Version: 8.1 Oreo
ROM Kernel: Linux 3.18.71
ROM Firmware Required: MIUI 8.4.12 dev

Version Information
Status: Beta

Created 2018-04-16
Last Updated 2018-05-24
The Following 39 Users Say Thank You to 33bca For This Useful Post: [ View ]
16th April 2018, 11:43 AM |#2  
OP Recognized Developer
Flag Basel
Thanks Meter: 3,511
 
More
Builds from now on will need a TWRP with vendor partition support like this one.
https://androidfilehost.com/?fid=674106145207489212
The Following 9 Users Say Thank You to 33bca For This Useful Post: [ View ]
16th April 2018, 11:43 AM |#3  
OP Recognized Developer
Flag Basel
Thanks Meter: 3,511
 
More
You like my work? Feel free to donate here.
The Following 8 Users Say Thank You to 33bca For This Useful Post: [ View ]
16th April 2018, 11:43 AM |#4  
OP Recognized Developer
Flag Basel
Thanks Meter: 3,511
 
More
# Reserved 3
The Following 7 Users Say Thank You to 33bca For This Useful Post: [ View ]
16th April 2018, 11:51 AM |#5  
Senior Member
Thanks Meter: 21
 
More
Wow. Thank's for the build. Hope you can fix it and make it stable soon.
16th April 2018, 01:45 PM |#6  
Ayra Hikari's Avatar
Member
Flag Teluknaga Tanggerang, Banten
Thanks Meter: 89
 
More
Wow nice dude 😍
16th April 2018, 03:00 PM |#7  
Carlos Arriaga's Avatar
Senior Member
Flag Guanajuato
Thanks Meter: 3,027
 
Donate to Me
More
Ups the cookies are in the air.

Sent from my [device_name] using XDA-Developers Legacy app
The Following User Says Thank You to Carlos Arriaga For This Useful Post: [ View ] Gift Carlos Arriaga Ad-Free
16th April 2018, 03:49 PM |#8  
OP Recognized Developer
Flag Basel
Thanks Meter: 3,511
 
More
BOE touchscreen fixed, flash this boot.img if you're facing any issues.
https://androidfilehost.com/?fid=746010030569969319

Newer builds will have the fix included! This is just a quick fix for BOE users.
The Following 4 Users Say Thank You to 33bca For This Useful Post: [ View ]
16th April 2018, 06:39 PM |#10  
OP Recognized Developer
Flag Basel
Thanks Meter: 3,511
 
More
Nvm, BOE touchscreens and GApps are finally fixed.
Grab the update here: https://www.androidfilehost.com/?w=files&flid=264436
The Following 6 Users Say Thank You to 33bca For This Useful Post: [ View ]
16th April 2018, 09:02 PM |#11  
manucarcor's Avatar
Member
Flag Mérida
Thanks Meter: 60
 
Donate to Me
More
Awesome. 5 stars to my bro. The first dev with OREO rom for the Redmi 4A
The Following 4 Users Say Thank You to manucarcor For This Useful Post: [ View ] Gift manucarcor Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes