1. Read phone memory from 0000:0000 to 4000:0000.
2. Convert LOG file from script to binary file.
3. Now find all ESN entries from phone in BIN file (if phone esn is 0x12345678 you must search 0x78563412 in BIN). Address 0x000XFFFF in BIN file means addr X000:FFFF for MSM2300 (Intel) in script.
4. Find "good" ESN addr - step by step poke zero DWORD for each ESN addr and see result in DM (F9). If you poking zero to "good" esn addr then DM will show 0x00000000 ESN.
5. Create script like this example for Qualcomm QCP820 ver. BP2010:
mode offline-d
wait 2
spc "000000"
poke nv_dword 1000:9CD2 0x00000000
nv_write esn {0x00000000}
nv_write esn {0x12345678}
mode reset
6. Please do not ask foolish questions.......
(c)MegaSlava