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

Search This thread

weisdergeier

Senior Member
Mar 15, 2011
70
12
Same problem here, everything seems to work until reboot to recovery for the first time.
Ofox didn't decrypt data partition, and stuck in recovery forever, no way to boot system again.

Tried TWRP-3.6 / Ofox-R11.0_6 / Ofox-R11.0_7 no way to fix it...
I have the same problem. Any solution for this?
 

juanantofb

Senior Member
Jun 14, 2013
356
59
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
 
  • Like
Reactions: Karthick Chandran

Karthick Chandran

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

CHANGELOGS:

1. May Security Patch merged
2. Updated LauncherUI and action icons
3. Round system dialogs, buttons and progress bars
4. Added GCam Go instead of Camera2 (X2 pro uses Snap. So ignore)
5. Updated Prebuilt APK's for DuckDuckGo and Smart Gallery Pro
6. Many SystemUI, Graphics and Display updates
7. Updated many icons from MD2 and OOS
8. Fixed lockscreen theme issues
9. Lineage upstream
many minor stuff here and there
11. Fixed dc dim issue
12. Fixed thermal related issues
13. 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
 
  • Like
Reactions: BB23482 and Luuta

killah78

Member
May 18, 2009
17
15
Just a note after I needed to do a full clean install of the newest update:
Magisk 24.3 works very well with all banking apps. Even those where magiskhide failed.
The installation did the trick: check Magisk github installation instructions. You need to create a patched recovery (i used the twrp one) and flash that into recovery. Our problem here is the missing ramdisk, that the "normal" install does not work.
But it is all very well decribed on the magisk github.
Thanks for that fine ROM.
 
  • Like
Reactions: BB23482 and Luuta

Karthick Chandran

Senior Member
Mar 23, 2014
1,650
3,898
Chennai
Just a note after I needed to do a full clean install of the newest update:
Magisk 24.3 works very well with all banking apps. Even those where magiskhide failed.
The installation did the trick: check Magisk github installation instructions. You need to create a patched recovery (i used the twrp one) and flash that into recovery. Our problem here is the missing ramdisk, that the "normal" install does not work.
But it is all very well decribed on the magisk github.
Thanks for that fine ROM.
Patched recovery or boot?
 
  • Like
Reactions: Luuta

killah78

Member
May 18, 2009
17
15
tried both, but with a patched boot it stopped booting(because oft missing ramdisk i guess). with a patched twrp recovery it works.
What I dont understand is, that magisk is always enabled, even if i do a normal restart and not going via recovery. But OK. I am happy, because all is working. Banking apps. Safetynet test apps all passes. :)
 

tournet

Member
Sep 24, 2011
39
7
tried both, but with a patched boot it stopped booting(because oft missing ramdisk i guess). with a patched twrp recovery it works.
What I dont understand is, that magisk is always enabled, even if i do a normal restart and not going via recovery. But OK. I am happy, because all is working. Banking apps. Safetynet test apps all passes. :)
Could you please tell me which recovery you use. I patched img of orangefox and twrp. both of them can't boot.
 

killah78

Member
May 18, 2009
17
15
But according to OP he says it won't work on this rom?
I guess he wanted to say that he will not support it. And yes, it won't work the usual way flashig it via recovery. At least I can say it's working for me (via patched recovery). And I can say, that (for me) Zygisk is woking better than magiskhide before.... Just try it.
 
  • Like
Reactions: BB23482

Nosraa749

Member
Jun 25, 2019
7
2
I guess he wanted to say that he will not support it. And yes, it won't work the usual way flashig it via recovery. At least I can say it's working for me (via patched recovery). And I can say, that (for me) Zygisk is woking better than magiskhide before.... Just try it.
Oh alright. You have the international or chinese version of the phone? Any tutorial? I'm new to all this stuff. Thanks !
 
  • Like
Reactions: BB23482

killah78

Member
May 18, 2009
17
15
Oh alright. You have the international or chinese version of the phone? Any tutorial? I'm new to all this stuff. Thanks !
I have the chinese Version. I used the instruction from this thread. Option 2 with flashing the firmware. All files are available here. Instruction for magisk you will find in the magisk github. You need to use the option with the patched recovery. I used the twrp one.
 
  • Like
Reactions: BB23482

Nosraa749

Member
Jun 25, 2019
7
2
I have the chinese Version. I used the instruction from this thread. Option 2 with flashing the firmware. All files are available here. Instruction for magisk you will find in the magisk github. You need to use the option with the patched recovery. I used the twrp one.
Nice ! I have the chinese version too, so I should be ok too However, I don't understand, what do you mean by "patched recovery" ? Couldn't find any info on that on the github.Besides you said that you used instruction from this thread but used TWRP instead of orange recovery? I'm a bit confuse on that.
 
  • Like
Reactions: BB23482

killah78

Member
May 18, 2009
17
15
Nice ! I have the chinese version too, so I should be ok too However, I don't understand, what do you mean by "patched recovery" ? Couldn't find any info on that on the github.Besides you said that you used instruction from this thread but used TWRP instead of orange recovery? I'm a bit confuse on that.
1. install the rom with the instructions in #401. I used method2. I used the twrp recovery from #483 instead of the orangefox.

if the rom is installed you can continue with step 2.

2. Go to the magisk github. Look for the install instructions.
Install latest magisk app apk. It is linked there. I have 24.3
They are talking about a "ramdisk", we don't have that in our rom, so we can'T use the direct install to boot image and need to patch the recovery instead. Then they talk about vbmeta, which we have. Then patch the recovery.img within the magisk-app, flash via fastboot, flash the vbmeta again. It is all decribed there. I recommend to read all the instructions and infos on that page. When you restart your phone you always need to go via recovery, this will then start magisk and start your system. When you want to start the recovery you need to press vol- and pow, then after spash screen vol+. But as I said, read that info carefully in the magisk github.
 
  • Like
Reactions: BB23482 and madsu99

Top Liked Posts

  • There are no posts matching your filters.
  • 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

    Instructions for starters from RUI1 Firmware:

    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