.. | ||
1371.patch | ||
1387.patch | ||
1456.patch | ||
1458.patch | ||
1474.patch | ||
1489.patch | ||
1505.patch | ||
1509.patch | ||
1510.patch | ||
1512.patch | ||
1514.patch | ||
1516.patch | ||
1518.patch | ||
1520.patch | ||
1522.patch | ||
1523.patch | ||
73001.patch | ||
73008.patch | ||
73111.patch | ||
74000.patch | ||
74010.patch | ||
76008.patch | ||
78105.patch | ||
78107.patch | ||
78109.patch | ||
79107.patch | ||
81109.patch | ||
81110.patch | ||
81111.patch | ||
82206.patch | ||
83210.patch | ||
86201.patch | ||
87201.patch | ||
87202.patch | ||
87203.patch | ||
88202.patch | ||
88203.patch | ||
88205.patch | ||
89201.patch | ||
89206.patch | ||
89207.patch | ||
90201.patch | ||
90203.patch | ||
90204.patch | ||
91201.patch | ||
91202.patch | ||
addpatch.py | ||
customdynamicicon.sh | ||
customicon.sh | ||
README.md |
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
- 88.2 - Alpha
- 88.3 - Alpha
- 88.5 - Alpha
- 89.1 - Alpha
- 89.6 - Alpha
- 89.7 - Alpha
- 90.1 - Alpha
- 90.3 - Alpha
- 90.4 - Alpha
- 91.1 - Alpha
- 91.2 - Alpha