yashsingh1/xdaforums huggingface dataset:
[Realme 7 Guides, News, & Discussion] jakubm:
Tutorial:

1.Download all drivers from the package from first post.

2.Install libUSB. (Tutorial in first post)

3.Install python >= 3.9 (ADD TO PATCH!!!) and git.

4.Insert this commands to cmd.
git clone https://github.com/bkerler/mtkclient
cd mtkclient
pip3 install -r requirements.txt

That copy files and install required libs to python. The link to mtk client site: https://github.com/bkerler/mtkclient

All files is been installed, lets go to work:p.

5.Downgrade to rui 2 rom. (Idk it necessary some time ago it not worked with rui 3 but on site now android 12 is supported idk. When i tried that not bricked my phone, the bootloader not unlocked. Someone can test it if want to get access to more roms.) I working on rui2. I will send link to self compiled stock rom (rui2). To flash it use flash tool from first post, on there is tutorial how to get it working (brom.bat and lib usb etc.) Flash the rom like from #1 post. "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"."

(If some partition not existing in the rui 2 rom it ok.)

6. Now enable usb debugging and OEM unlocking. Turn off device.

7. Open MTK client and type: python mtk e metadata,userdata,md_udc and connect the phone in download mode. If this end type: python mtk da seccfg unlock to unlock bootloader (for lock python mtk da seccfg lock)

Now unplug the cable and try some button combinations to reboot device. ( power and vol)

Your bootloader is unlocked.

Now you can have problem with get into recovery. If you hold down the vol- ad power button it not works. You need to hold power button very fast after vibration click vol - . That very hard but possible. That by dm-verity. If you need to turn on phone you need to click power button in 5 sec after boot "If you are getting a dm-verity error on Android 11, just press the power button, then the device should boot and show a yellow warning about unlocked bootloader and then the device should boot within 5 seconds.". And the stock os rewrite a recovery on every boot.

Have fun!

If any question type on this thread, that worked for me. Big congratulations for @SubwayChamp , his support and answering to my qusetions. That all tutorial.

For best roms i use and working twrp go to telegram channel:

Gofaraway roms support group.

Be kind, Don't Spread Hate, Don't Abuse

t.me

For twrp type /notes on chat and go to pm and find twrp (ver 3.6 works better).

Thanks!

Link for rui 2 rom : https://mega.nz/file/46MX3YJI#ZjGHQDVjZqbjS4oIEf2eOsIoBFWfWO-9JgSi6eZFqLc (compiled by me, for euex region)

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.
[Realme 7 Guides, News, & Discussion] banangracz1:
will this work if i have r ui 1?

nevermind i got it thank you so much
[Realme 7 Guides, News, & Discussion] jakubm:
Yes it works but które roms is on rui 2. You unlocked sucsesfully?
[Realme 7 Guides, News, & Discussion] banangracz1:
sorry for this dumb question but how do i open mtkclient?

im stuck on this step
[Realme 7 Guides, News, & Discussion] jakubm:
It command line tool. It not turning on. You manage this tool with command

Official site: https://github.com/bkerler/mtkclient
[Realme 7 Guides, News, & Discussion] banangracz1:
hey i got this error

and when i go back its this error
[Realme 7 Guides, News, & Discussion] jakubm:
go to pm
[Realme 7 Guides, News, & Discussion] Paradoxon_:
Can confirm that this works! Thank you. One thing: Rui3 on Android 12 is still not supported with this method, it won't unlock anything, just give you the dm_verity error. Only works on Rui2 (maybe even Rui1).
[Realme 7 Guides, News, & Discussion] hvera12:
bro, to install roms what do I want, how do I change from rmx2155 to rmx2151? I want to install pixel experience. or don't I necessarily need to change it?
[Realme 7 Guides, News, & Discussion] Bicherob:
Hi guys,

I have Rui v1 (android 10 from first post) and i have this error message when i use "python mtk e metadata,userdata,md_udc" and try to connect phone

so i tried to flash rom provided by jakubm but i got this

No probleme to flash rui v1.

Someone can help ? Ty !
[Realme 7 Guides, News, & Discussion] SubwayChamp:
You need a permissive preloader file, to can start flashing.
[Realme 7 Guides, News, & Discussion] Bicherob:
I have it, it tried flashing with or without preloader same result. I unchecked opposerver2 and CDT.
[Realme 7 Guides, News, & Discussion] SubwayChamp:
I didn´t say, you try to flash, with or without preloader, I mentioned a permissive preloader, this may come from a special build, with any release, some preloader files allow the user, to unbrick a device, while other not, try with some preloader/s file/s from different build, but using the specific you want.
[Realme 7 Guides, News, & Discussion] Bicherob:
Oh ok my bad ! I will try ty 🙌
[Realme 7 Guides, News, & Discussion] Nikita 293:
Привет, на реалме 7 точно работает, а как установить TWRP?
[Realme 7 Guides, News, & Discussion] Nikita 293:
Hi it definitely works, on realme 7 and how to install TWRP
[Realme 7 Guides, News, & Discussion] Bicherob:
Sorry i'm a noob. I succeed to flash your rom with Rui 2 but i still have the error message "Preloader - [LIB]: Status: Handshake failed, retrying...". I don't know where i can find preloader file you're talking about.

Why does it works for other people with no problem ? Region ?

thank you !
[Realme 7 Guides, News, & Discussion] SubwayChamp:
It´s not my ROM

It could be an error with your device, it´s unresponsive, you have to check the installation of the drivers, the LibUSB drivers, the installation of the tool.

You just have to search for "custom preloader for Realme 7" or something similar, also you can search for DA auth file for mt67.. don´t remember the exact number, check the processor

No, has nothing to do with, it depends exclusively on the status of your device.

Apart of all that I said, check this
[Realme 7 Guides, News, & Discussion] Bicherob:
It worked with linux ! Ty very much
[Realme 7 Guides, News, & Discussion] LuisAlfredo92:
Hello, what's download mode?

In my phone there's only recovery and bootloader (that reboots directly)

So the tool never loads
[Realme 7 Guides, News, & Discussion] LuisAlfredo92:
Well now I have this error

I followed the original steps until "You have to change your region to Vietnam", it didn't work so I researched more and found your steps, but the tool doesn't work
[Realme 7 Guides, News, & Discussion] jakubm:
Sorry my miss. I will correct this soon. Yes it Brom mode.
[Realme 7 Guides, News, & Discussion] superpawelek1337:
Hello, I have problem with 11. and then when im doing point 17. nothing happens. please help me I need new rom on my phone fast
[Realme 7 Guides, News, & Discussion] jakubm:
Try to read the thread meaby. That not working already. I writed a new tuto, some posts ago.
[Realme 7 Guides, News, & Discussion] superpawelek1337:
can I take it to the start? i dont want anymore to ****up something with my phone :( im broken
[Realme 7 Guides, News, & Discussion] jakubm:
Bro, in the tutorial I gave self decrypted ofp files with stock firmware. Just read....
[Realme 7 Guides, News, & Discussion] superpawelek1337:
where? give link please, im crying
[Realme 7 Guides, News, & Discussion] superpawelek1337:
can u contact me on discord and help? PLEASEEEEE
[Realme 7 Guides, News, & Discussion] jakubm:
Give me a name in pm
[Realme 7 Guides, News, & Discussion] superpawelek1337:
I sent
[Realme 7 Guides, News, & Discussion] SwizzRM7:
Yes it sure does!

I'm currently using the Pixel plus rom

Most (if not all) RMX2151 roms will work;)
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
They do. Your phone is already a RMX2151, because the only thing that split the RMX2155 and the RMX2151 apart was the kernel.
[Realme 7 Guides, News, & Discussion] deltafile:
Hi,, is this viable even on the last update?

I have the last android 11 update.

This method resets the phone like a factory reset? (i mean the bootloader unlock phase)
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
This method will not work with any other ROM than the ROM uploaded to the MEGA, as some necessary changes have been made to that file - those of which make unlocking the bootloader possible. Also: Your phone will factory reset, as it will for any other device after unlocking the bootloader.
[Realme 7 Guides, News, & Discussion] deltafile:
So i need to downgrade then?
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
Yes. I believe you can upgrade after the process is done. Just flash the provided ROM, and follow the steps until your bootloader is unlocked. Then: You can do whatever you want. You could even flash a custom ROM - most of which run off of Android 11.
[Realme 7 Guides, News, & Discussion] deltafile:
it's possile to know what changed to allow root?

im a developer and im just curious lol

Maybe i can proved a cool tool to automizem pathing or something like that
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
I don't know too much about what Magisk does to the boot image, but it likely adds its directories, prop file, etc. I'm pretty sure you can find its code on the Github, or - once you have root - you can use a file explorer to find the Magisk directories and investigate from there.
[Realme 7 Guides, News, & Discussion] deltafile:
I meant what allow the possibility to unlock the bootloader, no the root method.

Wait, os it's just a 'patched' ROM?

How about code signing of the rom? Realme just accept a modded stock rom to be flashed?

I know that magisk patch the boot image so you have root in kernel mode each time u boot, like a hook, so you can bypass securityNet
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
1) Most devices ship with a locked bootloader - which basically acts as a layer of protection against those who want to install custom software on their devices. Some companies don't mind you unlocking the bootloader (like the Essential), and some do. For those who do mind: An exploit is typically needed to be found in the phone's kernel. This is why you might often see that some phones need you to downgrade/upgrade your OS version to a specific stock ROM in order unlock.

2) It could be called a "Patched ROM", I guess. You are flashing Magisk onto the boot.img, which makes it a part of the ROM. You could then - theoretically speaking - use it accordingly and use it as a sort of patched ROM that has pre-installed Magisk.

3) No. Unfortunately, Realme really doesn't like the idea of you actually using your phone the way that you want to. Most Realme phones rquire that you go through a long process to unlock your phone. For the Realme 7: This includes modifying a copy of the full stock ROM, flashing that ROM, installing device filters, disabling protection, changing your region to "Vietnam" (which is a process itself), and using the deep-test APK for another phone.
[Realme 7 Guides, News, & Discussion] deltafile:
(sorry for the typos but i was a little busy while writing)

Yeah i know about that, i come from Xiaomi, Motorola and Samsung devices so i know the full spectrum of unlocking methods (sending the IMEI to request the unlock or simply rebooting in fastboot ).

I was just curious how they bypassed the unlocking ability in the global rom, as far as i know both 2155 and 21251 ships the same MTK cpu, and 22151 has unlockable bootloader.

Thanks again for the reply, i hope this Realme community grows like the others in this forum
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
What set apart the RMX2155 and RMX2151 was only the kernel. Hardware-and-software-wise: Everything else was basically identical. This meant that - theoretically speaking - if you flashed the RMX2155 with the RMX2151 software, and made a few changes to the OFP so that you could make your RMX2155 a RMX2151, you could unlock the bootloader (This is what I've gathered from the method. Take it with a grain of salt.). That theory proved to be correct. Like I said: It's not that uncommon to flash different software onto devices using an exploit to take advantage of another exploit. As for the Vietnam region step: I do not know where that came from. I have a few ideas, but I am not sure what led to the realization.
[Realme 7 Guides, News, & Discussion] kubsakkk:
Would it be possible to you to upload the mega folder to google drive? Im having trouble downloading it because mega won't let me because of exceeded quera transfer even tho i didin't download anything from mega in over a month. I would really appreciate it.
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
Just make a new MEGA account with an e-mail from Temp-Mail so that you can download it. My internet upload speed isn't the best, and I'm somewhat busy for the next few days. I'll try to in the future, but even Google Drive isn't that great of a service considering that it literally shuts down the download link after too many people have downloaded from it. I apologize.
[Realme 7 Guides, News, & Discussion] kubsakkk:
its ip-based i tried making a new account but it didint work
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
Are you sure? I've never had a problem like this before. I've used this method plenty of times.
[Realme 7 Guides, News, & Discussion] kubsakkk:
here u go
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
It seems you're right about it being IP-based. It's strange, though, as I've never run into any problems. I can't upload for you today, but I can try to add it to Sourceforge. Just gotta figure out how to work it first.
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
I can't help you out right now. I can upload a link tomorrow (Probably), but I can't do much today, unfortunately.
[Realme 7 Guides, News, & Discussion] immns:
I consider to unlock bootloader and root my phone (rmx2151). Will it still get update from realme? if not, could we just update to newer RealmeUI via custom recovery or we have to use custom flashable zip to update? I don't have any plan to use Custom ROM at the moment, just need some perks from magisk and perform wifi adb untethered.
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
I'm not sure if you can still update officially (I moved straight to custom ROMs right after unlocking), but you could use SP Flash Tools to flash your phone with the latest OTA/Stock update once somebody uploads it.
[Realme 7 Guides, News, & Discussion] albatron34000:
you will get update with unlocked bootloader and rooted phone, but unroot befor ota update or update manually from recovery.
[Realme 7 Guides, News, & Discussion] nikita20174:
Почему неработает DeepTesting.apk .. .
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
You must do each step of the guide exactly as described. You cannot cut any corners. Did you make sure to change your region to "Vietnam"?
[Realme 7 Guides, News, & Discussion] albatron34000:
download hd infos from play store and goto system tab if you find any word RMX2155 you have missed some thing.
[Realme 7 Guides, News, & Discussion] nikita20174:
Да все сделал по инструкции. Запустил тест и он не сработал.
[Realme 7 Guides, News, & Discussion] nikita20174:
Нет у меня Rmx 2151.
[Realme 7 Guides, News, & Discussion] albatron34000:
you have RMX2155 must be transformed (using this guide) to RMX2151 to unlock bootloader.
[Realme 7 Guides, News, & Discussion] nikita20174:
Я так и сделал я прошил, и у меня стал Rmx 2151, потом я скачал приложение и пишет не подходит эта модель. Что делать?
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
Did you change your region to "Vietnam"? This is a crucial step in the process, and cannot be skipped.
[Realme 7 Guides, News, & Discussion] nikita20174:
Да
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
Did you set to "Download" and deselect the four boxes before you flashed the phone? Can you go to your settings app and confirm that the device has identified as "RMX2151", please?
[Realme 7 Guides, News, & Discussion] nikita20174:
Да rms2151
[Realme 7 Guides, News, & Discussion] nikita20174:
И снял флажки
[Realme 7 Guides, News, & Discussion] nikita20174:
Как исправить это .
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
I don't know. You seem to have followed the guide correctly, but are unable to unlock the bootloader. If there was something wrong with the guide, somebody definitely would have mentioned something by now, so, the issue is likely to be on your end. How exactly did you change the region? Did you just go into the settings app, or did you do the tutorial with the phone-dial menu and whatnot?
[Realme 7 Guides, News, & Discussion] nikita20174:
Да водил номер и менял регион. И серавно, не подходит эта модель.
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
I don't know what you did, so, I can't help you, unfortunately. You seem to have done the steps correctly. Your best bet is to follow the guide from step one to the end again, unless you or somebody else has an idea of what might've went wrong. My apologies.​
[Realme 7 Guides, News, & Discussion] albatron34000:
Please write in English.

Create account in telegram that I can help you.
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
I didn't have to remove my SIM. Try that, though; might work. I can't really help you since you don't seem to have done anything wrong. I'm not quite sure why you're unable to unlock your bootloader. Are you sure your device is the "RMX2155"? Not another model, maybe?
[Realme 7 Guides, News, & Discussion] xaviernet:
Plese help me i can't ulock my realem rmx2155...

i followed the guide and the in dep thest say the same : the phone model does no support in-depth test.

actually i have india in region and vietnan in settings app. but nothing happen.

if have any telegram group or help me so close , i apreciatte it. thanks my phone number: +50585302079
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
You don't simply set your region to "Vietnam" via the settings app. Did you follow the guide I linked to?
[Realme 7 Guides, News, & Discussion] xaviernet:
i followed the guide and not work for me region india in , nothing
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
What do you mean by: "region India"? It must be set to "Vietnam". If you're in India, you're probably using the "RMX2151", which requires a different, much less complex process. Thi guide is only for the "RMX2155". The guide has worked seemingly flawlessly for almost everyone else, so, unless you can think of something that might have gone wrong, I cannot help you, unfortunately.
[Realme 7 Guides, News, & Discussion] albatron34000:
agreed, missed one step or do it incorrectly all process does not work.
[Realme 7 Guides, News, & Discussion] xaviernet:
i followed guide , put vientam region and nothing still saying error in depthtest.
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
Can you think off anything that might have gone wrong? Or a step where you cut a few corners? If you say you did everything without flaw, I can't help you. The deep-test not working isn't enough for me to know what's wrong.
[Realme 7 Guides, News, & Discussion] xaviernet:
can you help me please????? in another medium
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
What do you mean by: "in another medium"?
[Realme 7 Guides, News, & Discussion] xaviernet:
like telegram or whatsapp
[Realme 7 Guides, News, & Discussion] Josemi_ssj:
In step 7 I turn off the phone, I press the up and down buttons, I connect it and in the "libusb win32 filter installer" program, the mtk does not appear, the computer makes the sound of removing and putting the usb but the mtk driver does not appear. done all steps 1 by one please help
[Realme 7 Guides, News, & Discussion] Josemi_ssj:
finally I have managed to do all the steps well one by one I have passed the app in the folder and it says the same as before "failed to submit application"

I have downloaded other apk and nothing keeps getting the same error, I am connected by data
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
Did you make sure to change your region to "Vietnam"? You must follow the guide I linked in its entirety. I'm not sure why so many people are failing to submit the application. I followed this guide step-by-step and it worked just fine. Are you sure your phone is the "RMX2155" or "Global" variant? This guide won't work for any other.
[Realme 7 Guides, News, & Discussion] Josemi_ssj:
What happened is that when I changed the version with the spflashtool I got a 3.5GB update that changed me from rmx 2150 to rmx 2155_11_A.91 and before putting the version of the spflashtool it was rmx 2155_11_A.86

And for the region if I change first to multilanguage and then to Vietnam

It is a pity that having such good versions for this mobile you cannot open the bootloader

I think that maybe this method worked with previous versions and when they were updated they will have changed part of the code

I would very much like to test pure android and support the work of these great developers

I hope a new method will come out soon thanks in advance for all the work
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
A 3.5 GB file? Did you use the one that I uploaded to my MEGA? It should be about 7 GBs. Also, your phone should be RMX2151. This guide is NOT for any other model.
[Realme 7 Guides, News, & Discussion] Josemi_ssj:
No no no if I used the 7GB, what happened to me is that when I finished with the spflashtool I immediately got the 3.5GB update, although prior to that update I had changed region and the deeptest still didn't work
[Realme 7 Guides, News, & Discussion] Josemi_ssj:
My model has always been rmx 2155 but when passing it through the flashtool I change to 2150 and later with the update I change again to 2155
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
What was your software version before you started this process? A few other people have had issues, but I'm never sure as to why, because they all say that they've done the guide exactly as written.
[Realme 7 Guides, News, & Discussion] Josemi_ssj:
Was rmx 2155_11_A.86
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
If it's the most recent version of RealmeUI 1.0 for the RMX2155, then it should be fine. The thing is, I - as well as many others - followed this guide and it worked just fine. Contact @nikita20174 . They seem to have gotten it working despite facing the same issues. If you get an answer out of him, let me know what to do so I can update the guide, please.
[Realme 7 Guides, News, & Discussion] Torentor:
could you help me please?

I tried adb platform tools in WIN10,WIN7, and Linux ubuntu on 3 separate devices, mainly USB 2.0.

I passed the indepth test, but the device isnt recognised.

my current version is RMX2151_11_A.87

EDIT:

i definately did try "fastboot devices" and it did not work before. for some reason it does now at least on linux.

very special thank you for

OrthodoxOxygen​

only reason why it started working must be bacause you started to care (or because i restarted linux)

also, 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
[Realme 7 Guides, News, & Discussion] OrthodoxOxygen:
Try "fastboot devices"
[Realme 7 Guides, News, & Discussion] Samsung Galaxy Tab w tym:
IT'S WORK THANKS.

Do you know any cool rom fast and with long battery life?