[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] karthik km:
LineageOS is a free, community built, aftermarket firmware distribution of Android 8 (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. 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.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.

What's working :

Boots

RIL (Calls, SMS, Data)

Wi-Fi

Bluetooth

Camera

Camcorder

Video Playback

Audio

Sensors

Flash

LED

GPS

Volte

Headset

Known issues:

1) Headset won't get connected

2) Sometimes Recents Panel FC

and You tell please.

Please read full OP and flashing instructions carefully

​

Some story about what we did actually to get treble

** We have interchanged partitions like oem= cache and cache= vendor to get treble support. Thanks to @warrenlobo for this idea.

** As our oem partition is 100% unused so no problem with booting custom ROMs.

Instructions :

1) Reboot to recovery

2) Flash Treble-TWRP image

3) Right after flashing Treble TWRP, Boot into recovery again

4) Now wipe/format cache. ( if this UI option doesn't work then use TWRP terminal command as " make_ext4fs /dev/block/bootdevice/by-name/oem" without quotes) now you are good to go

5) Now choose Treble ROM.zip to flash

6) Flash Gapps ( pico gapps are always recommended )

7) Flash Lineage add-on ( Check Faq 4) to get root or you may flash Treble enabled Magisk

8) Now reboot to system.

How to flash GSI ( Generic System Image):

1) Reboot to recovery

2) wipe all partitions except /vendor and storage

3) Now choose Install >> Install image >> choose image >> choose system_img >> Swipe to flash

4) now you may flash GApps as usual and (optional) Root it from Lineage add-on ( Check Faq 4) or from Magisk

5) Reboot to system

*** now TWRP will warn you about "" No OS Installed "" now please ignore this message and swipe to reboot. ***

Please do not use Lineage Root add-on for now , because it may cause boot loop. And this is because of binders and this will be fixed soon ( Check Faq 4 )

I think now its all cleared and please ask any doubts about this treble ROM before flashing

Faqs:

1) Are you thinking about, How to go back to normal ROM?

** Its very easy

** Just wipe all Partitions except storage

** Flash Roms Normally ( clean flash )

2) Is this Recovery works with normal ROMs?

** Yes ( flash any normal ROMs without any hesitation)

3) What's the difference with previous build?

** This is a test build for trying to boot some semi-GSIs(like MIUI 10 ARM),but since it switch to use 64 bit binder,you may have to flash GSIs built with 64 bit binder,but there are no much GSIs built with it.

You may experience stuck on splash with some GSIs.And most GSIs with 64 bit binder are larger than the space of system partition on our device.Thus if you have not much experience with it,don't flash it.

4) Can i flash Lineage Root add-on on 64bit binder enabled Treble ROM?

** Yes ( Please make sure that you flashed lineage root add-on on Treble 64bit binder enabled treble rom, if in case you flashed lineage root add-on on 32 bit binder enabled treble rom you might stuck with bootloop)

( more questions will be available with updates)

Sources:

: https://github.com/wt88047-treble

Contributors:

Many thanks to @mkfslsxbin for treble support

Many thanks to @Azim Javed and @kundan jangir and @hiren_fi as a testers

- balika011 [Open Source Kernel]

- Kumajaya

- nicknitewolf

- ssawrav

- Premaca

- and Testers of Telegram Group

without them this project is empty ( Please PM me if i missed someone)

Downloads

1) Treble enabled 32bit binder Lineage ROM : Redmi 2/Prime (wt88047)

1.1) Treble enabled 64bit binder Lineage ROM : Redmi 2/Prime (wt88047)

2) Treble enabled TWRP Recovery : Twrp (wt88047)

3) GSI links ( Please flash arm system images) : ARM GSI Links

4) New AOSP Pie GSI is available by @phhusson so you can flash this too but volte and Headset are not working

XDA:DevDB Information

[ROM][ARM][TREBLE][VOLTE][8.1.0][Unofficial][Lineage OS][Redmi 2/Prime][wt88047], ROM for the Xiaomi Redmi 2

Contributors

karthik km, mkfslsxbin

Source Code: https://github.com/LineageOS

ROM OS Version: 8.x Oreo

ROM Kernel: Linux 3.10.x

ROM Firmware Required: Lolipop and Treble TWRP 3.2.x

Based On: LineageOS

Version Information

Status: Beta

Beta Release Date: 2018-09-03

Created 2018-08-26

Last Updated 2018-12-30