[Q] Extract Apps from Nandroid Backup? - Desire Q&A, Help & Troubleshooting

Hi,
is there a tutorial or something on How to extract parts of a Nandroid backup?
My problem is, i've got a non-booting nandroid backup but i know all the data is in there.
I've already restored "data" while an other ROM and backuped all SMS.
Now i just want a couple of Apps with their data and I'm not sure how i should try this.
Either i can restore the apps with data from the nandroid, or i Install the apps on a fresh rom and restore the data of the Apps, whatever is easier.
Thanks in advance
Timo

Anyone got an idea?

Hey, schau einfach mal hier vorbei. Im thread ist eig alles beschrieben
For others:
Download this file (unyaffs.exe) > http://www.megaupload.com/?d=ZLBGPOB6
copy it to the folder of your nandroid backup (*.img files)
drag a *.img onto the unyaffs.exe
wait
enjoy

Danke!
Yes i already have Unyaffs and extracted all the files, but I don't really know where the "App Data" is stored.
For example, how would i restore the Savegame of a game.. where is this App-Data saved?
Is it in the data.img? under Data\com.applicationname?

Im not sure but I think it's in \data\data
Is it in the data.img? under Data\com.applicationname?
Click to expand...
Click to collapse
Jep, i think that's it.

Thanks again,
So I copied my not-booting nandroid image, extracted it with unyaffs (the data.img)
picked the data-files i wanted and pushed them back via ADB.
For example
adb push C:\HTC\net.rgruet.android.g3watchdog /data/data/net.rgruet.android.g3watchdog
worked like a charm, next time better save the stuff with titanium

Related

[Q]Automatic install apps with install

I've got some apps that i need in android, so when i test a new build i have to install them all again.
So i'm wondering if there is a way/script that is installing the apps automatically when the build is making a new data.img?
Is there a way to make it myself? It works the same as linux on the pc?
I know you can have multiple build on your sd card, but it won't fit on my sd card. That's because i have a 2gb card and already 1,8gb is in use(android and maps for winmo tomtom)
Thanks in advance.
Well if you have the actual APK, just drop it in the AndroidApps folder - it'll get installed automatically.
Otherwise, Titanium Backup FTW. The free version is still very powerful, but application restoring is kinda painful on the free version - the paid-for version has a '0-click' batch restore, and I've heard it's very fast. I keep considering buying the app, I probably should
I have not been able to find out how to restore backed up programs using Titanium Backup. I did my backups for the programs that I wanted, deleted my data.img so I could try a new build, and when it rebooted Titanium Backup was not there. I reinstalled Titanium Backup thinking it would find the backed up files again, but apparently it stores the backups in the data.img file. I am not sure if this happens to be an issue that I have encountered solely or not, but it kinda aggravated me that it didn't do what it was supposed to do.
Any advice or knowledge of what I may have done wrong?
fierygod said:
I have not been able to find out how to restore backed up programs using Titanium Backup. I did my backups for the programs that I wanted, deleted my data.img so I could try a new build, and when it rebooted Titanium Backup was not there. I reinstalled Titanium Backup thinking it would find the backed up files again, but apparently it stores the backups in the data.img file. I am not sure if this happens to be an issue that I have encountered solely or not, but it kinda aggravated me that it didn't do what it was supposed to do.
Any advice or knowledge of what I may have done wrong?
Click to expand...
Click to collapse
It stores the backups on the root of the sdcard in the folder TitaniumBackup. I have version 2.9.4 installed.
Christiaan91 said:
It stores the backups on the root of the sdcard in the folder TitaniumBackup. I have version 2.9.4 installed.
Click to expand...
Click to collapse
I checked that directory after I performed my backups, and the files were there, but when I reinstalled the app after wiping the data.img, the directory was empty. Apparently I must have needed to rename the directory prior to reinstalling Titanium Backup or something.
fierygod said:
I checked that directory after I performed my backups, and the files were there, but when I reinstalled the app after wiping the data.img, the directory was empty. Apparently I must have needed to rename the directory prior to reinstalling Titanium Backup or something.
Click to expand...
Click to collapse
Probably when you where installing TB again, it emptied the folder.
Sounds likely. I will have to test that theory later on when I go to try a new build, if I remember to do so.
Sent from my MSM using the XDA mobile application powered by Tapatalk

[Q] Data Path Problem

I want to backup my "Angry Birds Star War" save files but i don't know where is it
The path should be "/data/data/com.rovio.angrybirdsstarwars.ads.iap/files/" on other devices but it isn't exist on T989.
Kindly please help.
Thank you very much.
Is your phone rooted? If it is you should download a backup app like Titanium Backup. You can use it to save both apps and data, meaning your save files would be preserved. If you want to back up the file to a hard drive, you can always copy the backup file that Titanium Backup creates to that drive.
333redrum said:
Is your phone rooted? If it is you should download a backup app like Titanium Backup. You can use it to save both apps and data, meaning your save files would be preserved. If you want to back up the file to a hard drive, you can always copy the backup file that Titanium Backup creates to that drive.
Click to expand...
Click to collapse
Not rooted. So that i need to know the exact path for "adb pull" the file.
I can do that on other phone but not this one.
So what i need to know if the T989 apps are installed into "/data/data" ?
Or the angrys birds having a special version on T989 so that the package isn't "com.rovio.angrybirdsstarwars.ads.iap"
Thanks.

[Q] Android 4.2 - Titanium Backup

Hello. I am loving bigxie's 4.2 rom (here) but I can't seem to get titanium backup to work. It says I have nothing to restore when I have about 60 things to restore. Please help me.
Thanks
Apparently 4.2 changes directories on your sdcard to sdcard0.
May try titanium settings and have it rescan. Not on 4.2 yet so can't test for you, but seems I had this solution work with a similar issue on another device.
Edit: titanium/preferences/backup location.
jfcooley said:
Apparently 4.2 changes directories on your sdcard to sdcard0.
May try titanium settings and have it rescan. Not on 4.2 yet so can't test for you, but seems I had this solution work with a similar issue on another device.
Edit: titanium/preferences/backup location.
Click to expand...
Click to collapse
Thanks for the help, but it didn't work. I tried changing the "backup location" to:
mnt/sdcard/TitaniumBackup
sdcard/TitaniumBackup
storage/0/emulated/TitaniumBackup
storage/sdcard0/TitaniumBackup
and other things
I will be assuming that you've used auto detect. Have you tried to move your Titanium Backup folder to /sdcard/0?
chickentuna said:
I will be assuming that you've used auto detect. Have you tried to move your Titanium Backup folder to /sdcard/0?
Click to expand...
Click to collapse
it works for me with no problem and no changes at all to any setting
BiteBlaze said:
Thanks for the help, but it didn't work. I tried changing the "backup location" to:
Click to expand...
Click to collapse
do you backup to the cloud? you can import backups from within preferences...otherwise, if you have access to those backups (in a Dropbox folder or something)
connect your phone to your computer...create a new directory "titanium"
copy all backups to this directory
unplug phone from PC
in titanium, select >preferences >backup location
press the back button to navigate to the newly created "titanium" folder, and select it as your new location
it's got something to do with 4.2...i couldn't access my TitaniumBackup folder on pc and did the above to fix it
if you don't have a cloud backup, restore your 4.1.2, copy the TitaniumBackup folder to your PC, then restore your 4.2 and do the above
(there may be an easier way but it's past midnight and that's all i can come up with)
try resetting your filters...i had uninstalled apps filtered out.
Try this
I am not sure if it works for free version, but this is what I did. Titanium Backup Pro -> Preferences -> Backup folder location -> Scan, it will find and give you the multiple directories it has... luckily you will find the one you have your data with... Old post I know, but someone might find it useful when they run into this.
I don't know if this is the right place, but I don't want to start a new topic.
So, this is what I have: a Galaxy Nexus GSM running CM 10.1 (on the nightlies branch). I had to do a data wipe this morning because of a boot loop, but I did a NAND backup from TWRP (checking /data and /system) before that. The problem is that Titanium Backup does not see what's inside that NAND backup - it sees the folder, but when I choose it, it begins scanning ('Analysing TWRP backup'), then comes with a screen like this: https://lh4.googleusercontent.com/-...1zy6U/s823/Screenshot_2013-02-13-16-31-16.png. Does this have anything to do with the Android ID (I restored it to an older one, it should match the one it was when I did the NAND)? I installed TB 6.0 at first, but it's the same with 6.0.2.1. I have a PRO key.
killchain said:
I don't know if this is the right place, but I don't want to start a new topic.
So, this is what I have: a Galaxy Nexus GSM running CM 10.1 (on the nightlies branch). I had to do a data wipe this morning because of a boot loop, but I did a NAND backup from TWRP (checking /data and /system) before that. The problem is that Titanium Backup does not see what's inside that NAND backup - it sees the folder, but when I choose it, it begins scanning ('Analysing TWRP backup'), then comes with a screen like this: https://lh4.googleusercontent.com/-...1zy6U/s823/Screenshot_2013-02-13-16-31-16.png. Does this have anything to do with the Android ID (I restored it to an older one, it should match the one it was when I did the NAND)? I installed TB 6.0 at first, but it's the same with 6.0.2.1. I have a PRO key.
Click to expand...
Click to collapse
It is my understanding that twrp recovery backup files cannot be read by the other tb.
Sent from my Galaxy Nexus using Tapatalk 2
killchain said:
I don't know if this is the right place, but I don't want to start a new topic.
So, this is what I have: a Galaxy Nexus GSM running CM 10.1 (on the nightlies branch). I had to do a data wipe this morning because of a boot loop, but I did a NAND backup from TWRP (checking /data and /system) before that. The problem is that Titanium Backup does not see what's inside that NAND backup - it sees the folder, but when I choose it, it begins scanning ('Analysing TWRP backup'), then comes with a screen like this: https://lh4.googleusercontent.com/-...1zy6U/s823/Screenshot_2013-02-13-16-31-16.png. Does this have anything to do with the Android ID (I restored it to an older one, it should match the one it was when I did the NAND)? I installed TB 6.0 at first, but it's the same with 6.0.2.1. I have a PRO key.
Click to expand...
Click to collapse
As far as I know, Titanium Backup doesnt restore from a nand. It makes its own backup folder with all the backups it creates on your SD Card. You have to use Titanium Backup to make the backups. If it does restore from a nand, then I dont know about that option and have never used it.
spjetrovic said:
It is my understanding that twrp recovery backup files cannot be read by the other tb recovery
Click to expand...
Click to collapse
I beg to differ, please see this: https://play.google.com/store/apps/details?id=com.keramidas.TitaniumBackup
It clearly says 'restore from CWM/TWRP backup', it's in the menu.
I have a 'native' TB backup, but it's from a little earlier.
Use a root file explorer or adb to move/copy your titanium backups from where they are currently to where titanium wants them to be
e.g. from /sdcard/TitaniumBackup to /sdcard/0/TitaniumBackup for example, I can't exactly remember how it goes for 4.2 (I just came off a 4.2 rom back to 4.1 stock toro).
govindadas said:
Use a root file explorer or adb to move/copy your titanium backups from where they are currently to where titanium wants them to be
e.g. from /sdcard/TitaniumBackup to /sdcard/0/TitaniumBackup for example, I can't exactly remember how it goes for 4.2 (I just came off a 4.2 rom back to 4.1 stock toro).
Click to expand...
Click to collapse
The native backup restored just fine. If it didn't, I could change the backup location in the settings.
The point is that the NAND backup from TWRP is newer, but appears empty in TB.

Replacement phone restore twrp backup

I had to have my note2 replaced I did a twrp backup placed it on new phone in the backup twrp folder but it is not recognized. Anyone have any possible solutions? Really all I'm after is game data that was backed up,and I'm not sure where to find that particular file in the backup thanks.
pretty sure u wouldnt wanna do a full nandroid restore of your partitions to another device... but as far as your game data goes.... you can use titanium backup to recover the apk and the game data by extracting from the nandroid backup file.
I've tried to do this before. It won't work.
Sent from my SGH-T889 using xda premium
Hey buddy. New device just start fresh. Safest way...
Hey,
I was on the same boat as u. I got it to work. I can remember the specifics at the moment but gist of it is that twrp creates a specific backup folder unique to each device. Open up an file browser and navigate over to where u have your backup. If theyre o. Your sd card it should be TWRP > BACKUPS > (Here u should find 2 folders with a bunch of random letters and numbers)
Those 2 folders are your backup folders. One was from your old device and the other is the folder twrp created for your new device.
When u reeboot into recovery, twrp wont recognize the old backup folder since it was unique to your old phone.
Long story short. Lol. Just go into the old folder from the file browser and copy the backup to the new back up folder.
After that, delete the old backup folder. Your backup should then show up when you boot into recovery.
As for which is the old and which is the new folder. My best bet is tbat the new folder is empty and the old folder has your backup.
Hope that helps.
Let me know if you need more help.

TWRP backup - Can I restore some app data without restoring the whole image?

So here's the thing: I made a TWRP backup of my 16GB nexus before I returned it yesterday (multitouch issues, dead pixels) but see now that people are reporting an OTA update that fixes the multitouch issue. I would rather not restore that backup since it is the JSS15J system, so is there a way I can get the data of at least a few apps and restore them individually somehow?
Thanks!
Titanium Backup can do that.
danvee said:
Titanium Backup can do that.
Click to expand...
Click to collapse
Ok, can it read the data in the TWRP folder? I have used TB a lot in the past but didn't think it might be able to use the TWRP data.
If it's not compressed (I never do), TiBu can do it perfectly.
In Titanium backup pro in it's menu is the option to 'extract from nandroid backup' .
Did it just last week, so I know the current version works.
danvee said:
If it's not compressed (I never do), TiBu can do it perfectly.
In Titanium backup pro in it's menu is the option to 'extract from nandroid backup' .
Did it just last week, so I know the current version works.
Click to expand...
Click to collapse
Ah, need the pro version. Hmm, thanks. I'll check it out.
Coronado is dead said:
Ah, need the pro version. Hmm, thanks. I'll check it out.
Click to expand...
Click to collapse
Use Nandroid Backup Manager. It's free.
It can restore apps and/or data, SMS messages, Call logs and more from your nandroid backup. It can also decompress the backup if it's compressed.
Advance Restore and just click restore data only on twrp
danvee said:
If it's not compressed (I never do), TiBu can do it perfectly.
In Titanium backup pro in it's menu is the option to 'extract from nandroid backup' .
Did it just last week, so I know the current version works.
Click to expand...
Click to collapse
thank you man thank you. i just had this http://forum.xda-developers.com/showpost.php?p=49548141&postcount=136 problem and your post is gonna help me i hope thanks. btw im on 4ext recovery
MrPhilo said:
Advance Restore and just click restore data only on twrp
Click to expand...
Click to collapse
Good day: Are you indicating that TWRP has an advanced restore feature?
Advance Restore and just click restore data only on twrp ????
I don't see any advanced menu in TWRP (Looks like all or nothing)?
Or, did you mean that Nandroid Manager has an advanced menu?
Regards
galearned said:
Are you indicating that TWRP has an advanced restore feature?
Advance Restore and just click restore data only on twrp ????
I don't see any advanced menu in TWRP (Looks like all or nothing)?
Click to expand...
Click to collapse
TWRP backups each partition separately, thus it can also restore any single partition so also /data
tetakpatalked from Nexus 7
tetakpatak said:
TWRP backups each partition separately, thus it can also restore any single partition so also /data
tetakpatalked from Nexus 7
Click to expand...
Click to collapse
"so is there a way I can get the data of at least a few apps and restore them individually somehow?"
Pfeffernuss said:
"so is there a way I can get the data of at least a few apps and restore them individually somehow?"
Click to expand...
Click to collapse
Of course. TWRP has no advanced backup&restore features because it doesn't need them: you will be prompted before each backup&restore action about the partitions.
For data of just single apps use better Titanium Backup. It can extract them from your nandroid backups
tetakpatalked from N7100
MrPhilo said:
Advance Restore and just click restore data only on twrp
Click to expand...
Click to collapse
does it restore gapps too?
javigbox said:
does it restore gapps too?
Click to expand...
Click to collapse
I think some of the gapps data is flashed to system, so it won't be able to completely restore it but after flashing gapps, you should be able to extract google apps with data intact from TWRP backup
jassalmithu said:
I think some of the gapps data is flashed to system, so it won't be able to completely restore it but after flashing gapps, you should be able to extract google apps with data intact from TWRP backup
Click to expand...
Click to collapse
Exactly what I do.
marsmallow 6 will update apps + data from your google account. Not sure it's fully implemented yet but it's supposed to work. I've tried it yesterday with a Mm6.0.1 on nexus 7 2013 and many apps were already configured. Not all of them. Going from MM6 to MM6.0.1 might complicate it so maybe it's better to restore with google and do a little work by yourself, to make sure. I gave up on those restore apps. It also give you the opportunity to do a clean up
Coronado is dead said:
So here's the thing: I made a TWRP backup of my 16GB nexus before I returned it yesterday (multitouch issues, dead pixels) but see now that people are reporting an OTA update that fixes the multitouch issue. I would rather not restore that backup since it is the JSS15J system, so is there a way I can get the data of at least a few apps and restore them individually somehow?
Thanks!
Click to expand...
Click to collapse
I'm sure somebody is already aware of this;just sharing coz this awed me![emoji33]
You need to ..extract/restore individual data files from nandroid backup?
Restore data to an app when switching between ROMs or OS versions?
Well TWRP IS THE ONLY THING YOU NEED! And a PC of course.
Bless the Devs[emoji7][emoji28]
Forget Nan managers, tar.extractors & the insanely complex Bash terminal commands
1. Go to File manager on TWRP recovery, it can read the system data i.e. data/data/ file (while your other file managers can,only data files on SD or ext.SD)
2.Go to data/data and locate the data folder of the app you wish to extract; will be in the format 'com.app name'
3.Push 'Select folder' tab on the screen; it gives you option to COPY the file
4.Move up & paste the data/data file on your readable memmory: sd/ext.SD
And that's it!! Just connect to the PC & pull the file & there u have: your APP DATA FILE!
I was tired using zip extractors, changing file names & struggling with command prompts; then found this[emoji4]
Hope it helps[emoji106]
Sent from my GT-N5110 using Tapatalk
---------- Post added at 08:57 AM ---------- Previous post was at 08:24 AM ----------
DIGVIJAY24 said:
I'm sure somebody is already aware of this;just sharing coz this awed me![emoji33]
You need to ..extract/restore individual data files from nandroid backup?
Restore data to an app when switching between ROMs or OS versions?
Well TWRP IS THE ONLY THING YOU NEED! And a PC of course.
Bless the Devs[emoji7][emoji28]
Forget Nan managers, tar.extractors & the insanely complex Bash terminal commands
1. Go to File manager on TWRP recovery, it can read the system data i.e. data/data/ file (while your other file managers can,only data files on SD or ext.SD)
2.Go to data/data and locate the data folder of the app you wish to extract; will be in the format 'com.app name'
3.Push 'Select folder' tab on the screen; it gives you option to COPY the file
4.Move up & paste the data/data file on your readable memmory: sd/ext.SD
And that's it!! Just connect to the PC & pull the file & there u have: your APP DATA FILE!
I was tired using zip extractors, changing file names & struggling with command prompts; then found this[emoji4]
Hope it helps[emoji106]
Sent from my GT-N5110 using Tapatalk
Click to expand...
Click to collapse
And believe me, I could repack the data into my new ROM just like that!
Not sure if this messes up with your system but I'm going great so far.
So you Upgraded to a higher OS and find some of your apps to be crashing on your new ROM & have a nandroid of your stock:
You are going to switch data files between stock & custom ROM!
1.Flash the Stock ROM & copy app data from the system files to readable memory, as mentioned above, just add a letter & Rename the copy(which again you can do with TWRP!) so that TWRP may not confuse with the new folder
2.Flash the new ROM, uninstall the app that crashes & install the compatible version from the store
3.Allow storage permission from settings; open the app & perform some action so that a storage directory is created,if not already, in the system storage
4.Boot to TWRP recovery in the new ROM , so now you have the data/data folder of the new app you just installed(which is empty) as well as the data/data folder from your stock ROM on your SD/Ext.SD
5. You know were this is going[emoji16] Delete the data/data folder on your running ROM & MOVE(again with TWRP only!) the one from SD ,after restoring its original name, to the data folder from were you just deleted the other.
6.Wipe Dalvik/caches & reboot
7. Other than receiving a pop up that there may be some trouble with your android system, on startup, everything works just fine for me & the App is fully restored!![emoji7]
Didn't even use a PC!!
Such a tool TWRP is[emoji7][emoji120][emoji120][emoji120]
Forgive me, but try this at your own risk, coz as a newbie Im completely unaware of the consequences
Hope this helps somebody[emoji4]
Sent from my GT-N5110 using Tapatalk
DIGVIJAY24 said:
1. Go to File manager on TWRP recovery, it can read the system data i.e. data/data/ file (while your other file managers can,only data files on SD or ext.SD)
Click to expand...
Click to collapse
I don't understand this step. I go to file manager, then navigate to /external_sd/TWRP/BACKUPS/... and there are files like data.f2fs.win009. Now what?

Categories

Resources