trouble with data transfer between users using TB - Nexus 7 Q&A, Help & Troubleshooting

On my Nexus 7 (5.1.1) I'm trying to transfer data from one user profile to another using Titanium Backup. SU is set to allow multiple users. So, TB has root access on each user. I've also made sure that the sd card writing bug was taken care of. (I tried Helium, but the app said that helium was only available for use by the main user, and the profiles I'm trying to work with are not my main user).
When I backup an app, the TB backup folder only containts the .properties text file. I do not see the tar.gz or apk.gz file. (Also don't see the Tibkp file). In TB, when I "backup" an app, the backup runs like normal and the app shows that I have a backup. But if I close and restart TB, for the same app, there is no backup available.
Anyway, dunno if this is the right place to ask. But I 'm a bit stuck.

Related

update-script

I have about 10-15 apps I always end up installing for every new rom. I was wondering if I could just use this method to create an update.zip so I could just load it from recovery after I load a rom. I tried and for the most part (swype excluded) the apps installed ok, but i noticed if I wanted to remove them I could not. I am guessing its because I put the apk in the system/app folder. can i put it in another folder to make it appear just as if it was installed from the market? I don't see any apps installed anywhere else to be honest?
I'm not to sure about the update script but I just use Titanium Backup to reinstall all my apps. Just download it from marketplace and run a app backup. So after I install a new Rom I just redownload titanium from the market place and restore all apps. Then I can uninstall an app or delete it from the backup. Not really sure if this helps you but trying to help others out.
ejkeebler said:
I have about 10-15 apps I always end up installing for every new rom. I was wondering if I could just use this method to create an update.zip so I could just load it from recovery after I load a rom. I tried and for the most part (swype excluded) the apps installed ok, but i noticed if I wanted to remove them I could not. I am guessing its because I put the apk in the system/app folder. can i put it in another folder to make it appear just as if it was installed from the market? I don't see any apps installed anywhere else to be honest?
Click to expand...
Click to collapse
If you did something like this you would lose all data associated with those apps such as settings, game saves, etc. Best thing is Titanium backup. Also if you installed the apps without going through the market, you wont get updates.
i think if you put them in /data/app they can be uninstalled so make an update.zip that places them there
You can use ti backup to make an update.zip
Sent from my ADR6300 using XDA App
I guess i'll stick with Titanium Backup. I'll have to look into the update.zip option from there, but if it doesnt restore data, kind of a wasted step. I'll have to buckle down and look at it today. It seems kind of cumbersome going through each app 1 at a time, and don't think I want an every app restore. I imagine there's got to be an option where you can select only certain apps....thanks!
TNS201 said:
If you did something like this you would lose all data associated with those apps such as settings, game saves, etc. Best thing is Titanium backup. Also if you installed the apps without going through the market, you wont get updates.
Click to expand...
Click to collapse
Unless you also threw the corresponding db's from /data/data in there. Then you would (like you said) run into Market problems without a restore of the vending prefs and databases. Like yourself and everyone before said...use Titanium.
Titanium Tip:
1. Create a folder in root of sdcard. For example /sdcard/Reinstall
2. Go to Titanium's settings and make Reinstall your backup folder
3. Backup the apps you want to keep for restore.
4. Go back to settings and change to your regular backup folder so you don't populate your reinstall folder with unwanted apps.
5. After a wipe, download Titanium (Titanium also has an option to create an update.zip of itself so you can install it in recovery before 1st boot).
6. Go to Titanium and change backup folder to Reinstall.
7. Batch restore (donate only) or manually restore the contents.
8. Remember to change backup folder again.
I do this for system apps/settings across different roms also. For instance, I have a DesireSys folder and a FroyoSys folder. Learn to use the filters, makes life much easier.
overground said:
Unless you also threw the corresponding db's from /data/data in there. Then you would (like you said) run into Market problems without a restore of the vending prefs and databases. Like yourself and everyone before said...use Titanium.
Titanium Tip:
1. Create a folder in root of sdcard. For example /sdcard/Reinstall
2. Go to Titanium's settings and make Reinstall your backup folder
3. Backup the apps you want to keep for restore.
4. Go back to settings and change to your regular backup folder so you don't populate your reinstall folder with unwanted apps.
5. After a wipe, download Titanium (Titanium also has an option to create an update.zip of itself so you can install it in recovery before 1st boot).6. Go to Titanium and change backup folder to Reinstall.
7. Batch restore (donate only) or manually restore the contents.
8. Remember to change backup folder again.
I do this for system apps/settings across different roms also. For instance, I have a DesireSys folder and a FroyoSys folder. Learn to use the filters, makes life much easier.
Click to expand...
Click to collapse
Excellent! I've been downloading it after each install. I thought there had to be an easier way.

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

Swipe restote

I used titanium backup to backup the new Swipe before removing it. I went to restore it and there is a checkbox next to the item, instead of the other logo. Basically the restore feature is grayed out for most items I backed up? I went to the directory the backup uses and there is a compressed file for swipe. If I open it, I see some data, but no apk file.
Question 1st is how do I find the apk to restore this?
Question 2 is why can't I restore all backed up files via titanium (paid version)? Scares me to think I was safe using this product.
Use astro and hit the search button. Type swype with no spaces and search. You might find the apk that way.
Sent from my PC36100 using XDA App
Well I just discovered something strange with most Apps backed up with titanium. If I click on a file that I backed up (say swipe from last update) and uninstalled via titanium, and I get a message that data was backed up, and but no apk present. Sure enough, if I click on the archived swipe file, I see a data file and folder and no apk. Why would titanium backup some files completely and partially with others?
Also, without doing a nand restore, which I really don't want to start from square one, how can I get the swipe apk from the last OTA? SwiftKey has been unreliable since their past two updates?
Thanks
Pull the APK from a stock rooted ROM's zip file.
TB usually won't backup /system apps because, y'know, they're in the non-writable system partition. Normally, they're still there, and normally, you don't mess with stuff in /system, nor should you copy stuff over from one ROM to another if it's a system app.

[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