PlayIntegrityFix/module/uninstall.sh
backslashxx 6c42fa08a9 scripts: disable LeafOS gmscompat if found
This also properly cleans it up at uninstall.
Some LineageOS based roms use this pif implementation.
2025-02-13 14:43:34 +08:00

11 lines
328 B
Bash

#!/bin/sh
# LeafOS "gmscompat: Dynamically spoof props for GMS"
# https://review.leafos.org/c/LeafOS-Project/android_frameworks_base/+/4416
# https://review.leafos.org/c/LeafOS-Project/android_frameworks_base/+/4417/5
if [ -f /data/system/gms_certified_props.json ]; then
resetprop -p --delete persist.sys.spoof.gms
fi
# EOF