hiphi: recovery/root: Set permissive

Signed-off-by: 7Soldier <reg.fm4@gmail.com>
This commit is contained in:
erwinabs 2022-12-28 23:03:03 +00:00 committed by 7Soldier
parent acb4705f86
commit 3e605f1369
2 changed files with 12 additions and 0 deletions

View file

@ -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

View file

@ -0,0 +1,2 @@
#!/system/bin/sh
setenforce 0