Discussion:
[BitPim-devel] Re: bitpim-cvs-checkins digest, Vol 1 #630 - 6 msgs
Todd Imboden
2005-08-24 08:31:53 UTC
Permalink
Stephen, since you started with the amsregistry with packets I added a
few lines to your amsanalyze that would get rid of the code I made to
get the ringtones without the packet descriptions.... here's the
diff.... it removes the need for the getamsindices and the getamstext
Stephen Wood
2005-08-24 14:38:26 UTC
Permalink
Post by Todd Imboden
Stephen, since you started with the amsregistry with packets I added a
few lines to your amsanalyze that would get rid of the code I made to
get the ringtones without the packet descriptions.... here's the
diff.... it removes the need for the getamsindices and the getamstext
Nice! I'll check it out tonight.

I started trying to understand the amsregistry file format for myself
because I would like to eventually add writing media to the A620 (and
similar Sprint Samsung phones). I know that one can delete the
amsregistry file and power cycle the phone, but I would like to
evaluate if it is better to rewrite the file rather than delete it.
(If one uses a charging data cable, the phone doesn't turn back on
after a power cycle request, it just goes into charging mode, so I
would like to avoid reboots.)

Anyway, any thoughts/code you have would be most welcome.

Stephen
Todd Imboden
2005-08-24 16:36:36 UTC
Permalink
One thing I found out about the amsregistry when I started playing
with it way back when is it's very finicky.... half the time is was
locked for me when I tried to mess with it and the file length must
remain the same at all times... I accidentally uploaded a amsregistry
that was a few bytes extra and now the file seems to be permanently
locked no matter what I try, and every time you power cycle the phone
the list resets causing some of the ringtones to be moved around which
means the ringtones I've got set for certain callers gets switched
around

here's that old text file I sent you way back in the day, I think it
has a few things in it you don't have in your packet
Stephen Wood
2005-08-25 03:40:43 UTC
Permalink
Todd:

The patch bombed out for me. I'll send you the exception privately.

Stephen
Stephen Wood
2005-08-26 03:32:15 UTC
Permalink
Todd:

I have checked in your patch, because getting the ringtones on this
phone bombs out with or with out the patch. As you say, amsRegistry
is finicky. I think I only used a sync program on this phone once to
upload the phonebook (I use a different A620 for development) and have
only gotten media via Sprint downloads. But my amsRegistry refers to
files that don't exist, and doesn't properly refer to files that do
exist (and show up on my phone).

As a first step, I'll put in a trap for files that don't exist so that
BitPim doesn't bomb out with corrupt amsRegistry files.

Stephen
Post by Stephen Wood
The patch bombed out for me. I'll send you the exception privately.
Stephen
Loading...