yashsingh1/xdaforums huggingface dataset:
[Realme X2 Pro Guides, News, & Discussion] Jerry08:
Nope, I have EU device so don't know.

I don't know.

Yes, that shouldn't be a problem.
[Realme X2 Pro Guides, News, & Discussion] asusgarb:
Hi. I was writing in a telegram group about realme and some users said that in other devices BL can't be unlocked, or that deep test won't be compatible with android 10. Is there this incompatibility between deel test and android 10 on X2 pro too?
[Realme X2 Pro Guides, News, & Discussion] Sir Backe:
Locking Bootloader

According to [MENTION=5492063]Jerry08[/MENTION] guide on page 1, point 4 says

- let it boot to OS and replace TWRP with stock recovery.

How to replace TWRP with stock recovery within OS?

Tks for your attention.
[Realme X2 Pro Guides, News, & Discussion] Jerry08:
Can't within os, tou need to flash ozip to make unmodified stock partitions. When there's no modification done to stock rom, It will replace twrp with stock recovery while booting to OS..
[Realme X2 Pro Guides, News, & Discussion] mostafa asal:
You might brick your device if you relocked on a custom recovery which you'll flash before the custom rom.
[Realme X2 Pro Guides, News, & Discussion] asusgarb:
[MENTION=5492063]Jerry08[/MENTION] I keep having bad battery life (not only bad, worse) for a new device. I would like to know if with BL lock procedure I could be able to send it back to amazon. will the warranty be restored or is there a counter, like knox?

another thing, what about deep test? I am also on an italian forum and i found some users who said that we need to install deep test again and then remove it with the app itself. Will it be needed to restore warranty?
[Realme X2 Pro Guides, News, & Discussion] P1f:
imho you are better off investigating what drains your battery. Fist thing to try would be a factory reset then installing your apps one by one.

Most likely one app is in a loop somehow draining your battery.

Not sure what battery life you have but i get 8-10 hours screen on time per day, i cannot drain it in 1 day no matter how much i use it.

I was on a long flight last week, in airplane mode but with Wi-Fi turned on and after 5 and a half hours of using Netflix i still had 67% battery left.

For my usage the battery life is about double what i had before with OnePlus 6 and charging is also half the time what it took before, not even 20 minutes in the morning to get it from 20-30% up to full
[Realme X2 Pro Guides, News, & Discussion] KittyxUwU:
Lost the youtube system app when updating because of YouTube vanced. (uninstalled itself.) does anyone have the stock (not updated with updates uninstalled) youtube app? or a way to get it back (as a system app) after updating to ex_09? cant use the updated google play youtube for vanced.
[Realme X2 Pro Guides, News, & Discussion] andrea0807:
I am undecided whether to buy this phone because of the many problems it has in modding.

Is it possible to unlock the realme x2 pro booloader, install twrp, flash magisk and install future realme updates with twrp recovery?

Without losing magisk with each update and data with each update?

Also does the fingerprint reader work now?

Still no custom rom has been created for the x2 pro.:crying:
[Realme X2 Pro Guides, News, & Discussion] asusgarb:
BL can be unlocked.

Device can be rooted.

Root and recovery can be kept on update.

FP sensor work if already on at least A08 ROM version.

Everything in explained in OP.

About custom ROM it seems something started moving. Nothing defined, but better than nothing.

---------- Post added at 05:55 PM ---------- Previous post was at 05:48 PM ----------

How did you install Vance's (root or magisk)?

Please explain last sentence. What do you mean with "cant use the updated google play youtube for vanced"?
[Realme X2 Pro Guides, News, & Discussion] KittyxUwU:
It was with magisk, I had to uninstall the model reboot install YouTube from playstore reboot install vsnced from magisk, roobot again downgrade YouTube in settings manager reboot again then vsnced reappeared and YouTube restored as the system app
[Realme X2 Pro Guides, News, & Discussion] asusgarb:
I prefer root method, because sometimes magisk vanced disappears.
[Realme X2 Pro Guides, News, & Discussion] KittyxUwU:
tried the root method and it kinda failed on me.
[Realme X2 Pro Guides, News, & Discussion] raxeffect:
How do you guys install the latest ota (A.09) ozip?

I unlocked the bootloader after the A.08 OTA update and have installed twrp recovery and rooted with magisk as described here.

I haven't yet received the OTA. So I downloaded the ozip from realme site. When I try to install the ozip, it reboots to recovery and fails in twrp at digital verification.

Any suggestions on how to install would be welcome
[Realme X2 Pro Guides, News, & Discussion] Jerry08:
I updated to A.09 via twrp without any problem. Don't flash it from file manager as it will not work. Guide how to update coloros you have in first post.
[Realme X2 Pro Guides, News, & Discussion] raxeffect:
I have tried to update through TWRP manager as you described; but the OTA ozip is not visible in recovery. Should I change ozip to zip or something?
[Realme X2 Pro Guides, News, & Discussion] Jerry08:
Update TWRP recovery to latest unofficial.
[Realme X2 Pro Guides, News, & Discussion] asusgarb:
I suppose you failed because you had error "can't mount system".

If so, you have to mount system manually before flash it.

By the way, a newer version has been released, with a different install method.
[Realme X2 Pro Guides, News, & Discussion] raxeffect:
After updating the TWRP recovery, while trying to install the ozip it says zip verification failed. Do you think its the file itself or some problem with how I'm flashing it.
[Realme X2 Pro Guides, News, & Discussion] Jerry08:
Because you probably ticked zip verification after you selected ozip or in settings you enabled it. Disable zip verification cause it will fail...
[Realme X2 Pro Guides, News, & Discussion] Jerry08:
Updated guides as magisk_fix patch(removed from OneDrive) is not needed anymore(at least for magisk canary version).
[Realme X2 Pro Guides, News, & Discussion] Ricochet90:
Hi how can I flash the ozip using TWRP? do I need to convert it to zip again or something? TWRP can't see the ozip file

I'm trying to install the latest EU version 09
[Realme X2 Pro Guides, News, & Discussion] Bazz27:
Which version of TWRP u have....try flashing latest version
[Realme X2 Pro Guides, News, & Discussion] P1f:
magiskfix is still mentioned in the updating ColorOS section, can it be removed also from there if we use Canary version?

asking this because February update should come out any day now, probably the last update before RealMe UI
[Realme X2 Pro Guides, News, & Discussion] Jerry08:
Seems i missed it. Removed it from guide, thanks.
[Realme X2 Pro Guides, News, & Discussion] Henke83:
Hi all, can you please advice? I have EU version of X2 PRO with 09. When i flashed phone with magisk (different versions) i receive brick. "the current image boot/recovery have been destroyed and can not boot". Error. Have no idea what is wrong. Please give correct version of Magisk. I strongly followed instructions but any way got brick...i need root for activation of call recording
[Realme X2 Pro Guides, News, & Discussion] Jerry08:
Follow my guides step by step, and you will find that you forgot to flash vbmeta and that's why you're getting this message.
[Realme X2 Pro Guides, News, & Discussion] Henke83:
:good:Yes you was 100% right. My mistake
[Realme X2 Pro Guides, News, & Discussion] Aj.GaLaxY aCE:
i have restarted my mobile several times after root.

But today it wont just boot after i restart. It got stuck on yellow color real me boot logo screen. I was on latest firmware A 09 and rooted with magisk 20.3 and used magisk fix when rooting as per guide.

Edit : I had the latest twrp from maurinho installed. I have a twrp image of just before rooting after unlock. But i backuped up evrything on there (All boxes tick). If i have to restore that what things should i select after wipe device (i havent done that)

Edit 2 : i tried flashing vbmeta.img in fastboot. doesnt help. flashed magisk again in twrp doesnt help too. will wait for response now. There was no error message like no boot image or something
[Realme X2 Pro Guides, News, & Discussion] Jerry08:
If you're stuck in yellow logo than it's not vbmeta problem. Did you install/flash something new before that restart when you stuck? Don't have enough info regarding this.

Anyway, for a backup you don't need to wipe anything before restoring backup. It will wipe chosen partitions right before restoration process.
[Realme X2 Pro Guides, News, & Discussion] Aj.GaLaxY aCE:
It is now stuck on white logo. What should be the best step forward so i am not stuck with a bricked device

Edit : no I did install an app that grant root access. Didn't flashed anything except the magisk at start when root. Was fine till today.
[Realme X2 Pro Guides, News, & Discussion] Jerry08:
The best would be to format data(option where you type "yes") and try boot to OS.
[Realme X2 Pro Guides, News, & Discussion] Aj.GaLaxY aCE:
Format data typed yes. Stuck on real me white logo now

Edit : device auto boot to bootloader now.
[Realme X2 Pro Guides, News, & Discussion] Jerry08:
That's weird. You have to flash latest ozip through TWRP. Follow updating Coloros guide and you should be fine.
[Realme X2 Pro Guides, News, & Discussion] Aj.GaLaxY aCE:
Please explain the steps to flash correctly to a newbie

Consider I downloaded the zip from real me site.
[Realme X2 Pro Guides, News, & Discussion] Jerry08:
You have exact steps in the first post in "Updating ColorOS on rooted phone via TWRP".

Steps:

- download magisk, vbmeta.img and latest update package(ozip) for your device(cn rom for cn device, global rom for eu/in device), if you download update via official OTA app the package is located in

/data/oppo/coloros/OTA/.otaPackage

- reboot to to TWRP,

- flash latest ozip through twrp recovery(don't reboot yet),

- flash vbmeta.img through TWRP,

- flash latest magisk(if flashing fail, than reboot recovery),

- reboot to system.
[Realme X2 Pro Guides, News, & Discussion] Aj.GaLaxY aCE:
Flash ozipsaya failed to mount /dev/block/bootdevice/by-name/userdata at /data : device or resource busy

Script succeeded result was [/data]

---------- Post added at 06:28 PM ---------- Previous post was at 06:09 PM ----------

To flash vbmeta do we have to go to install> install image> select vbmeta. Img> select vbmeta partition.

Is there chance of hard brick and should I just send it to the service centre?
[Realme X2 Pro Guides, News, & Discussion] Jerry08:
As long as you don't cross-flash partitions you won't hard brick your phone.

You flash vbmeta exactly as you described:

install> install image> select vbmeta. Img> select vbmeta partition
[Realme X2 Pro Guides, News, & Discussion] asusgarb:
Hi. I tried whole week to stay without root (BL still unlocked) to check if it was the cause of my battery drain but nothing changed.

I know I have already asked, but at this point I need this info, because probably my battery is defective.

I want to send it back to Amazon and change with or another one or switch to other device.

Can I relock the BL and send it back? Or I have to resign to keep it because I have unlocked it?
[Realme X2 Pro Guides, News, & Discussion] Jerry08:
Yes you can relock and send back, just once you flash ozip with TWRP and boot to OS go back to recovery(should be stock recovery by then) and check if it reports that you are rooted or not. If you see rooted like on screenshot than flash once again ozip with stock recovery. Once "rooted" dissappear you can lock bootloader and send it back.
[Realme X2 Pro Guides, News, & Discussion] asusgarb:
Thank you. While I wait for X50 or Mi10 Pro I've installed 2 modules: GMS Doze and LKT. Let's hope they'll help me in the meantime.
[Realme X2 Pro Guides, News, & Discussion] Aj.GaLaxY aCE:
1. How to unroot as I cant boot after flash ozip, i can't flash magisk Uninstaller. Root voids warranty

2. Flash ozipsaya failed to mount /dev/block/bootdevice/by-name/userdata at /data : device or resource busy

Script succeeded result was [/data]

How to solve this the system doesn't boot and forces me into twrp.

Any solution for 1 and 2?
[Realme X2 Pro Guides, News, & Discussion] asusgarb:
About magisk fix. If I'll forgot to flash vbmeta on next update I'll have to install only magisk canary, right? Because I've read that the fix has been removed.

---------- Post added at 11:44 AM ---------- Previous post was at 11:38 AM ----------

Maybe you can try to flash vbmeta when you're forced on twrp.

Or the solution is a factory reset. But I do it only if I need a clean start.

But I'm not sure at 100% it flash vbmeta will solve. Instead I know about reset.
[Realme X2 Pro Guides, News, & Discussion] Jerry08:
Ignore 2, it doesn't matter. For 1 just format format data after ozip flashing, don't do anything else. You don't need flash any uninstaller. Why do you ignore when I ask to follow step by step? That's why you get all the problems.

[MENTION=2718581]asusgarb[/MENTION]

no need for magiskfix anymore.
[Realme X2 Pro Guides, News, & Discussion] gamr13:
I followed the guide step-by-step, however, after installing ViPER4Android through Magisk and disabling Core Only Mode, I get stuck at the Realme logo whenever I reboot, forcing me to reinstall the ozip. Is there a way around this?
[Realme X2 Pro Guides, News, & Discussion] Jerry08:
Which version of magisk you use? I think it's viper module incompatible with x2 Pro, I think you should ask modules developer.
[Realme X2 Pro Guides, News, & Discussion] gamr13:
Turns out removing YouTube or YTMusic softbricks the phone. Shame, I wanted YouTube Vanced.
[Realme X2 Pro Guides, News, & Discussion] gamr13:
Solved it by flashing https://xdaforums.com/realme-x2-pro/how-to/rmx1931ex11a-09-available-t4042331 this and then force rebooting when it was flashing vendor. Saved my data and it works fine.
[Realme X2 Pro Guides, News, & Discussion] Jerry08:
Definitely no, I remove YouTube and YouTube Music everytime i flash ozip.
[Realme X2 Pro Guides, News, & Discussion] gamr13:
I assure you that's what caused the softbrick, I've confirmed it once more and solved it again by flashing the ozip until it gets to vendor then force rebooting.

It seems some are hard coded into ColorOS, and note, I uninstalled them, not disabled.
[Realme X2 Pro Guides, News, & Discussion] Jerry08:
I don't disable, I "rm -rf" them. Anyway, how did you remove/uninstall YouTube and YouTube Music? And did you remove/uninstall them after you flashed YouTube Vanced?
[Realme X2 Pro Guides, News, & Discussion] gamr13:
I used the app that I always use to uninstall system apps called System App Remover https://play.google.com/store/apps/details?id=com.jumobile.manager.systemapp

YouTube Vanced can't be installed without removing the original YouTube app, that's what I did and after a reboot resulted in a softbrick (stays at the white Realme logo, doesn't get to the boot animation). After flashing the system image, it got replaced with the original YouTube app, interestingly though, using TWRP to place the backed up system YouTube folder to place it back where it belongs the system still refuses to boot unless the system image is flashed back.
[Realme X2 Pro Guides, News, & Discussion] Jerry08:
Because it's not YouTube apps case. I would blame the app you use to remove system apps as realme/oppo have some dirty services running in background that could mess up alot while you're booted to OS and modify system partition. You can delete YouTube folder from system/apps in TWRP(that's how I do that) and you will be fine. Anyway, you don't need to remove YouTube app to get YouTube Vanced. You can flash magisk module and just disable auto updates for YouTube.
[Realme X2 Pro Guides, News, & Discussion] gamr13:
The Magisk module alone does nothing, it doesn't install the YouTube Vanced app or modify the YouTube app at all, at least the Vanced Black module doesn't.

I'll try remove it from TWRP and see what happens later on today. I've seen a couple others having soft bricks when removing the YouTube & YTMusic app.
[Realme X2 Pro Guides, News, & Discussion] Aj.GaLaxY aCE:
Yes I can confirm that uninstall ing youtube music using system app removal soft bricks the phone.

Using USB debug to remove the apps via cmd prompt doesn't for me.

A QUESTION :

After soft brick, even when I installed ozip via twrp and flash vbmeta. Img my phone was stuck at boot logo.

How did you force reboot at flashing vbmeta partition while flash A09. Ozip via twrp?

I had to go to service centre where they flashed A07 firmware and my device was back to normal. Any idea how they flashed a07?
[Realme X2 Pro Guides, News, & Discussion] gamr13:
What command did you use?

I flashed the OZIP in TWRP until it got to Vendor and force rebooted to preserve my data.
[Realme X2 Pro Guides, News, & Discussion] Aj.GaLaxY aCE:
Just Google how to remove system app on non root.

Involves adb shell usage.

And how to force reboot in middle of flashing ozip through TWRP and at what exact instance?
[Realme X2 Pro Guides, News, & Discussion] gamr13:
Hold volume + and power buttons, and as I said, when it flashes Vendor. The first progress bar will flash System, after that will be Vendor.
[Realme X2 Pro Guides, News, & Discussion] Jerry08:
You just had to format data(option where you type "yes". And they flashed a.07 through QFIL mostly likely.

And here's adb uninstall guide:

https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
[Realme X2 Pro Guides, News, & Discussion] asusgarb:
Since I have to send this device back. I decided to try magisk canary. So at first I uninstalled "classic" magisk with magisk uninstaller, then flashed canary and....bam!

Loop at reboot! It always went to recovery. Even uninstalling it but nothing. So I did a factory reset from recovery.

Please, can you keep magiskfix for who prefer classic magisk?

By the way, in [MENTION=4712355]mauronofrio[/MENTION] twrp thread I said I formatted every partition in advanced wipe. I tought it could be the cause of my battery life problems. He says so, and what do you think.

I think you're some of the best authors ATM in X2 Pro, so I would like to hear you two both, so that I won't make same "mistakes" with new device.
[Realme X2 Pro Guides, News, & Discussion] Jerry08:
I honestly don't know. I'm flashing only magisk canary and I don't have such problems. As for battery that mostly likely doesn't have anything to do with magisk or recovery. It's just some app draining battery.
[Realme X2 Pro Guides, News, & Discussion] gamr13:
Could you post the Magiskfix again so I can pass SafetyNet? It was the only thing that made it pass for me. I don't use the Canary build since I vastly prefer stability above all else, and don't want to risk my current install.
[Realme X2 Pro Guides, News, & Discussion] asusgarb:
Thanks, but I was meaning that maybe when I formatted system partition or vendor partition maybe I made a little mess with some settings that should not be erased.

But I tried with BBS too, and it didn't find any wakelock.

By the way tomorrow I'll receive new device in replacement of this one, so I'll see.

Now battery is extremely good, but I 5hink it's normal, because xda labs is the only app installed by me.
[Realme X2 Pro Guides, News, & Discussion] asusgarb:
I agree. I tried to install GMS Doze module and I found that module is the cause of the reboot in recovery. Fortunately I could uninstall it from recovery. But I can make it work perfectly with magisk 20.3.

So I'm here too asking you to add magiskfix again for stable release.
[Realme X2 Pro Guides, News, & Discussion] dsz1337:
Hey guys, today I received my X2 Pro.

I´d really like to use Youtube Vanced again. How is the correct installation approach?

Do I have to delete the Youtube App, if yes, how? By deleting system/app folder like [MENTION=5492063]Jerry08[/MENTION] said?

Should I use the magisk module oder the new method with apk split installer as shown on Youtube Vanced xda page?
[Realme X2 Pro Guides, News, & Discussion] Aj.GaLaxY aCE:
Both the youtube magisk module doesn't work for me. Magisk 20.3 user here. And after install it doesn't get removed even after delete on reboot and other modules stay also like kfmark enabler even when deleted. They don't work also.

I used the non root method for YouTube vanced.
[Realme X2 Pro Guides, News, & Discussion] dsz1337:
Also, I will probably send the device back if the tweaks I used on my OP6 don´t work.

After relocking bootloader will there be any way to find out if the device already had been rooted?
[Realme X2 Pro Guides, News, & Discussion] gamr13:
They don't care if your device has been flashed or not, but if you're still concerned, flash the stock firmware again in TWRP, relock the bootloader and you're good to go.
[Realme X2 Pro Guides, News, & Discussion] flubber1911:
So today I received my X2 Pro. I followed your manual exactly, but at first I updated the system to A09 EU via OTA.

Always after flashing Magisk v20.3 my device stays in bootloop.

Do you guys know how to fix it?
[Realme X2 Pro Guides, News, & Discussion] gamr13:
Follow the guide step by step, you forgot to flash the vmbeta.
[Realme X2 Pro Guides, News, & Discussion] Jerry08:
Uploaded magiskfix to my OneDrive.
[Realme X2 Pro Guides, News, & Discussion] gamr13:
Thanks!
[Realme X2 Pro Guides, News, & Discussion] flubber1911:
I followed each and every step of the guide.

Flashed TWRP and vbmeta successfully through fastboot.

Rebooted into TWRP. Flashed Magisk v20.3.

Reboot OS and got thrown back into TWRP.

I could get back to OS finally by flashing ozip from TWRP and reboot to TWRP where I erased user data.

Then reboot OS worked.

I really dont know what I could have possible done wrong.

Maybe I´ll try it another time, but I´m used to have every working just fine on my OnePlus devices ...
[Realme X2 Pro Guides, News, & Discussion] KittyxUwU:
it does work, dont delete the main system youtube app, 1. go into magisk uninstall the module and reboot. 2 go into settings uninstall updates, reboot 3 update youtube from playstore then uninstall updates again, reboot 4 go to magisk ONLY install vanced (white mode) dont install dark mode let realme lab take care of dark mode. and just reboot phone then reboot and see if it changes.

---------- Post added at 08:45 PM ---------- Previous post was at 08:38 PM ----------

magisk module works fine for me. you dont need to remove youtube app, you can adb yt music if you dont use it though.
[Realme X2 Pro Guides, News, & Discussion] gamr13:
I've never once had the Magisk Module work.
[Realme X2 Pro Guides, News, & Discussion] NDbluewee:
Hi

I was about to order my Realme X2 Pro in Malaysia after going through every thread in the side and trying to understand the right approach of boot loader unlock, magisk and others!

Many thanks to all the contributors here and feed backs to further improving and upgrading the standard of Realme X2 Pro!

Unfortunately, the bad new is that, I called up Realme Service Center in Malaysia trying to find out how many versions of Realme X2 Pro do they have ........ namely, 3 types from CN. EU and IN (international)!

Malaysia version cannot has bootloader unlocked that the reply I got from the technical guy in spite confirming the model is RMX 1931 and version is A 9.0 on color OS 6.1. And will be upgraded to color OS

new UI 1.0 (version V 1.0 under Android 10). Funny thing is that, CN, EU and IN can have the bootloader unlock but NOT Malaysia set a reply from Realme Service support!!

Question here, can I still buy and unlock the bootloader? Any experts here can advise me what any other option to have the bootloader unlock?

Appreciate your comments with thank you in advance.
[Realme X2 Pro Guides, News, & Discussion] Jerry08:
You should be able to unlock without problems. Realme india/europe was also claiming that you can't unlock bootloader on eu/in x2 Pro at the beginning(later this changed once they released unlock bootloader thread in their forums) and I had it already unlocked.