yashsingh1/xdaforums huggingface dataset:
[T-Mobile, Samsung Galaxy SIII] Mulivalea:
update

funny i tried all these methods to restore my imei # and nothing worked. one of my coworkers suggest to reboot to factory settings in the google settings. i thought why would this work if my imei, baseband and serial are messed up due to a bad flash. well it actually worked! phone rooted and running stock. if all else fails try to retore factory settings under your google account. hopefully it will work for others.
[T-Mobile, Samsung Galaxy SIII] Ring_C:
How exactly? Could you add a screenshot?
[T-Mobile, Samsung Galaxy SIII] marcustaz:
Just want to give a huge thanks to JUSMEJOSE for his help. Thanks dude for taking your time to help me get my phone working again. Your a good dude and XDA rocks because of people like you that are willing to help others. :):beer:
[T-Mobile, Samsung Galaxy SIII] Qverse:
WORKED !!:good::good:
[T-Mobile, Samsung Galaxy SIII] sjamie:
If you've never had a problem with your IMEI and you just want to back it up for safe keeping, will using Andromizer from Google Play be sufficient? Any drawbacks? Compared to the directions in the OP, Andromizer just seems way too easy and I'm worried it may be leaving something out.
[T-Mobile, Samsung Galaxy SIII] Qverse:
Saving the IMEI there are a lot of ways to do that. But peoplearmy instructions to get losted 3G - 4G was PERFECT. HERE This was a phone saver.. :cool::cool:
[T-Mobile, Samsung Galaxy SIII] famandeggs:
DL link for the NVitem Generator is down :/ is there another link somewhere. Thanks in advance :

**edit** found one! thanks for the simple and great tool^^
[T-Mobile, Samsung Galaxy SIII] CaliCal:
i'm getting the "phone don't answer" trying this on a note 2 :confused:
[T-Mobile, Samsung Galaxy SIII] Vallista:
where did find it? Since the link is still down.
[T-Mobile, Samsung Galaxy SIII] deeznutz1977:
https://www.dropbox.com/s/n2pb98tb1hnzxeq/sgs3.nv.gen.zip
[T-Mobile, Samsung Galaxy SIII] vvMINOvv:
Enable diag doesn't work

ENABLE DIAG method for cm10 fails:

As I try to execute:

echo 1 > /sys/class/android_usb/android0/f_acm/instances

I get the error

sh: can't create /sys/class/android_usb/android0/f_acm/instances: No such file or directory

What do I do?
[T-Mobile, Samsung Galaxy SIII] Qverse:
Just remember your Antivirus and malware thinks the sgs3.nv.gen.exe is malware so to download and or even run you have to check it as safe..on what ever antivirus or malware protection you use.

That how I used it..:good:
[T-Mobile, Samsung Galaxy SIII] vvMINOvv:
after a little investigation work I found that

/sys/class/android_usb/android0/f_acm/instances does not exist (specifically the instances folder)

I tried creating the dir there using mkdir in terminal emmulator (and su privliges), but it gave me "mkdir failed for instances"

what to do?

---------- Post added at 04:26 PM ---------- Previous post was at 04:14 PM ----------

just realized it's a file not a dir, still though, can't use "touch" to create it, everytime I try it returns "255" not sure what that means

if anyone can just point me in the right direction that would be incredible
[T-Mobile, Samsung Galaxy SIII] vvMINOvv:
Alright I dug some more, and found that I can't read what's inside the clients file in

/sys/class/android_usb/android0/f_diag/clients

using cat I get "Permision denied" (even though I'm an as su)

so I prepended su to the command but that gave me "Unknown id: cat"

then I checked it's permission and it was 200, so I chmod'ed it just to see, to 777 and tried cat'ing again and got "I/O error"

so, I switched it back 200, and back to step 1..... haaalp lol
[T-Mobile, Samsung Galaxy SIII] JUSMEJOSE:
Since im not able to show to repair a dead IMEI .... here is a NVitems to enable 4g data back .... this is only for the T999 ill upload later for different other models .... thank me later .... use cdma workshop or dfstool or any nvitem writter...

http://www.mediafire.com/?7mff8nl4tlk5fcf
[T-Mobile, Samsung Galaxy SIII] Peoplearmy:
Better to get it straight from the people who made the software...

http://www.cdma-ware.com/workshop.html

DX
[T-Mobile, Samsung Galaxy SIII] <:GeeK:>:
Wrong. The sgs3 nv gen and the nv software from cdma-ware are two separate tools.

I did abandon these threads awhile ago, I'll go ahead and clean up the OPs sometime soon.
[T-Mobile, Samsung Galaxy SIII] <:GeeK:>:
Thanks for the contribution, but I looked at this and it is not isolated nv items, it's ALL off the nv items up through 836 with what I'm going to assume are some minor edits. This may work but I would not write these without a backup, proceed with caution.
[T-Mobile, Samsung Galaxy SIII] JUSMEJOSE:
Thanks it should work.... I tested them myself more than 100 pcs and shared it with some of my friends and they said it worked great with ...I did some edit from the original ..... what I did was scan the phone memory and took out the 550 IMEI address from a good working T999 and from their thats how I manage to get 4g data ....
[T-Mobile, Samsung Galaxy SIII] Peoplearmy:
Did you account for the phone's serial number? Based on what you just said this will end up causing the phone to lose it's serial number.

DX

---------- Post added at 03:50 PM ---------- Previous post was at 03:47 PM ----------

I was referring to the NV-Item Reader/Writer (which is provided by CDMA-Ware) not the sgs3 nv gen. My apologies for not making that a bit more clearer. :)

DX
[T-Mobile, Samsung Galaxy SIII] <:GeeK:>:
I know what you were referring to, both tools are in the op. Credits are given to cdma-ware. The only reason I corrected you was that you were telling someone that was looking for the nv gen to get it from cdma-ware.com, which they cannot. Thanks for sticking in these threads and helping all these people since we started our tutorials way back when, sincerely, I'm sure a lot of people appreciate it. I have not been giving support simply because I've been busy with work, life and some new projects. Looks like the problem has solved though.
[T-Mobile, Samsung Galaxy SIII] JUSMEJOSE:
Nope not at all .... I just took out the esn address from it ... sorry for the misunderstanding
[T-Mobile, Samsung Galaxy SIII] kiwitrc:
It appears your phone is the I9300 international version and this thread is for the T Mobile version. I have the same problem, this is exactly what I need to recover a corrupt IMEI but it seems no one has managed to workout how to do this for the I9300.
[T-Mobile, Samsung Galaxy SIII] JUSMEJOSE:
Check PDA on UART
[T-Mobile, Samsung Galaxy SIII] nishangrg:
The link provided in the NV data corrupt is dead.. please reload it i need to repair my imei :'(
[T-Mobile, Samsung Galaxy SIII] thermax04:
+1

IMEI ALREADY CORRUPT?

Use THIS custom built too

link is dead, please reupload it is needed

EDIT

Never mind for not replying to post or messages although you are online

here it is 4 any any one need it

http://d-h.st/vVV
[T-Mobile, Samsung Galaxy SIII] carpboy:
bump

I've just lost my IMEI. I can't write the NV for 550, it's telling me inactive item. The txt file from the read says the same thing.

help!

The thread link in Peoplearmy's sig is broken. I'm having problems with XDA and thread links today. I was reading that very thread earlier but now the link (and others) are giving thread not found errors from XDA.

Edit: Got IMEI in by using the Qualcomm part of EFS Pro. The standalone Qualcomm would not register its dll's on my xp box, fortunately EFS Pro had it built in.

I am still stuck on Edge, GPRS - trying to find the thread mentioned by Peoplearmy about restoring 'lost' networking, but that is another of the disappeared XDA threads.
[T-Mobile, Samsung Galaxy SIII] JUSMEJOSE:
What model do you have?

---------- Post added at 12:13 PM ---------- Previous post was at 12:11 PM ----------

It won't ... because I deleted the address of the IMEI so it won't have the same IMEI ...
[T-Mobile, Samsung Galaxy SIII] Peoplearmy:
I also agree with you Androholic that having both backups will be better. For those who have not done both backups and want to here is the link to the other method.

http://xdaforums.com/showthread.php?t=1801997

DX
[T-Mobile, Samsung Galaxy SIII] <:GeeK:>:
Nothing happened all of a sudden. I initially decided that using a PST to recovery IMEI would be the only way to restore it so I made an hacky script to force diag mode, I got busy with work and posted it for people to use and work on the project. Then peoplesarmy used my tool and put some hard hours in playing with qpst and made a nice thread that the community contributed to. There has been a lot of work put into this and now everyone can benefit from it.

Although qpst does work, it is technically warez and using build 323 is a little archaic. I am a phone technician by trade and am very familiar with most of the programs available so I wrapped up the solution making it simple and easy along with only using freeware.
[T-Mobile, Samsung Galaxy SIII] mrmako777:
geek, you and peoplearmy are awesome! thanks for all your hard work. we ALL appreciate it! :D
[T-Mobile, Samsung Galaxy SIII] deeznutz1977:
thank you so much. xda is awesome and so are geek s:) lol thanks again,super simple.
[T-Mobile, Samsung Galaxy SIII] SiNJiN76:
So, if you've already lost the IMEI...the second set of instructions in the OP will manually push it back to the phone? (if, so...then it doesn't matter if the IMEI is backed up or not, right?)

Oh, and after doing the backup...do we need to go back into the phone setting and change the RMNET+DM+MODEM back to what it was originally (what was it originally? :confused::silly: didn't pay attention) ...or does the reboot take care of that?
[T-Mobile, Samsung Galaxy SIII] <:GeeK:>:
A backup is recommended for simplicity. Also, a full backup may help solve the data issue if you get it (Not yet confirmed).

You need to set it back to "MTP + ADB" to enable adb/mass storage mode and disable diag.
[T-Mobile, Samsung Galaxy SIII] :
How can we do a full backup?
[T-Mobile, Samsung Galaxy SIII] <:GeeK:>:
It's in the op.

"*If you want a FULL backup just read the phone with the default values [Range (Dec): 00000-65535]."
[T-Mobile, Samsung Galaxy SIII] swehes:
Donated

This is awesome guys. I haven't flashed anything yet because I just didn't want to risk it. Doing a full backup for you as well.
[T-Mobile, Samsung Galaxy SIII] :
So I'll write 00000 or just leave everything how it is? Sorry if this is a stupid question lol
[T-Mobile, Samsung Galaxy SIII] <:GeeK:>:
Either way you get the same result.
[T-Mobile, Samsung Galaxy SIII] :
Last stupid question you'll receive from me today lol, if I loose imei I restore it with the IMEI backup not the full backup and I will get imei back and my 4G?
[T-Mobile, Samsung Galaxy SIII] <:GeeK:>:
This has not been confirmed yet.
[T-Mobile, Samsung Galaxy SIII] nygmam:
Thanks for this. Backed it up last night but couldn't figure out why I could no longer connect to my phone. You may want to add the above quoted text to the first post.
[T-Mobile, Samsung Galaxy SIII] inauthoritative:
Doesn't seem to write the new IMEI. Tried to write new IMEI to phone with the txt file that i created from backup but the IMEI is still the same.
[T-Mobile, Samsung Galaxy SIII] Peoplearmy:
You can try this method as well:

http://xdaforums.com/showthread.php?t=1801997

DX
[T-Mobile, Samsung Galaxy SIII] <:GeeK:>:
If you are trying to write something other than the original IMEI it will not change.
[T-Mobile, Samsung Galaxy SIII] overground:
Excellent work gentlemen!

If you still need a full backup that meets the requirements listed in the OP, shoot me a PM.
[T-Mobile, Samsung Galaxy SIII] Lakeshow423:
GS geek! Thanks for this!
[T-Mobile, Samsung Galaxy SIII] jellydroid13:
So do we need a full backup or just the IMEI backup?
[T-Mobile, Samsung Galaxy SIII] overground:
I did both just to have.
[T-Mobile, Samsung Galaxy SIII] lemon seltzer:
I just wanna confirm, on AOSP roms I would have to su before typing those commands to get into diag mode Into an adb shell right? No root needed in title I'm assuming just applies to stock ROM since those commands don't look like something that would work without su'ing first. Just wanted to confirm as I don't like typing things I don't understand too well into superuser shell prompts unless I'm 100% sure I'm doing it right :).

Is using adb OK or would putting the phone into diag mode when adb is connected be bad? Better to just use terminal emulator?
[T-Mobile, Samsung Galaxy SIII] <:GeeK:>:
It says no root becuase it does not require root, works on stock builds. But, if you are on an aosp ROM you do undoubtedly have root and you will need to use it because you dont have access to the samsung tools that are built into stock roms.

You cannot use adb to send those commands because after the first one your usb connection will drop (I suppose you could get it done with adb over wifi). But the easiest thing to do is download gscript lite (or other scrip app) and save each set of commands as an individual script; "Diag ON" "Diag OFF" or something to that effect. I personally used script manager and the widget add on to create a couple of shortcuts.
[T-Mobile, Samsung Galaxy SIII] :
How big is the backup imei text should be?
[T-Mobile, Samsung Galaxy SIII] george241312:
yay now we can unblock the blacklisted phones !:cowboy:
[T-Mobile, Samsung Galaxy SIII] oski24:
Could you please help me on how to use script manager (running aokp). I keep getting permission denied when trying to run the script. Phones rooted and allowed SManager on Superuser. I added the scripts like this on SM Editor

for Diag ON -

echo 0 > /sys/class/android_usb/android0/enable 0

echo smd,bam > /sys/class/android_usb/android0/f_rmnet/transports

echo diag > /sys/class/android_usb/android0/f_diag/clients

echo 1 > /sys/class/android_usb/android0/f_acm/instances

echo rmnet,acm,diag > /sys/class/android_usb/android0/functions

echo 1 > /sys/class/android_usb/android0/enable

for Diag OFF -

echo "" > /sys/devices/virtual/android_usb/android0/f_mass_storage/lun_ex/file

echo 0 > /sys/devices/virtual/android_usb/android0/enable

echo "mtp,acm,adb" > /sys/class/android_usb/android0/functions

echo 1 > /sys/devices/virtual/android_usb/android0/enable

vold

And this is what comes up when I try to run the Diag ON script-

exec sh '/mnt/sdcard/diag on'

app_88@android:/ $ exec sh '/mnt/sdcard/diag on'

/mnt/sdcard/diag on[2]: cannot create /sys/class/android_usb/android0/enable: Permission denied

/mnt/sdcard/diag on[3]: cannot create /sys/class/android_usb/android0/f_rmnet/transports: Permission denied

/mnt/sdcard/diag on[4]: cannot create /sys/class/android_usb/android0/f_diag/clients: Permission denied

/mnt/sdcard/diag on[5]: cannot create /sys/class/android_usb/android0/f_acm/instances: Permission denied

/mnt/sdcard/diag on[6]: cannot create /sys/class/android_usb/android0/functions: Permission denied

/mnt/sdcard/diag on[8]: cannot create /sys/class/android_usb/android0/enable: Permission denied

Thanks for all the help!
[T-Mobile, Samsung Galaxy SIII] dvize:
Geek, you are the man. I was going to be pist that I had to type in the script, but i've discovered gscript lite thanks to you.

I couldn't figure out why the scripts I made in notepad weren't showing up. Just make a 'gscript' folder in the internal sdcard and put your scripts in there, good to go (for anyone else reading).

is there any advantage having a full nv backup?
[T-Mobile, Samsung Galaxy SIII] oski24:
Did you save the scripts as .txt?

---------- Post added at 08:39 PM ---------- Previous post was at 08:33 PM ----------

Nevermind. Switched to .sh and they showed up.

Gscript lite unfortunately doesn't seem to work for me though. Goes to blue screen after I try to run but nothing shows up and autocloses.
[T-Mobile, Samsung Galaxy SIII] lemon seltzer:
Thanks for the clarification. I noticed the video shows the unmarked checkbox at the top being checked before clicking connect? I just read through instructions and it seemed pretty straightforward so went ahead and read the stuff, then watched the video and noticed that, but didn't do that when I made my backups. Is this super significant and do I need to make backups again with that box checked?
[T-Mobile, Samsung Galaxy SIII] :
I followed the video, I think the video shows better instructions imo
[T-Mobile, Samsung Galaxy SIII] <:GeeK:>:
Yes check the box, it sends the spc and unlocks the phone so you have access to successfully read more items.
[T-Mobile, Samsung Galaxy SIII] PhantomRampage:
Just had a quick question: Is there any way to accomplish this on linux? Future plans perhaps?

And thanks btw :] Already did a full backup on a friends PC
[T-Mobile, Samsung Galaxy SIII] <:GeeK:>:
No. Every phone service tool I've ever used has been windows only. Well, I think I saw bitpim on Linux but that's it. Still, windows only for this.
[T-Mobile, Samsung Galaxy SIII] hypmatize:
Thanks for this tool <:Geek:> and everyone involved :)

<:Geek:> if you still need a full nv backup of a t-mobile galaxy s3 I could send you mine as long as you promise not to do anything malicious with my imei or other sensitive info :p.

Never rooted or flashed 100% stock... hopefully I backed up everything correctly :p
[T-Mobile, Samsung Galaxy SIII] <:GeeK:>:
Yes I would love a stock backup. You have my word, no funny business here.
[T-Mobile, Samsung Galaxy SIII] hypmatize:
Doesn't look like I can attach anything in a pm... Do you want me to just copy what is inside of the .txt and just pm that or you want to give me your email address so I can email it to you?
[T-Mobile, Samsung Galaxy SIII] <:GeeK:>:
No, this is to repair not clone. That would be illegal. This method will not work for that anyways.
[T-Mobile, Samsung Galaxy SIII] oski24:
Since I can't get the diag scripts to work (running aokp), is it possible to back up another tmo gs3 (stock) and switch the IMEI numbers as stated in the op to mine and back it up that way?
[T-Mobile, Samsung Galaxy SIII] <:GeeK:>:
You do not need to change anything in your backup unless your IMEI is lost or corrupt.
[T-Mobile, Samsung Galaxy SIII] laylovj:
I get a bunch of parameters bad when I do a full backup....using FreeGS3.
[T-Mobile, Samsung Galaxy SIII] <:GeeK:>:
That's normal, not all blocks are used.
[T-Mobile, Samsung Galaxy SIII] laylovj:
Oooookkkk. Thank you. :)
[T-Mobile, Samsung Galaxy SIII] :
How big should the full backup be and also how big should the imei backup be?
[T-Mobile, Samsung Galaxy SIII] ViralCipher:
Thanks so much for this! I am going to upgrade my FreeGS3 R3 to R5 now and flash a cool kernel. Thanks :) I did the backup. Before I go to flash, is the full backup size supposed to be around....3,231,573 bytes or 3.08MB ? I did the backup twice..and they are both that size...just wondering. I am just being paronoid..I just want to make sure my backup perfect.
[T-Mobile, Samsung Galaxy SIII] :
That was my size so I guess we're good, did you do a imei backup also?
[T-Mobile, Samsung Galaxy SIII] overground:
Yep, that's it.
[T-Mobile, Samsung Galaxy SIII] ViralCipher:
I just did the just IMEI backup and mine is 639 bytes. When I look inside I verify that I see my IMEI hex written in the format that you would use to write it back to the phone
[T-Mobile, Samsung Galaxy SIII] eggnoodle:
If I want to do a Full NV backup, are these the correct steps???

1. Read the phone with the default values [Range (Dec): 00000-65535].

2. Leave [Range (HEX) : 00000-FFFF] as is?

3. Select WRITE ?

Will this be saved as a .txt file like the IMEI did?

Thank you,
[T-Mobile, Samsung Galaxy SIII] <:GeeK:>:
Select READ to make the backup.

OP has been updated with a new easy tool for people with already corrupt IMEI!
[T-Mobile, Samsung Galaxy SIII] eggnoodle:
If I want to do a Full NV backup, are these the correct steps???

1. Read the phone with the default values [Range (Dec): 00000-65535].

2. Leave [Range (HEX) : 00000-FFFF] as is?

3. Select READ?

So all the steps are correct, but just select READ instead of WRITE from step 3
[T-Mobile, Samsung Galaxy SIII] <:GeeK:>:
Yes, It is the exact same as in the demonstration video except the range is different. Please watch the demonstration video so you are sure.
[T-Mobile, Samsung Galaxy SIII] FSUSeminole:
Hey guys... Stupid question:

I have IMEI #'s on the side of the box the phone came in, can't I just save those or is this something different?
[T-Mobile, Samsung Galaxy SIII] hypmatize:
It should be the same... just look at the imei number the is under the battery just to be sure
[T-Mobile, Samsung Galaxy SIII] Evo4eva:
Of course you do because you're seeing what he is doing instead of just reading instructions and not seeing anything.
[T-Mobile, Samsung Galaxy SIII] es7241:
Geek did create this tool/program yourself?

What gives this method the advantage is that it prevents changing blacklisted phones imei.
[T-Mobile, Samsung Galaxy SIII] <:GeeK:>:
The first tool is freeware from cdma-ware and the second one I paid another developer I know to make, so I could post it for you guys. You can see in the about section of the tool. I specialize in CDMA tech and am OK with VB but he is better so I had him do it.
[T-Mobile, Samsung Galaxy SIII] PhantomRampage:
Has anyone confirmed whether or not restoring your IMEI re-enables 4g if you've lost it already?

I've held off on rooting and rom flashing because I'm nervous about losing my speeds, so im hoping this can solve that problem.
[T-Mobile, Samsung Galaxy SIII] <:GeeK:>:
Restoring from a full backup should fix data issue. The details of the exact items effected are still unclear though.
[T-Mobile, Samsung Galaxy SIII] andham95:
The link for how to do this with AOSP roms doesn't appear to be working. I was on CM9 when I found out about the IMEI thing and fortunately my IMEI was still intact, but I have done ZERO flashing since then (even flashing new nighties for CM9). I really don't want to have to run the risk of flashing back to a stock based rom to do this. Any help would be much appreciated (:

EDIT:

It started working. In case the link doesn't work for anyone else, here are the instructions copy and pasted for AOSP roms:

"Samsung Galaxy S III Diag Mode Scripts.

You can either enter these manually or use gscript lite to make it faster and easier.

ENABLE DIAG:

echo 0 > /sys/class/android_usb/android0/enable 0

echo smd,bam > /sys/class/android_usb/android0/f_rmnet/transports

echo diag > /sys/class/android_usb/android0/f_diag/clients

echo 1 > /sys/class/android_usb/android0/f_acm/instances

echo rmnet,acm,diag > /sys/class/android_usb/android0/functions

echo 1 > /sys/class/android_usb/android0/enable

DISABLE DIAG:

echo "" > /sys/devices/virtual/android_usb/android0/f_mass_storage/lun_ex/file

echo 0 > /sys/devices/virtual/android_usb/android0/enable

echo "mtp,acm,adb" > /sys/class/android_usb/android0/functions

echo 1 > /sys/devices/virtual/android_usb/android0/enable

vold

Thank you,

-GeeK "
[T-Mobile, Samsung Galaxy SIII] PhantomRampage:
Awesome! Thanks man
[T-Mobile, Samsung Galaxy SIII] deeznutz1977:
i had on and off signal and only edge data i have 4g now
[T-Mobile, Samsung Galaxy SIII] :
What did you do to get 4G back? And you lost your imei?
[T-Mobile, Samsung Galaxy SIII] porthole:
Thanks again. This is a great tool. However, I am doing a full backup. How long should it take? I have waited for about 5 minutes. I know the file size was stated to be around 3mb. I just didn't think it would take this long. Could someone tell me I should keep waiting or stop it?

Thanks.

Update: I just saw there was a progress bar at the bottom. NEVERMIND. Thanks!!!
[T-Mobile, Samsung Galaxy SIII] anthonykash:
I'm very curious. Couldn't that new tool write any imei. Clone another phone?
[T-Mobile, Samsung Galaxy SIII] <:GeeK:>:
No.
[T-Mobile, Samsung Galaxy SIII] rakeshchn:
Is there a separate thread how to restore IMEI from this back up?

Sent from my SGH-T999

Never mind - Just need to use the write button in NV tool
[T-Mobile, Samsung Galaxy SIII] swa2k4:
I am backing up the whole NV and an extra file for just the IMEI 550 item also on each of the three phones I manage for family just in case! thanks much. is there any reason to use QPST and do it again after just doing the backup from this simpler program?