hiphi: recovery/root: Set permissive
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
This commit is contained in:
parent
acb4705f86
commit
3e605f1369
2 changed files with 12 additions and 0 deletions
|
@ -25,6 +25,9 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
on early-init
|
||||
start set_permissive
|
||||
|
||||
on fs
|
||||
wait /dev/block/platform/soc/${ro.boot.bootdevice}
|
||||
symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
|
||||
|
@ -34,3 +37,10 @@ on post-fs
|
|||
|
||||
on boot
|
||||
start health-hal-2-1
|
||||
|
||||
service set_permissive /system/bin/set_permissive.sh
|
||||
user root
|
||||
group root
|
||||
disabled
|
||||
oneshot
|
||||
seclabel u:r:recovery:s0
|
||||
|
|
2
recovery/root/system/bin/set_permissive.sh
Executable file
2
recovery/root/system/bin/set_permissive.sh
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/system/bin/sh
|
||||
setenforce 0
|
Loading…
Reference in a new issue