Titanium Backup Not Restoring - Huawei P10 Plus Questions & Answers

Hey all,
I have Titanium Backup setup with root and access to my backup folder. When I do a restore job however it just hangs at 0%. Is it just outdated SU Bimaries that will do this or is there something else im missing ?
Cheers

do you have busybox installed?

Nope, That itself seems to fail to install under standard directories unfortunately.

Did you tried to backup and restore from internal SD?

That is a fair comment, I will see if it works from Internal SD.

panzerscope said:
Hey all,
I have Titanium Backup setup with root and access to my backup folder. When I do a restore job however it just hangs at 0%. Is it just outdated SU Bimaries that will do this or is there something else im missing ?
Cheers
Click to expand...
Click to collapse
Set SELinux to permissive and try restoring again.
https://forum.xda-developers.com/android/apps-games/app-selinuxtoggler-t3574688
Worked for me when having the same issue.

Related

[Q] Nandroid backup error / Wildfire

Hi guys,
Once again, thanks to MartinEve and the whole unrevoked team for the work they've made on Wildfire rooting.
I've just used unrevoked to root my wildfire. Seems alright cause :
> id cmd tells I'm root
> titanium backup tells root permission is given
Cool
But... I try to do a nandroid backup from the clockworkmod recovery and it says : "Error while dumping boot image!"
Do you have any idea ?
Thx a lot
Solved...
It was due to a problem on my sdcard (was not able to write in the /sdcard folder even from windows). I had to delete some files and then nandroid backup was available.
mmr41 said:
Solved...
It was due to a problem on my sdcard (was not able to write in the /sdcard folder even from windows). I had to delete some files and then nandroid backup was available.
Click to expand...
Click to collapse
Why dont you post your problem and its solution here for others to benefit from it
http://forum.xda-developers.com/showthread.php?t=742518

Unable to restore my phone

Hi
I did a backup with nexus 4 toolkit before rooting but now when I try to restore my backup it starts backing up but just 1 app and then reeboots without adding any of the other apps. Anyone know an alternate method or whats wrong?
c2h5oh2 said:
Hi
I did a backup with nexus 4 toolkit before rooting but now when I try to restore my backup it starts backing up but just 1 app and then reeboots without adding any of the other apps. Anyone know an alternate method or whats wrong?
Click to expand...
Click to collapse
thats reason # 84261 why you should never use a toolkit.
Well, whats done is done. It seems like it tries to recover some system file that causes a reebot. I will try to restore from recovery mode if the bootloader can restore .ab-files.
Failed to restore .ab file in bootloader. Does anyone have any idea how I can restore the .ab file?
Why would you want to go back to stock? You want to get back the apps you had?
I guess you will have to re-download them... This is what I did : I made a Titanium backup save for my apps, before rooting, and restored it, after rooting.
To restore .ab files install adb and open a command window (or a terminal on linux). Then navigate to the folder where the .ab file is or open the command window there. Connect your phone now powered on to your PC and be sure unknown sources and usb debugging are enabled
Now type
Code:
adb restore nameofyourbackup.ab
Unlock your device, confirm the restore and wait until it has finished
Sent from my Nexus 4 running Android 4.2.2
I shouldn't have used a toolkit :S
I'm having the same issue, I used the toolkit, created a backup from all apps (including system and data) in a .BAK, unlocked, rooted, and now I try to restore with the toolkit, the process triggers my phone's backup but then it restarts and nothing has been restored! I tried HOLO Backup as well, and I'm trying with the SDK method right now.
Is .BAK compatible with full backup? Is there any other way (other than ADB) to restore my info?
Thanks
Edit: Trying with SDK as command prompt didn't recognize adb as a valid command.
Edit: SDK did not work, I guess I just did the same in 3 different ways... any ideas?
Got it!
Titanium tools pro version has an ADB backup extraction. Move the .BAK file to your SD card folder, and then restore the extracted info

Titanium Backup Zip Restore

Having an issue after installing the zip created with titanium backup pro. This is the first time attempting to use this feature so maybe I'm doing something wrong. I've created the 2 different zips with my 2 sets of apps with the application. Confirmed they're both of proper sizes for the number of apps.
I go install the ROM (jellybeer) and Gapps and the zip for just titanium backup app. I reboot into the system and all is fine. Go into titanium backup, give it su permissions. Reboot to recovery.
Now I can install the app zips I created with titanium backup and it says successful install. Clear cache and reboot,and it never boots into the system. It just sits at the boot animation. I've let it sit for 2 hours and it never does boot.
Any suggestions?
Its a common fact that you should not restore system apps or data that includes settings from the old rom.
What 2 different sets of apps would you be referring to?
Sent from my Galaxy Nexus
Pirateghost said:
Its a common fact that you should not restore system apps or data that includes settings from the old rom.
What 2 different sets of apps would you be referring to?
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Not restoring any system data or apps. Just my 3rd party apps. I have one zip with my 3rd party apps where I want to restore their data as well. And them another zip where its just the app with no data, like Google+ and Google keep since they auto restore their data.
So no one else has any ideas?
M3drvr said:
So no one else has any ideas?
Click to expand...
Click to collapse
Fix permissions?
BobbaLouie said:
Fix permissions?
Click to expand...
Click to collapse
I'll give that a try.
BobbaLouie said:
Fix permissions?
Click to expand...
Click to collapse
Okay I tried this and still no go. ROM will just sit at the boot animation. Any other suggestions?
I've always preferred to restore from the tibu folder on the sdcard after installing the ROM then installing Tibu from the Play Store. Works great.

[GUIDE] VM HTC Desire 816 Root How-to

Hello everyone, I recently purchased the Desire 816 for Virgin Mobile, and could not find anything on rooting this device.
So... I figured it out on my own! I decided to write out a tutorial since there isn't anything out there about rooting this phone!
I'm also including a nandroid backup of my stock rooted rom if you don't want to go through all of the steps. You will still need custom recovery.
1. Unlock your bootloader, install custom recovery, and flash superuser. I used v_superuser's guide for this, so thanks to him!
Use his guide to install custom recovery and root: http://forum.xda-developers.com/showthread.php?t=2775801
The custom recovery he links to isn't made for the VM variant of this phone, but it works!
Now you can restore my clean install, rooted nandroid backup (link at end of post) if you don't want to do the following steps and still have full root.
2. Hopefully you were able to successfully install custom recovery and root.
Now this part is a bit tricky. Even with root HTC is stopping us from writing to system. For this we need to apply the wp_mod.ko module.
Download it here: http://forum.xda-developers.com/showthread.php?t=2707378
Copy this file to the root of your internal storage.
Now download Terminal Emulator from play store, run it and enter the following commands (you only need to do this once):
su
insmod /sdcard/wp_mod.ko
Once you do this go into your favorite root explorer and mount as R/W. Copy the wp_mod.ko file to /system/lib/modules
Now go to /system/etc and find install-recovery.sh. Open it with a text editor and add a new line at the end with the following:
insmod /system/lib/modules/wp_mod.ko
Reboot! If all went well the wp_mod module will run at boot every time so you won't have to do it manually each time!
Congratulations, you now have a fully rooted Desire 816!
Download my nandroid backup here (place the contained folder into the CWM backup directory):
https://drive.google.com/uc?id=0B0bhyG2E55hXaWtpeGVQaEpOVzA&export=download
Hope this helped anyone wondering how to root the device!
I just get md5 mismatch error when I try to restore
Never mind found out my phone wasn't downloading the whole back up
jcrt2000 said:
I just get md5 mismatch error when I try to restore
Click to expand...
Click to collapse
I'm not trying to offend with my answer. Just going for the easiest solution first...
Did you unzip the backup nandroid onto your PC? I imagine he zipped the actual Nandroid folder as it would have a date and time as the name.
If you unzip VM_HTC_Desire_816_Rooted_NandroidBackup.zip you SHOULD see a folder with a date and time. That is the actual nandroid that you'd copy to your Clockwordmod backup folder.
sirrx7 said:
I'm not trying to offend with my answer. Just going for the easiest solution first...
Did you unzip the backup nandroid onto your PC? I imagine he zipped the actual Nandroid folder as it would have a date and time as the name.
If you unzip VM_HTC_Desire_816_Rooted_NandroidBackup.zip you SHOULD see a folder with a date and time. That is the actual nandroid that you'd copy to your Clockwordmod backup folder.
Click to expand...
Click to collapse
^ this. And restore that from clockworkmod. I know it should work because I already had someone confirm it working.
Kontrary said:
^ this. And restore that from clockworkmod. I know it should work because I already had someone confirm it working.
Click to expand...
Click to collapse
It does work. I had to download on my pc to get the whole file downloaded.
jcrt2000 said:
It does work. I had to download on my pc to get the whole file downloaded.
Click to expand...
Click to collapse
Oh nice! Glad you got it working.
Kontrary said:
^ this. And restore that from clockworkmod. I know it should work because I already had someone confirm it working.
Click to expand...
Click to collapse
Also...
The act of unlocking the phone clears out your data so you might notice that your flashlight and calculator apps are missing. For some reason HTC didn't make those 2 system apps.
If you'd like them back, here you go.
http://forum.xda-developers.com/showthread.php?t=2699906
sirrx7 said:
Also...
The act of unlocking the phone clears out your data so you might notice that your flashlight and calculator apps are missing. For some reason HTC didn't make those 2 system apps.
If you'd like them back, here you go.
http://forum.xda-developers.com/showthread.php?t=2699906
Click to expand...
Click to collapse
Thank you, I sold the phone but never noticed that.
Thanks for this, I had deleted my stock backup
problems with the mod.ko
everything works until I get to the wp_mod.ko command when using the terminal command. It just says cannot open. I tried countless times but it says the same thing. Is there any other way?
dwest3784 said:
everything works until I get to the wp_mod.ko command when using the terminal command. It just says cannot open. I tried countless times but it says the same thing. Is there any other way?
Click to expand...
Click to collapse
If you're having too much trouble and are about to give up you can always download Kontrary's Nandroid backup. I didn't use it but I did look through it and it looks like he already did the write protect mod in it.
Just unzip it on your PC and put the dated folder in your clockworkmod/backup folder. Boot into CWM recovery and restore from his nandroid.
Out of curiosity... Are you hitting enter after SU and before insmod???
Also...
The command insmod /sdcard/wp_mod.ko is only good if you have wp_mod.ko sitting on the root of the internal sd. If its on your micro sd card you'll obviously have to change the path after insmod or just move it to the internal sd..
thanks
sirrx7 said:
If you're having too much trouble and are about to give up you can always download Kontrary's Nandroid backup. I didn't use it but I did look through it and it looks like he already did the write protect mod in it.
Just unzip it on your PC and put the dated folder in your clockworkmod/backup folder. Boot into CWM recovery and restore from his nandroid.
Out of curiosity... Are you hitting enter after SU and before insmod???
Also...
The command insmod /sdcard/wp_mod.ko is only good if you have wp_mod.ko sitting on the root of the internal sd. If its on your micro sd card you'll obviously have to change the path after insmod or just move it to the internal sd..
Click to expand...
Click to collapse
Thanks I figured it out last night. I put in the internal memory and it worked but thanks for the reply!
dwest3784 said:
Thanks I figured it out last night. I put in the internal memory and it worked but thanks for the reply!
Click to expand...
Click to collapse
Right on. Glad you got it working.
driver issue
ive downloaded and installed and uninstalled and rebooted and done everything i can think to do...ive tried on my PC and on my laptop...ive tried with every usb cable i have...including the one that came with the phone...i can not get windows to recognize my phone...so i cant even unlock the bootloader to begin this process...any suggestions or hints on what i could try?
any help??
dragonclaw88 said:
ive downloaded and installed and uninstalled and rebooted and done everything i can think to do...ive tried on my PC and on my laptop...ive tried with every usb cable i have...including the one that came with the phone...i can not get windows to recognize my phone...so i cant even unlock the bootloader to begin this process...any suggestions or hints on what i could try?
Click to expand...
Click to collapse
i really really need to get this phone rooted any help??
dragonclaw88 said:
i really really need to get this phone rooted any help??
Click to expand...
Click to collapse
Have you plugged it in while in Fastboot? Which OS are you running? I'm on Win 7 x64 and have it set to download drivers from Windows update, I didn't have any problems going that route.
Have you downloaded HTC Sync Manager? It has the drivers required for your PC to recognize your phone.
Kontrary said:
Download my nandroid backup here (place the contained folder into the CWM backup directory):
https://drive.google.com/uc?id=0B0bhyG2E55hXaWtpeGVQaEpOVzA&export=download
Hope this helped anyone wondering how to root the device!
Click to expand...
Click to collapse
I installed your CWM Backup after I couldn't figure out your steps... but now there's an ANNOYING notification that says, "Smith disabled... Click here to open." I open it, and no matter what settings I choose, this notification keeps POPPING UP! Is this your doing, or a known issue with this "Mod." All I wanted to do was uninstall all the Google/VM Bloatware. Now going back to stock might be the only fix... ????
That Smith app is a problem for most recent HTC phones. It has nothing to do with the CWM backup. It happens with the M8 and our 816.
I just long press the notification, click App Info and force close. It's usually good until you reboot your phone.
Either HTC or Sprint is supposed to be looking for a fix but who knows.
https://community.sprint.com/baw/thread/169142?start=0&tstart=0
jayblaze406 said:
I installed your CWM Backup after I couldn't figure out your steps... but now there's an ANNOYING notification that says, "Smith disabled... Click here to open." I open it, and no matter what settings I choose, this notification keeps POPPING UP! Is this your doing, or a known issue with this "Mod." All I wanted to do was uninstall all the Google/VM Bloatware. Now going back to stock might be the only fix... ????
Click to expand...
Click to collapse
I was able to stop this annoyance by simply going to Titanium Backup (root needed) and freezing the process.
I typed in Smith in the search bar of TB and it came back with this process/app called
"Smith 4.21-plat_4.4.2-KOT49H"
I believe it happens to come up when a specific "bloatware" app is unaccessible by the device when removed but I have not singled out which app is it so far.
I backed up the app first then froze it and it stopped the Smith popup error permanently even after reboots and power offs.
(You could possibly delete it but until the stock bloatware app that causes this pinpointed i wouldn't recommend it.)
Tested running everything is good no errors rebooted fine checked bootloader and recovery and both are fine as well.
Sent from my 710C using XDA Free mobile app

android 5 and titanium backup problem!

I backed up everything with titanium backup in kitkat and then wiped and flashed lollipop !
I used newest version that is compatible with android 5.0!
then tried to restore my apps but ...
after restore, all of the restored apps crashing! aaaalllll....!!!!!
also tried clear cash and data but crashing anyway!
anybody else tried that?
any idea what should I do?
hrh_fourtyseven said:
I backed up everything with titanium backup in kitkat and then wiped and flashed lollipop !
I used newest version that is compatible with android 5.0!
then tried to restore my apps but ...
after restore, all of the restored apps crashing! aaaalllll....!!!!!
also tried clear cash and data but crashing anyway!
anybody else tried that?
any idea what should I do?
Click to expand...
Click to collapse
not trying things without assuming would be my first suggestion
oh and asking in only one place on forums (Q&A)
instead of two different threads in general section
How did you guys attain root?
hrh_fourtyseven said:
I backed up everything with titanium backup in kitkat and then wiped and flashed lollipop !
I used newest version that is compatible with android 5.0!
then tried to restore my apps but ...
after restore, all of the restored apps crashing! aaaalllll....!!!!!
also tried clear cash and data but crashing anyway!
anybody else tried that?
any idea what should I do?
Click to expand...
Click to collapse
Chainfire talked about this problem in his thread for CF AUTO ROOT, try wiping everything, do not restore the backup yet, and wait till the new SUPERSU update is released, probably by tomorrow, then restore and report back.
hunter2k said:
How did you guys attain root?
Click to expand...
Click to collapse
CF Auto root
aguarello said:
Chainfire talked about this problem in his thread for CF AUTO ROOT, try wiping everything, do not restore the backup yet, and wait till the new SUPERSU update is released, probably by tomorrow, then restore and report back.
Click to expand...
Click to collapse
really?! supersu?! im talking about titanium backup!
chainfire:
"There's a race condition between SELinux policy reloads between SuperSU and Samsung's security service.
That is why on one reboot you'll have root while you won't on another.
This was an expected case during development, but there was no way to test it. There is now. SuperSU will be updated ASAP with a fix."
tnx anyway
hrh_fourtyseven said:
CF Auto root
really?! supersu?! im talking about titanium backup!
chainfire:
"There's a race condition between SELinux policy reloads between SuperSU and Samsung's security service.
That is why on one reboot you'll have root while you won't on another.
This was an expected case during development, but there was no way to test it. There is now. SuperSU will be updated ASAP with a fix."
tnx anyway
Click to expand...
Click to collapse
Soo you're not rooted?
Restore WITHOUT DATA restoring with app data causes crashes on a few KK roms and ALL 5.0 ROM's I've tried CM12, fusion ETC
hunter2k said:
How did you guys attain root?
Click to expand...
Click to collapse
Try this
http://forum.xda-developers.com/showpost.php?p=57151905&postcount=248
Could this be to do with Art runtime which is default in lollipop (not sure if s5 lollipop is)
http://forum.xda-developers.com/showthread.php?t=2463116
aguarello said:
Soo you're not rooted?
Click to expand...
Click to collapse
sure I am!
but chainfire never said that!
paintball23456 said:
Restore WITHOUT DATA restoring with app data causes crashes on a few KK roms and ALL 5.0 ROM's I've tried CM12, fusion ETC
Click to expand...
Click to collapse
yea working without data but I use titanium just for data! apps can be reinstalled but data is important
anyway should be a way to convert data to new format!
silentattack said:
Try this
http://forum.xda-developers.com/showpost.php?p=57151905&postcount=248
Click to expand...
Click to collapse
so what is this?!!!
danieljamie said:
This fix solves force close issues with restoring apps with data in Titanium Backup.
This operation recursively fixes all SElinux file markers in /data/data, which are spoiled by titanium during data restore. (Quote from vodkinagdan)
User vodkinagdan found this solution:
Simply execute this from the terminal emulator:
su
restorecon -R -v /data/data
This has to be done after every restore (or batch of restores).
I take no credit for this but it works!
vodkinagdan has sent fix to Titanium Track.
Click to expand...
Click to collapse
stevendeb25 said:
http://forum.xda-developers.com/showthread.php?t=2463116
Click to expand...
Click to collapse
restorecon -R -v /data/data command does not work!
stevendeb25 said:
danieljamie said:
This fix solves force close issues with restoring apps with data in Titanium Backup.
This operation recursively fixes all SElinux file markers in /data/data, which are spoiled by titanium during data restore. (Quote from vodkinagdan)
User vodkinagdan found this solution:
Simply execute this from the terminal emulator:
su
restorecon -R -v /data/data
This has to be done after every restore (or batch of restores).
I take no credit for this but it works!
vodkinagdan has sent fix to Titanium Track.
Click to expand...
Click to collapse
I even tried this:
su
mount -o rw,remount /system/ /system/
restorecon -R -v /data/data
restorecon -R -v /system
mounting and the last line work but restorecon of data does not work!!
Click to expand...
Click to collapse
I cant find any option for switching to dalvik !
is it possible at all?
I want dalvik to test titanium again
hrh_fourtyseven said:
I cant find any option for switching to dalvik !
is it possible at all?
I want dalvik to test titanium again
Click to expand...
Click to collapse
since 5.0 runs on ART there is no way to switch back
This is a problem with SELinux context on restored apps data. TB won't set it right so apps with restored data are force closed. Se context is set to "u: object_r:system_data_file:s0", but needs to be "u: object_r:app_data_file:s0".
This happening not only with android 5.0, but with android 4.3 and above, where SELinux was introduced. Normally this should be fixed by running this command from root shell on the phone: "restorecon -v -R /data/data"/
But on SM-G900F Polish rom I tnink restorecon is broken (it is crashed - segfaults), so I have to set security context instead of reset.
This can be done either by chcon command in shell, or by using Root Explorer's "change SE context" (+ option "also set on all sub-folders and files") on all folders of restored apps data. You should choose "select context from list" and then select "u: object_r:app_data_file:s0". Do not set context to this value for the whole folder "data", some subfolders needs to have a different security context!
xxakep said:
This is a problem with SELinux context on restored apps data. TB won't set it right so apps with restored data are force closed. Se context is set to "u: object_r:system_data_file:s0", but needs to be "u: object_r:app_data_file:s0".
This happening not only with android 5.0, but with android 4.3 and above, where SELinux was introduced. Normally this should be fixed by running this command from root shell on the phone: "restorecon -v -R /data/data"/
But on SM-G900F Polish rom I tnink restorecon is broken (it is crashed - segfaults), so I have to set security context instead of reset.
This can be done either by chcon command in shell, or by using Root Explorer's "change SE context" (+ option "also set on all sub-folders and files") on all folders of restored apps data. You should choose "select context from list" and then select "u: object_r:app_data_file:s0". Do not set context to this value for the whole folder "data", some subfolders needs to have a different security context!
Click to expand...
Click to collapse
I dont know why,but when I go to android/data , most of the folders are empty(just files and cache folders and both are empty)!
I tried to restore some apps+data and tried to change Se contexts of them(empty folders and non empty folders!) and force close again!
maybe I should change another thing! any Idea?
The only thing that works on Titanium is uninstall, nor backup, nor freeze, nor restore work
Other than I am very happy with Lollipop :good:
hrh_fourtyseven said:
I dont know why,but when I go to android/data , most of the folders are empty(just files and cache folders and both are empty)!
I tried to restore some apps+data and tried to change Se contexts of them(empty folders and non empty folders!) and force close again!
maybe I should change another thing! any Idea?
Click to expand...
Click to collapse
What do you mean by "android/data"? Applications have their data in /data/data (you should go in Root Explorer to root folder, then select folder "data" and in folder "data" select subfolder "data" again), each in their subfolder. On each folder that relate to your restored apps (you could check it by app name - like com.amazon.kindle etc) you should change SE context to what I have told in previous post.
I have already restored over 300 applications from 4.4.2 with TB and after this action all of them are worked without a force close.
I used Helium works much better than ****ty TB

Categories

Resources