From: Loren P. <mic...@us...> - 2003-10-30 06:52:29
|
Hi, It looks like the phonebook nvm file is composed of fixed-length blocks of data. Each one is 0x1d7 bytes long and starts with a three byte header, which includes a counter: 01 00 00 (first entry, starting at 0x0000) 01 01 00 (second entry, starting at 0x1d8 01 02 00 (etc...) 01 03 00 This header is followed by a 16 byte text field containing the name of the entry, an 0xA, and then the home phone number for the entry. The subsequent numbers are work, then mobile, each 48 bytes. Here's an example (nvm_0008): 00000000 01 00 00 41 61 20 4B 75-73 69 61 00 00 00 00 00 ...Aa Kusia..... <--------name of entry 00000010 00 00 00 0A 35 31 30 xx-xx xx xx xx xx xx 00 00 ....510xxxxxxx.. <--------home phone 00000020 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 00000030 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 00000040 00 00 00 00 00 0A 34 31-35 xx xx xx xx xx xx xx ......415xxxxxxx <--------work phone 00000050 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 00000060 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 00000070 00 00 00 00 00 00 00 0A-35 31 30 xx xx xx xx xx ........510xxxxx <--------mobile phone 00000080 xx xx 00 00 00 00 00 00-00 00 00 00 00 00 00 00 xx.............. 00000090 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 000000A0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 000000B0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 000000C0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 000000D0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 000000E0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 000000F0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 00000100 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 00000110 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 00000120 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 00000130 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 0F ................ 00000140 30 31 31 33 38 30 35 30-36 37 34 xx xx xx xx 00 01138050674xxxx. <------ "other" phone 00000150 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 00000160 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 00000170 00 0F 6B 75 73 69 61 40-xx xx xx xx xx 2E 6E 65 ..ku...@xx... <------ email 00000180 74 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 t............... 00000190 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 000001A0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 000001B0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 000001C0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 000001D0 00 00 00 00 00 00 08 00-01 01 00 4C 6F 72 65 6E ...........Loren <------ beginning of second 000001E0 00 00 00 00 00 00 00 00-00 00 00 0A 35 31 30 35 ............5105 entry -loren Roger wrote: >Just for comparison, here is a dump from a VX4400. There is considerably more than on your phone. Can you post the first line of a hex dump >from the nvm files since that should help show what the format is..... |