[Q] Restoring applications only from a CWM backup? - Android Software/Hacking General [Developers Only]

Device: Galaxy Tab 10.1 running HC 3.1 (non-TW).
Last night I was messing around with my tab and screwed things up somewhere along the way when messing with the browser's bookmarks .db file. Not quite sure I what I did, but I get stuck in a bootloop now. After many attempts, I've resigned myself to the fact that I'm going to have to start fresh and clear data on my device.
So, I was able to boot into CWM and make a backup in hopes of being able to restore the download applications' data (specifically the data). Is it possible to extract the user downloaded apps & data from those apps out of that CWM backup? If so, can I restore those apps by moving those files onto my device somewhere (where)?
Can someone point me in the right direction here? Basically, trying to figure out where apps like MyBackup and Titanium push the user data files and applications.
TIA.

Hehe....I've had a problem similar. Find unyaffs and run it on the cwm backup on your computer(You'll have to pull it from your SD card). All your files will be in the directory you extracted it to
sent from my epic 4g. with the key skips.

Related

[Q] Native Apps

I had some native apps get deleted in the process of trying to convert them to user apps and move them to sd card (stupid I know!). Titanium backup hung up during the process and when it closed it apparently didn't finish and so the apps just went away. And I thought I had backed everything beforehand but apparently not.
They were the text messaging, photo gallery and calculator. Is there a way to reload just these three to the phone? It is rooted and I am still running the stock setup but need to get these loaded again (and frozen like I had them).
There are stock nandroid backups in the dev section.
Seeing as the stock Nandroid backups are a real pain to use, you might just want to check out a stock-ish ROM instead... like b_randon14's. The complete and "stock" ones should have all the apps the way they came originally.
...Although how you return some of the stockier apps without just flashing a darn system ROM could be difficult...
Do a nandoid backup
Flash a stock ROM
grab the apk files from /system/app and copy them to your SD card
restore your backup
Pop the missing apk's in /system/app
I keep a local copy of all the stock apk's on my PC, it's helped having them a few times

[Q] Clockworkmod recovery backup not working properly

Hi gents. I am trying to restore my phone to a recent clockworkmod recovery backup but several of the latest backups won't restore the downloaded programs of the time, nor do they seem to be restoring the general Android settings. Older backups are working perfectly, however, and I can't think of any significant or unusual changes I made to the system that could stop it working properly. Also, I have been backing up and restoring the same way.
I'm using Revolutionary CWM v4.0.1.4, HTC ICS 4.0.4 (w/ older HBOOT for S-OFF), HTC Desire S.
I find this very strange, and unsettling that clockworkmod's backup may be unreliable. Has anybody experienced this?
Another thing, I have also been backing up the entire SD card data in the later backups (just copying to computer via card reader), thinking it may be best to restore backups with this data, but it seems to not make a difference whether this is done, or the data left as-is, or the card cleared. What's best practice in regard to the Android data that's put on the SD card?
My phone is up the creek. Help!?
i am having the same problem restoring CWM v4.0.1.4 backups on my galaxy s2: older backups restore perfectly and newer backups restore incompletely (some settings and SMSs, but no apps and no contacts).
i believe this is an issue with large nandroid images (containing >10,000 files) being unable to restore properly. this implies the backup itself is intact, luckily.
read this:
http://forum.xda-developers.com/showthread.php?t=1154892
to rebuild my phone i started by using unyaffs on my PC to access the files on the CWM nandroid image and restore my contacts, call logs, etc:
http://forum.xda-developers.com/showthread.php?t=1370349
you can find additional file locations listed in this thread:
http://forum.xda-developers.com/showthread.php?t=969650
i then used appextractor (available in the play store) to manually restore my apps and app data from the CWM nandroid image. some needed to be redownloaded.
it's a schlepp but better than losing everything entirely.
i've read that TWRP is a more reliable way to backup and restore. i'm certainly not using CWM again.
regarding your second question, the data on your internal and external SD card is irrelevant to the function of the OS, but some apps may rely on that data. for example large apps install on the SD card.
Thanks so much for that matey. I searched and searched but hadn't come across the 10,000 files limitation. How annoying!
Anyhoo, before I saw your post I ended up restoring the latest working backup and reinstalled apps, configured things, got the device mostly up to speed.. but there were some sentimental Messages I wanted to restore. I got that unyaffs exe, the 10,000 file fix one, and managed to extract the mmssms.db just fine..
But I soon learnt it seems to be a nightmare to get it back into ICS because the SQLite db is in full-vacuum mode or some such, meaning it is cached and rewritten to help avoid fragmentation or some such. So I overwrite the mmssms.db, set permissions and ownership, reboot, and it's overwritten with the current one. Argh. I tried clearing cache. Tried running SMS backup/restore apps while the 'good' mmssms.db was in place, but they seem to look at the db cache/temp data, not the mmssms.db.
For those facing my situation and want Messages from CWM/nandroid backups in ICS, I found a great tip just posted on one of the threads N-acetyltransferase linked;
RichAP said:
I did this yesterday using Titanium Backup for my SMS/MMS
You need to go into Preferences and check the *Migrate system data [Experimental] option
Then you go to More - Extract from nandroid backup
There it is listed as Dialer Storage
Click to expand...
Click to collapse
I had tried using TiBu to restore Messages from nandroid backup (no success), but Dialer Storage!? How annoying. Anyhoo it's sorted.
Then I quickly found a good alternative recovery and quickly bought the premium version of 4EXT. It's very good, but get this, it actually recovered my latest CWM recovery backup no drama, just like that! Ahh well I didn't need those hours of my life anyway. I've often thought the Desire S's codename Saga is rather apt.
In conclusion, TiBu looks damn good and 4EXT is a ripper. I'd recommend it however the Galaxy S2 support is apparently unconfirmed thus far. Maybe look into it nevertheless.
Thanks for the help dude.

[Q] Can't create backup using TWRP

I just rooted my phone and I am a total noob with all the software and such. I have a Samsung Galaxy Centura. I installed TWRP to make some backups and I haven't been successful with it. I check all the things I want to backup, select the backup name and hit the slider. The phone reboots into recovery and gives me a menu with 5 items on it. One to reboot the phone, 2 to wipe data, and 2 to load roms. I did some digging around to figure out how things are supposed to work and I think there should be a selection for a nandroid menu or something. I don't have that.
I tried putting the backup on internal vs. external, and also shortened the backup name.
Anyone have any idea where I might be going wrong?

[Q] Problem with CWM backup files

Hi everybody,
I need help accessing backed up data of my Nexus 5. I have made several backups with CWM and I downloaded these backups as ZIPs to my desktop pc via Wifi with the Rom Manager App. Everything worked fine so i thought I was safe... big mistake. Because now I deleted the original backups from the phone, and the restore from the downloaded ZIPs is not working.
The problem is that all the ZIPs seem to be corrupted. I cannot open them for example with 7zip (sadly I didn't test that before) on my windows PC, and when I restore them in the recovery mode on the phone, CWM says: can't open (bad file). Strange is, that all the 5 downloaded ZIPs have all the exact size of 2 GB. That is unlikely, because I made these backups within several months, in my opinion the size of the backup should differ, because the data on the phone changed over time.
Can anybody tell me, how to get to the data within these ZIP files?
And why have all the CWM backups the same size? Is there something that limits this to 2 GB?
Any help is appreciated.
Jan7747 said:
Hi everybody,
I need help accessing backed up data of my Nexus 5. I have made several backups with CWM and I downloaded these backups as ZIPs to my desktop pc via Wifi with the Rom Manager App. Everything worked fine so i thought I was safe... big mistake. Because now I deleted the original backups from the phone, and the restore from the downloaded ZIPs is not working.
The problem is that all the ZIPs seem to be corrupted. I cannot open them for example with 7zip (sadly I didn't test that before) on my windows PC, and when I restore them in the recovery mode on the phone, CWM says: can't open (bad file). Strange is, that all the 5 downloaded ZIPs have all the exact size of 2 GB. That is unlikely, because I made these backups within several months, in my opinion the size of the backup should differ, because the data on the phone changed over time.
Can anybody tell me, how to get to the data within these ZIP files?
And why have all the CWM backups the same size? Is there something that limits this to 2 GB?
Any help is appreciated.
Click to expand...
Click to collapse
It's better to use TWRP.
For the future OK, but that does not help me getting to my data of the existing CWM backups...
I don't need to completely restore it on the phone, it would be enough to get to the media folder, to get some pics, and maybe to the call/SMS log and WhatsApp log.
Jan7747 said:
For the future OK, but that does not help me getting to my data of the existing CWM backups...
I don't need to completely restore it on the phone, it would be enough to get to the media folder, to get some pics, and maybe to the call/SMS log and WhatsApp log.
Click to expand...
Click to collapse
If you want your pics back, you won't get them from CWM backup, because nandroid backups do not backup camera pics.
Best solution is to use this: https://play.google.com/store/apps/details?id=com.defianttech.diskdigger.

Need help restoring app data from a backup

A few days ago, I upgraded my Redmi Note 4X from the Android 7 based MIUI 11 to custom MIUI 12 firmware, based on Android 9. Since I wanted to keep all my apps, I first rooted my phone and did a backup with Super Backup & Restore. After installing the new ROM (which was already rooted with Magisk) and installing Super Backup again. For some reason, it deleted all the data from its backup folder on my MicroSD Card. Fortunately, I was able to recover just about everything using some data recovery software on my PC.
For some reason, if I restore the apps using Super Backup, they crash when I open them. This is happening to, after flashing the MIUI 11 firmware again. It also is happening on a different phone.
As an alternative, instead of using Super Backup, I've tried copying and pasting the app data for an app (that has already been installed again on my phone) that Super Backup backed up, to apps folder on my phone's internal storage, replacing the current data there, with the data from by backup. However, when I do that, although what ever file manager I use, says it has successfully pasted the data, the app data on the phone does usually not get overwritten. To give two examples. When I try and replace the database used by the Meizu Notes app, with the database from the backup it does not get replaced. I even tried to do the same with AROMA File Manager with TWRP and it made no difference. Not only does the Notes app not show the data from my backup, but if I open the database file in a file manager, it also does not show that data. I find this to be strange, as I get no errors when pasting the data from my MicroSD Card and choosing to overwrite the existing data.
The second example, is this. I tried to use my old Coc Coc Browser's bookmarks file. After doing so, Coc Coc, had no bookmarks. I then manually added a bookmark to Coc Coc, after which, I tried copying the bookmarks file again. Coc Coc now actually had my old bookmarks and not the one bookmark I just added, which is quite strange, as it the file copy hadn't worked the first time.
I am looking for some way to be able to actually restore the app data from my backup. I've already quite a few hours trying to find a solution, with no luck so far. But I figure, that there must be some way to do it. Based on past experiences, I really should have made backups with two different backup apps, as I know that sometimes restoring backups can be problematic. But due to limited free space on my MicroSD Card, I decided not to. I just wish that there was a decent native backup solution for Android, as I always want all of my app data restored when switching ROMs, or phones and not just the apps themselves.

Categories

Resources