yashsingh1/xdaforums huggingface dataset:
[Realme 7 Questions & Answers] SubwayChamp:
I don't know if the model version makes some difference, I had the Global one. I wrote every step, to see what helps, as I tried a lot of things, and by having annotations from, what work and what not, I could recover it. Maybe you have to remember which exact firmware had your device, prior to lose the baseband, no?, don't make steps blind, note or remember what you do, to find out the way.

Of course, this is how it works, no more than a baseband is needed to have phone calls. This tool can't recover the baseband, you only can try, with this tool, to recover the IMEI. Try to read thoroughly how this tool works.

I don't remember now, I posted it, you should find in some of my threads, keep in mind that I used files, a year back ago, so the issue was around the 4Q-21, and newer files after that may help or not, but the old, definitely do.

You should take this ROM as a reference, the versions around Sept., Oct., may work https://www.pling.com/p/1469835
[Realme 7 Questions & Answers] Mark Yngell Kate:
What is the exact name of frimware or rom you used to recover your baseband?
[Realme 7 Questions & Answers] magnumoZeus:
So I fixed my baseband version,

Turns out the stock ROM won't allow you baseband version once the nvram partition is tempered with.

To fix this all you need is a custom ROM , go to

TWRP>MOUNT>NVDATA then go to Advanced>file manager> then navigate to /NVDATA/MD/nvram then delete the whole nvram folder ,

Upon boot new nvram folder will be created with baseband version read back from module itself.

You can also use root explorer but that requires magisk.

@SubwayChamp but as you said sim will work, there are no signals available, ROM has read the operator however.
[Realme 7 Questions & Answers] Mark Yngell Kate:
already done this but i have no nvram folders
[Realme 7 Questions & Answers] magnumoZeus:
Tell me the current state of your mobile, firmware, root, non root, which ROM which recovery, bootloader state ,how you lost the baseband, everything
[Realme 7 Questions & Answers] SubwayChamp:
You also can, prior to flash a custom ROM, erase the nvram partition, using mtk-client tool, then flash the new ROM, it will recreate the data in. After that, you can flash a stock ROM, your baseband got fixed forever.

Try flashing a stock ROM, sometimes, a custom ROM may have an issue with the phone call app. Anyway can you upload a screenshot for reference, when you place a call. Keep in mind that also, nvcfg, nvdata amd md1img are involved in the call running.

If I don't remember bad, nvram is placed under /nvdata path.
[Realme 7 Questions & Answers] Mark Yngell Kate:
no i can't find it even i searched at my rooted phone before
[Realme 7 Questions & Answers] SubwayChamp:
You have to mount the partition first, preferably through TWRP
[Realme 7 Questions & Answers] Mark Yngell Kate:
my device root before was nusanatara v3.2 android 11 rooted with magisk and installed with orange fox custom recovery just yesterday i roll back to android 10 stock rom realme and i lost my baseband and imei after i format all in sp flash tool without knowing that it can harm my device without backup i have no knowledge before about partitions so now im recovering every partitions of my phone and for this last months I recovered my camera and fast charging also touch display and stock at download not complete boot thanks for this xda forum all tho for this past 2 months im finding out on how to fix my baseband so i can have my simcard work again
[Realme 7 Questions & Answers] Mark Yngell Kate:
tried that but nothing seems to works
[Realme 7 Questions & Answers] SubwayChamp:
You have to mount first the data partition, you'll find it in /data/nvram. Anyway, I don't think you need doing so.

Just delete the nvram partition, and flash the new custom ROM.

Notice that by flashing a stock ROM, you won't recover the baseband, this only serves as based to flash a custom ROM, better A11, so A10 is useless for this purpose.
[Realme 7 Questions & Answers] SubwayChamp:
You also have this tool, to navigate easily, through the root directory https://github.com/Szaki/XiaomiADBFastbootTools from it, you can pull the files.
[Realme 7 Questions & Answers] magnumoZeus:
took your advice, flashed A53 stock, no luck, still no signals, i personally think i have better chance with custom roms,

however i did also flashed the following partitions using sp flash, files i downloaded online, so that might have some to do with it, but i do remember that even before tempering with those my sim didn't work
[Realme 7 Questions & Answers] magnumoZeus:
if your mobile boots successfully, then it must have nvdata partition in twrp, it is impossible for it not to be there, follow these instructions carefully:

install a custom rom android 12 based ;

reboot to system ;

then after successfully booting, advance reboot to recovery ;

then go to mount option in twrp ;

mount every partition (make sure that they mount successfully) ;

then go to advanced option in twrp ;

open file manager from there ;

then navigate to NVDATA>MD1(or MD i don't remember, just check all the folders from there on)>NVRAM ;

then delete the nvram folder ;

if you encounter any problem do let us know, and don't use root explorer, when we boot to system nvdata and some other partitions are unmounted, so you won't see them there, unless you use magisk with terminal.
[Realme 7 Questions & Answers] Mark Yngell Kate:
already done that days ago
[Realme 7 Questions & Answers] Mark Yngell Kate:
i already done this and check other files for nvram name i even tried to search for nvram named folder and file but theres no nvram folder that i should delete
[Realme 7 Questions & Answers] Mark Yngell Kate:
kindly open this thread https://xdaforums.com/t/guide-how-t...e-in-mtk-devices.3096927/page-4#post-87923467
[Realme 7 Questions & Answers] SubwayChamp:
No, not a stock ROM RUI1.0, but a RUI2.0, anyway, it just may work as a based to flash a custom ROM RUI2.0 i.e. RM6785 ROMs.

I found it, when I had the issue, so you can, too.

I solved the baseband issue, so I'm pretty sure, you, both, also can do it.

Not sure if this tip can make a difference, I flashed also stock ROMs from other Realme variants, don’t remember well if it was the R Narzo 20 or 50 that has the same processor, I named some of these devices in some of my posts, also the R7 Indian variant.
[Realme 7 Questions & Answers] Mark Yngell Kate:
also when im in android 12 nusanatara I can't boot to custom recovery how can i fix that?
[Realme 7 Questions & Answers] magnumoZeus:
What's the issue there?

Keep holding the volume down button, don't let go , leave the power button, after 4 or 5 failed boot attempts phone will automatically go to recovery mode,

And be sure to use the twrp tui2 a11 if you are on rui2, there are two versions of twrp for this device one for rui1 and other for rui2(some times also work on rui1, sometimes doesn't)

Here are as for clearing nvdata

Also there is still a issue with my baseband version, in custom ROMs it is different and in stock A53 it is different,
[Realme 7 Questions & Answers] magnumoZeus:
ok i will try rui2 and other rm6785 stock files and update you,

meanwhile i have a new problem, the baseband version in custom rom (crdroid a13) is "MOLY.LR13.R1.TC16.PR10.SP.V1.P43" which was the same baseband in the opposerver2.bin that i downloaded

online,

but baseband in rui1 a53 that i flashed yesterday is "M_V3_P10,M_V3_P10" same as before tempering (i took a ss before unlocking bootloader)

,

how is this possible ?? baseband should be same, right?
[Realme 7 Questions & Answers] SubwayChamp:
It´s fine, baseband can change after an update, always that you have a consistent mobile signal, it doesn´t matter. I also faced the same.
[Realme 7 Questions & Answers] Mark Yngell Kate:
how did you fix your baseband?😭
[Realme 7 Questions & Answers] Mark Yngell Kate:
what would i delete?
[Realme 7 Questions & Answers] magnumoZeus:
Yeah I figured that out, but thanks

Post the screenshot of your root (/) directory from twrp's file manager, you say you don't have nvdata in there, let's see what have you got then, oky
[Realme 7 Questions & Answers] Mark Yngell Kate:
Bro thankyou I fixed my Sim baseband now

men thankyou i fixed my baseband version after i deleted nvram on nvdata md folder thankyou!!
[Realme 7 Questions & Answers] Null222:
also not easy
[Realme 7 Questions & Answers] Mark Yngell Kate:
But my issue on this android 12 custom rom is i cant boot to recovery once i boot to recovery it will boot loop and never enter os again how can i fix this is? is my twrp incompatible with android 12 because i installed twrp v5.3 its support android 11 nusantara rom but after i installed android 12 it doesn't boot to custom recovery anymore
[Realme 7 Questions & Answers] magnumoZeus:
Finally bro, but can you make calls now ?? Is your Sim card working ?

Yup that same exact thing happened to me,

Just install pitch black recovery(pbrp) for rm6785, it is working on up to android 13,

There is also a version of twrp that works on android 12, I think it came out recently, titled as twrp rm2151 rui2 a11 or something like that,I don't fully remember
[Realme 7 Questions & Answers] Mark Yngell Kate:
done flashing custom recovery but how the files in recovery is decrypted
[Realme 7 Questions & Answers] magnumoZeus:
I have not found any way to decrypt, as of now you can format data but once you boot it will again be encrypted,

You can use external SD card or USB pendrive to install new roms,

Do let me know the status of your Sim card once done flashing..
[Realme 7 Questions & Answers] Mark Yngell Kate:
as my previously reply, my simcard is now working fine
[Realme 7 Questions & Answers] magnumoZeus:
Ohky, good for you

but why the hell can't I use my Sim card.🥲
[Realme 7 Questions & Answers] SubwayChamp:
Try the same as Mark Yngell Kate, the same ROM, maybe it works.
[Realme 7 Questions & Answers] magnumoZeus:
You are a god damn genius, thanks to you my sim is working now on rui2/rui3

But it's not working on crdroid v9.0 a13(will try other roms),

but the issue now is as soon as I turn off the wifi, signals are lost again, it's only working on wifi calling,

And the crdroid v9.0a13 doesn't support wifi calling so that might have been the reason.
[Realme 7 Questions & Answers] SubwayChamp:
Flash the latest stock update as a base, and then try the latest ROM on RMX6785 development, it picks up the better from the shared devices in same line of processor.

I, also, flashed, in order to fix some things, the ROM for Realme Narzo 20 Pro, notice that it has the same update for both https://www.realme.com/in/support/software-update but better search for newer updates than the official site offer for.
[Realme 7 Questions & Answers] magnumoZeus:
On it now, will also test out different situations,

Meanwhile @Mark Yngell Kate does your sim work with wifi off?

UPDATE:

can't flash custom rom because

after flashing RUI3.0 i am unable to boot into recovery mode neither stock nor custom recovery.

error = serial is not match fastboot unlock verify fail.

i can boot into stock recovery using fastboot cmd after booting into RUI3 but at that point custom recovery is replaced by stock one.

any suggestion??
[Realme 7 Questions & Answers] magnumoZeus:
Tried modem meta Today, successfully connected but same as you

imei download tool fails to even read the imei, let alone write,

However There is another tool in the drop-down menu, ("nvram editor") it is able to read the imei from device(target) db.

when I searched for "imei" it showed some folder named ""imei_svn"" something like that..

Under those there were file from imei(0)-imei(7) two more with value FF FF FF........FF i thik if we edit those and save that somehow it'll work..

I Tried to write it but the nvram seems to have no effect on it, like it's mounted as read only ..
[Realme 7 Questions & Answers] Mark Yngell Kate:
then flash another rom
[Realme 7 Questions & Answers] magnumoZeus:
Here is a ss from same roms as you(nasustra v4.9 RUI1 as base) ,I also tried v4.1 v4.2 v5.1, crdroid lastest a13, RUI1 RUI2 RUI3....

The sim only works in RUI2 AND RUI3 that also only on wifi calling,

Can you check is there any file by the name of "sim_lock" in /nvdata/md>.

Can you also backup your nvdata folder from recovery and share it with me, i wonder what I am doing wrong..

Also did you flash your custom rom on RUI1 OR RUI2 as base??
[Realme 7 Questions & Answers] Mark Yngell Kate:
i flashed realme ui 1 in sp flash tool for the twrp custom recovery to work, then i installed nusantara android 11 and then after android 11, I installed nusantara android 12 also when i delete the nvram folder i have seen the sim lock file
[Realme 7 Questions & Answers] magnumoZeus:
ohky, thanks

i tried the same, looks like in India imei has been made mandatory to connect to sim network,

every time i insert a sim card notification panel says "sim 1/2 not allowed"..

anyways i suggest you edit your thread and put [SOLVED] in the title " https://xdaforums.com/t/realme-7-rmx2151-baseband-imei-null-camera-not-working.4493395/unread ".

and its >mount>nvdata, not "data" correct that also... details matter..
[Realme 7 Questions & Answers] Mark Yngell Kate:
my bad
[Realme 7 Questions & Answers] LegendTDD:
any question... is works in a Realme C3 (RMX2020)
[Realme 7 Questions & Answers] magnumoZeus:
can't understand you, use google translate..
[Realme 7 Questions & Answers] LegendTDD:
Hi I'm from Colombia, I don't speak English well, I was asking you if that applies to the c3 realme, I also need your help, I try to open the fastboot on my phone and it comes out (the serial is no match, fastboot unlock verify failed)
[Realme 7 Questions & Answers] magnumoZeus:
Hi,

Yes it works for realme C3,

Fastboot mode does not work well for these devices,

You have to use bootrom mode to flash twrp, stock rom.
[Realme 7 Questions & Answers] LegendTDD:
I've tried it but still haven't installed recovery, I've done it with the sp flash tool, although if I've done it incorrectly I recommend that I do
[Realme 7 Questions & Answers] SubwayChamp:
I saw in other thread that various here, are joining too, that a guy solved the IMEI issue, if you still are facing the issue.
[Realme 7 Questions & Answers] SubwayChamp:
The tittle in the thread is about IMEI lost and NVRAM issue related with. What do you want to do onto your device right now? Unlock it?, Which method are you using?
[Realme 7 Questions & Answers] magnumoZeus:
can you link that thread, i haven't found any thread with imei solution,

i did once used chameleon phone apk to write fake imei with root, but that fix did not work, (upon reset, imei was again gone)

also it only worked on low level androids, doesn't work android 11,12,13
[Realme 7 Questions & Answers] LegendTDD:
I have the same problem as you, I gave it format all+download and killed the nvram partition of our devices, what I want to know is how to load TWRP into the system to be able to do the procedure they did in the forum
[Realme 7 Questions & Answers] SubwayChamp:
Chameleon didn't work for me, though. This is the link, I didn't try it my self, because I sold the device almost a year ago https://xdaforums.com/t/hard-bricked-realme-7.4224115/post-88043143
[Realme 7 Questions & Answers] magnumoZeus:
ok i will try this method and update everyone,

sold the device ?? in that condition, how much did you get for it..
[Realme 7 Questions & Answers] magnumoZeus:
Okay so I tried that method, it actually does overwrite the imei, but it is only a temporary fix as It uses magisk module to fake it..

My sim card still didn't work after imei overwrite, maybe because imeiSV is still unknown..
[Realme 7 Questions & Answers] SubwayChamp:
Same here, I don't trust much, that this method really works, or survive within reboots, or factory resetting.

And the baseband is good?
[Realme 7 Questions & Answers] LegendTDD:
Hi people, I was for hours investigating the partitions of my RMX2020 and I discovered that with writing in the android file scatter, find the name of the partition and put TRUE, I could enable it to recover the bootloader, here I leave the zip with the modified android_file_scatter, also to solve the problem of nvram warning
[Realme 7 Questions & Answers] LegendTDD:
If you do not have the files that appear in the zip just search (* phone model * _dump file) and you're done and change the values from false to true of your model's scattered file
[Realme 7 Questions & Answers] LegendTDD:
Soon I will send the tutorial to do it without error in the sp flash tool
[Realme 7 Questions & Answers] magnumoZeus:
Yup the baseband version is still good.

Already tried that, doesn't work, the baseband version goes null after flashing with modified scatter and those listed partions.
[Realme 7 Questions & Answers] kim11:
What about mtk 6768, ihave redmi note 11 4G stucked in recovry and NV DATA CURREPTED, if ther is solution helpe me, and thenks.
[Realme 7 Questions & Answers] LegendTDD:
Wrong, and how did you recover the baseband of the device?
[Realme 7 Questions & Answers] LegendTDD:
You should look for the nv_data file of your phone and with the sp flash tool you should flash_ that is my idea that I can raise but investigate better because I do not own a phone xiaomi
[Realme 7 Questions & Answers] magnumoZeus:
I have tried what you are suggesting, and it leads to no imei repair and baseband unknown as well, I tried my device specific backup,

Though it doesn't mean that it would not work for you, you can give it a try, these devices are unpredictable

By deleting nvram folder in twrp
[Realme 7 Questions & Answers] LegendTDD:
Man I have tried to place the TWRP or PBRP on the recovery partition. Img in the sp flash tool and I continue in the recovery stock, explain me in detail how I do
[Realme 7 Questions & Answers] SubwayChamp:
In my long shots trying to sort out things, I found that nvdata, either a new one, or from a back-up don't have to be flashed, they have to be recreated/populated at every reboot, in case you format it., so you can try the guide without this partition.
[Realme 7 Questions & Answers] SubwayChamp:
Format NVdata partition, using mtk-cleint, then reboot.
[Realme 7 Questions & Answers] magnumoZeus:
Flash RUI1 first, then with unlocked bootloader, flash twrp v3.5.2 and modified vbmeta.img with sp flash to get the recovery to boot successfully.
[Realme 7 Questions & Answers] magnumoZeus:
Then why the imei is not populated like other information like baseband,

I was on the edge of writing imei by modem meta tool ,but when I use the built-in hex editor in modem meta, after editing the nvram partion upon saving,the whole application crashes..
[Realme 7 Questions & Answers] SubwayChamp:
They're different, IMEI is unique for every device, and it is hard coded, once is "lost", it can't be recover using simply software, it needs pure hardware, to be rewritten at a very low level. NVdata is just one of the partition related to the baseband, not directly related to the IMEI.

This is the reason why, you can´t...

When I tried, it didn't crash, simply it got to 99%, and finished with no success.
[Realme 7 Questions & Answers] magnumoZeus:
Okay, but why can't I use my sim like everyone else, I have my baseband working, I just wanna use my phone with sim card in peace now,
[Realme 7 Questions & Answers] SubwayChamp:
Update the baseband, at least, to RUI2.

Unless, like someone else said, in some countries, the use of network bands are, somewhat linked to every device, based on IMEI.
[Realme 7 Questions & Answers] magnumoZeus:
Stop spamming the same message over and over again,

With RUI1 only twrp works well, and that only works with custom vbmeta img, falsh those in sp flash tool , here are the images.

Also remember that after flashing you have to hold down volume down(-) button and power button together to get into recovery mode, do this before booting for first time ,

After booting for first time twrp is replaced with stock recovery.
[Realme 7 Questions & Answers] magnumoZeus:
I already tried each and every firmware out there, from RUI 1,2,3 to all custom roms, nothing works,(with working baseband)

That "someone" just might be me, I said that in earlier post,

But now I have a patched imei(magisk module), which should be enough to fool service provider, but it stills says sim one not allowed (on custom roms)

I can use my sim in RUI2 and RUI3 with vowifi only, and after turning off wifi sim networks also disappear,

I also posted a video of the issue in earlier post.
[Realme 7 Questions & Answers] LegendTDD:
Thank you man, I finally got into the TWRP.
[Realme 7 Questions & Answers] LegendTDD:
Sorry for spam, on my device it appeared as if I had not sent the message
[Realme 7 Questions & Answers] SubwayChamp:
There were some back-ups, including mine, that are posted, maybe this works for you, from what I know, almost or all members flashed those. I also delete the partitions previous to flash back on them, to be sure.

No, that cosmetic measure never could fool the carrier provider.

Yes, the buyer didn't care about, the device was perfect for calls and all the functions.

Delete NVdata, and reboot.
[Realme 7 Questions & Answers] LegendTDD:
Thank you man :D, you made me the night with your help, I am 15 years old, if I had money I would send you money by paypal, the ROM stock of my phone I have never liked and I preferred the pixel UI of the rmx2020. Enserio man you are the best🌟🌟🌟
[Realme 7 Questions & Answers] LegendTDD:
Sorry, I couldn't tag you
[Realme 7 Questions & Answers] magnumoZeus:
No worries, happy to help
[Realme 7 Questions & Answers] magnumoZeus:
I found backup of rmx 2151 online, an @Mark Yngell Kate also uploaded his backup, I tried both, none worked,

Although I haven't found your backup anywhere,
[Realme 7 Questions & Answers] SubwayChamp:
cr-droid-Backup-TWRP.zip

drive.google.com

Backup-PixelPlusUI_4.1_RM6785-12.0-20220120-0417-OFFICIAL.zip

drive.google.com

Those were mine. I don´t recommend to flash nvdata.
[Realme 7 Questions & Answers] magnumoZeus:
Thanks for sharing,

I restored your cr droid backup using pbrp recovery on nasustra v5.4 (including nvram) successfully, but nothing changed,

Issue still persist..
[Realme 7 Questions & Answers] SubwayChamp:
Do you mean, the baseband is still working, but you can't place calls?

Can you share the baseband, and when the device refuses to make calls, screenshots on?

And do you know, from where region is the original firmware of your device?
[Realme 7 Questions & Answers] magnumoZeus:
Yes the baseband is still working,and there are still no networks, I'll attach ss in the end

The device doesn't refuses to make calls, it doesn't connect to network, matter of fact in RUI2 AND RUI3 after connecting wifi I can place calls using my sim, but after turning wifi off the networks are again lost ,

video recording of the issue in the end

The device is manufactured in India, and I am using it in the same country.
[Realme 7 Questions & Answers] kim11:
I flash nvram with spa & dongl but the same erreur. My phone unlocked bootlaoder and stucked in recovery, can i flash twrp or EngRom or any rom to bootup the phone (rom v13.0.1).

I test change imei with metamode and when i read info imei i found it correct but when i rebot it stuck again.
[Realme 7 Questions & Answers] magnumoZeus:
What do you mean by: spa& dongl, EngRom,

You can flash twrp or pbrp by mtkclient,

Then install any custom rom.

Next time add screenshots
[Realme 7 Questions & Answers] kim11:
Spa »» smart phone flash tools

Donglbox »» KS Tools

EbgRom»» Engeniring Rom

Thank you
[Realme 7 Questions & Answers] SubwayChamp:
SPFT = SmartPhone Flash Tool.

Donglbox »» KS Tools (?)

ENG ROM = Engineering ROM

From what I know, there is not an ENG ROM available for this device, unless in the technician community, they share a dumped ROM, among them, but not for public.
[Realme 7 Questions & Answers] magnumoZeus:
Exactly, that's what I thought
[Realme 7 Questions & Answers] kim11:
Mer, can you help me about mtk-client, i found CMD version in "Github" or exécutable version,witch version i get, and setup to instal TWRP and Thank you for your recent help.
[Realme 7 Questions & Answers] magnumoZeus:
your welcome,

you can follow this tutorial here :