cutthecord/patches/branding
2021-08-05 15:35:28 +00:00
..
1371.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
1387.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
1456.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
1458.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
1474.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
1489.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
1505.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
1509.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
1510.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
1512.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
1514.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
1516.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
1518.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
1520.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
1522.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
1523.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
73001.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
73008.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
73111.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
74000.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
74010.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
76008.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
78105.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
78107.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
78109.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
79107.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
81109.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
81110.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
81111.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
82206.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
83210.patch 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
86201.patch 86.1 - Alpha (86201) 2021-07-28 16:38:20 +00:00
87201.patch Fix this for next update 2021-08-04 00:26:58 +00:00
87202.patch 87.2 - Alpha (87202) 2021-08-04 19:12:54 +00:00
87203.patch 87.3 - Alpha (87203) 2021-08-05 15:35:28 +00:00
addpatch.py Revert Fuck Logging 2021-08-04 21:59:31 +00:00
customdynamicicon.sh 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
customicon.sh 83.10 - Alpha (83210) 2021-07-28 15:48:08 +00:00
README.md 87.3 - Alpha (87203) 2021-08-05 15:35:28 +00: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:

  • 56.0
  • 57.11
  • 63.2
  • 63.3
  • 65.3
  • 66.14
  • 69.0
  • 70.3
  • 70.4
  • 70.5
  • 70.6
  • 71.2
  • 71.3
  • 71.4
  • 72.1
  • 73.1
  • 73.8
  • 73.11
  • 74.0
  • 74.10
  • 76.8
  • 78.5 - Beta
  • 78.7 - Beta
  • 78.9 - Beta
  • 79.7 - Beta
  • 81.9 - Beta
  • 81.10 - Beta
  • 81.11 - Beta
  • 82.6 - Alpha
  • 83.10 - Alpha
  • 86.1 - Alpha
  • 87.1 - Alpha
  • 87.2 - Alpha
  • 87.3 - Alpha