• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Guide] Guides for x2 Pro[Locking/unlocking bootloader, tweaks and more]

Status
Not open for further replies.
Search This thread

Jerry08

Senior Member
Oct 17, 2013
505
341
LG V60 ThinQ
At start i want to say that I'm not responsible for your bricked devices, houses set on fire, bla bla bla and so on.

Hello

Since I see that many users are having problems with unlocking bootloader, flashing twrp and getting properly working Magisk. So here i come.

Downloads:
Everything you need you find here, on my OneDrive.


Unlocking Bootloader

BEWARE! After unlocking bootloader your DRM widevine will change to L3.

Steps:
- download and install Realme_x2_Pro_DeepTesting.apk,
- open app and apply for deep test,
- enable Developer Options by tapping 7 times Version in Settings > About Phone
- go to developer options and enable OEM unlock and USB debugging,
- open app once again after some time tap "Query verification status",
- If you got approved application tap "Start the in-depth test" and phone will reboot to bootloader,
- on PC, download fastboot tools from somewhere else(unless you already have it, its not on my OneDrive)
- open folder where you have your fastboot installed, hold shift and click right mouse buton and choose "open command prompt here"(or Power Shell in newer version of windows),
- connect your phone to PC, and write
Code:
fastboot flashing unlock
- now on phone select "yes"
- now your phone will reboot and erase all your data,
- now you have unlocked bootloader.

Flashing Custom Recovery

I will guide you how to flash Custom Recovery.

Steps:
- connect phone to PC,
- on your PC in command prompt type adb reboot bootloader,
- download TWRP image from mauronofrio or OrangeFox image from thread put in your fastboot tools folder on PC,
- download vbmeta.img from my OneDrive and put in your fastboot tools folder on PC,
- type
Code:
fastboot flash recovery *******.img
- type
Code:
fastboot flash vbmeta vbmeta.img
- when flashing is done, on your phone select "Recovery Mode" with volume +/- buttons and accept with power key,
- now it will boot into TWRP

Getting properly working Magisk

For now I recommend always using Magisk Canary Debug version cause it supports realme phones(stable needs magiskfix to get out of Core only mode).

Steps:
-download Magisk Canary zip to your phones internal storage,
- boot to Custom Recovery,
- flash magisk,
- reboot to OS.


Updating ColorOS on rooted phone via TWRP


Use Magisk Canary cause it supports realme phones(stable needs magiskfix to get out of Core only mode).
This is the only way to update ColorOS via TWRP without losing magisk or running into damaged boot/recovery image message on boot for now.


Steps:
- download latest Magisk Canary, 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
Code:
/data/oppo/coloros/OTA/.otaPackage
- reboot to Custom Recovery,
- flash latest ozip through twrp recovery(don't reboot yet),
- flash vbmeta.img through Custom Recovery
- flash magisk(if flashing fail, than reboot recovery),
- reboot to system.



Locking Bootloader


Think twice after evey step you did if it's done correctly before doing next step to prevent HARD BRICKS.​


Steps:
- download right latest ozip for your device from realme site(don't cross flash device, flash global ozip on eu/in devices and cn ozip for cn devices),
- boot to Custom Recovery,
- Flash ozip and after don't do anything else, just reboot to system,
- let it boot to OS and replace Custom Recovery with stock recovery.
- (optional) boot to recovery to check if it is stock, if its stock recovery than you can lock bootloader(don't ever try to lock with Custom Recovery),
- reboot device to bootloader and through adb go with:
Code:
fastboot flashing lock
- accept locking bootloader query on phone,
- device now will reboot and perform factory reset.



F.A.Q.


Q: Can't flash xxxxxxxx.zip(or xxxxxxx.ozip/xxxxxxx.img) in Custom Recovery cause it throws an error, what to do?
A: Reboot recovery and try again.




...
 
Last edited:

henrym1203

Member
Nov 8, 2019
18
0
this method is compatible with CN version? Can we install a stock Rom or EU rom after unlocking the bootloader? It's really pity for the fingerprint I think as the majority will wait a fix for this issue before doing that

Thank you for your work anyway
 

Hellsblade

Senior Member
Apr 10, 2006
271
39
Amsterdam
Nice Work

Great Guide. But at this time i'm not willing to trade fingerprint unlock for root and magisk :).
Already losing the loading animation for using my good old lawnchair was disappointing can go back to coloros launcher easy though.
Maybe someone will/can find a trick for this boot unlock problem.
 

bmwbasti

Senior Member
Apr 29, 2011
382
44
Thanks for your efforts!

As I don't own a X2 Pro (yet) I'd like to know how presumably it is to get a solution for the "losing fingerprint problem"?
From other phones I know, that Widevine Lv1 gets lost but I never had the problem of losing my fingerprint scanner.
 

rooveg

Member
I'm planning to purchase X2 Pro and it seems a flaw for me if unlocking bootloader will disable fingerprint.
Does anyone ever try not to set up fingerprint, pattern or PIN lock from the first phone setup and then directly unlocking bootloader, flash TWRP, magisk and still have locking features working?
 

Hellvox

Member
Jul 27, 2018
8
3
I'm planning to purchase X2 Pro and it seems a flaw for me if unlocking bootloader will disable fingerprint.
Does anyone ever try not to set up fingerprint, pattern or PIN lock from the first phone setup and then directly unlocking bootloader, flash TWRP, magisk and still have locking features working?
Doesn't work. I tried it like that when I got the phone. Not logging in or setting anything on the phone, went straight to installing the unlock APK and unlocking the bootloader, still the FP issue.
 
Last edited:
  • Like
Reactions: rooveg

Jerry08

Senior Member
Oct 17, 2013
505
341
LG V60 ThinQ
I'm planning to purchase X2 Pro and it seems a flaw for me if unlocking bootloader will disable fingerprint.
Does anyone ever try not to set up fingerprint, pattern or PIN lock from the first phone setup and then directly unlocking bootloader, flash TWRP, magisk and still have locking features working?
Will not work cause when you unlock bootloader it formats data, so fp lock will be removed...

this method is compatible with CN version? Can we install a stock Rom or EU rom after unlocking the bootloader? It's really pity for the fingerprint I think as the majority will wait a fix for this issue before doing that

Thank you for your work anyway

This method should be compatible with CN version. And for the 2nd question answer is: no, at least not yet.
 
Last edited:

bharat.bkj

Senior Member
Jun 4, 2013
106
20
mumbai
Is the FP issue permenant .i mean i locked the bootloader again and all seems good now....but does that mean the realme x2 pro cannot be rooted without loosing FP???
This sucks big time ...its a shame on oppo/realme
 

bmwbasti

Senior Member
Apr 29, 2011
382
44
Wow, if there is no method of getting root on this phone and not losing the FPS it would be massive setback ?
 

loumaros

Member
Apr 21, 2011
48
7
Will not work cause when you unlock bootloader it formats data, so fp lock will be removed...

I think we're lost in translation.

Is bootloader unlocking and data wipe causing a permanent fp lock removal? Or just the ones that we have already set? If it's the 2nd case, then we can go back and set it up once again, right?
 

Jerry08

Senior Member
Oct 17, 2013
505
341
LG V60 ThinQ
I think we're lost in translation.

Is bootloader unlocking and data wipe causing a permanent fp lock removal? Or just the ones that we have already set? If it's the 2nd case, then we can go back and set it up once again, right?

No, fingerprint sensor is disabled. Can't do anything with it on unlocked bootloader. And once you lock bootloader you get back fingerprint sensor.
 

bmwbasti

Senior Member
Apr 29, 2011
382
44
Ist there any way/chance of the fingerprint issue getting fixed by xda developers (magisk module, flashable zip, whatever) or can this only by fixed by Realme itself via updating firmware respectively bootloader?
 

Jerry08

Senior Member
Oct 17, 2013
505
341
LG V60 ThinQ
Ist there any way/chance of the fingerprint issue getting fixed by xda developers (magisk module, flashable zip, whatever) or can this only by fixed by Realme itself via updating firmware respectively bootloader?
There's always a chance, be patient. I don't see a big issue with fingerprint. I got used to faceunlock. Using for a week already and I like it even more than unlocking with fingerprint.
 
Last edited:
  • Like
Reactions: lottez

bmwbasti

Senior Member
Apr 29, 2011
382
44
@Jerry08
Thanks for your answer ?
It's not about not beeing patient, but rather don't have a good feeling if such a mandatory part of the phone won't work. It's just like buying a new car and not beeing able to use the remote control to lock the doors and telling people "I don't mind cause I got used to use the key instead" ?
Don't get me wrong, I'm using faceunlock very often on my device but I have a bunch of apps where I use the fingerprint scanner to log in oder authorize and I would really really miss that feature.
It's less about not beeing able to use the fingerprint scanner for a few weeks but way more about beeing able to use the fingerprint scanner in some days/weeks in connection with an unlocked bootloader (again).
As I need a new phone theese day (and Black Friday is ahead) I can't wait a few month to see, if this issue gets fixed. Otherwise I would just watch the Realme x2 pro forum and buy (or not) in a few weeks or months ?
 

loumaros

Member
Apr 21, 2011
48
7
@Jerry08
Don't get me wrong, I'm using faceunlock very often on my device but I have a bunch of apps where I use the fingerprint scanner to log in oder authorize and I would really really miss that feature.
It's less about not beeing able to use the fingerprint scanner for a few weeks but way more about beeing able to use the fingerprint scanner in some days/weeks in connection with an unlocked bootloader (again).

I couldn't agree more. Most banking apps use fingerprint to bypass the password section. Also face unlock is not as secure as fingerprint.
It's a same as I would compromise on the not-so-good-photo quality over the speed and battery life of that device :(
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 28
    At start i want to say that I'm not responsible for your bricked devices, houses set on fire, bla bla bla and so on.

    Hello

    Since I see that many users are having problems with unlocking bootloader, flashing twrp and getting properly working Magisk. So here i come.

    Downloads:
    Everything you need you find here, on my OneDrive.


    Unlocking Bootloader

    BEWARE! After unlocking bootloader your DRM widevine will change to L3.

    Steps:
    - download and install Realme_x2_Pro_DeepTesting.apk,
    - open app and apply for deep test,
    - enable Developer Options by tapping 7 times Version in Settings > About Phone
    - go to developer options and enable OEM unlock and USB debugging,
    - open app once again after some time tap "Query verification status",
    - If you got approved application tap "Start the in-depth test" and phone will reboot to bootloader,
    - on PC, download fastboot tools from somewhere else(unless you already have it, its not on my OneDrive)
    - open folder where you have your fastboot installed, hold shift and click right mouse buton and choose "open command prompt here"(or Power Shell in newer version of windows),
    - connect your phone to PC, and write
    Code:
    fastboot flashing unlock
    - now on phone select "yes"
    - now your phone will reboot and erase all your data,
    - now you have unlocked bootloader.

    Flashing Custom Recovery

    I will guide you how to flash Custom Recovery.

    Steps:
    - connect phone to PC,
    - on your PC in command prompt type adb reboot bootloader,
    - download TWRP image from mauronofrio or OrangeFox image from thread put in your fastboot tools folder on PC,
    - download vbmeta.img from my OneDrive and put in your fastboot tools folder on PC,
    - type
    Code:
    fastboot flash recovery *******.img
    - type
    Code:
    fastboot flash vbmeta vbmeta.img
    - when flashing is done, on your phone select "Recovery Mode" with volume +/- buttons and accept with power key,
    - now it will boot into TWRP

    Getting properly working Magisk

    For now I recommend always using Magisk Canary Debug version cause it supports realme phones(stable needs magiskfix to get out of Core only mode).

    Steps:
    -download Magisk Canary zip to your phones internal storage,
    - boot to Custom Recovery,
    - flash magisk,
    - reboot to OS.


    Updating ColorOS on rooted phone via TWRP


    Use Magisk Canary cause it supports realme phones(stable needs magiskfix to get out of Core only mode).
    This is the only way to update ColorOS via TWRP without losing magisk or running into damaged boot/recovery image message on boot for now.


    Steps:
    - download latest Magisk Canary, 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
    Code:
    /data/oppo/coloros/OTA/.otaPackage
    - reboot to Custom Recovery,
    - flash latest ozip through twrp recovery(don't reboot yet),
    - flash vbmeta.img through Custom Recovery
    - flash magisk(if flashing fail, than reboot recovery),
    - reboot to system.



    Locking Bootloader


    Think twice after evey step you did if it's done correctly before doing next step to prevent HARD BRICKS.​


    Steps:
    - download right latest ozip for your device from realme site(don't cross flash device, flash global ozip on eu/in devices and cn ozip for cn devices),
    - boot to Custom Recovery,
    - Flash ozip and after don't do anything else, just reboot to system,
    - let it boot to OS and replace Custom Recovery with stock recovery.
    - (optional) boot to recovery to check if it is stock, if its stock recovery than you can lock bootloader(don't ever try to lock with Custom Recovery),
    - reboot device to bootloader and through adb go with:
    Code:
    fastboot flashing lock
    - accept locking bootloader query on phone,
    - device now will reboot and perform factory reset.



    F.A.Q.


    Q: Can't flash xxxxxxxx.zip(or xxxxxxx.ozip/xxxxxxx.img) in Custom Recovery cause it throws an error, what to do?
    A: Reboot recovery and try again.




    ...
    5
    RUDE!!!!!!!!!!
    But true!!!!!!!!
    You just described me in 3 words. Thank you.
    5
    @Jerry08 the A08 update is out, do we still need a custom build prop patch or do you know if the latest twrp 3.3.1.11 can now fully flash Magisk over it not just the core mode?
    You need custom patch and it doesn't flash through mauronofrio. 11. Still needs twrpcnen for properly working magisk.

    Good news is that A.08 fixes fingerprint with unlocked bootloader.
    4
    I'm still on V6.1, RMX1931EX_11_A.06 (EU version) with TWRPCNEN and Canary Magisk latest versions (20.4-0dc9f5c3, Code 20303 and MM 7.5)

    Now I want to change to TWRP Mauronofrio 3.3.1.-12 with vbmeta from Jerry, and official Magisk 20.3 with Magiskfix from Jerry and MM 7.5.1

    Is it correct when I just go to adb and follow the procedure according to @Jerry08 latest guide, overwriting just the old CNEN version, as well as just overwriting the Canary Magisk or do I have to uninstall something of the current installation before changing to the new versions?
    Is it correct that I install all above without booting into OS inbetween?

    Is it correct that after above procedure is done everything should run without reinstalling Color OS A.06?

    Tks a lot.

    Try like patalao described:

    You have to relock your bootloader, install the latest update available A08 and then do the normal procedure to unlock the bootloader again and flash twrp and root.
    That's the only way to get fingerprint working.

    Enviado do meu RMX1931 através do Tapatalk

    But you can relock bootloader after updating to A.08/A.09 than unlock, it will fix fingerprint also.



    As for the game space app, find gamespace apk somewhere and install.