[APP][ROOT][3.0+] Backup2Tar v0.1 Flashable App+Data Backup using Tar. - Android Apps and Games

Backup2Tar is a Free backup tool that I created to help restore my apps after flashing a new rom.
How it works :
Select which apps to backup from the UI
The app generates a tar file on your sdcard (update.tar.gz) with the package files and data.
Finally, the app will generate restore_tar.zip which contains busybox and a small shell script to find update.tar.gz and extract it.
As of right now it's a very simple app, there are no options at all and I made it for personal use and to (re-)learn Java.
FAQ :
Why tar?
because it's the standard archive format on Linux, preserves permissions and user information.
But all the cool kids use zip files.
Yes, sure you can hack a nice updater-script to fix permissions on all files, but it's bound to screw up permissions some way or the other, specially with apps that have executable files in their /data/data/.
Your icons suck
Feel free to create new icons for the app and I will gladly use them.
Is there anyway to help?
Provide me with ideas, ways to improve it, better artwork and feel free to donate!
TODO :
Toggle saving apps' data and/or cache.
Store other important settings (wifi, gps, etc).
Clean up the source code and publish it.
Tested Devices :
N7000 (running 4.1.2 / Phillz Kernel).
Rooted 3.0.0, 4.0.3, 4.2.2 Android emulators (tested using update-binary, not from recovery).
All comments / suggestions are welcome.

Changelog :
v0.1
Initial alpha release.

Sounds useful, downloading now. Thanks!
Sent from my SGH-I897 using XDA

Will this backup my paid apps or only non "protected" apps?

famewolf said:
Will this backup my paid apps or only non "protected" apps?
Click to expand...
Click to collapse
I'm not sure, I don't have any protected apps at the moment to try with.
If you can test and report back it would be great.
The app copies /data/app/xxx.apk and /data/data/xxx, so if the protected files aren't in /data/data they won't be copied.

life.eq.null said:
I'm not sure, I don't have any protected apps at the moment to try with.
If you can test and report back it would be great.
The app copies /data/app/xxx.apk and /data/data/xxx, so if the protected files aren't in /data/data they won't be copied.
Click to expand...
Click to collapse
I'll see if I can get some time to install and try it.
Have you considered adding /system/app and it's associated data to the list? An app might be included in one rom and not in another so I'd still want the ability to back it up even if it has to back it up to /data
Also I didn't see it in the screenshots but if not there a single checkbox to backup ALL apps in list would be highly useful rather than having to click all of them.

You can backup system apps as well.

I found a bug in restoring, some apps won't restore right without "reinstalling" using the package manager, gonna try to figure out how to call the package manager from recovery.

Workaround to fix the apps that aren't working after restoring is to use adb shell.
PHP:
$ adb shell
$ su
# tar tzf /sdcard/update.tar.gz | grep data/app/ | while read APK; do pm install -r "/$APK"; done
This basicly will use the package manager to "properly" install all the apk.
I will release a fixed version later today.
I will add check-all option as well, I'm still getting the hang of action bars and such.

does this script preserve "move to sd" location? i mean, i used a lot "move to sd" standard android function, to move many big apps to sdcard/.android_secure folder... of course, none of the those that use widgets...
i found that restoring with titanium backup does not preserve this: if i batch restore my apps, it fills up my internal memory (samsung note n7000), and i've to move a bunch of them to sd before redoing restore of the remaining ones... very boring...
is there a way to restore apps EXACTLY in the same location where they were when backupped? thanks

Is it possible to backup the whole ext partition as well? As Im using Link2Sd and to restore it quite tedious. My apps + games are out of the internal space.. So, I extend using ext partition.

Can we flash the backup to stock unrooted rom ,from the stock recovery??
Sent from my GT-I9070 using xda premium

no answers in days from the developer to a fresh project... then no development at all? hope not...

mrshark said:
no answers in days from the developer to a fresh project... then no development at all? hope not...
Click to expand...
Click to collapse
You posted your original question late on the 28th and this most recent complaint early on the 30th at least by my timezone....perhaps you have an unreasonable expectation as to how soon he needs to respond to you.

famewolf said:
You posted your original question late on the 28th and this most recent complaint early on the 30th at least by my timezone....perhaps you have an unreasonable expectation as to how soon he needs to respond to you.
Click to expand...
Click to collapse
3 weeks is enough?

Related

Build Your Own alt+w Wipe...(edit: if you don't use apps2sd...)

First Note: These apps will become uninstallable! (much like any other stock rom apk) and must be deleted using the console, somehow.. anybody care to shed some light on how?
Hopefully someone can add more to this or use this info to build a much more thorough how-to, but for now here's what I've got...
Instead of building your own update.zip you can modify your alt+w wipe data to reinstall the downloaded/backed-up apks of your choice. This can also be used to install 3rd party apks without having access to any other installer, for instance if you wipe then find yourself without any access to the internet/market or a computer.
To do this you must first have the apps on the sd. I used astro to backup apps which puts the apks in /sdcard/backups/apps
I'm doing this on IonR2, your system apps may be elsewhere, mine are located in /system/app, you'll need to know where they are for this to work.
Power off your phone and do this (enter the bold stuff only, replace my directories with yours):
home+power (enter recovery)
alt+x (to go to console)
hit enter (cause the prompt says so..)
/ # mount sdcard
/ # mount system
/ # cd sdcard/backups/apps (or cd to where ever your backed up apks are)
/sdcard/backups/apps # ls *appname* (this may be useful for finding the exact *.apk name)
/sdcard/backups/apps # install -cp org.appName.com.apk /system/app (remember to capitalize where necessary)
at this point it should hang for a second then return to the "/sdcard/backups/apps #" prompt, if so the apk has successfully been added.
/sdcard/backups/apps # reboot (or install more apks if you like)
home+power then alt+w to test if you so desire. now your backed up apk should reinstall itself if you ever have to do an alt+w wipe again..(weather the apk is on the sd card or not)
I know, not very thorough but wth, I figured someone might find this as useful as I did(or be able to expand on it a bit, data, app settings etc). Also cool if you happen to have no net connection, no pc access and a wiped phone with no real useful/fun apps...
u only have to do this once, and it'll flash the new roms WITH these apps installed? how do we 'clear' these apps if we don't want to have them installed when we wipe?
Is it possible to install all the apps in your backup directory at once, with some sort of batch command?
These apps will become uninstallable! (much like any other stock rom apk) and must be deleted using the console, somehow.. anybody care to shed some light on how?
@ Lieu10ant, yeah, you only have to do once/updated rom, this modifies the base install. the newely added apks will be installed every time you alt+w (wipe). If you apply an update.zip this process will need to be redone(I'm pretty sure, haven't tried).
@ lukekirstein, I'm sure there's a way but I'm not sure how. Really hoping someone more knowledgable jumps in here with a bit more info :/
I've added a file manager(with backed up apps installer) and wifi tether because I always need/use em and never really planned on uninstalling em..
Im pretty sure you would have to use "rm" and individually remove all apps you dont want.
instead of backing up your apps, just run apps to sd and never reinstall any apps again
Breakthecycle2 said:
Im pretty sure you would have to use "rm" and individually remove all apps you dont want.
Click to expand...
Click to collapse
you would mount the system again from the recovery console and 'rm' each app you don't want. You would want to be careful not to batch delete stuff.
sonikamd said:
These apps will become uninstallable! (much like any other stock rom apk) and must be deleted using the console, somehow.. anybody care to shed some light on how?
@ lukekirstein, I'm sure there's a way but I'm not sure how. Really hoping someone more knowledgable jumps in here with a bit more info :/
Click to expand...
Click to collapse
Wouldn't it be a nice thing to make them uninstallable? That would, in theory, make them a lot more stable like the stock apps and can only be updated, not modified. You can probably delete them through console in recovery or even through ADB if you wanted to. It'd definitely be impossible to do it through some basic installer or the package uninstaller while the phone is running normally. The same process as a stock app.
I know you can't do it while the phone is running (bummer :/) but I was hoping it's possible when the phone is off.
@ Breakthecycle2, cool, I figured rm through console after mounting but haven't tried so wasn't 100% on that one.
@ Sirus20x6, I prefer this method to apps2sd, mainly because everything's stored in the phone's internal memory. Although I know most folks now seem to be using an apps2sd of some sort.
@ lukekirstein, yeah. That's why I do it this way, but some may want them uninstallable so I figured I better make a point to inform those folks
Wouldn't this decrease your internal memory since these apps are being saved to the phone so you can later wipe?
jusplainmike, I would assume so. Something to keep in mind.
Would a nand be better?
sonikamd said:
I'm doing this on IonR2, your system apps may be elsewhere, mine are located in /system/app, you'll need to know where they are for this to work.
Click to expand...
Click to collapse
(10c)
perhaps, depends on what you want I suppose. I wipe clean every so often just to get a fresh start, speed things back up etc. Sometimes while installing themes I wipe multiple times and also just want a clean slate.
This is definitely not the way to go for a complete backup-restore. Just seems a good way to reinstall a few missing by stock apps after a wipe.
lol soulife i know, i know
I believe apps2sd is the best bet for keeping apps after a wipe or fresh install.
retort
sonikamd said:
lol soulife i know, i know
Click to expand...
Click to collapse
The only reason is because you push a market app to internal memory it read only. If there's an update you have to open terminal or adb and rm and push the update back. Plus if you flash a new update it will wipe them out. With a2sd however you can update them no hastle, and even if you flash a new build, with a2sd the reinstall themself. Much more convient as long as you smart with your partitioning.
I think you guys may be doing this the hard way. If you are wiping and moving to a compatible ROM, just leave the sd card as it is and the new ROM should be able to find and install the apps as long as it has apps2sd built in.
If you are moving to an incompatible ROM you will have to remove old sd app directory first.
rm -r /system/sd/app
then you should be able to just copy over your entire apk backup directory to your sdcard as follows.
cp- a /sdcard/yourdirectoryname /system/sd/app
and if you are installing a ROM that has app2sd built in, it should find all the apps and install them.
If the ROM you use does not have apps to sd, then you will be able to use Lucid script to move apps from phone to sd card app directory (with already copied apps) and link directory
Tru, I just don't use apps2sd. My sd is constantly getting mangled for one reason or another..
uh, by doing this you're filling up your /system folder which actually needs memory to improve. and you can uninstall them by
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
rm/system/app/nameof.apk
on another note wouldnt wiping while having info in the system ; wipe?
anyways

App removel

How do I delete the apps that mt4g came with like amazon mp3
Sent from my HTC Glacier using XDA App
I have the same question, how do you?
Not sure what type of phone either of you have but... with my HTC Hero
I had to Root it first cause those most likely are System Apps!
Sent from my HERO200 using XDA App
Bloatware are packaged as System applications and cannot be removed without rooting the phone.
Better than physical removal is to "disable" them, so that they are unavailable but still on the phone in the event you inadvertently break a dependency for an application you use. This can be done from the root shell if you are comfortable with command line interfaces, or from Titanium Backup and its Freeze function.
Root is needed either way.
HTC Glacier running CM7 #19
You can delete them after root through titanium backup.
Sent From my
HTC GLACIER USING XDA APP
HTC GLACIER PERMA-ROOTED S-OFF
CM7 NIGHTLIE
OC TO 1.5GHz
If you are wanting to delete them. Flatout get rid of them, and never use the again i would recommend learning how to use the ADB. and deleting them that way.
from the Terminal Emulator or ADB Shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblk3 /system
ls /system/app
Click to expand...
Click to collapse
that will make the entire OS a r/w system USE EXTREME CAUTION
the ls/system/app line will show you all of the applications on your phone
then use the -rm line to remove the app
rm ls/system/app/xxxxxxxx.apk
Click to expand...
Click to collapse
After you have removed all of the proper applications to your liking make the system/app readable again.
mount -o remount,ro /dev/mtdblock3 /system
Click to expand...
Click to collapse
================================================================================================================================================================================================================================================
If you wanted to use a Root explorer navigate to the /system/app and delete the applications you want.
that will make the entire OS a r/w system USE EXTREME CAUTION
Or you can do the same thing via Android Commander.....
once again
that will make the entire OS a r/w system USE EXTREME CAUTION
If you should feel like doing it the lazy man way you can use Titanium Backup, but that does not teach one ADB or the physics there of incase you have a problem.
if you do not want to delete the apps you can use Titanium Backup to "freeze" the applications from using resources, or (i recommend) pulling the .apk via the ADB.
Ive got perm root s=off, not a big deal. My question actually is focused on the app, Titanium Backup Pro. I don't actually have a list of installed apps to "freeze". Even spending the time to enable the filters so that every possible variation was acheived, still nothing more to enable/disable/freeze except for Accounts, Widgets, WiFi access points, Country-Time Zone, and bluetooth pairings.
I really like the stock rom, but I really don't like the bloat. I've even flashed a few other de-oxidized stock roms, but I wasn't able to restore any apps from tit. backup.
Any ideas as to what I'm missing or doing wrong?
DHSdrone said:
Ive got perm root s=off, not a big deal. My question actually is focused on the app, Titanium Backup Pro. I don't actually have a list of installed apps to "freeze". Even spending the time to enable the filters so that every possible variation was acheived, still nothing more to enable/disable/freeze except for Accounts, Widgets, WiFi access points, Country-Time Zone, and bluetooth pairings.
I really like the stock rom, but I really don't like the bloat. I've even flashed a few other de-oxidized stock roms, but I wasn't able to restore any apps from tit. backup.
Any ideas as to what I'm missing or doing wrong?
Click to expand...
Click to collapse
Are you saying you don't want the bloatware or you don't want the Rom or what? Because removing bloatware is simple use sufbs or root explorer and go to root>system>app and delete the apps you don't want but you have to make sure your in r/w not r/o and make sure its the right app as some are dependent on others. Like in one of my many failed attempts to bring the sense clock over to a different OS I just brought the whole app folder over from a sense Rom and all hell broke loose lol hope I helped
Sent from my glacier using XDA Premium App
I think what I really want is a stable CM7, but that's beside the point. My actual focus is that, after installation of Titanium Backup (Pro) I didn't get the option of freezing or backing up apps, aside from the few system settings I mentioned above. I was hoping that I was simply having a derp moment and I missed some sort of crucial setting that would display the current list of installed apps so I could choose their fate.
*Update* I flashed Ice Glacier v1_1_6, then after all the market apps installed, I ran Titanium Backup, at this point I have a very complete list of apps that I can freeze/backup/un-install etc, so the only variable I can see is between the stock rom and Ice Glacier. Again I feel like I've missed something simple.
Sorry man I don't have pro
Sent from my glacier using XDA Premium App
DHSdrone said:
I think what I really want is a stable CM7, but that's beside the point. My actual focus is that, after installation of Titanium Backup (Pro) I didn't get the option of freezing or backing up apps, aside from the few system settings I mentioned above. I was hoping that I was simply having a derp moment and I missed some sort of crucial setting that would display the current list of installed apps so I could choose their fate.
*Update* I flashed Ice Glacier v1_1_6, then after all the market apps installed, I ran Titanium Backup, at this point I have a very complete list of apps that I can freeze/backup/un-install etc, so the only variable I can see is between the stock rom and Ice Glacier. Again I feel like I've missed something simple.
Click to expand...
Click to collapse
Tit/Backup will only back up and restore 3rd party applications the stuff like Accounts, Widgets, WiFi access points, Country-Time Zone, and bluetooth pairings cannot be touched via TB, pro or basic.

[Q] Titanium Backup: (filter) labels are not restored

I checked the "Auto-sync TB settings"
Then do a full wipe, reinstall TB (or launch the TB included in the ROM) and re-check that check box ... and
NOTHING
My filter labels don't reappear.
Everything else works fine, how does that setting work, is there a file on the SD card somewhere that I can check to see if TB created it fine?
I have the paid version and am now using 3.0.0.7 on Starburst 1.2.1
After 4 times re-classifying 300 apps I'd really like to solve this, what am I doing wrong, what can I check to make sure those settings are saved?
It is really hindering my ROM installations ;-)
Since no-one seems to have this problem I did some investigating myself and found a database called "custom" in /data/data/com.keramidas.TitaniumBackup/databases/ this seems to hold the filter information, I'll be keeping a copy of that next time I do a full wipe in case that "Sync" setting doesn't work again.
BelgianAtheist said:
Since no-one seems to have this problem I did some investigating myself and found a database called "custom" in /data/data/com.keramidas.TitaniumBackup/databases/ this seems to hold the filter information, I'll be keeping a copy of that next time I do a full wipe in case that "Sync" setting doesn't work again.
Click to expand...
Click to collapse
Nice Find dude! I was looking for a solution and you got it!
Lately it has been working well for me.
I've also found where the backup on the SD card is, it is in:
[sdcard]/data/com.keramidas.TitaniumBackup/
Here is a settings directory with the labels db and all settings and it also has a licensing file so that a fresh install knows you have the paid version without having to connect to the Market.
BelgianAtheist said:
Lately it has been working well for me.
I've also found where the backup on the SD card is, it is in:
[sdcard]/data/com.keramidas.TitaniumBackup/
Here is a settings directory with the labels db and all settings and it also has a licensing file so that a fresh install knows you have the paid version without having to connect to the Market.
Click to expand...
Click to collapse
Thanks.
But i don't understand how to solve the exact same problem as you had before. I know that this directory exists and the labels are saved there (/data/data/com.keramidas.TitaniumBackup/databases/).
You make a backup of this folder on the SD card and after wiping your mobile phone you restore this folder and start TB afterwards?
I hope you still track this topic
Thanks.
EDIT: At least i found a workaround for me. Seems like TB overwrites the Sync folder. Therefor i've installed a ROM (after wiping), installed Titanium Backup, made all my settings (encryption, labels, pro key, dropbox settings) and made a ROM backup with ROM Manager. It's not what i want. But i can live with that for now.
I have this same exact issue. No fixes yet
I wrote the TB support and they've requested some additional information. I hope they will fix it.
The support said TB has problems with dual sd devices.
I own a HTC Desize Z which is not a dual sd device.
1 - Replace files in SDCard\data\com.keramidas.TitaniumBackup\settings\ with your backup.
2 - Wipe Titanium data
3 - Start Titanium ..
Thinking it is it first start it will restore settings... don't know why it do not work the first time after flashing...
Seems that it do not check "Auto-Synced" settings on every start, only first start (empty data)
I have the same problem.
I hope it can be solved.
=======================
2011.12.21 Update
hi, guys, I found another app can restore TB's settings.
Delta Backup(market.android.com/details?id=com.ds.deltabackup)
u can use Delta Backup to backup "Titanium Backup".
When reinstall TB, just use Delta Backup to restore TB.
It works!
Honusnap said:
1 - Replace files in SDCard\data\com.keramidas.TitaniumBackup\settings\ with your backup.
2 - Wipe Titanium data
3 - Start Titanium ..
Thinking it is it first start it will restore settings... don't know why it do not work the first time after flashing...
Seems that it do not check "Auto-Synced" settings on every start, only first start (empty data)
Click to expand...
Click to collapse
This works - THANKS! Luckily, I had backed up /sdcard/data before the wipe.
Easy enough to have a script to do this, or TB can add a feature to copy /sdcard/data/com.keramidas.TB to /sdcard/data-backup/com.keramidas.TB whenever the app exits or is terminated, then look for that directory during its first start.
Unfortunately it seems we are a tiny minority. Theres practically no info on label deletion online or in the wiki. This used to happen often when I was flashing almost weekly but I haven't changed ROMs in a while and a sense rom I just tried had a modified TB included and it deleted my highly detailed labels. It should at least keep a cache of the old setting temporarily. Even my iPad does that in cydia when you change a plist. Gonna try restoring a nandroid with sdext, super outdated though. Kinda ridiculous that a great backup app's greatest weakness is backing itself up. I still get occasional licensing issues too so who knows.
Anyone happen to know a way to restore recently overwritten data either in the phone data/data or sd/data?
Here's to a useful daily update!
crammed174 said:
Kinda ridiculous that a great backup app's greatest weakness is backing itself up.
Click to expand...
Click to collapse
That's really weird. And the TB support doesn't even know what I'm talking about. After it got too complicated for them, they stopped writing me. Maybe someone should write them again and show TB support this topic.
I'm trying to fix this issue with symlinks. I will create a backed up ROM with ROM Manager where the database file links directly to my sdcard. I think this should work.
Galaxy S3 Problem Solved!
Honusnap said:
1 - Replace files in SDCard\data\com.keramidas.TitaniumBackup\settings\ with your backup.
2 - Wipe Titanium data
3 - Start Titanium ..
Thinking it is it first start it will restore settings... don't know why it do not work the first time after flashing...
Seems that it do not check "Auto-Synced" settings on every start, only first start (empty data)
Click to expand...
Click to collapse
Thanks man, this saved my problem.
The SD-Card in the SGS3 is in mnt/extSdCard, which means I also had to change the path for the backup folder to get it working.
There is also the possibility to manually import these settings to TB by opening the files in SDCard\data\com.keramidas.TitaniumBackup\settings\.
Honusnap said:
1 - Replace files in SDCard\data\com.keramidas.TitaniumBackup\settings\ with your backup.
2 - Wipe Titanium data
3 - Start Titanium ..
Thinking it is it first start it will restore settings... don't know why it do not work the first time after flashing...
Seems that it do not check "Auto-Synced" settings on every start, only first start (empty data)
Click to expand...
Click to collapse
I agree. This is probably the most straightforward approach.
Although..., I have to say, the the last time that I re-installed a fresh (from the Market) not an apk on my sd (my normal M.O) my labels were restored. Who knows!
Oh and as far as TiBu even knowing of or handling this issue, I still haven't heard anything from them after writing to them.
I guess every great warrior has a weakness.
BelgianAtheist said:
Since no-one seems to have this problem I did some investigating myself and found a database called "custom" in /data/data/com.keramidas.TitaniumBackup/databases/ this seems to hold the filter information, I'll be keeping a copy of that next time I do a full wipe in case that "Sync" setting doesn't work again.
Click to expand...
Click to collapse
Thank you fixed it for me
I was having this problem after including titanium backup in my rom. I think the problem is this:
System apps are allowed to start at boot (user apps aren't until they have been run at least once by the user)
Titanium backup starts at boot to check it if it needs to schedule any tasks
Sometimes this will happen on the first boot and before the sdcard has mounted, and it will fail to load the settings.
When you later run it yourself it will wipe the previous settings from the sdcard.
For now to get around this each time you install a new rom which includes titanium backup you can go in to settings and force close / clear data before you run it for the first time. Your previous settings should still be on the sdcard and will now be imported.
I will contact the developer about this - hopefully it wouldn't take much to fix.
[Edit] Thinking about it, pre-ics the boot permissions weren't enforced so this might happen with it installed as a user app too if you reboot before running it.
Originally Posted by Honusnap
1 - Replace files in SDCard\data\com.keramidas.TitaniumBackup\settings\ with your backup.
2 - Wipe Titanium data
3 - Start Titanium ..
Thinking it is it first start it will restore settings... don't know why it do not work the first time after flashing...
Seems that it do not check "Auto-Synced" settings on every start, only first start (empty data)
Click to expand...
Click to collapse
I am still not clear
1-there are 2 copies of the "data\com.keramidas.TitaniumBackup"
One on the internal memory and one in the external memory. Which one I back up and later over write .
2-How do I wipe titanium data?
Sorry if the questions sound stupid but I am stuck
------------------------------------
edit
I found the answers
thanks
ChromJ said:
I am still not clear
1-there are 2 copies of the "data\com.keramidas.TitaniumBackup"
One on the internal memory and one in the external memory. Which one I back up and later over write .
2-How do I wipe titanium data?
Sorry if the questions sound stupid but I am stuck
------------------------------------
edit
I found the answers
thanks
Click to expand...
Click to collapse
Hi!
Would you mind to post your answers? I am also interested in learning this...
Does anyone know if these problems we are having are due to the fact that some devices have both internal and external sdcards? (like the transformer family)
In preferences we are able to change the location of the back up copies but not the location of the titanium back up user configuration (labels, profiles, set up...)
Every time I have tried to use TB I end up loosing my TB configuration... quite annoying!
Thanks
Apps Organizer
An easy way to restore your labels in Titanium Backup (TB) is to use the recommended program Apps Organizer (AO) .
https://play.google.com/store/apps/details?id=com.google.code.appsorganizer
Assign labels using AO and you can see and use them to filter TB. Export the labels from AO. In your new ROM install AO and Import the labels. You will see them in TB in your new ROM and can use them to filter.
You may find my related Wiki is helpful:
http://forum.xda-developers.com/wiki/Android_ROM_Update
Cheers
Tom
Szczepanik said:
An easy way to restore your labels in Titanium Backup (TB) is to use the recommended program Apps Organizer (AO) .
https://play.google.com/store/apps/details?id=com.google.code.appsorganizer
Assign labels using AO and you can see and use them to filter TB. Export the labels from AO. In your new ROM install AO and Import the labels. You will see them in TB in your new ROM and can use them to filter.
You may find my related Wiki is helpful:
http://forum.xda-developers.com/wiki/Android_ROM_Update
Cheers
Tom
Click to expand...
Click to collapse
:
AO is helpful. I just restore AO with Data. Some things AO does not, tasker plugins for example.
It is ironic TiBU doesn't have a straightforward way to backup its settings.

SKYICS UCLF6 2.7B won't flash

Hey,
For the longest time I was running 1.9A and today I decided to update my way to 2.8B. All was going fine until 2.7B. I flashed up to 2.6.1B and then when I flashed 2.7B, it didn't take as long as the other ones to flash. When I checked the settings and the about phone, it was still 2.6.1B. I tried to flash 2.7B twice already, both times still ending up with 2.6.1B. Any suggestions on how to finish up the updates without doing a wipe?
thanks
samtruong200 said:
Hey,
For the longest time I was running 1.9A and today I decided to update my way to 2.8B. All was going fine until 2.7B. I flashed up to 2.6.1B and then when I flashed 2.7B, it didn't take as long as the other ones to flash. When I checked the settings and the about phone, it was still 2.6.1B. I tried to flash 2.7B twice already, both times still ending up with 2.6.1B. Any suggestions on how to finish up the updates without doing a wipe?
thanks
Click to expand...
Click to collapse
What base are you on (Safe Base-R2, Safe Base-R3, Dragon-R2, or Dragon-R3)? If on Safe Base-R2, right around 2.6.1B is when you will run out of room on your system partition. Using TiBu, "Overview" tab, see what your System ROM "free" space is. If on SafeBase-R2, you will need to free up space on system partition (/system/app) by deleting/uninstalling apps (start with S-Voice... it's 30mb) to allow updates to write to your system partition. I would recommend starting over with 2.8 and flash the new Dragon-R3.. then 2.8A... then your addons (follow the OP instructions). Gives you plenty of headroom on system partition, all the functionality you need, and very smooth/fast. I started with safebaseR2 1.7... and progressed to 2.6.1 when I ran out of room... started over with the DragonR3 flash, and couldn't be happier.
DoctorQMM said:
What base are you on (Safe Base-R2, Safe Base-R3, Dragon-R2, or Dragon-R3)? If on Safe Base-R2, right around 2.6.1B is when you will run out of room on your system partition. Using TiBu, "Overview" tab, see what your System ROM "free" space is. If on SafeBase-R2, you will need to free up space on system partition (/system/app) by deleting/uninstalling apps (start with S-Voice... it's 30mb) to allow updates to write to your system partition. I would recommend starting over with 2.8 and flash the new Dragon-R3.. then 2.8A... then your addons (follow the OP instructions). Gives you plenty of headroom on system partition, all the functionality you need, and very smooth/fast. I started with safebaseR2 1.7... and progressed to 2.6.1 when I ran out of room... started over with the DragonR3 flash, and couldn't be happier.
Click to expand...
Click to collapse
Hey thanks for the quick reply, I think I am using the Safebase, but not sure if it's R2 or R3. I also see that I am indeed out of space. I don't really want to do a clean flash again, because it's kind of a pain in a butt haha. But what apps could I delete/remove to free up space? Is it just any apps that's installed on my phone?
Thanks
Just go to system/app folder and see what apps you really don't need. You could back them up just in case. you could also do it from tibu, I think everything red is a system app. And believe me you got enough to delete, even on the dragon base I had some hefty number of apps I could get rid of.
samtruong200 said:
Hey thanks for the quick reply, I think I am using the Safebase, but not sure if it's R2 or R3. I also see that I am indeed out of space. I don't really want to do a clean flash again, because it's kind of a pain in a butt haha. But what apps could I delete/remove to free up space? Is it just any apps that's installed on my phone?
Thanks
Click to expand...
Click to collapse
SafebaseR3 took out 2 apks: voicetalk.apk and GoogleQuickSearchBox.apk. (Sean added GoogleNow in 2.6.1 which maxed out the system partition). Voicetalk.apk (S-Voice) is 30mb. Use your favorite file explorer (i.e., RootExplorer, etc), navigate to /system/app, and sort by descending file size. If voicetalk.apk is there, you are on Safebase R2. If you don't plan on using S-Voice, then use TiBu to uninstall it (that will remove voicetalk.apk from your /system/app folder... and immediately free-up 30mb of space on the system partition). If you want to trim more, review the next few largest apks in /system/app folder and determine if you want/need them.. if not, uninstall with TiBu (google the apk to get the app name.. for example: SevenEngine.apk is the SocialHub app).
DoctorQMM said:
SafebaseR3 took out 2 apks: voicetalk.apk and GoogleQuickSearchBox.apk. (Sean added GoogleNow in 2.6.1 which maxed out the system partition). Voicetalk.apk (S-Voice) is 30mb. Use your favorite file explorer (i.e., RootExplorer, etc), navigate to /system/app, and sort by descending file size. If voicetalk.apk is there, you are on Safebase R2. If you don't plan on using S-Voice, then use TiBu to uninstall it (that will remove voicetalk.apk from your /system/app folder... and immediately free-up 30mb of space on the system partition). If you want to trim more, review the next few largest apks in /system/app folder and determine if you want/need them.. if not, uninstall with TiBu (google the apk to get the app name.. for example: SevenEngine.apk is the SocialHub app).
Click to expand...
Click to collapse
i've been trying to find this /system/app....but i can't seem to find it..... I know I'm not crazy, but it doesn't seem to be there haha. Also, my S-voice got removed by itself somehow while going through the updates.
You need to use a root explorer in order to view it. You could download rom toolbox it has tons of nice features and one of them is a root explorer, if you download ES file explorer you have to mark in the settings view as root.
kishke said:
You need to use a root explorer in order to view it. You could download rom toolbox it has tons of nice features and one of them is a root explorer, if you download ES file explorer you have to mark in the settings view as root.
Click to expand...
Click to collapse
ohh, so that's what I was missing. How much space do I need to clear up to have enough for 2.7B and 2.8B files? just as big as the zip themselves?
You can try deleting a few stuff and then trying to flash, the build.prop is the last files to flash so if you had enough room it should change if not delete some more and try to flash again.

[APP][2.3+][20/11] FlashBackup - create AROMA flashable ZIP backups of apps

I would like to share with you a first test version of my new app:
FlashBackup
Features:
presents you a list to choose from your installed user apps / system apps
backup the APKs
create an AROMA-powered flashable ZIP in order to restore your apps
install Superuser or SuperSU (according to your preference) during restore
lets you chose the apps to be restored in AROMA installer
ROOT NEEDED!
Description:
This is a first test release and not yet feature-complete, only the things described above will work. It will be updated regularly.
This app is targeted at advanced users who regularly wipe and re-flash their phone and therefore need to restore their apps. As this process takes a long time using eg. TitaniumBackup, I wanted to create a flashable ZIP file of the currently installed apps, which can later be flashed using the amazing AROMA installer by Amarullz.
Please note that with this first version, it is not yet possible to backup and restore the app data, only the APKs. You can however use TitaniumBackup to restore only data (which is much faster than restoring apks too).
Currently, it is only tested with a HTC Sensation running the latest version of Bruce2728's CM10 (JellyBean). I would appreciate to get feedback about bugs etc. on other devices in order to fix them.
How-To
select your apps to be included in the backup
press 'Backup' and wait for the process to be finished (if it's the first time using the app, you need to grant root permissions)
find your ZIP ready to be flashed under /FlashBackup/flashbackup.zip on your sdcard
Current known issues:
restore / install process may fail due to incompatible updater-binary for some devices
Probably not compatible with Android 4.2 (not tested yet...)
Planned for future updates (subject to change):
include app data in backup/restore
include device-specific updater-binaries for ZIP file (will increase compatibility with specific devices)
backup apps in .android-secure too (if possible)
allow the destination of each app to be selected during install process (=> convert system to user and vice-versa)
... ?
[*] done: add compatibility for Android versions < 3.0
Devices confirmed working (by user feedback):
HTC Sensation (CM10)
HTC EVO 3D
HTC Desire HD (ICS)
HTC HD2
Samsung Galaxy Nexus
Samsung Galaxy SII
LG e400
Samsung i897 Captivate (MIUI 4.x, Android 4.1.2)
Credits:
Amarullz for his amazing work with the AROMA installer
App2Zip devs for the idea of flashable app backups
Screenshots:
=> see thumbnails!
Downloads:
=> see attachments!
Version history:
0.4 - 20/11/2012
added compatibility with Android 2.3+ Gingerbread
new option: install superuser apps as system or user app
0.32 - 19/11/2012
updated SuperSU to 0.98
0.31 - 30/10/2012
hotfix for bug with tech stuff install
0.3 - 30/10/2012
new option: install Superuser or SuperSU
updated SuperSU to 0.97
code cleanups
0.2 - 25/10/2012
fix bug with SuperSU install
0.1 - 24/10/2012
initial public release
Reserved II
Will this backup Android-secure apps (JB+ apps that do not store their apk file in /data/apps)?
Love the idea. Can't wait to try it out!
Edit: Willing to test it out for ya on a Toro (VZW GalNex) running JB. Willing to flash multiple ROMs (well, not "willing", per-se, more like, "addicted"..."crackflasher" doesn't quite cover it in my case.)
I am willing to give this a try on my myTouch 4G.
Sent from my HTC Glacier using xda app-developers app
PhoenixPath said:
Will this backup Android-secure apps (JB+ apps that do not store their apk file in /data/apps)?
Click to expand...
Click to collapse
Not yet, I did not figure out yet how to do this. Will put it on the todo list
@ all:
testing version is coming soon, just found a last-minute bug and doing the last tests now...
flash5000 said:
Not yet, I did not figure out yet how to do this. Will put it on the todo list
@ all:
testing version is coming soon, just found a last-minute bug and doing the last tests now...
Click to expand...
Click to collapse
Looking forward to it.
cool
cool information
I'm sorry guys, it will take me another day I suppose - just found another bug.
But I will do my best to get it working asap
aaaand...
ladies & gentlemen, start your engines for a test drive of the first public release!
=> see attachments of the first post
Looking forward to your feedback!
I've currently been using App2Zip, so I'm gonna give this a try, as soon as I re-flash a Rom.
jayk32 said:
I've currently been using App2Zip, so I'm gonna give this a try, as soon as I re-flash a Rom.
Click to expand...
Click to collapse
Looking forward to your feedback!
Please keep in mind that your app's data is not yet backed up, so restore it with Titanium afterwards! (just a hint in order not to be blamed afterwards for making you loose your data... )
Had been one of the initial proponents and user of App2Zip and had used it regularly until about 2 months ago. It was then that I came across Go Backup that did almost everything I wanted.
I would really start using your app but would wait for a while since I do not use TB and hence would struggle without the data restore. Once that is in place, it would equal GO Backup. The advantage with Go Backup is that t backs up calls log, sms, mms and wifi connections in addition. GO Backup however misses out on restoring system apps and data.
Looking forward
Paparasee said:
Had been one of the initial proponents and user of App2Zip and had used it regularly until about 2 months ago. It was then that I came across Go Backup that did almost everything I wanted.
I would really start using your app but would wait for a while since I do not use TB and hence would struggle without the data restore. Once that is in place, it would equal GO Backup. The advantage with Go Backup is that t backs up calls log, sms, mms and wifi connections in addition. GO Backup however misses out on restoring system apps and data.
Looking forward
Click to expand...
Click to collapse
I will try to implement data backup & restore as one of the next things, but it will need some testing as it's not always very easy to do it right...
flash5000 said:
I will try to implement data backup & restore as one of the next things, but it will need some testing as it's not always very easy to do it right...
Click to expand...
Click to collapse
There are 2 directions to consider, in my opinion:
1. Leave the idea like it is (backup user apps, no data, nothing additional) keep it simple and somehow small (I have more than 120 apps in total, so I don't really want to think on the size)
2. Try to get data backup AND system apps backup AND calls, sms, settings, etc -
My main problem are the system apps: if I am making an upgrade of Android, why should I get old system apps?!
And this option MUST allow choosing the apps to install (100% Aroma)
The idea sounds good, I will test it as soon as I will need to reinstall one of the devices.
okty2k said:
There are 2 directions to consider, in my opinion:
1. Leave the idea like it is (backup user apps, no data, nothing additional) keep it simple and somehow small (I have more than 120 apps in total, so I don't really want to think on the size)
2. Try to get data backup AND system apps backup AND calls, sms, settings, etc -
My main problem are the system apps: if I am making an upgrade of Android, why should I get old system apps?!
And this option MUST allow choosing the apps to install (100% Aroma)
The idea sounds good, I will test it as soon as I will need to reinstall one of the devices.
Click to expand...
Click to collapse
Thanks for your feedback!
At the moment, it allows to backup the APKs of user apps and system apps as well, but only the APKs.
The idea behind backing up system apk's is that I personally have some apps installed as a system app (for example Theft Aware by Avast, or SuperSU) which are not included with my ROM and therefore get lost with every update. The possibility to include them in the ZIP file and later restore them while flashing the update solves my personal problem of remembering to restore these system apps manually
Concerning the size:
I too have about 130 user apps, and the resulting ZIP is about 340MB in size, so about double the size of the ROM ZIP file , but the restore process is much faster when done by flashing in recovery compared to restoring with TitaniumBackup.
The big advantage is that coming Android phones will get a speed boost in the future (with all the quad-core monsters being unveiled by the manufacturers) and therefore ZIP creation time will decrease significantly I guess...
Any other feedback? What's working, what is not?
flash5000 said:
I will try to implement data backup & restore as one of the next things, but it will need some testing as it's not always very easy to do it right...
Click to expand...
Click to collapse
flash5000 said:
Thanks for your feedback!
At the moment, it allows to backup the APKs of user apps and system apps as well, but only the APKs.
The idea behind backing up system apk's is that I personally have some apps installed as a system app (for example Theft Aware by Avast, or SuperSU) which are not included with my ROM and therefore get lost with every update. The possibility to include them in the ZIP file and later restore them while flashing the update solves my personal problem of remembering to restore these system apps manually
Concerning the size:
I too have about 130 user apps, and the resulting ZIP is about 340MB in size, so about double the size of the ROM ZIP file , but the restore process is much faster when done by flashing in recovery compared to restoring with TitaniumBackup.
The big advantage is that coming Android phones will get a speed boost in the future (with all the quad-core monsters being unveiled by the manufacturers) and therefore ZIP creation time will decrease significantly I guess...
Any other feedback? What's working, what is not?
Click to expand...
Click to collapse
No other feedback for the moment. Once I test it, I will let you know.
But I must say I agree with your approach. By the way, as you use AROMA, I assume you can choose what to install and what not, right?
okty2k said:
No other feedback for the moment. Once I test it, I will let you know.
Click to expand...
Click to collapse
I will be pleased to hear from your experiences
okty2k said:
But I must say I agree with your approach. By the way, as you use AROMA, I assume you can choose what to install and what not, right?
Click to expand...
Click to collapse
To quote a famous person: Yes we can!
That was the main goal to achieve in the first place and the reason why I started to develop my own app instead of just using App2Zip...
UPDATE:
v0.2
fix bug with SuperSU install
First off I like using Aroma Installer. I've used the app three times, and the first time no problems, but the last two it didn't restore all my apps. Anyway looking forward to the updates.
Cheers mate.

Categories

Resources