BlackBerryForums.com : Your Number One BlackBerry Community      

»Sponsored Links




Reply
 
LinkBack Thread Tools
  (#1 (permalink)) Old
brandon1879 Offline
New Member
 
Posts: 2
Join Date: Jan 2008
Model: 8300
PIN: N/A
Carrier: AT&T
Default ipddump - an open-source IPD extractor - 01-22-2008, 11:15 PM

A while ago I was trying to find a good way to extract my SMS messages from my blackberry. I found SMS-borer, but it has some limitations. So I started an open-source library. It's written in Java, so it's platform-independent. I thought I'd post it here to help out anyone that doesn't want to pay for proprietary programs.

The ipddump project page is hosted on Google code.
   
Reply With Quote
Sponsored Links
Please Login or Register to Remove these Advertisements!

  (#2 (permalink)) Old
JSanders Offline
BBF Moderator & BBFAQ Contributer
 
JSanders's Avatar
 
Posts: 31,445
Join Date: Oct 2004
Location: North of the moss line
Model: 9000
OS: 4.6sumtin
PIN: t low
Carrier: TMobile & Cingular
Default 01-22-2008, 11:20 PM

Brandon, many thanks for sharing!

Can you only restrieve SMS? What about contacts, calendar, etc?
   
Reply With Quote
  (#3 (permalink)) Old
as.forum Offline
New Member
 
Posts: 1
Join Date: Feb 2008
Model: 7100T
PIN: N/A
Carrier: T-Mobile
Default 02-25-2008, 01:25 AM

How do I run it? Lets say I have the following file:

C:\TEST\BB.IPD

How & where should I place the JAR, what do I need to do to run it? Install JRE? What version?

What should the commandline path be?
   
Reply With Quote
  (#4 (permalink)) Old
Sci-Tek Offline
Talking BlackBerry Encyclopedia
 
Sci-Tek's Avatar
 
Posts: 354
Join Date: Jan 2008
Location: Norway
Model: 8100
PIN: 205D0A74
Carrier: Trigcom
Default 02-25-2008, 01:58 AM

oo, very interresting, I'm looking for something that allows me to edit IPD files and export them back, for example I want to create a lot of autotxt and upload them to the phone..


Cheers,

Sci-Tek

Only dead fish follow the stream
   
Reply With Quote
  (#5 (permalink)) Old
JSanders Offline
BBF Moderator & BBFAQ Contributer
 
JSanders's Avatar
 
Posts: 31,445
Join Date: Oct 2004
Location: North of the moss line
Model: 9000
OS: 4.6sumtin
PIN: t low
Carrier: TMobile & Cingular
Default 02-25-2008, 07:51 AM

Yea, it is. I need to put this file over in the FAQ also.
   
Reply With Quote
  (#6 (permalink)) Old
BBChristopher Offline
CrackBerry Addict
 
BBChristopher's Avatar
 
Posts: 640
Join Date: Jul 2006
Location: Dutchess County, NY
Model: 8310
OS: 4.5.0.81
PIN: 248EABD2
Carrier: AT&T
Default 03-28-2008, 02:55 PM

how do you use it?


PIN: 248EABD3 (8310)
East Coast Shoutin!!!!!!
"Imagine the Possibilities" Rollin' the S4
850, 950, 957, 7100, 7130, 8100, 8800, 8310
   
Reply With Quote
  (#7 (permalink)) Old
rivviepop Offline
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Posts: 2,166
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Default 03-28-2008, 03:12 PM

For those asking how you use it.... "use the source, Luke".

http://ipddump.googlecode.com/svn/tr...dump/Main.java

Code:
System.out.println( "Usage: java -jar ipdump.jar <path to ipd>" );
System.out.println( "  Dumps a csv to stdout." );
Download the jarball to your PC, install java (JRE should work and of course the JDK will work fine). Drop to a commandline prompt and run the tool as indicated above.
   
Reply With Quote
  (#8 (permalink)) Old
rivviepop Offline
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Posts: 2,166
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Default 03-28-2008, 03:25 PM

Works great - example step by step:

1) plug in BB to PC, use the Backup too and click "Advanced"; select "SMS Messages" only on the right, it moves to the left. Close that window and you will be prompted to save.

2) rename saved file as "Backup-SMS.ipd" to make things easier

3) install the Java JRE/JDK if necessary

4) download the above listed .jar file, save it in the same folder as the backup file from step #1/#2

5) drop to a cmd.exe prompt (shell if linux, Terminal if MacOSX) and change to that folder

6) run the tool in one of two ways; the first spits the output to screen, the second saves it to a file:

java -jar ipddump-0.1.0.jar Backup-SMS.ipd
java -jar ipddump-0.1.0.jar Backup-SMS.ipd > sms_messages.csv

You can open the CSV file in any text editor, import to Excel, etc. as usual. Here is an example line from one of my SMS's from a friend telling me which train they were on (sending phone number XXX'd out):

Tue Mar 25 13:24:32 PDT 2008,Tue Mar 25 20:24:29 PDT 2008,false,XXXXXXXXXXX,"On J at market and church"

Last edited by rivviepop : 03-28-2008 at 03:26 PM. Reason: oops edit phone number
   
Reply With Quote
  (#9 (permalink)) Old
monkeypaw Offline
CrackBerry Addict
 
Posts: 720
Join Date: Oct 2007
Location: Los Angeles
Model: 8320
OS: 4.5.0.69
PIN: N/A
Carrier: Tmobile
Default 03-29-2008, 07:51 PM

Well this kinda works. Haven't tried all my files, but for some older ones it works just fine but for more recent ones it gives an error. Basically the 2007 ones that I've tried read just fine, but the 2008 ones give an error. Not sure at which date it starts giving problems, but I'm kind wondering if those are good backups now.

I'm gonna sync up and then try a wipe and restore.

But thanks for the instructions. Once in a while I need to pull text messages off and store them.
   
Reply With Quote
  (#10 (permalink)) Old
JSanders Offline
BBF Moderator & BBFAQ Contributer
 
JSanders's Avatar
 
Posts: 31,445
Join Date: Oct 2004
Location: North of the moss line
Model: 9000
OS: 4.6sumtin
PIN: t low
Carrier: TMobile & Cingular
Default 05-29-2008, 04:21 PM

Bump, to make this EZ to find.
   
Reply With Quote
  (#11 (permalink)) Old
ezrunner Offline
BlackBerry Mensa
 
ezrunner's Avatar
 
Posts: 9,998
Join Date: Mar 2006
Location: Virginia Beach
Model: 8800
OS: DOS 3.1
PIN: INK STICK
Carrier: GTE
Default 05-29-2008, 04:24 PM

hahahha Clever JS

Thanks

customer thanks as well


8800,8100
Semper Fi
"I am not only Chad I am a Google Search Bot" TroyDBrown
   
Reply With Quote
  (#12 (permalink)) Old
Rosso69 Offline
New Member
 
Posts: 3
Join Date: Jun 2008
Model: 8830
PIN: N/A
Carrier: blackbeery
Default Problems with running jar file - 06-05-2008, 07:09 AM

Does anyone has the same problems?

I try to run "java -jar ipddump-0.1.0.jar 1.ipd"

Then i get this output
:

Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 257, Size: 79
at java.util.LinkedList.entry(LinkedList.java:382)
at java.util.LinkedList.get(LinkedList.java:332)
at org.quaternions.ipddump.data.Database.createRecord (Database.java:85)
at org.quaternions.ipddump.Main.parse(Main.java:177)
at org.quaternions.ipddump.Main.main(Main.java:36)


Thnx so far...
   
Reply With Quote
  (#13 (permalink)) Old
rivviepop Offline
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Posts: 2,166
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Default 06-05-2008, 12:52 PM

Quote:
Originally Posted by Rosso69 View Post
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 257, Size: 79
at java.util.LinkedList.entry(LinkedList.java:382)
at java.util.LinkedList.get(LinkedList.java:332)
at org.quaternions.ipddump.data.Database.createRecord (Database.java:85)
at org.quaternions.ipddump.Main.parse(Main.java:177)
at org.quaternions.ipddump.Main.main(Main.java:36)
I'm not, but I see you're using an 8830 - the first thing I would make sure is that you're not using a newer version of IPD files than the program expects. IPDump wants a version 2 (0x02); check your 8830 IPD file by doing this:

- Download this freeware hex editor to your PC and unzip:
http://www.chmaas.handshake.de/delph...vi32/xvi32.htm

- Run xvi32, and open your IPD file

- Look at position 26 - is the value in the square '02'? (the value in position 25, right before it, should be a '0A' - just to make sure you're in the right spot)

You can get more nerdy if you want by checking your IPD file from the 8830 against the other values that he's expecting; here's his newest java source file with comments in it:

http://code.google.com/p/ipddump/sou...IPDParser.java

(look at line 164 or so, that's where it starts)

hope this helps some...
   
Reply With Quote
  (#14 (permalink)) Old
Rosso69 Offline
New Member
 
Posts: 3
Join Date: Jun 2008
Model: 8830
PIN: N/A
Carrier: blackbeery
Default 06-05-2008, 02:55 PM

Quote:
Originally Posted by rivviepop View Post
I'm not, but I see you're using an 8830 - the first thing I would make sure is that you're not using a newer version of IPD files than the program expects. IPDump wants a version 2 (0x02); check your 8830 IPD file by doing this:

- Download this freeware hex editor to your PC and unzip:
Freeware Hex Editor XVI32

- Run xvi32, and open your IPD file

- Look at position 26 - is the value in the square '02'? (the value in position 25, right before it, should be a '0A' - just to make sure you're in the right spot)

You can get more nerdy if you want by checking your IPD file from the 8830 against the other values that he's expecting; here's his newest java source file with comments in it:

http://code.google.com/p/ipddump/sou...IPDParser.java

(look at line 164 or so, that's where it starts)

hope this helps some...
Thnx for the quick reply.
I had the right version (02) but not the latest java. I used the jar file. I found on google.
Now i have the right java and i get compile errors. I am not a great java programmer. So i have to study.
Just javac Main.java was not enough. So i am going to try some things today. And maybe come back later.

Thnx again
   
Reply With Quote
  (#15 (permalink)) Old
Rosso69 Offline
New Member
 
Posts: 3
Join Date: Jun 2008
Model: 8830
PIN: N/A
Carrier: blackbeery
Default 0x02 - 06-12-2008, 08:10 PM

I have the right version.

When i use the sample data the app works. Still it doesn't work with the backup file.
   
Reply With Quote
  (#16 (permalink)) Old
watsons Offline
Knows Where the Search Button Is
 
Posts: 19
Join Date: Mar 2008
Location: Hong Kong
Model: 8707G
PIN: N/A
Carrier: 3 Hong Kong
Default 07-01-2008, 08:14 AM

It works perfectly for me. For the backup file, it should just contain the sms backup.
   
Reply With Quote
  (#17 (permalink)) Old
Capn Offline
New Member
 
Posts: 1
Join Date: Nov 2008
Model: 8320
PIN: N/A
Carrier: T-Mobile
Default 11-07-2008, 01:55 PM

Thank you VERY much for this. Very cool.
   
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On






Copyright © 2004-2008 BlackBerryNews.com, BlackBerryFAQ.com, BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of Research In Motion Limited.
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.1