[ROM][11.0.0_r48]LineageOS 18.1 for Realme X2 Pro (RMX1931/CN)[UNOFFICIAL]

Search This thread

Karthick Chandran

Senior Member
Mar 23, 2014
1,640
3,878
Chennai
New update for LineageOS-18.1 RMX1931/CN

CHANGELOGS:

1. Initial build for RUI2 firmware support (Added benefits: There won't be any random reboots for 12GB memory variants)
2. Misc changes

INSTRUCTIONS:
method 1:
1. Switch to RUI1.0 stock firmware & update to RUI2.0
2. Reboot to bootloader
3. Flash Recovery and vbmeta
4. Reboot to recovery
5. Flash latest lineage-18.1 package & google apps (optional)
6. Format data (Not the wipe), if you're formatting device through fastboot, use this command
Code:
fastboot format:ext4 userdata
7. Reboot to the system.

Downloads for method 1:
Global stock ROM: RUI2.0_F.14
CN stock ROM: RUI2.0_F.10

method 2:
1. Reboot to your existing recovery TWRP or OFOX
2. Flash firmware only file provided below
3. Flash latest lineage-18.1 package & google apps (optional)
4. Format data (Not the wipe), if you're formatting device through fastboot, use this command
Code:
fastboot format:ext4 userdata
5. Reboot to the bootloader, Flash Recovery
6. Reboot to the system

Downloads for method 2:
CN firmware only file: RUI2.0_F.10_RMX1931CN
Global firmware only file: RUI2.0_F.14_RMX1931L1

Recovery: Recovery
Vbmeta: vbmeta

Notes:
Clean flash is always recommended
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
 
Last edited:
Mar 8, 2015
16
1
Hai guys i need a help badly please,
when the update came at telegram group my mistake i didnt read the description just did a dirty flash as always
now am stuck at bootloader. I can find my device with fastboot so i try to flash recovery and vbmeta my bad luck still
stuck at bootloader. Please help me
 

juanantofb

Senior Member
Jun 14, 2013
354
59
Hi DEV:

2 problems

Orange Fox 11.06 always go to bootloader after flasing correctly.

Only i can flash 11.0 version.

Flasing global rom posted for you apear this:

sh-5.0 /tmp > twrp install 2a1a4060c9a24626bfeaa286a8469fa1.zip
Installing ZIP file '/data/media/0/2a1a4060c9a24626bfeaa286a8469fa1.zip'
Installing ZIP file '/data/media/0/2a1a4060c9a24626bfeaa286a8469fa1.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
Detecting Current Package
- Detected Standard Package
E3004: This package is for "RMX1931L1" devices; this is a "".Updater process end
ed with ERROR: 1
Error installing ZIP file '/data/media/0/2a1a4060c9a24626bfeaa286a8469fa1.zip'
Done processing script file

Regards.

New update for LineageOS-18.1 RMX1931/CN

CHANGELOGS:

1. Initial build for RUI2 firmware support (Added benefits: There won't be any random reboots for 12GB memory variants)
2. Misc changes

INSTRUCTIONS:
method 1:
1. Switch to RUI1.0 stock firmware & update to RUI2.0
2. Reboot to bootloader
3. Flash Recovery and vbmeta
4. Reboot to recovery
5. Flash latest lineage-18.1 package & google apps (optional)
6. Format data (Not the wipe)
7. Reboot to the system.

method 2:
1. Reboot to bootloader
2. Flash Recovery and vbmeta
3. Reboot to recovery
4. Flash RUI2.0 ozip firmware & don't reboot
5. Flash latest lineage-18.1 package & google apps (optional)
6. Format data (Not the wipe)
7. Reboot to the system, Flash recovery and vbmeta once again if you end up with "boot image destroyed".

Global firmware: RUI2.0_F.14
CN firmware: RUI2.0_F.10
Recovery: Recovery
Vbmeta: vbmeta

Clean flash is always recommended
Don't flash Magisk it won't work & isn't my concern.

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

_JoeD_

Member
Mar 31, 2016
30
8
Thanks Karthick for continuing to support our device!
I'm trying to follow method 2 but I also have the problem that the flashed recovery won't start. I've tried your provided OrangeFox as well as a TWRP that somebody in another post has developed for rui2. Both have the same result, I cannot start the recovery. For now I've flashed my old (twrp 3.5) again and I can boot into recovery. System still booted fine all along.

Flash looks normal to me, is 3 seconds for a 80mb flash reasonable?
Code:
root:lineage-rui2# fastboot flash recovery OrangeFox.img
Sending 'recovery' (81920 KB)                      OKAY [  2.584s]
Writing 'recovery'                                 OKAY [  0.495s]
Finished. Total time: 3.091s

Or is there anything else I need to do?
 
Mar 8, 2015
16
1
Thanks Karthick for continuing to support our device!
I'm trying to follow method 2 but I also have the problem that the flashed recovery won't start. I've tried your provided OrangeFox as well as a TWRP that somebody in another post has developed for rui2. Both have the same result, I cannot start the recovery. For now I've flashed my old (twrp 3.5) again and I can boot into recovery. System still booted fine all along.

Flash looks normal to me, is 3 seconds for a 80mb flash reasonable?
Code:
root:lineage-rui2# fastboot flash recovery OrangeFox.img
Sending 'recovery' (81920 KB)                      OKAY [  2.584s]
Writing 'recovery'                                 OKAY [  0.495s]
Finished. Total time: 3.091s

Or is there anything else I need to do?
Did you boot in to updated os? and can please share twrp link or file, am still at bootloader cant boot in to recovery!
 

_JoeD_

Member
Mar 31, 2016
30
8
Hai guys i need a help badly please,
when the update came at telegram group my mistake i didnt read the description just did a dirty flash as always
now am stuck at bootloader. I can find my device with fastboot so i try to flash recovery and vbmeta my bad luck still
stuck at bootloader. Please help me
You will have to find a recovery.img suited for RUI1. You can use the file you used last time or download the one Karthick has posted in the initial post here. Flash that with fastboot, then recovery should work again. Once in recovery wipe system and then install the version of LOS you had before (not the latest).
 
Last edited:
  • Like
Reactions: Benjamin Kuruvilla
Mar 8, 2015
16
1
You will have to find a recovery.img suited for RUI1. You can use the file you used last time or download the one Karthick has posted in the initial post here. Flash that with fastboot, then recovery should work again. Once in recovery wipe system and then install the version of LOS you had before (not the latest).
Thanks mate, Booted up to recovery .
 

Karthick Chandran

Senior Member
Mar 23, 2014
1,640
3,878
Chennai
Hai guys i need a help badly please,
when the update came at telegram group my mistake i didnt read the description just did a dirty flash as always
now am stuck at bootloader. I can find my device with fastboot so i try to flash recovery and vbmeta my bad luck still
stuck at bootloader. Please help me
Contact me in telegram
 
  • Like
Reactions: Benjamin Kuruvilla

juanantofb

Senior Member
Jun 14, 2013
354
59
Ey DEV, now aparently all work fine.

Thanks.



New update for LineageOS-18.1 RMX1931/CN

CHANGELOGS:

1. Initial build for RUI2 firmware support (Added benefits: There won't be any random reboots for 12GB memory variants)
2. Misc changes

INSTRUCTIONS:
method 1:
1. Switch to RUI1.0 stock firmware & update to RUI2.0
2. Reboot to bootloader
3. Flash Recovery and vbmeta
4. Reboot to recovery
5. Flash latest lineage-18.1 package & google apps (optional)
6. Format data (Not the wipe)
7. Reboot to the system.

Downloads for method 1:
Global stock ROM: RUI2.0_F.14
CN stock ROM: RUI2.0_F.10

method 2:
1. Reboot to your existing recovery TWRP or OFOX
2. Flash firmware only file provided below
3. Flash latest lineage-18.1 package & google apps (optional)
4. Format data (Not the wipe)
5. Reboot to the bootloader, Flash Recovery
6. Reboot to the system

Downloads for method 2:
CN firmware only file: RUI2.0_F.10_RMX1931CN
Global firmware only file: RUI2.0_F.14_RMX1931L1

Recovery: Recovery
Vbmeta: vbmeta

Notes:
Clean flash is always recommended
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
 
  • Like
Reactions: Karthick Chandran

Karthick Chandran

Senior Member
Mar 23, 2014
1,640
3,878
Chennai
Hi, for me is a big problem, i can not use my faborite player.

In RUI1.0 install and work fine.
Download it from 3rd party website, your device is detected as pixel 6 to make safety net pass, without it banking apps won't be working.. & it's a big problem for everyone than just for 1 guy who uses some music player when there is several alternatives exists.
 

juanantofb

Senior Member
Jun 14, 2013
354
59
Hi again, installed fron apk, but do not start.

Only for this bug for me is motive to flash old build of rom.

Regards.

Download it from 3rd party website, your device is detected as pixel 6 to make safety net pass, without it banking apps won't be working.. & it's a big problem for everyone than just for 1 guy who uses some music player when there is several alternatives exists.
 

juanantofb

Senior Member
Jun 14, 2013
354
59
Hi all, here are the answer to the problem of Pixel 6 and UAPP.


Regards.
 

Karthick Chandran

Senior Member
Mar 23, 2014
1,640
3,878
Chennai
Hi all, here are the answer to the problem of Pixel 6 and UAPP.


Regards.
Okay, will try with some other pixel devices build fingerprint on next build
 
  • Like
Reactions: juanantofb

Top Liked Posts

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

    CHANGELOGS:

    1. April Security patch
    2. Fixed abnormal battery drain issues
    3. Fingerprint improvements
    4. Enabling DC dim shouldn't flicker while unlocking device anymore
    5. 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
    1
    Ey DEV! now UAPP can be installed.

    Thanks a lot.


    New update for LineageOS-18.1 RMX1931/CN

    CHANGELOGS:

    1. April Security patch
    2. Fixed abnormal battery drain issues
    3. Fingerprint improvements
    4. Enabling DC dim shouldn't flicker while unlocking device anymore
    5. 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
    1
    I have the same problem. Any solution for this?
    Sorry for late reply, try this TWRP, it works with encryption for me:

    https://github.com/alextrack2013/rmx1931-stuff/releases/download/rui2/twrp-3.6.1_11-0-RMX1931.img
  • 13
    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)
    • Safetynet (Without magisk)
    • 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:
    • Nothing critical as of now



    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 11 arm64 together (Download Gapps from downloads section)
    • Done-Reboot Now
    • Enjoy the clean Rom



    Downloads:
    ROM:
    Realme X2 Pro (RMX1931)
    RECOVERY:
    Older builds: OrangeFox_RUI1.0_A11
    Newer builds: OrangeFox_RUI2.0_A11
    GAPPS: NikGApps | BiTGApps


    Notes:
    * Use the recommended recovery


    Source code:
    ROM: https://github.com/ForkLineageOS/android
    KERNEL: https://github.com/karthick111/kernel_realme_sm8150-R/commits/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


    XDA:DevDB Information
    LineageOS-18.1 for Realme X2 Pro, ROM for the Realme X2 Pro

    Contributors
    karthick mostwanted
    ROM OS Version: Android 10
    ROM Kernel: Linux 4.14
    ROM Firmware Required: RealmeUI firmware & Ofox Android 11 recovery

    Version Information
    Status:
    Beta

    Created 2020-10-16
    Last Updated 2020-11-27
    9
    New update for LineageOS-18.1 RMX1931/CN

    CHANGELOGS:

    1. Fixed BT media audio

    Clean flash is always recommended / Dirty flash works though if you're on previous lineage-18.1 build

    As usual download links in OP
    Thanks to the testers & contributors
    9
    New update for LineageOS-18.1 RMX1931/CN

    CHANGELOGS:

    1. Initial build for RUI2 firmware support (Added benefits: There won't be any random reboots for 12GB memory variants)
    2. Misc changes

    INSTRUCTIONS:
    method 1:
    1. Switch to RUI1.0 stock firmware & update to RUI2.0
    2. Reboot to bootloader
    3. Flash Recovery and vbmeta
    4. Reboot to recovery
    5. Flash latest lineage-18.1 package & google apps (optional)
    6. Format data (Not the wipe), if you're formatting device through fastboot, use this command
    Code:
    fastboot format:ext4 userdata
    7. Reboot to the system.

    Downloads for method 1:
    Global stock ROM: RUI2.0_F.14
    CN stock ROM: RUI2.0_F.10

    method 2:
    1. Reboot to your existing recovery TWRP or OFOX
    2. Flash firmware only file provided below
    3. Flash latest lineage-18.1 package & google apps (optional)
    4. Format data (Not the wipe), if you're formatting device through fastboot, use this command
    Code:
    fastboot format:ext4 userdata
    5. Reboot to the bootloader, Flash Recovery
    6. Reboot to the system

    Downloads for method 2:
    CN firmware only file: RUI2.0_F.10_RMX1931CN
    Global firmware only file: RUI2.0_F.14_RMX1931L1

    Recovery: Recovery
    Vbmeta: vbmeta

    Notes:
    Clean flash is always recommended
    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
    8
    New update for LineageOS-18.1 RMX1931/CN

    CHANGELOGS:

    1. Added more accents from Aospa
    2. Use PixelDocumentsUIGoogleOverlay
    3. Fixed 15 second timer for applock
    4. OOS style all clear button
    5. Updated device configs from proton aosp
    6. Allow to edit/remove/add tile with one click
    7. Faster app switching
    8. Add time spent in app in app settings from Wellbeing
    9. Use 4 rows in qs
    10. added immersive navigation
    11. added option to enable media art blur on lockscreen
    12. added dead zone in gesture settings
    13. Probably single tap vibration should be better now
    14. Fixed some minor stutters (was noticeable on 60hz)
    15. Misc changes

    Clean flash is always recommended / Dirty flash works though if you're on previous lineage-18.1 build

    As usual download links in OP
    Thanks to the testers & contributors
    8
    New update for LineageOS-18.1 RMX1931/CN

    CHANGELOGS:

    1. Lineage upstream
    2. March security patch
    3. Asus stitchimage (long screenshot)
    4. Updated kernel from kernel_common/android-4.14-stable
    5. Updated kernel to CAF tag: LA.UM.9.1.r1-08600-SMxxx0.0
    6. RealmeSettings improvements
    7. Disabled auto brightness by default
    8. SELinux is Enforcing now 🔥
    9. Misc changes & cleanup
    10. Fixed HDR issues

    Clean flash is always recommended / Dirty flash works though if you're on previous lineage-18.1 build

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