Post by Roger BinnsPost by Adit PanchalHere is the error for example when trying to import the phonebook
It will be more helpful if you also turn on the protocol logging.
Roger
Protocol log when I try to browse the file system of my SCP-5500:
15:27:14.427 COM5: USB support is not available
15:27:14.427 COM5: Opening port COM5, 115200 baud, timeout 3.000000,
hardwareflow 0, softwareflow 0
15:27:14.447 COM5: Open of comm port suceeded
15:27:14.447 SCP-8100: Attempting to contact phone
15:27:14.447 SCP-8100: Listing dir ''
15:27:14.457 SCP-8100: brew request Data - 2 bytes
<#! p_brew.memoryconfigrequest !#>
00000000 59 0c Y.
15:27:14.457 SCP-8100: brew response Data - 7 bytes
<#! p_brew.memoryconfigresponse !#>
00000000 59 0c 00 60 9a 12 00 Y..`...
15:27:14.467 SCP-8100: Now in brew mode
15:27:14.467 SCP-8100: brew request Data - 9 bytes
<#! p_brew.listfilerequest !#>
00000000 59 0b 00 00 00 00 02 2f 00 Y....../.
15:27:14.486 SCP-8100: brew response Data - 35 bytes
<#! p_brew.listfileresponse !#>
00000000 59 0b 00 00 00 00 00 ff 00 01 03 00 00 00 00 ea
Y...............
00000010 00 00 00 00 02 00 00 00 0a 24 55 53 45 52 5f 44
.........$USER_D
00000020 49 52 53 IRS
15:27:14.486 SCP-8100: brew request Data - 9 bytes
<#! p_brew.listfilerequest !#>
00000000 59 0b 01 00 00 00 02 2f 00 Y....../.
15:27:14.506 SCP-8100: brew response Data - 37 bytes
<#! p_brew.listfileresponse !#>
00000000 59 0b 00 01 00 00 00 37 00 01 03 00 00 00 00 ce
Y......7........
00000010 00 00 00 00 02 00 00 00 0c 24 53 59 53 2e 46 41
.........$SYS.FA
00000020 43 54 4f 52 59 CTORY
15:27:14.516 SCP-8100: brew request Data - 9 bytes
<#! p_brew.listfilerequest !#>
00000000 59 0b 02 00 00 00 02 2f 00 Y....../.
15:27:14.536 SCP-8100: brew response Data - 38 bytes
<#! p_brew.listfileresponse !#>
00000000 59 0b 00 02 00 00 00 ff 00 01 00 00 00 00 00 5a
Y..............Z
00000010 00 00 00 00 02 00 00 00 0d 75 69 76 72 53 74 61
.........uivrSta
00000020 74 65 2e 64 61 74 te.dat
15:27:14.546 SCP-8100: brew request Data - 9 bytes
<#! p_brew.listfilerequest !#>
00000000 59 0b 03 00 00 00 02 2f 00 Y....../.
15:27:14.556 SCP-8100: brew response Data - 31 bytes
<#! p_brew.listfileresponse !#>
00000000 59 0b 00 03 00 00 00 ff 00 01 00 00 00 00 00 40
Y..............@
00000010 00 00 00 00 02 00 00 00 06 43 4c 4b 5f 44 42 .........CLK_DB
15:27:14.556 SCP-8100: brew request Data - 9 bytes
<#! p_brew.listfilerequest !#>
00000000 59 0b 04 00 00 00 02 2f 00 Y....../.
15:27:14.566 SCP-8100: brew response Data - 37 bytes
<#! p_brew.listfileresponse !#>
00000000 59 0b 00 04 00 00 00 ff 00 00 00 00 00 00 00 06
Y...............
00000010 00 00 00 00 02 00 00 00 0c 52 44 4d 5f 50 4f 52
.........RDM_POR
00000020 54 5f 4d 41 50 T_MAP
15:27:14.566 SCP-8100: brew request Data - 9 bytes
<#! p_brew.listfilerequest !#>
00000000 59 0b 05 00 00 00 02 2f 00 Y....../.
15:27:14.576 SCP-8100: brew response Data - 33 bytes
<#! p_brew.listfileresponse !#>
00000000 59 0b 00 05 00 00 00 ff 00 01 00 00 00 00 00 bc
Y...............
00000010 00 00 00 00 02 00 00 00 08 24 53 59 53 5f 52 4d
.........$SYS_RM
00000020 54 T
15:27:14.586 SCP-8100: brew request Data - 9 bytes
<#! p_brew.listfilerequest !#>
00000000 59 0b 06 00 00 00 02 2f 00 Y....../.
15:27:14.596 SCP-8100: brew response Data - 3 bytes
<#! p_brew.listfileresponse !#>
00000000 59 0b 1c Y..
15:27:14.596 SCP-8100: brew request Data - 4 bytes
<#! p_brew.listdirectoriesrequest !#>
00000000 59 02 01 00 Y...
15:27:14.766 SCP-8100: brew response Data - 263 bytes
<#! p_brew.listdirectoriesresponse !#>
00000000 59 02 00 04 00 16 00 6e 76 6d 00 56 6f 69 63 65
Y......nvm.Voice
00000010 44 42 00 56 6f 69 63 65 00 43 4d 00 00 5f 52 4d
DB.Voice.CM.._RM
00000020 54 ad de 41 50 ad de de b0 1f 00 00 ff ff 00 00
T..AP...........
00000030 06 16 b8 01 02 f0 53 ad de ff ff ff ff ff ff ff
......S.........
00000040 ff ff ff ff ff ff ff ff 90 1f 00 00 ff ff 00 00
................
00000050 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
00000060 15 68 79 56 8d 35 02 12 a5 ab 64 0d ff ff ff ff
.hyV.5....d.....
00000070 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
00000080 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
00000090 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
000000a0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
000000b0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
000000c0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
000000d0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
000000e0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
000000f0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
00000100 ff ff ff ff ff ff ff .......
-----------------------------------------------------------------
-----------------------------------------------------------------
Protocol log when I try to import the phonebook from my SCP-5500 in the
same session of bitpim:
15:30:25.111 SCP-8100: Retrieving fundamental phone information
15:30:25.141 SCP-8100: Phone serial number
15:30:25.141 SCP-8100: Getting file contents 'nvm/$SYS.ESN'
15:30:25.141 SCP-8100: brew request Data - 17 bytes
<#! p_brew.readfilerequest !#>
00000000 59 04 00 0d 6e 76 6d 2f 24 53 59 53 2e 45 53 4e
Y...nvm/$SYS.ESN
00000010 00 .
15:30:25.151 SCP-8100: brew response Data - 267 bytes
<#! p_brew.readfileresponse !#>
00000000 59 04 00 00 00 61 00 00 00 61 00 ff ff ff ff ff
Y....a...a......
00000010 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
00000020 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
00000030 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
00000040 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
00000050 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
00000060 15 68 79 56 8d 35 02 12 a5 ab 64 0d ff ff ff ff
.hyV.5....d.....
00000070 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
00000080 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
00000090 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
000000a0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
000000b0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
000000c0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
000000d0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
000000e0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
000000f0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
00000100 ff ff ff ff ff ff ff ad de ff ff ...........
15:30:25.151 SCP-8100: expected size 97 actual 97
15:30:25.151 SCP-8100: Fundamentals retrieved
15:30:25.151 SCP-8100: Sanyo phonebook request Data - 1 bytes
<#! p_sanyo.firmwarerequest !#>
00000000 00 .
15:30:25.151 SCP-8100: sanyo phonebook response Data - 55 bytes
<#! p_sanyo.firmwareresponse !#>
00000000 00 4f 63 74 20 33 30 20 32 30 30 33 31 36 3a 31 .Oct 30
200316:1
00000010 33 3a 31 33 46 65 62 20 31 37 20 32 30 30 33 30 3:13Feb 17
20030
00000020 39 3a 30 30 3a 30 30 53 43 50 35 35 30 30 20 6a
9:00:00SCP5500 j
00000030 06 16 b8 01 02 f0 53 ......S
15:30:25.171 Exception: An unexpected exception has occurred.
Please see the help for details on what to do.
Traceback (most recent call last):
File "gui.pyo", line 148, in run
File "gui.pyo", line 89, in __call__
File "gui.pyo", line 1036, in getdata
File "com_sanyo.pyo", line 218, in getphonebook
File "com_sanyo.pyo", line 98, in getsanyobuffer
File "com_sanyo.pyo", line 133, in sendpbcommand
File "com_phone.pyo", line 96, in setmode
File "com_sanyo.pyo", line 70, in _setmodephonebook
File "com_sanyo.pyo", line 163, in sendpbcommand
File "p_sanyo.pyo", line 213, in readfrombuffer
File "prototypes.pyo", line 320, in readfrombuffer
File "prototypes.pyo", line 766, in getnextbytes
IndexError: Trying to read 11 bytes starting at 48 which will go beyond
end of 55 byte buffer
Variables by last 6 frames, innermost last
Frame setmode in com_phone.pyo at line 98
desiredmode = 'modephonebook'
self = <com_sanyo8100.Phone instance at 0x01AB1940>
strmode = 'brew'
strdesiredmode = 'phonebook'
func = '_setmodephonebook'
v = 'writefile'
Frame _setmodephonebook in com_sanyo.pyo at line 73
self = <com_sanyo8100.Phone instance at 0x01AB1940>
req = <p_sanyo.firmwarerequest object at 0x01AC2C70>
respc = <class 'p_sanyo.firmwareresponse'>
Frame sendpbcommand in com_sanyo.pyo at line 163
writemode = False
d = -1
responseclass = <class 'p_sanyo.firmwareresponse'>
buffer = <prototypes.buffer instance at 0x00B09878>
res = <p_sanyo.firmwareresponse object at 0x01AC26D0>
callsetmode = False
firsttwo = '\x00x'
request = <p_sanyo.firmwarerequest object at 0x01AC2C70>
data = '\x00Oct 30 200316:13:13Feb 17 200309:00:00SCP5500
j\x06\x16
self = <com_sanyo8100.Phone instance at 0x01AB1940>
numretry = 0
Frame readfrombuffer in p_sanyo.pyo at line 213
buf = <prototypes.buffer instance at 0x00B09878>
self = <p_sanyo.firmwareresponse object at 0x01AC26D0>
dict = {'sizeinbytes': 11, 'terminator': None}
Frame readfrombuffer in prototypes.pyo at line 320
self = <prototypes.STRING object at 0x01AC2950>
buf = <prototypes.buffer instance at 0x00B09878>
Frame getnextbytes in prototypes.pyo at line 766
self = <prototypes.buffer instance at 0x00B09878>
howmany = 11
-----------------------------------------------------------------
-----------------------------------------------------------------
I hope this helps. I was using BitPim 0.7-test1 using a Gomadic USB
cable. I also wanted to add that I tried importing the phone book from
my dad's SCP-5300 and it works fine. It does not however import the
pictures or ringers.
Adit