[GUIDE] REALME 7 RMX2155 GLOBAL BOOTLOADER UNLOCK

Search This thread

loweisounds

Member
Jul 12, 2022
15
1
Realme 7
Yes, you can, just tick the items desired under the Read section, and keep the files in a specific folder. You don't need userdata, recovery/-a nor super image though, and they are very large, if anyway you want, you can.

OFP file is the firmware, where you can find all the images to flash onto your device. What Magisk does, is patching the boot image, you can get the boot image, once you have your device flashed, just dumping and transferring the image to your device.

SDcard refers to the internal memory, you just need to use the normal transferring option under Windows/Linux, and apply the Magisk patching, then use any of the methods I mentioned, to flash the boot image back to your device.

Again, in regard to the rooting process, I prefer the method mentioned over mtk-client method.

Yes, this is automatically done, when you insert the SIM card, this usually silently download the convenient regional/bands configuration.

You are confusing something here, you can't erase metadata (and I don't recommend it), invoking a different partition, as you stated (userdata), but assuming is just a typo, and you meant, deleting the userdata, then unlocking bootloader, don't worry about that, keep in mind that the normal/official bootloader unlocking process, in all the android phones, is first, properly unlocking it and then erasing/formatting data.
Yes, you can, just tick the items desired under the Read section, and keep the files in a specific folder. You don't need userdata, recovery/-a nor super image though, and they are very large, if anyway you want, you can.

OFP file is the firmware, where you can find all the images to flash onto your device. What Magisk does, is patching the boot image, you can get the boot image, once you have your device flashed, just dumping and transferring the image to your device.

SDcard refers to the internal memory, you just need to use the normal transferring option under Windows/Linux, and apply the Magisk patching, then use any of the methods I mentioned, to flash the boot image back to your device.

Again, in regard to the rooting process, I prefer the method mentioned over mtk-client method.

Yes, this is automatically done, when you insert the SIM card, this usually silently download the convenient regional/bands configuration.

You are confusing something here, you can't erase metadata (and I don't recommend it), invoking a different partition, as you stated (userdata), but assuming is just a typo, and you meant, deleting the userdata, then unlocking bootloader, don't worry about that, keep in mind that the normal/official bootloader unlocking process, in all the android phones, is first, properly unlocking it and then erasing/formatting data.
Indeed I did a typo on "metadata", I meant "userdata". If the official procedure is to unlock then erase the data then I think I will follow those steps.

Well i dont have any OFP files so I'm going to stick with the mtkclient root method, and download the magisk apk executing the commands on the CLI. Then using the adb commands with the mtkclient CLI.

I guess I need to shutdown and restart the phone prior to using mtk commands to do the writing process.
Also it's very neat for the SIM card as I need it badly, I can root the phone with the SIM plugged in right ?

Doing a bit more of research, I found this tool : https://github.com/italorecife/OppoRealme-OFP-Flash
Would it be useful as a "recovery"-ish tool after my bootloader is unlocked ?

You said earlier in a post : "To root this device, you simply, can patch the boot image from the ROM you are actually using, using magisk, then flash it back to the device, either using fastboot, SP Flash tool or mtk-client".
So I should not need to install the Magisk ZIP provided in the mtk client Github ? Do you have a tutorial on the most "convenient" way or a tutorial with more explanations/steps on how to root the device with mtkclient
 
Last edited:

SubwayChamp

Senior Member
Aug 6, 2016
4,199
4
1,669
Indeed I did a typo on "metadata", I meant "userdata". If the official procedure is to unlock then erase the data then I think I will follow those steps.

Well i dont have any OFP files so I'm going to stick with the mtkclient root method, and download the magisk apk executing the commands on the CLI. Then using the adb commands with the mtkclient CLI.
Always that I think to mod/root or change something onto my device, I download and keep a ROM, in case something goes wrong, and need to flash it back.
I guess I need to shutdown and restart the phone prior to using mtk commands to do the writing process.
Not restart, shutdown, and then press the both volume buttons, you need to install properly all the drivers, your device has to be sent to preloader mode.
Also it's very neat for the SIM card as I need it badly, I can root the phone with the SIM plugged in right ?
Yes, it doesn't matter.
Doing a bit more of research, I found this tool : https://github.com/italorecife/OppoRealme-OFP-Flash
Would it be useful as a "recovery"-ish tool after my bootloader is unlocked ?
You can always use SP Flash tool, fastboot or this mtk-client though, anyway, a way more to restore your device doesn't harm at all (not sure if this tool even works though)
You said earlier in a post : "To root this device, you simply, can patch the boot image from the ROM you are actually using, using magisk, then flash it back to the device, either using fastboot, SP Flash tool or mtk-client".
So I should not need to install the Magisk ZIP provided in the mtk client Github ? Do you have a tutorial on the most "convenient" way or a tutorial with more explanations/steps on how to root the device with mtkclient
Don't mix procedures, the procedure in mtk-client requires more ADB stuffs, not needed for a normal user, to not complicate the things.

To root it, you can back up/read your boot image, then transfer it to your device, install the Magisk apk, open it, and patch the boot image through it, from there you have the methods mentioned to flash it back, and achieve root, the Magisk apk, after the root (when you restart your device and open it) will prompt you to update it, in case you don't have TWRP or other custom recovery, then every time you want to update it, you have to patch the current boot image, you´re actually using, and flash it back.
 

loweisounds

Member
Jul 12, 2022
15
1
Realme 7
Always that I think to mod/root or change something onto my device, I download and keep a ROM, in case something goes wrong, and need to flash it back.

Not restart, shutdown, and then press the both volume buttons, you need to install properly all the drivers, your device has to be sent to preloader mode.

Yes, it doesn't matter.

You can always use SP Flash tool, fastboot or this mtk-client though, anyway, a way more to restore your device doesn't harm at all (not sure if this tool even works though)

Don't mix procedures, the procedure in mtk-client requires more ADB stuffs, not needed for a normal user, to not complicate the things.

To root it, you can back up/read your boot image, then transfer it to your device, install the Magisk apk, open it, and patch the boot image through it, from there you have the methods mentioned to flash it back, and achieve root, the Magisk apk, after the root (when you restart your device and open it) will prompt you to update it, in case you don't have TWRP or other custom recovery, then every time you want to update it, you have to patch the current boot image, you´re actually using, and flash it back.
So I should download a ROM from there ? https://realmefirmware.com/realme-firmware-update/ with "RMX2155" listed in my device, only downside is that my country is not listed into the acronyms.

So I shut down the phone and unplug it after doing the "mv [displayed magisk patched boot filename here] boot.patched" command right ? Then i plug it in, power it up the way you said, (which is the method used by mtkclient too to enter BROM mode) holding the two volume buttons. Then i perform "python mtk w boot,vbmeta boot.patched,vbmeta.img.empty" in the CLI ?

Moreover, on the update process, I should flash the boot.img by magisk again (using the "adb install" "adb push boot" and "adb pull"/"mv") and then re-perform the "mtk w" commands to re-flash it everytime a new APK is pushed on github right ? I cannot update it manually via the Magisk Manager?
 
Last edited:

SubwayChamp

Senior Member
Aug 6, 2016
4,199
4
1,669
So I should download a ROM from there ? https://realmefirmware.com/realme-firmware-update/ with "RMX2155" listed in my device, only downside is that my country is not listed into the acronyms.
There's no firmware for all the countries, but for regions.
So I shut down the phone and unplug it after doing the "mv [displayed magisk patched boot filename here] boot.patched" command right ? Then i plug it in, power it up the way you said, (which is the method used by mtkclient too to enter BROM mode) holding the two volume buttons. Then i perform "python mtk w boot,vbmeta boot.patched,vbmeta.img.empty" in the CLI ?
Basically, yes.
 

loweisounds

Member
Jul 12, 2022
15
1
Realme 7
There's no firmware for all the countries, but for regions.

Basically, yes.
I downloaded a ROM for my region in case of emergency.

After the mv command, Can I restart my phone safely ? Will I loose the instructions written before related to boot.img replacement and patching ?
I feel like I'm soon ready to start everything now that you answered a LOT of my questions!
 

SubwayChamp

Senior Member
Aug 6, 2016
4,199
4
1,669
I downloaded a ROM for my region in case of emergency.

After the mv command, Can I restart my phone safely ? Will I loose the instructions written before related to boot.img replacement and patching ?
I feel like I'm soon ready to start everything now that you answered a LOT of my questions!
Sorry for delay, I'm probably in the other side of the world.
Basically, what the CLI does, in regard to rooting, is pull and push back the boot/patched image, so it's the same, you just need to pull/read the boot image to your device rather than to your PC, then install the Magisk apk, open it, and patch the boot image that typically is in the Download folder, then pull out to your PC, and then flash/write back to your device, after of flash it, you just need to restart your device.
 

loweisounds

Member
Jul 12, 2022
15
1
Realme 7
Sorry for delay, I'm probably in the other side of the world.
Basically, what the CLI does, in regard to rooting, is pull and push back the boot/patched image, so it's the same, you just need to pull/read the boot image to your device rather than to your PC, then install the Magisk apk, open it, and patch the boot image that typically is in the Download folder, then pull out to your PC, and then flash/write back to your device, after of flash it, you just need to restart your device.
No problem man, your knowledge has helped me understand the process in a much less bloated way!
Got it, so restarting the phone is not an issue it seems; I will try all of this out
 
  • Like
Reactions: SubwayChamp

GMD152542

New member
Jan 14, 2018
2
0
donde puedo descargar la versión RMX2151PU_11.A.87 o inferiores se tiene que contar ya con esta versión para iniciar el metodo o viene en el enlace
 

GMD152542

New member
Jan 14, 2018
2
0
WELCOME, ALL.


After a very tiring process of swapping between ROMs and changing regions, APKs, et cetera, we have finally been able to perfect the method for unlocking the bootloader of the RMX2155! This is a detailed guide aimed to give you an easy time!

----------------------------------------------------------------------------

I AM NOT LIABLE FOR ANY DAMAGES, BRICKED PHONES, OR ANYTHING ELSE THAT HAPPENS. IT IS YOUR CHOICE TO FOLLOW THIS GUIDE, AND THE CONSEQUENCES ARE YOUR RESPONSIBILITY.

----------------------------------------------------------------------------


FILES NEEDED:



So that you don't need to go through the irritating process of downloading everything, extracting the OFP, and going to sketchy places to try and find a stock ROM, you can now download everything from either one of the links below:



Both links contain the same content: everything needed for this guide. It'll save you a lot of time.


----------------------------------------------------------------------------


PROCEDURE:



1. Download the .zip file from either of the links above, and then extract the files from inside.

2. Navigate to the "MTK Drivers" folder, extract the files, and then install them. For ".inf" files: You must right-click, and then select "Install" from the drop-down menu. You may have to disable a Windows setting for this to work, however, as they are unsigned drivers. You can learn how to do this here: https://www.howtogeek.com/167723/ho...8.1-so-that-you-can-install-unsigned-drivers/

3. Install Python if you haven't already. MAKE SURE TO ADD TO PATH.

4.
Hold "shift" on your keyboard, and right-click on the Windows home-key. Click "Command Prompt (Admin)".

5.
Type in the command "pip install pyusb pyserial json5", and then close your command prompt once it is done installing.

6. Extract the "Bypass Tools.zip" into a folder, and then navigate to the "Driver" folder within. Right-click on the file named "cdc-adm.inf" file, and select "Install". Wait for it to finish - though, it shouldn't take any longer than a second.

7. Install libUSB, and then open it. Power your phone off, and keep it that way. LibUSB should be called "Filter Wizard" in your start-menu. Right-click on it, and run it as an administrator. Have your RMX2155 and a trusty MTP cable on-hand. Click on "Install a device filter", then connect your Realme 7 with both volume-buttons pressed. Select and install the device that appears. It should have something like "MTK" in its name. Do this quickly, as it usually disappears after a few seconds. Once that is done: Unplug your phone.

8. Head to the folder with the bypass tools inside, and open "brom.bat". Connect your device with both volume buttons pressed. It should say something along the lines of: "Protection disabled" if it is successful. Disconnect your phone again.

9. Open the flash-tool folder, and launch the application inside. It is named: "flash_tool.exe". Select the scatter file inside the "OFP Contents" folder within the ROM folder, and un-check the following boxes: "Opposerver 2", "Special preload", "My custom", and "Cdt engineering".

10. Make sure that the box above where it lists all those files says: "Download only". This is very important. After you've verified that those boxes are without check-marks, and that the method is "Download only": Press the "Download" button at the top, connect your phone, and then press the volume-buttons. Once your phone is done flashing and a green check-mark is displayed: It will then boot. If it doesn't boot automatically, wait a few more seconds, and then hold the power key until it turns on. Give it some time.

11. Once it starts, and after you've gone through the main set-up process, you'll need to change your region to "Vietnam". This is a very important step to get your bootloader unlocked. For the sake of making this short: Follow the link. It will take you to a guide that should work for all OPPO devices. Please, read it carefully. From top to bottom. https://forum.xda-developers.com/t/...dated-instructions-now-working-again.4143415/

12. Move the Deep Test .APK file to your phone. Install it, and then open it. Submit your application, and wait. After: Just follow the directions given, and use ADB to unlock that bootloader. Use the following video to help you out if you don't already know how to unlock your bootloader with ADB! It also shows you how to flash a recovery, which will be useful if you wanna do that sorta stuff.




13. Success!



----------------------------------------------------------------------------


If you find that your phone won't connect through fastboot or SP Flash Tools after you've finished unlocking your bootloader, uninstall the LibUSB filter for your device (not the program), and then reinstall it.


For those of you wondering, YES, your phone can be flashed with GSIs, as it is a treble phone. However, you should download the "Treble Check" app off of the Playstore, as it supplies you with important information relating to which ROMs you can use with your device. IF YOU DO NOT MAKE SURE TO FLASH THE CORRECT GSI FILE TO YOUR PHONE, YOU MAY HARD-BRICK IT. Take a look at the guide below. Happy flashing!



https://forum.xda-developers.com/t/...n-realme-7-using-super-gsi-installer.4280785/


----------------------------------------------------------------------------


If you need help, just ask below!


----------------------------------------------------------------------------


EXTRA SPECIAL THANKS TO:

@albatron34000

@SwizzRM7

Working with you has been great!
los pasos 1 y 2 no tienes un tutorial de como hacerlos veo muchos archivos en esa carpeta y no se bien cual instalar
 

leopseft

Senior Member
May 12, 2011
104
48
Athens/Αθήνα
The guide is perfect apart from the step with the region change that doesn't work anymore.

I don't know if it is allowed to add external links, but I followed this guide without the need of the in depth apk thing.

https://www.droidwin.com/unlock-realme-bootloader-using-mtk-client-without-in-depth-test-apk/

The guide is correct, apart from the last step that you get the orange state warning. At this moment you need to press once the power button to continue. Then when you get into the recovery mode you need to wipe everything. Both wipe and format. Then the phone will boot normally with unlocked bootloader.
 

Incarcecon

Member
Oct 22, 2022
9
0
I keep getting that
 

Attachments

  • Screenshot_2022-10-22-16-27-38-41.jpg
    Screenshot_2022-10-22-16-27-38-41.jpg
    333.1 KB · Views: 1

Incarcecon

Member
Oct 22, 2022
9
0
The guide is perfect apart from the step with the region change that doesn't work anymore.

I don't know if it is allowed to add external links, but I followed this guide without the need of the in depth apk thing.

https://www.droidwin.com/unlock-realme-bootloader-using-mtk-client-without-in-depth-test-apk/

The guide is correct, apart from the last step that you get the orange state warning. At this moment you need to press once the power button to continue. Then when you get into the recovery mode you need to wipe everything. Both wipe and format. Then the phone will boot normally with unlocked bootloader.
I get stuck at step 6. I don't know how to transfer the content to python directory. Could you maybe put a step by step guide or a YouTube video in English to help
  1. Go to the MTK Bypass Tools > mtkclient-main folder and transfer all its content to the Python directory.
 

Incarcecon

Member
Oct 22, 2022
9
0
After downloading the package on my windows and the relevant adb drivers with the Realme flash app, I could not continue as my bootloader was locked. I then tried unlocking the bootloader following the steps on this link

https://forum.xda-developers.com/t/guide-realme-7-rmx2155-global-bootloader-unlock.4265055/



At step 10 my Realme 7 reset and went to Android 10 UI1 RMX2151_11_A.91 from RMX2155_11_F.07. After reaching step 12, to install and use the Deep Test apk on my phone, I got an error message saying “this phone model does not support in-depth test", so I assumed I was using the wrong apk and downloaded one from the official website but I still got the same error.




I then tried unlocking the bootloader using fastboot but got “FAILED (remote: Unable to open fastboot HAL) error”. I have double checked my drivers and still nothing.




I have tried letting the phone upgrade and update on its own but it stopped once it reached RMX2155_11_A.91. Putting the latest UI2 package in the phone and installing it while the phone is in recovery mode did not work too.



I am running out of options now
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    WELCOME, ALL.


    After a very tiring process of swapping between ROMs and changing regions, APKs, et cetera, we have finally been able to perfect the method for unlocking the bootloader of the RMX2155! This is a detailed guide aimed to give you an easy time!

    ----------------------------------------------------------------------------

    I AM NOT LIABLE FOR ANY DAMAGES, BRICKED PHONES, OR ANYTHING ELSE THAT HAPPENS. IT IS YOUR CHOICE TO FOLLOW THIS GUIDE, AND THE CONSEQUENCES ARE YOUR RESPONSIBILITY.

    ----------------------------------------------------------------------------


    FILES NEEDED:



    So that you don't need to go through the irritating process of downloading everything, extracting the OFP, and going to sketchy places to try and find a stock ROM, you can now download everything from either one of the links below:



    Both links contain the same content: everything needed for this guide. It'll save you a lot of time.


    ----------------------------------------------------------------------------


    PROCEDURE:



    1. Download the .zip file from either of the links above, and then extract the files from inside.

    2. Navigate to the "MTK Drivers" folder, extract the files, and then install them. For ".inf" files: You must right-click, and then select "Install" from the drop-down menu. You may have to disable a Windows setting for this to work, however, as they are unsigned drivers. You can learn how to do this here: https://www.howtogeek.com/167723/ho...8.1-so-that-you-can-install-unsigned-drivers/

    3. Install Python if you haven't already. MAKE SURE TO ADD TO PATH.

    4.
    Hold "shift" on your keyboard, and right-click on the Windows home-key. Click "Command Prompt (Admin)".

    5.
    Type in the command "pip install pyusb pyserial json5", and then close your command prompt once it is done installing.

    6. Extract the "Bypass Tools.zip" into a folder, and then navigate to the "Driver" folder within. Right-click on the file named "cdc-adm.inf" file, and select "Install". Wait for it to finish - though, it shouldn't take any longer than a second.

    7. Install libUSB, and then open it. Power your phone off, and keep it that way. LibUSB should be called "Filter Wizard" in your start-menu. Right-click on it, and run it as an administrator. Have your RMX2155 and a trusty MTP cable on-hand. Click on "Install a device filter", then connect your Realme 7 with both volume-buttons pressed. Select and install the device that appears. It should have something like "MTK" in its name. Do this quickly, as it usually disappears after a few seconds. Once that is done: Unplug your phone.

    8. Head to the folder with the bypass tools inside, and open "brom.bat". Connect your device with both volume buttons pressed. It should say something along the lines of: "Protection disabled" if it is successful. Disconnect your phone again.

    9. Open the flash-tool folder, and launch the application inside. It is named: "flash_tool.exe". Select the scatter file inside the "OFP Contents" folder within the ROM folder, and un-check the following boxes: "Opposerver 2", "Special preload", "My custom", and "Cdt engineering".

    10. Make sure that the box above where it lists all those files says: "Download only". This is very important. After you've verified that those boxes are without check-marks, and that the method is "Download only": Press the "Download" button at the top, connect your phone, and then press the volume-buttons. Once your phone is done flashing and a green check-mark is displayed: It will then boot. If it doesn't boot automatically, wait a few more seconds, and then hold the power key until it turns on. Give it some time.

    11. Once it starts, and after you've gone through the main set-up process, you'll need to change your region to "Vietnam". This is a very important step to get your bootloader unlocked. For the sake of making this short: Follow the link. It will take you to a guide that should work for all OPPO devices. Please, read it carefully. From top to bottom. https://forum.xda-developers.com/t/...dated-instructions-now-working-again.4143415/

    12. Move the Deep Test .APK file to your phone. Install it, and then open it. Submit your application, and wait. After: Just follow the directions given, and use ADB to unlock that bootloader. Use the following video to help you out if you don't already know how to unlock your bootloader with ADB! It also shows you how to flash a recovery, which will be useful if you wanna do that sorta stuff.




    13. Success!



    ----------------------------------------------------------------------------


    If you find that your phone won't connect through fastboot or SP Flash Tools after you've finished unlocking your bootloader, uninstall the LibUSB filter for your device (not the program), and then reinstall it.


    For those of you wondering, YES, your phone can be flashed with GSIs, as it is a treble phone. However, you should download the "Treble Check" app off of the Playstore, as it supplies you with important information relating to which ROMs you can use with your device. IF YOU DO NOT MAKE SURE TO FLASH THE CORRECT GSI FILE TO YOUR PHONE, YOU MAY HARD-BRICK IT. Take a look at the guide below. Happy flashing!



    https://forum.xda-developers.com/t/...n-realme-7-using-super-gsi-installer.4280785/


    ----------------------------------------------------------------------------


    If you need help, just ask below!


    ----------------------------------------------------------------------------


    EXTRA SPECIAL THANKS TO:

    @albatron34000

    @SwizzRM7

    Working with you has been great!
    2
    Many, many thanks for this part!

    “I had issue with ‘fastboot flashing unlock’. on option press volume up to unlock it did nothing, after 5 minutes i pressed volume down, yet when i rebooted it was unlocked. just sharing this for everyone here”

    The same happened to me and I was already going nuts! This really helped! Thank you!

    Also, many, many thanks to OrthodoxOxygen for this guide!

    May I suggest that you update your guide by adding at the very end something like: “If, after executing ‘fastboot flashing unlock’, pressing Vol Up does not work, press Vol Down and the phone should be unlocked.”
    2
    Do you think roms made for the RMX2151 will work? PixelPlus for example
    Yes it sure does!
    I'm currently using the Pixel plus rom
    Most (if not all) RMX2151 roms will work;)
    2
    Hi, can i unlock bootloader using this guide?

    RMX2155_11_C.13
    Yes you can. I was also on the same version! Good luck! Your phone will be downgraded to a asian realmeUI 1.0, then your sales region will be changed to a country in Asia (it needs to be the one in the guide) and then you just download an app so you can enter fastboot and then unlock the bootloader.

    Everything worked without issues for me. If your phone doesn't show up in fastboot, manually go to device manager and install the android ADB driver (I can help you if you need).
    2

    upload a87 instead. it work 100%​

    another person that i help upload file: