TWRP Flashable zip for APKs - Sprint Galaxy Note 4 Q&A, Help & Troubleshooting

Hi does anyone know how to make flashable apk zip file? I want to make a zip file for my backed up apps to flash in twrp. Thanks for you help!

Titanium backup pro can create a flashable zip of backups of your apps. Although I'm not to sure whether if its the free or the paid version you can do this on.
When you open the application, theres a checkmark up at the top, press that. Then you can backup all of your apps under the Backup category.
Once done, you then scroll down to the bottom under the RECOVERY MODE options and select Create "update.zip" from app+data backups.
You then can restore with the update.zip of all the backups you have made, whether you have chosen app, app + data, or data only.

Related

Creating an unique update.zip

I switch roms constantly on my phone and the most annoying part of that is having to every time enter my gmail, facebook, twitter and other information that never changes... Is there anyway to make a FLASHABLE update.zip that I can just install after a rom flash? Out would even be better if I can put certain applications in there too. Like my Angry Birds, Rom Manager, and Titanium Backup. You know just the apps that no matter what rom I use I always have to reinstall. This would save me and whoever find themselves in this situation alot of time when it comes to experimenting with different Roms. Please help!
Sent from my PC36100 using XDA App
I don't know about login information but you can make an update.zip with miscellaneous apps that you don't want to re-download. It's kind of a pain (personal opinion) to make an update.zip but here are some directions:
1. Create a folder, we'll call it "update".
2. Inside "update" make two new folders called "META-INF" (without the quotes and capitalized) and "data" (also without quotes).
3. Inside "META-INF" create a folder called "com".
4. Inside "com" create a folder called "google".
5. Inside "google" create a folder called "android".
6. Close the folders you have open and re-open "update".
7. Open "data" and create a folder called "app".
8. Add the .apk files you want to flash to "data/app".
9. I've attached a few files to the post, unzip "secFiles.zip" and put "CERT.RSA", "CERT.SF", and "MANIFEST.MF" into your "update/META-INF" folder.
10. Also attached is "script.zip". Unzip this and add the "updater-script" and "update-binary" to "update/META-INF/com/google/android".
11. Now that you have the folder structuring complete you can zip it all up. When you zip it, make sure you zip "data" and "META-INF" NOT "update". You will have errors if you zip "update"!
12. If you have ClockworkMod Recovery you do not need to sign it. If not then I recommend making a nandroid backup and copying it to your computer so that your WiMax (4G) keys are backed up, then switching to ClockworkMod Recovery.
13. Make a nandroid backup anyways! Don't come calling me if you're phone messes up. I do not believe there to be anything wrong in my directions but I can't afford to fix you're phone.
14. Flash away! Hopefully it worked. I'll try to elaborate if you're confused.
Thank you so Much! but thats just half the equation... Titanium Backup has a way to backup and restore the Accounts and Sync data which is what the goal is here... im thinking about finding a way to extract that and put it into a flashable zip. Im learning alot about the android structure and it might now be long until i unintentionally solve this myself
You could add Titanium Backup to your flashable zip and have it preinstalled as well as your backup wherever it belongs. (Sorry, don't use Titanium Backup)
Or another idea to try out, if you have Clockwork Recovery you can restore just the data partition. I'd be careful of doing it but if you're in the mood to experiment I think it might do what you're looking for. Note that you'll have to have a data.img nandroid backup of everything you want. If you manage to figure it out please share because I hate typing my ridiculously long passwords every time I flash a new rom.
you can make a flashable zip for titanium. from the app, press menu > more > create update.zip
this option gives you an option to create a signed zip file (you need a free app from the market called zip signer) that will install titanium as either a user or system file
It would be great to know how to create a update.zip of the titanium backups and that way, it would include +data
Anyone know how to do that?
Keri

How To Create CWM Flashable App zip File(ClockworkMod Or Any Custom Recovery)

Creating ClockworkMod or similar recovery support flashable zip file is the best and
quick way to restore entire apps at once. If you use an application based restore
method, such as titanium backup or similar app, you have to use package installer, it
takes few minutes to complete. App2zip, is one of the free and best app that can easily
create all the user app and system app as a custom recovery support flashable zip file.
If you install a new custom ROM, this is the best way to batch restore your previous
apps. Unfortunately this app doesn't support stock recovery. So you have to flash a
custom recovery such as cwm, cwm based, etc.
Developer of this app mention before use app2zip application, its better to test it. For
instance create a backup and uninstall few apps (one or two), then reboot into
recovery and flash it.
How to create flashable app zip file on android phone.
Install app2zip from Google play store via web browser in here, via play store app in
here.
After the installation completed, run the app and grant the superuser permission.
Now choose which apps you need. You can select only user app, only system app or
combination of them.
Backup file name popup window type suitable name, you can use any custom name
for that.
Now you can see the backup progress. Wait for a few seconds to complete the
installation.
After it's completed you can see the following type screen shot.
Your zip file will save on the SD card. (Not inside the folder
How to restore flashable app zip file.
Boot into the recovery mode.
In the recovery main menu go to "Install zip from sd card>choose zip from sd card"
Choose the app zip file that in your SD card.
Select "Yes - Install xxxx"
Wait for a few seconds to complete the process. When it displays "Install from
sdcard complete. " reboot the phone.
Now all your previous app restore.
Didnt work
Sent from my GT-S5360 using xda app-developers app
works for me , nice job
Bro I have link2sd enabled and I ve all my apps in my ext partition.
Now if I create a zip via this app and flash it the next time I change my rom.... Where will the apps get installed.?
Because our phone has got only 120 mb internal and my zip will be like 170mb right?
Will it get installed to sd card?
Tapatalked using my galaxy y
kishorsidu said:
Bro I have link2sd enabled and I ve all my apps in my ext partition.
Now if I create a zip via this app and flash it the next time I change my rom.... Where will the apps get installed.?
Because our phone has got only 120 mb internal and my zip will be like 170mb right?
Will it get installed to sd card?
Tapatalked using my galaxy y
Click to expand...
Click to collapse
The apps will get installed in system/apk , not in the SD card or the external one

Titanium Backup: Restore app data from zip file?

I have downloaded an app + data (so it seems), from a friend. He made a backup for me and told me I could restore it using Titanium Backup.
It's a zip file and it contains a .tar.gz of the data, a .apk.gz (app) and a .properties file.
The .properties file seems to contain Titanium Backup information.
So I assume there should be some way of importing this zip file using Titanium Backup. But I can't find that option.
What I can find is "Backup" (which creates a backup of an app and stores it *somewhere*) and "Restore", where I can't specify a path or anything.
How can I restore the data inside this zip?
Extract that .zip file to /sdcard/TitaniumBackup/ folder. If you installed app which you want to restore go to Titanium Backup app and just restore it :good:
D0GuKaN said:
Extract that .zip file to /sdcard/TitaniumBackup/ folder. If you installed app which you want to restore go to Titanium Backup app and just restore it :good:
Click to expand...
Click to collapse
Can someone please help me? I have all of my backed up info on Google Drive from TB. I moved that info from Google to my phone and have tried to batch restore, but it keeps showing 0 files. Please help as I have a lot of apps and data backed up and I don't care to start over. I purchased the TB Pro app for just such an occasion and now I can't use it.
SmoothTrickle said:
Can someone please help me? I have all of my backed up info on Google Drive from TB. I moved that info from Google to my phone and have tried to batch restore, but it keeps showing 0 files. Please help as I have a lot of apps and data backed up and I don't care to start over. I purchased the TB Pro app for just such an occasion and now I can't use it.
Click to expand...
Click to collapse
Did you solve your problem?
buu1152 said:
Did you solve your problem?
Click to expand...
Click to collapse
No. I never received a response so I just gave up and started over.
D0GuKaN said:
Extract that .zip file to /sdcard/TitaniumBackup/ folder. If you installed app which you want to restore go to Titanium Backup app and just restore it :good:
Click to expand...
Click to collapse
This works indeed.
I selected a batch operation for backing up apps and system data. Downloaded it via the TB Webserver and thought I was okay.
Tried restoring by uploading it to my Nexus via TB Webserver anddd it's gone. Not in the Titanium Backup app, nor to be found on the Nexus with a file browser.
Uploaded the zip manually using an usb cable to the emualted sd andddd no,option in Titanium Backup to say "its here!".
Downloaded an unzip thingie in the Play Store, unzipped the shizzle and let the files in the zip -one level down- being unpacked in the TitaniumBackup folder.
Restarted TB and yay, it can see again. Batch restored everything and... it works. Kinda. Stuck on Swiftkey as we speak. But this is the best I could come up with.
Sigh.
1. Is there any method to update the apk files stored in the zip file with newer version ?
2. How can we delete /update the backup apks with newer version?
rohitshakti said:
1. Is there any method to update the apk files stored in the zip file with newer version ?
2. How can we delete /update the backup apks with newer version?
Click to expand...
Click to collapse
There may be a better way to do this, but somewhere in Preference you can tell it how many backups to keep. I think the default is "All". Set it to 1 and that should do the trick.

[Q] embarased for asking this.

In TWRP, when you flash a rom you are pointing it to a .zip file, or bootloader or modem or whatever. Great, but when I create a backup of my rom in TWRP it doesnt make a flashable .zip it just makes 4 .win files. If I then go into TWRP and select restore it asks for the location of the .zip and if I go to that location obviously there is none to be found. Do I just use like winrar or 7zip and make it a .zip or what? I dont understand this and I better because If I ever need it Im screwed.
TWRP backups are not zip files. You point it to where TWRP created the backup folder.

How to manually restore a TiBU flashable zip?

I ran into a bit of a problem with a Titanium backup.
Yesterday I upgraded to 5.0. OTA didn't work with CWM, so I got the pro version of Titanium backup and created a flashable zip of my apps and system data. Then I flashed 5.0 and CWM, and restored root with the kernel mod. All good. Then I tried to flash the zip file that TiBU created with CWM. CWM reports that it can't flash the file, says it is bad. File looks valid, it is 2.4GB.
I opened the zip on my mac and all my apps and data are there. What is the best way to get my apps and data back? Can I move the exploded zip file to a directory on my phone and then Titanium will be able to restore them? There are 700 files in the zip, an apk, .properties and a .tar.gz for each app.
Thanks!
slide
ok, looks like I can push the files to /sdcard/TitaniumBackup and TiBU will recognize them and be able to restore them. Good to go, but thanks for being there
-slide

Categories

Resources