[App idea] Restore Titanium backups by update.zip - Android Software Development

i have a great idea for an app to scan your titanium backup folder, and create an update.zip to restore all apps and data after a rom flash.
i have all the details worked out!
i know how to convert the tibu backups to useable restoreable data!
though its not hard.
this could easily be done through a script on pc or possibly through an app.
but i am just not a programmer, in either regard.
need experience with:
creating cwm 2 and 3 flashable zips (edify and scriptify)
possibly other scripting for editing install directory
unpacking tar zip and gz files
creating UI would be nice as well for whichever platform it ends up on pc or app
PM me for more details.
this would be a great tool!

As far as I know, each Titanium backup has 3 files - one bzip2 for the APK, one for the data, and a "properties" file, which containt the market link, app install location, backup date etc...
I think it is possible to write an extention to ClockworkMod/Amon-Ra for restoring Titanium backups. Don't count on me to do it, I don't have any experience with the Linux kernel/Android custom recoveries.
As for a desktop/dalvik application, it should be very simple to pack the backup into a flashable .zip, I'll try to do such an app soon.

Nvm ignore me...
From something awesome

May this help? I'd really like such an app!
http://www.apps-builder.com/en/home

The paid version of the app will do this for you. Also let's you decide whether the. Zip is signed or not. Hope this helps.
Sent from my SPH-D700 using XDA App

i have the paid version and that zip file that it creates only reinstalls titanium backup not all your apps.
so no it doesnt help. i already have the paid version, and understand the features in full.

Thats what my nvm ignore me was about... i thought that update.zip did the apps as well.
Anyway this would be awesome for people who flash a lot of roms
TRusselo said:
i have the paid version and that zip file that it creates only reinstalls titanium backup not all your apps.
so no it doesnt help. i already have the paid version, and understand the features in full.
Click to expand...
Click to collapse
From something awesome

Kick me while I'm down, I thought the Pro Version did that as well. The file it makes certainly looks big enough. I haven't taken a look at it. But my question is how is the update.zip, which I can't get to install, different from just reinstalling the .apks, which is how I get it working in the first place?

TRusselo said:
i have a great idea for an app to scan your titanium backup folder, and create an update.zip to restore all apps and data after a rom flash.
i have all the details worked out!
i know how to convert the tibu backups to useable restoreable data!
though its not hard.
this could easily be done through a script on pc or possibly through an app.
but i am just not a programmer, in either regard.
need experience with:
creating cwm 2 and 3 flashable zips (edify and scriptify)
possibly other scripting for editing install directory
unpacking tar zip and gz files
creating UI would be nice as well for whichever platform it ends up on pc or app
PM me for more details.
this would be a great tool!
Click to expand...
Click to collapse
Good idea but I think you will run into problems if you restore from recovery... I don't think app ID's (and therefore permissions) will be correct and I don't think the apps will re-link to the market (if the id's aren't correct).
Running the fix permissions script after the restore might solve this.
But, other than selective restore, what benefit would this method have over say simply restoring the /data partition part of your nandroid backup?
Nevertheless, if you need help with updater-scripts send me a PM. If my concerns are unfounded then this is a worthwhile idea.

Related

Titanium Backup

hi i downloaded this and i cant figure out how to restore files??
the reason of this is svitching bulids
Tap on "Got problems" and let it download that package or program that it needs. Then it will work. You will also need su.apk. You can get su.apk from any of Mdeejay's builds. I would attach it if I were at home.
Edit: you can get su.apk from HERE on XDA Developers.
i managed to backup my files but the restoring part is to compicated is there another easier way to backup my files and i have already the superuser app

Transforming a Nandroid Backup to a flashable zip via clockwork recovery?

I have a friend over on the east coast that isnt following direction as well as one would hope and is a little scared about rooting his phone and getting it to be as good as my X is. I finally got it rooted for him but he is freaking out about using a clean nandroid backup i sent him and dumping it in the correct directory for nandroid backup and restore giving him a clean image of my phone...
I had assumed that this would have been the easiest method but it got me thinking.
Could i rename my nandroid back up folder the ending tree folder that holds the .android_secure.img, cache.img, data.img, nandroid.md5 and system.img ... like clockworkmod/backup/2010-11-25.05.05.13 could i just pop all those files into a .zip named whatever and direct him to clockwork recovery and flash zip from sd card?
Or could someone point me into a direction on how to accomplish that? I think i would like to also do it for my self and upload it to my dropbox account for later access or to share with friends.
I noticed when i opened like the latest rubix rom that it didnt contain any files similar to that so im curious if its possible.
Also one last question, while i have your technicle mind at attention..
Could someone answer me, in Titanium backup it gives you the option to create a update.zip, then it gives you two radio buttons one says titanium backup will be installed as user application and then System application.
I know that the whole create update.zip thing is for flashing it to the rom from recovery. But what is the diffrence bewteen those two options. What is best and what is the diffrence..
Thanks for letting me pick your Brains!
One drawback of giving him your nandroid backup is that it contains YOUR gmail account with your contacts, facebook account (if applicable), among all other sorts of your personal stuff. In my past experience, you can ADD a gmail account to the phone, but you cannot get rid of the primary/original account so he will have both on there. Other than that, it actually does work though (at least it did on the Droid 1).
Wipe your data and make a nandroid before you reboot and sign in. that way your accounts won't be tied to it
Sent from my DROIDX using XDA App
Your friend - with all due respect if he's having that much trouble with something this simple I really don't think he should be screwing around with root access in the first place. If he has that little understanding of administrator-level access, why on earth does he even want root? He won't even know what to do with it.
Not trying to be harsh, just trying to understand.
Flash Nandroid - NO, don't do it! I'm sure it can be done, but not in the way you described.
Titanium Backup - system apps reside in /system/app as opposed to /data/app. The only real difference is that system apps will still be there after you do a factory reset.
If your going to let your friend flash a nandroid, then you need to remove your gmail and social applications. If you wipe data as mentioned above you'll lose all non-system apps...basically everything you've installed and set up, which is most likely what you're trying to give him. The only way I can think to make this work is to first create a backup for your use, then remove everything that requires you to log in with adb, then replace all of the apps you removed (extract the rom your running and look in system/app for them - data/app apps can be installed from the market). Reboot the phone to verify that all of your accounts are gone, create the new backup and send it to him. Then flash the backup you made for your use.
The easiest way to give him "your set up" would probably be to make a full backup with titanium (not an update.zip). Backup all user apps and system data. Go into the titanium folder on your sd card and delete all files except the .apk files that have anything to do with gmail or social apps. Have him flash the same rom, copy your titanium file to his sd card, and restore all apps and system data to his phone.
Sent from my DROIDX using XDA App

Nandroid backup problems.

I'm running version 5 (beta) of the Tweaked Stock ICS ROM on my GT-P6800, but I'm having a problem with nandroid from CWM.
I've created some valid nandroid backups in the past, but I found (to my cost!) a few weeks ago that the more recent backups I'd made weren't valid.
Reading the CWM thread over at http://forum.xda-developers.com/showthread.php?t=1542897 it sounded like there was a known problem, but should have been fixed. I flashed version 6.0.1.1 this morning, but I'm still having the same problem.
Instead of getting three .img files and three .tar files, I'm getting the three .img files but then get three small (<1MB) .dup files instead of the .tar files (data.ext4.dup, cache.ext4.dup and system.ext4.dup).
Anyone else seen this? Any ideas why?
Sorry for posting this here instead of in the developers forum - I don't seem to have posted enough on XDA to allow me to post the question in the right place!
Thanks,
Adam.
Cwm now does incremental backups as only the changes from the original backup are done. This results in faster and smaller backup sizes after the original backup. If your original backup is corrupt delete the clockworkmod folder and redo your backup. After that incremental backups will be fast and small.
Sent from my GT-P6800 using xda premium
kishd said:
Cwm now does incremental backups as only the changes from the original backup are done. This results in faster and smaller backup sizes after the original backup. If your original backup is corrupt delete the clockworkmod folder and redo your backup. After that incremental backups will be fast and small.
Click to expand...
Click to collapse
Aaaaah! Right. Hmmmm. I kinda liked the standalone nature of the full backups.
Having been bitten by a broken backup before, I'm rather nervous of testing this out! So if I want to restore an incremental backup, do I select just the latest dated file, or do I need to restore the last full back-up (and it'll restore the original and all the changes), or do I need to restore each increment myself?
Are the backup folders completely portable, such that I can move them in and out of the 'clockworkmod' directory as requried, to force full backups each time?
Many thanks,
Adam.
Just select the last dated backup. I have restored a number of times using Iocerra's cwm 6
Sent from my GT-P6800 using xda premium
Fantastic. Thanks, kishd.
Sent from my GT-P6800 using XDA Premium HD app
Is there any way to make a standalone backup?
And how do we know what backup folder is the main backup? Aka how do we know what one is safe to delete?
I've made several backups on different roms/kernels, and I often delete old backups to free room on sdcard..
edit: I just did a backup after changing backup format to "tar" and it was over 1GB. The previous backups were between 1 and 3 hundred MB, so I assume setting the backup mode as tar does a standalone backup. can anyone confirm?
changing backup format to "tar"
mvmacd said:
edit: I just did a backup after changing backup format to "tar" and it was over 1GB. The previous backups were between 1 and 3 hundred MB, so I assume setting the backup mode as tar does a standalone backup. can anyone confirm?
Click to expand...
Click to collapse
How did you do this? I know I saw the option last night, selected it, and backed up, but then I flashed a couple upgrades and now I don't see this option anymore. I tried deleting the clockworkmod folder and backing up from fresh, but it made a dup backup. I've been burned by a string of broken dup's so I really want the tar format (plus, I can extract apps and data from a tar, but not from the blob/dup mixture). I even see a file in my new clockworkmod directory called ".default_backup_format" that contains only one word: tar. This file had to be created with the backup I just did, and yet it was still a dup style backup.
So, where did you see the option to change format to "tar"? I would really like to know.
Thanks.
kevlar11 said:
So, where did you see the option to change format to "tar"? I would really like to know.
Thanks.
Click to expand...
Click to collapse
advanced backup options in CWM recovery (or same) ))

Pimp my rom rescue

I've looked all over but can't find a rescue.zip for pimp my rom. I didn't mess my device up, I just want a backup in case. There IS one in my SD card but it won't flash.
So, does anyone have a working rescue.zip?
(YES, I know I'm an idiot for not backing it up)
Why don't you just make a backup in TWRP or CWM?
peneoark said:
Why don't you just make a backup in TWRP or CWM?
Click to expand...
Click to collapse
Because I need to have it as it was, which I don't
So I need someone with an unpimped nexus 7 to download it, back up a rescue package and upload it here so I can download it.
Make a backup of your current ROM.
Install the factory ROM and root it.
Make a backup of that.
Restore your current ROM from the backup in the first step.
Get a copy of both of 'em off the tablet someplace safe.
Easy-peasy.
bftb0 said:
Make a backup of your current ROM.
Install the factory ROM and root it.
Make a backup of that.
Restore your current ROM from the backup in the first step.
Get a copy of both of 'em off the tablet someplace safe.
Easy-peasy.
Click to expand...
Click to collapse
The rescue pack is not avaliable at the moment. It will be very simple to fix problems by that way, but the pimpmyrom apk has a button to revert changes but doesnt work if you fail in a bootloop.
Regards
Pimp my rom beta rescue package
Hey now,
Go to this link & download the rescue package I tweaked. Make sure you create a Rescue zip using the Pimp My Rom Beta.apk (Thanks to Androguide. You Rock Dude) and name that one Resuce(1).zip. Extract my Rescue.zip and make sure you switch the build.props out (You can add whatever build.prop mod you want to it) by Opening the Rescue(1).zip and dragging the file to the extracted Rescue.zip. Make sure you open the rm.sh and change the scripts that correspond to your init.d folder using notepad. Last thing go into sys/cpu/scaling_freq and change those numbers to your numbers or you can deleted that folder all together just make sure you delete (extract sys/cpu.....) out of the updater script. Rezip it and it's ready to flash. Hope that didn't confuse you. Yeah you right!
BadBrainsEddie
New Orleans, LA
http://www.mediafire.com/?c3rzl9pxssvz62m

Flashable Zip

If you flash a new rom you would have to redownload the required apps or use an app like Titanium Backup to reinstall them (or manually install each app) which is time consuming.
Its just far easier to make a flashable .zip and keep in on SD card so after each wipe and ROM flash you could just flash this zip and all would be there.
I have made this thread so that members can name the apps to be installed and I will provide you with a flashable zip. The zip file can be flashed through the stock recovery.
BE SPECIFIC
1. List the names of the apps.
2. Whether the app should be paid or free version.
3. List the file hosting site on which i should upload.
4. The zip file will be uploaded within 2 days.
the advantage of titanium would be, that I don't have to reconfigure apps, since I can restore app data too
junkyde said:
the advantage of titanium would be, that I don't have to reconfigure apps, since I can restore app data too
Click to expand...
Click to collapse
the advantage of flashable zip is that it installs apps in just seconds.
and btw we can restore app data through a zip as well
If I have a request, do I PM you or post it here?

Categories

Resources