[Question] - What is the extent of ADB Backup? - OnePlus X General

A decision I now regret, I didn't unlock the bootloader as soon as I recieved my device.:crying: Now i want to root my phone, and I know that unlocking the bootloader will wipe off my internal data.
I have searched various forums and have come to know that ADB backup is the solution. But i want to know, what is the extent of ADB backup, i.e. what all does it backup?
Please address these additional issues if possible:-
1) I have Real Racing 3 installed, and after downloading the game(~40 MB) , there is an in game download of around 500 MB. If I backup using ADB, unlock bootloader, and restore the backup, do i have to install the app from the playstore again? Do I have to redownload the 500 MB? I know I could just copy the game files over to my PC, and then copy them back, but I have read in the EA forums that doing so will create problems while updating Real Racing 3.
2) Similar to the above doubt, I have games which also have the .obb data. Will restoring the ADB backup restore the .obb files? WIll the app recognize the .obb file as externally downloaded?
2) Is there anyway of backing up and restoring contacts?
Any help appreciated. Thanks.

Related

Transforming a Nandroid Backup to a flashable zip via clockwork recovery?

I have a friend over on the east coast that isnt following direction as well as one would hope and is a little scared about rooting his phone and getting it to be as good as my X is. I finally got it rooted for him but he is freaking out about using a clean nandroid backup i sent him and dumping it in the correct directory for nandroid backup and restore giving him a clean image of my phone...
I had assumed that this would have been the easiest method but it got me thinking.
Could i rename my nandroid back up folder the ending tree folder that holds the .android_secure.img, cache.img, data.img, nandroid.md5 and system.img ... like clockworkmod/backup/2010-11-25.05.05.13 could i just pop all those files into a .zip named whatever and direct him to clockwork recovery and flash zip from sd card?
Or could someone point me into a direction on how to accomplish that? I think i would like to also do it for my self and upload it to my dropbox account for later access or to share with friends.
I noticed when i opened like the latest rubix rom that it didnt contain any files similar to that so im curious if its possible.
Also one last question, while i have your technicle mind at attention..
Could someone answer me, in Titanium backup it gives you the option to create a update.zip, then it gives you two radio buttons one says titanium backup will be installed as user application and then System application.
I know that the whole create update.zip thing is for flashing it to the rom from recovery. But what is the diffrence bewteen those two options. What is best and what is the diffrence..
Thanks for letting me pick your Brains!
One drawback of giving him your nandroid backup is that it contains YOUR gmail account with your contacts, facebook account (if applicable), among all other sorts of your personal stuff. In my past experience, you can ADD a gmail account to the phone, but you cannot get rid of the primary/original account so he will have both on there. Other than that, it actually does work though (at least it did on the Droid 1).
Wipe your data and make a nandroid before you reboot and sign in. that way your accounts won't be tied to it
Sent from my DROIDX using XDA App
Your friend - with all due respect if he's having that much trouble with something this simple I really don't think he should be screwing around with root access in the first place. If he has that little understanding of administrator-level access, why on earth does he even want root? He won't even know what to do with it.
Not trying to be harsh, just trying to understand.
Flash Nandroid - NO, don't do it! I'm sure it can be done, but not in the way you described.
Titanium Backup - system apps reside in /system/app as opposed to /data/app. The only real difference is that system apps will still be there after you do a factory reset.
If your going to let your friend flash a nandroid, then you need to remove your gmail and social applications. If you wipe data as mentioned above you'll lose all non-system apps...basically everything you've installed and set up, which is most likely what you're trying to give him. The only way I can think to make this work is to first create a backup for your use, then remove everything that requires you to log in with adb, then replace all of the apps you removed (extract the rom your running and look in system/app for them - data/app apps can be installed from the market). Reboot the phone to verify that all of your accounts are gone, create the new backup and send it to him. Then flash the backup you made for your use.
The easiest way to give him "your set up" would probably be to make a full backup with titanium (not an update.zip). Backup all user apps and system data. Go into the titanium folder on your sd card and delete all files except the .apk files that have anything to do with gmail or social apps. Have him flash the same rom, copy your titanium file to his sd card, and restore all apps and system data to his phone.
Sent from my DROIDX using XDA App

Titanium doesn't restore apps and data

hi everybody
I used Titanium to backup all apps and data and in backup folder there are 3 files for each app( *.properties , *.tar.gz and *.apk.gz)
after I changed my rom, copied the backup folder to my sd but when I go to Titaninm,I dont see any app or data to restore.
what should I do?
You have to have those backed up files exactly in following folder:
sdcard/TitaniumBackup/
In case they are not there exactly, the program can't find them.
Also, you can install them manually one by one, if that doesn't work, in each of those 3 files, 1 can be used for installation of the program.

NANDROID backup too small

Hi guys,
I have an unlocked/rooted N7. The tablet has quite a bit of data in it and I am trying to initiate a back up using ROM Manager but the backup is only of about 20Mb when I check it.
I tried to do the backup straight from CWM but it is the same, very fast to back up and I assume it is not backing up all of the partitions...
My tablet has about 5Gb used so I expect the NANDROID backup to be around this size ...
Any idea ?
Cheers
Don't count me on this but I believe that the blobs file within the clock work mod folder contains some information as well.
Sent from my Nexus 7 using xda premium
Thanks for that, I have since checked the blobs folder and indeed it is about 1Gb in size but that doesn't explain the time to take the backup (strangely quick, about 30secondes).
I am not confident enough to test my restore to see if it works :]
julien.me said:
Thanks for that, I have since checked the blobs folder and indeed it is about 1Gb in size but that doesn't explain the time to take the backup (strangely quick, about 30secondes).
I am not confident enough to test my restore to see if it works :]
Click to expand...
Click to collapse
This tablet does backup and restore very quickly. I can confirm they work as well.
Sent from my Nexus 7 using xda premium
Was this the first nandroid that you took?
CWM 6.0+ now does incremental backups, the first backup creates a blob folder where 'common' files will be placed and teh backup itself only includes 'new' files.
That being said a full old style nandroid with TeamWin recovery on the N7 only took me 130 seconds
Thanks guys, I understand now why it takes very little time to take the backup
So not only the backup folder is used but also the blobs one...
Hate to bump this but I figure it's better than duplicating threads...
I just did a Nandroid backup (assuming that's the backup & restore function found in CWM) and ran two backups. Each came up to about 23-24MB. I do see a blobs folder, where there's about 1.6GB worth of data. My real confusion is... is this ALL of my data, partition structure, and everything? Pictures? App data? I just want to make sure I'm doing this properly.
Also, I want to store my backups on my server at home, so I'm assuming my best bet is to just copy both the backup and blobs folder entirely?
Nandroid does not backup your media, docs etc. It just backs up your system and user apps with the associated data for each.
Same for titanium backup. You need to backup those other things to your PC or a flash drive through the USB connection.
Under the clockwork directory there is a backup and blobs directory. Both of them combined are your nandroid backup.
Rootbrain
For 100% recoverable backup from PC I have to copy across the blobs folder then?
I'm interested in the user apps and data, they must be in the blobs I guess?
Just so I'm really clear on this...
Say I only had the backup timestamp folder and missed out the blobs, and did recovery from that, would it work? Would that return to a clean ROM, or would clockworkmod not be able to use it without the blobs folder?
Thanks
Apologies guys, I just did some more reading and found this post http://forum.xda-developers.com/showthread.php?t=1933000
It explains it all, and I have my answers

[Q] How to restore Titanium backup backup without root ? urgent help

Hello,
i have titanium backup files i made from my old Note2 and now i want to restore on my new S4
i don't want to root my new s4 anyway to keep it clean
is there any way to make titanium backup restore the apps without root ?
i need only the apps not the data .. just the apps
so , is there any other way to restore just the apps from the titanium backup folder ?
Extract the apk files from the titanium backup archives and put it on your sdcard so you can install them
Sent from my Xperia Arc S using XDA Premium 4 mobile app
om22 said:
Extract the apk files from the titanium backup archives and put it on your sdcard so you can install them
Sent from my Xperia Arc S using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I need to restore my backups to my non-rooted phone but I need the app data.. is this possible?
Not without root. I wouldn't recommend extracting the apks as your market links will be broken. No updates. You need root or start again
MamomaN said:
Hello,
i have titanium backup files i made from my old Note2 and now i want to restore on my new S4
i don't want to root my new s4 anyway to keep it clean
is there any way to make titanium backup restore the apps without root ?
i need only the apps not the data .. just the apps
so , is there any other way to restore just the apps from the titanium backup folder ?
Click to expand...
Click to collapse
If you still have Note II, there is an easy way to accomplish what you need.
Astro File Manager can back up all installed apps to a folder named "backups." Apps can be reinstalled in the normal way from this folder. Market link is not lost, no root required.
After some of my past experiences, I tend to back up things six ways from Sunday and this has been handy for me.
I hope this helps.
Use Helium if you can..
On the same line, if you still have your note 2, use Helium (Koush's app, previously Carbon) instead..
It allows for backup/restore of data without root.
Now can you use data files backed up with Titanium to restore using Helium is unknown to me...
---
Edit: Apologies, wrong reply, dint read that you want just the apps and not the data! Talked only about data..
My experiences.
I just got a G3 and the computer side for Helium wouldn't recognize my phone. Not sure if I wanna root.
OK. I just lied to you. I do wanna root it.
I'm gonna try the Astro method.
I am stuck in the same situation....tried everything but there is no way around to to restore unless the phone is rooted
bsam55 said:
If you still have Note II, there is an easy way to accomplish what you need.
Astro File Manager can back up all installed apps to a folder named "backups." Apps can be reinstalled in the normal way from this folder. Market link is not lost, no root required.
After some of my past experiences, I tend to back up things six ways from Sunday and this has been handy for me.
I hope this helps.
Click to expand...
Click to collapse
I tried the Astro method suggested here. Just a warning: only the apk is backed up; no app data. I was hoping it would do the app data since that is what I really care about.
On a rooted device, ES File Explorer (any version) can back up both apps and data. I back up my apps and data with it all the time, or else I wouldn't have gone through the trouble of modifying pre-malware versions of that app to work with systemless root.
Without root however, backing up the data is impossible.
Strephon Alkhalikoi said:
On a rooted device, ES File Explorer (any version) can back up both apps and data. I back up my apps and data with it all the time, or else I wouldn't have gone through the trouble of modifying pre-malware versions of that app to work with systemless root.
Without root however, backing up the data is impossible.
Click to expand...
Click to collapse
What about restoring from an ES File Explorer backup? Can an ES File Explorer backup (apps and/or data) be restored on a non-rooted device?
pvman said:
What about restoring from an ES File Explorer backup? Can an ES File Explorer backup (apps and/or data) be restored on a non-rooted device?
Click to expand...
Click to collapse
Just install apk that backed up inside backups/apps. I use ES nowadays just to backup Titanium Backup apk so I don't have to re-download it everytime I clean flash my device.
For data of apps, you might need root.
Sent from my Redmi 3 using XDA Labs
pvman said:
What about restoring from an ES File Explorer backup? Can an ES File Explorer backup (apps and/or data) be restored on a non-rooted device?
Click to expand...
Click to collapse
Apps can be restored, but not data. Even if you did have app data backed up it cannot be restored without root.
EDIT: Clarified message.
Without root, you will not be able to restore data because the file/directory owner and SELinux security context need to be changed. This is the way Android works; with only a few exceptions, each app gets its own user ID (owner) as which the app runs. Generally speaking, one user ID (UID) cannot write the files/directories of another UID. Doing that would require that UID to set the mode bits (permissions) of a file or directory so that group (GID) or "other" is allowed, but Android apps generally don't do that to maintain the "one UID per app" sandbox. Similarly, if SELinux is used, additional access checks are made based on SELinux contexts (but I don't know that well, so I can't explain it, other than to say, if your file context is not right compared to the context of the process accessing it, it will be denied/won't work).
root on the other hand can override permission checks, and can assign the UID, GID, mode bits, and (usually) the SELinux security context of a file or directory. That is what TB does. If you have SuperSU Pro, you can see the chown/chmod/etc. that it does in its logs.

[Tutorial][NoRoot] Create Complete Backup Of User Apps

Hi everyone !
I know rooted users can use just titanium backup to backup their apps. But I think many people don't know the power of HUAWEI BACKUP APP. So, I thought to create a tutorial to how to backup user apps without root. It is more safe to create backup before installing some rom or even installing OTA update ( as I had experience of losing my all data after ota update ).
BACKUP ALL APPS
1. Open Huawei BACKUP app.
2. Create Backup of apps ( If you are going to reset your device...be sure to also tick "system data option. Because after restoring it all your apps icons on homescreen will be arranged as they were before reset. Awesome....right?)
3. Open any file manager and copy Android/obb folder from phone internal memory and paste it into your memory card.
4. Done !
Restore :
1. Open Backup app. And restore your apps from it.
2. Cut the Android/obb folder from your sdcard and paste it into memory card.
You will have everything as you had left. All game progresses will also be restored.
BACKUP INDIVIDUAL APP
1. Create backup from HUAWEI BACKUP app of that particular app.
2. If it is a game then also go to Android >obb and again copy the folder of that respective app to sdcard ( some games don't have any data in "obb" folder ).
Restore :
1. Restore the app from BACKUP app.
2. Cut the folder that u had copied earlier and paste them to their previous location in internal memory.
That's all Folks !
Edit : Removed some useless steps...​
Sent from my HUAWEI MT7-L09 using XDA Free mobile app
This back up app you mean the PC software app, HiSuite?? Can you send a link of the back up app you are saying??
No , not pc suite, but huawei own backup app in the mobile itself. OP is right, it is very powerful. It can even restore your apps and home setting to the font and dot. I used it several times. It is as good as titanium backup and work for non rooted user
bluelavender said:
No , not pc suite, but huawei own backup app in the mobile itself. OP is right, it is very powerful. It can even restore your apps and home setting to the font and dot. I used it several times. It is as good as titanium backup and work for non rooted user
Click to expand...
Click to collapse
Can you send the apk file here? I can't find it in my phone. Only Huawei Cloud
PS I found it! its in my phone, the app interface looks like the Cloud+. THanks!
Huawei backup restore not only the Apk but the application data also!!
even I didn't setup every app again...
no need for android /obb step
regards
Yes, all app data, setting, even home layout. Truly like titanium backup
aymnga said:
Huawei backup restore not only the Apk but the application data also!!
even I didn't setup every app again...
no need for android /obb step
regards
Click to expand...
Click to collapse
Do me a favour... download asphalt8 from play store and then make a backup of it through huawei backup app. Now delete the asphalt8. Restore your game through backup. Open it and now you will have to download additional data of about 1.5Gb.
Now why game is asking for additional data?
Answer is by uninstalling;you have deleted its main data folder located in Android/obb.
Actually Huawei backup app only backups files from android/data and not from android/obb. Thus, that step isn't useless. ( I have already stated that it is specially for games )
Regards
Sent from my Mate7...

Categories

Resources