yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] Chrizzly92:
so, here is a tool to generate the IMEI`s of your smartphone. you will usually find them in the back of your device. push the generated file to /data/nvram/md/NVRAM/NVD_IMEI/ and DON'T FORGET TO SET FULL RWX rights. (with ADB, cd to the mentined folder and set MP0B_001 with chmod to mode 777, in root explorer just check every box for read write and execute. otherwise phone cannot read the IMEI.
[General Questions and Answers] NStorm:
What a lame answers. Especially ones suggesting to root phone.

They guy clearly told he is able to restore MP0B_001 in phone, but its SOFT-IMEI and is lost after wipe/factory reset.

@ Original question by ToldarkenHansam, which is kinda outdated, but considering lame answers here:

To restore HARD-IMEI in NVRAM hidden partition use SN Write Tool or Maui META 3G. They are able to write hard IMEI and calibration to NVRAM partition.

@ kokabunga - if you have nvram.bin backup you can easily resore it with SP Flash Tool. Just open your scatter file with any text editor, find a __NODL_NVRAM section and remove __NODL_ part from it. Reopen scatter in SP Flash Tool and you'll be able to check NVRAM partition.

It might not be able to upload it without other parts selected. But you can you Options->Write memory, then manually enter start address, which will be show on download/upgrade page near NVRAM and length (your nvram.bin length) - that will always work. Be careful to write correct address thou.

Sidenote: all suggested methods before only touch SOFT-IMEI, stored in /data/nvram/md/NVRAM/NVD_IMEI/MP0B_001. Its lost with any wipe/reset, because whole /data partition are formatted. Then the whole /data/nvram directory (if it's empty) are restored from hidden NVRAM partition on EMMC. If you've corrupted your NVRAM when it won't restore correct IMEI ofc. With all methods mentioned above (i.e. replacing MP0B_001, echoing to pttycmd1, using mtkdroidtools, mobileuncletools and others) will only edit MP0B_001, i.e. soft copy of IMEI, which will be lost again with next hardware reset. Sure you restore your IMEI that way every time you wipe/reset/upgrade firmware. But its more solid to fix your IMEI partition with SN Write Tool / Maui META 3G so it will be correctly restored automatically from NVRAM at every wipe/etc.

EDIT: [MENTION=4747675]Chrizzly92[/MENTION] this software are very outdate. It generates 24 byte MP0B_001 file, used by old MT6573/6513 platforms. Newer 6575/6577 uses 120 bytes MP0B_001 which are different. If you put 24 byte MP0B_001 generated instead from imei.c software, your phone will be buggy and will be constantly loosing IMEI every few hours until reboot. It's better to use MtkDroidTools or terminal method (echoing to /dev/pttycmd1) to correctly restore 120 byte IMEI file.
[General Questions and Answers] Chrizzly92:
n9770, mt6577, no problem at all with the generated files.
[General Questions and Answers] wickedspice:
same thing happened to me.. only sn write tool maybe able to do the job..I have also lost wifi mac address..now getting nv110 error..

but I need database and modem files for xolo a700 can anyone help?
[General Questions and Answers] foox2k:
Greetings NStorm i try your method i already got one backup with MTKDROID TOOLS so i can use the NVRAM.BIN , i already modify scatter file and try to write memory but i only receive red bar, no yellow or green, so i think it not work at all, any suggestions also sorry for my bad english im from Mexico, ohhh i forgot i already have a full backup from all the files in the smartphone do you know if i can FLASH the Full Backup back? or a CWM restore or other kind of solution?
[General Questions and Answers] OpenMinded:
NStorm, thanks for your awesome explanation.

I do not fully understand the nvbin flashing part.

I also have a backup I believe, but I am unsure.

I do have a proper nvram backup, so the proper files that are overwritten on flash.

With SP flash tool I get error 8038 when trying to flash.

Firmware upgrade is not working either even with all partitions.

I tried to remove __NODL__ from the nvram to fix it, but no luck.

Can you explain how to make that imei file and flash it with dd command or anything?

Would be awesome to get this problem fixed!

thank you

[update]guess what, you can do it with mtk droid tools 2.4.8 too!

I tried that before, but I used a backup I made after the issue.

Found an older one and it seems to work![/update]
[General Questions and Answers] bayustev:
guys..for permanent nvram, imei error or invalid use sn write tools.

mine solve a long ago..please read this: http://xdaforums.com/showthread.php?t=2206421

http://xdaforums.com/showthread.php?t=2197378&page=3

btw use a complete sn write tool

well works for me ,after factory reset everthing still as writen..

my phone mtk 6577 chipset based

View attachment 2200149
[General Questions and Answers] rohitjaiswal:
Phone is Dead (canvas 2)

i have selected "whole format" option in format tab in sp tools. but doing this my phone got dead. pls help me
[General Questions and Answers] amicheal:
Revived your ZTE V793 now!

Ok guys..

I'll share to you my ROM for flashing using SP Flash Tools application.

Note: I'll not take any responsibility for any damage, warranty void to your phone

1. Download SP Flas Tools - find it in xda or Google..

2. Download this ROM : This is backup ROM porting to my android device kindly remove in-necessary applications. As it's ready to flash via SP FLASH Tools so basically it'll be straight forward thing. Link here :

[URL="http://www.4shared.com/archive/iBNm1jxI/V793_Files_to_FlashTool.html"]V793[/URL]

Password :

s@ve

3. Extract the file using 7zip. Then extract the ZIP file inside.

4. Open SP_Flash_Tools.. select the extracted files earlier and select the scatter file.

5. Everything will be pick automatically.

6. Take your phone battery. Press start and wait "Searching" and connect your Phone (without battery) using USB.

7. Make sure you have the driver. Installed the driver if necessary.

8. Wait until you get "Doughnut" OK button. Warning : Never disconnect the cable during this operation as it'll brick your phone forever.

9. Once, OK. please disconnect your cable. Put the battery into the phone.

10. Make sure the battery at-least 80% before you perform the CWM steps.

Good Luck! If you need any further guide please revert here.. I'll try to create another 'empty' ROM after this if there is a request. Thanks.

---------- Post added at 04:23 AM ---------- Previous post was at 04:15 AM ----------

Hi there..

before perform any update please... and please backup your ROM.. that's the reason "MTKdroidtools" being develop.

Use the application to gain "temp" root to able you to get the image files.

Then create SP Flash ready files from the backup image files.

If you don't have the backup ROM don't be hesitate to search it in google and XDA forum.. if your phone is "unique" please ask your friend. Loan the phone for a few minutes to make a backup images.
[General Questions and Answers] javedsipra:
i have imei problem , i have tried all of ways to write/restore/repair imei but failed. i have radio problem. System/dev/radio/pttycmd1

Radio is empty. there is no pttycmd1 so i can't writ imei . please tell how i can restore pttycmd1 or whole radio restore on my device ?

is it possible ? please please reply me soon. thanks,

javed.sipra@gmail.com:crying:
[General Questions and Answers] alaa.hamdy:
Solution of NVRAM.img and no-services Lenovo S820

Solution of NVRAM.img and no-services Lenovo S820...thanks
[General Questions and Answers] javedsipra:
if you have CWM backup so you can install CWM on your phone and make a backup of current OS, then put the CWM backup in it and restore it.

if you have MTK Droid tools backup then you first make a flash able backup by choosing MD5 file from the backup. then it makes a new folder !file_to_flashtools . this is your flash able backup with scatter file.

Open MTK flashtools and select the scatter file and choose download or upgrade firmware which you like. connect the PC with battery or without battery , choose the options for battery.

make sure your android adb interface driver and preloader driver and cdc drivers are installed ?

how to install drivers ?

on your phone and select development and check debugging option and connect with PC. PC install drivers automatically if you have windows 7 . stop that process and install drivers manually . second time switch off your device put the battery out for 15 sec and put it again but no phone on. just off mode. connect with pc and install its preloader driver. Now press the power button continuously on phone device its ask for CDC drivers. install it and now your drivers are done.

for further detail contact on javed.sipra@gmail.com
[General Questions and Answers] sarry86:
your method of writing memory manually worked for me to bring back my /dev/radio folder and its contents, still cwmr write my imei though :(
[General Questions and Answers] NStorm:
Try the MTKDroidTools to change SOFT IMEI - it works most of the times. But if you've restored correct nvram partition backup you already should have your IMEI back, unless it wasn't put there by lazy manufacturer. Then you can use SN Write Tool or MAUI Meta 3G to restore HARD IMEI.

You can also restore nvram.bin by doing

cat '/path/to/nvram.bin' > /dev/nvram

but careful on that, if you don't know what you're doing it can softbrick your phone if it's done wrong.
[General Questions and Answers] mahdi156:
tancks a lot

tancks a lo:laugh::ot
[General Questions and Answers] rusman_id:
invalid imei

i got same problem invalid imei.no service.no nvram.i try imei back with terminal emulatool.mtk droid tool.all dosnt work,still not back the imei.maybe i wanna try this file imei.exe .from docter-techno.blogspot.com i hope the trick can back my imei.
[General Questions and Answers] PradeepMurugan:
On seeing many replies first I will clear you one thing in mediatek devices imei is stored in data/nvram partition so it gets deleted on factory reset (after you formatted in sp tools)

There are some methods to restore imei

One is engineering mode, then sn tools and easiest way is if you have nandroid backup (before the loss of imei) just restore it
[General Questions and Answers] Chrizzly92:
flash a BPLGU file to your NVRAM partition and then load sn write tool or maui meta 3g with the same BPLGU file.
[General Questions and Answers] Chrizzly92:
you should use google in first place to get to your desired goal. i cannot tell you what the correct nvram file is, just try it out. there are only 5 or so different BPLGU files for your SoC Version. For flashing, open your scatterfile and change NO_DL_NVRAM to _NVRAM and thats it. you can flash it now via flashtool.

If using MAUI META, go to Options and switch on "connect smartphone into metamode". click on Reconnect in MAUI META, connect your device and wait. it should boot into meta mode now.
[General Questions and Answers] javedsipra:
maui meta 3G is for windows7 or windows xp ?
[General Questions and Answers] janda:
Finally after few days of googling, i did it!!!

Prestigio 4040 DUAL fixed with BinRegion.img backup (WTF, needs to be ranamed to: nvram.bin) created by sp flash tool before flashing official rom.

Now i know why this official fullflash frimware PAP4040DUO_20121101_V1.0.10.zip is not on prestigio suppport anymore.

Only zip Updates left :)

Repaired with options - writing memory in SP_Flash_Tool_5.1343.01 as you described.

Thanx you save me :)
[General Questions and Answers] klingklang01:
It is not clear, in flash tool, in the main window for my NVRAM the start and end adress, cant download or upgragre. If I want to use the write parameter I have "begin adress", that is ok, I have it but for the container lenght in hex, that one I am not sure. how I find this info, main page me give me the end (hex) and parameter give me the lenght in byte. please help.

thanks
[General Questions and Answers] NStorm:
Open standard windows calculator and convert exact nvram.bin length to HEX. You can cross-check by adding (+) your NVRAM partition start address to that value and see if it's less or equals to end address or less than next partition in scatter file start address. Or it will overlap next partition and overwrite data inside.
[General Questions and Answers] klingklang01:
Did That, I tried with two version of sp flash tool, formated nvram before, It dont work. I have the red line at 100% and that is all, no green ok ring. it seems to get out of fonction. Loading bytes bar stay at 0
[General Questions and Answers] NStorm:
Does other options in SP Flashtool work for you? E.g. memory test or readback? Probably this is a connectivity issue if not. Try other cable and you should always use back usb port of your desktop. Laptops or front usb connectors sometimes don't work.

Also you can use writing to /dev/nvram method on your device if Flashtool fails for you.
[General Questions and Answers] klingklang01:
I got it by showing hidden (ghost) drivers and delete/uninstall all of them related to mediatek and start from scratch.

process did not work. Still facing ERROR: NAND FLASH WAS NOT DETECTED
[General Questions and Answers] Manu11:
It worked for me by latest mtk driod tools

In My case i replaced my imei with my original imei (written under battery) using Mtk imei replace feature I think u may try it.
[General Questions and Answers] jcoche85:
Pleaseee help me!!!

what shoul i do with this NVRAM.ZIP? i have a S820 with imeis but no service, i don't know what to do, can you help me please?:fingers-crossed:
[General Questions and Answers] HUNpusi:
For rewrite imei: call: *#*#3646633#*#* (this is engineering mode), connectivity-> cds information -> radio infromation -> phone 1-> AT+EGMR=1,7"YOUR_IMEI_NUMBER_1"

for dual sim, step back to radio infromation -> phone 2-> AT+EGMR=1,10,"YOUR_IMEI_NUMBER_2"

You can find imei under the battery.

(Worked for my elephone p9, after full format with sp_flash. Currently i working with wifi, it make terrible low speed)
[General Questions and Answers] bdimitris:
I did everything and now my IMEI numbers are flashed. Unfortunately that hasn't solved the problem completely. Now sometimes I have signal and sometimes not. Is there anything else to fix this? Before I formatted everything my signal was strong.

If someone could give me his backed up NVRAM of Elephone P9 that would help too.

Thanks in advance
[General Questions and Answers] rhla90s:
thanks bro

thanks bro a lot, this the only way to restore imei back,...thanks :laugh:
[General Questions and Answers] Reconfigured:
guys I'm using mt6582 1.3ghz xolo q1010i and formatted my nvram partition so now like the post started stating that uncle mobile tools and engineering mode temporary fixes the issue I really need the proper steps to permanently fix the nvram so that every time I flash new ROM the imei WiFi BT address are restored can anyone help me out ASAP....
[General Questions and Answers] Reconfigured:
managed to fix the problem..... :D here's the link : http://xdaforums.com/q1010i/development/tutorial-permanently-fix-imei-problem-t2861971

just change the nvram db file for your processor by googling it ;)
[General Questions and Answers] waj1234:
I have a lenovo s850 which had nvram issue, solved it and written back imei's which are now present and the phone reconises my sim card but it has no mobile signal at all. How can this be fixed?
[General Questions and Answers] aryankirtan:
My phone is not detecting anywhere after format

Hello experts,

I also accidentally formatted my MMX A116 HD including NVRAM. Now my phone is not detecting anywhere.

Nothing is working. Not getting into recovery mode, no charging led, nothing.

Even SP Flash Tool is not detecting now.

Please please please help! :crying:
[General Questions and Answers] pradyumnasagar:
didnt worked bro

after flashing stock android 4.4.2 kitkat to my Spice mi506 it is showing invalid imei

this has happened earlier only when i flashed stock jelly bean but i restored the imei by mobile uncle tools, but for kitkat no method is working, cant edit or copy any files to system oe data or anuy root directory even after rooting. that may by because of security in kitkat please help me to restore the imei.
[General Questions and Answers] Chrizzly92:
find BPLGU file for your device and flash it. every other method is just temporary and it will show invalid imei after every flash or fw update.
[General Questions and Answers] Reconfigured:
For BPLGU files go here... :)

HERE

:good: Press Thanks IF I Helped You :good:
[General Questions and Answers] master_t2:
i have same problem with lenovo s850.......imei ok but no service.........................if any one have s850 nvram back pls ahare.
[General Questions and Answers] waj1234:
I tried everything but nothing worked. Sent it back for a refund in the end.
[General Questions and Answers] duel18:
i dont have data folder...help please:crying:
[General Questions and Answers] amnher:
I have accidentally clicked format on SP Tool and my a269i and it is dead. I was able to revive it but it gives me invalid IMEI and WIFI has error "wifi nvram warning err..."

I was able to fix it but those are just temporary like replacing the MP0B_001 for IMEI and WIFI + WIFI_STATUS files. But reflashing will erase it. Sad to say I did not backupe anything :'( Is there a way to restor my Lenovo a269i permanently? I mean fixing wifi and IMEI permanently without the need of replacing files everytime I reflash rom or factory reset?

*I also noticed wifi reception has weakened :(
[General Questions and Answers] geekscientist:
Micromax A101 MTK6577

i format whole including nvram and bootloader, now its not detecting my phone and i am getting error in SP Flash tool to upgrade my rom(original). WHat should i do?
[General Questions and Answers] usmanghani936:
I am stuck toooo...:p Need help badly

Hi every one... i am facing similar problem on my MTK6592 phone, to be precise it's TCL s720, but the problem is i didn't made any backup of NVRam of my IMEIs.

I lost my both IMEI numbers. was getting " Invalid IMEI " Message.

So I rooted it and with the help of Mobile Uncle tools. I inserted my IMEI numbers. now the thing to note is that I am having only written 1 IMEI written on mobile back. but its a dual sim phone. I know many chinese phones use single IMEI for both sim slots. but one of my friend is having same model in unmodified condition. I saw his mobile, he is having two different IMEI numbers for both SIM slots. However I inserted same IMEI number for both sim slots through mobile uncle.

now my mobile is working fine, i am able to make calls, but sometimes one of the sim disconnects [don't show any signal]. or sometime i have to dial a number 1-2 times then it calls, or have to send message many times because it sometimes fail to send the message in first attempt.

I am also getting a wifi NVRAM error =1x10 in my wifi app.

I can have access to my friends backup of NVRAM of same model but different phones.

Need help badly!
[General Questions and Answers] viomazilu:
for tcl imei2=imei1+8...check your friend imeis..
[General Questions and Answers] ziddi713:
Use SN station Tool to write manually... u need database files of ur stock rom

do a whole flash with flash, then dowload normally, after the downlod comple dont turn on ur fon, write manualyy with sn station tool...

sorry for may bad eng..!!!
[General Questions and Answers] sarry86:
Scatter file structure has been changed on newer chipsets like mt6582, any other ways to manually write nvram partition??
[General Questions and Answers] NitinKumar23:
I am using micromax unite 2 Accidently idelete nvram.bin while using sp tool. Now I don't hve imei number and my sim is not detected. I do not have my nvram backup.Help!
[General Questions and Answers] ravi09:
Need nvram backup of micromaxxx a210/wiko stairway... I accidently format my device.n evrything wiped ...help me ..copy ur nvram folder from root/dat/nvram and zip it and upload here ....it will help me alot...
[General Questions and Answers] amnher:
Anyone can help?
[General Questions and Answers] robert896:
you saved my life :)
[General Questions and Answers] amnher:
Hope someone can help me with the weak wifi reception
[General Questions and Answers] M. Azhar:
Lenovo vibe x2

Hi seniors,

I'm new here, please guide me what to do.

I have Lenovo vibe x2-TO (Chinese version mt6595).

To be able to use play store on this mobile, I flashed vibe x2-AP version after formatting. Now my mobile has only one IMEI. First IMEI lost.

I've tried the following.

1.Restore original rom backup via twrp recovery

2.Restore a friend's backup via twrp recovery

3.Engineering mode (always saying AT command is failed to send)

4.SN write tool and maui tool is not detecting meta mode (probably cdc driver issue)

5.Generated MP0B_001 file and placed in the required directory (tried rwx permission)

All methods failed for me. Please suggest.

Please please please.
[General Questions and Answers] Tusharkaim:
my android is not connet witn pc via usb

and not charging i accidently format it in sp flash tool
[General Questions and Answers] NickDCII:
I have this problem too, I just formatted my device in spflash tool. now I have invalid imei. my phone is Lenovo a5000. I borrow same unit from my friend and he backed up using cwm recovery and make a restore to my phone. the problem is we have the same imei. how can I use his back up to restore my own imei without rooting my phone? I'm planning to system upgrade to lollipop that's why I don't wanna root. in my phone, root + system upgrade = bootloop. please help me.
[General Questions and Answers] Arnav raj:
Hello sir,

Recently I buyed lenovo s850 & I flashed the row with so flash tool, flashing done successfully but when I inserted Sims it shown me invalid IMEI, I have shown it in a repairing center but they said we can't do this, is there any process to get back my IMEI or otherwise I should give it in lenovo servicing center, can they solve this problem? Someone help me..
[General Questions and Answers] hulkinBrain:
thankyou SO much!!

THANKYOU SO MUCH!!!!! this is the thing which i needed!!! I've been tryingto restore my imei numbers with each and every method(mtk tools, update_modem.zip) but i had no luck. With your imei file generator, i was able to get fix the imei invalid error!!!!

THANKYOU VERY VERY VERY MUCH!!!!!:laugh::laugh::D:D:D
[General Questions and Answers] lezpaul:
Restore NVRAM with SP Flash Tools

To allow SP Flash tool to show the entry "nvram" and check it, you have to edit the scatter file and set "is_download: true" in the nvram section.

Then you can select nvram inside SP Flash tool and browse file system for choosing your backup file
[General Questions and Answers] Nitin Raghav:
Thanks buddy it worked for me.. :good:

But now tell me one thing. i have repaired my imei through this. but every time when i reset or hard reset my phone i have to do it manually again and again. So is there any other way to install such file during flash time so that when i need to hard reset or reset my phone i dont have to do it again..

Tell me is there any other way to do it.
[General Questions and Answers] rahul6620:
Those who still have problem after using various tools, they must have factory reset or format nvram somehow. That was also my case. Read Firelord's answer at http://android.stackexchange.com/questions/8570/how-to-fix-invalid-imei-after-factory-reset
[General Questions and Answers] Omnichron:
This happened to me once when working with a Blu Studio G phone. I used MTK Droid tools to repair the IMEI numbers. It worked beautifully. Here's the link:

https://androidmtk.com/download-mtk-droid-tool
[General Questions and Answers] io2345:
I formatted by mistake the NVRAM section on my Lenovo Yoga Tablet. Now, it has a new MAC address after each boot (invalid one though, starting with 00:00:08...), and also gives the NVRAM-Error message in the WLAN section. Sadly I don't have a backup of my original rom, but I can generate a NVRAM.bin from another tablet of the same model. Can the content of this backup of NVRAM be edited, is there a tool for setting a certain MAC (or IMEI)? Otherwise it will have the same MAC and IMEI and so on than the source, certainly (which isn't ideal)