[Q] Recover apps from TWRP backup using TitaniumBackup does not work - Android Q&A, Help & Troubleshooting

When I try to recover my apps using Titanium Backup's "Extract from Nandroid" feature, it says "Could not find any data in this TWRP backup"
The files in my TWRP backup folder are
data.ext4.win000
data.ext4.win001
data.ext4.win002
md5 for the above
recover.log
Any help would be appreciated

Yup, same problem here. Im on a Galaxy Nexus running XenonHD and TWRP.
I've tried unpacking them on my pc, so i could use an emulator and run my phone through there.
That kinda works, and using Titanium Backup, it seems to extract it without an error. But afterwards, the app is very glitchy.
Im guessing Titanium Backup doesnt really do well on TWRP as i had no problems using clockworkmod.

I'm experiencing the same problem running Marshmallow trying to restore apps from a TWRP backup (Galaxy S4). At first, Titanium backup just refused to even see the backup files (although it accepts the containing folder as a backup location). Once it finally and magically accepted to see the backups it now tells me that it cant find any data in them...
Has anyone solved this yet?

Related

[Q] Nandroid backup/restore on rooted Streak...

I'm curious about this. Maybe someone can enlighten me.
Lets say that I'm on stock 2.2, rooted. I do a nandroid backup. Then I allow the upgrade for 2.2.2. Of course I lose root.
Will a nandroid restore, restore root, or will I have to root again?
A full nandroid restore will restore everything - the system and data - and you will be right back where you were, on 2.2 and rooted.
maltloaf said:
A full nandroid restore will restore everything - the system and data - and you will be right back where you were, on 2.2 and rooted.
Click to expand...
Click to collapse
Ahh, okay.
So to confirm that I understand you correctly...
...the 2.2.2 update won't hold after the nandroid restore? I'll be back to 2.2, as it was before the (2.2.2) update?
If you just wanna backup and restore your apps, use Titanium Backup (it's free on the Market).
Nandroid backs up your entire phone. When you restore a nandroid backup your phone will be exactly like it was when you made the backup. Restoring a nandroid backup is used to recover from a crash or to revert to a previous ROM.
After a ROM change I will set up my accounts, root if needed and do any other basic setup stuff and then, before installing any apps, do a nandroid backup. I can then go back to a "fresh install" if I want to. I also do a nandroid each weekly to capture the state of my phone.
Backing up apps and restoring them across different ROMs may or may not work for you. When I have tried this with Titanium Backup I had many force closes and ended up reinstalling everything from the market. Others have had success. I have read the MyBackup pro does better, but most suggest that you just backup and restore data not the app itself.
I have not tried backing up my apps to Google, which you can do in later versions of Android. Go to Privacy in the setting menu and then to Backup and restore. There are boxes for data backup and automatic restore you can check. maybe someone who has used this can comment on how well it works.
If your nandroid backups hang up at "backing up firstboot" get the latest version of StreakMod Recovery.
marvin02 said:
Backing up apps and restoring them across different ROMs may or may not work for you. When I have tried this with Titanium Backup I had many force closes and ended up reinstalling everything from the market. Others have had success. I have read the MyBackup pro does better, but most suggest that you just backup and restore data not the app itself.
Click to expand...
Click to collapse
After installing a fresh ROM and rooting my device, the first thing I do is install Busybox. Then, with Titanium Backup I do Restore Apps Only, then reboot my device. I never get any FC's with this restore process.
Thanks!
Thank you everyone. I appreciate the info.
I've used Titanium BU, and have busybox installed too.
It was just a matter of if after an update (OTA), and restore with Nandroid, would root still be in place.
I totally understand what you guys are saying now.
I've also been using MyBackup to see how it compares to Titanium. So far so good.
~X
I prefer mybackup root to titanium. It's far more user friendly and more automated (in the free version). As for nandroids, I always take a backup before doing any system changes (hacks or rom updates) so I can roll back to a known good system if needs be.
BTW - it is a good idea to copy your ROM backups to another device, just in case your SD card dies. I copy mine to one of my desktop computers and to a USB drive. I usually back up my entire SD card, except my music folders, every couple of weeks.
Where does Nandroid put the backups so I can rename them and save off phone?
mine (from Streakmod recovery) are in /sdcard/rom_backup
StreakMod recovery puts the backups on the SD Card in a folder named rom_backup.
Each backup is in a sub-folder of it's own and uses a date-time format for the folder name. I rename the folders with a meaningful name by just pre-pending to the name. So my last backup is named BB351-2011-06-18-02.41.04. The following files are created:
.android_secure.img
boot.img
cache.img
data.img
firstboot.img
recovery.img
system.img
nandroid.md5
the md5 file is a text file that contains the md5 sums for the other files. This file is used to verify the other files when they are restored.

Titanium Backup won't restore

I've got TB pro, so i did a batch backup and decided before i flash any new roms again, that TB is working.
Backing up completes fine.
But it won't restore apps.
I updated to the latest TB pro, cleared my data and set app processing mode to AUTO, Indirect, but that didn't help either.
Any solutions?
Maybe TB canĀ“t find the path for the backup? That happened to me when I flashed an ICS rom that changes the path of both internal and external SD.
I cant imagine how, i havent changed roms at all!
I literally just batch backed up all my apps, then uninstalled two apps and tried restore them but neither would restore
Got the same problem for a long time now..... Tried everything
If u made a zip file then extract it nomrally and install the apps
next time use nandroid backup.
Dont forget hitting thanks......

[Q] Extracting CWM6 Backups

Hello, while I was using my phone it rebooted and aparrently someting from my /data got corupted disabling my Rom from booting ever again.
So I created a nandroid via CWM6, installed a new rom and I'm now scratching my head on how to extract certain apps from that backup. Using CWM5 I could do this via the use of Titanium Backup, but now it's more complex than that CWM6 nandroids are unreadable from anything that exists out there. The only app which could analyze the backup correctly was the latest beta of "app extractor" but even that could not extract the apks *with* their data.
Basically my apps' data is precious and I wish to restore it at all costs, I have a nandroid of them, but the format is so unspeakably complex that it is basically useless. So the other "solution" was restore the nandroid and pull the whole /data partition in my PC via ADB, but I'm not sure what I can do with it.
So as it stands I now have two copies of my apps, one in a nandroid format another as it was pulled from the phone but I'm not sure how I can go on and restore them in a new rom. As I have found out CWM6 was quite a downgrade for/to those who backup/recover frequently, it's sad that I have found about it in such a disastrous way

[Q] Titaniumbackup Help Needed!

Ok, so i have made backup via titaniumbackup earlier. i installed few custom roms to my Samsung galaxy S3 and restored my apps succesfully to that rom. however i didnt like those roms that much so i installed the old stock rom back. this process unrooted my phone, now im running stock galaxy s3. i went to play store and downloaded titaniumbackup + the pro license which i have. i went to the app and saw there were no backups or anything, i went to my phone files and saw my titaniumbackup folder to be emty for some reason.
Now the question, after i did backup to my phone earlier, i copied titaniumbackup folder(with app files data etc) to my pc.
Is it possible to do a succesfull backup of these files if i copy the titaniumbackup folder to my phone? (apps+data are in that folder)
Lemonboyy said:
Is it possible to do a succesfull backup of these files if i copy the titaniumbackup folder to my phone? (apps+data are in that folder)
Click to expand...
Click to collapse
In order for Titanium Backup to work you'll need to re-root your phone because you mentioned you lost root when restoring the stock ROM. After you have regained root access place the contents of your previous backup into the empty Titanium Backup folder then use Titanium Backup's restore function to restore the backup you transferred from your computer to your phone.
Sent from my SCH-I535 using xda premium
no
Lemonboyy said:
Ok, so i have made backup via titaniumbackup earlier. i installed few custom roms to my Samsung galaxy S3 and restored my apps succesfully to that rom. however i didnt like those roms that much so i installed the old stock rom back. this process unrooted my phone, now im running stock galaxy s3. i went to play store and downloaded titaniumbackup + the pro license which i have. i went to the app and saw there were no backups or anything, i went to my phone files and saw my titaniumbackup folder to be emty for some reason.
Now the question, after i did backup to my phone earlier, i copied titaniumbackup folder(with app files data etc) to my pc.
Is it possible to do a succesfull backup of these files if i copy the titaniumbackup folder to my phone? (apps+data are in that folder)
Click to expand...
Click to collapse
yes you can restore you backed up apps and data,but you must be rooted,if you want easy root,you can use framaroot
Thanks guys! sorry i forgot to mention that i actually rooted my device again after i lost it. but titanium didnt recognice any backup files because there werent any in the phone because they got deleted by accident or somehow i dont know. but if i just move those files from my pc to original titaniumbackup folder i should be fine restoring my lost apps and data? thanks alot!
Lemonboyy said:
Thanks guys! sorry i forgot to mention that i actually rooted my device again after i lost it. but titanium didnt recognice any backup files because there werent any in the phone because they got deleted by accident or somehow i dont know. but if i just move those files from my pc to original titaniumbackup folder i should be fine restoring my lost apps and data? thanks alot!
Click to expand...
Click to collapse
Yes if you move the files from computer to your Titanium Backup folder you should be fine restoring the apps and data.
Sent from my SCH-I535 using xda premium

How to recover data from "adb backup --twrp" archive? Been through hell and back

How to recover data from "adb backup --twrp" archive? Been through hell and back
I have two backups I made using "adb backup --twrp" while my OnePlus one phone was in TWRP recovery 3.2.1-0 running LineageOS with a recent build (don't know exactly which one, but it was from Feb/March 2018). Each of the backups are about 6.0GB so they appear to be complete backups. I am trying to recover one app and its data (Signal/Textsecure) but the rest would be nice too. The backup files have .ab extensions. I am fairly android savvy and have been working on this for days, your help is VERY MUCH APPRECIATED! I have access to Windows and Linux.
I have tried the following:
-"adb restore filename.ab" while in TWRP recovery. It appears to restore (progress bar goes, it reports success, etc), but no apps are restored. I have tried this both with totally wiped partitions/system/data and with a fresh install of LineageOS. As far as I can tell, nothing happens. When doing a restore after a full wipe and trying to restart, TWRP warns that no OS is installed.
-Restoring using the restore menu in TWRP. Immediately upon clicking on the backup, the phone restarts and TWRP opens again. Not sure what's going on there.
-Opening the backups in Titanium Backup, Nandroid manager, and a few other apps. None of them worked. Titanium backup crashes instantly in recover from ADB, doesn't recognize the backups in nandroid recovery mode.
-Opening the .ab files in an archive manager, all of which report it isn't a valid tar archive. One time I was able to get a list of directories, and things looked pretty right, so I know at least some of the data should be there. Running variants of this command with different skip values, none of which produces a valid tar file dd if=file.ab bs=512 skip=1 of=test.tar
Questions:
- Is there a way to extract data from these backups in Linux or Windows outside of Android? From what I read, TWRP adds some stuff in the headers which makes them invalid tar files, and that doing "adb backup --twrp" is different from a regular TWRP backup.
- Why is TWRP crashing? Is there a log I can look at for this and how? Maybe i can find a way to diagnose it that way.
- Where does Signal store message data? I have a flat-file backup that may have this information depending on where it's stored.
- Can I somehow convert these backups to a different format that might be better-tolerated by TWRP or other apps?
- Any good utilities for reading a corrupted tar file? I think all this utility would need to do is skip through the junk at the start.

Categories

Resources