TWRP backup - Can I restore some app data without restoring the whole image? - Nexus 7 (2013) Q&A

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?

Related

about titanium backup

so i want to change again my rom again but now i have a lot of things on my phone that important to me
so i would like to use titanium backup but im not quit sure how to use properly
so can somebody explain to me how do i backup everything
and when i mean everything i mean like saves from games and sms and music and pictures and more
so please i need your help
thanks
Using Titanium Backup:
1. Menu -> Batch -> Select RUN Backup all user apps + System data
2. The backup will be in the folder on ur SD card. Copy and save it in case u earse the entire SD card
Using Recovery:
To backup enitre ROM which ever you are currently using. Reboot into recovery..
Currently I use Clockword Mod, so I know how to do it only by this one
1. Reboot into recovery mode.
2.Under Backup & Restore do the nandroid Backup which backsup the currently using ROM with data.
3. This will also be under the folder ClockwordMod in ur SD card backit up in case u do SD card formatting
For SMS, Call Logs & Pictures I use McAfee Wavesecure which I bought long back and backsup all the data.. not sure about Titanium backup for SMS & stuff...
I think this might help you.
Excuse a newbie question, but doesn't the nandroid recovery just take a snapshot of the current setup with ROM and all?
How do you use it with a new ROM?
Sent from my HTC Desire using XDA Premium App
You use the nandroid if the new rom doesnt work or you of some other reason want to go back to the old rom.
aswinarun said:
Using Titanium Backup:
1. Menu -> Batch -> Select RUN Backup all user apps + System data
Click to expand...
Click to collapse
Don't backup System Data if you are changing from one ROM to another, you will invariably get problems backing up system files that won't work smoothly with the new ROM. Just backup user apps.
Kalavere said:
Don't backup System Data if you are changing from one ROM to another, you will invariably get problems backing up system files that won't work smoothly with the new ROM. Just backup user apps.
Click to expand...
Click to collapse
Hi,if i backup system data but do not restore them..will it still conflict?
JxXxn said:
Hi,if i backup system data but do not restore them..will it still conflict?
Click to expand...
Click to collapse
No, that's fine. You can back both up and just restore apps and app data with no problem. I've never backed up system data I really don't see the point, I guess you could backup and restore to the same ROM, but i'd rather just start afresh each time.
Kalavere said:
Just backup user apps.
Click to expand...
Click to collapse
I couldn't agree more with this.
Sent from my HTC Desire using Tapatalk
Being able to backup system data selectively isn't a bad idea, i.e. Wi-Fi access points and literally one or two other things, if someone is after a system backup this is where nandroid comes into play, in my opinion.
I do agree backup for user apps. Also I would prefer Nandroid to restore the old ROM fully. Since I have been using some CM7 RC builds & also nightly builds.. i started to restore system data as well, which literally helps me to have all settings as well.
Also he can run Restore apps with data alone...
But it is upto OP which method he prefers..
Kalavere said:
Being able to backup system data selectively isn't a bad idea, i.e. Wi-Fi access points and literally one or two other things, if someone is after a system backup this is where nandroid comes into play, in my opinion.
Click to expand...
Click to collapse
This is for sure, things like bookmarks, user dictionary, wifi are nice to be able to just restore.
Sent from my HTC Desire using XDA Premium App
mistaliu said:
This is for sure, things like bookmarks, user dictionary, wifi are nice to be able to just restore.
Click to expand...
Click to collapse
I may have gotten confused....
is there a method to selectively backup / restore bookmarks and wifi (wep/wpa passphrases) ?
fred_be9300 said:
I may have gotten confused....
is there a method to selectively backup / restore bookmarks and wifi (wep/wpa passphrases) ?
Click to expand...
Click to collapse
Open the app and select Backup/Restore and long press on the system data you want to backup. You should exercise caution and not backup system data that will potentially disrupt another ROM. Wi-Fi Access Points, User Dictionary etc can all be found in there. Hope this helps.
Kalavere said:
Open the app and select Backup/Restore and long press on the system data you want to backup. You should exercise caution and not backup system data that will potentially disrupt another ROM. Wi-Fi Access Points, User Dictionary etc can all be found in there. Hope this helps.
Click to expand...
Click to collapse
Or the way I did it was just go under the backup/restore tab and scroll till you find what you want to backup ie. Bookmarks, wifi, etc then you are just backing up what you want and need
Sent from my HTC Desire using XDA Premium App
I have a question regarding Titanium that I hope you can help with...
I've just upgraded to the Gingerbread RUU, so I lost root and can't get it back, or frankly want to have it back, but I've backed up a number of apps with Titanium Backup, and is there any way to reinstall them?
They're all saved to my SD card, and Titanium Backup obviously refuses to work.
I can't and don't want to get root back, so is there any way to manually use these backups, or use them with another program?
vszulc said:
I have a question regarding Titanium that I hope you can help with...
I've just upgraded to the Gingerbread RUU, so I lost root and can't get it back, or frankly want to have it back, but I've backed up a number of apps with Titanium Backup, and is there any way to reinstall them?
They're all saved to my SD card, and Titanium Backup obviously refuses to work.
I can't and don't want to get root back, so is there any way to manually use these backups, or use them with another program?
Click to expand...
Click to collapse
You can recover the apps by searching the TitanuimBackup folder and extracting the APKs from the Zip files. It's obviously not possible to recover the data as it's zipped up in a tarball and it requires Superuser rights to access if using Titanium, however I don't know that it's not possible to manually replace the data. If you unzip the tarball and extract the folder to your desktop. If it's the BBC News app for example the folder should look like this after you extract it.
'Data/Data/bbc.mobile.news.uk/cache
-----------------------------------/databases
-----------------------------------/files
-----------------------------------/shared_prefs'
I don't know if you can access Data/Data from the phones internal memory without root, I am using Root Explorer. Try with Astro, I am guessing you can read/write to Data/Data without having S-Off as I am not getting prompted to switch to R/W to delete files (I have Root and S-Off).
If you can read and write to Data/Data without root and S-Off you can manually copy and paste the data over after installing the app, it will take ages to do if you've got any number of apps and I am not ever sure it will work, but I suppose it's worth a go.
I hope this makes sense, it makes semi sense to me as I read it back!

[Q] Titanium Backup: restoring after wiping

I have the premium version of Titanium Backup which I have been using for over a year with much success.
I have one query which would make it really awesome if it can be accomplished.
I normally only use it when doing a ROM upgrade. When I am getting ready to upgrade, I delete all my old backups, do a new set of backups on all user apps + system data, and wipe and flash the ROM. Then, when I'm back inside, I go into the Market and download Titanium plus the Pro unlock, and restore the backup.
(First of all, is this what you guys do? restoring all system data shouldn't screw up the features of the new ROM from the old one, right?)
The question is: Is there any way to have Titanium run without having to first go into the Market, find the app plus the unlock, download it, and install it? i.e. If I could just run it straight off the SD card, or install it straight off the SD card without having to use the Market.
Ideally, it would be even better if I could have a startup script on first run where it just restores the full set of apps + system data after I've flashed the ROM.
Is this at all possible?
download or extract from a rom the titanium.apk, put it on sd-card an install the apk after flashing new rom and it´s done.
Ozzah said:
I have the premium version of Titanium Backup which I have been using for over a year with much success.
I have one query which would make it really awesome if it can be accomplished.
I normally only use it when doing a ROM upgrade. When I am getting ready to upgrade, I delete all my old backups, do a new set of backups on all user apps + system data, and wipe and flash the ROM. Then, when I'm back inside, I go into the Market and download Titanium plus the Pro unlock, and restore the backup.
(First of all, is this what you guys do? restoring all system data shouldn't screw up the features of the new ROM from the old one, right?)
The question is: Is there any way to have Titanium run without having to first go into the Market, find the app plus the unlock, download it, and install it? i.e. If I could just run it straight off the SD card, or install it straight off the SD card without having to use the Market.
Ideally, it would be even better if I could have a startup script on first run where it just restores the full set of apps + system data after I've flashed the ROM.
Is this at all possible?
Click to expand...
Click to collapse
Never restore system data as it can and has causes issues. It is only advised to restore user apps and data never system data.
As for your other question no not that I know of. Most roms worth anything already include TIBU so all you have to do is install the pro key and run it.
Start Titanium backup
Goto menu/more/create update>zip
scroll down and hit "create update.zip"
when you install a new Rom just use "add another zip" when in Rom manager or 4EXT recovery
Goto SD card and select "update.zip" from root of SD card
Hope that helps
alchopop said:
Start Titanium backup
Goto menu/more/create update>zip
scroll down and hit "create update.zip"
Click to expand...
Click to collapse
Thanks, that's great!
Do you know if it is smart enough to bundle the Pro unlock into the update.zip? I opened the zip file up and there only appears to be 1 APK in there.
Would it be difficult (or even possible?) to manually adjust the update.zip so that it includes the Pro unlock APK?
Ozzah said:
Thanks, that's great!
Do you know if it is smart enough to bundle the Pro unlock into the update.zip? I opened the zip file up and there only appears to be 1 APK in there.
Would it be difficult (or even possible?) to manually adjust the update.zip so that it includes the Pro unlock APK?
Click to expand...
Click to collapse
Pro unlock is stored on the SD card, no need to worry about it
Sent from my Desire HD using xda premium
restoring
So I'm returning my nexus for a replacement today. Some kind of battery issue that makes it keep turning off every night:
http://forum.xda-developers.com/showthread.php?p=34923533#post34923533
On restoring, if I understand right, I'm going to move my titanium folder back to the new nexus to the SD card area.
Run my TiBU apk and just restore my apps and associated files.
If I understand right, I Should Not restore my system files right? (Although i did a lot of customizing i was hoping could come right over).
Then when i have it all customized again, I'll back up the new system and hopefully it won't have any issues anymore.
Just an android noob talking it through, sound good?
I'll be installing the rom and CM10 again of course before doing this.
zelendel said:
Never restore system data as it can and has causes issues. It is only advised to restore user apps and data never system data.
Click to expand...
Click to collapse
Sorry, i take this opportunity to ask a question i had in mind for a long time: what exactly do you mean by "system data"?
I mean, can i restore stuff like "Settings", or "Wireless network", "Bluetooth associations", "SMS", "Wallpaper" and stuff like this? Is really annoying to have to re-customize from scratch the CyanogenMod settings and similar stuff, everytime i do a full wipe...
sberla54 said:
Sorry, i take this opportunity to ask a question i had in mind for a long time: what exactly do you mean by "system data"?
I mean, can i restore stuff like "Settings", or "Wireless network", "Bluetooth associations", "SMS", "Wallpaper" and stuff like this? Is really annoying to have to re-customize from scratch the CyanogenMod settings and similar stuff, everytime i do a full wipe...
Click to expand...
Click to collapse
You can restore these, they're not system level files (i.e. make the system run)
GuyInTheCorner said:
You can restore these, they're not system level files (i.e. make the system run)
Click to expand...
Click to collapse
Thank you!
So....what's the stuff i DON'T have to restore, because messes up my system?
sberla54 said:
Thank you!
So....what's the stuff i DON'T have to restore, because messes up my system?
Click to expand...
Click to collapse
Do not restore data from SYSTEM apps.
dalanik said:
Do not restore data from SYSTEM apps.
Click to expand...
Click to collapse
Could you tell me a couple of examples?
I'm sorry but i really can't figure out which ones are the system apps. In my opinion, even Settings and Wireless networks are system apps.
Do you mean all the services, frameworks, sms and contacts apps and stuff like this?
sberla54 said:
Could you tell me a couple of examples?
I'm sorry but i really can't figure out which ones are the system apps. In my opinion, even Settings and Wireless networks are system apps.
Do you mean all the services, frameworks, sms and contacts apps and stuff like this?
Click to expand...
Click to collapse
I think he's talking about app names that are red-colored while you're doing the backup in Titanium BackUp.
Am I right?
Cheers
Please delete

[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.

[Q] more elegant way to wipe and then restore EVERYTHING

Hi-
If i want to not only wipe system, data, cache but the /data/media partition as well before installing a new ROM, what's the least onerous method for restoring all my data after flashing the new ROM? currently all i know to do is backup my data, wipe everything, then restore factory image via adb, then copy zips to the device, flash desired ROM, then copy back data via adb or from dropbox after installing app
Is there an easier way?
titanium backup is the easiest way.
just dont restore system apps.
1. Run a backup in titanium backup
2. Copy the contents of your /data/media partition to your PC via adb or MTP (this should include your TiBu backup)
3. Wipe System, Data, Userdata, and the caches via method of your choice
4. Copy the contents of your /data/media backup back to /data/media via adb
5. Use adb to push a ROM of your choosing to /data/media (assuming you didn't have one in your /data/media backup, and assuming you're not using fastboot to flash a stock image)
6. Flash away (Recovery, if needed, and System via either fastboot or CWM/TWRP)
7. Download TiBu from the Play Store
8. Restore non-system apps/data in TiBu
However, if you're going to make a backup of /data/media and then restore it immediately after wiping it, I have to ask why? It's a time consuming process (transferring gigs via adb is very slow) and would provide no benefit to your device.
Also, if you're going from Android 4.1.x to 4.2.x, make sure your /data/media backup goes back in /data/media/0, or the OS will not see the files as being on your "external" storage.
Zepius said:
titanium backup is the easiest way.
just dont restore system apps.
Click to expand...
Click to collapse
Oh im definitely using titaniumbackup to restore apps, but i was mostly referring to restoring the contents of the sdcard
Thanks!
jackbane said:
Oh im definitely using titaniumbackup to restore apps, but i was mostly referring to restoring the contents of the sdcard
Thanks!
Click to expand...
Click to collapse
Using twrp I wipe cache, davlik, factory reset, and system and my sdcard is untouched. I was told by a dev to also delete the android folder in my sdcard using the twrp file manager.
No need to flash stock image when wiping everything just fast boot flash the rom you want and adb is the best way to restore your sdcard
Cilraaz said:
However, if you're going to make a backup of /data/media and then restore it immediately after wiping it, I have to ask why? It's a time consuming process (transferring gigs via adb is very slow) and would provide no benefit to your device.
Click to expand...
Click to collapse
I know, I know...I have this idea of after flashing many different ROMs and finding my keeper, that I would totally wipe the device and then install a super clean ROM, and start with a virgin /data/media partition, bringing back only what I want. I recognize that this is probably unnecessary and says more about my desire for neatnes than anything else.
But thanks for the detailed instructions. Until now, I have been using the GNex Toolkit downloaded from the sticky in the dev forum to handle all pushes and pulls and adb duties. I thought that to push a file to the device, it had to be in Android mode. This is why I found myself having to flash the stock rom just to copy back the contents of /data/media. It sounds like, from the posts in this thread, that I don't need to, that I should be able to copy the files from fastboot mode? Or do I temporarilty boot into an image to push files, then flash the ROM from TWRP. (I'm using TWRP 2.4.1.0, btw).
If I could avoid installing the factory ROM, just to copy back /data/media/, that's what I'm looking for. Do you know if this is possible using the GNex toolkit?
Thanks again!
you have full ADB access within any custom recovery. toolkits not required.
Zepius said:
titanium backup is the easiest way.
just dont restore system apps.
Click to expand...
Click to collapse
I always wondered about this. Does the stock browser qualify as a system app? Should i not use titanium to restore any of the gapps?
jackbane said:
I always wondered about this. Does the stock browser qualify as a system app? Should i not use titanium to restore any of the gapps?
Click to expand...
Click to collapse
The best option for titanium, is to select BATCH, RESTORE MISSING APPS+DATA
Go down the list and deselect anything you DONT want restored. everything else should be OK on that screen.
Also, make sure you have the pro license, otherwise batch jobs are a PITA
There is also an option in the MENU button - BACKUP TO XML
This option allows you to backup call logs, wifi networks, mms/sms, bookmarks separately from the other backups and works 100% going rom to rom.
Everybody is recommending TiBU, and I concur, but OP is talking about all the other contents of the sdcard..
I actually just did this today. I had been on cm10.1 but went back to cm10 for a while, getting the extra /0/ folder and all. I was going to just copy EVERYTHING over to my comp, but ended up just copying a few music folders and a few backup folders. After flashing cm10.1 and gapps, I formatted the sdcard. Now I'm transferring those few folders back. I had a FULL sdcard before, so it feels good to have some space, that is until I think of something I wanted that I didn't copy lol..

How to copy the system 1:1 to a new device by using TWRP

I got a new device by RMA and now I want to copy my nandroid backup made with TWRP to the new one.
Which partitions do I have to copy?
Most of the partitions are system based, so don't touch them. All you would want to copy is data, but I am not even sure that would work, without a boot loop? I keep all my data backed up with Titanium. And Google drive would restore most of what you had on your phone as long as you were allowing setting>system>backup.
Sui77 said:
I got a new device by RMA and now I want to copy my nandroid backup made with TWRP to the new one.
Which partitions do I have to copy?
Click to expand...
Click to collapse
Data, as it is the one where your settings and app updates are stored. Just be sure the new device is running the same version of Android as the old.
Droid_Nut said:
Most of the partitions are system based, so don't touch them. All you would want to copy is data, but I am not even sure that would work, without a boot loop? I keep all my data backed up with Titanium. And Google drive would restore most of what you had on your phone as long as you were allowing setting>system>backup.
Click to expand...
Click to collapse
Restoring a nandroid backup of the data partition to another, identical, device will work without causing a bootloop given the precautions I describe above. Do note however that Google's backup only restores items acquired through the Play Store. Alternative app stores such as Amazon will not be restored, apps acquired through Amazon will not be restored, and any apps sideloaded will not be restored. Since Google's restore function doesn't restore everything, any backup solution - like a nandroid backup - is going to be a better alternative.
Strephon Alkhalikoi said:
Data, as it is the one where your settings and app updates are stored. Just be sure the new device is running the same version of Android as the old.
Restoring a nandroid backup of the data partition to another, identical, device will work without causing a bootloop given the precautions I describe above. Do note however that Google's backup only restores items acquired through the Play Store. Alternative app stores such as Amazon will not be restored, apps acquired through Amazon will not be restored, and any apps sideloaded will not be restored. Since Google's restore function doesn't restore everything, any backup solution - like a nandroid backup - is going to be a better alternative.
Click to expand...
Click to collapse
Thanks for the clarification that you can restore data as long as you are on the same version, does it have to be at the same security update level as well?
That is why I use Titanium for apps I got off of Fdroid and other sources. I will make sure I try the Nandroid data backup next time.
Security level shouldn't make a difference, but that is not something I have attempted. The pair of identical tablets I have here are running the same security update.
Thanks, data did the trick.
I had to delete 2 files due to a non working finger printer by using TWRP files explorer, but now the phone is fine.
Last thing pending are customer ringtones, but this is a nasty one.
Any idea how to do it?
Sui77 said:
Thanks, data did the trick.
I had to delete 2 files due to a non working finger printer by using TWRP files explorer, but now the phone is fine.
Last thing pending are customer ringtones, but this is a nasty one.
Any idea how to do it?
Click to expand...
Click to collapse
I am having the same problem with the fingerprint reader after restoring data from one phone to another, what files did you delete in TWRP file manager?
Solution for fingerprinter:
1. Boot into TWRP
2. Go to advanced>filemanager to acces the files in your phone.
3. Enter the folder /data/system/user/0
4. Delete following files: ./fpdata/user.db, settings_fingerprint.xml
5. Reboot to system and set up new fingerprints with the fingerprint wizard
6. Everything should work normal
Was not easy to find, but it's easy to do
Sui77 said:
Solution for fingerprinter:
1. Boot into TWRP
2. Go to advanced>filemanager to acces the files in your phone.
3. Enter the folder /data/system/user/0
4. Delete following files: ./fpdata/user.db, settings_fingerprint.xml
5. Reboot to system and set up new fingerprints with the fingerprint wizard
6. Everything should work normal
Was not easy to find, but it's easy to do
Click to expand...
Click to collapse
I didn't think it would be easy to find, but thanks for the tips. :good:
I am just putting this phone online with Q Beta 3 today, I have no notifications for text, and all options are greyed out?
Droid_Nut said:
I am just putting this phone online with Q Beta 3 today, I have no notifications for text, and all options are greyed out?
Click to expand...
Click to collapse
Turns out this is a bug in Android Q. With Pie there were some many notifications that I set my sound to none, so I just set my sound to Gibbon Call, and now I get text notifications. :good:

Categories

Resources