yashsingh1/xdaforums huggingface dataset:
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] kostas_8:
I did a clean reinstallation cause the device went on bootloop and because I had a very old package of Gapps and not very sure they were NikGapps.. I tried a dirty flash in the beginning. But I don't think there will be a problem if you flash the same Gapps (e.g NikGapps) and not from another developer.

Always take a backup before every test and be prepared for anything. For some reason I even hard bricked my device when I formatted from OrangeFox Recovery. I even figured out that the latest version of OrangeFox (.7) doesn't work correctly. I did my job with the recovery and vbmeta provided on post #401 and did the whole procedure from there (Method 2, with flashing F14 -firmware only file- first).
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] ZenoDiac:
This is might be the dumbest question, but can you flash Global firmware on a CN variant?

Does the Global variant & CN variant consist of different hardware, or why would it be a problem?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] ZenoDiac:
Method 2 worked for me, kind of - there is some confusion as to what he means by saying "Format (not wipe)", so I formatted using fastboot, as the alternative method suggested, but that broke it. After trial and error, I managed to get into Lineage18.1.

The battery drain issue has been solved with the latest ver of NikApps "NikGapps-core-arm64-10-20220413-signed.zip".

But NOW some apps are constantly throwing the following notification message "<AppName> won't run without Google Play services which are missing from your device" (it is installed and updated btw). I installed Google Services Framework 11-6684105 and that solved the issue.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
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
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] weisdergeier:
I have the same problem. Any solution for this?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] juanantofb:
Ey DEV! now UAPP can be installed.

Thanks a lot.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Arien0:
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
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
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
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] adimegarocker:
so currently no root options?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] killah78:
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.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
Patched recovery or boot?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] killah78:
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. :-)
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Nosraa749:
Hey guys, does google pay works?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] tournet:
Could you please tell me which recovery you use. I patched img of orangefox and twrp. both of them can't boot.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] killah78:
Yes
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] killah78:
I used the twrp mentioned in #483

You mean the recovery does not boot? You need to press vol- and pow and after splash screen vol+ until recovery. This is part of the patch.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Nosraa749:
Thanks for the answer. Without magisk right?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] killah78:
With magisk. And even without entry in zygisk
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Nosraa749:
But according to OP he says it won't work on this rom?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] killah78:
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.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Nosraa749:
Oh alright. You have the international or chinese version of the phone? Any tutorial? I'm new to all this stuff. Thanks !
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] killah78:
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.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Nosraa749:
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.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] killah78:
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.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] elkloppiko:
Bluetooth is not working for me. Can't turn it on. Please help
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] aliqadir37:
banking apps dont work. at least not UCO bank, Kotak Bank and sbi yono. sbi yono lite works.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Miniheadshot:
I need some help.

When I tried installing this ROM I accidentally wiped my system aswell.

When I try to flash a new ROM and reboot I just keep booting to the bootloader.

When flashing a rom it says:

unmounting system...

Target: google/sunfish/sunfish:11/RP1A.201005.006/6828489:user/release-keys

I don't recall seeing this when flashing ROMs before.

Anyone know how to fix this?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
How do you expect ROM to boot if you wipe /system?

Problem with you is ROM is not booting? Or the google/sunfish? If it doesn't boot, then you'll have to format data
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] tinza123:
Thanks for the rom, I've been running it for a while now, everything runs pretty stable.

Tho one issue is that I wasn't able to set up work profile with microsoft intune. It just gets stuck every time I try. It worked for 17.1 and android 10.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Miniheadshot:
I wiped /system before installing the ROM.

The problem is the ROM doesn't boot.

Tried doing as you said and no luck.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
No idea what you did then, boots for others
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Miniheadshot:
Any idea how to restore phone to stock everyting? Perhaps I can start from there.

Also I'm should have the EU version but I'd like to check before attempting anything. Is there a way to check this?

---------- Post added at 01:32 PM ---------- Previous post was at 12:48 PM ----------

I've fixed it!

After flashing the latest firmware (C32) after the ROM again it finally worked!
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] aliqadir37:
hello. i want to know is there any way to remove the bottom gesture bar without root ? thanks
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] puuuuh:
I have the same issue with fp and face unlock. Seems like unsuccessful attempts counter is not reset even after unlock with pattern or pin

Clean install with full wipe, CN C30, NikGapps, without any modifications
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] dizaar 1:
Same issue with face unlock. Had to disable it, unfortunately. Also only one rear camera is working.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Hudge:
Same with faceunlock, but a reboot fixes it. All Cams are working fine in gcam. No problems with mobile internet-connection as [MENTION=3808374]weisdergeier[/MENTION] has mentioned.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] dizaar 1:
Can you give a link for gcam?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Hudge:
I just use the Gcam7.3.018_Greatness.Build2.2 from this thread https://xdaforums.com/realme-x2-pro/themes/best-gcam-x2-pro-t4013985
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] krish225:
Thanks alot for ur work on this rom.

Few questions before i unlock the BL.

Does super vooc charging works?

Does indian banking apps specifically 'hdfc' works on vanilla LOS18?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Uqbar:
Anyone dared to upgrade from v17.1 to v18 (dirtyflash)?

If so, any feedback?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Arcide:
I haven't tried but until someone confirm this (in case you're curious and just want to go for it anyway lol) I'd advise you against it. It was never a good idea to dirty flash custom rom builds between different versions of android.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Uqbar:
I haven't done that nor I am thinking of doing it any soon.

CM/LOS is my daily driver since long now and I currently have a few software tokens on my phone.

Loosing them would require me extensive efforts to re-gain access. No way as I have no spare device to the rescue.

Thanks anyway for the hint.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Arcide:
Software tokens as in banking apps? Can't you just back them up with Titanium Backup? I haven't tried between different android versions, but I have tried on the same device when factory resetting, and when trying out a custom rom on the same android version. I was able to restore the apps without needing to go to the bank again for new codes.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Uqbar:
Nope. Those care 2fa tokens to access customer services. No easy backup for them an i don't want root.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Arcide:
Well it's pretty simple to root and unroot, and I don't see why you'd have an unrooted custom rom, but okay. :)
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Uqbar:
I don't want a custom rom. I want LOS because it's a better rom than stock with fewer annoyances, more features, longer battery life. For all this i don't need root.

Moreover my banking app would complain.

Maybe it'd be better to do a complete twrp backup, then.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Arcide:
What do you mean you don't want a custom rom? LOS is a custom rom...
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] markraiem:
Well thanks a lot for this version ,

My first impression was awesome at the beginning

Like it's a custom system with fast and brilliant properties however I see that it is missing many things,

- you cannot delete the application from the main screen (batch uninstaller) it's usable for me maybe not for all people

-Bugs of the camera app it's not that great,

-Battery life sucks with me not like realme ui

-No gaming extra options I was looking forward for much more better performance

-Recent apps looks awesome with the copy select option but I don't like when I want to close all apps looks weirdo to swipe all left to close them.

I did make a full wipe(cache,data,system, internal storage)

Otherwise i think it was great to try it anyways

Note: if you want the root you have to install magisk 20.1

Hope to see updates care of my feedback thanks 😄
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
New update for RMX1931/CN

CHANGELOGS:

1. November security patch

2. Lineage upstream

3. Smart Charging (You can find it inside Realme Settings)

4. Misc device side changes

Clean flash is always recommended

As usual download links in OP

Thanks to the testers & contributors
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] clavelm80:
Sorry, I missed your response. I will first try the latest version of the rom that was just released, then your solution if AA is still not working and I will tell you the result.

---------- Post added at 08:48 AM ---------- Previous post was at 08:34 AM ----------

Sure, I tried it, and LineageOS never finished to boot. I was stuck at the animation.

To boot, I had to : update the recovery, wipe everything but the part of data where your files are (and the zip of the rom, gapp,...), install the rom, magisk, gapps, then format the data containing all my files (after a backup).

It is told to do the last part in the install instructions, but I think it's overkill. Just deleting the Android folder should be enough (I'm trying it when installing the new version of the rom that was just released).

Permissions on the Android folder changed from Android 10 to 11. Up to 10, I could navigate the content of the folder directly, since 11, I have to activate the root mode of my file explorer to access the Android folder.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] tiennemannes:
Working great!
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] clavelm80:
I'm trying to install that version from LineageOS 17.1 and I can't manage to get out of the start bootloop, never getting to Lineage starting animation.

I removed my password for encryption so the default password is used

I updated to firmware c33

I updated OrangeFox recovery with the provided .img from the telegram post via fastboot then reboot in recovery to be in that special version

I wiped everything except internal storage and otg

I flashed the rom

I flashed magisk canary and 21 (from the guide)

I flashed NikGapps-core-arm64-11-20201108

I formatted data

I rebooted to system

What did I miss ?

Maybe I need to flash c33 with the special recovery and not the standard one like I did ?

Edit:

OK, I was the problem.

I think wiping the vendor partition broke the phone as I didn't manage to go back to 17.1.

So I got the realui ozip from realme.

I installed it from OrangeFox, but the phone would not start and the recovery was broken.

I use the info from this thread : https://xdaforums.com/realme-x2-pro/how-to/root-realme-x2-pro-rui-c-28-magisk-t4127835

I tried to flash from fastboot OrangeFox, same problem.

Fastbooting twrp was working, but flashing Orangefox from twrp would go to the same problem of corrupt recovery.

Finally, I flash OrangeFox AND vbmeta from fastboot :

fastboot flash recovery OrangeFox_Android_11_RMX1931.bin
fastboot flash vbmeta vbmeta.img
fastboot reboot recovery

And Orange was usable.

I flashed Global_C33_firmware_vendor, lineage-18.0-20201108-UNOFFICIAL-RMX1931, and NikGapps-core-arm64-11-20201108-signed and the system is booting. :victory:

Edit 2: and for magisk you had to flash magisk-debug.zip then Magisk-v21.0.zip (from here https://telegra.ph/Guide-to-boot-Android-11-Custom-ROMS-10-09 ) or else the system would not boot.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] syedtufailahmed:
What is lineage upstream?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] johnnyjoe:
I was on the first build, I've installed update and got bootloop - it rebooted after the LOS animation. I had to wipe data for it to work. Lost all my data, had to configure everything again.

Didn't installed Magisk yet, I'm a bit afraid to broke something.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] tinza123:
Update:

Work profile works perfectly now with the new build.

The only issue I have is with the face unlock. As others said before, after a night of standing by, face unlock would stopped working with the error message saying "too many attempts". Happens every morning.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] loumaros:
Is there a way to get the factory camera to work with this rom?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
New update for RMX1931/CN

CHANGELOGS:

1. Initial build with source build vendor (ROM comes with its own vendor, no need of stock ROM vendor)

Clean flash is always recommended

As usual download links in OP

Thanks to the testers & contributors
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] socksruler:
Hi,

thanks for your project!

sourceforge.net get some problems and im not able to download the latest version.

Did anyone have another mirror?

Thanks
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] tinza123:
yeah same happened to me, tried to download a couple of times yesterday
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
New update for RMX1931/CN

CHANGELOGS:

1. Fixed bottom speaker muted during ringtones and notifications sounds

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

As usual download links in OP

Thanks to the testers & contributors
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Benjamin Kuruvilla:
Hea I have a doubt about the new update can I root my mobile? if I can someone please guide me on how to?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] zee456:
join the group they will guide u better ..sorry iam not group so cant help u in chat

---------- Post added at 04:49 PM ---------- Previous post was at 04:45 PM ----------

thxq for efforts dev to bring us freshness in phone ..and is there any chance of autobrightness fix in 17.1 or 18 of LOS

just casual Q
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] iBaer:
EDIT: Download issues solved
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] tyang0422:
Hi i have clean installed of this latest version of LOS 18 frm LOS 17 however i couldn't get passed in safertynet and play protect was not certified.

Could someone here advice me on this ? :confused::confused:
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] iestyn99:
Maybe a stupid question (sorry) but I see RMX1931/CN in the header of this topic. Does that mean that you can only flash this over a chinese stock rom, not a EU one?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] sinkoo1979:
You can use EU version. I have the EU version and running LOS 18.0
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Milan-XDA:
Is this still a thing as of today?

* Use only pattern for lockscreen, rest methods will cause issues with recovery failing to decrypt data.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] SebaEdu:
Hi. So I've a couple of questions.

My phone don't pass Safetynet, I need it for basically some Video apps like Netflix or Disney+ which don't appear at all on the Playstore. I'm ok not having bank apps.

-How did you manage to pass Safetynet?

I've tried to install magisk, but: last version (beta) gets stucked in bootloop and last stable version freezes the phone after a while.

Thank you for the help, I'm new to this.

I'm loving the ROM but these apps are neccesary if I will use the phone as daily driver. :(
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] iestyn99:
Flashed it and it is working perfectly! Thanks for making my Realme even better than it was.

Only (maybe offtopic) when using Nova Laucher the home button doesn't work, but there are workarounds...
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] sinkoo1979:
I'm using the rom without magisk and all my banking apps work (I don't use netflix or disney+).
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Milan-XDA:
I'm on LOS 18 and i'm trying to get back to official ROM. Flashing .ozip and deleting Data, formating data, cache, dalvik cache partitions doesn't do anything. It just loops back to Orange Fox recovery. Any idea how to go back to official ROM?

Nevermind, fixed it.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] SebaEdu:
So I found a workaround!! :geek:

There is a working older version of Netflix here https://www.apkmirror.com/apk/netflix-inc/netflix/netflix-6-26-1-build-15-31696-release/netflix-6-26-1-build-15-31696-android-apk-download/download/

And for Disney+ you just have to sideload it and it works wonders... Still gotta check the playback quality.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] sinkoo1979:
Flash the Ozip

reboot to orangefox and format data

reboot
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] iBaer:
Does someone else have problems e.g. with Whatsapp voice/video calls?

Saw very bad quality for voice calls. Video calls detect my bluetooth headset but sometimes can't set it properly. Reconnecting during the call sometimes helps, but not always.

Also, when ending the call, the call window doesn't disappear and a notification with quasi-active call still remains.

Didn't have any of these issues on LOS 17.

Did a clean install, but had to reapply the latest LOS 18 zip once due to a bootloop.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Pavel Redi:
I have not encountered such a sound quality problem. The second problem sometimes happens also with SIP-phone.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] SebaEdu:
Hello again.

I'm absolutely loving the ROM. Excellent work!!

I have a small glitch when using the AOD and fingerprint. When I press the fingerprint in AOD it unlocks the phone but the screen remains off.

I have to lock it again, turn the screen on and then I can access to the phone and sometimes it takes a couple of seconds before it actually responds.

It's a 5/10 times error.

Absolutely not a big deal for me but there's always room for improvement.

I don't know how to properly report an issue. Sorry :(