Where is mmssms.db located in a TWRP backup of Nougat> - General Questions and Answers

I am trying to extract the file mmssms.db from several nandroid (TWRP) backups of Nougat. I know that in Nougat this file was moved to "/data/user_de/0/com.android.providers.telephony/databases". I can browse to this file on my phone but if I browse through the contents of the data partition backup from the nandroid backup files (data.ext4.win00X) the path "/data/user_de/" does not exist. Can anyone tell me where this file can be found in a TWRP backup archive? Otherwise I will have to completely restore these backups one by one to pull each iteration of the file off the phone.

I think that TWRP doesn't backup this folder for the simple raison that Nougat is quite new.
Maybe it backups only a list of folders in /data (but I can't confirm it)
I got just ****ed right now, me too.

Related

Backing up CWM6 backups

I have CWM 6.0.1.0 as my recovery and I have a good number of backups saved on my sdcard spanning a number of different roms (mostly cm10 official nightlies). I understand that the newer CWM backs up roms using a different method than before. When I look in my Clockworkmod directory on the sdcard, I see a BLOBS folder and a BACKUP folder. The latter contains the backups, but they are very small in size. So do I understand correctly that the bulk of the backup information is in the BLOBS folder?
Assuming that's true, how do we safely:
1) Delete individual backup? If I delete a backup from the BACKUP folder, how will it know what to delete from the BLOBS folder? Do we have to actually delete the backup from within recovery in order for it to delete the proper BLOBS info? Or can I delete an individual backup from the BACKUP folder from Root Explorer? If I do that, won't the BLOBS folder continue to grow in size with outdated information?
2) Back up the CWM backups to my PC? I assume I have to back up the entire BLOBS folder to my PC, right? And then I can just back up individual backups from the BACKUP folder, right? But I would need BOTH the individual backup and the entire BLOBS folder back on my phone to restore a backup, right? If so, then I revert back to question 1 and ask how to I pare down the BLOBS folder without messing up individual backups?
Thanks!
You can delete backups from Rom Manager or if using the newest version of cwm you can delete it from recovery. As far as backing it up. I just deleted all but the one(s) wanted and copy the cwm folder to my computer. Hope that helps.
ren274u said:
You can delete backups from Rom Manager or if using the newest version of cwm you can delete it from recovery. As far as backing it up. I just deleted all but the one(s) wanted and copy the cwm folder to my computer. Hope that helps.
Click to expand...
Click to collapse
So we have to delete old backups using Rom Manger or from within Recovery? I delete some of them from Root Explorer, so does that mean the Blogs info will still retain old data. Or will it know to clear that space simply because the old backup files are missing?
Travisimo said:
So we have to delete old backups using Rom Manger or from within Recovery? I delete some of them from Root Explorer, so does that mean the Blogs info will still retain old data. Or will it know to clear that space simply because the old backup files are missing?
Click to expand...
Click to collapse
I'm not sure how the blog info works. I just assumed if you delete from cwm it knows whats the data incorporated with the specific backup and it deletes it with it.
Wow, I tried copying the Clockworkmod folder to my PC via USB and it took over an hour just to index and then it just stopped and failed. I imagine because there are so many individual files in the Blobs folder that it causes Windows indexing to crash. I deleted all the old backups I didn't need, did the free up space thing in CWM and it's still impossible to copy to my PC. I have 3 backups left (from different roms), so I supposed the Blobs folder is going to be pretty large.
So I can see how this backup method works out good on the phone itself because it makes backups easier and faster. But trying to back them up to PC is ridiculous. The old way where I could just copy over an individual backup was much easier.
Isn't there a better way? Someone suggested zipping the Blobs folder up on the device first and then copying to PC, but zipping the Blobs folder is taking forever as well...

Nand backup only like 16megs, what am I doing wrong?

After just rooting first thing I want to do is a nand backup, but after backup complete it is only like 16meg!
Am I missing something here?
Cheers
You are doing nothing wrong... Inside the Clockworkmod folder is 2 other folders... Backup and Blobs...
Backup backs up settings and preferences, Blobs backs up the system data, apps and so forth...
DON'T delete the blobs folder or you won't be able to re-install backup.
Every backup uses the Blobs data files so the actual backup file is very small. Use your file manager to check the properties of the clockworkmod folder and it will be a bit bigger, same with blobs...
ultramag69 said:
You are doing nothing wrong... Inside the Clockworkmod folder is 2 other folders... Backup and Blobs...
Backup backs up settings and preferences, Blobs backs up the system data, apps and so forth...
DON'T delete the blobs folder or you won't be able to re-install backup.
Every backup uses the Blobs data files so the actual backup file is very small. Use your file manager to check the properties of the clockworkmod folder and it will be a bit bigger, same with blobs...
Click to expand...
Click to collapse
Hi thanks for the reply,
ok i found the blods folder.
Problem now is i deleted old backups from recovery, but the blods folder seems to be the same size, i.e. taking up a lot of room on internal mem.
What's up with this?
Clockwork normally made backups in an individual folder, then you could delete the folder/backup, that was it...

[Q] Backup and restore query......

Hi guys,
I just wish to know what if I try to restore my backup after deleting "Clockworkmod/blobs" folder from internal memory of my device? Would I be able to restore the ROM? Or "Blobs" folder is also important to restore the backup?
The size of Backup folder is just 12.4 MB and size of "Blobs" folder is 1.2 GB, so I am assuming that "Blobs" folder is also important to restore the backup?
Hi nice_guy75,
since Version 6 of CWM they use a new backup format.
Koushik Dutta (Koush) said:
New ClockworkMod Backup Format
ClockworkMod Recovery now deduplicates files between builds. This results in way smaller backups.
Don't delete /sdcard/clockworkmod/blobs
Overview
I've gotten a few questions about how this works, so I figured I'd make a post on it. Basically, here's what happens:
The files being backed up are hashed (sha256, not that it matters). Then it checks for a file with the name of the hash in
/sdcard/clockworkmod/blobs
So, if the hash of the file was c5273884b90d490134e7737b29a65405cea0f7bb786ca82c6337ceb24de6f5ed, it looks for /sdcard/clockworkmod/blobs/c5273884b90d490134e7737b29a65405cea0f7bb786ca82c6337ceb24de6f5ed
If the hash file is found, it continues on to the next file. Otherwise, it copies the file to the blobs directory with the file name being the hash.
ROMs and user data, for the most part, do not change too much between builds and backups. So, your APKs, system files, etc, are generally only stored once. This saves a ton of space. Especially between incremental backups.
Some of you may be thinking "well, how do I delete a backup?".
First, never delete the blobs directory. This would actually delete all your backups by rendering them unusable.
Simply delete the usual backup directory, and the next time you run a backup, all the unused hash files will be automatically delete (a process known as garbage collection). The recovery will show "Freeing space..." while this is happening.
Click to expand...
Click to collapse

[Q] Nandroid backup location to copy and delete

Hi All,
I'm trying to do a full backup of an N5 but I can't find the nandroid backups anywhere. I can see them from Clockworkmod (though it's called '1970-03-07.17.53.47' for some reason) but I've used xplorer and ES File Explorer to look in /SDCARD/ClockWorkMod/ and the folder is empty not even a backup folder. I've tried doing a system search for the '1970-03-07.17.53.47' I mentioned it's named at as in CWM but no luck.
I want the file so I can download it to my pc along with other backups and make further backups as i am on a custom rom (omnirom) now.. How do I find where the backup is saved? I need to move it to my pc and delete it to make further backups. Also, Can i delete it from that location and can i save it in the regular clockworkmod backup folder location for further backups? I am losing about 4.17 gb data for that backup and want a simple backup without all the apps and data that wouldnt be so large.
Thanks in advance.
click the link in my signature and look at section 5.4 - the answer is in there if you're using basic CWM

[Completed] Restoring TWRP Nandroid .win files

My Mum's managed to mess up her tablet (seems to have reset it but not factory reset, as it's still encrypted, password protected, etc, just all her apps and even Apex Launcher have vanished) and the only recent backup I can find is a TWRP backup made with Online Nandroid Backup.
TWRP doesn't seem to recognise the files however, as it doesn't list any backups. I looked at the log and see that when pointed to the internal storage (which it can't mount as it's encrypted), it looks in /data/media/TWRP/ and I've recreated that structure on the microSD (where the backups are), giving me /data/media/TWRP/BACKUPS/0000000000000000/2015-04-05--07-14-50/
In that folder I have:
boot.emmc.win
cache.ext4.win
data.ext4.win
recovery.emmc.win
system.ext4.win
and .md5 files for each of those.
The .win files I can open with 7-zip, to show the files without that extension (e.g. data.ext4).
If anyone could help me restore this backup I (and more importantly my Mum) would be very grateful!
I tried installing Nandroid Manager and ES File Explorer and both failed, so something's clearly messed up. SU 2.46 is installed and I checked root with Root Checker and updated Busybox.
OK, I found a good tip to make a new backup (I just ticked boot to make it quick) and check where TWRP puts it. It turned out to be /micro_sd/TWRP/BACKUPS/Lenovo_A5500-HV/
So I moved my existing backup folder there, formatted /data to remove the encryption and then I was able to restore the backup. Now the tablet's stuck in a boot loop though and I can't even boot into recovery, so I'll have to start from scratch and then try and restore just /system and /data.

Categories

Resources