Last active
July 21, 2024 23:18
-
-
Save danielml3/627b0b38f3dc051bba8f30fbbd9e0bba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/system/bin/sh | |
# | |
# ADDOND_VERSION=2 | |
# | |
# /system/addon.d/25-customprops.sh | |
# | |
. /postinstall/tmp/backuptool.functions | |
case "$1" in | |
backup) | |
# Stub | |
;; | |
restore) | |
# Stub | |
;; | |
pre-backup) | |
# Stub | |
;; | |
post-backup) | |
# Stub | |
;; | |
pre-restore) | |
# Stub | |
;; | |
post-restore) | |
build_prop=$(get_output_path /system/build.prop) | |
sed -i s/ro.debuggable=1/ro.debuggable=0/g $build_prop | |
sed -i s/ro.build.tags=test-keys/ro.build.tags=release-keys/g $build_prop | |
;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment