[Q] Flashable .zip of app/data back ups? - EVO 4G Q&A, Help & Troubleshooting

Hi, I've been switching between roms and found restoring my apps and data to be the most time consuming part.
Is there a way I can make a flashable .zip that contains all of my backed up apps and data so I can flash it from recovery?
Kind of an automated restore of apps and data?
Searching yielded few results.
In /showthread.php?t=776086 This thread the third post, someone was able to create a .zip containing the OPs requested file.
Titanium backup also offers an option to make an "update.zip". but it only contains the .apk for TB.
I want to be able to do that with all of my apps and data.
EDIT: I actually kind of solved it. Titanium Backup Donate bypasses all the clicking "install" for each app with privileges.
I am still open to other suggestions about a flashable version.
Thanks.

Related

App backup

Is there a way to back up apps and quickly reinstall them after a rom update without having to go to the market place?
I found the apks but when I manually install them, the market doesn't recognize they are installed. is there a data file that holds that info?
Sent from my rooted MyTouch Slide using SideMeRoot5R1
Download Astro File Manager from the market.
Install it, and its got the option to make a backup of all the apks. when you flash a new rom, all you have to do is install astro once, and then reinstall all of your apps from there.
The only downfall is that you won't get update notifications when updates come out for apps
the above solution does make a backup of your apks, but there is a .db file somewhere(i forget where) that the market reads to see what you have installed, if you backup and restore that file with each ROM flash(adb pull/push) then you will have your updates when they become available(but make sure that you are pulling/pushing in recovery)
Titanium backup does all of this for you and pretty quickly too!
SySfS

Titanium backup pro HOW TO BACKUP WTF??!!?!

So all the tutorials I see say to use "menu>batch" to backup user apps/data, but there is NO BATCH!! I ran backup and it just put a bunch of gz/tar files in a directory!!! So now after I've already updated ROM to JB, TB is not allowing me to restore these files.....or am I missing how to do this?? Why is this app so damn hard to find stuff? Is there any way to restore my stuff or I will have to revert to nandroid backup and use TB again??
BTW, i'm on version 5.4.2.2 pro version
Thanks,
Click the icon in the upper-right with the check mark to get to batch operations.
And those tar.gz files are your backups.
The batch button is on the upper right corner.
And yes TB does compress the back ups.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
ballgum said:
So all the tutorials I see say to use "menu>batch" to backup user apps/data, but there is NO BATCH!! I ran backup and it just put a bunch of gz/tar files in a directory!!! So now after I've already updated ROM to JB, TB is not allowing me to restore these files.....or am I missing how to do this?? Why is this app so damn hard to find stuff? Is there any way to restore my stuff or I will have to revert to nandroid backup and use TB again??
BTW, i'm on version 5.4.2.2 pro version
Thanks,
Click to expand...
Click to collapse
Your question is a mess. Your thread title is "how to backup" and your jumbled post is about "how to restore".
In any case, whatever tutorials you're reading are outdated, as TiBu hasn't used a "batch" ever since the ICS version switched to using the Action Bar.
So, to simplify TiBu for you:
1) touch the the little checkmark icon the upperright corner of TiBu
2) Backup your apps and data; not system data
3) Restore later
Easy.
All the rest of the TiBu stuff is for people who aren't afraid to figure it out and/or read their FAQ (no offense)
So I've checked everything in the app.... including the mentioned "check mark" button before posting here. It is not showing any of my backup apps. I've gone into prefs and verified the backup/restore directory. When I go to that directory i see everything but when I go to batch upper right button none of the options show my apps. It only shows the NEW apps on the NEW rom and no options to restore my previous 33 user apps.
Am I missing something here or is it just not working
Sorry about the hasty confusing post...
Open TiBu
Menu/preferences/back up folder location> whole device
it will search your entire phone fit a back up folder
mrhaley30705 said:
Open TiBu
Menu/preferences/back up folder location> whole device
it will search your entire phone fit a back up folder
Click to expand...
Click to collapse
I did that and I already had the location correct /storage/sdcard0/TitaniumBackup ...... 48 backups.
When I do what you say and do "whole device" it reloads the TB app data. Then I go into batch options and it still doesn't show my backups...
Any ideas? I will try to get screenshots, i'm not sure how on JB yet
Clear data to set everything to default then set the backup directory again and restart the app (or the phone) This fixed it for me.
Sent from my SGH-I747 using xda premium
Question, after running TiBu, and if I need to restore my phone to factory (w/ root). To restore my apps etc, I need to reinstall TiBu and run the restore?
Obsessive said:
Question, after running TiBu, and if I need to restore my phone to factory (w/ root). To restore my apps etc, I need to reinstall TiBu and run the restore?
Click to expand...
Click to collapse
Yes.
If you bought Pro, install free version first, then pro.

Issue with TiBu Update.zip

So I made an update.zip before I went from my 4.1 ROM to a 4.2 ROM. However whenever I try to flash my update.zip file it makes my phone not boot. Unfortunately I was stupid and didnt make any other backups. Is there a way to restore individual apps/data from the update.zip file?
Could have something to do with how titanium created the file.
Does the .zip only contain the tibackup app? Or others as well?
Sent from my Galaxy Nexus using xda premium
It contains a large list of apps. When I created the zip I went through the long list of stuff and only backed up what I wanted (none of the red system stuff).
All in all its not a huge deal. Was mostly wanting my SMS/Call Logs/Wi-Fi
All the other stuff would be nice but can be redone
File and directory structure has changed in 4.2.
Sent from my Nexus 7 using Tapatalk 2
najaboy said:
File and directory structure has changed in 4.2.
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
Yep I dont think thats the cause though as it also happens if I try going back to my 4.1 ROM (JBSourcery).
I went through my update.zip file and removed a bunch more stuff that I likely didnt need and it worked!!! Obviously I backed something up into the zip that was causing the issue. There was also some system apks/files in there that I am positive I didnt choose for the update.zip... not sure if it auto-adds some or if I just spaced out but so far so good!
EDIT: Well it kind of worked... I got some of the apps but some didnt show at all and it didnt restore my SMS messages
Just to update if anyone else runs into this...
As I said above I got it to work by manually editing the .zip file to remove some stuff that I didnt need but it didnt restore my SMS/Call logs or anything like that (Wi-Fi APs as well).
I then went into the .zip and removed all the SMS/Call Log/Wi-Fi lists and then put them in the TitaniumBackup folder on my phone (overwriting my old ones) so it will allow me to restore. I also tried removing all files from my .zip file except the SMS/Call Log/Wi-Fi stuff and will see if reflashing helps
It would be a really great addition to TiBu to have the ability to restore from your .zip file from within TiBu. I dont think it would be super hard to implement but I'm not a dev so thats just speculation.
I will update again later if my workaround does the trick.
Not sure if you've ever heard of it, but grab the app named "App2zip". It will do just that. You select apps that you want installed back on your ROM after flashing a new one. When finished hit the OK button and it will make a flashable zip of all the selected apps. It also keeps all user & system apps on separate pages so you don't accidentally backup a system app that might cause issues. Another good thing is that it works for 4.2! I used it to restore over 150 apps on Mmuzzy's first build after 4.2 dropped and everything restored properly. Just know it zips only the apps, no data. If you want your app data backed up use TiBu and restore data after you flash your ROM & apps zip.
i was able to restore my apps using the update.zip from tibu, it then restored data after i booted the OS. I had to mount /system before i flashed the update.zip because if i didn't mount it first, it wouldn't restore my apps at all. The only problem is my phone lagged like an SOB after restoring the data. I just use tibu to restore apps and data after i boot the phone, keeps the problems off my phone.
RoyJ said:
Not sure if you've ever heard of it, but grab the app named "App2zip". It will do just that. You select apps that you want installed back on your ROM after flashing a new one. When finished hit the OK button and it will make a flashable zip of all the selected apps. It also keeps all user & system apps on separate pages so you don't accidentally backup a system app that might cause issues. Another good thing is that it works for 4.2! I used it to restore over 150 apps on Mmuzzy's first build after 4.2 dropped and everything restored properly. Just know it zips only the apps, no data. If you want your app data backed up use TiBu and restore data after you flash your ROM & apps zip.
Click to expand...
Click to collapse
Yep I have used App2Zip. TiBu has basically replicated that functionality.
So as is normally the case the problem here was my own stupidity.
I thought that by choosing the option to make an update.zip and then choosing all the programs I wanted it would make a current version backup of the apps I selected. However I think how it works is that it only makes the .zip file out of an existing backup. So I should have run a full TiBu backup before making my .zip. I verified this by going through the xml file with my text messages and verifying that it was old stuff.
So in the end it was my fault for not understanding how the program worked. I still think the ability to restore directly from the update.zip from within TiBu would be a welcome addition though.

How to extract app data with Titanium backup and TWRP backups

Apparently TWRP saves its backups in a different format. it's a collection of files instead of one. I don't know how to extract data from these backups using TBP. Can someone link me to a guide or give advice? Thanks friends.
Go into the menu with titanium backup and will be able to extract app data (special backup / restore). Don't think you have an option for any files but it's easier then restoring a nandroid.
Sent from my SGH-I747M

Unable to Extract from TWRP Nandroid Backup using Titanium Backup

Hi All,
Been trying to figure this out for the last 30 Hours straight & now I'm at the end of my rag with bloody knuckles & a hole in my desk... So I thought this would be a good a time as any to ask for some advice/help!
I have upgraded/flashed my HTC One M8 (2014) from LP (Android_Revolution_HD-One_M8_41.0_866186) to MM (ResurrectionRemix-M-v5.6.2-20160203-m8) (Based off CM13). I created a backup of all my Apps & Data using Titanium Backup & also made a full Nandroid backup using TWRP.
The problem is with restoring the data within the Nandroid backup, previously I have used the "Extract Data From Nandroid Backup" option in Titanium Backup to extract my SMS/MMS messages to my new Rom. However when I try to do that on MM I'm greeted with the message "Failed to locate your TWRP backups directory. Please verify that the "TWRP/BACKUPS" folder exists on your SD card."
To make thing worse, when I try to restore my Nandroid backup, it all goes well except my WiFi & Mobile Data no longer work... I can connect to my WiFi but it always says that there is no internet connection. So restoring is not an option as I can't do much without internet access.
Anyone have any ideas? I have tried to use a different SD Card & no joy, could it maybe be a permissions issue or something or am I just being a muppet & missing a simple solution.
Either way any advice would be much appreciated. Thanks.
Oh yeah, I Googled the message that Titanium brings up with quotation marks & there were only TWO results (both from the same thread on XDA)... I've never seen Google look so barren!
Hi - I'm having a similar issue. Upgraded from LP to MM and can't extract apps/data from Nandroid backup...
It says it's been successful but no apps are there...
NeoSonic said:
Hi All,
Been trying to figure this out for the last 30 Hours straight & now I'm at the end of my rag with bloody knuckles & a hole in my desk... So I thought this would be a good a time as any to ask for some advice/help!
I have upgraded/flashed my HTC One M8 (2014) from LP (Android_Revolution_HD-One_M8_41.0_866186) to MM (ResurrectionRemix-M-v5.6.2-20160203-m8) (Based off CM13). I created a backup of all my Apps & Data using Titanium Backup & also made a full Nandroid backup using TWRP.
The problem is with restoring the data within the Nandroid backup, previously I have used the "Extract Data From Nandroid Backup" option in Titanium Backup to extract my SMS/MMS messages to my new Rom. However when I try to do that on MM I'm greeted with the message "Failed to locate your TWRP backups directory. Please verify that the "TWRP/BACKUPS" folder exists on your SD card."
To make thing worse, when I try to restore my Nandroid backup, it all goes well except my WiFi & Mobile Data no longer work... I can connect to my WiFi but it always says that there is no internet connection. So restoring is not an option as I can't do much without internet access.
Anyone have any ideas? I have tried to use a different SD Card & no joy, could it maybe be a permissions issue or something or am I just being a muppet & missing a simple solution.
Either way any advice would be much appreciated. Thanks.
Oh yeah, I Googled the message that Titanium brings up with quotation marks & there were only TWO results (both from the same thread on XDA)... I've never seen Google look so barren!
Click to expand...
Click to collapse
Is your TWRP backup folder on the external sdcard? If so, did you give Titanium access? There's multiple thread about apps needing to be given permission to access external storage. Titanium Backup especially has a lot of threads detailing this because of steps needed to access your backup folder if it is on the external sdcard.
topjohnwu said:
Q: **** app cannot access external SDcard!!
A: Look at this explanation:
Since Kitkat (2 years ago man), we don't have direct external storage write permission. Google consider it insecure, so they implemented this feature. The reason why you can access external SDcard easily before is because most roms on XDA already contains a hack in /system/etc/permissions/platform.xml. You should not rely on this hack forever, please take a look below.
In lollipop and after, Google provided a much secure and better way to grant external storage access to third party apps, first of all take a look at this article for details:
http://www.androidpolice.com/2014/1...s-automatic-mediastore-and-improves-security/
So instead of using the old platform.xml hack in the old Kitkat days, adopt yourself with this new behavior of Android!! If a certain app cannot access SDcard, ASK THE DEVELOPER to add support for this API!!
Many apps already have support for this API. I'll take Titanium Backup for example, as lots of you cannot find the way to use it on externals SD. In Menu>>Preferences>>Backup Location, you can choose Document Provider on top of the detect button.
In the provider, open the menu on the top right corner and select "Show SDcard", then you'll see External Storage in the left side. Select external SDcard in the document provider and press the button on the bottom, the app will then be granted access to the whole external storage. You can then create a new folder in TiBack and select it as your backup location.
Other apps also follows the instructions above, you just have to manually set up the folder where the app can access, in the case which most of us would love to give access to the whole SDcard, I set the location to the root of external storage. Each app has independent permission, so you have to manually grant each app you wish to access external storage.
Click to expand...
Click to collapse
-Duir- said:
Is your TWRP backup folder on the external sdcard? If so, did you give Titanium access? There's multiple thread about apps needing to be given permission to access external storage. Titanium Backup especially has a lot of threads detailing this because of steps needed to access your backup folder if it is on the external sdcard.
Click to expand...
Click to collapse
'allo mate, I appreciate the reply but it has done nothing for me, just to clarify, I can see my backed up Apps & Data so I'm pretty sure it already has access to the SD card (correct me if I'm wrong) but it is still unable to see the Nandroid TWRP backup... bit of a Jar as I just paid for the premium version of Titanium Backup & Nandroid Manager. Nandroid Manager is able to see the files but hangs when trying to extract the Messages...
Any Ideas?
NeoSonic said:
'allo mate, I appreciate the reply but it has done nothing for me, just to clarify, I can see my backed up Apps & Data so I'm pretty sure it already has access to the SD card (correct me if I'm wrong) but it is still unable to see the Nandroid TWRP backup... bit of a Jar as I just paid for the premium version of Titanium Backup & Nandroid Manager. Nandroid Manager is able to see the files but hangs when trying to extract the Messages...
Any Ideas?
Click to expand...
Click to collapse
Copy or move the backup folder to internal storage and it will work. Not sure if it's a bug in TB or because of how MM handles the external sdcard but it doesn't check it. It finds the TWRP folder on internal, which if you don't backup on internal, only has your preferences (and theme if you use one). I never used it, so not sure if it was an issue before MM or not.
I did try and got an error about not finding a "clockworkmod/backup" folder or a "TWRP/Backups" folder so to see what happened I made a "Backups" folder in the TWRP directory on my internal storage and the error basically changed to say there were no backups in it.
-Duir- said:
Copy or move the backup folder to internal storage and it will work. Not sure if it's a bug in TB or because of how MM handles the external sdcard but it doesn't check it. It finds the TWRP folder on internal, which if you don't backup on internal, only has your preferences (and theme if you use one). I never used it, so not sure if it was an issue before MM or not.
I did try and got an error about not finding a "clockworkmod/backup" folder or a "TWRP/Backups" folder so to see what happened I made a "Backups" folder in the TWRP directory on my internal storage and the error basically changed to say there were no backups in it.
Click to expand...
Click to collapse
Cheers for that mate, seems to have done the trick. Unfortunately when I restore my Phone & Messaging data it completely destroys my phone... I get the message "com.android.phone" has stopped working & the entire system slows down to a crawl... I also get the Sim Card icon in the top right of the screen with a line through it... Is this because I'm moving between Sense to something else? I'm really at my wits end with this.
Any advice would be much appreciated.
NeoSonic said:
Cheers for that mate, seems to have done the trick. Unfortunately when I restore my Phone & Messaging data it completely destroys my phone... I get the message "com.android.phone" has stopped working & the entire system slows down to a crawl... I also get the Sim Card icon in the top right of the screen with a line through it... Is this because I'm moving between Sense to something else? I'm really at my wits end with this.
Any advice would be much appreciated.
Click to expand...
Click to collapse
I would say that's definitely it. Not only are you restoring app data for system apps from two different Android versions (LP -> MM) which can be buggy, but also for two completely different builds (Sense -> CM) which don't use the same apps. Sense will use HTC's own Phone and Messaging apps and CM if I remember uses stock Android versions). It's been too long since I tried CM but when I did it I had a third-party program for backing up contacts and installed something like GoSMS to backup messages, then installed the same apps on CM and restored the data from within those apps and the stock dialer/messaging apps had the data. But this was before HTC added backup/restore capability into their versions of the apps.
I'm having a similar issue, I google searched and it brought me here. I can see my backup from within TWRP, even on the PC I can see the TWRP folder and files. But when I boot and use titanium backup or nandroid manager, it says backup not found. Even in the root browser, the TWRP folder is empty and even on the PC I can't see the files anymore. Its kind of frustrating because there are two apps that I want restored but I don't want to completly restore using TWRP.
rapiollymega said:
I'm having a similar issue, I google searched and it brought me here. I can see my backup from within TWRP, even on the PC I can see the TWRP folder and files. But when I boot and use titanium backup or nandroid manager, it says backup not found. Even in the root browser, the TWRP folder is empty and even on the PC I can't see the files anymore. Its kind of frustrating because there are two apps that I want restored but I don't want to completly restore using TWRP.
Click to expand...
Click to collapse
Try going to Settings>Apps, find Titanium Backup, then select Permissions and see if Storage is toggled on.
I've got the same problem, storage permission is toggled on. Although I am using a LG G3
same here with my Galaxy S5 (AOKP 6.0.1)
The same problem on Xiaomi Mi Max (Android 6.0.1). External SD card permission is granted to TB (it can see full SD contents and select TWRP backup directories). But "extract from Nandroid backup" shows "folder not found" error.
I'm afraid CWM/TWRP directory locations are hardcoded as "/TWRP on SD card" while /sdcard is mapped to internal memory on modern phones.
I had copied data files of the backup (1.5 gigs, not a best choice) to internal memory (/sdcard) and TB immediately found them. Unfortunately, TB offers only apps and app data for restoration. I need to extract plain user data directories but TB offers no way for that.
Stock S5 6.0.1
same here...what a pain..
Had to copy nandroid backup from extsd to internal storage to restore app data
-Duir- said:
Is your TWRP backup folder on the external sdcard? If so, did you give Titanium access? There's multiple thread about apps needing to be given permission to access external storage. Titanium Backup especially has a lot of threads detailing this because of steps needed to access your backup folder if it is on the external sdcard.
Click to expand...
Click to collapse
DAMN THANK YOU that solved it
Anyone knows how to extract the nandroidbackup from the TWRP folder on ExternalStorage? I cannot move the backup because its to large for my InternalStorage. I think it's an issue in TiBackup, creating a symbolic link also does not work since my ExternalStorage is formatted as exFAT.
Another fix I discovered is get your BACKUP ID
twrp save folder > TWRP>BACKUPS>BACKUPID>backup
if you have a backup without a backupid folder it will not work!
Having storage permission or not doesn't seem to help at all!
-Duir- said:
Is your TWRP backup folder on the external sdcard? If so, did you give Titanium access? There's multiple thread about apps needing to be given permission to access external storage. Titanium Backup especially has a lot of threads detailing this because of steps needed to access your backup folder if it is on the external sdcard.
Click to expand...
Click to collapse
This helps Titanium Backup see its own backup folder, but doesn't help it see the /TWRP/BACKUPS folder
emuzychenko said:
I'm afraid CWM/TWRP directory locations are hardcoded as "/TWRP on SD card" while /sdcard is mapped to internal memory on modern phones.
Click to expand...
Click to collapse
Can a symlink be created from the location it's looking to the location it's actually at?

Categories

Resources