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

Search This thread

Karthick Chandran

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

🛠Changelog:
* June security patch
* Misc changes

📱 Device side changes
* Misc changes

Instructions for starters from rui1 firmware:
1. Flash rui2 firmware of your variant listed below
CN firmware only file: RUI2.0_F.10_RMX1931CN
Global firmware only file: RUI2.0_F.14_RMX1931L1
2. Flash rui2 supported recovery Recoveries for RUI2
3. Reboot recovery
4. Flash lineage-19.1 package & Google apps
5. Format data
6. Reboot to system

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
 

Luuta

Senior Member
Apr 25, 2016
114
52
Realme X2 Pro
New update for LineageOS-19.1 RMX1931/CN

🛠Changelog:
* June security patch
* Misc changes

📱 Device side changes
* Misc changes

Instructions for starters from rui1 firmware:
1. Flash rui2 firmware of your variant listed below
CN firmware only file: RUI2.0_F.10_RMX1931CN
Global firmware only file: RUI2.0_F.14_RMX1931L1
2. Flash rui2 supported recovery Recoveries for RUI2
3. Reboot recovery
4. Flash lineage-19.1 package & Google apps
5. Format data
6. Reboot to system

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
Do you have time to update what's working, what's not, and possibly give an idea of the roadmap for the phone for the rest of the year? Like "I'm hoping to get this and that working by Christmas" or "The plan is to move onto Android 20 by next Spring". Or (a) have you done that already on the sticky post (b) you're far too busy and don't know what will be done until it's done? (I'm not expecting miracles, just interested to see if there is a plan).

And, greatly appreciated as always.
 

Karthick Chandran

Senior Member
Mar 23, 2014
1,650
3,898
Chennai
Do you have time to update what's working, what's not, and possibly give an idea of the roadmap for the phone for the rest of the year? Like "I'm hoping to get this and that working by Christmas" or "The plan is to move onto Android 20 by next Spring". Or (a) have you done that already on the sticky post (b) you're far too busy and don't know what will be done until it's done? (I'm not expecting miracles, just interested to see if there is a plan).

And, greatly appreciated as always.
There is no roadmap, everything goes on a flow. I work on it when I get a free time.
 

Hemant Khatri

Member
Feb 14, 2016
7
2
22
Jodhpur
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
U
New update for LineageOS-19.1 RMX1931/CN

🛠Changelog:
* June security patch
* Misc changes

📱 Device side changes
* Misc changes

Instructions for starters from rui1 firmware:
1. Flash rui2 firmware of your variant listed below
CN firmware only file: RUI2.0_F.10_RMX1931CN
Global firmware only file: RUI2.0_F.14_RMX1931L1
2. Flash rui2 supported recovery Recoveries for RUI2
3. Reboot recovery
4. Flash lineage-19.1 package & Google apps
5. Format data
6. Reboot to system

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
Gapps is missing
 

Karthick Chandran

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

🛠Changelog:
* July security patch
* Misc changes

📱 Device side changes
* Switched to two-stage init mounting (Now that we have ramdisk, magisk can be flashed :D )
* Misc changes

Instructions for starters from rui1 firmware:
1. Flash rui2 firmware of your variant listed below
CN firmware only file: RUI2.0_F.10_RMX1931CN
Global firmware only file: RUI2.0_F.14_RMX1931L1
2. Flash rui2 supported recovery Recoveries for RUI2
3. Reboot recovery
4. Flash lineage-19.1 package & Google apps
5. Format data
6. Reboot to the system

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 user-data 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
 

Karthick Chandran

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

📱 Device side changes
* Switched to source built HWC
* Fixes to fingerprint scanner
* Removed buggy forced 90hz
* Enabled encryption (Requires data format now & have otg with you from now on)
* Misc changes

Instructions for starters from rui1 firmware:
1. Flash rui2 firmware of your variant listed below
CN firmware only file: RUI2.0_F.10_RMX1931CN
Global firmware only file: RUI2.0_F.14_RMX1931L1
2. Flash rui2 supported recovery Recoveries for RUI2
3. Reboot recovery
4. Flash lineage-19.1 package & Google apps
5. Format data
6. Reboot to the system

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 user-data 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
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    New update for LineageOS-19.1 RMX1931/CN

    📱 Device side changes
    * Switched to source built HWC
    * Fixes to fingerprint scanner
    * Removed buggy forced 90hz
    * Enabled encryption (Requires data format now & have otg with you from now on)
    * Misc changes

    Instructions for starters from rui1 firmware:
    1. Flash rui2 firmware of your variant listed below
    CN firmware only file: RUI2.0_F.10_RMX1931CN
    Global firmware only file: RUI2.0_F.14_RMX1931L1
    2. Flash rui2 supported recovery Recoveries for RUI2
    3. Reboot recovery
    4. Flash lineage-19.1 package & Google apps
    5. Format data
    6. Reboot to the system

    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 user-data 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
  • 10
    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
    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
    4
    New update for LineageOS-19.1 RMX1931/CN

    📱 Device side changes
    * Switched to source built HWC
    * Fixes to fingerprint scanner
    * Removed buggy forced 90hz
    * Enabled encryption (Requires data format now & have otg with you from now on)
    * Misc changes

    Instructions for starters from rui1 firmware:
    1. Flash rui2 firmware of your variant listed below
    CN firmware only file: RUI2.0_F.10_RMX1931CN
    Global firmware only file: RUI2.0_F.14_RMX1931L1
    2. Flash rui2 supported recovery Recoveries for RUI2
    3. Reboot recovery
    4. Flash lineage-19.1 package & Google apps
    5. Format data
    6. Reboot to the system

    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 user-data 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