• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][RMX1971][9.0.0][UNOFFICIAL] LineageOS 16.0 for Realme 5 Pro / Realme Q

thesprintster

Member
Dec 9, 2018
38
158
0
V830 Tauri


Code:
/*
 * I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...). 
 * Please do some research if you have any concerns about features included in the products you find here 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. 
 * Your warranty will be void if you tamper with any part of your device / software.
 * Same statement for XDA.
 */

LineageOS is a free, community built, aftermarket firmware distribution of Android 9 (Pie), 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)
Fingerprint
Wi-Fi
Bluetooth
Back camera
Front camera
Audio
Sensors
Flash
GPS
VoLTE

Known issues :
Selinux permissive
Report with logcat if found any

Instructions :
Download the latest build
Reboot to recovery
Make sure you're using stock unmodified vendor.
Wipe data, cache, system ( Don't wipe vendor )
Flash the latest build and GApps
Reboot

Downloads :
Unofficial Builds : Click Here

Source :
Device tree
Kernel tree

Credits :
@SagarMakhar for his work on Realme X
Thanks to all testers who helped in testing


XDA:DevDB Information
[ROM][RMX1971][9.0.0][UNOFFICIAL] LineageOS 16.0, ROM for the Realme 5 Pro

Contributors
thesprintster, SagarMakhar
Source Code: https://github.com/lineageos

ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: TWRP
Based On: Lineage OS

Version Information
Status: Stable

Created 2019-10-18
Last Updated 2019-10-18
 
Last edited:

yog12

Senior Member
Jun 10, 2013
163
326
63
23
Pune
Amazing job brother
using as daily driver from last 2 weeks ^_^

Everything Works perfect , Stable ROM :fingers-crossed::laugh:

note :
Keep ambiance display (Always-on display) off ( because our touch drivers are outdated ;p touch doesn't work after booting device, need to press power button on and off to get touch working and with ambiance display on screen doesn't sleep so touch won't work ;p so simple keep it off ;p )

this should get fixed in upcoming builds so relax ;)
 
Last edited:

Karan Yuvraj Singh

New member
Mar 20, 2016
4
0
0
Touch is not working



Code:
/*
 * I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...). 
 * Please do some research if you have any concerns about features included in the products you find here 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. 
 * Your warranty will be void if you tamper with any part of your device / software.
 * Same statement for XDA.
 */

LineageOS is a free, community built, aftermarket firmware distribution of Android 9 (Pie), 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)
Fingerprint
Wi-Fi
Bluetooth
Back camera
Front camera
Audio
Sensors
Flash
GPS
VoLTE
Fingerprint

Known issues :
Selinux permissive
Report with logcat if found any

Instructions :
Download the latest build
Reboot to recovery
Make sure you're using stock unmodified vendor.
Wipe data, cache, system ( Don't wipe vendor )
Flash the latest build and GApps
Reboot

Downloads :
Unofficial Builds : Click Here

Source :
Device tree
Kernel tree

Credits :
@SagarMakhar for his work on Realme X
Thanks to all testers who helped in testing


XDA:DevDB Information
[ROM][RMX1971][9.0.0][UNOFFICIAL] LineageOS 16.0, ROM for the Realme 5 Pro

Contributors
thesprintster, SagarMakhar
Source Code: https://github.com/lineageos

ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: TWRP
Based On: Lineage OS

Version Information
Status: Stable

Created 2019-10-18
Last Updated 2019-10-18
touch is not working.
it was working initially then screen became irresponsive on reboot
 
Last edited:

mfauzanalg

New member
Jan 9, 2017
3
0
0
How is it, is there any serious bug in this rom?
How is the camera quality? Can i still use the wide angle lens as well? How if i wanna go back to Color Os? Vooc still working?
 

greenys'

Senior Member
Dec 15, 2014
806
296
63
23
Sümeg/Csepel
How is it, is there any serious bug in this rom?
How is the camera quality? Can i still use the wide angle lens as well? How if i wanna go back to Color Os? Vooc still working?
Can't even flash lineage os with the twrp recovery provided by the same guy. I'm stuck in recovery now and can't flash a single thing for system_root cannot be mounted invalid anrgument. Don't try this.
 

mfauzanalg

New member
Jan 9, 2017
3
0
0
Can't even flash lineage os with the twrp recovery provided by the same guy. I'm stuck in recovery now and can't flash a single thing for system_root cannot be mounted invalid anrgument. Don't try this.
Hmmm, so what can you do noww to repair it? I rlly want aosp rom on my device :((( i dont like color os :((
 

thesprintster

Member
Dec 9, 2018
38
158
0
V830 Tauri
touch is not working.
it was working initially then screen became irresponsive on reboot
U have to flash it again.. Turn of ambient diaply immediately after booting.. There is some.problem with that..
WIll address it in next build

Can't even flash lineage os with the twrp recovery provided by the same guy. I'm stuck in recovery now and can't flash a single thing for system_root cannot be mounted invalid anrgument. Don't try this.
Some Non indian firmware devices are facing trouble while flashing. I have to inspect it
 

jijoejoe123

Senior Member
Oct 1, 2014
303
85
0
i don't know the author included it in the download page, so i'm asking
-----------------------------
TWRP flashing and LenageOS installation REALME 5 pro/Q

1)make sure that your bootloader is unlocked.
you can vist this link https://c.realme.com/in/post-details/1184734239149522944 OR
this youtube video
for referance

2)after you have a unlocked bootloader, download the neccessory files required in your PC
===>platform tools (fastboot files) link: https://dl.google.com/android/repository/platform-tools-latest-windows.zip
===>TWRP recovery img . link: https://drive.google.com/drive/folders/1_pRUK4bj74N6xErkpFLr--2GoKyGxUtl
===> vbmeta img . link: https://drive.google.com/file/d/1kq9rV3eF8rYAUwmUvXo-8vttYIhVcQCb/view
===>Leneage OS for realme 5 pro . link:https://drive.google.com/drive/folders/1wa4bllIa6WgH1STAszdxC_xkBTEHDSiT

3) once you have all the files
flash the vbmeta.img with fastboot..
COMMAND : fastboot flash vbmeta vbmeta.img

4) after that flash the recovery
COMMAND: fastboot flash recovery twrp-RMX1971-20191018.img

5) after that reboot into recovery by pressing the volume button on your phone and see " reboot recovery" in a red font
and press power button when u see that.
--.OPTIANAL AND RISKY step {IF YOU WANT TO BOOT INTO COLOROS AFTER INSTALLING TWRP, FLASH THE TWRP RECOVERY IMG AS BOOT ,i dont know this work in new twrp.but worked for me(fastboot flash boot twrp-RMX1971-20191018.img )}

6)after u successfully get the twrp menu make a backup of your whole system(all partitions) in case something goes wrong and move the backup into a lap or memory card


7)install the LenageOS and gapps . and reboot into fastboot mode and do step 3 again but this time flash vbmeta.img from this link:https://drive.google.com/drive/folders/1wa4bllIa6WgH1STAszdxC_xkBTEHDSiT

8) wipe the whole data partition

9) reboot normally.

IN CASE YOU ARE STUCK IN THE RECOVERY MODE OR FASTBOOT MODE FEEL FREE TO CONTACT ME @azharsalim135
 

star.vest2

New member
Apr 19, 2016
3
0
0
thanks man i managed to boot after i flashed the vbmeta, but any lockscreen method doesn't work. And i forgot to backup the color os so i can't get back to it. Any ideas how to flash magisk? @jijoejoe123
 

greenys'

Senior Member
Dec 15, 2014
806
296
63
23
Sümeg/Csepel
-----------------------------
TWRP flashing and LenageOS installation REALME 5 pro/Q

1)make sure that your bootloader is unlocked.
you can vist this link https://c.realme.com/in/post-details/1184734239149522944 OR
this youtube video
for referance

2)after you have a unlocked bootloader, download the neccessory files required in your PC
===>platform tools (fastboot files) link: https://dl.google.com/android/repository/platform-tools-latest-windows.zip
===>TWRP recovery img . link: https://drive.google.com/drive/folders/1_pRUK4bj74N6xErkpFLr--2GoKyGxUtl
===> vbmeta img . link: https://drive.google.com/file/d/1kq9rV3eF8rYAUwmUvXo-8vttYIhVcQCb/view
===>Leneage OS for realme 5 pro . link:https://drive.google.com/drive/folders/1wa4bllIa6WgH1STAszdxC_xkBTEHDSiT

3) once you have all the files
flash the vbmeta.img with fastboot..
COMMAND : fastboot flash vbmeta vbmeta.img

4) after that flash the recovery
COMMAND: fastboot flash recovery twrp-RMX1971-20191018.img

5) after that reboot into recovery by pressing the volume button on your phone and see " reboot recovery" in a red font
and press power button when u see that.
--.OPTIANAL AND RISKY step {IF YOU WANT TO BOOT INTO COLOROS AFTER INSTALLING TWRP, FLASH THE TWRP RECOVERY IMG AS BOOT ,i dont know this work in new twrp.but worked for me(fastboot flash boot twrp-RMX1971-20191018.img )}

6)after u successfully get the twrp menu make a backup of your whole system(all partitions) in case something goes wrong and move the backup into a lap or memory card


7)install the LenageOS and gapps . and reboot into fastboot mode and do step 3 again but this time flash vbmeta.img from this link:https://drive.google.com/drive/folders/1wa4bllIa6WgH1STAszdxC_xkBTEHDSiT

8) wipe the whole data partition

9) reboot normally.

IN CASE YOU ARE STUCK IN THE RECOVERY MODE OR FASTBOOT MODE FEEL FREE TO CONTACT ME @azharsalim135
Nothing changes. Still can't flash a thing from twrp. Error: 7, failed to mount /system_root (invalid argument)