This repository has been archived on 2021-08-24. You can view files and clone it, but cannot push or open issues or pull requests.
cutthecord/patches/branding
2019-10-05 16:23:26 +03:00
..
833.patch Add branding patch 2019-01-23 12:54:45 +03:00
834.patch Add support for 8.3.4g, ahh fuck Discord 2019-01-23 23:31:58 +03:00
835.patch branding: Fix version codes (fuck apktool) 2019-01-28 22:19:15 +03:00
836.patch brnading, compact, customtheme, customversion: ported to 8.3.6g 2019-01-31 10:44:04 +03:00
839.patch Ported all patches to 8.3.9g 2019-02-03 09:56:40 +03:00
841.patch Ported patches to v8.4.1 + release patchport 2019-02-04 23:49:46 +03:00
842.patch Add v8.4.2g patches 2019-02-05 03:14:41 +03:00
843.patch branding: allow multiple instances of CTC and discord to be installed 2019-02-07 22:21:12 +03:00
844.patch Port patches to v8.4.4g 2019-02-08 11:29:01 +03:00
845.patch Add v8.4.5 patches 2019-02-15 02:05:52 +03:00
848.patch Update all patches but notrack to 8.4.8 2019-02-17 12:38:41 +03:00
850.patch Release v8.5.0 patches 2019-02-23 23:57:47 +03:00
851.patch Fix offsets on branding 2019-02-27 10:32:53 +03:00
853.patch fix offsets on branding 2019-03-01 13:17:23 +03:00
854.patch Update patches to v8.5.4 2019-03-03 19:22:59 +03:00
855.patch Push v8.5.5 patches 2019-03-04 12:01:18 +03:00
856.patch patchport: fix dir-level issues also fix auto-fixed patches 2019-03-08 16:17:28 +03:00
876.patch Add v8.7.6 support and improve patchport 2019-04-25 13:12:30 +03:00
884.patch Add v884 support 2019-04-25 14:01:07 +03:00
888.patch Add 8.8.8 support 2019-05-01 09:17:47 +03:00
896.patch Allow backing up and debugging 2019-05-13 11:45:31 +03:00
897.patch Port patches to v8.9.7 2019-05-14 07:17:51 +03:00
898.patch Port patches to 8.9.8 2019-05-15 01:19:19 +03:00
899.patch 8.9.9 2019-05-17 15:00:15 +03:00
900.patch 9.0.0 2019-05-18 10:29:12 +03:00
901.patch 9.0.1 2019-05-22 09:04:37 +03:00
902.patch 9.0.2 2019-05-23 08:46:44 +03:00
903.patch branding: replace "having issues with recaptcha?" link 2019-05-26 15:47:15 +03:00
904.patch Revert "Revert "9.0.4"" 2019-06-02 13:12:05 +03:00
906.patch 9.0.6 2019-06-02 13:13:14 +03:00
909.patch Change "Support" button to "CutTheCord Repo" 2019-06-22 18:30:54 +03:00
910.patch branding: attempt to unfuck installs 2019-06-25 15:58:19 +03:00
938.patch 9.3.8 2019-08-12 21:10:22 +03:00
939.patch 9.3.9 + New icon from dzuk! 2019-08-16 23:58:00 +03:00
940.patch 9.4.0 + ave custom logo 2019-08-17 00:41:53 +03:00
942.patch 9.4.2 2019-08-17 13:20:19 +03:00
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 9.6.7 2019-10-05 16:23:26 +03:00
addpatch.py Account for names with spaces and custom icons supplied by ctcci 2019-06-21 11:29:30 +03:00
customdynamicicon.sh Some fixes for 9.1.2, still doesn't build 2019-07-11 15:03:23 +03:00
customicon.sh Some fixes for 9.1.2, still doesn't build 2019-07-11 15:03:23 +03:00
README.md 9.6.7 2019-10-05 16:23:26 +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