yashsingh1/xdaforums huggingface dataset:
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] zheka99:
Hello, I'm new with flashing Roms.

Lineage is very smooth, but after installing all my apps, is battery drain fast. And I have 2 battery drops from ~60% to zero.

YouTube is going well for me.

Is there a setting like with realmeUI, where you can prevent the autostart of the apps?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
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

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

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
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Benjamin Kuruvilla:
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
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] juanantofb:
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.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] _JoeD_:
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?

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?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Benjamin Kuruvilla:
Did you boot in to updated os? and can please share twrp link or file, am still at bootloader cant boot in to recovery!
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] _JoeD_:
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).
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Benjamin Kuruvilla:
Thanks mate, Booted up to recovery .
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
I will provide another method soon
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
Contact me in telegram
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
Updated the instructions for method2
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] juanantofb:
Ey DEV, now aparently all work fine.

Thanks.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] juanantofb:
Hi, a big problem, in play store this rom recognice the phone as a Pixel 6, and can not install Usb audio player pro because is not compatible.

Any solution?

Thanks.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
It's not a problem
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] juanantofb:
Hi, for me is a big problem, i can not use my faborite player.

In RUI1.0 install and work fine.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
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.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] juanantofb:
Hi again, installed fron apk, but do not start.

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

Regards.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] juanantofb:
Hi all, here are the answer to the problem of Pixel 6 and UAPP.

https://xdaforums.com/t/issues-with-usb-dongles-and-external-usb-dacs.4360515/

Regards.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] vitaliy.kz:
how to go back to lineage 18.1 rui 1?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
Okay, will try with some other pixel devices build fingerprint on next build
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] juanantofb:
Hi, thank you.

Regard.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] _JoeD_:
Thanks a lot Karthick and other devs. I can confirm the new method 2 works to upgrade to the new version. I've been using it for a day and everything seems to be working fine. Good job!
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] _JoeD_:
I know it's out of scope for our devs but does anybody know how to root this version? Magisk is not working (even tried cannary). I don't really need root but I need it once to enable diag mode to patch the modem profile to get voWifi working for US T-Mobile.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
https://xdaforums.com/t/phh-treble-...or-phhusson-source-based-treble-gsis.3811563/

Give this a try
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] zheka99:
Hello. Thanks for the update.

With the kernel from telegram, my battery is very good again!

Is it possible to set widevine to level 1 in this rom?

Strangely, I still had 2 reboots. Global 12gb
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] _JoeD_:
Thanks Karthick, unfortunately non of these worked, I also tried an old supersu. Everybody has been using magisk, so nobody updated these packages.. I'm hoping at some point magisk will work again.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
Reboots after flashing that kernel, right?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] zheka99:
Yes.

And DC dimming is off
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] juanantofb:
Hi DEV, without kernel i do not have eny reboot fine fine fine.

What is the telegran group link?

Regards.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
I think xda won't allow me post the link here, you can dm me to get the link
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
yep, i disabled it to check something :)
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] jection:
You got VoLTE to work on T-Mobile? How?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] _JoeD_:
Yes, before the latest update. Basically, you need root to enable diag mode (setprop command). Then install snapdragon PST tool and use PDT to change the modern profile. Once i changed to TMO-Commercial and rebooted both voWifi and voLTE worked. Currently we don't have root, so I'm stuck.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] _JoeD_:
I'm not sure if I'm the only one but there are 2 things that bother me about the latest update. I see screen flicker when the auto brightness is adjusted, sometimes i get a weird green tint over the whole screen. The other thing i noticed is that Google camera is not able to switch to a different back camera. If I do, the app keeps crashing. It did work fine before the update.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
screen flicker will be fixed on next update

it will be also fixed if you flash this kernel https://drive.google.com/uc?id=1bANiviQ4y3kj1IRF35NJWCB2jrsUin0x&export=download

& Google camera aux issues, those don't work even on rui2 stock rom, so it won't work here too
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] BTW lover:
Just a quick question regarding some fishy behavior of my phone recently:

For some reason it uses several hundreds of MB of mobile data in just a few days, mobile data usage tells me it's system updates doing this. Once I saw this I remembered that I've had some strange popups (two or three times) in the past that told me android was out of date and needs an update 8or something similar, can't remember precisely).

Is it possible the phone is doing something strange for some reason or am I being hacked?

Edit: looking for a picture of the popup on the net I found that others had the same popup, here's a pic

So it seems that it might not be fishy, but now it also seems like this is eating into my mobile data without me being able to disable it again, any ideas?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] SimfyLogBot:
I had the same problem and "fixed" it by installing the newest gapps version. In my case also i have a noticeable battery drain. My uneducated guess this things are related to each other. i am now running the version before the newsest update on Jan 21, 2022.(18.1.20211031) maybe an Update will fix my problem but the update process sadly looks more complicated than a "normal" dirty flash.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] quwenfast:
注意，CN版本的RMX1931无法刷入这些ROM，会提示e3004报错；所以我尝试用作者发布的橙狐REC再次刷入；不幸的是，它卡在fastboot了；借着它还能进REC,我把官方otg解压后的zip包刷入手机，虽然提示成功，但是它仍然卡fastboot，结果我尝试用realme 线刷工具线刷otg文件，它仍然提示成功，不过还是无法进入系统，之后它就一直卡在fastboot，recovery也进不去了；得益于我在中国，我免费享受了一次官方的系统维修，不过我又试了一次其他办法，但是又失败了

Google Translation:
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Rogerdave:
Need some guidance or clues from any of you.

Mine is a CN version, everything has gone fine with the latest build at the 1st attempt, and things screwed up after flashing latest Magisk 21.4 ....

Rebooting to system and screen turned black after realme logo, flashing all again with no success.

Tried flashing latest TWRP but screen turned black after splash screen of TWRP when booting to recovery. Switching back to OFox has same problem.

Tried flashing those stock image files (boot.img, system.img, odtb.img and vendor.img) directly at fastboot, screen still turned black when booting to system.

Just tried downloading and flashing OFox and vbmeta files from the post, now the phone is prompted "The current images (boot/recovery) have been destroyed and can not boot. Please flash the correct image or contact customer service to fix it." with a red triangle.

I have tried every way I know with no success. Any hint / clue / guidance is much appreciated to save my phone, thank you.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Rogerdave:
My phone is back on finally, and I may share my experience here as reference. Inspired by the post from genernal section, I have run following erase commands at fastboot to erase everything.

fastboot erase boot

fastboot erase dtbo

fastboot erase recovery

fastboot erase metadata

fastboot erase vbmeta

fastboot erase system

fastboot erase vendor

fastboot erase userdata

After that, flash again the OFox and vbmeta of RUI 2 downloaded from 1st post. Recovery is back on after reboot.

Download RUI 1 firmware, older version of OFox (R11.01) and its corresponding vbmeta files, and flashed them at recovery.

Flash back previous LOS (NOV) version with RUI 1, and everything is running fine so far.

I may try flashing again the latest version soon.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] xAsmodeus:
i'm stuck at fastboot bro how do you do this?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] xAsmodeus:
What OFox and vbmeta of RUI 2 did you flash? link?

what command did you used for flashing vbmeta?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Rogerdave:
I used the files posted at #401 and the command for flash vbmeta is

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
New update for LineageOS-18.1 RMX1931/CN

CHANGELOGS:

1. February Security patch

2. Updated Vendor Security patch level

3. Removed AUX camera lens restrictions

4. Added support for Alipay fingerprint payment

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] _JoeD_:
I tried to update to the new 20220221 from 20220120. I booted to recovery, wiped art/dalvik, system and cache. Then flashed the LOS package followed by the gapps I've been using all along. I got stuck on the LOS boot animation. I let it sit for a long time but no good. So, I thought to go back to the previous version, so did the same steps again (plus flash of the updated kernel) and I'm still looking at the boot animation. LOS won't boot, neither the new nor the old version. Any ideas?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
Why did you flash kernel?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] _JoeD_:
That was only on the January build to get rid of the green tint, not the new one.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] _JoeD_:
To try to get something back I flashed the firmware only file again, flashed January LOS build and gapps, rebooted to bootloader, flashed OFox recovery again. Rebooted to recovery and get error message that this partition is corrupt and will not boot. Surprisingly, system booted without problems. So, now I have a working phone again but no recovery. Weird.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] _JoeD_:
I went with TWRP recovery from https://xdaforums.com/t/recovery-3-...l-twrp-for-rui2-realme-x2-pro-stable.4388355/ and TWRP came up ok, so I was back to working condition. I felt adventurous and tried to flash the 20220221 build again, this time without wiping anything. Same thing happened, stuck on the boot animation. I went through the above process again and I'm back up but I"m done testing this build, hope next one will work.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
Well, i don't know what you're trying to do.. I'm on the latest build & it works fine.. i have dirty flashed it tho
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] _JoeD_:
All I wanted to do was update to the latest version. Both tries caused it to be stuck on boot animation. I also dirty flashed (didn't wipe data) but I tried with and without wiping system/dalvik/cache. The interesting thing is that after flashing the new los I get stuck, then just flashing the old los still stays stuck, which means something outside system is changed. Only flashing the FW gets it back. I upgraded to the January rui2 based build using method2, did you use method 1?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
Method2, it's better for you to reach out telegram group for more helps
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] veeranna:
I am downgraded my rom to color OS6(android 9) to unlock bootloader and that step is done ,

can i flash this ROM directly please guide

thanks in advance
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
New update for LineageOS-18.1 RMX1931/CN

CHANGELOGS:

1. Fixed brightness related issues while on screen timeout dimming

2. Fixed abnormal drains from IMS app

3. Switched to rui1 thermal in rom side & kernel side

4. Boot time improvements

5. Supports 24bit playback maybe?

6. Fixed auto brightness ramp up issue while on white page

7. 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] SimfyLogBot:
can confirm faster boottime :P i hope "Fixed abnormal drains from IMS app" will fix my batterie drain issue :P

Thanks for the update.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] evilsoldier:
Hello will you make a release that supports Magisk?

I'm still using LOS 17 and thank you for that rom! you did a great work it's a great rom and my everyday phone, first the LOS 18 gave the random reboots and now it doesn't support magisk so I'm staying with 17 for a while until 18 or 19 support magisk because I need root for a lot of things.

If anyone manages to make magisk work (in 17 I use canary) it would be great if you share how you did it.

Thank you
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] evilsoldier:
Also whats the telegram group that everyone talks about?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
Magisk has nothing to do with rom.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] evilsoldier:
I know but as you said it would not work I am asking if it will in the future, in LOS 17 magisk canary works really well never had a problem with it, but didn't test in 18 or 19 as you said it doesn't work.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
Is magisk is being developed here to make it supported in future? It's out of our hands.. have some basic knowledge about what's being developed here & not.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] evilsoldier:
I know its not developed here but I didn´t know if it wouldn't work because of magisk itself or something in the rom for being based on rui2. I was just asking that because if it was for something in the rom you would know if it could work in the future or not, didn't know for sure it was in the magisk side.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Pankaj0121:
My Bluetooth is not working after flashing this rom any solution?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Pankaj0121:
Great work Karthick, appreciated it
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Pankaj0121:
There are some ram Management issues ,i got around 2 gb free ram oit of 8 gb
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] BB23482:
I'm on C.33 RUI1. Do i need to flash vbmeta.img after flashing OrangeFox_Android_11_RMX1931.img?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Pastasan:
Guys after almost 1.5 years, I updated the firmware, ROM & put the latest Orangefox recovery (Followed all steps in #401 )

The phone was working perfectly for one day.

Today, the phone began acting weird (Apps were not opening when tapped )- so I tried to reboot the phone.

Now I get kicked back to OrangeFox recovery.

In Orangefox I get : "unable to mount storage", Failed to decrypt data"

Internal storage shows 0mb

@Karthick Chandran Any help would be appreciated- as this is actually someone else's phone
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Pastasan:
Had to flash 6.0 recovery for Orangefox, not 7.0.

But every day or so, I have to restart the phone as some apps won't open. Is this a known bug?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] kostas_8:
I'm on 18.1, coming from stock RUI 2.0, and i have big battery drain. Can i try another kernel? Is anyone having the same issue?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Pavel Redi:
I'm on the latest 18.1 and not having any issue.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] tournet:
My Realme X2 pro is a CN version, it works fine with the ROM built on 20220312, but it fails capture screen with power and volume down buttons occasionally.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Rockworld02:
is it root possible ??
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Arien0:
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...
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] kostas_8:
I'm experiencing 4% drop every 10-12 minutes. When i was on stock i didn't have any issue like this. Tested with clean Rom, just to check if the issue was because of an app, but either with apps or not, the problem insists. The biggest example is when i go to my job, same routine everyday, i leave home, i arrive after 45 minutes, connected to bluetooth and music playing, when i was on stock, from 100% i arrived at my job with 98-99%, and now, with the same usage, i have 86-87% battery left, which is extra 10% drop. Is there another kernel that work with this Rom without problems, so i can test? Any help would be appreciated.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Pavel Redi:
Yes, on the stock UI 2.0 my smartphone worked a little longer, but not significantly.

Now I'm on the latest 18.1 and NikGApps Stock without Pixel Launcher and some other apps.

I'm always using BT 5.0 headset, but not using "Location". After a full charge, I don't have such a rapid battery drain when listening to something through the headset for 40 minutes. I charge my smartphone about every one and a half or two days. I do not think that there is any special kernel for our smartphone.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] kostas_8:
Could be the GApps, as i read on the 19.0 thread, where they also experience battery drain. I see that NikGApps has a newer version. I'll try and test again, how it'll go tomorrow and the next 3-4 days.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] kostas_8:
FYI, the battery drain I had, was cause of the GApps. I installed the latest NikGapps (full version, cause that's what I need) and it's ok now.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] ZenoDiac:
Can you just reflash the newest NikGapps zip or do you need a reinstallation of the OS as well?