From 2ee3f69c4fcf662c76df7c74fd3cd97219fade4a Mon Sep 17 00:00:00 2001 From: naijun0403 Date: Mon, 19 May 2025 02:11:00 +0900 Subject: [PATCH] feat(kakaotalk): update compatibility to version 25.4.2 fix some fingerprint at BypassRequestChecksumsFingerprint.kt --- .../app/revanced/patches/kakaotalk/ads/RemoveBizBoardPatch.kt | 2 +- .../patches/kakaotalk/changemodel/ChangeModelPatch.kt | 2 +- .../revanced/patches/kakaotalk/chatlog/Remove99ClampPatch.kt | 2 +- .../patches/kakaotalk/chatroom/Remove300PlusLimitPatch.kt | 4 ++-- .../kakaotalk/emoticon/ForceEnableEmoticonPlusPatch.kt | 2 +- .../app/revanced/patches/kakaotalk/ghost/GhostModePatch.kt | 2 +- .../kakaotalk/integrity/BypassRequestChecksumsFingerprint.kt | 2 +- .../patches/kakaotalk/integrity/VerifyingSignaturePatch.kt | 2 +- .../fingerprints/BypassRequestChecksumsFingerprint.kt | 2 +- .../app/revanced/patches/kakaotalk/misc/RemoveShopTabPatch.kt | 2 +- .../patches/kakaotalk/versioninfo/VersionInfoPatch.kt | 2 +- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/patches/src/main/kotlin/app/revanced/patches/kakaotalk/ads/RemoveBizBoardPatch.kt b/patches/src/main/kotlin/app/revanced/patches/kakaotalk/ads/RemoveBizBoardPatch.kt index 597067464..2695d6749 100644 --- a/patches/src/main/kotlin/app/revanced/patches/kakaotalk/ads/RemoveBizBoardPatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/kakaotalk/ads/RemoveBizBoardPatch.kt @@ -9,7 +9,7 @@ val removeBizBoardPatch = bytecodePatch( name = "Remove BizBoard ads", description = "Removes the BizBoard ad by forcing its dimensions to 0x0 and visibility to GONE in onMeasure.", ) { - compatibleWith("com.kakao.talk"("25.4.1")) + compatibleWith("com.kakao.talk"("25.4.2")) execute { val method = removeBizBoardFingerprint.method diff --git a/patches/src/main/kotlin/app/revanced/patches/kakaotalk/changemodel/ChangeModelPatch.kt b/patches/src/main/kotlin/app/revanced/patches/kakaotalk/changemodel/ChangeModelPatch.kt index c82fbdeed..75a285eba 100644 --- a/patches/src/main/kotlin/app/revanced/patches/kakaotalk/changemodel/ChangeModelPatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/kakaotalk/changemodel/ChangeModelPatch.kt @@ -14,7 +14,7 @@ val changeModelPatch = bytecodePatch( "model", "SM-X926N" ) - compatibleWith("com.kakao.talk"("25.4.1")) + compatibleWith("com.kakao.talk"("25.4.2")) execute { changeModelFingerprint.method.addInstructions( diff --git a/patches/src/main/kotlin/app/revanced/patches/kakaotalk/chatlog/Remove99ClampPatch.kt b/patches/src/main/kotlin/app/revanced/patches/kakaotalk/chatlog/Remove99ClampPatch.kt index cf8a7886b..1e9fdebc5 100644 --- a/patches/src/main/kotlin/app/revanced/patches/kakaotalk/chatlog/Remove99ClampPatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/kakaotalk/chatlog/Remove99ClampPatch.kt @@ -13,7 +13,7 @@ val remove99ClampPatch = bytecodePatch( name = "Disable 99 unread limit", description = "Skip the 99-cap so unread count shows full value" ) { - compatibleWith("com.kakao.talk"("25.4.1")) + compatibleWith("com.kakao.talk"("25.4.2")) execute { val method = remove99ClampFingerprint.method diff --git a/patches/src/main/kotlin/app/revanced/patches/kakaotalk/chatroom/Remove300PlusLimitPatch.kt b/patches/src/main/kotlin/app/revanced/patches/kakaotalk/chatroom/Remove300PlusLimitPatch.kt index a745a65b3..c0a92d43b 100644 --- a/patches/src/main/kotlin/app/revanced/patches/kakaotalk/chatroom/Remove300PlusLimitPatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/kakaotalk/chatroom/Remove300PlusLimitPatch.kt @@ -14,7 +14,7 @@ val remove300PlusLimitBaseChatRoomPatch = bytecodePatch( name = "Disable 300+ unread limit (BaseChatRoom)", description = "Always show the real unread count instead of '300+' in base chatroom list" ) { - compatibleWith("com.kakao.talk"("25.4.1")) + compatibleWith("com.kakao.talk"("25.4.2")) execute { val method = remove300PlusLimitBaseChatRoomFingerprint.method @@ -40,7 +40,7 @@ val remove300PlusLimitOpenChatRoomPatch = bytecodePatch( name = "Disable 300+ unread limit (OpenChatRoom)", description = "Always show the real unread count instead of '300+' in open chatroom list" ) { - compatibleWith("com.kakao.talk"("25.4.1")) + compatibleWith("com.kakao.talk"("25.4.2")) execute { val method = remove300PlusLimitOpenChatRoomFingerprint.method diff --git a/patches/src/main/kotlin/app/revanced/patches/kakaotalk/emoticon/ForceEnableEmoticonPlusPatch.kt b/patches/src/main/kotlin/app/revanced/patches/kakaotalk/emoticon/ForceEnableEmoticonPlusPatch.kt index ce08b23b0..5c4c10ebf 100644 --- a/patches/src/main/kotlin/app/revanced/patches/kakaotalk/emoticon/ForceEnableEmoticonPlusPatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/kakaotalk/emoticon/ForceEnableEmoticonPlusPatch.kt @@ -9,7 +9,7 @@ val forceEnableEmoticonPlusPatch = bytecodePatch( name = "Force enable emoticon plus feature", description = "Force enable emoticon plus feature (Unpurchased emoticon can be sent once per day)", ) { - compatibleWith("com.kakao.talk"("25.4.1")) + compatibleWith("com.kakao.talk"("25.4.2")) execute { forceEnableEmoticonPlusFingerprint.method.addInstructions( diff --git a/patches/src/main/kotlin/app/revanced/patches/kakaotalk/ghost/GhostModePatch.kt b/patches/src/main/kotlin/app/revanced/patches/kakaotalk/ghost/GhostModePatch.kt index e52316264..4ea5f1deb 100644 --- a/patches/src/main/kotlin/app/revanced/patches/kakaotalk/ghost/GhostModePatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/kakaotalk/ghost/GhostModePatch.kt @@ -10,7 +10,7 @@ val ghostMode = bytecodePatch( name = "Ghost Mode", description = "Don't expose your typing status to the other party.", ) { - compatibleWith("com.kakao.talk"("25.4.1")) + compatibleWith("com.kakao.talk"("25.4.2")) execute { val findUnit = kotlinUnitInstanceFingerprint.method diff --git a/patches/src/main/kotlin/app/revanced/patches/kakaotalk/integrity/BypassRequestChecksumsFingerprint.kt b/patches/src/main/kotlin/app/revanced/patches/kakaotalk/integrity/BypassRequestChecksumsFingerprint.kt index 99323a7ba..b59a1b8b7 100644 --- a/patches/src/main/kotlin/app/revanced/patches/kakaotalk/integrity/BypassRequestChecksumsFingerprint.kt +++ b/patches/src/main/kotlin/app/revanced/patches/kakaotalk/integrity/BypassRequestChecksumsFingerprint.kt @@ -10,7 +10,7 @@ val bypassRequestChecksumPatch = bytecodePatch( name = "Bypass requestChecksums", description = "Prevents the execution of checksum verification logic by making it return early." ) { - compatibleWith("com.kakao.talk"("25.4.1")) + compatibleWith("com.kakao.talk"("25.4.2")) execute { val findUnit = kotlinUnitInstanceFingerprint.method diff --git a/patches/src/main/kotlin/app/revanced/patches/kakaotalk/integrity/VerifyingSignaturePatch.kt b/patches/src/main/kotlin/app/revanced/patches/kakaotalk/integrity/VerifyingSignaturePatch.kt index 88817c842..21527ddba 100644 --- a/patches/src/main/kotlin/app/revanced/patches/kakaotalk/integrity/VerifyingSignaturePatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/kakaotalk/integrity/VerifyingSignaturePatch.kt @@ -9,7 +9,7 @@ val verifyingSignaturePatch = bytecodePatch( name = "Disable verifying signature", description = "Disables the signature verification check that prevents the app from running.", ) { - compatibleWith("com.kakao.talk"("25.4.1")) + compatibleWith("com.kakao.talk"("25.4.2")) execute { verifyingSignatureFingerprint.method.addInstructions( diff --git a/patches/src/main/kotlin/app/revanced/patches/kakaotalk/integrity/fingerprints/BypassRequestChecksumsFingerprint.kt b/patches/src/main/kotlin/app/revanced/patches/kakaotalk/integrity/fingerprints/BypassRequestChecksumsFingerprint.kt index 6e9190a52..ac9820864 100644 --- a/patches/src/main/kotlin/app/revanced/patches/kakaotalk/integrity/fingerprints/BypassRequestChecksumsFingerprint.kt +++ b/patches/src/main/kotlin/app/revanced/patches/kakaotalk/integrity/fingerprints/BypassRequestChecksumsFingerprint.kt @@ -11,6 +11,7 @@ internal val bypassRequestChecksumsFingerprint = fingerprint { "context" ) opcodes( + Opcode.CONST_4, Opcode.INSTANCE_OF, Opcode.IF_EQZ, Opcode.MOVE_OBJECT, @@ -27,7 +28,6 @@ internal val bypassRequestChecksumsFingerprint = fingerprint { Opcode.IGET_OBJECT, Opcode.SGET_OBJECT, Opcode.IGET, - Opcode.CONST_4, Opcode.IF_EQZ, Opcode.IF_NE, Opcode.INVOKE_STATIC, diff --git a/patches/src/main/kotlin/app/revanced/patches/kakaotalk/misc/RemoveShopTabPatch.kt b/patches/src/main/kotlin/app/revanced/patches/kakaotalk/misc/RemoveShopTabPatch.kt index a63450b6b..7c50ab34c 100644 --- a/patches/src/main/kotlin/app/revanced/patches/kakaotalk/misc/RemoveShopTabPatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/kakaotalk/misc/RemoveShopTabPatch.kt @@ -15,7 +15,7 @@ val removeShopTabPatch = bytecodePatch( name = "Remove shop tab", description = "Removes the shop tab from the bottom navigation bar.", ) { - compatibleWith("com.kakao.talk"("25.4.1")) + compatibleWith("com.kakao.talk"("25.4.2")) execute { val method = removeShopTabFingerprint.method diff --git a/patches/src/main/kotlin/app/revanced/patches/kakaotalk/versioninfo/VersionInfoPatch.kt b/patches/src/main/kotlin/app/revanced/patches/kakaotalk/versioninfo/VersionInfoPatch.kt index 6d3a500a7..eb08dae8f 100644 --- a/patches/src/main/kotlin/app/revanced/patches/kakaotalk/versioninfo/VersionInfoPatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/kakaotalk/versioninfo/VersionInfoPatch.kt @@ -16,7 +16,7 @@ val versionInfoPatch = bytecodePatch( name = "Version info patch", description = "Patches the version info to include '(ReVanced)' in the version string.", ) { - compatibleWith("com.kakao.talk"("25.4.1")) + compatibleWith("com.kakao.talk"("25.4.2")) execute { val runPatch: (Fingerprint) -> Unit = {