Discussion:
[BitPim-devel] Prelim LG-VX5300 patches
Steve Brown
2006-10-17 20:12:22 UTC
Permalink
Hi folks --

I've been tinkering on the trunk with support for the VX5300, based on
a tutorial at http://fob.po8.org/node/254 . The phone architecture is
almost identical to the 8100 / 8300 series, just a few trivial changes
and I have a nice, clean interface to this phone. Mainly I have
removed features that Verizon broke in their software. The thing is
a great cheapie bluetooth phone, now I just wish BitPim had a clean
interface to the OS Bluetooth layer. Also, it may be worth having the
5300 show up in the menu just for new users who plug in their phone:
"OMG I can't find it on the list MY PHONE IS TEH BRICKED!"

The vx5300-init.patch should be applied against __init__.py, the other
two files go in /src/phones/ and then run protogen. If you are
familiar with the codebase then I hope you can get this to work
easily.

Please let me know if anyone has success with this. Hope I've helped
someone. I will continue work on this if youze'all can send me bugs.
Cheers,

Steve Brown
Michael C.
2006-10-18 00:22:30 UTC
Permalink
Steve,

Just so you know, the VX8300 is not finished yet. A former BitPim
"hacker", Simon, and I were working on it a few months ago. I've got
the calendar issues resolved and checked in, and will be working on the
phonebook part. The phonebook does not do ringtone or wallpaper
assignments correctly right now; I hope to have this fixed by end of
year, as time permits.

Michael C.
Post by Steve Brown
Hi folks --
I've been tinkering on the trunk with support for the VX5300, based on
a tutorial at http://fob.po8.org/node/254 . The phone architecture is
almost identical to the 8100 / 8300 series, just a few trivial changes
and I have a nice, clean interface to this phone. Mainly I have
removed features that Verizon broke in their software. The thing is
a great cheapie bluetooth phone, now I just wish BitPim had a clean
interface to the OS Bluetooth layer. Also, it may be worth having the
"OMG I can't find it on the list MY PHONE IS TEH BRICKED!"
The vx5300-init.patch should be applied against __init__.py, the other
two files go in /src/phones/ and then run protogen. If you are
familiar with the codebase then I hope you can get this to work
easily.
Please let me know if anyone has success with this. Hope I've helped
someone. I will continue work on this if youze'all can send me bugs.
Cheers,
Steve Brown
------------------------------------------------------------------------
Logan Graves
2006-12-28 03:40:17 UTC
Permalink
Has this "5300 Patch" found its way into the latest build? I now have
access to a couple of these phones, along with an VX8300.

I updated to the most recent BitPim release (0.9.09), but it couldn't
detect either one of the VX5300's & this model still didn't show up in
the Big List o' Phones.


I tried accessing the phones using the 8300 profile with some success:
the contacts & sounds seem to have transferred fine, but I think this
model uses a slightly different scheme for its Pix database (which you
probably already knew...)

The added Pix failed to show up in the phone once it was disconnected
from the PC, even though BitPim showed them being slowly transferred to
the phone. This resulted in database corruption to the existing images,
during renaming operations (renamed image displayed 'Pix not Found'
graphics).

Rebooting the phone rebuilt the database index & restored the original
image names, but the added ones were still absent. Subsequent renames
worked correctly.

Thanks,

-Logan
Post by Steve Brown
Hi folks --
I've been tinkering on the trunk with support for the VX5300, based on
a tutorial at http://fob.po8.org/node/254 . The phone architecture is
almost identical to the 8100 / 8300 series, just a few trivial changes
and I have a nice, clean interface to this phone. Mainly I have
removed features that Verizon broke in their software. The thing is
a great cheapie bluetooth phone, now I just wish BitPim had a clean
interface to the OS Bluetooth layer. Also, it may be worth having the
"OMG I can't find it on the list MY PHONE IS TEH BRICKED!"
The vx5300-init.patch should be applied against __init__.py, the other
two files go in /src/phones/ and then run protogen. If you are
familiar with the codebase then I hope you can get this to work
easily.
Please let me know if anyone has success with this. Hope I've helped
someone. I will continue work on this if youze'all can send me bugs.
Michael C.
2006-12-28 05:21:35 UTC
Permalink
Logan,

I cannot speak for the 5300, but I have done some of the development of
the VX8300, with a lot of help from a former guru, Simon. I know that
the code is not 100% correct, but I am not familiar with any issues with
uploading wallpaper images to the phone; in fact, it works 100% for me.
I do know that the code as written right now does not support direct
downloading/uploading directly from/to the micro SD card. Are you
saying there is a problem with the VX8300 and images, or using the
VX8300 code with a VX5300, there is a problem?

Due to family issues that I have to deal with, and a whole list of other
problems I have had to face these past couple of months, I will be
unable to look at finishing the VX8300 code before the beginning of
February. The only outstanding issue with the VX8300 is getting the
wallpaper assignment to phone number working correctly.

Regards,
Michael C.
Post by Logan Graves
Has this "5300 Patch" found its way into the latest build? I now have
access to a couple of these phones, along with an VX8300.
I updated to the most recent BitPim release (0.9.09), but it couldn't
detect either one of the VX5300's & this model still didn't show up in
the Big List o' Phones.
the contacts & sounds seem to have transferred fine, but I think this
model uses a slightly different scheme for its Pix database (which you
probably already knew...)
The added Pix failed to show up in the phone once it was disconnected
from the PC, even though BitPim showed them being slowly transferred to
the phone. This resulted in database corruption to the existing images,
during renaming operations (renamed image displayed 'Pix not Found'
graphics).
Rebooting the phone rebuilt the database index & restored the original
image names, but the added ones were still absent. Subsequent renames
worked correctly.
Thanks,
-Logan
Post by Steve Brown
Hi folks --
I've been tinkering on the trunk with support for the VX5300, based on
a tutorial at http://fob.po8.org/node/254 . The phone architecture is
almost identical to the 8100 / 8300 series, just a few trivial changes
and I have a nice, clean interface to this phone. Mainly I have
removed features that Verizon broke in their software. The thing is
a great cheapie bluetooth phone, now I just wish BitPim had a clean
interface to the OS Bluetooth layer. Also, it may be worth having the
"OMG I can't find it on the list MY PHONE IS TEH BRICKED!"
The vx5300-init.patch should be applied against __init__.py, the other
two files go in /src/phones/ and then run protogen. If you are
familiar with the codebase then I hope you can get this to work
easily.
Please let me know if anyone has success with this. Hope I've helped
someone. I will continue work on this if youze'all can send me bugs.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BitPim-devel mailing list
https://lists.sourceforge.net/lists/listinfo/bitpim-devel
b***@po8.org
2006-12-30 02:18:45 UTC
Permalink
Steve Brown: Thanks much for forwarding this on!

I grant the BitPim project and its developers full rights to
use my LG VX5300 BitPim code as they see fit.

The only reason I hadn't forwarded my hack myself is that I
am embarassed about how lame it was---I basically just
substituted 5300 for 8300 in all the strings in the source,
and it seems to work well enough. At the very least,
someone should play some games with classes and members to
avoid the code duplication.

Biggest bug I've noticed is that BitPim hangs during the
download of large numbers of "wallpapers": have to download
and delete some individually before I can batch-download the
rest. No idea whether 8300 users see the same thing, but it
sounds like not.

I'm eager to see 5300 support done properly in some future
release of BitPim---let me know how I can help!

Bart Massey
Post by Michael C.
Logan,
I cannot speak for the 5300, but I have done some of the development of
the VX8300, with a lot of help from a former guru, Simon. I know that
the code is not 100% correct, but I am not familiar with any issues with
uploading wallpaper images to the phone; in fact, it works 100% for me.
I do know that the code as written right now does not support direct
downloading/uploading directly from/to the micro SD card. Are you
saying there is a problem with the VX8300 and images, or using the
VX8300 code with a VX5300, there is a problem?
Due to family issues that I have to deal with, and a whole list of other
problems I have had to face these past couple of months, I will be
unable to look at finishing the VX8300 code before the beginning of
February. The only outstanding issue with the VX8300 is getting the
wallpaper assignment to phone number working correctly.
Regards,
Michael C.
Post by Logan Graves
Has this "5300 Patch" found its way into the latest build? I now have
access to a couple of these phones, along with an VX8300.
I updated to the most recent BitPim release (0.9.09), but it couldn't
detect either one of the VX5300's & this model still didn't show up in
the Big List o' Phones.
the contacts & sounds seem to have transferred fine, but I think this
model uses a slightly different scheme for its Pix database (which you
probably already knew...)
The added Pix failed to show up in the phone once it was disconnected
from the PC, even though BitPim showed them being slowly transferred to
the phone. This resulted in database corruption to the existing images,
during renaming operations (renamed image displayed 'Pix not Found'
graphics).
Rebooting the phone rebuilt the database index & restored the original
image names, but the added ones were still absent. Subsequent renames
worked correctly.
Thanks,
-Logan
Post by Steve Brown
Hi folks --
I've been tinkering on the trunk with support for the VX5300, based on
a tutorial at http://fob.po8.org/node/254 . The phone architecture is
almost identical to the 8100 / 8300 series, just a few trivial changes
and I have a nice, clean interface to this phone. Mainly I have
removed features that Verizon broke in their software. The thing is
a great cheapie bluetooth phone, now I just wish BitPim had a clean
interface to the OS Bluetooth layer. Also, it may be worth having the
"OMG I can't find it on the list MY PHONE IS TEH BRICKED!"
The vx5300-init.patch should be applied against __init__.py, the other
two files go in /src/phones/ and then run protogen. If you are
familiar with the codebase then I hope you can get this to work
easily.
Please let me know if anyone has success with this. Hope I've helped
someone. I will continue work on this if youze'all can send me bugs.
Logan Graves
2006-12-30 04:10:29 UTC
Permalink
Hello,

Thank you all for responding so promptly. I really didn't mean for this
to turn into a "please help me find my phone" -post. Just trying to
uncover any bugs, before code integration... *sigh*


Some answers:
I don't have an SD card in this 8300 & I don't think the 5300's are
equipped to use them.

I encountered the Wallpaper problem on a vx5300 phone, which was
manually set to use the 8300 code. I was attempting to "Send Data To
Phone" to "Add" several wallpaper images to its existing ones.

When I first grabbed the new wallpapers into BitPim from my harddrive,
the program forced me to resize them. Could this have been a factor?
It's not something I'd encountered before. (I now know how to bypass
that "feature," btw...)

It's also possible that my troubles were due to user error. See below.


Below:
I had a chance to exercise the VX8300 code today. One thing I noticed
was that sometimes BitPim didn't do what I wanted it to on the first try.

For example, when I first pulled data from the phone, the sizes on about
half of the existing ringers showed "0 Kb" and I had to "Get Data" a
second time for them to appear correctly. (Data cable problem?)

Another example: when I tried to "Add" several new ringtones onto the
phone at once, BitPim only uploaded *one* of them, and then indicated
that it was finished. Since I was familiar with USB upload times, it
was obvious that something was off and I had to "Send Data To Phone" a
second time for all of the new ringers to transfer correctly.

This is where 'user error' may have come into play. When I checked the
ringtone pane in BitPim, that single ringer from the first attempt was
still highlit. However, I didn't expect the program to restrict the
Send Data/Add operation to the selected file(s) only.

The reason I bring this up is that my earlier troubles with Wallpapers
may have been due to similar problems--the program not responding as
expected. Guess I need to Re-read The Fine Manual...

And since the 5300's here, happen to belong to family members and
they're not exactly rushing up to the "brick my phone, please" -queue, I
don't really have a chance to experimentally recreate that error's
conditions.

So, I'm going to have to restrict testing to the single 8300. At least
there were no database corruption errors, this time. (Previously, I had
a VX7000, which transferred everything flawlessly thru BitPim with an
older vx6000 cable. I'm using that same cable with these newer phones,
if that makes a difference?)


Thanks again,

--Logan
Post by Michael C.
Logan,
I cannot speak for the 5300, but I have done some of the development of
the VX8300, with a lot of help from a former guru, Simon. I know that
the code is not 100% correct, but I am not familiar with any issues with
uploading wallpaper images to the phone; in fact, it works 100% for me.
I do know that the code as written right now does not support direct
downloading/uploading directly from/to the micro SD card. Are you
saying there is a problem with the VX8300 and images, or using the
VX8300 code with a VX5300, there is a problem?
Due to family issues that I have to deal with, and a whole list of other
problems I have had to face these past couple of months, I will be
unable to look at finishing the VX8300 code before the beginning of
February. The only outstanding issue with the VX8300 is getting the
wallpaper assignment to phone number working correctly.
Regards,
Michael C.
Post by Logan Graves
Has this "5300 Patch" found its way into the latest build? I now have
access to a couple of these phones, along with an VX8300.
I updated to the most recent BitPim release (0.9.09), but it couldn't
detect either one of the VX5300's & this model still didn't show up in
the Big List o' Phones.
the contacts & sounds seem to have transferred fine, but I think this
model uses a slightly different scheme for its Pix database (which you
probably already knew...)
The added Pix failed to show up in the phone once it was disconnected
from the PC, even though BitPim showed them being slowly transferred to
the phone. This resulted in database corruption to the existing images,
during renaming operations (renamed image displayed 'Pix not Found'
graphics).
Rebooting the phone rebuilt the database index & restored the original
image names, but the added ones were still absent. Subsequent renames
worked correctly.
Thanks,
-Logan
Post by Steve Brown
Hi folks --
I've been tinkering on the trunk with support for the VX5300, based on
a tutorial at http://fob.po8.org/node/254 . The phone architecture is
almost identical to the 8100 / 8300 series, just a few trivial changes
and I have a nice, clean interface to this phone. Mainly I have
removed features that Verizon broke in their software. The thing is
a great cheapie bluetooth phone, now I just wish BitPim had a clean
interface to the OS Bluetooth layer. Also, it may be worth having the
"OMG I can't find it on the list MY PHONE IS TEH BRICKED!"
The vx5300-init.patch should be applied against __init__.py, the other
two files go in /src/phones/ and then run protogen. If you are
familiar with the codebase then I hope you can get this to work
easily.
Please let me know if anyone has success with this. Hope I've helped
someone. I will continue work on this if youze'all can send me bugs.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BitPim-devel mailing list
https://lists.sourceforge.net/lists/listinfo/bitpim-devel
Sean Burke
2006-12-28 12:33:20 UTC
Permalink
Logan,
The VX5300 patch worked for me on the most recent developer build (OS X
version). I have the option of selecting "VX5300" in the setup page and
files transfer normally. Are you using a USB cable or the Bluetooth
connection?
I have repeatedly tried to contact the author of the patch ("Bart"?) but
to no avail. Until I (or you, or some other altruistic hacker) can get
through to him, we will not have the authority to put the patch in the
distribution.

Michael,
Sorry to hear about your family problems. I have not used the 8300
profile, but by the patch author's own admission most of the 5300
profile is a find and replace (s/8300/5300). To echo Steve's request,
(and then my own "didn't read the archive" post) it might be very
helpful to have a user selection option for the VX 5300 that simple
points to the 8300 profile.


Best,

Sean
Post by Logan Graves
Has this "5300 Patch" found its way into the latest build? I now have
access to a couple of these phones, along with an VX8300.
I updated to the most recent BitPim release (0.9.09), but it couldn't
detect either one of the VX5300's & this model still didn't show up in
the Big List o' Phones.
the contacts & sounds seem to have transferred fine, but I think this
model uses a slightly different scheme for its Pix database (which you
probably already knew...)
The added Pix failed to show up in the phone once it was disconnected
from the PC, even though BitPim showed them being slowly transferred to
the phone. This resulted in database corruption to the existing images,
during renaming operations (renamed image displayed 'Pix not Found'
graphics).
Rebooting the phone rebuilt the database index & restored the original
image names, but the added ones were still absent. Subsequent renames
worked correctly.
Thanks,
-Logan
Post by Steve Brown
Hi folks --
I've been tinkering on the trunk with support for the VX5300, based on
a tutorial at http://fob.po8.org/node/254 . The phone architecture is
almost identical to the 8100 / 8300 series, just a few trivial changes
and I have a nice, clean interface to this phone. Mainly I have
removed features that Verizon broke in their software. The thing is
a great cheapie bluetooth phone, now I just wish BitPim had a clean
interface to the OS Bluetooth layer. Also, it may be worth having the
"OMG I can't find it on the list MY PHONE IS TEH BRICKED!"
The vx5300-init.patch should be applied against __init__.py, the other
two files go in /src/phones/ and then run protogen. If you are
familiar with the codebase then I hope you can get this to work
easily.
Please let me know if anyone has success with this. Hope I've helped
someone. I will continue work on this if youze'all can send me bugs.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BitPim-devel mailing list
https://lists.sourceforge.net/lists/listinfo/bitpim-devel
--
Sean Patrick Burke
Imaging Analysis Specialist
Albert Einstein College of Medicine
Yeshiva University
Bart Massey
2006-12-30 02:21:16 UTC
Permalink
Post by Sean Burke
I have repeatedly tried to contact the author of the patch ("Bart"?) but
to no avail. Until I (or you, or some other altruistic hacker) can get
through to him, we will not have the authority to put the patch in the
distribution.
My apologies. Some travel and the Holidays massively
intervened. As I said in my previous email, you have my
complete approval to put any BitPim-related code I've ever
written into the distribution; please do with this code as
you will, and let me know if you need some more formal
document.

Bart Massey
***@po8.org
Roger Binns
2006-12-30 03:25:22 UTC
Permalink
Post by Bart Massey
As I said in my previous email, you have my
complete approval to put any BitPim-related code I've ever
written into the distribution; please do with this code as
you will, and let me know if you need some more formal
document.
The easiest thing to do is supply all your files as a zip/tar.gz and
copy the header from one of the existing files. That header will
include your copyright as well as placing the code under the GPL(*).

Alternatively you'll have to assign the copyright to us, but that is
more work. Note your statement above is more restrictive than the GPL
since it restricts the code to being placed into BitPim only.
(Obviously you didn't intend this, but doing what it says in the first
paragraph makes everything clear and legal).

(*) We use a very slightly modified GPL for BitPim. The GPL allows
linking to standard system libraries that aren't "free". At one point
we tried to use SSL for BitFling, which requires linking to the non-free
OpenSSL libraries. The OpenSSL libraries are shipped with the OS on
Linux and Mac and hence there is no problem there. However OpenSSL is
not a standard Windows library. Consequently the BitPim GPL has a
relaxation allowing linking to OpenSSL. SSH is now used (paramiko) but
should we ever need OpenSSL again, that provision is nice. In any case
removing the provision would require the copyright holder of every
single line of code to agree which is unlikely just from a logistics
point of view.

Roger
Bart Massey
2006-12-30 03:49:23 UTC
Permalink
I've attached a copy of my patching shell script released
under the BitPim license. Hopefully that solves the
problem.

Thanks much for BitPim. It is a really nice tool.

Bart Massey
Post by Roger Binns
Post by Bart Massey
As I said in my previous email, you have my
complete approval to put any BitPim-related code I've ever
written into the distribution; please do with this code as
you will, and let me know if you need some more formal
document.
The easiest thing to do is supply all your files as a zip/tar.gz and
copy the header from one of the existing files. That header will
include your copyright as well as placing the code under the GPL(*).
Alternatively you'll have to assign the copyright to us, but that is
more work. Note your statement above is more restrictive than the GPL
since it restricts the code to being placed into BitPim only.
(Obviously you didn't intend this, but doing what it says in the first
paragraph makes everything clear and legal).
(*) We use a very slightly modified GPL for BitPim. The GPL allows
linking to standard system libraries that aren't "free". At one point
we tried to use SSL for BitFling, which requires linking to the non-free
OpenSSL libraries. The OpenSSL libraries are shipped with the OS on
Linux and Mac and hence there is no problem there. However OpenSSL is
not a standard Windows library. Consequently the BitPim GPL has a
relaxation allowing linking to OpenSSL. SSH is now used (paramiko) but
should we ever need OpenSSL again, that provision is nice. In any case
removing the provision would require the copyright holder of every
single line of code to agree which is unlikely just from a logistics
point of view.
Roger
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BitPim-devel mailing list
https://lists.sourceforge.net/lists/listinfo/bitpim-devel
Logan Graves
2007-01-13 23:36:22 UTC
Permalink
Hello,

Pretending for a moment that I'm completely unfamiliar with the whole
PitBim patching process...

Will this patch need to be re-applied to each new BitPim release (that
is, until it becomes incorporated into the main trunk)?

Or will the added bits remain resident in each new version (assuming no
Major architectural changes in BitPim)?

Thanks,

-Logan
Post by Steve Brown
Hi folks --
I've been tinkering on the trunk with support for the VX5300, based on
a tutorial at http://fob.po8.org/node/254 . The phone architecture is
almost identical to the 8100 / 8300 series, just a few trivial changes
and I have a nice, clean interface to this phone. Mainly I have
removed features that Verizon broke in their software. The thing is
a great cheapie bluetooth phone, now I just wish BitPim had a clean
interface to the OS Bluetooth layer. Also, it may be worth having the
"OMG I can't find it on the list MY PHONE IS TEH BRICKED!"
The vx5300-init.patch should be applied against __init__.py, the other
two files go in /src/phones/ and then run protogen. If you are
familiar with the codebase then I hope you can get this to work
easily.
Please let me know if anyone has success with this. Hope I've helped
someone. I will continue work on this if youze'all can send me bugs.
Joe Pham
2007-01-15 20:43:28 UTC
Permalink
Post by Logan Graves
Will this patch need to be re-applied to each new BitPim release
(that is, until it becomes incorporated into the main trunk)?
The author had released the patch under the BitPim License, so it can
now be applied to the main trunk. However, I need someone to write
up some doc about it: what works, what doesn't work, any special
notes wrt to its features (so users know what they're getting into)

-Joe Pham



_____________________________________________________________________
FREE Reminder Service - NEW from AmericanGreetings.com
Click HERE and never forget a Birthday or Anniversary again!
http://track.netzero.net/s/lc?s=197335&u=http://www.americangreetings.com/products/online_calendar.pd?c=uol5752
Logan Graves
2007-01-15 21:36:19 UTC
Permalink
Post by Joe Pham
Post by Logan Graves
Will this patch need to be re-applied to each new BitPim release
(that is, until it becomes incorporated into the main trunk)?
The author had released the patch under the BitPim License, so it can
now be applied to the main trunk. However, I need someone to write
up some doc about it: what works, what doesn't work, any special
notes wrt to its features (so users know what they're getting into)
Ah, great. In that case, I'll wait for future BitPim builds.

For now, setting the program to vx8300 works for pulling images off of a
vx5300 phone.

-Logan
Joe Pham
2007-01-15 22:29:26 UTC
Permalink
Post by Logan Graves
I'll wait for future BitPim builds.
When the accompanying doc is also available.

-Joe Pham




_____________________________________________________________________
FREE Reminder Service - NEW from AmericanGreetings.com
Click HERE and never forget a Birthday or Anniversary again!
http://track.netzero.net/s/lc?s=197335&u=http://www.americangreetings.com/products/online_calendar.pd?c=uol5752
Loading...