This file contains hidden or 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
| #!/usr/bin/env bash | |
| # | |
| # This script replaces "ro.debuggable=1" with "ro.debuggable=0" in the | |
| # default.prop file in a ROM's boot.img and gives you the patched boot.img. | |
| # | |
| # Prerequisites: | |
| # - A UNIX system (with `unzip`) | |
| # - These tools added to your PATH: | |
| # - Android dev tools (adb/fastboot) | |
| # - Various tools in "bootimg_tools_7.8.13.zip" from https://goo.gl/48Sszu |