FORUMS

Which Lockscreen Security Type Do You Use?

From pattern locks to the controversial face unlock, there are a number of different ways you … more

Xposed 3.0 Alpha 3 Released

A new alpha for the Xposed framework is out and brings several bug fixes. You’ll only need to flash … more

XDA Recap: This Week In Android (Apr 18 – 25)

Here in the digital XDA newsroom, we spend our days pouring over an average of … more

Sunday Debate: Custom ROMs vs. Modular Tweaks

Join us in a fun Sunday Debate on Mods and ROMs. Come with your opinions and feel free to … more
Post Reply Subscribe to Thread Email Thread

Fix for Titanium Backup restoring with data

29th September 2013, 05:46 PM |#1  
danieljamie's Avatar
OP Senior Member
Thanks Meter: 173
 
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 05:49 PM.
The Following 58 Users Say Thank You to danieljamie For This Useful Post: [ View ]
 
 
29th September 2013, 05:50 PM |#2  
Member
Thanks Meter: 7
 
More
Confirmed, it saved me from days of frustration !
29th September 2013, 05:57 PM |#3  
yatbond's Avatar
Senior Member
Thanks Meter: 92
 
More
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, 06:02 PM |#4  
Senior Member
Flag Moscow
Thanks Meter: 148
 
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 06:04 PM.
The Following 8 Users Say Thank You to vodkinagdan For This Useful Post: [ View ]
29th September 2013, 06:23 PM |#5  
toofimoofi's Avatar
Senior Member
Thanks Meter: 39
 
More
works like a charm. too bad Ive already reinstalled the apps and deleted my titanium backup files.. lol
29th September 2013, 07:32 PM |#6  
danieljamie's Avatar
OP Senior Member
Thanks Meter: 173
 
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, 07:40 PM |#7  
Member
Thanks Meter: 10
 
More
Do you execute this command after or before restore?

Skickat från min SM-N9005
29th September 2013, 07:42 PM |#8  
danieljamie's Avatar
OP Senior Member
Thanks Meter: 173
 
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, 10:21 PM |#9  
Member
Flag Copenhagen
Thanks Meter: 9
 
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:	3332
Size:	29.3 KB
ID:	2291594  
29th September 2013, 10:32 PM |#10  
Senior Member
Flag Volgograd
Thanks Meter: 35
 
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