After a while of trying to figure out what this thing does, I think it does nothing. (or maybe I'm blind)
In source, it tries to write something to /devinfo.
Flipping the unlock bit in /devinfo works on old Xiaomi devices [1] [2] and this patch tries to write that bit.
https://github.com/HadiKhoirudin/Qu.../resources/devinfo/XIAOMI-unlock-bl-patch.xml, but it doesn't work on modern devices because the bit is stored in the TEE instead [1].
But the realme/oppo/vivo patch tries to write `255`. Due to lack of documentation, it's not clear what this is supposed to do.
https://github.com/HadiKhoirudin/Qu.../resources/devinfo/REALME-unlock-bl-patch.xml
Another tool wants you to patch /devinfo yourself:
https://github.com/Naveen3Singh/BLUnlocker, but this tool is ~5 years old! And after looking at the issues, the success rate seems shaky... [3]
I bricked my phone while flashing a GSI, so I can't test this, and even if I could, I'm not looking for another brick.
And here's some more rambling:
Let's assume that this tool works, and that we actually live in a perfect world. You still won't be able to enter fastboot because OPPO protects FASTBOOT with a damn RSA KEY.
And even if you could enter fastboot, what are you going to flash? Thanks to OPPO's incredible work, you won't be able to find a proper fastboot ROM unless someone leaks it. Good luck rolling back to the stock/older ROM version!
There are no custom kernels as they often either do not release or release broken kernel sources (Realme 8 pro T kernel says hello! 2 years without source updates! [4]).
Their answer to ANY unlock question is, "Sorry, we care about your data, and we don't trust you with your own device!"
And all this is happening while Realme is going on about how "OSS friendly" they are on their Indian forum!
Sorry for this angry paragraph, but this entire debacle makes me mad.
[1]
https://android.stackexchange.com/a/233302
[2]
https://alephsecurity.com/2018/01/22/qualcomm-edl-2/
[3]
https://github.com/Naveen3Singh/BLUnlocker/issues/1
[4]
https://github.com/realme-kernel-opensource/realme_6pro_7pro_8pro_X2-AndroidR-kernel-source