mirror of
https://github.com/kdrag0n/safetynet-fix.git
synced 2024-11-19 11:11:22 +00:00
service: Restart Keystore v2 on Android 12
This commit is contained in:
parent
e04d5de503
commit
e94eb5b275
8
service.sh
Executable file
8
service.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Keystore v2 starts before Magisk on Android 12, so it needs to be restarted.
|
||||
# Do this in service.sh to make sure that files have been mounted already.
|
||||
if getprop ro.build.id | grep -q SPB2; then
|
||||
stop keystore2
|
||||
start keystore2
|
||||
fi
|
Loading…
Reference in New Issue
Block a user