Skip to content

Commit

Permalink
Support more PIH and PPU variants and hybrids
Browse files Browse the repository at this point in the history
  • Loading branch information
osm0sis authored Jan 7, 2025
1 parent 59781b1 commit 264a218
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions module/common_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,13 @@ if [ -n "$(resetprop ro.aospa.version)" -o -n "$(resetprop net.pixelos.version)"
done
fi

# Work around supported custom ROM PropImitationHooks conflict when spoofProvider is disabled
if resetprop | grep -q "persist.sys.pihooks"; then
# Work around supported custom ROM PropImitationHooks/PixelPropsUtils (and hybrids) conflict when spoofProvider is disabled
if resetprop | grep -qE "persist.sys.pihooks|persist.sys.entryhooks|persist.sys.pixelprops"; then
resetprop -n -p persist.sys.pihooks.disable.gms_props true
resetprop -n -p persist.sys.pihooks.disable.gms_key_attestation_block true
fi

# Work around supported custom ROM PixelPropsUtils conflict when spoofProvider is disabled
if resetprop | grep -q "persist.sys.pixelprops"; then
resetprop -n -p persist.sys.entryhooks_enabled false
resetprop -n -p persist.sys.pixelprops.gms false
resetprop -n -p persist.sys.pixelprops.gapps false
resetprop -n -p persist.sys.pixelprops.google false
resetprop -n -p persist.sys.pixelprops.pi false
fi

0 comments on commit 264a218

Please sign in to comment.