From 4f94f822b19a0803b97f5f55a2f64f00ddc66bfd Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Wed, 23 Jan 2019 11:26:34 +0300 Subject: [PATCH] Fix all 8.3.3 patches --- patches/customtheme/README.md | 2 + patches/customversion/README.md | 1 + patches/experiments/README.md | 1 + patches/litecord/833.patch | 332 ++++++++++++++++++++++++++++++++ patches/litecord/README.md | 3 +- patches/mutant/832.patch | 299 ++++++++++++++++++++++++++++ patches/mutant/833.patch | 299 ++++++++++++++++++++++++++++ patches/mutant/README.md | 1 + patches/nonearby/832.patch | 10 +- patches/nonearby/833.patch | 10 +- patches/nonearby/README.md | 1 + patches/notrack/833.patch | 2 +- patches/notrack/README.md | 1 + 13 files changed, 950 insertions(+), 12 deletions(-) create mode 100644 patches/litecord/833.patch diff --git a/patches/customtheme/README.md b/patches/customtheme/README.md index 5fcf6c6..1760261 100644 --- a/patches/customtheme/README.md +++ b/patches/customtheme/README.md @@ -7,10 +7,12 @@ This patch replaces theme with a pitch black theme, similar to [0cord](https://g - Ignored channel names aren't visible - "x blocked messages" and bg on that is still a mess - Splash is shit +- Top bar isn't changed - "editing message" is ugly #### Available and tested on: - 8.3.2 +- 8.3.3 #### Value reference diff --git a/patches/customversion/README.md b/patches/customversion/README.md index 19e3921..0151a6b 100644 --- a/patches/customversion/README.md +++ b/patches/customversion/README.md @@ -6,4 +6,5 @@ This patch replaces version string and adds mention of cutthecord in the user se #### Available and tested on: - 8.3.2 +- 8.3.3 diff --git a/patches/experiments/README.md b/patches/experiments/README.md index a502ed8..5cfb190 100644 --- a/patches/experiments/README.md +++ b/patches/experiments/README.md @@ -7,4 +7,5 @@ This patch enables developer options (empty), mobile experiments (of which there #### Available and tested on: - 8.3.2 +- 8.3.3 diff --git a/patches/litecord/833.patch b/patches/litecord/833.patch new file mode 100644 index 0000000..9d2f33c --- /dev/null +++ b/patches/litecord/833.patch @@ -0,0 +1,332 @@ +diff -crB -x dist -x res -x build com.discord-832-base/smali/com/discord/app/App.smali com.discord-832/smali/com/discord/app/App.smali +*** com.discord-832-base/smali/com/discord/app/App.smali 2019-01-19 04:41:50.773096345 +0300 +--- com.discord-832/smali/com/discord/app/App.smali 2019-01-19 22:52:25.312996678 +0300 +*************** +*** 218,224 **** + + invoke-virtual {v0, v1}, Lcom/discord/utilities/view/text/LinkifiedTextView$Companion;->init(Lkotlin/jvm/functions/Function2;)Lkotlin/Unit; + +! const-string v0, "https://cdn.discordapp.com" + + .line 75 + invoke-static {v0}, Lcom/discord/models/domain/emoji/ModelEmojiCustom;->setCdnUri(Ljava/lang/String;)V +--- 218,224 ---- + + invoke-virtual {v0, v1}, Lcom/discord/utilities/view/text/LinkifiedTextView$Companion;->init(Lkotlin/jvm/functions/Function2;)Lkotlin/Unit; + +! const-string v0, "https://dev.litecord.top" + + .line 75 + invoke-static {v0}, Lcom/discord/models/domain/emoji/ModelEmojiCustom;->setCdnUri(Ljava/lang/String;)V +diff -crB -x dist -x res -x build com.discord-832-base/smali/com/discord/BuildConfig.smali com.discord-832/smali/com/discord/BuildConfig.smali +*** com.discord-832-base/smali/com/discord/BuildConfig.smali 2019-01-19 04:41:50.749762898 +0300 +--- com.discord-832/smali/com/discord/BuildConfig.smali 2019-01-19 22:51:32.679372540 +0300 +*************** +*** 16,30 **** + + .field public static final FLAVOR_internalExternal:Ljava/lang/String; = "external" + +! .field public static final HOST:Ljava/lang/String; = "https://discordapp.com" + +! .field public static final HOST_API:Ljava/lang/String; = "https://discordapp.com/api/" + +! .field public static final HOST_CDN:Ljava/lang/String; = "https://cdn.discordapp.com" + + .field public static final HOST_GIFT:Ljava/lang/String; = "https://discord.gift" + +! .field public static final HOST_INVITE:Ljava/lang/String; = "https://discord.gg" + + .field public static final LOCAL_IP:Ljava/lang/String; = "" + +--- 16,30 ---- + + .field public static final FLAVOR_internalExternal:Ljava/lang/String; = "external" + +! .field public static final HOST:Ljava/lang/String; = "https://dev.litecord.top" + +! .field public static final HOST_API:Ljava/lang/String; = "https://dev.litecord.top/api/" + +! .field public static final HOST_CDN:Ljava/lang/String; = "https://dev.litecord.top" + + .field public static final HOST_GIFT:Ljava/lang/String; = "https://discord.gift" + +! .field public static final HOST_INVITE:Ljava/lang/String; = "https://dev.litecord.top" + + .field public static final LOCAL_IP:Ljava/lang/String; = "" + +diff -crB -x dist -x res -x build com.discord-832-base/smali/com/discord/gateway/GatewaySocket.smali com.discord-832/smali/com/discord/gateway/GatewaySocket.smali +*** com.discord-832-base/smali/com/discord/gateway/GatewaySocket.smali 2019-01-19 04:41:50.776429695 +0300 +--- com.discord-832/smali/com/discord/gateway/GatewaySocket.smali 2019-01-19 22:43:27.786693491 +0300 +*************** +*** 32,38 **** + + .field private static final DISCOVERING:I = 0x1 + +! .field private static final GATEWAY_COMPRESSION:Ljava/lang/String; = "zlib-stream" + + .field private static final GATEWAY_ENCODING:Ljava/lang/String; = "json" + +--- 32,38 ---- + + .field private static final DISCOVERING:I = 0x1 + +! .field private static final GATEWAY_COMPRESSION:Ljava/lang/String; = "" + + .field private static final GATEWAY_ENCODING:Ljava/lang/String; = "json" + +*************** +*** 1019,1025 **** + + invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; + +! const-string p1, "/?encoding=json&v=6&compress=zlib-stream" + + invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; + +--- 1019,1025 ---- + + invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; + +! const-string p1, "/?encoding=json&v=6" + + invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; + +diff -crB -x dist -x res -x build com.discord-832-base/smali/com/discord/stores/StoreGatewayConnection.smali com.discord-832/smali/com/discord/stores/StoreGatewayConnection.smali +*** com.discord-832-base/smali/com/discord/stores/StoreGatewayConnection.smali 2019-01-19 04:41:50.796429793 +0300 +--- com.discord-832/smali/com/discord/stores/StoreGatewayConnection.smali 2019-01-19 22:13:05.243290498 +0300 +*************** +*** 1290,1296 **** + .line 228 + new-instance v9, Lcom/discord/gateway/rest/RestConfig; + +! const-string v2, "https://discordapp.com/api/" + + sget-object v3, Lcom/discord/utilities/rest/RestAPI$AppHeadersProvider;->INSTANCE:Lcom/discord/utilities/rest/RestAPI$AppHeadersProvider; + +--- 1290,1296 ---- + .line 228 + new-instance v9, Lcom/discord/gateway/rest/RestConfig; + +! const-string v2, "https://dev.litecord.top/api/" + + sget-object v3, Lcom/discord/utilities/rest/RestAPI$AppHeadersProvider;->INSTANCE:Lcom/discord/utilities/rest/RestAPI$AppHeadersProvider; + +diff -crB -x dist -x res -x build com.discord-832-base/smali/com/discord/utilities/icon/IconUtils.smali com.discord-832/smali/com/discord/utilities/icon/IconUtils.smali +*** com.discord-832-base/smali/com/discord/utilities/icon/IconUtils.smali 2019-01-19 04:41:50.756429597 +0300 +--- com.discord-832/smali/com/discord/utilities/icon/IconUtils.smali 2019-01-19 22:53:02.319867810 +0300 +*************** +*** 359,365 **** + goto :goto_2 + + :cond_1 +! const-string p3, "https://cdn.discordapp.com" + + .line 103 + check-cast p3, Ljava/lang/CharSequence; +--- 359,365 ---- + goto :goto_2 + + :cond_1 +! const-string p3, "https://dev.litecord.top" + + .line 103 + check-cast p3, Ljava/lang/CharSequence; +*************** +*** 407,413 **** + :cond_3 + new-instance p3, Ljava/lang/StringBuilder; + +! const-string v0, "https://cdn.discordapp.com/channel-icons/" + + invoke-direct {p3, v0}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V + +--- 407,413 ---- + :cond_3 + new-instance p3, Ljava/lang/StringBuilder; + +! const-string v0, "https://dev.litecord.top/channel-icons/" + + invoke-direct {p3, v0}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V + +*************** +*** 649,655 **** + goto :goto_1 + + :cond_0 +! const-string p2, "https://cdn.discordapp.com" + + .line 135 + check-cast p2, Ljava/lang/CharSequence; +--- 649,655 ---- + goto :goto_1 + + :cond_0 +! const-string p2, "https://dev.litecord.top" + + .line 135 + check-cast p2, Ljava/lang/CharSequence; +*************** +*** 699,705 **** + :cond_2 + new-instance p2, Ljava/lang/StringBuilder; + +! const-string v0, "https://cdn.discordapp.com/icons/" + + invoke-direct {p2, v0}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V + +--- 699,705 ---- + :cond_2 + new-instance p2, Ljava/lang/StringBuilder; + +! const-string v0, "https://dev.litecord.top/icons/" + + invoke-direct {p2, v0}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V + +*************** +*** 900,906 **** + :cond_0 + if-eqz p1, :cond_4 + +! const-string p2, "https://cdn.discordapp.com" + + .line 82 + check-cast p2, Ljava/lang/CharSequence; +--- 900,906 ---- + :cond_0 + if-eqz p1, :cond_4 + +! const-string p2, "https://dev.litecord.top" + + .line 82 + check-cast p2, Ljava/lang/CharSequence; +*************** +*** 969,975 **** + :goto_1 + new-instance p3, Ljava/lang/StringBuilder; + +! const-string v0, "https://cdn.discordapp.com/avatars/" + + invoke-direct {p3, v0}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V + +--- 969,975 ---- + :goto_1 + new-instance p3, Ljava/lang/StringBuilder; + +! const-string v0, "https://dev.litecord.top/avatars/" + + invoke-direct {p3, v0}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V + +*************** +*** 1717,1723 **** + .line 176 + new-instance v0, Ljava/lang/StringBuilder; + +! const-string v1, "https://cdn.discordapp.com/game-assets/" + + invoke-direct {v0, v1}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V + +--- 1717,1723 ---- + .line 176 + new-instance v0, Ljava/lang/StringBuilder; + +! const-string v1, "https://dev.litecord.top/game-assets/" + + invoke-direct {v0, v1}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V + +*************** +*** 1837,1843 **** + .line 157 + new-instance v0, Ljava/lang/StringBuilder; + +! const-string v1, "https://cdn.discordapp.com/app-assets/" + + invoke-direct {v0, v1}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V + +--- 1837,1843 ---- + .line 157 + new-instance v0, Ljava/lang/StringBuilder; + +! const-string v1, "https://dev.litecord.top/app-assets/" + + invoke-direct {v0, v1}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V + +diff -crB -x dist -x res -x build com.discord-832-base/smali/com/discord/utilities/rest/RestAPI$Companion.smali com.discord-832/smali/com/discord/utilities/rest/RestAPI$Companion.smali +*** com.discord-832-base/smali/com/discord/utilities/rest/RestAPI$Companion.smali 2019-01-19 04:41:50.763096296 +0300 +--- com.discord-832/smali/com/discord/utilities/rest/RestAPI$Companion.smali 2019-01-19 22:13:55.403567637 +0300 +*************** +*** 276,282 **** + .line 213 + new-instance v0, Lcom/discord/restapi/RestAPIBuilder; + +! const-string v9, "https://discordapp.com/api/" + + check-cast v6, Lokhttp3/m; + +--- 276,282 ---- + .line 213 + new-instance v0, Lcom/discord/restapi/RestAPIBuilder; + +! const-string v9, "https://dev.litecord.top/api/" + + check-cast v6, Lokhttp3/m; + +diff -crB -x dist -x res -x build com.discord-832-base/smali/com/discord/utilities/textprocessing/Rules$createCustomEmojiRule$1$parse$emojiNode$1.smali com.discord-832/smali/com/discord/utilities/textprocessing/Rules$createCustomEmojiRule$1$parse$emojiNode$1.smali +*** com.discord-832-base/smali/com/discord/utilities/textprocessing/Rules$createCustomEmojiRule$1$parse$emojiNode$1.smali 2019-01-19 04:41:50.769762996 +0300 +--- com.discord-832/smali/com/discord/utilities/textprocessing/Rules$createCustomEmojiRule$1$parse$emojiNode$1.smali 2019-01-19 22:53:32.186699493 +0300 +*************** +*** 105,111 **** + :goto_1 + new-instance p2, Ljava/lang/StringBuilder; + +! const-string v0, "https://cdn.discordapp.com/emojis/" + + invoke-direct {p2, v0}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V + +--- 105,111 ---- + :goto_1 + new-instance p2, Ljava/lang/StringBuilder; + +! const-string v0, "https://dev.litecord.top/emojis/" + + invoke-direct {p2, v0}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V + +diff -crB -x dist -x res -x build com.discord-832-base/smali/com/discord/widgets/chat/list/WidgetChatListAdapterItemGameInvite.smali com.discord-832/smali/com/discord/widgets/chat/list/WidgetChatListAdapterItemGameInvite.smali +*** com.discord-832-base/smali/com/discord/widgets/chat/list/WidgetChatListAdapterItemGameInvite.smali 2019-01-19 04:41:50.823096590 +0300 +--- com.discord-832/smali/com/discord/widgets/chat/list/WidgetChatListAdapterItemGameInvite.smali 2019-01-19 22:53:27.553340561 +0300 +*************** +*** 605,611 **** + .line 104 + new-instance v1, Ljava/lang/StringBuilder; + +! const-string v6, "https://cdn.discordapp.com/app-icons/" + + invoke-direct {v1, v6}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V + +--- 605,611 ---- + .line 104 + new-instance v1, Ljava/lang/StringBuilder; + +! const-string v6, "https://dev.litecord.top/app-icons/" + + invoke-direct {v1, v6}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V + +diff -crB -x dist -x res -x build com.discord-832-base/smali/com/discord/widgets/chat/list/WidgetChatListAdapterItemGift.smali com.discord-832/smali/com/discord/widgets/chat/list/WidgetChatListAdapterItemGift.smali +*** com.discord-832-base/smali/com/discord/widgets/chat/list/WidgetChatListAdapterItemGift.smali 2019-01-19 04:41:50.823096590 +0300 +--- com.discord-832/smali/com/discord/widgets/chat/list/WidgetChatListAdapterItemGift.smali 2019-01-19 22:53:23.563318515 +0300 +*************** +*** 1042,1048 **** + :goto_3 + sget-object v10, Lcom/discord/utilities/icon/IconUtils;->INSTANCE:Lcom/discord/utilities/icon/IconUtils; + +! const-string v11, "https://cdn.discordapp.com" + + .line 116 + invoke-virtual/range {p1 .. p1}, Lcom/discord/widgets/chat/list/WidgetChatListAdapterItemGift$Model$Resolved;->getGift()Lcom/discord/models/domain/ModelGift; +--- 1042,1048 ---- + :goto_3 + sget-object v10, Lcom/discord/utilities/icon/IconUtils;->INSTANCE:Lcom/discord/utilities/icon/IconUtils; + +! const-string v11, "https://dev.litecord.top" + + .line 116 + invoke-virtual/range {p1 .. p1}, Lcom/discord/widgets/chat/list/WidgetChatListAdapterItemGift$Model$Resolved;->getGift()Lcom/discord/models/domain/ModelGift; diff --git a/patches/litecord/README.md b/patches/litecord/README.md index e2a0448..22e4364 100644 --- a/patches/litecord/README.md +++ b/patches/litecord/README.md @@ -4,11 +4,12 @@ This patch replaces the gateway, cdn, invite and api endpoints with an example L Just replace all mentions of `dev.litecord.top` to your instance. -Please keep in mind that litecord is free software, provided under a libre license. If you paid money for it, you got scammed. +Please keep in mind that litecord is free (gratis and libre) software, provided under a libre license. If you paid money for it, you got scammed. #### Bugs / Side effects - Gateway stuff is fucked and `Connecting...` is always visible. #### Available and tested on: - 8.3.2 +- 8.3.3 diff --git a/patches/mutant/832.patch b/patches/mutant/832.patch index f4d5b15..566c23b 100644 --- a/patches/mutant/832.patch +++ b/patches/mutant/832.patch @@ -1606,3 +1606,302 @@ } ] ! } +diff -crB -x dist -x build com.discord-832-base/smali/com/discord/models/domain/emoji/ModelEmojiUnicode.smali com.discord-832/smali/com/discord/models/domain/emoji/ModelEmojiUnicode.smali +*** com.discord-832-base/smali/com/discord/models/domain/emoji/ModelEmojiUnicode.smali 2019-01-19 04:41:50.783096394 +0300 +--- com.discord-832/smali/com/discord/models/domain/emoji/ModelEmojiUnicode.smali 2019-01-22 14:47:17.852853706 +0300 +*************** +*** 65,71 **** + .method static constructor ()V + .locals 3 + +! const/4 v0, 0x5 + + .line 36 + new-array v0, v0, [Ljava/lang/String; +--- 65,71 ---- + .method static constructor ()V + .locals 3 + +! const/16 v0, 0x32 + + .line 36 + new-array v0, v0, [Ljava/lang/String; +*************** +*** 100,105 **** +--- 100,375 ---- + + aput-object v1, v0, v2 + ++ const-string v1, "􁘀" ++ ++ const/16 v2, 0x5 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘁" ++ ++ const/16 v2, 0x6 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘂" ++ ++ const/16 v2, 0x7 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘃" ++ ++ const/16 v2, 0x8 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘄" ++ ++ const/16 v2, 0x9 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘅" ++ ++ const/16 v2, 0xa ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘆" ++ ++ const/16 v2, 0xb ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘇" ++ ++ const/16 v2, 0xc ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘈" ++ ++ const/16 v2, 0xd ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘉" ++ ++ const/16 v2, 0xe ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘊" ++ ++ const/16 v2, 0xf ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘋" ++ ++ const/16 v2, 0x10 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘌" ++ ++ const/16 v2, 0x11 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘍" ++ ++ const/16 v2, 0x12 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘎" ++ ++ const/16 v2, 0x13 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘏" ++ ++ const/16 v2, 0x14 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘐" ++ ++ const/16 v2, 0x15 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘑" ++ ++ const/16 v2, 0x16 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘒" ++ ++ const/16 v2, 0x17 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘓" ++ ++ const/16 v2, 0x18 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘔" ++ ++ const/16 v2, 0x19 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘕" ++ ++ const/16 v2, 0x1a ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘖" ++ ++ const/16 v2, 0x1b ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘗" ++ ++ const/16 v2, 0x1c ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘘" ++ ++ const/16 v2, 0x1d ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘙" ++ ++ const/16 v2, 0x1e ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘚" ++ ++ const/16 v2, 0x1f ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘛" ++ ++ const/16 v2, 0x20 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘜" ++ ++ const/16 v2, 0x21 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘝" ++ ++ const/16 v2, 0x22 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘞" ++ ++ const/16 v2, 0x23 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘟" ++ ++ const/16 v2, 0x24 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘠" ++ ++ const/16 v2, 0x25 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘡" ++ ++ const/16 v2, 0x26 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘢" ++ ++ const/16 v2, 0x27 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘣" ++ ++ const/16 v2, 0x28 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘤" ++ ++ const/16 v2, 0x29 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘥" ++ ++ const/16 v2, 0x2a ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘦" ++ ++ const/16 v2, 0x2b ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘧" ++ ++ const/16 v2, 0x2c ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘨" ++ ++ const/16 v2, 0x2d ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘩" ++ ++ const/16 v2, 0x2e ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘪" ++ ++ const/16 v2, 0x2f ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘫" ++ ++ const/16 v2, 0x30 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘬" ++ ++ const/16 v2, 0x31 ++ ++ aput-object v1, v0, v2 ++ + sput-object v0, Lcom/discord/models/domain/emoji/ModelEmojiUnicode;->DIVERSITY_MODIFIERS:[Ljava/lang/String; + + .line 193 diff --git a/patches/mutant/833.patch b/patches/mutant/833.patch index f4d5b15..566c23b 100644 --- a/patches/mutant/833.patch +++ b/patches/mutant/833.patch @@ -1606,3 +1606,302 @@ } ] ! } +diff -crB -x dist -x build com.discord-832-base/smali/com/discord/models/domain/emoji/ModelEmojiUnicode.smali com.discord-832/smali/com/discord/models/domain/emoji/ModelEmojiUnicode.smali +*** com.discord-832-base/smali/com/discord/models/domain/emoji/ModelEmojiUnicode.smali 2019-01-19 04:41:50.783096394 +0300 +--- com.discord-832/smali/com/discord/models/domain/emoji/ModelEmojiUnicode.smali 2019-01-22 14:47:17.852853706 +0300 +*************** +*** 65,71 **** + .method static constructor ()V + .locals 3 + +! const/4 v0, 0x5 + + .line 36 + new-array v0, v0, [Ljava/lang/String; +--- 65,71 ---- + .method static constructor ()V + .locals 3 + +! const/16 v0, 0x32 + + .line 36 + new-array v0, v0, [Ljava/lang/String; +*************** +*** 100,105 **** +--- 100,375 ---- + + aput-object v1, v0, v2 + ++ const-string v1, "􁘀" ++ ++ const/16 v2, 0x5 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘁" ++ ++ const/16 v2, 0x6 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘂" ++ ++ const/16 v2, 0x7 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘃" ++ ++ const/16 v2, 0x8 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘄" ++ ++ const/16 v2, 0x9 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘅" ++ ++ const/16 v2, 0xa ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘆" ++ ++ const/16 v2, 0xb ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘇" ++ ++ const/16 v2, 0xc ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘈" ++ ++ const/16 v2, 0xd ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘉" ++ ++ const/16 v2, 0xe ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘊" ++ ++ const/16 v2, 0xf ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘋" ++ ++ const/16 v2, 0x10 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘌" ++ ++ const/16 v2, 0x11 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘍" ++ ++ const/16 v2, 0x12 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘎" ++ ++ const/16 v2, 0x13 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘏" ++ ++ const/16 v2, 0x14 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘐" ++ ++ const/16 v2, 0x15 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘑" ++ ++ const/16 v2, 0x16 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘒" ++ ++ const/16 v2, 0x17 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘓" ++ ++ const/16 v2, 0x18 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘔" ++ ++ const/16 v2, 0x19 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘕" ++ ++ const/16 v2, 0x1a ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘖" ++ ++ const/16 v2, 0x1b ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘗" ++ ++ const/16 v2, 0x1c ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘘" ++ ++ const/16 v2, 0x1d ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘙" ++ ++ const/16 v2, 0x1e ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘚" ++ ++ const/16 v2, 0x1f ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘛" ++ ++ const/16 v2, 0x20 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘜" ++ ++ const/16 v2, 0x21 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘝" ++ ++ const/16 v2, 0x22 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘞" ++ ++ const/16 v2, 0x23 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘟" ++ ++ const/16 v2, 0x24 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘠" ++ ++ const/16 v2, 0x25 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘡" ++ ++ const/16 v2, 0x26 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘢" ++ ++ const/16 v2, 0x27 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘣" ++ ++ const/16 v2, 0x28 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘤" ++ ++ const/16 v2, 0x29 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘥" ++ ++ const/16 v2, 0x2a ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘦" ++ ++ const/16 v2, 0x2b ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘧" ++ ++ const/16 v2, 0x2c ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘨" ++ ++ const/16 v2, 0x2d ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘩" ++ ++ const/16 v2, 0x2e ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘪" ++ ++ const/16 v2, 0x2f ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘫" ++ ++ const/16 v2, 0x30 ++ ++ aput-object v1, v0, v2 ++ ++ const-string v1, "􁘬" ++ ++ const/16 v2, 0x31 ++ ++ aput-object v1, v0, v2 ++ + sput-object v0, Lcom/discord/models/domain/emoji/ModelEmojiUnicode;->DIVERSITY_MODIFIERS:[Ljava/lang/String; + + .line 193 diff --git a/patches/mutant/README.md b/patches/mutant/README.md index ec3033a..8124dc9 100644 --- a/patches/mutant/README.md +++ b/patches/mutant/README.md @@ -18,6 +18,7 @@ Various scripts are provided to help building of custom patches easier. #### Available and tested on: - 8.3.1 (CM and MMs are not supported on this version of the patch) - 8.3.2 +- 8.3.3 #### Disclaimer diff --git a/patches/nonearby/832.patch b/patches/nonearby/832.patch index 2b49f25..aeb013d 100644 --- a/patches/nonearby/832.patch +++ b/patches/nonearby/832.patch @@ -1,7 +1,6 @@ - -diff -crB -x dist -x build com.discord-832-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-832/smali/com/discord/widgets/friends/NearbyManager.smali -*** com.discord-832-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-01-19 04:41:50.826429940 +0300 ---- com.discord-832/smali/com/discord/widgets/friends/NearbyManager.smali 2019-01-20 22:04:14.444090824 +0300 +diff -crB -x dist -x build com.discord-833-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-833/smali/com/discord/widgets/friends/NearbyManager.smali +*** com.discord-833-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-01-23 11:03:47.459035497 +0300 +--- com.discord-833/smali/com/discord/widgets/friends/NearbyManager.smali 2019-01-23 11:23:00.200709501 +0300 *************** *** 440,512 **** @@ -84,4 +83,5 @@ diff -crB -x dist -x build com.discord-832-base/smali/com/discord/widgets/friend ! .locals 0 return-void .end method - \ No newline at end of file + + diff --git a/patches/nonearby/833.patch b/patches/nonearby/833.patch index 2b49f25..aeb013d 100644 --- a/patches/nonearby/833.patch +++ b/patches/nonearby/833.patch @@ -1,7 +1,6 @@ - -diff -crB -x dist -x build com.discord-832-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-832/smali/com/discord/widgets/friends/NearbyManager.smali -*** com.discord-832-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-01-19 04:41:50.826429940 +0300 ---- com.discord-832/smali/com/discord/widgets/friends/NearbyManager.smali 2019-01-20 22:04:14.444090824 +0300 +diff -crB -x dist -x build com.discord-833-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-833/smali/com/discord/widgets/friends/NearbyManager.smali +*** com.discord-833-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-01-23 11:03:47.459035497 +0300 +--- com.discord-833/smali/com/discord/widgets/friends/NearbyManager.smali 2019-01-23 11:23:00.200709501 +0300 *************** *** 440,512 **** @@ -84,4 +83,5 @@ diff -crB -x dist -x build com.discord-832-base/smali/com/discord/widgets/friend ! .locals 0 return-void .end method - \ No newline at end of file + + diff --git a/patches/nonearby/README.md b/patches/nonearby/README.md index afd8994..51c6141 100644 --- a/patches/nonearby/README.md +++ b/patches/nonearby/README.md @@ -4,4 +4,5 @@ This patch nulls a bunch of nearby friends features for privacy. #### Available and tested on: - 8.3.2 +- 8.3.3 diff --git a/patches/notrack/833.patch b/patches/notrack/833.patch index ffc085b..2890c40 100644 --- a/patches/notrack/833.patch +++ b/patches/notrack/833.patch @@ -39,7 +39,7 @@ diff -crB -x dist -x build com.discord-832-base/res/values/strings.xml com.disco Unable to sync cloud saves OR Collapse Category -! 158ac3fa-63f9-4e26-9d04-d84f4da398f0 +! 4eeaaee0-1de8-4826-8958-a12f8a696fe8 Coming Soon Granular notification control only works on desktop apps at the moment. For now use the iOS notification settings. COMING SOON! diff --git a/patches/notrack/README.md b/patches/notrack/README.md index 3d70407..1c5f6d4 100644 --- a/patches/notrack/README.md +++ b/patches/notrack/README.md @@ -8,4 +8,5 @@ Fuck telemetry. #### Available and tested on: - 8.3.2 +- 8.3.3