Sharing HOW TO RESTORE .APKs FORM CWM BACKUP - General Topics

DO, ANYONE (AS A NOOB) NEEDS SOME SYSTEM OR USER INSTALLED .APKS from CWM (clockwork mod) Backups? It would be easy to get them just by Re-installing the Backups. But in some Cases we don’t want to restore the whole system backup instead of SOME APPS or DATA Only.
So Here’s the Tutorial to Extract the .APKs or DATAs From the Backups which is in the .tar format. (CWM RECOVERY only.) found By ME. (I don’t know if anyone Other than me have already found this Method. Coz I Didn’t find any.)
Go Here! http://forum.xda-developers.com/galaxy-core/general/restore-apks-form-cwm-t2815463

Related

Flash a Data.img?

I extracted all my files from my data.img backup and made it into a .zip. Is there anyway
i can cwm flash that data.zip to get all my data back? I tried just flashing the zip and it says,
"(bad) Installation Aborted."
Any help would be greatly appreciated
mafo5000 said:
I extracted all my files from my data.img backup and made it into a .zip. Is there anyway
i can cwm flash that data.zip to get all my data back? I tried just flashing the zip and it says,
"(bad) Installation Aborted."
Any help would be greatly appreciated
Click to expand...
Click to collapse
Here's a few things you could do assuming that what you want is even in this zip file.
1) Get a working cwm format zip file and take a close look at it because you need to use it as a template if this is going to work. In particular, check out updater-script in META-INF\com\google\android\*. Updater-script is what directs the restore operation so it needs to match what you want to do. You can get the idea by looking at one that restores say, some data or system files, like a kernel will always restore some /system/lib/module files.
2) Since you've got some sort of zip file, make sure it matches the general format of a working cwm zip file and then just make sure step 1) is right.
3) I don't know if this is still a search for .android_secure folder on /sdcard, but if it is you're probably not going to get there from here, because the tf101 generallyl doesn't have that file since there's no need for tf101 -> sdcard app storage. For example, mine never had that folder either on internal or external storage.
4) Kernels aren't in the data or system archives from cwm, so that is possibly some sort of show-stopper too. I'm working on the cwm source today a bit to try to create a boot.img (or in the newer cwm lingo, boot.*.tar) archive. That archive will use blob and boot tools to be able (via the direction in updater-script) burn the blob onto block m*4.
I hope that helps.
Oh yeah, another thing you can try: If you wanted just the 'apps' from the cwm archive, you shouldn't even need the zip file. All you need to do is run Titanium Backup (assuming you've got it or can get it), and use the new feature in options called restore from cwm backup (or something like that). I've used it and it works fine on 3.x and 5.x cwm backups.
-- good luck
hachamacha said:
Here's a few things you could do assuming that what yowant is even in this zip file.
1) Get a working cwm format zip file and take a close look at it because you need to use it as a template if this is going to work. In particular, check out updater-script in META-INF\com\google\android\*. Updater-script is what directs the restore operation so it needs to match what you want to do. You can get the idea by looking at one that restores say, some data or system files, like a kernel will always restore some /system/lib/module files.
2) Since you've got some sort of zip file, make sure it matches the general format of a working cwm zip file and then just make sure step 1) is right.
3) I don't know if this is still a search for .android_secure folder on /sdcard, but if it is you're probably not going to get there from here, because the tf101 generallyl doesn't have that file since there's no need for tf101 -> sdcard app storage. For example, mine never had that folder either on internal or external storage.
4) Kernels aren't in the data or system archives from cwm, so that is possibly some sort of show-stopper too. I'm working on the cwm source today a bit to try to create a boot.img (or in the newer cwm lingo, boot.*.tar) archive. That archive will use blob and boot tools to be able (via the direction in updater-script) burn the blob onto block m*4.
I hope that helps.
Oh yeah, another thing you can try: If you wanted just the 'apps' from the cwm archive, you shouldn't even need the zip file. All you need to do is run Titanium Backup (assuming you've got it or can get it), and use the new feature in options called restore from cwm backup (or something like that). I've used it and it works fine on 3.x and 5.x cwm backups.
-- good luck
Click to expand...
Click to collapse
OK Ill see if the titanium backup way works. I'll report back to you if it works. Also if I do get all my apps back is there a way to get the app data?
Hi - If Titanium is bringing up the selections screen then the usual choices for each app are data/app/data+app, so yes.
The titanium back option is called "extract from Android backup" I can't do
It right now because I don't have my tf with me. But I don't think it will work because
The Android backup I made was currupted. I would get the .android_secure error
And couldn't restore. So if titanium takes the data.img from my Android I'm thinking
It won't work but if I can give it the zip it probably will. I won't be home for a couple
Hours.
thank you so much i got all my stuff back using titanium backup!
mafo5000 said:
thank you so much i got all my stuff back using titanium backup!
Click to expand...
Click to collapse
Cool! --
Congrats.

How to extract files from a recovery.img (CWM6, Windows)

Hi!
I did a nandroid backup of my Jelly Bean system using CWM 6 and now I have six files:
- boot.img
- recovery.img
- cache.ext4.dup
- data.ext4.dup
- system.ext4.dup
- nandroid.md5
Now I need to extract some ogg files (ringtones) from this backup but I cannot access the img files. Titanium Backup can restore complete apps from the backup but I have to extract single files. So I tried unyaffs but it says that the images are not readable.
Is there a practicable solution?
Ikarisan
Hello Ikarisan ,
I'm in the exact same situation ,at the same time...
I'm investigating and will let you informed of my searches here.
I think it was already done somewhere on the web.
From the beginning of my searches, the backup process of cwm store the files in 2 folders , blobs and backup , seems blob is mort important than we think (btw im a noob):
I can't post external link yet but please google : Koushik Dutta New ClockworkMod Backup Format
Regards,
A10Looser
I've been able to do it with RZ Recovery but never with CW?
Sent from my Thunderbolt!
If its only for the ringtones would't it be alot easier just get ZEDGE and find those and download them for free?
Wouldn't files like that be on the internal storage?
Anyway, the only thing that I've found that is able to read / extract apps and / or data from a CWM6 nandroid backup using this new blobs style, space saving thingy is AppExtractor v2.0 Beta from AppsByAndy (I can't link yet).
Such a relief when I found the app.

[Q] Go backup restored problem

I hope it is the right forum to ask.
I've just flashed my GS2 to JB 4.1.2 and Rooted.
Before that I made a mistake and backup my files with Go backup pro.
Now I can't restored because it is not find my backup files on the path..
I have searched in your forum vertically and horizontally and I found some thread about this problem but without a solution.
Could someone please advice me how to restore my files back?
Thank you very much.
Tomer.
tomer_inbar said:
I hope it is the right forum to ask.
I've just flashed my GS2 to JB 4.1.2 and Rooted.
Before that I made a mistake and backup my files with Go backup pro.
Now I can't restored because it is not find my backup files on the path..
I have searched in your forum vertically and horizontally and I found some thread about this problem but without a solution.
Could someone please advice me how to restore my files back?
Thank you very much.
Tomer.
Click to expand...
Click to collapse
I also backup my files using Go Backup pro. The backups by default are in external sdcard ( sdcard1). After flashing a rom you reinstall Gobackup Pro from Play Store. Launch the app and you will see the two tabs onscreen : backup tab and restore tab. Just click the restore tab and you see a prompt showing all backup files. Choose the latest files and click restore.
terrynguyen said:
I also backup my files using Go Backup pro. The backups by default are in external sdcard ( sdcard1). After flashing a rom you reinstall Gobackup Pro from Play Store. Launch the app and you will see the two tabs onscreen : backup tab and restore tab. Just click the restore tab and you see a prompt showing all backup files. Choose the latest files and click restore.
Click to expand...
Click to collapse
I tried it and still I don't have any backups on screen.. :crying:
See which storage has been set as default. ( under settings - storage)
If you backed up to SD and now internal memory is made as default, it won't show the files. (as it searches only internal memory)
- - - - - - - - - - - - - - - - - - - - - - - - - -
LIFE!
IT'S WHAT YOU MAKE OUT OF IT!
Thank you for your answer.
I did backup on the SD card.
I did check and both shows no backup..
GoBackup doesnt recognize old backup files problem solved!
OK...got something for all of u punks like me out there. After installing new ROM i couldn't restore my backuped upfiles with GoBackup coz app couldn't recognize or find old backup files. I really had some important stuff there and wasn't intending to just give up. I have read many forums but everyone said to just give it up and forget it. Said hell no! So after few days of trying (reinstalling rom,gobackup,deleting caches and god knows what else i have tried) i came a cross of this lame idea . I actually opened GoBackup files on my GoogleDrive(so.... i had backup but app couldn't find it or recognize it to be able to restore it) and checked what i had installed. Made a list and installed all apps i had when i was making backup. Then i installed apps and made backup via gobackup. And here it goes... i copyed old backup files in latest backup directory , renamed old backup files using names from new files. So u get your old backup using file names of latest backup. Now app will recognize your old backup coz u renamed them. App thinks your old backup is actually latest backup. U just go into app and restore your things.
So:
1.Check out your GoBackup directory where u have your backup files (which after rooting app doesn't find or recognize) and make a list of apps u wanna restore
2.Install apps from your list
3.Make new backup of all apps u wanna restore later(old ones u had installed)
4.Now open backed up files that u wanna restore and open latest backup directory and rename old files using names from new backup files.
5.After renaming old backup files, move them into latest backup directory replacing latest backup files with renamed ones.
6.Go to GoBackup app and make restore of latest backup which is actually old one .
Found an easy solution
1. Connect your phone via cable.
2. Open SD card, locate GOBackup folder and press copy.
3. Go to local memory and press paste.
Now open GOBackup on your device, and its a miracle, all your backup there

[Tutorial] How to restore SMS and Contacts from old CWM backup.

Normally, to restore SMS or MMS from an old backup, one can just restore the nandroid backup, use a third party SMS backup program to backup the data to sdcard or gmail, restore or install new rom, then restore the SMS from the third party backup software.
However, in my case, I had a nandroid with data on it that I wanted to keep but that wouldn't boot.
So I did some searching and others have had this problem before but I figured I'd put it here for others that may have the same problem. I am not taking credit for this I just found various pieces of info around the web and xda.
Requirement:
1. Winrar.
2. CWM backup
3. Windows
4. Brain
Here's the process:
To restore SMS/MMS from a CWM backup using MS Windows:
1. Install Winrar on your system
2. Open CWM backup folder
3. Now extract data.ext4 on your system
4. The contents of the data.img will be extracted to this folder. Wait for extraction to complete
5. Browse to data\data\com.android.providers.telephony\databases in the extracted folders
6. copy mmssms.db, mmssms.db-journal, to sdcard
7. use root explorer to copy these three files to \data\data\com.android.providers.telephony\databases
To restore contacts/call log from a CWM backup:
Repeat above process for \data\com.android.providers.contacts\databases
contacts2.db, contacts2.db-journal
Note: Be aware that replacing the existing files with those extracted from the backup will remove the existing data so if you're not 100% sure what you're doing, change the names to mmssms_OLD.db or otherwise back them up before pasting the files from the backup.
NOTE : You can also use Nandroid Browser , Nandroid Manager
Sorry to say.....not worked for me....
good work
Thank you, it works on my Samsung Galaxy S2 Gt-I9100,
you are my Hero.
I had no luck with this as the app versions seemed to differ. But there's this awesome python tool on github -- github.com - t413 - SMS-Tools -- which let's you export the db file's content into an xml file which can then be restored with "SMS Backup & Restore". That worked!

RESTORE .APKs FROM CWM

Hello Friends This is my first TUTORIAL.
DO, ANYONE RATHER THAN ME (AS A NOOB) NEEDS SOME SYSTEM OR USER INSTALLED .APKS from CWM (clockwork mod) Backups? It would be easy to get them just by Re-installing the Backups. But in some Cases we don’t want to restore the whole system backup instead of SOME APPS or DATA Only.
So Here’s the Tutorial to Extract the .APKs or DATAs From the Backups which is in the .tar format. (CWM RECOVERY only.) found By ME. (I don’t know if anyone Other than me have already found this Method. Coz I Didn’t find any.)
Steps:-
1. The BACKUP of your ROM (from which you want to Restore .APKs / DATA)
2. A Computer / Android Device.
3. 7 – Zip installed (for a Computer PC) / 7 zipper (free in the Play Store) Installed (for a Android Device)
4. Now go the Backup folder and Open It.
5. If you want to restore System (Pre-installed) .APKs of CWM RECOVERY find the File Named “system.ext4.tar.a”
6. If you want to restore your USER INSTALLED .APKs of CWM RECOVERY find the File Named “data.ext4.tar.a”
7. Open it with the Respective Installed “7-Zip | 7 Zipper” via the Device you have.
8. And Navigate to the Folder “system --> app” for Pre-Installed | and for USER installed APK.s “data --> app”
9. Now you’ve got to the Respective Place and you have the Whole .APKs of your Android. Restore / Copy them Which ever you want.
10. By this Method you can obtain much more than just APKs. Coz it has simply all the Vital Data or Information of your ROM.
Note: For Installing SYSTEM APPS you have to put it to your Root/System/App folder. And give it the Appropriate PREMISSIONs.
I hope You find it Helpful Noobs. just like me.
Thanks. & Regards,
v_singh (VIPIN SINGH)
v_singh said:
Hello Friends This is my first TUTORIAL.
DO, ANYONE RATHER THAN ME (AS A NOOB) NEEDS SOME SYSTEM OR USER INSTALLED .APKS from CWM (clockwork mod) Backups? It would be easy to get them just by Re-installing the Backups. But in some Cases we don’t want to restore the whole system backup instead of SOME APPS or DATA Only.
So Here’s the Tutorial to Extract the .APKs or DATAs From the Backups which is in the .tar format. (CWM RECOVERY only.) found By ME. (I don’t know if anyone Other than me have already found this Method. Coz I Didn’t find any.)
Steps:-
1. The BACKUP of your ROM (from which you want to Restore .APKs / DATA)
2. A Computer / Android Device.
3. 7 – Zip installed (for a Computer PC) / 7 zipper (free in the Play Store) Installed (for a Android Device)
4. Now go the Backup folder and Open It.
5. If you want to restore System (Pre-installed) .APKs of CWM RECOVERY find the File Named “system.ext4.tar.a”
6. If you want to restore your USER INSTALLED .APKs of CWM RECOVERY find the File Named “data.ext4.tar.a”
7. Open it with the Respective Installed “7-Zip | 7 Zipper” via the Device you have.
8. And Navigate to the Folder “system --> app” for Pre-Installed | and for USER installed APK.s “data --> app”
9. Now you’ve got to the Respective Place and you have the Whole .APKs of your Android. Restore / Copy them Which ever you want.
10. By this Method you can obtain much more than just APKs. Coz it has simply all the Vital Data or Information of your ROM.
Note: For Installing SYSTEM APPS you have to put it to your Root/System/App folder. And give it the Appropriate PREMISSIONs.
I hope You find it Helpful Noobs. just like me.
Thanks. & Regards,
v_singh (VIPIN SINGH)
Click to expand...
Click to collapse
or easier just restore from nandroid manager
ngoralph said:
or easier just restore from nandroid manager
Click to expand...
Click to collapse
hmm... thanks for your advice sir.
but does it offers to restore odex files.?
and other kind of files like built.prop etc.?

Categories

Resources