How do I recover files from backup (*.stg) file? - Upgrading, Modifying and Unlocking

I recently made a backup of the entire XDAII with active sync which generated a 50MB file (appox) called Backup.stg
Later I upgraded to 1.72WWE but forgot to backup some documents I had on the XDA...
I have it all in the stg-file, but I don't want to to a full recover, since the backup was made when I still had 1.66WWE...
So, does anyone no how to extract files from the stg-file created with Activesync?
Rgds,
Ampi

heh did a search for stg and found a post where i url'd to another post where i urled to yet another post which is this one
http://forum.xda-developers.com/viewtopic.php?t=9276&highlight=stg
needless to say that many people have asked this before you

Related

Moving SMS to new device

I am upgrading from a PPC2003 device to a WM5 device.
Does anyone one where the files relating to SMS text files both in and out are stored (presumably in the Windows directory somewhere) please as I would like to move them to the new device if possible.
Many thanks
Brian Leach
As far as I know they are stored in a database. And there are quite few (commercial) backup solutions available. But try to search the forum, I remember a small and free solution being posted here. (Btw: it's always good for the community if you post your solution here once found.)
I think I have a software which can backup SMS to move from old device to new device or from new version to new version.
I've tried, I sure that it works very well.
You will try it
Ahh! I forgot that, I have file .exe for installing from your computer. And other one to run direct
Many thanks.
I'll give them a try.
Brian Leach
Tried both zip files and neither will run under xp
Should they be run from the device or what am I doing wrong please.
Thanks
Brian Leach

Does anyone have earlier ROM for Cingular 8525?

I am a newbie and not myself a developer, so if this question or my accessing this list is out of line, let me know. I am looking for a way to restore the former ROM that was on my device before upgrading.
Cingular/ATT just sent out an upgrade on their 8525 ROM, not to Windows Mobile 6, but just a more enhanced Windows Mobile 5 with push to talk, and some other changes.
After upgrading the ROM, my backup file for my Personal Databases will not restore. The Sprite Backup (5.1) backup file was the only storage I had of important data at least for the last four months, when I stopped being able to activesync it. The support staff at Sprite said they got my personal databases file to work, so I know the file itself is not corrupted, and the data is there, but every time I try to restore it to my 8525 (ie, following a hard reset, with and without the sbu file that Sprite created for moving from one ROM to another)... every time I try to restore it, it corrupts my Calendar and Contacts programs, bringing in no data, and making the Contacts program unusable.
My best guess is that the only way I can regain access to this data is to restore to the old ROM, then fix the ActiveSync problem, and save the data that way, then reupgrade to the new ROM, and sync that.
I give all this detail in case someone has a better suggestion as to what might be causing the Personal Database file not to restore, and not to work following the upgrade.
Short of that, I'd be interested if anyone can show me where I might restore the old ROM. Private replies are accepted.
Tom Bartlett
Here's the original 1.34.502 ROM for the 8525. If you're needing the UNofficial 2.06 leaked release, I don't have that one. . . sorry
Thanks so much!
Tom Bartlett
I am not sure how to use what the link downloaded. Perhaps my mistake was in downloading it to my laptop, for later use? It came as a large zip file, with three RAW files.
How do I use that download to change my ROM?
My guess is that I'll need to have my 8525 synced in Active Sync, and do the hit "run" rather than "save as" ?
Tom
CRAP!! Disregard that file. . . it's the wrong one. I'm uploading the CORRECT one right now.
I'm soooo sorry. . . I'll be back with the correct link as soon as it's uploaded.
Here it is. . . the CORRECT file.

[Q] extract memos from previous nandroid backup

Hey guys,
Here is my situation:
Created a backup in feb before I upgraded to EB13. The upgrade bricked my phone, so I wiped and restored, after the restore the phone was running very poorly so I just backup up my contacts and did a fresh wipe and started from scratch.
Now I'm on EC05 with SyndicateRom (awesome btw, ACS guys are amazing) but I've realized I saved a few memos on that Feb backup that I need to retrieve (car maintenance info)
I've searched around on how to extract the data.img and system.img from my nandroid backup and have been successful on the system.img. I'm not exactly sure where the memos are stored so thats what lands me here.
I've done searching on specific file locations within the backup and to no prevail, so I was hoping someone would either already know how I could retrieve those specific memos from the feb backup that was running on the stock firmware (Not EB13, i believe DK28?) I attempted to install the memo.apk from the backup once I extracted it but it wouldn't install on the device.
Any help would be greatly appreciated!
BTW I'm on windows 7 x64 I'm not sure if that makes a difference but everything I'm running is through the windows terminal, no linux
If I understand your question correctly, I think you're asking where memo.apk stores memos (it was long winded sorry lol)..
They *should* be stored somewhere in /data/data...in there you would have to look for a subdirectory referencing memo.apk or the like...
Butttt...if your asking HOW to restore specific things from a nandroid back up...there's an android developers article written by google on how to do that. I *think* the way I found the page was by googling "adb nandroid restore" or something like that...the point being, that in order to install specific data from a nandroid backup (and not just all /data or all /system) you'll need to use adb to push it over, and a specific program in order to read the nandroid backup file..but I know its all detailed in the page, its just a matter of finding that page lol...hope that helps.
And btw, please post questions in q&a forum
Sent from my SPH-D700 using XDA Premium App
Thanks..i guess that was a long winded story, sorry I shouldve gotten to the point.
All I want to do is be able to view the memos I stored from memo.apk
I don't care if I have to view them on the phone and push the app to the phone like you mentioned or if I can view that data on my pc. I would rather just view it on my pc.
when I extracted the system.img file there was no data/data folder. If I try to extract the data.img file then I get a popup that unyaffs has stopped responded and it closes on my pc.
Moved to Q&A
mmayo01 said:
Thanks..i guess that was a long winded story, sorry I shouldve gotten to the point.
All I want to do is be able to view the memos I stored from memo.apk
I don't care if I have to view them on the phone and push the app to the phone like you mentioned or if I can view that data on my pc. I would rather just view it on my pc.
when I extracted the system.img file there was no data/data folder. If I try to extract the data.img file then I get a popup that unyaffs has stopped responded and it closes on my pc.
Click to expand...
Click to collapse
Ooo well there you go.../data/data is more than likely in the data.img...will any disc image reader successfully open nandroid .img's? (sorry im not familiar with unyaffs).. I know theres free ones that can extract things too, maybe try that...
Sent from my SPH-D700 using XDA Premium App
Actlly, do that google search I mentioned earlier and try to find that page about using adb to push specific sets of data..
I say this because in it, it tells you what to use to view the data.img contents
Id do it myself but I'm out and about. Keep me posted, if you can't find it ill look when I get home in an hour or two
Sent from my SPH-D700 using XDA Premium App
thanks squshy. I did some more googling and came across a program called linux reader that will read ext2/3/4 linux files. I was able to preview the data.img in a screen, show it in windows ansi text, copy and paste to word and then find the words I was looking for in the memos and done and done.
Thanks again.

Recover deleted files from the SD?

I mistakenly rooted my phone without doing any sort of backup's, was using Toolkit to backup up all my files but for some reason it didn't backup anything, the backup folder is fully empty, lost all my pictures/videos etc..
Is there a way I can recover them by connecting my Gnex to the PC or something? are there any programs made especially for such purpose? please help guys.
Thanks.
Rovian said:
I mistakenly rooted my phone without doing any sort of backup's, was using Toolkit to backup up all my files but for some reason it didn't backup anything, the backup folder is fully empty, lost all my pictures/videos etc..
Is there a way I can recover them by connecting my Gnex to the PC or something? are there any programs made especially for such purpose? please help guys.
Thanks.
Click to expand...
Click to collapse
Nope, not that i've heard of.
You're kinda SOL, sorry. Especially because you can't mount the storage as UMS, so normal recovery tools wouldn't even have a chance.
That's sad..
However guys, I had the Gallery folder (DCIM) on my PC like 1 week ago, I copied it to my PC as a backup but deleted it as well couple of days ago, I tried looking for it on Recuva but I couldn't find it, I found pictures/videos deleted way before my Gnex files, I didn't find a single picture or video of my Gnex gallery.. does it make a difference if you deleted the whole folder having all the files in it rather than the picture/video itself? is there a way to recover the whole folder along with it's deleted files? a program made for that, I don't mind buying it if it can recover the folders or at least it's files.
Tried Recuva as I said but It didn't catch the folders, only pictures/videos files.. I recovered them all and I found not a single picture or video of the DCIM files I deleted couple of days ago.
Thanks.

Whatsapp doesnt restore Backups

atm im jumping between different roms while waiting for next cm release. i also use whatsapp. everywhere on the net its is said that WA is supposed to ask me to restore previously made backups. BUT IT NEVER DID!
does anyone know how to restore those backups? or better: whats the problem with ace/WA? i have tons of backups, but could never use them-.-
things i already did:
- install, then add backup
- put backup into sd, then install
- searched here and found a tool that was supposed to show the chats in browser (and it failed hard (XD), what doesnt matters, cuz it doesnt solve the problem)
these chatts dont contain highly important information, but it would be very nice to have them back
thanks in advance
hmm me use whatsapp too.. as long as i remember... i never make backups.. but after switching roms.. it always ask me to restore from backup or not.. dunno either..
there is a possibility to manually make backups of WA chats. i saved the folder, flashed, put the folder back, installed: nothing happened
CJCord said:
there is a possibility to manually make backups of WA chats. i saved the folder, flashed, put the folder back, installed: nothing happened
Click to expand...
Click to collapse
i switch roms often too. and whatsapp.. well it does ask me to restore from the backup..
u could try an alternative - use titanium backup to backup the application+data.
that way when u restore from titanium, u will have ur messages back.
i dont need titanium for that. the files it rstores the chats with are at /data/data/com.whatsapp
i had an old nandroid backup (stock rom), extracted those files, copied them in their place (see above) and it "worked". i dont get asked to restore, but the chats are "just there". and you cant tell me this is normal. this is only possible if you are rooted. afaik no stock rom is usually rooted
but even the official wa help states, that ONLY the folder on SD card has to be copied to new device/new rom and it should work. WhyTF it doesnt do it for me?
€: sry fogot that: the nand-BU is old as hell. the chats i want to restore are from a rom already deleted/overwritten so restoring via titanium would be a bit hard (cuz theres no backup of that rom. there was no reason for that)
Can someone where the backup works, can tell me if you have a ".crypt" file or not?
seems that "my" WA cant read its own encrypted DBs -.-
it worked when transforming the crypted DB into an unencrypted DB
Hi
I've just encountered this problem too, lost all my messages of over 2 years! I too have ".crypt" file but it doesn't ask me to restore it. Did you find a solution? Please say yes!!
thanks
CJCord said:
Can someone where the backup works, can tell me if you have a ".crypt" file or not?
seems that "my" WA cant read its own encrypted DBs -.-
it worked when transforming the crypted DB into an unencrypted DB
Click to expand...
Click to collapse
more or less....
WA still didnt accept its own files but try this: http://forum.xda-developers.com/showthread.php?t=1583021
worked well and i have all my conversations back.
hope i could help
Saw that, and yes it works well. Obviously better than nothing, but not the same as getting them back in the phone. I've opened a support issue with WhatsApp, maybe a future release can resolve this.
cheers!
if you encrypt them with the tool, WA will restore them and you will have youre stuff "back in the phone"
if you get a response from official wa, please share =)
CJCord said:
if you encrypt them with the tool, WA will restore them and you will have youre stuff "back in the phone"
if you get a response from official wa, please share =)
Click to expand...
Click to collapse
You mean, if you decrypt the database file with the tool Whatsapp Xtract. Yes, that should work.
[TOOL] Whatsapp Backup Messages Extractor
Decrypt, then copy the decrypted file (msgstore.db instead of msgstore.db.crypt) onto the folder /sdcard/WhatsApp/Databases, make sure it's the only database file inside that folder and then newly install WhatsApp. It should ask you to import the backup during the process of installation.
Thanks you ztedd, that makes more sense! Are you saying that only decrypted files get restored? That's not the impression the WhatsApp website gave me.
ztedd said:
You mean, if you decrypt the database file with the tool Whatsapp Xtract. Yes, that should work.
[TOOL] Whatsapp Backup Messages Extractor
Decrypt, then copy the decrypted file (msgstore.db instead of msgstore.db.crypt) onto the folder /sdcard/WhatsApp/Databases, make sure it's the only database file inside that folder and then newly install WhatsApp. It should ask you to import the backup during the process of installation.
Click to expand...
Click to collapse
Backup foun but..
FrikyBCN said:
Thanks you ztedd, that makes more sense! Are you saying that only decrypted files get restored? That's not the impression the WhatsApp website gave me.
Click to expand...
Click to collapse
Whatsapp now detects a Backup, but when i hit "yes" to restore it, not a single chat gets restored. :/ Any suggestions?
I copied the file msgstore.db.html from the tool to the database directory and the delete the ".html" ending.
*WORKS: Copy the msgstore.plain.db file an rename it to msgstore.db, then it works!
Thanks!
Hi
i too have experienced lots of problems restoring my old chat from my old phone. I followed your advice below and it worked.
However, I have now lost my new messages that were on my new phone. How do I restore them too?
Please help...I'm totally clueless....Thanks
[Decrypt, then copy the decrypted file (msgstore.db instead of msgstore.db.crypt) onto the folder /sdcard/WhatsApp/Databases, make sure it's the only database file inside that folder and then newly install WhatsApp. It should ask you to import the backup during the process of installation.[/QUOTE]
If you have questions, ask in the Q & A thread!
Sent from my rooted microwave
why opening new thread if old one still exists?
@topic: ztedd postet in his thread a solution to merge 2 databases. i havent tried it myself yet (was posted a few days ago. (well. earlierer, but it had some...problems)) but it looks promising
Apologises if I am incorrectly posting on this forum but as my username suggests I am totally clueless to how this process works.
I do not not how to ask a question in the thread Q&A as suggested and by replying did not realise that I had posted a new thread.
Please forgive me.
Please advice how to correctly use this forum and how do I merge databases on two samsung phones or generally, after having successfully restored my old chat history following your advice, how do I add/merge the new chat on my new phone to the old chat that now appears to have replaced my new chat history.
Thanking you in advance for your help.
ztedd said:
You mean, if you decrypt the database file with the tool Whatsapp Xtract. Yes, that should work.
[TOOL] Whatsapp Backup Messages Extractor
Decrypt, then copy the decrypted file (msgstore.db instead of msgstore.db.crypt) onto the folder /sdcard/WhatsApp/Databases, make sure it's the only database file inside that folder and then newly install WhatsApp. It should ask you to import the backup during the process of installation.
Click to expand...
Click to collapse
Totally clueless said:
Apologises if I am incorrectly posting on this forum but as my username suggests I am totally clueless to how this process works.
I do not not how to ask a question in the thread Q&A as suggested and by replying did not realise that I had posted a new thread.
Please forgive me.
Please advice how to correctly use this forum and how do I merge databases on two samsung phones or generally, after having successfully restored my old chat history following your advice, how do I add/merge the new chat on my new phone to the old chat that now appears to have replaced my new chat history.
Thanking you in advance for your help.
Click to expand...
Click to collapse
It's alright.
You'll soon get used to it.
And btw, welcome to xda!
Sent from my rooted microwave
Your welcome
/topic: the thread you already posted "[TOOL] Whatsapp Backup Messages Extractor" contains all neccesary information you need for your operation: Programs, knoledge, and a little how-to.
But you will have to read by yourself
and you should read most of it, as those information are a bit...fragmented and scattered around that thread^^
€: im in a helpy mood^^ there you go: http://forum.xda-developers.com/showpost.php?p=37292158&postcount=464
guys i need help please i have the db.crypt file from the SD and only the files from the SD i backed it up while ago on my pc and now i deleted all files in the database and uninstalled whatsapp and added the backed file in database and reinstalled but i didnt get the restore msg :/ is there any way possible to restore those msgs its really important :/ i didnt know i had to back the files in root/data tho i am not rooted and the whatsapp xtracter asks for wa.db otherwise it says the file doesnt contain chat_list table >.>
please if there is any way lead me to it

Categories

Resources