Fix for Titanium Backup restoring with data

cwalker0906

Senior Member
Nov 2, 2010
1,566
514
133
chicago
i had same issue not working....put in your restorecon and now system emulater wont even work i dont understand your permission slang can you please tell in simple english what permissions to set
 

vodkinagdan

Senior Member
Aug 29, 2010
250
149
0
Moscow
i had same issue not working....put in your restorecon and now system emulater wont even work i dont understand your permission slang can you please tell in simple english what permissions to set
Please, can you discribe your problem more detailed. Or try to speak in you native language and I'll try to translate it. Can't undersrand you :(
 
  • Like
Reactions: cwalker0906

cwalker0906

Senior Member
Nov 2, 2010
1,566
514
133
chicago
Please, can you discribe your problem more detailed. Or try to speak in you native language and I'll try to translate it. Can't undersrand you :(
when i put the restore con into system bin my terminal emulater app quit working. he said in op to fix permissions on the file but i dont understand what permissions are supposed to be set. i know how to set them but not sure what to set them as. also i have tmobile 900t thanks
 

vodkinagdan

Senior Member
Aug 29, 2010
250
149
0
Moscow
when i put the restore con into system bin my terminal emulater app quit working. he said in op to fix permissions on the file but i dont understand what permissions are supposed to be set. i know how to set them but not sure what to set them as. also i have tmobile 900t thanks
It's selinux permissions. SElinux - is a new android security system. Try to delete Terminal Emulator app and reinstall it from market.
 
  • Like
Reactions: cwalker0906

digitalfiend

Senior Member
Jan 8, 2010
58
18
0
San Antonio
I got my T-mobile Note 3 yesterday and this problem plagued me as soon as I attempted a Titanium Backup restore. This has fixed all of the problems I had with my restored apps since I ran it this morning. Thank you!!!

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
 

kingkesi

Senior Member
Sep 13, 2008
58
4
0
Long Island, NY
This has been a great help as I was pulling my hair out last night with all of my apps freezing after restore. Has anyone tried backing up current apps on the Note after doing this and the maybe doing another restore? I'm just wondering if there will be any issues with backups (Titanium files getting screwed up, etc).

Either way, thanks for this!
 

A.S._id

Inactive Recognized Developer
Sep 21, 2010
1,211
2,574
0
Simply execute this from the terminal emulator:

Code:
su
mount -o rw,remount /system/ /system/
restorecon -R -v /data/data
restorecon -R -v /system

So it will be correctly ...
 
Last edited:
  • Like
Reactions: AllGamer

JBNAquatics

Senior Member
Aug 22, 2009
544
69
0
Anaheim
It's strange, but seems that you have no restorecon binary in your rom.
Here's mine. Try to put it in /system/bin and then execute restorecon -R -v /data/data
It should be rwxr-xr-x (755)
When I tried to move it or change the permission, I keep receiving a permission denied (I'm rooted, and enabled the rooting option as well).
 

ShAdOwfOx032

Senior Member
Dec 1, 2009
83
10
0
I too am not able to get the command to work, also I can't add restorecon to the /system/bin folder because of permissions. Any other help would be greatly appreciated. I have the Tmobile n900T.

UPDATE:
I was able to copy the restorecon file provided by using ROM Toolbox Pro. I used the rootbrowser in the app to copy and paste the file into the /system/bin folder. After I just had to type into terminal emulator:

su
restorecon -R -v /data/data

And that fixed everything. Thanks a lot for figuring this all out guys. This was a life saver!
 
Last edited:

blu3angel

Senior Member
Mar 25, 2009
1,243
218
93
Hi everyone... I have rooted my SM9005 and applied the titanium fix and it seems that everything works fine... However I came across one very strange and annoying bug.. Everytime I tried to uninstall a application my phone would freeze.. I have to pressed the power button to restart my phone.. Have anyone encounter this bug? But after the phone start the app would be uninstall.. :confused:

Sent from my SM-N9005 using Tapatalk 2