BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/index.php)
-   Aftermarket Software (http://www.blackberryforums.com/forumdisplay.php?f=14)
-   -   ipddump - an open-source IPD extractor (http://www.blackberryforums.com/showthread.php?t=114214)

brandon1879 01-22-2008 11:15 PM

ipddump - an open-source IPD extractor
 
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.

JSanders 01-22-2008 11:20 PM

Brandon, many thanks for sharing!

Can you only restrieve SMS? What about contacts, calendar, etc?

as.forum 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?

Sci-Tek 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.. :)

JSanders 02-25-2008 07:51 AM

Yea, it is. I need to put this file over in the FAQ also.

BBChristopher 03-28-2008 01:55 PM

how do you use it?

rivviepop 03-28-2008 02: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.

rivviepop 03-28-2008 02: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"

monkeypaw 03-29-2008 06: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.

JSanders 05-29-2008 03:21 PM

Bump, to make this EZ to find.

ezrunner 05-29-2008 03:24 PM

hahahha Clever JS

Thanks

customer thanks as well

Rosso69 06-05-2008 06:09 AM

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...

rivviepop 06-05-2008 11:52 AM

Quote:

Originally Posted by Rosso69 (Post 956940)
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...

Rosso69 06-05-2008 01:55 PM

Quote:

Originally Posted by rivviepop (Post 957376)
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

Rosso69 06-12-2008 07:10 PM

0x02
 
I have the right version.

When i use the sample data the app works. Still it doesn't work with the backup file.

watsons 07-01-2008 07:14 AM

It works perfectly for me. For the backup file, it should just contain the sms backup.

Capn 11-07-2008 01:55 PM

Thank you VERY much for this. Very cool.

cmartin89 04-19-2009 06:32 PM

Worked like a charm!! Awesome!!

jimmys01 05-27-2009 05:22 AM

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

xanataus 06-29-2009 09:02 PM

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


All times are GMT -5. The time now is 01:54 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.