Solving a bad Tibu backup - Captivate General

I had made a backup using Titanium Backup of my setup on Infinitum 1.0.0, and was planning to make the jump to 1.0.1. After the backup finished, I cleared data (factory reset) in CWM, and flashed the new rom. When it came time to use Tibu to put everything back, it seemed to go fine.
...at first.
As I opened each app, I kept getting error messages saying that the app had to close. I tried multiple ways of getting around this:
- flashed back to 1.0.0 and restored. No good.
- flashed to GB stock and restored. No good.
- flashed a GB custom rom and restored. No good.
So I obviously had a bad backup on my hands. This overall wasn't a huge deal, except for a few games that had some progress I didn't want to have to do over.
According to Tibu's website, you sometimes can fix this by re-downloading the app from the Play Store and then restoring the data. This didn't work.
Ultimately, I just restored only the apps. They installed fine this way, but the ones who had data I cared about didn't have that data there.
To get around it, I did this:
1. I opened up the "TitaniumBackup" folder on my internal SD card and navigated to the files for the app I wanted to save.
2. I copied the file that ended in .tar.gz (not the .apk.gz or the "properties") to my pc, and extracted it fully with 7zip (extract the gzip, extract the .tar)
3. I compared the files in the unzipped folder against my phone to find where they were located. For instance, the ones I was looking at were in /data/data/(application folder). Make sure that that folder exists on your phone.
4. Using adb, I pushed the files inside of the .tar.gz file I had unzipped into the corresponding folders in /data/data (e.g. adb push sysprefs /data/data/amazingapp/sysprefs).
This is probably all what TiBu does behind the scenes, but for me, it restored the data of the apps that wouldn't restore via Tibu.
Hope this helps someone else.

Related

Titanium Backup/Dropbox restore help

I have synched my Titanium Backup to my Dropbox account, and have the files on my desktop. There were older files in there, however, from previous backups. My question is should I only zip up the files dated from the most recent backup (1/1/11), or should I zip all the files and move them to the card? My instincts say use just yesterday's, as it was a full backup, but there's a niggle in the back of my mind - any insight would be appreciated!
I have a real headache going on here...
I have a backup in Dropbox made with Ti Backup dated Feb 13, which I'm trying desperately to restore after my Samsung Epic had to be reflashed. But no matter what I do, a backup from Jan 17 keeps showing on the restore list in Ti.
I deleted the Ti folder on my SD card and replaced it with the downloaded folder from Dropbox, but Jan 17 still comes up in the program. I then tried deleting the folder in the SD card, then ran a "Sync with Dropbox." Same result. I even uninstalled and reinstalled Ti but that Jan 17 backup keeps coming up.
I won't be doing any backups until I get this restoration done. Can anyone suggest what to do here?
Thanks!
toonvox said:
I have a real headache going on here...
I have a backup in Dropbox made with Ti Backup dated Feb 13, which I'm trying desperately to restore after my Samsung Epic had to be reflashed. But no matter what I do, a backup from Jan 17 keeps showing on the restore list in Ti.
I deleted the Ti folder on my SD card and replaced it with the downloaded folder from Dropbox, but Jan 17 still comes up in the program. I then tried deleting the folder in the SD card, then ran a "Sync with Dropbox." Same result. I even uninstalled and reinstalled Ti but that Jan 17 backup keeps coming up.
I won't be doing any backups until I get this restoration done. Can anyone suggest what to do here?
Thanks!
Click to expand...
Click to collapse
There's another place on the main memory that TB can store a backup, have you gone all through your file structure and killed all other possibilities? I had to do that myself once, it wasn't fun - also, make sure in TB preferences you're pointing to the correct directory in Preferences/Backup Folder Name.
reinbeau said:
There's another place on the main memory that TB can store a backup, have you gone all through your file structure and killed all other possibilities? I had to do that myself once, it wasn't fun - also, make sure in TB preferences you're pointing to the correct directory in Preferences/Backup Folder Name.
Click to expand...
Click to collapse
Thanks for the response!
a) How do I find out what the directory is in Preferences/Backup Folder Name? It just shows a folder name...not a place to put it.
b) If there's something in the phone memory, it's gone since I wiped the phone clean when I re-flashed it.
toonvox said:
Thanks for the response!
a) How do I find out what the directory is in Preferences/Backup Folder Name? It just shows a folder name...not a place to put it.
.
Click to expand...
Click to collapse
You have to go and look st it. Start up TB, hit the menu button, then preferences, and then choose backup folder. Tell me what that says and we'll go from there.
Sent from a state of Serendipity
A pop-up window which simply says:
Backup folder name:
TitaniumBackup
OK Cancel
toonvox said:
A pop-up window which simply says:
Backup folder name:
TitaniumBackup
OK Cancel
Click to expand...
Click to collapse
Ok, so what ROM version are you on? Are you on 2.2 or 2.2.1? If you are, you need to change that path to read external_sd/TitaniumBackup. Put the backup in there, and TB should pick it up from there. If you're on 2.1 someone else is going to have to give you the proper path, I've fogotten what it is.
It's 2.2.1. I'll make that change to prevent future problems. Thanks for the info! Really appreciated!
toonvox said:
It's 2.2.1. I'll make that change to prevent future problems. Thanks for the info! Really appreciated!
Click to expand...
Click to collapse
There's a button for that
Seriously, I hope your restore goes well.
Hoping to get some help... My Sd card fried on me today. Erased everything. Good thing I backed up everything on my Laptop... Re-downloaded titanium backup on my phone and am trying to get the TB files from my laptop back on to the app on my phone. I put the TB file i have saved into the TB folder on my SD card but when I open the app it still shows nothing saved... Can you tell me what I am doing wrong?
Samsung Fascinate MIUI 1.8.19
Android OS 2.3.5 GB
EDit: Nevermind, got it!
So as far as I can see, first I pay for the Dropbox restore ability (which indeed saved me though) and then I can't even automatically restore from Dropbox, but only manually copy the files to SD and then restore? Disappointing.
I tried this now (after copying the files into the "TitaniumBackup" folder), but it doesn't work, it simply doesn't draw the files. I rebooted, to no result.
What do I do wrong?
PS: This is on CM9 RC0.
knowledgeworker said:
So as far as I can see, first I pay for the Dropbox restore ability (which indeed saved me though) and then I can't even automatically restore from Dropbox, but only manually copy the files to SD and then restore? Disappointing.
I tried this now (after copying the files into the "TitaniumBackup" folder), but it doesn't work, it simply doesn't draw the files. I rebooted, to no result.
What do I do wrong?
PS: This is on CM9 RC0.
Click to expand...
Click to collapse
Not true. I have restored via Dropbox multiple times on multiple devices. Follow the below steps:
1.) On a recently wiped device, Setup Dropbox via Titanium Backup. *Make sure you are pointing to the correct folder on your Dropbox account.*
2.) Click on "Schedules"
3.) Click "Run" on the Sync to Dropbox option.
4.) If all the above was done correctly you should see files from Dropbox being downloaded to your device. This may take a while depending on how many applications you have.
5.) Once the download completes, Figure out where the files were restored. By default they should be in the TitaniumBackup folder on the root of your SD card.
6.) Go into Preferences in Titanium once the download from Dropbox is complete.
7.) Scroll down to "Backup folder location"
8.) Click on "DETECT"
9.) Select "SD Card". It should show you all directories with Titanium backup files.
10.) Select the folder that has the files you downloaded from Dropbox.
11.) Select "Use the current folder"
12.) Exit Titanium and go back in. You should now see all your applications from Dropbox when you select "Restore missing apps with data"
13.) Restore and enjoy.
Thank you Mike02z it help me
Mike02z said:
Not true. I have restored via Dropbox multiple times on multiple devices. Follow the below steps:
1.) On a recently wiped device, Setup Dropbox via Titanium Backup. *Make sure you are pointing to the correct folder on your Dropbox account.*
2.) Click on "Schedules"
3.) Click "Run" on the Sync to Dropbox option.
4.) If all the above was done correctly you should see files from Dropbox being downloaded to your device. This may take a while depending on how many applications you have.
5.) Once the download completes, Figure out where the files were restored. By default they should be in the TitaniumBackup folder on the root of your SD card.
6.) Go into Preferences in Titanium once the download from Dropbox is complete.
7.) Scroll down to "Backup folder location"
8.) Click on "DETECT"
9.) Select "SD Card". It should show you all directories with Titanium backup files.
10.) Select the folder that has the files you downloaded from Dropbox.
11.) Select "Use the current folder"
12.) Exit Titanium and go back in. You should now see all your applications from Dropbox when you select "Restore missing apps with data"
13.) Restore and enjoy.
Click to expand...
Click to collapse
I just had trouble with this and figured out the key is to delete your titaniumbackup folder on your sd card and then go and restore and wala it downloads from your dropbox folder.

[Q] Native Apps

I had some native apps get deleted in the process of trying to convert them to user apps and move them to sd card (stupid I know!). Titanium backup hung up during the process and when it closed it apparently didn't finish and so the apps just went away. And I thought I had backed everything beforehand but apparently not.
They were the text messaging, photo gallery and calculator. Is there a way to reload just these three to the phone? It is rooted and I am still running the stock setup but need to get these loaded again (and frozen like I had them).
There are stock nandroid backups in the dev section.
Seeing as the stock Nandroid backups are a real pain to use, you might just want to check out a stock-ish ROM instead... like b_randon14's. The complete and "stock" ones should have all the apps the way they came originally.
...Although how you return some of the stockier apps without just flashing a darn system ROM could be difficult...
Do a nandoid backup
Flash a stock ROM
grab the apk files from /system/app and copy them to your SD card
restore your backup
Pop the missing apk's in /system/app
I keep a local copy of all the stock apk's on my PC, it's helped having them a few times

[Q] Format SD-card?

Hey guys, ive got little space left on my sd card in my nexus.
Can i format it? What do i do with the clockwork folder?
Thank you
If you do not intend to flash a new ROM then no you can't. I'm pretty sure you can if you flash a ROM, but remember to backup your photos and music first.
Is there a reason why you can't just delete some of your media or photos? If you've done a few nandroid backups in CWM you can delete any old ones in the app.
Sent from my obnoxious finger using Swype
Actually, after a few more seconds thought, if you've copied your music and photos onto your computer, I'm pretty sure you could do this:
1) do a complete nandroid backup
2) locate it, copy the entire directory to your computer
3) make a note of where it came from (the directory tree)
4) format your sdcard
5) copy your nandroid backup back to your sdcard making sure the directory structure is the same as before
6) restore your nandroid backup
There may be important catalogue files in the CWM directory, so it may be better to copy the entire CWM backup directory tree from its root.
Sent from my obnoxious finger using Swype
Ive tought the same thing. I deleted my old backups, then i backup music and photos (7gb~) theni copy the whole clockwork folder back to the telephone?
elinho said:
Ive tought the same thing. I deleted my old backups, then i backup music and photos (7gb~) theni copy the whole clockwork folder back to the telephone?
Click to expand...
Click to collapse
To restore from a nandroid from complete stock just create a folder called clockworkmod. Inside that folder create another called backup. In that folder paste your old backup file. If you format the whole sd card some files and settings will be missing when you restore.
IMO its easier to copy all the files you want to your pc, then just go through your phone and delete all the files you don't use on a regular basis
Sent from my illuminated black thing
elinho said:
Ive tought the same thing. I deleted my old backups, then i backup music and photos (7gb~) theni copy the whole clockwork folder back to the telephone?
Click to expand...
Click to collapse
I just did that, and it worked fine. Everything was te same as before the format. I only had 2gb of photos though. Maybe you should go through yours before copying back to your phone and weed out any you don't need.
I use the instant upload with G+ (WiFi Only) and as I take photos, they get uploaded to a private album. Once they're uploaded I delete them from the phone. Saves space .
ka24e said:
I use the instant upload with G+ (WiFi Only) and as I take photos, they get uploaded to a private album. Once they're uploaded I delete them from the phone. Saves space .
Click to expand...
Click to collapse
Does it keep them at full Q? Been thinking about it but was waiting for G+ to allow Google Apps accounts

Transfer App with data to other phone

I recently got hands on my OnePlus 3. I am migrating from RedMi Note 3G. Now the thing is, I have couple of apps (Whatsapp & Saavn) which have larger data (300MB and 700+MB) with them. Now I know Titanium Backup is a way to go but it is not backing up my apps saying insufficient storage available even though I have 1 GB+ available on phone and 10 GB+ on External SD(My backup location is on here).
So my question is, is there any better way for this to transfer directly?
I tried:
Easy Backup(app) - Only backs up apk.
CloneIt(app) - Only sends apk.
You can try Titanium Backup but I'll warn you, some apps and data don't restore correctly on another device.
You can also use ES file Explorer to backup the apk and then you go to your Android/data/ folder and you'll see a folder there that has the app data for that app, you can copy that folder to your extsdcard or PC then you install the apk on the other device then you copy the app data folder to the Android/data folder on the new device.
I tried Titanium Backup, it wont backup saying insufficient storage while I have more than enough on both(Phone & SD card).
I will try the other idea and let you know.
Yeah, the second option I posted, doing it manually. It backs up the same stuff Titanium would, Titanium just automates the process for you. You just need to know where to look so you can copy the app data folder for each app that you backup, then you need to know where to put back on the other device. Its a bit round-a-bout but it serves the sane purpose and will do the same job, you just have to do it yourself instead of it being convenient.
Doesn't Work. FIles get copied but app doesn't recognize them anyway.
Do an adb backup then, you can restore it with adb also.

Need help restoring app data from a backup

A few days ago, I upgraded my Redmi Note 4X from the Android 7 based MIUI 11 to custom MIUI 12 firmware, based on Android 9. Since I wanted to keep all my apps, I first rooted my phone and did a backup with Super Backup & Restore. After installing the new ROM (which was already rooted with Magisk) and installing Super Backup again. For some reason, it deleted all the data from its backup folder on my MicroSD Card. Fortunately, I was able to recover just about everything using some data recovery software on my PC.
For some reason, if I restore the apps using Super Backup, they crash when I open them. This is happening to, after flashing the MIUI 11 firmware again. It also is happening on a different phone.
As an alternative, instead of using Super Backup, I've tried copying and pasting the app data for an app (that has already been installed again on my phone) that Super Backup backed up, to apps folder on my phone's internal storage, replacing the current data there, with the data from by backup. However, when I do that, although what ever file manager I use, says it has successfully pasted the data, the app data on the phone does usually not get overwritten. To give two examples. When I try and replace the database used by the Meizu Notes app, with the database from the backup it does not get replaced. I even tried to do the same with AROMA File Manager with TWRP and it made no difference. Not only does the Notes app not show the data from my backup, but if I open the database file in a file manager, it also does not show that data. I find this to be strange, as I get no errors when pasting the data from my MicroSD Card and choosing to overwrite the existing data.
The second example, is this. I tried to use my old Coc Coc Browser's bookmarks file. After doing so, Coc Coc, had no bookmarks. I then manually added a bookmark to Coc Coc, after which, I tried copying the bookmarks file again. Coc Coc now actually had my old bookmarks and not the one bookmark I just added, which is quite strange, as it the file copy hadn't worked the first time.
I am looking for some way to be able to actually restore the app data from my backup. I've already quite a few hours trying to find a solution, with no luck so far. But I figure, that there must be some way to do it. Based on past experiences, I really should have made backups with two different backup apps, as I know that sometimes restoring backups can be problematic. But due to limited free space on my MicroSD Card, I decided not to. I just wish that there was a decent native backup solution for Android, as I always want all of my app data restored when switching ROMs, or phones and not just the apps themselves.

Categories

Resources