yashsingh1/xdaforums huggingface dataset:
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
New update for LineageOS-18.1 RMX1931/CN

CHANGELOGS:

1. May security patch

2. Added style switches

3. Added qs rows columns support

4. Added qs title hide option

5. Added media art hide when song isn't playing

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
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Uqbar:
I am in a bootloop. And a weird one.

I was running my X2 pro on lateest LOS 18.1 with latest NickGApps full.

I had to clean flash it to remove NickGApps full and go back to core.

Wiped caches, system and data and installed in sequence latest LOS and latest NickGApps-core.

The boot is taking forever.

Rebooted to recovery, installed OrangeFox R11 (as per 1st post). Same result.

Any hint?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] aliqadir37:
Format only data partition and reboot.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Uqbar:
No change.

I would like to wipe everything and remove encryption (TWRP 3.5.2_9-0). But it seems I cannot do it...

Previous installation was encrypted and I suspect this could be the problem,.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] aliqadir37:
This is the problem. Always remove encryption and also the google account before flashing.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Uqbar:
[UPDATE!] read below

At recovery boo I get the usual: "Enter Password for User [0]".

I hit "CANCEL" , then wipe Dalvik, Cache, System, Data and Internal storage:

Attempting to decrypt user 0
Failed to decrypt with default password. You may need to perform a Format Data.
Updating partition details ...
.... done.
Full SELinux support is present.
Wiping Cache and Dalvik...
-- Dalvik Cache Directories Wipe Complete!
Formatting Cache using mke2fs...
Done.
Wiping data without wiping /data/media ...
Done.
Wiping internal storage -- /data/media...
Error opening: '/data/media' (No such file or directory)
Updating partition details...
... done

If I reboot to recovery I get again the usual: "Enter Password for User [0]".

So I give the password I knew but it fails.

So, I am pretty sure I need to format Data.

I hit "Cancel", "Wipe" and "Format Data". And "yes". I get this:

Attempting to decrypt user 0...
Failed to decrypt user 0
Unable to decrypt with default password. You may need to perform a Format Data.
Updating partition details ...
.... done.
Attempting to decrypt FBE for user 0...
Failed to decrypt user 0
Full SELinux support is present.
Wiping Cache and Dalvik...
-- Dalvik Cache Directories Wipe Complete!
Formatting Cache using mke2fs...
mke2fs -t ext4 -b 4096 /dev/block/sda16 60301043
process ended with ERROR: 1
Unable to wipe Data.
Unable to format to remove encryption.
Updating partition details...
Failed to mount '/data' (Device or resource busy)
... done

If I go on adb shell and run the same mke2fs command I get this:

RMX1931CN:/ # mke2fs -t ext4 -b 4096 /dev/block/sda16
mke2fs 1.43.3 (04-Sep-2016)
/dev/block/sda16 is apparently in use by the system; will not make a filesystem here!

And here I keep staying stuck... :-(

[UPDATE #1]

Not anymore! :)

From adb shell I saw that /data is mounted from /dev/block/dm-0 not from /dev/block/sda16.

So I did umount /data and then run that mke2fs command over /dev/block/dm-0.

Then rebooted to recovery once more.

Now my phone doesn't require any password to decrypt any partition.

Back on the saddle now.

[UPDATE #2]

I have pushed a LOS and a NickGapps zips and I finally have been able to install and reboot!

Mission accomplished!

[UPDATE #3]

Not finished yet. The phone is now encrypted, but I don't know the password!!!

This is a nightmare!

[UPDATE #4]

Reinstall everything and setup your PIN at the very first boot/setup.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Uqbar:
Dialer not working on latest (2021-05-03) version.

It doesn't pop up during incoming calls.

For outbound calls there cannot be any interaction at all!

SOLVED!

The "Phone" app is not the default phone app!
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Schumanzuar:
If your encryption was a pattern you can unlock by naming the position by number 1 to 9 or 0 to 8 try both since the pattern could be 0-8 or 1-9 in 3x3 pattern

You can do this through cmd or through Orangefox recovery's terminal: code is::

adb shell twrp decrypt DECRYPT_CODE

Example if your pattern was a normal c pattern the code would be 2145 or 1034

More information here:

Encrypted Android Device and TWRP Unlock - RaeRav.com

Recently, I setup an Android device and used the 4×4 pattern. Then I went through the steps to encrypt the device. Later that day, I needed to install another ZIP…

raerav.com
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Uqbar:
The problem is that TWRP is trying to wipe /dev/block/sda16 for /data instead of /dev/block/dm-0.

I did that by hand via adb and I solved.

[WARNING]

Moreover, whenever you *DON'T* setup your pin at the first boot (LOS initial setup), it will choose a random encryption key you won't ever know and you will be forced to reset encryption altogether.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Schumanzuar:
Not sure about wi

Not sure about wiping reset etc but if you were on a previous build and tried to clean flash a new build but forgot to remove pattern and your phone got encrypted, then you can follow the above method to decrypt the phone
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Uqbar:
I am not totally new to the "flashing world". I own my X2 Pro since some time now and have flashed (both clean- and dirty-) LOS several times. But now I had a new TWRP version (never used OrangeFox) that has been failing in "Formatting Data" . This has nothing to do with a new release of LOS but rather with a new release of TWRP.

By mistake I flashed NickGApps-full so I needed a clean install. Then I forgot to setup the PIN at the first boot.

Then I found the bug in TWRP. I think none sane enough would like to test this bug, though.

But my manual intervention via ADB fixed the problem.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
Set default dialer first
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] johnnyjoe:
I was having random reboots, it got way better with latest 2 builds. Now, I can run for days without a reboot. Anyone else with this issues, is it rom related or just me?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] thenav33n:
I still have random reboot. some times after few days, sometimes many in one day. Tried everything even fresh install twice. I thought it was my device specific only. Do post if you find a solution, I will do the same

Edit : I am using Nikgapps basic now. Earlier was using full, i was thinking it was the pixel launcher causing random reboots, but it seems that is not the case.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] jrelo79:
Hello everyone!

I have just got a Realme X2 Pro from a friend of mine and he gave it to me with this version of Lineage.

Well, the system works propertly most of the time, but I am having reboots... but ONLY during the night. I usually enable Airplane Mode during the night and it is under these circumstances when I get the reboots. I was trying and I always had reboots when a only disable data + wifi. If I let the mobile with data and wifi, there are no reboots.

Any idea? Someone else?

On the other hand, I used Lineage wiht other mobiles, but always the OFFICIAL version. So, I could update the system of those other mobiles via OTA each several days (nightlies). This is the first time I use an un-official versión and I don't get updates via OTA (the updater says to me that there is no updates).

I would like if it is not possible to update this version of Lineage via OTA (and the updater will always say "No updates") or they are less frequent than in the official versions but, in the end, they will finally appear in the updater.

Thanks!!

EDIT: at this time, I have LineageOS Version 18.1-20210406-UNOFFICIAL-RMX1931
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] serj-47:
I turned off the function to turn on the screen with a double tap, but the screen still turns on if I tap twice.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] vlnt9:
Please excuse my incompetence in the first place. I am totally new at these. I have already searched and figured out how to unlock bootloader and flash recovery.

I have two questions regarding this.

1. My device is running coloros v7 about info shows RMX1931EX. I think its not CN. Will this work on my device?

2. On some articles about Flashing recovery they suggest another file flashing called vbameta.img. I am not seeing it here is it not necessary?

3. Is it mandatory to flash magisk to use this rom?

Thanks in advance for your answer and really appreciate your efforts to help people.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Mryeyey:
Happens to me too where the phone reboots at night but with a different ROM. I am using POSP(Potato Open Sauce Project) v4.1.3+12 unofficial 202100409. I also have no idea. It only happens to android 11 custom roms I think because I didnt have this issue when I used LOS 17.1
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] jrelo79:
Thank you very much for answering. Well, we will keep on waiting for the solution in some future update then... Please, let me know if you finally find the way to solve the problem.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] lazyjasck:
Kodi doesn't work properly.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Lirax21:
I have problems with WiFi.

I explain:

in my work we have a network with the EAP / PEAP method, the problem lies in "CA certificate" it does not allow me to bypass it, on other phones it does.

I hope you can support me.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] saenta:
Hi, was Somebody able to get USB OTG working on latest release?

I have a FLIR ONE PRO at work and was trying to get it to work.

Thank you!
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Roll_up:
Currently there are 5 problems that I experienced:

1. You cannot set different lockscreen and home screen wallpapers.

2. When you skip media audio, AudioFX stops working. And then when I skip a number of time again in hope that it starts working, it does. It always does this, whenever I skip. It was in previous builds too. Once in LOS 17 when motorola one was used, this problem disappeared, else it has always been there.

3. To get the option of file transfer with USB, you have to first enable USB debugging in developers settings and then option appears. (This problem was in all previous builds except for the last build, i.e. 3rd May build)

4. It asks for certificate while connecting to wifi, which you have to get from laptop and import.

5. If you search a file in explorer, it won't show anything.Not only that, it won't show any file or folder after that. Then you have to go back and refresh.(This has always been there in LOS 18.1, along with double tap to wake problem. So I think it is a LOS problem)
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] exadeci:
@Karthick Chandran Thanks for the update! What's the changelog on that one?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] johnnyjoe:
Hi! Reboots were getting better, only soft reboots. Dirty flashed the latest build (from june) and it got worst. Now I've experienced hard reboots. It got to recovery. Is there any guide so I can take logs and send them to dev? Thanks! : )
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Lirax21:
Can you help me import the CA certificate from my laptop?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] johnnyjoe:
Hi! After struggling with inumerous reboots, I did a clean install. I had some trouble to format data, had to use twrp and then choose on Orange Fox not to encript the phone. Another thing was the goggle setup, the correct setup wizard is the pixel one. Also, I've update vendo. The latest I've found is C35, don't know if there's a later one. Now, everything seems to be working fine, I'm on the latest build rooted with magisk.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
New update for LineageOS-18.1 RMX1931/CN

CHANGELOGS: (Includes previous build changes as well since i didn't update it)

1. Added few dark themes

2. June Security Patch

3. VoLTE and VoWifi icon from vivo x60

4. Added Qs tint with accent color

5. Ability to disable qs toggling on lockscreen

6. Option to display 4g icon instead of LTE

7. Option to disable data disabled icon

8. Use pixelprops

9. Added per app volume control

10. Added smart cutoff

11. Themeing improvements

12. Added solarized dark theme

13. Fixed system ui FC on changing accent

14. Bluetooth and wifi timeout

15. Show LTE+/4G when applicable

16. QS Header data usage info

17. QS Tint improvements

18. Protect sensitive info in about device (like imei)

19. Added optional haptic feedback for back gesture

20. Live Volume Steps

21. Fix black theme issues

22. More clocks added (coz more is better)

23. Added back hidden apps in launcher3

24. Added option to disable screenshot sound

25. Fix advanced reboot toggle not working

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
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] jdjta:
Sorry to tell you but Google Pay is broken again in this update without root. CTS Profile check fails so Google Pay and other apps are detecting root.

Installed Magisk and MagiskHide but this wouldn't do the trick so I installed a "safetynet fix" in Magisk and got Google Pay working again. Is there another way to get this working without root? In previous updates safetynet would pass without the need to root my phone.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] exadeci:
I have the same issue, I was happy not having to use root.

Thanks for sharing the fact that this works at least.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] lutherkingmartin:
same issue with lastest build
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
It's not a issue tbh, just use pixel build fingerprint I forgot to add it.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] jdjta:
Okay, thanks for explaining but this still means you need root to change the device fingerprint I assume? And we will need to change this in future updates? Or will you be able to add it back in next builds?

I just changed the device fingerprint to Pixel 5 successfully but I think I'll keep Magisk in place just in case.

Edit: Keeping Magisk in place after changing the device fingerprint (especially the safetynet-module) caused a lot of random reboots. I uninstalled the safetynet-module from Magisk and now it seems to be okay and my device still passes safetynet.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] jdjta:
Unfortunately changing the device fingerprint (to pixel 5 as mentioned before) is causing random reboots. I've now tried changing to Pixel 4 XL (Android 11 ofc)

@Karthick Chandran which device fingerprint where you using in previous builds to bypass safetynet?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
Build fingerprint won't cause random reboots, I don't remember which fingerprint but it's of some pixel & from latest security patch
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] jdjta:
Ok, but the random reboots only happened after changing the device fingerprint. Before it was stable and after clean flash this morning it's (finally) stable again. So I don't know what happened but I'm almost certain it has something to do with the device fingerprint...
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
random reboot reason is unknown for now, have to wait for kernel source from Realme
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
New update for LineageOS-18.1 RMX1931/CN

CHANGELOGS:

1. Merged OOS network indicator

2. Merged font engine

3. Merged g visual mod

4. Merged navigation bar length and radius

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
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] jdjta:
Thanks, GPay now works again without root 👍😊!
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] edfuhr1:
Thank you for keeping us up to date
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] mahastat:
The latest release was rebooting randomly, so I went back to two release back.

BTW, I've experienced that Nand Backup with TWRP/OrangeFox are not able to restore successfully. Is it only me, or other's have similar experience?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] AnishB7:
In the latest build the system is freezing randomly and during that no buttons work. I can't even force reboot the system. I have to wait for the battery to fully drain out so that i can go to recovery and clear out dalvik cache / cache before booting back. Please look into this issue.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] exadeci:
Is RMX1931_11.C.34 (the Chinese version) supported with Lineage?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] juanantofb:
Hi all, only for CN versión?

I have EX versión with A11.

Thanks.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] edfuhr1:
I have the same issues with restoring a back up from twrp. It fails
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] SimfyLogBot:
i finally managed to root my real me x2 pro and install lineage-18.1-20210701-UNOFFICIAL-RMX1931.zip with NikGapps-stock-arm64-11-20210704-signed.zip. Everthing seems to work percetly except for my fingerprint sensor. The Option does not even show in the settings. Only on the first time installer i get asked to konfiguire my fingerprint but this never works. The sensor is not responding. Can someone tell me what i am doing wrong or where to look ?

The fingerprint sensor itself works fine with the stock OS Version 9/10/11
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] juanantofb:
Hi, i can confirm random reboots.

Regards.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Luuta:
RealMe X2Pro finally updated to Android 11, mere months before 12 is due. Looks like RealMe will either dawdle for another year before they upgrade to 12, or more likely they they won't bother.

I've been following the thread and it seems like most things in Los for Android 11 appear to be working, but I am concerned that if I switch I'll lose the ability to access my banking apps, or the access will be there, but the fingerprint access won't be.

Also wondering if it's best to wait for Los for Android 12 to come out before switching, or whether it's safer to switch to 11 first, then upgrade to 12 when it's ready.

If anyone has any opinions or information about the best course to take, I'd be very grateful. Thank you
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] SimfyLogBot:
Ich hab noch ein wenig rumprobiert und eine Lösung gefunden. Ich musste die Sprache auf Englisch ändern. Ich kann mir zwar nicht vorstellen, dass das wirklich die Lösung war aber es ist das einzige was ich wissentlich geändert habe.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] iBaer:
Anyone else with battery drains since the last release ?

Phone doesn't last a single day anymore without much usage. Battery statistics in settings don't show any useful insights...
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] thenav33n:
Yes I am facing this issue. Let me know if you find out reason why this is happening. I will do the same.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Uqbar:
Nope. I am on 20210701 and it works great. But I haven't any root, for the sake of completeness.

The only problems I am facing is that adaptive screen brightness seems not working fine by keeping it at a high level even in the dark and WiFi that sometimes doesn't see some saved SSID while it should.

And a reboot or two in a month. But no higher battery drain than normal (it lasts more than 1 day).
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] 4l3j4ndr0:
Hi, i'm using RealmeUi 2.0 but i'm starting to be tired of the bugs and all of that. Do any of you guys know if i can use the four cameras with this rom? And the NFC and fingerprint scanner?

Cheers!
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] RonyRohan 88:
lel yes I thought it's only me or maybe because I dirty flashed
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] dizaar 1:
Yeap battery is draining. But I found a work-breaking issue. Happened 2 tmes. System time is out of sync with network either cellular or wi-fi. It breaks daily activities such as login to work apps, to, etc. Clean install.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] _JoeD_:
I have the 07 (latest) build with MindTheGapps (as was suggested in Lineage wiki) and the only complaint I have is the brightness of the always on display (in general auto brightness is a little iffi). It's very bright at night and does turn off after a while (even when charging). Everything I'm using is working fine and no excessive battery drain (not using pay stuff). I'm very happy with the x2 pro. (My wife is complaining her battery in her Galaxy S21 is not lasting as long as mine even though they are the same size) #debloat LOL.
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] _JoeD_:
A word on wifi calling. I'm in the US on t-mobile and my family has Galaxy S21 and OnePlus 7 pro, both enabled wifi calling just fine and it is working. My X2 pro supposedly can do wifi calling, do I have to call t-mobile to enable it for my line or is it just not working?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
New update for LineageOS-18.1 RMX1931/CN

CHANGELOGS:

1. August security patch

2. Merged pocket mode

3. Merged alarm and wakelock blocker

4. Merged toglling of qs media player

5. Merged toggle to haptic feedback on qs tiles

6. Merged toggle to show media notification background with artwork

7. Merged lockscreen charging info

8. Merged OnePlus sans font

9. Improved fps info and data switch tiles

10. Merged LTE tile

11. Merged search bar avatar

12. Merged toggle to activate a12 searchbar style

13. Add support for oem fast charger detection

14. Rearranged qs related settings under qs panel settings

15. Hide back arrow toggle

16. Hotspot client manager

17. Fixed FC with DP3 clock

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] exadeci:
Thank so much @Karthick Chandran for keeping our device up to date!
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] freezermind1:
How can I just upgrade the ROM? I want to save all my apps and settings, but OTA doesn't work! Thanks!
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] jackstar7:
Quick question:

Can I use this same installation process on my oppo reno ace as they are somewhat similar to the X2 pro or has anyone used this installation method with a slightly different device?

Cheers,

Thanks
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
It's maybe similar on paper, but not really on software aspects

So don't try
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] jdjta:
The last update was working very well until this morning when I received a message from Google Pay that it was no longer working due to security requirements for my phone. After checking Safetynet the CTS Profile Match fails now. I made payments with it yesterday but it now I can't get it to work again. Can anything be done to restore the CTS profile?
[Realme X2 Pro ROMs, Kernels, Recoveries, & Other D] Karthick Chandran:
Check if it works now