Skip to content

Instantly share code, notes, and snippets.

@173210
Last active June 20, 2016 13:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 173210/1723854ce4e01148b17e6e97685576e4 to your computer and use it in GitHub Desktop.
Save 173210/1723854ce4e01148b17e6e97685576e4 to your computer and use it in GitHub Desktop.
Disable camera sound even in Japan, a country of fools
#!/bin/sh
set -eu
adb pull /system/framework-res.apk
apktool d -s framework-res.apk
rm -r framework-res/res/value-mcc440
apktool b -c framework-res
zipalign 4 framework-res/dist/framework-res.apk framework-res/dist/framework-res.aligned.apk
adb root
adb shell mount -o rw,remount /system
adb push framework-res/dist/framework-res.aligned.apk /system/framework/framework-res.apk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment