mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_sm6250-common.git
synced 2025-06-03 19:07:17 +09:00
9 lines
253 B
Plaintext
9 lines
253 B
Plaintext
# Safetynet bypass
|
|
# Inspired in magisk source code, by topjohnwu
|
|
# Ported to ramdisk by jhenrique09
|
|
|
|
on property:sys.boot_completed=1
|
|
# selinux nodes, hide permissive state
|
|
chmod 0640 /sys/fs/selinux/enforce
|
|
chmod 0440 /sys/fs/selinux/policy
|