Discussion:
[BitPim-devel] LG LX260 (Sprint Rumor) database format.
Jack Miller
2008-07-30 21:39:44 UTC
Permalink
Hi all.

This isn't strictly Bitpim related (yet), but I'm attempting to reverse
engineer the format of the Sprint Rumor's contentInfo/executionInfo
databases. It's going very well for the most part and I have 90% of the file
figured out, but one thing I can't figure out is their string storage
techniques.

Perhaps someone in bitpim development will recognize the format, or have some
insight?

First there's a type code
0x00 0x04

Then a field num (incremented for each variable in the record)
0x36

The a field length
0x10

A marker of some sort
0x00 0xFF 0x00

The string, in ASCII (null terminated)
Applications

After the null terminator, though there's what is apparently garbage. The
string length includes the marker, terminator and the garbage, so it can be
used to jump over accurately. Sometimes it's got some random bytes in it.
Sometimes it's all zeroes. Sometimes there is no garbage.

It's not a hash of any sort, because it's changes between two identical
strings ("Applications" appears alot), and even the number of bytes of
garbage changes between identical strings.

It also can't be some sort of padding, as far as I can tell, it adds all
sorts of number of bytes, and the strings don't start or end on any special
address.

Also, the string 0x98 0xFE 0xCD 0xAB shows up a lot in the garbage as well,
but not always and not always at the beginning or the end when it does.

Anyone seen anything like this before? I've been manipulating the files with
a Python script, and two files one before I added a ringer via the internet
and one after and the *only* difference between the file I generate and the
reference file is the lengths of the strings/record/file and the lack of
garbage. Yet the reference file works and mine doesn't, so their must be
something to it...

Thanks for your help.

--Jack
Stephen Wood
2008-07-31 02:28:02 UTC
Permalink
The format of the contentInfo file might be similar to what is used on
the LG PM225 or PM325, both Sprint phones. You might look at the code
and protocol definitions for these phones.

How do you connect your phone? With a data cable? Bluetooth? What
drivers do you use? I ask because while there are 3 Rumors in my
house, I can't borrow them very often, so don't want to waste time
trying to figure out how to connect.

Stephen
Post by Jack Miller
Hi all.
This isn't strictly Bitpim related (yet), but I'm attempting to reverse
engineer the format of the Sprint Rumor's contentInfo/executionInfo
databases. It's going very well for the most part and I have 90% of the file
figured out, but one thing I can't figure out is their string storage
techniques.
...
Jack Miller
2008-07-31 04:52:02 UTC
Permalink
Post by Stephen Wood
The format of the contentInfo file might be similar to what is used on
the LG PM225 or PM325, both Sprint phones. You might look at the code
and protocol definitions for these phones.
Thanks for the tip, I'll look into it tomorrow.
Post by Stephen Wood
How do you connect your phone? With a data cable? Bluetooth? What
drivers do you use? I ask because while there are 3 Rumors in my
house, I can't borrow them very often, so don't want to waste time
trying to figure out how to connect.
When I bought my phone, I got the USB cable. I don't use any drivers -- run
Linux and it pops up as "Other CDMA phone". Filesystem access works like a
charm, of course.

-- Jack
Joe Siegrist
2008-07-31 02:49:25 UTC
Permalink
There's a data cable for it
http://www.buy.com/retail/product.asp?sku=206616217&listingid=25137829&dcaid
=17902 , I sent a nearly complete (worked for me but otherwise untested)
auto-detection and contacts integration a month ago to the list, that just
needed the specification for what ringtone and if it's a cell/mobile/fax
done.

Joe

-----Original Message-----
From: bitpim-devel-***@lists.sourceforge.net
[mailto:bitpim-devel-***@lists.sourceforge.net] On Behalf Of Stephen
Wood
Sent: Wednesday, July 30, 2008 10:28 PM
To: bitpim-***@lists.sourceforge.net
Subject: Re: [BitPim-devel] LG LX260 (Sprint Rumor) database format.

The format of the contentInfo file might be similar to what is used on
the LG PM225 or PM325, both Sprint phones. You might look at the code
and protocol definitions for these phones.

How do you connect your phone? With a data cable? Bluetooth? What
drivers do you use? I ask because while there are 3 Rumors in my
house, I can't borrow them very often, so don't want to waste time
trying to figure out how to connect.

Stephen
Post by Jack Miller
Hi all.
This isn't strictly Bitpim related (yet), but I'm attempting to reverse
engineer the format of the Sprint Rumor's contentInfo/executionInfo
databases. It's going very well for the most part and I have 90% of the file
figured out, but one thing I can't figure out is their string storage
techniques.
...
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Stephen Wood
2008-08-01 02:15:14 UTC
Permalink
Thanks for the pointer to the cable. I just ordered one.

I'll try out your code when the cable comes and check it in for others to try.

Stephen
Post by Joe Siegrist
There's a data cable for it
http://www.buy.com/retail/product.asp?sku=206616217&listingid=25137829&dcaid
=17902 , I sent a nearly complete (worked for me but otherwise untested)
auto-detection and contacts integration a month ago to the list, that just
needed the specification for what ringtone and if it's a cell/mobile/fax
done.
Joe
Don Lewis
2008-11-11 15:46:49 UTC
Permalink
Has there been any new progress made on this phone?

I'd like to be able to obtain the SMS, call history and PhoneBook if
possible.

I just tried one yesterday in 1.0.6 (WinXP) and noted the following
information.

When run as Other CDMA, it will download the file system. However, the
back up entire tree will not function from the root folder. Each node
below the root will back up using the backup entire tree selection, when
each node is selected individually.

I tried running it in each of the LG selections with both COM port
variations. Each failed although a couple appeared to be working prior
to failure.

Don L.

-----Original Message-----
From: bitpim-devel-***@lists.sourceforge.net
[mailto:bitpim-devel-***@lists.sourceforge.net] On Behalf Of Joe
Siegrist
Sent: Wednesday, July 30, 2008 8:49 PM
To: bitpim-***@lists.sourceforge.net
Subject: Re: [BitPim-devel] LG LX260 (Sprint Rumor) database format.

There's a data cable for it
http://www.buy.com/retail/product.asp?sku=206616217&listingid=25137829&d
caid
=17902 , I sent a nearly complete (worked for me but otherwise untested)
auto-detection and contacts integration a month ago to the list, that
just
needed the specification for what ringtone and if it's a cell/mobile/fax
done.

Joe

-----Original Message-----
From: bitpim-devel-***@lists.sourceforge.net
[mailto:bitpim-devel-***@lists.sourceforge.net] On Behalf Of Stephen
Wood
Sent: Wednesday, July 30, 2008 10:28 PM
To: bitpim-***@lists.sourceforge.net
Subject: Re: [BitPim-devel] LG LX260 (Sprint Rumor) database format.

The format of the contentInfo file might be similar to what is used on
the LG PM225 or PM325, both Sprint phones. You might look at the code
and protocol definitions for these phones.

How do you connect your phone? With a data cable? Bluetooth? What
drivers do you use? I ask because while there are 3 Rumors in my
house, I can't borrow them very often, so don't want to waste time
trying to figure out how to connect.

Stephen
Post by Jack Miller
Hi all.
This isn't strictly Bitpim related (yet), but I'm attempting to
reverse
Post by Jack Miller
engineer the format of the Sprint Rumor's contentInfo/executionInfo
databases. It's going very well for the most part and I have 90% of
the
file
Post by Jack Miller
figured out, but one thing I can't figure out is their string storage
techniques.
...
------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
BitPim-devel mailing list
BitPim-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitpim-devel


------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Loading...