chcon without -R

This commit is contained in:
ostajic 2020-08-25 05:05:17 +02:00
parent 42b3354d43
commit c44690e530
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ class RootSplitInstallerService: Service() {
//set chcon to apk_data_file
private fun chConV(path: String): Boolean {
val response = Shell.su("chcon -R u:object_r:apk_data_file:s0 $path").exec()
val response = Shell.su("chcon u:object_r:apk_data_file:s0 $path").exec()
//val response = Shell.su("chcon -R u:object_r:system_file:s0 $path").exec()
return if(response.isSuccess) {
true