01/31/2012, 04:47 PM
|
#1 (permalink) |
|
Member
![]()
Posts: 8
|
Hello, I was told that for my problem, I should ask here.
![]() So, here's my problem. I own a pre3 (I live in France, so no ATT or verizon or else) in 2.2.4, and I know that almost everything is saved on the cloud in some hp servers, and that I can eventually retrieve a database file in my phone. But my problem is a bit different, one of my friend deleted by accident our entire sms history and would like to get them back (she is an iphone user btw). So basically I would like to export them in a clean way so that she can put them on her phone So I looked for an app, for a patch but I found nothing. I tried to get the .db3 file but everytime I try to open it in SQLite Manager I get this error : "SQLiteManager: Error in opening file objects.db - either the file is encrypted or corrupt Exception Name: NS_ERROR_FILE_CORRUPTED Exception Message: Component returned failure code: 0x8052000b (NS_ERROR_FILE_CORRUPTED) [mozIStorageService.openUnsharedDatabase]" And from there I'm stuck.... Any advice, tips or help, would be greatly appreciated btw : the .db file I got is called objects.db3 not PalmDatabase.db3 (don't remember the correct name... ) Trickaz |
02/01/2012, 02:23 AM
|
#2 (permalink) |
|
Homebrew Developer
![]()
Posts: 464
|
You could just go into the conversation on your messaging app and select "Copy all" or from the menu (it's in "edit" sub menu... don't know the real name, in german it's "Bearbeiten"
). Then you can paste into a new e-mail or so and have all the whole conversation as plain text. With the transition form webOs 1.4.5 to 2.x most of the database stuff changed dramatically... if you want to take a look inside the database, you can also try impostah. But that will not be really helpfull for your export problem, I think... I don't know if there is an app for that... one could write an app, should not be to hard to do.
|
02/01/2012, 12:35 PM
|
#4 (permalink) | ||
|
Member
![]()
Posts: 8
|
Quote:
Quote:
The thing is that I saw an app for the iphone where the sms were exported in a .txt file with all the informations (date and name). But ultimately what I'd really like to get is a proper timeline... it doesn't really matter if I can implement it back on the iphone or not. |
||
02/02/2012, 06:20 AM
|
#9 (permalink) |
|
Homebrew Developer
![]()
Posts: 464
|
It creates a folder on your usb-partition. I think it's called saverestore. In that there are many folders named after the apps the data came from and in each of these folders is a zip file which contains the data.
So if you saved the messaging data, there should be a folder com.palm.messaging or similar with a zip and some data in it.
|
02/02/2012, 12:44 PM
|
#12 (permalink) |
|
Member
![]()
Posts: 157
|
When you run the Save/Restore app, go to "Save App Data" , hit "Select None" to deselect everything, then scroll down about until you see "Messaging" and turn the slider to "on". Hit "save selected" to start.
The resultant zip file of SMS logs will be stored on the USB partition in (usb drive)\saverestore\com.palm.app.messaging\ If you use Internalz, the full path is /media/internal/saverestore/com.palm.app.messaging/ |
02/02/2012, 01:40 PM
|
#13 (permalink) | |
|
Member
![]() |
Quote:
|
|
02/06/2012, 05:26 AM
|
#17 (permalink) |
|
Homebrew Developer
![]()
Posts: 464
|
jup, support for backup messages from the messaging app seems to be gone.
You can try to connect with novaterm to your device (or putty, if you have a ssh server installed, I would prefer that) and try to get the contents from the messaging db with luna-send... you'll get JSON formated information about the messages. If you want to try that, I can try to give you the correct command line. |
06/03/2012, 04:36 AM
|
#19 (permalink) |
|
Homebrew Developer
![]()
Posts: 464
|
Code:
luna-send -n 1 -a com.palm.app.messaging palm://com.palm.db/find '{"query":{"from":"com.palm.message:1"}}' > /media/internal/allmessages.txt
This will get only sms messages: Code:
luna-send -n 1 -a com.palm.app.messaging palm://com.palm.db/find '{"query":{"from":"com.palm.smsmessage:1"}}' > /media/internal/smsmessages.txt
You then get a file with (unformatted) JSON. So you best get some tool that can format the JSON stuff... for that I'm using eclipse with the javascript extension. But that might be overkill (I have eclipse anyway for my coding purposes ). Maybe there is something else? At least that will contain ALL the data.. so you should be able to search for a name/phone number or similar.. hope that helps.
|
06/03/2012, 02:01 PM
|
#20 (permalink) |
|
Member
![]()
Posts: 3
|
Great! It worked for me!! Thank you
![]() Experiences: Tried novaterm (Window 7 64bit), got easy connection but was not able to type curly braces ![]() Putty: Did not get it running within a hour ![]() * Used "WebOS quick install" -> Tools -> Linux command prompt, worked immediately! Copy/Pasted your code * connected as USB device ... got the file. * Finally ... used Firefox "JSONView" Add On ![]() One more question: Any idea, how the Timestamp has to be decoded? |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



