Extracting SMS from CWM6 nandroid - Android Q&A, Help & Troubleshooting

Hi all, i've been trying to restore my sms-es from a nandroid backup. Apps like appextractor do not work as my backup was made using the new method introduced in CWM 6. The data files are store in a file called data.ext4. is there anyway to extract my data? Thanks!

Use the app called NANDROID browser to find the SMS files (something.db I think, google "where are texts stored in android"), extract them to the sd card, and paste them into the correct system location.
Sent from my LG-C800 using xda premium

Tried that but it only shows boot and recovery
Sent from my Galaxy Nexus using xda app-developers app

bump

Not sure about sms
but i guess titanium backup has that option

vNa5h said:
Not sure about sms
but i guess titanium backup has that option
Click to expand...
Click to collapse
cant find the restore from nandroid option in titanium...

Do you have any luck? I need to extract a file from CWM6 nandroid

Most of the time , nandroid backup do NOT save SMS , most of the time ... :/

Germain67 said:
Most of the time , nandroid backup do NOT save SMS , most of the time ... :/
Click to expand...
Click to collapse
Well AFAIK, CWM nandroid backup is backing up every single file what's in the phone's flash chip. System, boot, recovery and data (which contains database for SMS's too) so if other files are there, so should be SMS database also. Can't tell how to extract it from there since its using this new blobs structure now, but maybe there's a way..
Sent from my Galaxy Nexus using Tapatalk 2

I was wondering why appextractor wasn't restoring sms backups on nandroid.
I tried the TiBk and it works but when showing conversation list when opening mms app, the time of when the last message was received is the time when it was restored. all the sms's time/date are good though when viewing the thread.
EDIT: Nevermind, it works perfectly, date/time is all good in conversation view, just when it was restoring that it was messed up.

I can't find a program that can "explore" nandroid's made with CWM 6+ based recoveries, due to the change in format. Nandroid Browser and Titanium Backup no longer work for this purpose. Anyone find one?

Protonus said:
I can't find a program that can "explore" nandroid's made with CWM 6+ based recoveries, due to the change in format. Nandroid Browser and Titanium Backup no longer work for this purpose. Anyone find one?
Click to expand...
Click to collapse
Try to open with ext2explore

Almost a month ago now so I'm not sure if you're still looking for a solution, but I've found that the beta version of AppExtractor v2.0 from AppsByAndy is able to read and extract apps and data from nandroid backups created with CWM6.
I went and bought a couple of his apps even though I didn't need them. Just for appreciation.
Oh and specifically I used the app to restore SMSes. Worked so well I'm going to use it for clean installs in the future.

Titanium Backup Pro allows you to Extract Messages from CWM.

prboy1969 said:
Titanium Backup Pro allows you to Extract Messages from CWM.
Click to expand...
Click to collapse
As discussed in this thread, Titanium is unable to read from backups created with CWM6.

tonyamazing said:
As discussed in this thread, Titanium is unable to read from backups created with CWM6.
Click to expand...
Click to collapse
Have you tried hooking up to a PC via USB. Then explore the CWM backup that way ?
TEAM MiK
MikROMs Since 3/13/11

prboy1969 said:
Have you tried hooking up to a PC via USB. Then explore the CWM backup that way ?
Click to expand...
Click to collapse
Even that is difficult. I've tried using unyaffs but CWM6 no longer produces a data.img to explore / extract.
I can't post links yet (10 post miminum before I can link). If you can be bothered, do a Google search for "Koushik Dutta New ClockworkMod Backup Format" and the first link should be a Google+ post giving an overview of the new backup format from ClockworkMod 6.
Edit: seems I can link.
https://plus.google.com/103583939320326217147/posts/L5aVZe7C9vg

Thanks for the Info.

Related

[Q]Preferred method of efs backup?

I'm still very much a noob and i was wondering if there was a consensus as to which tool between kTool and EFS Pro is the best and most noob friendly way of backing up your efs folder.
I was also wondering if there are any more precautionary steps one should take after rooting for the first time besides doing an EFS backup, a CWM nandroid backup and a titanium backup.
Thanks
kTool. Get it from Market, couple of clicks, keep one copy of your EFS on your external SD card and one copy on your PC (and copies on a CD/DVD and a couple of external drives if you're ultra paranoid ), go to the kTool thread on here & buy Hellcat a beer.
Done
If you're doing a Nandroid backup, EFS backup & Ti backup right after you root your phone for the first time you're well on the way to un-noobing yourself You'd be surprised at how many people who have been here ages don't do those things.
You could go to the trouble of using dedicated contact and SMS backup apps, but you can just as easily backup your contacts to Google, and you can restore them easily enough from your Nandroid backup. There's an app in Market called AppExtractor which allows you to restore individual apps, SMS, contacts and other stuff from your Nandroid. Haven't tried it yet tho.
But I'd reckon you've pretty much got it covered.
As far as backing up sms's goes I find sms backup+ to work really well, backs up your sms to your gmail account!
MistahBungle said:
kTool. Get it from Market, couple of clicks, keep one copy of your EFS on your external SD card and one copy on your PC (and copies on a CD/DVD and a couple of external drives if you're ultra paranoid ), go to the kTool thread on here & buy Hellcat a beer.
Done
If you're doing a Nandroid backup, EFS backup & Ti backup right after you root your phone for the first time you're well on the way to un-noobing yourself You'd be surprised at how many people who have been here ages don't do those things.
You could go to the trouble of using dedicated contact and SMS backup apps, but you can just as easily backup your contacts to Google, and you can restore them easily enough from your Nandroid backup. There's an app in Market called AppExtractor which allows you to restore individual apps, SMS, contacts and other stuff from your Nandroid. Haven't tried it yet tho.
But I'd reckon you've pretty much got it covered.
Click to expand...
Click to collapse
Also worth grabbing a copy of original firmware as handy to have......
Sent from the valley of the shadows....
stylez said:
Also worth grabbing a copy of original firmware as handy to have......
Sent from the valley of the shadows....
Click to expand...
Click to collapse
And in case of corruption of internal SD (Happens) remember to take backups of pictures/etc and store copies of your backups (nandroid/EFS/ETC) off the phone.
Rule of thumb, if you cant afford to lose it, back it up. Speaking of that, better make a nandroid and copy it to the PC
I currently have two b/u's:
-one generated by Hellcat's Ktool,
-one generated by Galaxy S Unlock.
Both live on my sd card, and on my PC.
Both tools available on Market (Ktool also on XDA). Ktool has saved my bacon once already.
Go with kTool, it works flawlessly. EFS Backup failed (freezed) first time I used it (luckily nothing bad happened do efs partition).
Also kTool can easily install new kernels, installing speedmod takes just few seconds.
This is my no 1 root utility (although it has... weird interface).
Best way to restore from a backup?
nakizzzle805 said:
Best way to restore from a backup?
Click to expand...
Click to collapse
Ktool, Just deleting the whole thing with root explorer and copying it over, using a terminal editor to extract the backup over your EFS.
All should work.
nakizzzle805 said:
Best way to restore from a backup?
Click to expand...
Click to collapse
Both apps have inbuilt restore features; they save .img's and .tar's to your SD. Ktool saves it to the root of your sd and Galaxy S unlock saves to a folder, and each app can call on these files upon you selecting restore.
As far as restoring the EFS via adb, that's one thing I have to learn still. I'm not sure whether extracting EFS from a nandroid is possible, and how it would be done, via adb, etc...
Looks like Veyka replied whilst I was typing this, he's fast
mudferret said:
<snip>
Looks like Veyka replied whilst I was typing this, he's fast
Click to expand...
Click to collapse
Fingers of fury(!)
veyka said:
Fingers of fury(!)
Click to expand...
Click to collapse
Sorry, I try to avoid OT comments, but I can't...help...myself:
The girls must dig that
mudferret said:
Sorry, I try to avoid OT comments, but I can't...help...myself:
The girls must dig that
Click to expand...
Click to collapse
Hahahah

[Q] restore sms backup made with stock message app

Hello,
I was using WildChild custom rom for my WildfireS and created a SMS backup before flashing and moving to m1ndh4x8 ROM. In this ROM there is no backup/restore function though.
-How do I restore my messages? Can I upgrade the stock message app? Or is there any B&R app that can read the backup file? so far I tried many but non of them worked.
Thanks for your help.
maestro_mihagi said:
Hello,
I was using WildChild custom rom for my WildfireS and created a SMS backup before flashing and moving to m1ndh4x8 ROM. In this ROM there is no backup/restore function though.
-How do I restore my messages? Can I upgrade the stock message app? Or is there any B&R app that can read the backup file? so far I tried many but non of them worked.
Thanks for your help.
Click to expand...
Click to collapse
Whats the file format of the backup u did is it a *.csv or a *.xml?
the file saved by the stock app doesn't have any extension. I tried to import it in excel but I can see only strange characters. I also tried to rename as *.xml and start the restore with SMS Backup and Restore but it says "Failed:Null".
Thanks for your interest.
maestro_mihagi said:
the file saved by the stock app doesn't have any extension. I tried to import it in excel but I can see only strange characters. I also tried to rename as *.xml and start the restore with SMS Backup and Restore but it says "Failed:Null".
Thanks for your interest.
Click to expand...
Click to collapse
Hmmm
My stock sms does not contain resotring and backuping messages so i dont know if u want to be on the safe side the next time use super backup from the market
its backing up all ur sms contacs and the call log each one in a single file so u can easily restore
thanks, I restore the message in a very long way
1- i did a backup with CWM of the actual rom
2- I flashed the phone with the previous rom
3- I restored the sms backup with the stock messages app.
4- I made anotehr backup with SMSBackupandrestore
5- I restored the new ROM with the CWM backup
6- installed SMSB&R and imported my texts! Yeah..
Next time i will use directly third part software to do backup.
maestro_mihagi said:
thanks, I restore the message in a very long way
1- i did a backup with CWM of the actual rom
2- I flashed the phone with the previous rom
3- I restored the sms backup with the stock messages app.
4- I made anotehr backup with SMSBackupandrestore
5- I restored the new ROM with the CWM backup
6- installed SMSB&R and imported my texts! Yeah..
Next time i will use directly third part software to do backup.
Click to expand...
Click to collapse
hahahah thats exactly what i had to do a few weeks ago but in my case i just lost one numer and had to do the whole procedure xD
Hi,
Just wondering if there is a solution for me here. I did a CWM backup before soft-bricking phone and now all is up and running again. I still have the clockworkmod folder on sdcard but no boot.img etc. I notice Titanium Backup is the paid version which offers the options mentioned here. Is there any chance of locating and recovering my sms from this cwm backup folder? TIA
I have a similar problem.
I have used stock message app for backup and tried to restore my messages after a factory reset of my HTC Sensation (stock rom). Backup file is 3MB big and I guess that is the "reason" why it keeps reporting that it is "Unable to restore messages".
The backup file is located on SD in the apropriate folder.
I tried with some old 768KB file and succeded. Sent 1 sms and did the new backup to be sure that folder is asociated with the app - everything is ok. Even though I have restored that 1 sms in order to test the restore function and the path to backup files. Everything works just fine.
Conclusion: The backup file I need is too big.
How to solve this issue?
Perhaps I could shrink it somehow or use another app to read the file? Any idea?
edit: I forgot to tell. Those messages are veeery important to me (business, love, contacts, etc...) so I'll try anything I can to restore them.
I guess I always ask some too dificult or stupid questions or am not being loved arround here
Sensation won't restore
pezzilla said:
I have a similar problem.
I have used stock message app for backup and tried to restore my messages after a factory reset of my HTC Sensation (stock rom). Backup file is 3MB big and I guess that is the "reason" why it keeps reporting that it is "Unable to restore messages".
The backup file is located on SD in the apropriate folder.
I tried with some old 768KB file and succeded. Sent 1 sms and did the new backup to be sure that folder is asociated with the app - everything is ok. Even though I have restored that 1 sms in order to test the restore function and the path to backup files. Everything works just fine.
Conclusion: The backup file I need is too big.
How to solve this issue?
Perhaps I could shrink it somehow or use another app to read the file? Any idea?
edit: I forgot to tell. Those messages are veeery important to me (business, love, contacts, etc...) so I'll try anything I can to restore them.
Click to expand...
Click to collapse
Hi Pezilla
Did you resolve this issue? I did a factory reset of my HTC Sensation and have the exact same problem. File size is 2.3Mb. No problem restoring smaller files. I can't think how to reduce the size of the file because I don't know how to read it!!
Retrieving old SMS
anbo1x said:
Hi Pezilla
Did you resolve this issue? I did a factory reset of my HTC Sensation and have the exact same problem. File size is 2.3Mb. No problem restoring smaller files. I can't think how to reduce the size of the file because I don't know how to read it!!
Click to expand...
Click to collapse
Hi, I have a similar problem. I have an SMS backup file from my HTC Wildfire S. This backup file was created on the SD Card by my unrooted and unmodified phone. I then rooted the phone, and now run WildChild on it. I cannot restore my old SMS from the original backup file.
As mentioned above, I have a file with no extension.
How can I restore my SMS messages? What apps do I need and where will I get them. (Total Noob!!).
Thanks
jamsy said:
Hi, I have a similar problem. I have an SMS backup file from my HTC Wildfire S. This backup file was created on the SD Card by my unrooted and unmodified phone. I then rooted the phone, and now run WildChild on it. I cannot restore my old SMS from the original backup file.
As mentioned above, I have a file with no extension.
How can I restore my SMS messages? What apps do I need and where will I get them. (Total Noob!!).
Thanks
Click to expand...
Click to collapse
I searched that issue very much, so sorry but no other application reads that stock sms backup You have to flash stock rom first, after that you can restore your sms.

[Q] Restore texts on CM9?

So, I'm a new owner of an HTC Evo 4g LTE.
I'm currently running the CM9 ROM. Previous, was running Stock With Goodies (v.1.52 I believe?).
When I switched between the two, I guess GoBackup (the app I was using to backup all my stuff) didn't save my messages from the secure box. So, I had a friend send me the backup of our texts, and it's in the .hbk file format.
How can I restore texts from a .hbk file?
I haven't found any threads of the sort, so my apologies if this is a duplicate!
dominiquealexi said:
So, I'm a new owner of an HTC Evo 4g LTE.
I'm currently running the CM9 ROM. Previous, was running Stock With Goodies (v.1.52 I believe?).
When I switched between the two, I guess GoBackup (the app I was using to backup all my stuff) didn't save my messages from the secure box. So, I had a friend send me the backup of our texts, and it's in the .hbk file format.
How can I restore texts from a .hbk file?
I haven't found any threads of the sort, so my apologies if this is a duplicate!
Click to expand...
Click to collapse
Try downloading a SMS backup app from the play store. Once you have downloaded it, go to the app and go to the location of the .hbk file and try and restore it. I hope I have answered your question.
Also, if you use Titanium for app backup it now supports backing up call logs and SMS/MMS across any ROM
.hbk is the file format for the sense stock sms app when you use it to backup sms.
I am also having a problem with it though, as when I try to restore my sms, it says internal storage unavailable..and no app I've tried supports hbk
No Idea what to do, but I suppose lesson learned, never trust stock.
Having the same issue , no app I have tried can read a .hbk file.
Has anyone had any luck with this. I have installed CM10 HTC one x jellybean and backed up the .HBK file from my previous ROM.
I really need to restore these SMS messages. Any ideas on how I can restore this?
Any help is appreciated guys!
Thanks
Cm9 lmao cm10 is in stable mode haha
cm10ed 3VO
the .hbk file needs to be in a folder called sms_backup on the sdcard.
Regards
bonhug
bonhug said:
the .hbk file needs to be in a folder called sms_backup on the sdcard.
Regards
bonhug
Click to expand...
Click to collapse
Worked like a champ! Thanks to bonhug.
bonhug said:
the .hbk file needs to be in a folder called sms_backup on the sdcard.
Regards
bonhug
Click to expand...
Click to collapse
I already have a .hbk file inside sms_backup but neither htc sms backup nor sms backup & restore app could not restore it.
Any other solutions?

[Q] very random question about Nandroid backups

Is it possible to dig through the backup and recover the text messages from it?
Nandroid backup doesn't backup messages. U should have done it using apps like go backup.
life!
if you do a restore to a backup the messages from that point are there. Ive done that before to recover some that I forgot to back up for my girlfriend in the past.
Lifehacker7 said:
Nandroid backup doesn't backup messages. U should have done it using apps like go backup.
life!
Click to expand...
Click to collapse
A nandroid is a complete image of your device. Messages, call logs, wifi settings etc are in the image. That's why it's called backup.
The titanium backup pro version lists that it can restore from nandroids, but I've never tested it. The play store has some on- device nandroid browser apps; xda has threads about how to mount and open the image files here. (Can't link to them, tapatalk limited)
-star- said:
A nandroid is a complete image of your device. Messages, call logs, wifi settings etc are in the image. That's why it's called backup.
The titanium backup pro version lists that it can restore from nandroids, but I've never tested it. The play store has some on- device nandroid browser apps; xda has threads about how to mount and open the image files here. (Can't link to them, tapatalk limited)
Click to expand...
Click to collapse
I've tested it and it works very well. It displays all the apps in the nandroid and you can specify which ones to restore and whether or not you want the app or just the data.
So, yeah it can...
micro2112 said:
Is it possible to dig through the backup and recover the text messages from it?
Click to expand...
Click to collapse
Technically yes. But it's not straight forward.
First, you need to mount the img file of datadata or data (depending upon what is there in your nandroid backup) using yaffs / ext4 mount tools, the actual file that stores the text messages is in /data/data
Once you've the datadata file system mounted, you need to look for the database file that stores the messages - i think its called smsmms.db or something like that. This is an SQLite database file.
Use any SQLite viewer to open the db file and look at the tables and contents to get the messages. You can google for this part - there might be tools/scripts to extract the messages from db file into text files / import formats of popular backup tools
Some parts might change between versions of android, my data is from ICS
Awww sorry about that.! I thought it didn't!
life!
Thank you so very much everyone! That is exactly what I needed.

[Q] CWM backup error

Sup guys,
I got a little problem here, I want to have my old back up back cause my agenda/calendar is there. I need it badly before this friday so I thought i'll restore the back up with CWM. At the end of the restore progress I get an error.
Error restoring /data. So I tried the next:
- Deleted dalvic-cache of the backup.
- Installed 4.1.2 back again and tried restoring
- Used same CWM version with back up and restore.
Would you guys help me outta here, I really need that google agenda (all things were saved on the phone, not online. )
Thx
Did you update to 4.3 then restore a nandroid from 4.1? If so then then the internal sd card mounting may be your issue, try formatting the internal sd before restore.
Or use titanium backup/philz recovery to restore just the files you need from the backup, instead of the whole thing. If you you had used Google agenda then it would all be saved in your account.
Good luck.
Sent from my GT-I9300 using Tapatalk
boomboomer said:
Did you update to 4.3 then restore a nandroid from 4.1? If so then then the internal sd card mounting may be your issue, try formatting the internal sd before restore.
Or use titanium backup/philz recovery to restore just the files you need from the backup, instead of the whole thing. If you you had used Google agenda then it would all be saved in your account.
Good luck.
Sent from my GT-I9300 using Tapatalk
Click to expand...
Click to collapse
Thank you for your reply. And yes, I tried also to restore the backup from 4.3 but it didn't work. So I went back to 4.1.2 and neither that worked.
About the philz recovery. With which one can I restore just the files I need? THat would be great.
http://forum.xda-developers.com/showthread.php?t=2002953
or
http://forum.xda-developers.com/showthread.php?t=2201860
ANd yes I didn't save it online, but saved on my phone. With the thought aahh I already made a back up of everything so no problem.
alternative:
you could try the app "nandroid manager". it is able to browse through your nandroid backups and to restore single apps together with their data.
http://forum.xda-developers.com/showthread.php?t=2044414
GiGaN00B said:
About the philz recovery. With which one can I restore just the files I need? THat would be great.
http://forum.xda-developers.com/showthread.php?t=2002953
or
http://forum.xda-developers.com/showthread.php?t=2201860
Click to expand...
Click to collapse
for philz touch:
use the first link you posted, it is for i9300 downloads
the second one is the main thread which contains how-tos, FAQ...
Darkened_Sky said:
alternative:
you could try the app "nandroid manager". it is able to browse through your nandroid backups and to restore single apps together with their data.
http://forum.xda-developers.com/showthread.php?t=2044414
for philz touch:
use the first link you posted, it is for i9300 downloads
the second one is the main thread which contains how-tos, FAQ...
Click to expand...
Click to collapse
Thank you for your help. I will try it when I get home.
/Edit: IT WORKED! Thank you !

Categories

Resources