[Verizon Samsung Galaxy S III] amoamare:
DISCLAIMER

This tool is only to be used to restore your original MEID/IMEI, this tool is not to be used for anything other then that, by downloading this tool YOU agree that you will only be using it to restore a damaged MEID/IMEI. XDA, FTT, I or anyone else is not held accountable for actions that you might consider doing. Any talk of "Cloning", 'Changing" etc will be reported and immediate ban AS THIS IS YOUR ONLY WARNING. So please avoid this. There should be no reason you don't see this, its the first thing you see when reading the thread.

What this is for

Some users when installing a rom, recovery or unlocking the bootloader experience a lose of there IMEI and or ERI. This tool is designed to help them recover it, specially in the case where they didn't make any prior backups.

PLEASE NOTE

If this does not work for you, you can try to use this code in the dialer *2767*3855# using a stock rom. To see if it will factory reset your device.

You may also try ##RTN# to reset device, this will erase all settings and data from the device. In order for this code to you work you must be on a stock touch wiz rom and enable hidden menu.

Prerequisites

Windows XP, Vista, 7 or 8 64bit or 32bit

Microsoft DotNet 3.5 Installed.

Diagnostic Drivers Installed

How To

You must enable the diagnostic port on your device. If you are on a TouchWiz based rom follow TouchWiz Diag else follow ASOP Diag.

1. Find your IMEI under the battery on the device, you should see a sticker. Copy the IMEI down and power on the device.

2. Connect the device to your computer and open "Device Manger"

3. Check under "Ports" and Look for Samsung and Note the Comport it is on.

4. Open the software and under comports select the comport number you found your device on then click connect.

5. Check the IMEI number of to the left, and note the ERI message. If it is red and says your ERI is missing or not found. Please do both methods.

6. If your ERI is not found, click on "Repair" in the ERI section, if your IMEI is missing, when asked to reboot click "NO" other wise click yes and you are done.

7. Type your IMEI in the IMEI box, Do not worry about MEID it will auto fill once IMEI is typed.

8. You will notice that the last number is added automatically this is done using the Luna Algo and is a checksum number.

9. Once you have typed your IMEI click on "Repair" in the IMEI section, once the repair is done your phone will auto reboot.

10. Please check your ERI and IMEI under Settings/System/About/Status. Your IMEI should appear and ERI version 5 should be there.

Thats it you should not be roaming anymore and your IMEI successfully repaired.

TouchWiz Diag

1.) Bring up the Dial Pad on the phone

2.) Press *#22745927

3.) When the "Enable/Disable Hidden Menu" comes up

tap where it says "Hidden Menu Disabled".

4.) Select "Enable" on the popup.

5.) Select "OK"

6.) Press the "Home" key to return to the home screen.

7.) Bring up the Dial Pad on the phone

8.) Press **87284 (USBUI)

9.) On "PhoneUtil" make sure "PDA" is selected.

10.) Select "Qualcomm USB Settings"

11.) Select "DM+MODEM+ADB"

12.) Select "OK"

Note:You can also use "Casual" and invoke the PhoneUtil menu directly.

AOSP Diag

Using adb. or terminal

Execute DiagMode.sh

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

To return to normal

Execute MTPMode.sh as root

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

Video How To

[YOUTUBE]tatuEAm1MNg[/YOUTUBE]

How To Upload ERI using Revskills

[YOUTUBE]voptuxFtvVg[/YOUTUBE]

Manual Method / How This Works

The IMEI part is complex and I wont go into detail on that at all. If you dont have access to a windows machine, then I'm sorry but most of the avail tools that will allow you to repair IMEI is going to be Windows based and you can use a virtual machine. Not with my tool but others. This is mostly going to be focused on the ERI it self.

The ERI is binary file that is stored on the QCOM chipset, this is the primary file the "Radio" and the device use in order to determine certain functionality of the device.

This is stored as /nvm/eri_0 on the QCOM's EFS. You can use QPST EFS Explorer all though it will probably crash, or some other EFS explorer for Qualcomm chipset's.

I have uploaded the original eri_0 file to this forum. All you have to do is download it. User QPST or Bitpim, Revskills, and upload the file to /nvm/eri_0 you can leave it's permissions as 666 or chmod the permissions to 777 your choice the phone will read it either way.

The /nvm/eri_0 that is uploaded to this forum comes from a stock s3, although its the same ERI file Verizon has been using forever. Thats all this tool does. Simply fix's the IMEI and uploads a good eri file to the correct directory.

Questions and Answers

Q) Do I need to do anything special first like back up any part of my phone or anything ?

A) No, as long as you can enable diag port you can restore your IMEI, just look on the back of your device under the battery for your original IMEI. I STILL ADVISE YOU TO BACK UP using this method here http://xdaforums.com/showthread.php?t=1852255

Q) Can this change IMEI?

A) Its purpose is not to change IMEI doing so is illegal and any talk about changing the IMEI will be reported and you may be banned. I advise against it as it could cause unknown issues.

Q) Can you share how this works.

A) No, sorry my position, my family and my job comes first and this would put me in a bad position.

Q) Can you just tell me in pm.

A) No so dont bother asking.

Q) My phones says Roaming and show roaming icon will this fix it ?

A) Yes this should be able to fix that issue, it does that by uploading the ERI back to the QCOM chipset.

Q) Should I / Do I have to donate ?

A) No, you don't need to donate, and I don't want you to fell you need to. Your donation could go to something else EFF, Adam Outler, XDA, Poor kids in any country, some other foundation. If you feel you would like to donate to me you can, I wont stop you and I wont ask you to.

Credits

Not sure who all to credit if you feel your name should be here Just tell me and why and Ill post it here. I did not read any of the other forum really, but ill list who i have seen and who as helped me identify it was the ERI

Also no particular order

Adam Outler - For everything he does, I watch a lot of his videos.

WildZontar - For his thread, not sure if its his info or just info collected. - http://xdaforums.com/showthread.php?t=1852255

TrevE - For what he has contributed, looks like a lot :) very knowledgeable person

Jay Evans - For doing the initial tests

BillBauman - Discovered the missing ERI

GerardAnthony - For the AOSP mode scripts

Again, for these people as well, I didn't read the whole thread etc to see everything they contributed. If someone would or if they would / want me to update it please ask to me to update so I can give credit where its do.