diff --git a/rootdir/init.rc b/rootdir/init.rc index 99a429d88..a204eab69 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -14,6 +14,9 @@ on early-init # Set init and its forked children's oom_adj. write /proc/1/oom_score_adj -1000 + # Disable sysrq from keyboard + write /proc/sys/kernel/sysrq 0 + # Set the security context of /adb_keys if present. restorecon /adb_keys