Re: developing for samsung SPH-A900
Stephen Wood <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <[email protected]> |
Aaron: I got your protocol log. It looks like the A900 has a file system with more than just one file, but it is getting in some kind of repeating loop trying to crawl the filesystem. Maybe it uses the new version of the filesystem, which I'll try to explain how to use. You should try to make yourself a trial A900 setup in your copy of the source. Copy the com_samsungspha840.py and p_samsungspha840.p files to com_samsungspha900.py and p_samsungspha900.p, and replace all instances os a840 with a900 in the new files. When you create p_samsungspha900.p and everytime you change it, you need to run "python protogen.py" to "recompile" the protocol definitions. In the .p you made, put the line "BREW_FILE_SYSTEM=2". See p_lgvx8100.p as an example. In guiwidgets.py, find where the menu that lets you select which phone you have and add the A900. You'll be adding a line that looks like "'SPH-A900': 'com_samsungspha900'. Then when you run, if you select the A900, when you try to browse the file system, the "new" brew file system code will be used. (Simon, correct me if I am wrong about this.) In parallel to file system examining, there are some things to try to do to read the phonebook. Copy the routine "getfundamentals" from com_samsungspha620.py in to the Phone class in your com_samsungspna900.py. Comment out the line where it tries to read the amsRegistry file. If reading the phonebook crashes again, try commenting out the that crashes things. You should look at the various notes in the dev-doc subdirectory of the cvs, in particular phonspec.html and packetdescription.txt. Stephen