[ROM][12L]LineageOS 19.1 for Realme X2 Pro (RMX1931/CN)[UNOFFICIAL]

Search This thread

Karthick Chandran

Senior Member
Mar 23, 2014
1,653
3,918
Chennai
lineageos-vector-logo.png



LineageOS is a free, community-built, aftermarket firmware distribution of Android 6, 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 :

  • Audio
  • Bluetooth
  • Camera
  • Display
  • Encryption
  • Face unlock
  • Fingerprint scanner
  • GPS
  • NFC
  • RIL (VoLTE calls, SMS, Data)
  • Sensors
  • Video Playback
  • Wi-Fi



Device specific features:
  • Smart Charging. check Settings -> Realme Settings
  • DC dimming (flicker free feature). check Settings -> Realme Settings
  • sRGB mode. check Settings -> Realme Settings
  • Game mode (touch boost & performance mode). check Settings -> Realme Settings
  • Buttons/toggle for display hz (forced, 6hz & 90hz). check Settings -> Realme Settings
  • Screen off gestures. check Settings -> system -> touchscreen gestures
  • Ambient gestures (AOD, Pickup, handwave & pocket). check Settings -> Display -> Lockscreen display -> Ambient display



Known issues:
  • Disabled Encryption (For a while until we get a newer recovery)
  • Some of the Realme settings features (will be fixed sooner or later)
  • Maybe something else can be found as well
  • Most of the lineage features maybe buggy or probably won't work, LineageOS team is working on it
  • SELinux is permissive



Report bugs:
  • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
  • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
  • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
  • Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues.

Code:
What is your--
LineageOS version:
LineageOS Download url:
Gapps version:

Did you--
wipe:
restore with titanium backup:
reboot after having the issue:

Are you using--
a task killer:
a non-stock kernel (Ignore):
other modifications:

Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

DO NO POST BUGS WITHOUT LOGS AND PROPER STEPS TO REPRODUCE THE ISSUE

DO NO POST BUGS IF YOU ARE USING CUSTOM KERNEL or ANY MODULE




Follow Instructions Carefully otherwise you will get error :

  • Reboot to recovery (Recommended recovery listed in downloads section)
  • Format data, Wipe cache & dalvik-cache
  • Flash ROM, Gapps 12 arm64 together (Download Gapps from downloads section)
  • Done-Reboot Now
  • Enjoy the clean Rom



Downloads:
ROM:
Realme X2 Pro (RMX1931) (gapps variant)
RECOVERY:OrangeFox A11



Notes:
* Use the recommended recovery
* Use only pattern for lockscreen, rest methods will cause issues with recovery failing to decrypt data
* Incase if you're stuck on recovery logo, you'll have to format data using fastboot,
Code:
fastboot -w



Source code:
ROM: https://github.com/ForkLineageOS/android
KERNEL: https://github.com/HyperTeam/android_kernel_realme_sm8150/tree/lineage-18.1



CREDITS:
LineageOS
Team Hyper
CAF
Testers (Sorry, I couldn't mention everyone here)
Special thanks to Donors for donating me the device :highfive:



DONATIONS:
Please consider donating if you enjoy my work. It will be used for server expenses, Ty
Paypal donation link: https://www.paypal.me/karthick0698
Patreon: https://www.patreon.com/karthick111
UPI: [email protected] (do mention device name while donating) PM for any other mode of transaction
 
Last edited:

AnEsLo

New member
Nov 4, 2021
2
0
Hi.
I test the rom and I have a problem with it. When I try reboot to TWRP I can´t. It stand in the TWRP logo and I can´t start no Lineage no TWRP.
I read that it´s a problem with Android 12 and TWRP.
Thanks for your work.
 

rsalest

Member
Nov 4, 2021
5
1
"Android System Intelligence app" crashes continually (every five minutes approx)
Tested multiple times with lineage-19.0-20211029-UNOFFICIAL-RMX1931.zip (downloaded from sourceforge webpage) with both NikGApps (omni, stock and full) and FlameGApps (basic, full). All partitions previously wiped from twrp and data formatted (clean installation). Personal data and apps restored from google backup. I've read in other forums it happens when receiving notifications. Could'nt confirm. Problem ceases disabling the app.
Great job and thanks very much for the rom!!!
 

hunzala1312

New member
May 9, 2019
1
0
1)Finger print scanner not working
2) you tube video is stuttering i don't know why
3) face unlock also not showing
Waiting for these changes to get fixed other wise great rom!
 

Karthick Chandran

Senior Member
Mar 23, 2014
1,653
3,918
Chennai
1)Finger print scanner not working
2) you tube video is stuttering i don't know why
3) face unlock also not showing
Waiting for these changes to get fixed other wise great rom!
1. fingerprint works, did you jump in straight from stock rom.. if yes, which version ?
2. attach logs of the youtube issues
3. face unlock is an addon, it cant be an issue at all (if it gets ported, it will be added)
 

Aioaiajs

New member
Nov 3, 2021
4
0
Tested.
Beside some minor bugs it's overall good but the fact that it doesn't have signature spoofing permission is really annoying. I tried to use FakeGapps Xposed Module and it doesn't seem to work correctly (LSposed seems not to work) so it's impossible to get notifications using MicroG.
Could you please add support for signature spoofing?
 
Last edited:

ellie_blank

New member
Sep 27, 2019
3
1
So i noticed 2 things,
1) the lockscreen rotates if auto-rotate is on even if the rotate lock screen is turned off.
2) i dont get any vibration, in LOS 18.1 (your rom) it worked fine, altough i tweaked it a lil with franco kernel manager to be a lil bit more forcefull. It works while booting and while in twrp, just not while in the os. i tried testing it with an app where it didnt work either.
If i should upload a log would i just use matlog for example, and do you want it tested with notifications or with an app?

Im currently running the linked LOS img, the latest NikGapps Core and the latest magisk canary build, no further modifications on the system. For installing i followed the instructions besides using the latest official twrp build instead of the provided OrangeFox Recovery (i had problems mounting the data partition with that one) and i came from your latest LOS 18.1 build without formating the system partition or reinstalling realme ui
 

weisdergeier

Senior Member
Mar 15, 2011
70
12
Thanks for all the great work. Can we expect a new release soon? Would love to wait for some initial bug fixes and new features such as face unlock.
 
Last edited:

weisdergeier

Senior Member
Mar 15, 2011
70
12
I can confirm that "Android System Intelligence app" keeps crashing an disabling it solves the issue for now. I think the confusion around Face Unlock not working stems from the fact that it is listed as a working feature in the original post. Also I seem to be limited to 60hz and smartcharge not working but I assume those will get fixed with the other Realme settings at some point. Other than that it is looking good, thanks for the great work!
 
Last edited:

Gino106

New member
Dec 14, 2021
2
0
Thanks for your instruction.
I have cleaned data, system and flashed this lineageOS and only faced the error "Failed to mount /metadata partition". NikGApps installation is OK.
Now, I'm stuck at Fastboot + OrangeFox recovery, I cannot boot into system.
Could you please help that what I should do for my x2pro to boot to the system?
Thanks
 

weisdergeier

Senior Member
Mar 15, 2011
70
12
Can anybody else confirm that long press power button to turn on flashlight does not work? I can enable it under Settings - System - Buttons but it does not work.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    lineageos-vector-logo.png



    LineageOS is a free, community-built, aftermarket firmware distribution of Android 6, 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 :

    • Audio
    • Bluetooth
    • Camera
    • Display
    • Encryption
    • Face unlock
    • Fingerprint scanner
    • GPS
    • NFC
    • RIL (VoLTE calls, SMS, Data)
    • Sensors
    • Video Playback
    • Wi-Fi



    Device specific features:
    • Smart Charging. check Settings -> Realme Settings
    • DC dimming (flicker free feature). check Settings -> Realme Settings
    • sRGB mode. check Settings -> Realme Settings
    • Game mode (touch boost & performance mode). check Settings -> Realme Settings
    • Buttons/toggle for display hz (forced, 6hz & 90hz). check Settings -> Realme Settings
    • Screen off gestures. check Settings -> system -> touchscreen gestures
    • Ambient gestures (AOD, Pickup, handwave & pocket). check Settings -> Display -> Lockscreen display -> Ambient display



    Known issues:
    • Disabled Encryption (For a while until we get a newer recovery)
    • Some of the Realme settings features (will be fixed sooner or later)
    • Maybe something else can be found as well
    • Most of the lineage features maybe buggy or probably won't work, LineageOS team is working on it
    • SELinux is permissive



    Report bugs:
    • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
    • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
    • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
    • Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues.

    Code:
    What is your--
    LineageOS version:
    LineageOS Download url:
    Gapps version:
    
    Did you--
    wipe:
    restore with titanium backup:
    reboot after having the issue:
    
    Are you using--
    a task killer:
    a non-stock kernel (Ignore):
    other modifications:
    
    Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

    DO NO POST BUGS WITHOUT LOGS AND PROPER STEPS TO REPRODUCE THE ISSUE

    DO NO POST BUGS IF YOU ARE USING CUSTOM KERNEL or ANY MODULE




    Follow Instructions Carefully otherwise you will get error :

    • Reboot to recovery (Recommended recovery listed in downloads section)
    • Format data, Wipe cache & dalvik-cache
    • Flash ROM, Gapps 12 arm64 together (Download Gapps from downloads section)
    • Done-Reboot Now
    • Enjoy the clean Rom



    Downloads:
    ROM:
    Realme X2 Pro (RMX1931) (gapps variant)
    RECOVERY:OrangeFox A11



    Notes:
    * Use the recommended recovery
    * Use only pattern for lockscreen, rest methods will cause issues with recovery failing to decrypt data
    * Incase if you're stuck on recovery logo, you'll have to format data using fastboot,
    Code:
    fastboot -w



    Source code:
    ROM: https://github.com/ForkLineageOS/android
    KERNEL: https://github.com/HyperTeam/android_kernel_realme_sm8150/tree/lineage-18.1



    CREDITS:
    LineageOS
    Team Hyper
    CAF
    Testers (Sorry, I couldn't mention everyone here)
    Special thanks to Donors for donating me the device :highfive:



    DONATIONS:
    Please consider donating if you enjoy my work. It will be used for server expenses, Ty
    Paypal donation link: https://www.paypal.me/karthick0698
    Patreon: https://www.patreon.com/karthick111
    UPI: [email protected] (do mention device name while donating) PM for any other mode of transaction
    10
    There won't be any updates after this, I feel its time for LineageOS-20 based on Android-13, NO ETA
    5
    New update for LineageOS-19.0 RMX1931/CN

    CHANGELOGS:

    1. February security patch
    2. Fixed weather on lockscreen
    3. Fixed some issues with reboot tile
    # Checkout full feature list here https://telegra.ph/Forklineageos-Android-12-Features-02-16

    📱 Device side changes
    1. Fixed green tint issue & DC dim switch related issues
    2. Fixed installation on few CN variants
    3. Updated kernel to latest CAF Tag: LA.UM.9.1.r1-11600-SMxxx0.0
    4. Updated Vendor Security patch level
    5. Removed aux camera lens restrictions
    6. Misc changes

    Notes:
    Clean flash is always recommended, dirty flash will work but at your own risk
    Don't flash Magisk it won't work & isn't my concern.
    Formatting userdata using fastboot method will switch the default file system to f2fs, so it's recommended to format only using Recovery

    As usual download links in OP
    Thanks to the testers & contributors
    5
    Interesting to see that kernel 4.4 will get official lineage 19 support, but 3.8 and under won't. As my Realme X2Pro is 4.1, though, it's in no man's land 😂.

    I imagine that the phone is getting long in the tooth for you now, Karthick, but I do hope that you are able to move the phone onto that platform or get pretty close to it.

    The current issues with Lineage 18 and 19 for the phone have prevented me from making the jump, but my previous phone ported to lineage very well and so I live in hope that you will be kind enough to get us there with this one. If you're thinking of moving on to another phone, please let us know. I'm very excited about the recent news. In the meantime, thank you so much for your tireless work on the phone to date, I'm so grateful for developers like yourself working for undeserving people like myself. It's truly appreciated.
    4
    New update for LineageOS-19.1 RMX1931/CN

    🛠Changelog:
    * Added Gamespace feature
    * Misc changes

    📱 Device side changes
    * Fixed default camera & 3rd party related issues
    * Fixed audio related issues when Google assistant is set as default
    * Fixed thermal related issues
    * Fixed issues with location indicator
    * Ability to disable sim cards
    * Misc changes

    Notes:
    Clean flash is always recommended, dirty flash will work but at your own risk
    Don't flash Magisk it won't work & isn't my concern.
    Formatting userdata using fastboot method will switch the default file system to f2fs, so it's recommended to format only using Recovery

    As usual download links in OP
    Thanks to the testers & contributors