You'll need to run "addpatch.py" with syntax of `python3 addpatch.py $in_patch_filename $app_name $branch_name` and use the `-custom.patch` version, or else it'll fail. You'll need to put a valid directory for storing hacky build counters to it.
If you want a different icon, replace `res/mipmap-xxxhdpi/logo_debug.png` with the icon you want before running `customicon.sh`. If you don't want dynamic icon to be shown instead of the custom icon, delete the folder `res/mipmap-anydpi-v26/` (or if you want to replace it too, look at the next line instead).
If you want a custom dynamic icon replace `res/mipmap-xxxhdpi/ic_launcher_foreground.png` (optionally transparent image with only the foreground of the icon) and `res/mipmap-xxxhdpi/ic_launcher_background.png` (optionally transparent image with only the background of the icon), both images should be square and of same size, and then run `customdynamicicon.sh`.