Clayton Youmans | 1 Dec 2010 02:15
Picon

Error Syncing with Evolution Bad Packet Size

       msynctool --sync EvoBarry
Synchronizing group "EvoBarry" 
Member 1 of type evo2-sync had an error while connecting: Unable to open
anything
Member 2 of type barry-sync had an error while connecting: Password
rejected by device.
All clients have disconnected
The sync failed: Unable to connect one of the members
Error while synchronizing: Unable to connect one of the members
clayton-desktop:/home/kaao# msynctool --configure EvoBarry 2
clayton-desktop:/home/kaao#         msynctool --sync EvoBarry
Synchronizing group "EvoBarry" 
Member 1 of type evo2-sync had an error while connecting: Unable to open
anything
Bad packet size. Packet: 26. DataSize(): 26. Required size: 44
    00000000: 00 00 1a 00 09 ff 00 07 52 49 4d 20 44 65 73
6b  ........RIM Desk
    00000010: 74 6f 70 00 00 00 00 00 02 00
top.......

Member 2 of type barry-sync had an error while connecting: Bad packet
size. Packet: 26. DataSize(): 26. Required size: 44
All clients have disconnected
The sync failed: Unable to connect one of the members
Error while synchronizing: Unable to connect one of the members

Running Debian Lenny AMD64

Blackberry Curve 9300 / 3G

(Continue reading)

Chris Frey | 1 Dec 2010 04:30

Parsing backup files from command line

On Tue, Aug 24, 2010 at 02:23:59PM -0400, Chris Frey wrote:
> On Mon, Aug 23, 2010 at 03:02:48PM -0700, Richard Vickery wrote:
> > Hi gang:
> > 
> > Is it possible to get a program that opens the Backup? I drowned my
> > Blackberry and am looking to pick up a Nokia N900 Linux phone, and I
> > have my Blackberry files backed up.
> 
> That's a feature that I want too, but haven't had the time to code it.
> I need to port the tar backup code to the library, so I can share it with
> tools like btool.
> 
> The backup files are just tarballs, which you can expand if needed.
> But there is no easy way to feed that data into the parser code yet.
> 
> It's on my mental todo list.
> 
> - Chris

Hi list!

The above desired feature now exists, in the form of tools/btardump.cc
and the accompanying parser classes and builder classes which have been
added to Barry's git tree today.

The idea is that you can have multiple builders, which provide raw
binary record data from various sources, which can feed into parsers
which provide Record classes (Contact, Calendar, etc) that hold the
fields of usable data.  Alternately, parsers can just store the data
whatever format they need.
(Continue reading)

Ryan Li | 1 Dec 2010 05:53

Re: Parsing backup files from command line

Great job Chris! I will test it when I have time.

Ryan

On 12/1/10, Chris Frey <cdfrey@...> wrote:
> On Tue, Aug 24, 2010 at 02:23:59PM -0400, Chris Frey wrote:
>> On Mon, Aug 23, 2010 at 03:02:48PM -0700, Richard Vickery wrote:
>> > Hi gang:
>> >
>> > Is it possible to get a program that opens the Backup? I drowned my
>> > Blackberry and am looking to pick up a Nokia N900 Linux phone, and I
>> > have my Blackberry files backed up.
>>
>> That's a feature that I want too, but haven't had the time to code it.
>> I need to port the tar backup code to the library, so I can share it with
>> tools like btool.
>>
>> The backup files are just tarballs, which you can expand if needed.
>> But there is no easy way to feed that data into the parser code yet.
>>
>> It's on my mental todo list.
>>
>> - Chris
>
>
> Hi list!
>
> The above desired feature now exists, in the form of tools/btardump.cc
> and the accompanying parser classes and builder classes which have been
> added to Barry's git tree today.
(Continue reading)

Nicolas | 4 Dec 2010 17:20
Picon
Favicon

Re: Can barry handle firmware installation yet?

Le samedi 30 octobre 2010 à 15:41 -0400, Chris Frey a écrit :
> On Sat, Oct 30, 2010 at 09:20:09PM +0200, Nicolas wrote:
> > In my GIT repository, you can find an ALX parser.
> 
> Thanks!  I may not have time to get to it this weekend, but I'll
> take a look soon.
> 
> - Chris

You can find a new release ; now uses XML++ library.

Nevertheless, it adds a new dependance since opensync uses libxml2.

I can use libxml2... and write a little wrapper C/C++.

With a 4.7 OS :
$ balxparse -i fr -d ~/WINE/Program\ Files/Fichiers\ communs/Research\
In\ Motion/Shared/Loader\ Files/9500-v4.7.0.78_P4.0.0.98/

With a 6.0 OS :
$ balxparse -i fr -d ~/WINE/Program\ Files/Fichiers\ communs/Research\
In\ Motion/Shared/Loader\ Files/9800M_v6.0.0.246_P6.4.0.105

In attachment the log from OS 6.

Regards,

Nicolas

(Continue reading)

Chris Frey | 5 Dec 2010 01:01

Re: Can barry handle firmware installation yet?

On Sat, Dec 04, 2010 at 05:20:48PM +0100, Nicolas wrote:
> You can find a new release ; now uses XML++ library.

Thanks!

> Nevertheless, it adds a new dependance since opensync uses libxml2.
> 
> I can use libxml2... and write a little wrapper C/C++.

It's still on my todo list, to convert it to libxml2... I'm sure one of
us will get to it eventually. :-)  If you have time, it would be much
appreciated.  I want to convert it to libxml2 (or the C++ library based
on libxml2) before I merge it into the main tree.

Looking forward to taking a look at the new code though!

- Chris

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
Nicolas | 5 Dec 2010 15:03
Picon
Favicon

Re: Can barry handle firmware installation yet?

Le samedi 04 décembre 2010 à 19:01 -0500, Chris Frey a écrit :
> On Sat, Dec 04, 2010 at 05:20:48PM +0100, Nicolas wrote:
> > You can find a new release ; now uses XML++ library.
> 
> Thanks!
> 
> 
> > Nevertheless, it adds a new dependance since opensync uses libxml2.
> > 
> > I can use libxml2... and write a little wrapper C/C++.
> 
> It's still on my todo list, to convert it to libxml2... I'm sure one of
> us will get to it eventually. :-)  If you have time, it would be much
> appreciated.  I want to convert it to libxml2 (or the C++ library based
> on libxml2) before I merge it into the main tree.
> 
> Looking forward to taking a look at the new code though!

This new release uses libxml++ based on libxml2. So when you say "or the
C++ library based on libxml2", it's already the case.
But, OpenSync uses libxml2... so you have to add a new dependance.

Do you want that I use libxml2 (so in C) and write a mini wrapper
instead of libxml++ using ?

Regards,

Nicolas

------------------------------------------------------------------------------
(Continue reading)

Nicolas | 5 Dec 2010 15:45
Picon
Favicon

New Browser Bookmarks parser

Hi,

In my GIT repository :

http://repo.or.cz/w/barry/progweb.git/commit/96098f0a52ba098f3bf41eaa7b67fe75dc881445

a new browser bookmarks parser.

If we have time, we can add a browser folders parser ; then write the
builder. So we can sync our blackberry bookmars with the host.

We notice that the bookmark database has a specific format...

Bookmark entry: 0x4bd8ac2b (1)
   Name: Barry | Net Direct Inc.
   URL: http://netdirect.ca/software/packages/barry
   Icone:
http://netdirect.ca/sites/drupal.netdirect.ca/files/netdirect_favicon.ico
   Display mode: Automatique
   JavaScript mode: Automatique
   Browser Identity mode: Automatique

The 3 last fields (display, javascript and identity) aren't more used by
the OS 6.

Regards,

Nicolas

------------------------------------------------------------------------------
(Continue reading)

Ryan Li | 5 Dec 2010 16:35

Re: Parsing backup files from command line

Hi Chris,

I did some brief tests with my address book and call logs, and btardump
works very fine. Thanks!

However, with SMS Messages (which is my main concern), as btardump
doesn't support specifying character encoding like btool does, the
output is a mess and cannot be read by a text editor. The strings from
btardump itself (and btool without "-i UTF-8") are ASCII, while for SMS
containing international characters the encoding is UCS-2 which is
ASCII-incompatible.

Therefore I hope inside r_sms.cc the encoding of the message should be
converted to UTF-8 even if no IConverter parameter is passed. Most
modern *NIX systems are running on UTF-8 now, and it could also make
using the library easier since program output are expected to be UTF-8
with international characters.

Keep up the great work,
Ryan

On Tue, 2010-11-30 at 22:30 -0500, Chris Frey wrote:
> Hi list!
> 
> The above desired feature now exists, in the form of tools/btardump.cc
> and the accompanying parser classes and builder classes which have been
> added to Barry's git tree today.
> 
> The idea is that you can have multiple builders, which provide raw
> binary record data from various sources, which can feed into parsers
(Continue reading)

Nicolas | 5 Dec 2010 17:37
Picon
Favicon

Re: Parsing backup files from command line

Hi Chris,

It's a great feature !

Congratulations for this feature and also the pipe feature !

You can find a little improvement of btardump in my repository

http://repo.or.cz/w/barry/progweb.git

As Ryan, there is a little issue with the charset encoding.

Regards,

Nicolas

Le mardi 30 novembre 2010 à 22:30 -0500, Chris Frey a écrit :
> On Tue, Aug 24, 2010 at 02:23:59PM -0400, Chris Frey wrote:
> > On Mon, Aug 23, 2010 at 03:02:48PM -0700, Richard Vickery wrote:
> > > Hi gang:
> > > 
> > > Is it possible to get a program that opens the Backup? I drowned my
> > > Blackberry and am looking to pick up a Nokia N900 Linux phone, and I
> > > have my Blackberry files backed up.
> > 
> > That's a feature that I want too, but haven't had the time to code it.
> > I need to port the tar backup code to the library, so I can share it with
> > tools like btool.
> > 
> > The backup files are just tarballs, which you can expand if needed.
(Continue reading)

Nicolas | 5 Dec 2010 17:58
Picon
Favicon

Barry & OS 6

Hi list !

I have a BlackBerry torch for few days.

So, I have quickly tested some barry features :

+ bidentify : OK

+ bjavaloader :
- dir : not work
- deviceinfo : not work
- load : OK
- save : OK
- wipe : not tested
- resettofactory : not tested
- erase : work
- eventlog : work
- cleareventlog : work
- logstacktraces : work
- screenshot : work
- settime : not tested

+ bjdwp : not work

+ brawchannel : not tested

+ breset : OK

+ btool : OK

(Continue reading)


Gmane