[Captivate Android Development] WheresWaldo:
This is what the French scripts do, perhaps someone else can make more sense of it than I can. I extracted most of the superfluous ECHO statements and added what was displayed by each of the .DOC files.

Here is how to unlock a phone that has missed its flash Froyo JPC / JPH (request for unlock code and displays the correct IMEI)

Beware if the IMEI is not good before you start, it will not be at the end.

This method can also be used to modify the Product Code for those interested

Above all, the flash rom New JM1 available here:

http://www.multiupload.com/Y1UODCTSP0

the password to unzip: samsung firmwares.com

PIT to flash: PIT512

Select re-partition to flash in Odin

Root with rooter_android_2.1.bat file in the archive.

Set phone display timeout to 10 or 30 minutes so as not to miss application "su" (there may be in a package)

MD sauvegarde_efs_avant_reparation_nv_data
adb kill-server
adb wait-for-device
adb shell "mkdir /sdcard/boite_a_outils_temporaire"
adb shell su -c "busybox cp -d -r /efs /sdcard/boite_a_outils_temporaire/"
adb pull /sdcard/boite_a_outils_temporaire/efs ./sauvegarde_efs_avant_reparation_nv_data
adb pull /efs/nv_data.bin
adb kill-server

File nv_data.bin just appear in the directory the toolbox and a backup file was created efs a precaution

Edit the file with a hex editor nv_data.bin (in my example EditHexa available here: ... http://www.logitheque.com/logiciels/win a_9903.htm)

188 021 offset (page 3137) to "XEF" (ca will recognize the phone as "naked" French) (thus change the product code)

188800F offset the same page, put "XEF" too.

Offset 18146E (page 3083) to "00000000" (ac will put the network unlock code 00000000)

We backup ^ ^

[SIZE=2][COLOR=Blue]
adb kill-server
adb wait-for-device
adb shell "mkdir /sdcard/boite_a_outils_temporaire"
adb shell "mkdir /sdcard/boite_a_outils_temporaire/efs2"
adb push nv_data.bin /sdcard/boite_a_outils_temporaire/efs2
adb shell su -c "rm /efs/nv_data.JPC"
adb shell su -c "rm /efs/nv_data.JPC.md5"
adb shell su -c "rm /efs/.nv_data.bak"
adb shell su -c "rm /efs/.nv_data.bak.md5"
adb shell su -c "rm /efs/nv_data.bin"
adb shell su -c "rm /efs/nv_data.bin.md5"
adb shell su -c "rm /efs/.nv2.bak"
adb shell su -c "rm /efs/.nv2.bak.md5"
adb shell su -c "busybox cp /sdcard/boite_a_outils_temporaire/efs2/nv_data.bin /efs/nv_data.bin"
adb shell su -c "chmod 755 /efs/nv_data.bin"
adb shell su -c "chown radio.radio /efs/nv_data.bin"
adb kill-server
pause
SET /P errchown=Y a t'il eu erreur sur les commandes chown? O/N:
IF %errchown%==o (
adb shell su -c "chown 1001.1001 /efs/nv_data.bin"
adb kill-server
pause
)
IF %errchown%==n pause
IF %errchown%==O (
adb shell su -c "chown 1001.1001 /efs/nv_data.bin"
adb kill-server
pause
)
IF %errchown%==N pause
[/COLOR][/SIZE]

unplug the phone, remove the battery without turning the phone 30 seconds.

restart (on or before this point we must put the sim)

The network will unlock code: 00000000, it will the code is good but not unlock it anyway. If its not working properly and restart the phone again.

once functional, * # 06 # displays the correct imei

After there are bugs that require reflashing (personal phone restarted by itself and without requiring code sim), reflash in New JM1 via Odin partition with re-activated (I have not test other firmwares)

Must rooter again and yes again ^ ^

restart

adb kill-server
adb wait-for-device
adb shell su -c "ls -a -l /efs"
adb kill-server
pause
adb wait-for-device
adb shell su -c "busybox cp /efs/nv_data.bin /efs/.nv_data.bak"
adb shell su -c "busybox cp /efs/nv_data.bin.md5 /efs/.nv_data.bak.md5"
adb shell su -c "chown radio.radio /efs/.nv_data.bak"
adb shell su -c "chown radio.radio /efs/.nv_data.bak.md5"
adb kill-server
pause
SET /P errchown=Y a t'il eu erreur sur les commandes chown? O/N:
IF %errchown%==o (
adb shell su -c "chown 1001.1001 /efs/.nv_data.bak"
adb shell su -c "chown 1001.1001 /efs/.nv_data.bak.md5"
adb kill-server
pause
)
IF %errchown%==n pause
IF %errchown%==O (
adb shell su -c "chown 1001.1001 /efs/.nv_data.bak"
adb shell su -c "chown 1001.1001 /efs/.nv_data.bak.md5"
adb kill-server
pause
)
IF %errchown%==N pause
echo ===============================================================
echo Step 8 Save the file with all repaired efs
echo ===============================================================
pause
MD Sauverarde_efs_apres_reparation
adb wait-for-device
adb shell "mkdir /sdcard/boite_a_outils_temporaire"
adb shell su -c "busybox cp -d -r /efs /sdcard/boite_a_outils_temporaire/"
adb pull /sdcard/boite_a_outils_temporaire/efs ./Sauverarde_efs_apres_reparation
adb kill-server
explorer .\Sauverarde_efs_apres_reparation
echo ===============================================================
echo ===============================================================
echo Thank you to control that nv.data.bin. Nv_data.bak and theirs. Md5
echo Copies are well on the PC.
echo Boite_a_outils_temporaire has created a folder on your
echo internal sd you can delete it
exit