cutthecord/patches/branding
Ave Ozkal 0c773d4daf
9.7.0
Apparently as of 9.6.9 we're back to gw v7.

They're making the code and more enterprise too over time. Poor discord
devs.
2019-10-10 08:54:42 +03:00
..
833.patch
834.patch
835.patch
836.patch
839.patch
841.patch
842.patch
843.patch
844.patch
845.patch
848.patch
850.patch
851.patch
853.patch
854.patch
855.patch
856.patch
876.patch
884.patch
888.patch
896.patch
897.patch
898.patch
899.patch
900.patch
901.patch
902.patch
903.patch
904.patch
906.patch
909.patch
910.patch
938.patch
939.patch
940.patch
942.patch
943.patch 9.4.3 :) 2019-08-20 10:32:35 +03:00
945.patch 9.4.5 :) 2019-08-22 15:06:29 +03:00
946.patch 9.4.6. 2019-08-22 23:01:07 +03:00
947.patch 9.4.7 2019-08-24 12:28:21 +03:00
948.patch 9.4.8 :) 2019-08-27 15:15:17 +03:00
963.patch 9.6.3 2019-10-01 23:01:01 +03:00
964.patch 9.6.4 :) 2019-10-01 23:06:14 +03:00
965.patch branding: fix on 9.6.5 2019-10-03 10:28:20 +03:00
966.patch 9.6.6 2019-10-05 16:07:30 +03:00
967.patch branding: Fix build issues 2019-10-05 16:44:02 +03:00
968.patch 9.6.8. 2019-10-08 02:27:20 +03:00
970.patch 9.7.0 2019-10-10 08:54:42 +03:00
addpatch.py
customdynamicicon.sh
customicon.sh
README.md 9.7.0 2019-10-10 08:54:42 +03:00

DisTok CutTheCord: Custom Branding Patch

This patch renames Discord app to CutTheCord.

It also enables debuggability (android:debuggable) and backupability (android:allowBackup) of the application.

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.

Running customicon.sh (while on root of the extracted folder) will also change the icon to the debug icon:

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.

You can use the following line to patch authorities:

sed -i 's/android:authorities="com.discord./android:authorities="com.cutthecord.CTCBRANCH./g' AndroidManifest.xml

Available and tested on:

  • 8.3.3
  • 8.3.4g
  • 8.3.5g
  • 8.3.6g
  • 8.3.9g
  • 8.4.1g
  • 8.4.2g
  • 8.4.3g
  • 8.4.4g
  • 8.4.5g
  • 8.4.8
  • 8.5.0
  • 8.5.1
  • 8.5.3
  • 8.5.4
  • 8.5.5
  • 8.5.6
  • 8.7.6
  • 8.8.4
  • 8.8.8
  • 8.9.6
  • 8.9.7
  • 8.9.8
  • 8.9.9
  • 9.0.0
  • 9.0.1
  • 9.0.2
  • 9.0.3
  • 9.0.4
  • 9.0.6
  • 9.0.9
  • 9.1.0
  • 9.3.8-SAO-Heathcliff
  • 9.3.9
  • 9.4.0
  • 9.4.2-SA
  • 9.4.3-SA
  • 9.4.5
  • 9.4.6
  • 9.4.7
  • 9.4.8
  • 9.6.3
  • 9.6.4
  • 9.6.5
  • 9.6.6
  • 9.6.7
  • 9.6.8
  • 9.7.0