magisk-ghid/service.sh
Timmy Welch ff422dbc23 Fix basically everything
Add permission handling with ueventd
Add selinux context to system_ext/etc/selinux/system_ext_file_contexts
Remove init changes and boot image patching
Only initialize the keyboard once on boot with a non-standard name
  Standard names are f[1-9] we use fhid
2025-02-16 12:46:56 -08:00

9 lines
248 B
Bash

#!/bin/sh
ueventd=$(getprop init.svc.ueventd)
if [ "$ueventd" = "running" ]; then
# ueventd ensures that the correct permissions get applied, it may also apply the correct selabel, not sure
stop ueventd
start ueventd
fi
/system/bin/ghid.sh init