Post Reply Subscribe to Thread Email Thread

How to set permissions using equivalent adb cmnd

28th October 2014, 07:18 PM   |  #1  
hard91's Avatar
OP Senior Member
Flag PATIALA
Thanks Meter: 192
 
374 posts
Join Date:Joined: Nov 2012
More
Can anyone tell me equivalent adb command of
set_perm()
{ chown $1.$2 $4
chown $1:$2 $4
chmod $3 $4
}
set_perm 0 0 0755 /system/xbin/daemonsu

And

ch_con() { /system/bin/toolbox chcon ubject_r:system_file:s0 $1 chcon ubject_r:system_file:s0 $1 }

ch_con /system/etc/install-recovery.sh
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes