yashsingh1/xdaforums huggingface dataset:
[Realme 7 Guides, News, & Discussion] Noel97:
He linked me to a website with only 300mb roms so I assume that it's some ota files and as far as I know, we can't flash ota files via sp flash tool

+ what if I downgrade with the ROM provided in your guide then update with the same 300mb roms found in the website subwaychamp sent ? Because like I said, I tried everything including what I'm saying right now and I got an error in the stock recovery while updating that is "The installed version is lower than the current"
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
That might work, but I've never tried it, so, no guarantees. I recommend you flash every file from a.87 to c.09 in chronological order to avoid any irreversible bricks.
[Realme 7 Guides, News, & Discussion] SubwayChamp:
Not sure what you mean with 300MB, this file for example has 3.2GB https://fileload.coloros.com/502387RMX2151GDPR_11_C.09_2021070809180082.zip you can guide you by the sizes; more than 3GBs it´s an OTA (ozip) update and more than 6GBs it´s an ofp update to be flashed through SP Flash tool.

If your device is working fine you should take a note which firmware you actually have and from there you can combine updates through stock recovery and SP Flash tool.
[Realme 7 Guides, News, & Discussion] Noel97:
But what if I get that error I mentioned earlier ?
[Realme 7 Guides, News, & Discussion] Noel97:
What should I do now ?

Flashing directly what you sent from Realme UI 1.0 ?

Sorry I meant 3GB not 300mb
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
Then you just reboot to system. It won't flash OTAs that don't work, I'm pretty sure.
[Realme 7 Guides, News, & Discussion] Noel97:
That's what my phone did, and that's why I said I'm stuck in android 10
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
It gave you the error because you tried to flash downwards, correct?
[Realme 7 Guides, News, & Discussion] Noel97:
Yeah, I tried to flash 3GB files the Realme 7 telegram support group were sending me but nothing actually worked
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
Can't you apply updates through the system settings while the device is on? Check, please.
[Realme 7 Guides, News, & Discussion] Noel97:
What do you mean ?

The update utility in the settings ?

No because it only shows android 10 :(

> I can't, even if I manually update via the file manager, it reboot to recovery, start the installation of the update then reboot and when it reboot it says that the update process failed
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
There should be three dots towards the top-right, I believe. If you flash a.87, It should let you update.
[Realme 7 Guides, News, & Discussion] Noel97:
No dots, just the settings wheel
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
Try flashing a.87, and then updating via the settings app. Alternatively, you could try flashing the original RMX2155 ROM, and then update from there - if the a.87 method doesn't work (atlhough, it probably should.)
[Realme 7 Guides, News, & Discussion] Noel97:
I was on a87 tho, I don't understand where I messed up
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
Try flashing a.84 from that website SubwayChamp mentioned. Should get you back to RMX2155.
[Realme 7 Guides, News, & Discussion] Noel97:
From that rom, I'll have to update to android 11 via the stock recovery, right ?
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
No, it should let you update via the setting's update-tab.
[Realme 7 Guides, News, & Discussion] Noel97:
Ok I'll try and I'll tell you.

Thank you very much for your time
[Realme 7 Guides, News, & Discussion] immns:
anybody here use this tool? https://github.com/bkerler/mtkclient

I did try to unlock bootloader & install custom recovery by using this tool

on RMX2151 RUI2 work successfully.

EDIT: try to unlock other device and getting weird bug. the bootloader unlocked but can't enter fastboot mode whatsoever. when i try to flash magisk patched bootloader it will fail to boot.
[Realme 7 Guides, News, & Discussion] torny113:
didn't work
[Realme 7 Guides, News, & Discussion] SwizzRM7:
Hold volume up + power button for a couple of seconds. It should force turn off your device. On your PC or laptop remove the libusb filters and install the mtk one again. Then try again with the brom.dat bypass
[Realme 7 Guides, News, & Discussion] torny113:
i already used brom.bat and it disabled protection
[Realme 7 Guides, News, & Discussion] SwizzRM7:
Okay,

Inside sp flash tool try a different download agent (DA file)

i will attach one for you.
[Realme 7 Guides, News, & Discussion] torny113:
ok thanks, ill let you know
[Realme 7 Guides, News, & Discussion] torny113:
says "Lib Da not match"
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
Try this one, maybe.
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
Nevermind. The file upload gets to 29%, and then stops. I'll try again later. Sorry about that.
[Realme 7 Guides, News, & Discussion] Miqas123:
Hi, after using filter wizard, picking mtk device and installing, my bootloader stop showing up, it now have black screen for couple of second then boot normaly, any ideas for bringing it back?
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
It boots up, and then you have to turn it off and use brom.bat to keep it off for the flashing process.
[Realme 7 Guides, News, & Discussion] torny113:
im tryna use brom.bat again but i get

RuntimeError: Unexpected output, expected 0x5f got 0xa0

what can i do?
[Realme 7 Guides, News, & Discussion] Miqas123:
I have completed your guide and succesfully unlocked bootloader, but now i have problem with fastboot failing installing vbmeta

FAILED (remote: 'not allowed in locked state')

Any ideas?

EDIT: I figured it out
[Realme 7 Guides, News, & Discussion] SwizzRM7:
Sorry forgot to mention in the general settings you need to untick the lib da match setting.
[Realme 7 Guides, News, & Discussion] torny113:
tbf i already did every thing and managed to downgrade it, im not able to use in depth tho, tried with India and vietnam as region
[Realme 7 Guides, News, & Discussion] SwizzRM7:
Okay that's strange, and you followed the guide from this link?:

https://xdaforums.com/t/changing-a-...dated-instructions-now-working-again.4143415/
[Realme 7 Guides, News, & Discussion] Dendor11:
Hi and thanks for your tutorial

unfortunately i ran into some problems regarding step 8

the script startet and said something like "disabling protection" but then my laptop got a bluescreen an rebooted. nothing too bad cause the phone still booted. after the restart i tried the script again but now i get an error and my phone wont start any more (i get the connect and disconnect noises from windows when i plug it in and out)

is my phone trash now?

please i need some help!

error message:

edit: ok i connected it to charge for a while and now the phone boots again :), but im not sure if i should start brom.bat again.

edit2: now im stuck at fastboot. i press volume up to unlock bootloader but nothing happens.

last edit: ok i got it going. nevermind
[Realme 7 Guides, News, & Discussion] Karimdous:
hello.thanks for your tuorial

I followed the tutorial and everthing goes well until I instaled magisk.zip from the recover then the settings app on my phone crashes and won't open anymore.any solution?
[Realme 7 Guides, News, & Discussion] Varun #1:
I want to root realme 7 but this error show... Have you know how to fix this ?
[Realme 7 Guides, News, & Discussion] Josemi_ssj:
Can someone please tell me if as of March 9, 2022 this method works.

And if it works, can it be done from a Linux PC?

Currently I have version rmx2155_11_A.91 this version is old and I don't get any update
[Realme 7 Guides, News, & Discussion] SubwayChamp:
There were several updates after that, with RUI2, you can find some of them here, https://realmefirmware.com/realme-7-firmware/ I have the RMX2151, but I found that any RMX2155 also suits for my device.

For unlocking I used this tool, https://github.com/bkerler/mtkclient
[Realme 7 Guides, News, & Discussion] Denyslav:
I have same error. Did you fix it?
[Realme 7 Guides, News, & Discussion] loweisounds:
Would this method work on a RMX2155_11_C.17 ?

with Realme 2.0
[Realme 7 Guides, News, & Discussion] SubwayChamp:
You can unlock using mtk client https://github.com/bkerler/mtkclient
[Realme 7 Guides, News, & Discussion] loweisounds:
I have installed the files but I'm confused on when to do the bootloading ? Should I remove metadata and then unlock then root the phone ? Or juste follow all the steps in the straight order ?

Also do you know which guide I could follow concerning the commands ?
[Realme 7 Guides, News, & Discussion] SubwayChamp:
Download the mtk-client zip, descompress it, and inside you wll find a readme.md file, it has the basic usage and commands for the tool. Metadata is not needed to erase.

Don´t forget to download and install properly the usbdk drivers, to get your device recognized.

To root the device, you have to, firstly, unlock the bootloader, otherwise, device won´t boot.
[Realme 7 Guides, News, & Discussion] loweisounds:
I've read the Readme extensively, I cannot figure out the order of those commands.

Their section "Root An Android Phone" has steps but they require a metadata and userdata removal before the bootloader unlock.

As en exemple, the 8) step which is the bootloading unlock should be done lastly hence my questions.
[Realme 7 Guides, News, & Discussion] SubwayChamp:
To unlock bootloader you have these instructions, if you want to follow exactly as they are, then you can, personally, I never erase metadata, it could be risky, specially in this device:

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.

Unlocking bootloader, firstly, is mandatory, in order to can customize your device, this means, to can alter some partition, and expect it can boot.
[Realme 7 Guides, News, & Discussion] loweisounds:
Thank you for your detailed answer. I've looked at the files inside the mtk-client and understood the readme file better.

So i don't need a metadata and userdata plus md_udc removal that's great!

In the mtkclient I can use python commands but will ADB commands (as mentionned in the readme) work ? I think that's different files and I do not know if mtkclient contains them.

I understood more about the process of boot and vbmeta dump and release.
[Realme 7 Guides, News, & Discussion] SubwayChamp:
You need, at least, erase userdata, otherwise, the device won´t boot.

Mm, not that you need exactly a file from the folder, you just have to unzip the folder, inside it, open a CMD, and run the scripts commands that are in the screenshots I uploaded for you, step 1, delete userdata, and step 2, the command to unlock bootloader.

Resuming, you have to run these commands:

python mtk da seccfg unlock and

python mtk e userdata

then reboot your device, try first without mdc-udc removal, just, if it is needed, go back to this step, because the need of this, depends on the build number you actually are.

You can do it, at least, till C17, in RUI2, for newer versions, I didn´t test it.
[Realme 7 Guides, News, & Discussion] loweisounds:
I use mtkclient' suggested liveCD where everything is pre-installed and i clicked on the "mtk client" shortcut on the desktop to start the program.

It starts the main GUI as if I used the "python mtk_gui" command.

Perhaps I should just go into the folder where the package/dependency is installed then run the commands via CMD like you said.

Using "cd mtkclient" would work right ?

I will do as you advise first and just delete the userdata without the other elements mentionned in mtkclient Github.

If that fails, i guess my phone would be bricked but as I am on C.17 kernel it should not be an annoyance as you said.
[Realme 7 Guides, News, & Discussion] SubwayChamp:
No, your device won't get bricked, if you do the steps correctly.

I don't use the graphical interface tool, but it's almost the same. As per using this tool on Linux, I didn't try it, I have both OSes in my PC (Windows and some Linux distros). Yes, cd mtkclient will get you there.
[Realme 7 Guides, News, & Discussion] loweisounds:
After removing specific files and then unlocking the bootloader using the python commands, will the installed firmware on my phone be the same ? Or will it be downgraded to another version so I can use Magisk ? Or according to the guide, it does not seem that it will downgrade the firmware ?

I am worried because I want to use my regional settings to use my SIM card in the scope of texting or calling, as an exemple.

From what I read on the Internet, the SIM card does not seem tied to the regional settings but I would like to get your point on this.

Also if I needed to go back to the mdc-udc step to delete them (In case skipping it would not be OK for the phone), do I need to do "python mtk da seccfg unlock" again ? The userdata should be deleted prior to this so it would not be an issue I guess.
[Realme 7 Guides, News, & Discussion] SubwayChamp:
No, unlocking nor erasing/format data, the device doesn't change the firmware nor any downgrade/upgrade is done.

Yes, that is, SIM card, in case you are not under a carrier contract, is free to run in any regional settings. Mention that, inside the ofp file, you'll find various super images, you can flash the convenient for your region.

Sorry, I forgot to mention, but you should back up the most partitions you can, using the mtk-client, prior to do anything, I don't care about userdata, recovery nor super image but the others.
[Realme 7 Guides, News, & Discussion] loweisounds:
Can i use the GUI in order to backup ? Apparently those are the only commands supported by the GUI in the mtkclient Github ('"For the 'basics' you can use the GUI interface. This supports dumping partitions or the full flash for now").

Then how would I do it?

I have attached this screenshot of some of my partitions in mtkclient, I do have the CLI running aside.

I'm confused about the nature of the OFP file though because I will only use Magisk APK (to patch boot.img and then flash) to root my phone so it may be the same thing under a different name (the regional settings within the app). I will do it using the mtk and adb commands provided in the Github section.

Also regarding the ADB commands like "adb pull /sdcard/Download/[displayed magisk patched boot filename here]" can I run them even without an sd card ? Does it rely on internal storage?

The 8) step "python mtk w boot,vbmeta boot.patched,vbmeta.img.empty" I can do it right after the adb pull and mv commands (from 6) right ? Because the bootloader is theorically already unlocked. It does not me tell me if I need to shutdown and reconnect the phone after the 6) step.

Moreover, on the regional settings, after the bootloader will be unlocked, Could I simply input my original regional settings ? I'm on a SIM contract right now but I do not want it to mess up the root process.

Lastly, you said to execute "da seccfg unlock" first then delete the metadata using "mtk e userdata" but the readme file advises the opposite: use mtk erase first then unlock bootloader. Maybe the order of the steps does not change much but I also would like your point on this so I can execute the steps correctly as you mentionned.
[Realme 7 Guides, News, & Discussion] loweisounds:
(Sorry quoting did a double post)
[Realme 7 Guides, News, & Discussion] SubwayChamp:
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.
[Realme 7 Guides, News, & Discussion] loweisounds:
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
[Realme 7 Guides, News, & Discussion] SubwayChamp:
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.
[Realme 7 Guides, News, & Discussion] loweisounds:
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?
[Realme 7 Guides, News, & Discussion] SubwayChamp:
There's no firmware for all the countries, but for regions.

Basically, yes.
[Realme 7 Guides, News, & Discussion] loweisounds:
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!
[Realme 7 Guides, News, & Discussion] SubwayChamp:
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.
[Realme 7 Guides, News, & Discussion] loweisounds:
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
[Realme 7 Guides, News, & Discussion] deltafile:
have you got it working?

did u unlock the bootloader?
[Realme 7 Guides, News, & Discussion] loweisounds:
I haven't started the process yet, I am still on vacation.
[Realme 7 Guides, News, & Discussion] Y-YoUsSef-F:
If anyone like to root Realme 7 (RMX2155) follow my method :

https://xdaforums.com/t/twrp-custom...ating-it-to-android-12-realme-ui-3-0.4474699/
[Realme 7 Guides, News, & Discussion] Y-YoUsSef-F:
Thank You so much! OrthodoxOxygen
[Realme 7 Guides, News, & Discussion] GMD152542:
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
[Realme 7 Guides, News, & Discussion] GMD152542:
los pasos 1 y 2 no tienes un tutorial de como hacerlos veo muchos archivos en esa carpeta y no se bien cual instalar
[Realme 7 Guides, News, & Discussion] leopseft:
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.
[Realme 7 Guides, News, & Discussion] Incarcecon:
Been having the same issue as you. Which method worked for you

?
[Realme 7 Guides, News, & Discussion] Incarcecon:
I keep getting that
[Realme 7 Guides, News, & Discussion] Incarcecon:
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

Go to the MTK Bypass Tools > mtkclient-main folder and transfer all its content to the Python directory.