Last active
June 20, 2016 13:51
-
-
Save 173210/1723854ce4e01148b17e6e97685576e4 to your computer and use it in GitHub Desktop.
Disable camera sound even in Japan, a country of fools
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
#!/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