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

Search This thread

rsalest

Member
Nov 4, 2021
6
1
Tried to flash realme ui 2.0 firmware & last lineage 19.0 update. Dirty flash (my bad, sorry, I forgot to format data). Now I have a beautiful brick. Pressing power & vol+ for 14 seconds takes me to the android logo. After 3 seconds in that stage, screen turns black and nothing happens. Can't get neither into fastboot mode nor into recovery. Any help?
 

Karthick Chandran

Senior Member
Mar 23, 2014
1,658
3,939
Chennai
Tried to flash realme ui 2.0 firmware & last lineage 19.0 update. Dirty flash (my bad, sorry, I forgot to format data). Now I have a beautiful brick. Pressing power & vol+ for 14 seconds takes me to the android logo. After 3 seconds in that stage, screen turns black and nothing happens. Can't get neither into fastboot mode nor into recovery. Any help?
dm me
 

rsalest

Member
Nov 4, 2021
6
1
Ok, problem solved. Unplugging the usb and keeping pressed Power & vol up & vol down for 10 seconds took me back to fastboot mode. From that moment on, piece of cake. How can we root lineage 19 and get similar features to magiskhide in order to use banking apps?
Thanks very much for your effort and sorry for the inconvenience.
 

efiallos

Member
Mar 22, 2018
14
4
Excelente actualización. todo funciona muy bien, todavía no tiene desbloqueo facial, pero la ROM es muy, muy fluida, muchas gracias por tan excelente ROM
 

kushal_neov

Senior Member
Jan 2, 2013
148
46
32
Delhi
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)
RECOVERY:OrangeFox A11
GAPPS: NikGApps | FlameGApps



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
UPI: karthick111@indianbank (do mention device name while donating) PM for any other mode of transaction

probably a very noob question as I am coming back to installing custom roms after 10 years...
Do i need to install an android 12 boot image for realme x2 pro before installing this rom?
 

eagleblue11

Member
Feb 1, 2018
19
3
The rom is amazing! I only have 1 problem and it is revolut app.. crashes at the "take a selfie" step even with gcam, is there any solution?
 

anureser

Member
Mar 17, 2011
5
1
Dear Karthick
I made several clean installations of lineageos19 with NikGapps on my x2pro and all of them suffer from power drain caused by com.google.android.gms. This service utilizes CPU on 30-50% everytime and spawning every 0.04 sec to log error:
W/SystemUpdate(6326): [Execution,ExecutionManager] Unable to create the action. Restart the execution from the scratch.
W/SystemUpdate(6326): java.lang.IllegalStateException
W/SystemUpdate(6326): at com.google.android.gms.update.execution.InstallationIntentOperation.onHandleIntent:)com.google.android.gms@[email protected] (150400-414534850):12)
W/SystemUpdate(6326): at com.google.android.chimera.IntentOperation.onHandleIntent:)com.google.android.gms@[email protected] (150400-414534850

People from here found solution https://forum.xda-developers.com/t/...ry-drain-due-to-google-play-services.4406617/

This is not good; it breaks pushes and needs su.
PS I still need to make check with FlameGapps, but people say all gapps do the same.
PPS I need NikGapps to start AndroidAuto, Flame Gapps looks like fails with АndroidАuto
 

Karthick Chandran

Senior Member
Mar 23, 2014
1,658
3,939
Chennai
Dear Karthick
I made several clean installations of lineageos19 with NikGapps on my x2pro and all of them suffer from power drain caused by com.google.android.gms. This service utilizes CPU on 30-50% everytime and spawning every 0.04 sec to log error:
W/SystemUpdate(6326): [Execution,ExecutionManager] Unable to create the action. Restart the execution from the scratch.
W/SystemUpdate(6326): java.lang.IllegalStateException
W/SystemUpdate(6326): at com.google.android.gms.update.execution.InstallationIntentOperation.onHandleIntent:)com.google.android.gms@[email protected] (150400-414534850):12)
W/SystemUpdate(6326): at com.google.android.chimera.IntentOperation.onHandleIntent:)com.google.android.gms@[email protected] (150400-414534850

People from here found solution https://forum.xda-developers.com/t/...ry-drain-due-to-google-play-services.4406617/

This is not good; it breaks pushes and needs su.
PS I still need to make check with FlameGapps, but people say all gapps do the same.
PPS I need NikGapps to start AndroidAuto, Flame Gapps looks like fails with АndroidАuto
No support for gapps related issues here
 
  • Like
Reactions: anureser

efiallos

Member
Mar 22, 2018
14
4
Dear Karthick

I tell you that there have been problems with the fingerprint, it erases the fingerprints from the security section.
The application lock error with Fingerprint is also presented, the fingerprint is not read correctly in the case of application unlocking, not so on the phone's lock screen, I do not know if it is a matter of the google api, sometimes it works good and other times it doesn't.
Thank you very much for your work, it is an excellent ROM.

The installation that I have, does not have Gapps, since it had a battery drain due to google play services, MicroGcore was installed in its place and the matter was resolved, renouncing some applications, such as banking ones.
Any comments on the fingerprint problem will be greatly appreciated.
 

adimegarocker

Member
Dec 14, 2020
14
2
face unlock is listed as working but im not able to find it in the settings. is this my problem or is that not supposed to be working
 

Luuta

Senior Member
Apr 25, 2016
130
53
Realme X2 Pro
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)
RECOVERY:OrangeFox A11
GAPPS: NikGApps | FlameGApps



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
UPI: karthick111@indianbank (do mention device name while donating) PM for any other mode of transaction
 

Luuta

Senior Member
Apr 25, 2016
130
53
Realme X2 Pro
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.
 

Karthick Chandran

Senior Member
Mar 23, 2014
1,658
3,939
Chennai
New update for LineageOS-19.1 RMX1931/CN

CHANGELOGS:

https://t.me/ForkLineageOSUpdates/189

📱 Device side changes
1. Initial lineage-19.1 build with latest lineage-18.1 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
 

doom_pd0

Member
Sep 14, 2012
7
2
Realme X2 Pro
so cool that dev for the phone is still happening, gonna try this one as soon as I finish some projects.
Does banking apps work with current ROM ?
 
Last edited:

weisdergeier

Senior Member
Mar 15, 2011
72
12
New update for LineageOS-19.1 RMX1931/CN

CHANGELOGS:

https://t.me/ForkLineageOSUpdates/189

📱 Device side changes
1. Initial lineage-19.1 build with latest lineage-18.1 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

Thanks for the update. Unfortunately the build in camera does not work for me and as a consequence I cannot scan the barcodes necessary to log into my banking apps.
 

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: karthick111@indianbank (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