52 lines
2.0 KiB
Bash
52 lines
2.0 KiB
Bash
#!/system/bin/sh
|
|
|
|
MAGISKTMP=/debug_ramdisk
|
|
RESETPROP="$MAGISKTMP/resetprop"
|
|
|
|
if [ ! -x "$MAGISKTMP/magisk" ]; then
|
|
exit 0
|
|
fi
|
|
|
|
# Make Magisk's applets discoverable from app namespaces before zygote forks.
|
|
ln -sf "$MAGISKTMP/magisk" /vendor/bin/su
|
|
ln -sf "$MAGISKTMP/magisk" /vendor/bin/magisk
|
|
ln -sf "$MAGISKTMP/magisk" /vendor/bin/resetprop
|
|
ln -sf "$MAGISKTMP/magiskpolicy" /vendor/bin/magiskpolicy
|
|
|
|
if [ ! -x "$RESETPROP" ]; then
|
|
exit 0
|
|
fi
|
|
|
|
"$RESETPROP" ro.product.model "Pixel 7 Pro"
|
|
"$RESETPROP" ro.product.brand google
|
|
"$RESETPROP" ro.product.name cheetah
|
|
"$RESETPROP" ro.product.device cheetah
|
|
"$RESETPROP" ro.product.manufacturer Google
|
|
"$RESETPROP" ro.product.system.model "Pixel 7 Pro"
|
|
"$RESETPROP" ro.product.system.brand google
|
|
"$RESETPROP" ro.product.system.name cheetah
|
|
"$RESETPROP" ro.product.system.device cheetah
|
|
"$RESETPROP" ro.product.system.manufacturer Google
|
|
"$RESETPROP" ro.product.vendor.model "Pixel 7 Pro"
|
|
"$RESETPROP" ro.product.vendor.brand google
|
|
"$RESETPROP" ro.product.vendor.name cheetah
|
|
"$RESETPROP" ro.product.vendor.device cheetah
|
|
"$RESETPROP" ro.product.vendor.manufacturer Google
|
|
"$RESETPROP" ro.product.product.model "Pixel 7 Pro"
|
|
"$RESETPROP" ro.product.product.brand google
|
|
"$RESETPROP" ro.product.product.name cheetah
|
|
"$RESETPROP" ro.product.product.device cheetah
|
|
"$RESETPROP" ro.product.product.manufacturer Google
|
|
"$RESETPROP" ro.build.fingerprint google/cheetah/cheetah:13/TQ3A.230805.001/2023080800:user/release-keys
|
|
"$RESETPROP" ro.system.build.fingerprint google/cheetah/cheetah:13/TQ3A.230805.001/2023080800:user/release-keys
|
|
"$RESETPROP" ro.vendor.build.fingerprint google/cheetah/cheetah:13/TQ3A.230805.001/2023080800:user/release-keys
|
|
"$RESETPROP" ro.product.build.fingerprint google/cheetah/cheetah:13/TQ3A.230805.001/2023080800:user/release-keys
|
|
"$RESETPROP" ro.build.type user
|
|
"$RESETPROP" ro.build.tags release-keys
|
|
"$RESETPROP" ro.secure 1
|
|
"$RESETPROP" ro.debuggable 0
|
|
"$RESETPROP" ro.boot.verifiedbootstate green
|
|
"$RESETPROP" ro.boot.vbmeta.device_state locked
|
|
"$RESETPROP" ro.boot.flash.locked 1
|
|
"$RESETPROP" ro.boot.veritymode enforcing
|