BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 01-22-2008, 10:15 PM   #1 (permalink)
New Member
 
Join Date: Jan 2008
Model: 8300
PIN: N/A
Carrier: AT&T
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default ipddump - an open-source IPD extractor

Please Login to Remove!

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.
Offline  
Old 01-22-2008, 10:20 PM   #2 (permalink)
Crimson Tide Moderator
 
JSanders's Avatar
 
Join Date: Oct 2004
Location: North of the moss line
Model: 9xx0
OS: 7.0sumtin
PIN: t low
Carrier: Verizon
Posts: 41,907
Post Thanks: 60
Thanked 244 Times in 182 Posts
Default

Brandon, many thanks for sharing!

Can you only restrieve SMS? What about contacts, calendar, etc?
Offline  
Old 02-25-2008, 12:25 AM   #3 (permalink)
New Member
 
Join Date: Feb 2008
Model: 7100T
PIN: N/A
Carrier: T-Mobile
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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?
Offline  
Old 02-25-2008, 12:58 AM   #4 (permalink)
Talking BlackBerry Encyclopedia
 
Sci-Tek's Avatar
 
Join Date: Jan 2008
Model: 8000
OS: 4.6.0.303
Carrier: TDC
Posts: 359
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default

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
Offline  
Old 02-25-2008, 06:51 AM   #5 (permalink)
Crimson Tide Moderator
 
JSanders's Avatar
 
Join Date: Oct 2004
Location: North of the moss line
Model: 9xx0
OS: 7.0sumtin
PIN: t low
Carrier: Verizon
Posts: 41,907
Post Thanks: 60
Thanked 244 Times in 182 Posts
Default

Yea, it is. I need to put this file over in the FAQ also.
Offline  
Old 03-28-2008, 01:55 PM   #6 (permalink)
CrackBerry Addict
 
BBChristopher's Avatar
 
Join Date: Jul 2006
Location: Dutchess County, NY
Model: 9000
OS: 5.0
Carrier: AT&T
Posts: 646
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

how do you use it?
__________________
24A3F370 (9000)
East Coast Shoutin!!!!!!
"Imagine the Possibilities", Run Silent..Run Swift
850, 950, 957, 7100, 7130, 8100, 8800, 8310, 9000
Offline  
Old 03-28-2008, 02:12 PM   #7 (permalink)
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline  
Old 03-28-2008, 02:25 PM   #8 (permalink)
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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"
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/

Last edited by rivviepop : 03-28-2008 at 02:26 PM. Reason: oops edit phone number
Offline  
Old 03-29-2008, 06:51 PM   #9 (permalink)
BlackBerry Extraordinaire
 
Join Date: Oct 2007
Location: Los Angeles
Model: None
PIN: N/A
Carrier: ATT
Posts: 1,638
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Offline  
Old 05-29-2008, 03:21 PM   #10 (permalink)
Crimson Tide Moderator
 
JSanders's Avatar
 
Join Date: Oct 2004
Location: North of the moss line
Model: 9xx0
OS: 7.0sumtin
PIN: t low
Carrier: Verizon
Posts: 41,907
Post Thanks: 60
Thanked 244 Times in 182 Posts
Default

Bump, to make this EZ to find.
Offline  
Old 05-29-2008, 03:24 PM   #11 (permalink)
EPIC MOD
 
ezrunner's Avatar
 
Join Date: Mar 2006
Location: Virginia Beach
Model: ZED10
OS: DOS 3.1
PIN: INK STICK
Carrier: Tmobile
Posts: 12,214
Post Thanks: 9
Thanked 6 Times in 6 Posts
Default

hahahha Clever JS

Thanks

customer thanks as well
__________________
ZED 10
Offline  
Old 06-05-2008, 06:09 AM   #12 (permalink)
New Member
 
Join Date: Jun 2008
Model: 8830
PIN: N/A
Carrier: blackbeery
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Problems with running jar file

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...
Offline  
Old 06-05-2008, 11:52 AM   #13 (permalink)
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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...
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline  
Old 06-05-2008, 01:55 PM   #14 (permalink)
New Member
 
Join Date: Jun 2008
Model: 8830
PIN: N/A
Carrier: blackbeery
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Offline  
Old 06-12-2008, 07:10 PM   #15 (permalink)
New Member
 
Join Date: Jun 2008
Model: 8830
PIN: N/A
Carrier: blackbeery
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default 0x02

I have the right version.

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

It works perfectly for me. For the backup file, it should just contain the sms backup.
Offline  
Old 11-07-2008, 12:55 PM   #17 (permalink)
New Member
 
Join Date: Nov 2008
Model: 8320
PIN: N/A
Carrier: T-Mobile
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you VERY much for this. Very cool.
Offline  
Old 04-19-2009, 06:32 PM   #18 (permalink)
New Member
 
Join Date: Apr 2009
Model: 9530
PIN: N/A
Carrier: Verizon
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Worked like a charm!! Awesome!!
Offline  
Old 05-27-2009, 05:22 AM   #19 (permalink)
New Member
 
Join Date: Apr 2009
Model: 9500
PIN: N/A
Carrier: Cosmote GR
Posts: 10
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have made a GUI for the program and i have also fixed a bug that give a out of bounds exception.
Here is the link
dl.getdropbox.com/u/897187/IpdDump-WithGUI.jar
Offline  
Old 06-29-2009, 09:02 PM   #20 (permalink)
New Member
 
Join Date: Jun 2008
Model: 8130
PIN: N/A
Carrier: Optus
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Where can I get the latest version with the GUI

I cant see any SMS'es in the version I have. I open the IPD file but nothing appears in the list.

Any help would also be appreciated

Cheers
X
Offline  
Closed Thread


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-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.