Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Fix for Titanium Backup restoring with data

OP danieljamie

29th September 2013, 06:46 PM   |  #1  
danieljamie's Avatar
OP Senior Member
Thanks Meter: 170
 
611 posts
Join Date:Joined: Mar 2011
More
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.

Sent from my SM-N9005 using xda app-developers app
Last edited by danieljamie; 29th September 2013 at 06:49 PM.
The Following 58 Users Say Thank You to danieljamie For This Useful Post: [ View ]
29th September 2013, 06:50 PM   |  #2  
Member
Thanks Meter: 7
 
43 posts
Join Date:Joined: Jan 2009
Confirmed, it saved me from days of frustration !
29th September 2013, 06:57 PM   |  #3  
yatbond's Avatar
Senior Member
Thanks Meter: 92
 
244 posts
Join Date:Joined: Apr 2007
Sorry. What is terminal emulator? How do you get there?

Thanks

Sent from my LG-F320K using xda app-developers app
The Following User Says Thank You to yatbond For This Useful Post: [ View ]
29th September 2013, 07:02 PM   |  #4  
Senior Member
Flag Moscow
Thanks Meter: 148
 
233 posts
Join Date:Joined: Aug 2010
More
Quote:
Originally Posted by flochy

Confirmed, it saved me from days of frustration !

I can also suggest everyone to create sh file with these commands and store somewhere in sdcard. Just in case if we will have to wait for the fix from titanium team for a while.
P.S. Terminal emulator is an app, which you can get from Play Market. It serves to execute shell and busybox commands on android device.
Last edited by vodkinagdan; 29th September 2013 at 07:04 PM.
The Following 8 Users Say Thank You to vodkinagdan For This Useful Post: [ View ]
29th September 2013, 07:23 PM   |  #5  
toofimoofi's Avatar
Senior Member
Thanks Meter: 22
 
112 posts
Join Date:Joined: Sep 2013
works like a charm. too bad Ive already reinstalled the apps and deleted my titanium backup files.. lol
29th September 2013, 08:32 PM   |  #6  
danieljamie's Avatar
OP Senior Member
Thanks Meter: 170
 
611 posts
Join Date:Joined: Mar 2011
More
Quote:
Originally Posted by toofimoofi

works like a charm. too bad Ive already reinstalled the apps and deleted my titanium backup files.. lol

Never delete them! Ever!

Sent from my SM-N9005 using xda app-developers app
29th September 2013, 08:40 PM   |  #7  
Member
Thanks Meter: 5
 
73 posts
Join Date:Joined: May 2012
Do you execute this command after or before restore?

Skickat från min SM-N9005
29th September 2013, 08:42 PM   |  #8  
danieljamie's Avatar
OP Senior Member
Thanks Meter: 170
 
611 posts
Join Date:Joined: Mar 2011
More
Quote:
Originally Posted by PokerPlayer

Do you execute this command after or before restore?

Skickat från min SM-N9005

After restores.You can restore many then run command once.

Sent from my SM-N9005 using xda app-developers app
29th September 2013, 11:21 PM   |  #9  
Member
Flag Copenhagen
Thanks Meter: 9
 
78 posts
Join Date:Joined: Nov 2010
More
Hi, could someone please help me, i'm not really sure what i'm doing wrong here?

- Thank you!
Attached Thumbnails
Click image for larger version

Name:	2013-09-29 21.20.01.jpg
Views:	3170
Size:	29.3 KB
ID:	2291594  
29th September 2013, 11:32 PM   |  #10  
Senior Member
Flag Volgograd
Thanks Meter: 32
 
102 posts
Join Date:Joined: Jun 2010
More
This tool resets SELinux security contexts. Maybe you need to have busybox installed(if it's one of its' binaries/applets?)

The Following User Says Thank You to Unb0rn For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes