feat(kakaotalk): Update compatibility to version 25.4.1 for multiple patches

This commit is contained in:
2025-05-17 18:48:32 +09:00
parent e5c7a88550
commit 92b54e85a8
9 changed files with 10 additions and 16 deletions

View File

@ -1,7 +1,6 @@
package app.revanced.patches.kakaotalk.changemodel package app.revanced.patches.kakaotalk.changemodel
import app.revanced.patcher.extensions.InstructionExtensions.addInstructions import app.revanced.patcher.extensions.InstructionExtensions.addInstructions
import app.revanced.patcher.patch.Package
import app.revanced.patcher.patch.bytecodePatch import app.revanced.patcher.patch.bytecodePatch
import app.revanced.patcher.patch.stringOption import app.revanced.patcher.patch.stringOption
import app.revanced.patches.kakaotalk.changemodel.fingerprints.changeModelFingerprint import app.revanced.patches.kakaotalk.changemodel.fingerprints.changeModelFingerprint
@ -15,7 +14,7 @@ val changeModelPatch = bytecodePatch(
"model", "SM-X926N" "model", "SM-X926N"
) )
compatibleWith("com.kakao.talk"("25.4.0")) compatibleWith("com.kakao.talk"("25.4.1"))
execute { execute {
changeModelFingerprint.method.addInstructions( changeModelFingerprint.method.addInstructions(

View File

@ -3,7 +3,6 @@ package app.revanced.patches.kakaotalk.chatlog
import app.revanced.patcher.extensions.InstructionExtensions.instructions import app.revanced.patcher.extensions.InstructionExtensions.instructions
import app.revanced.patcher.extensions.InstructionExtensions.replaceInstruction import app.revanced.patcher.extensions.InstructionExtensions.replaceInstruction
import app.revanced.patcher.patch.bytecodePatch import app.revanced.patcher.patch.bytecodePatch
import app.revanced.patcher.patch.Package
import app.revanced.patches.kakaotalk.chatlog.fingerprints.remove99ClampFingerprint import app.revanced.patches.kakaotalk.chatlog.fingerprints.remove99ClampFingerprint
import com.android.tools.smali.dexlib2.Opcode import com.android.tools.smali.dexlib2.Opcode
import com.android.tools.smali.dexlib2.builder.instruction.BuilderInstruction10t import com.android.tools.smali.dexlib2.builder.instruction.BuilderInstruction10t
@ -14,7 +13,7 @@ val remove99ClampPatch = bytecodePatch(
name = "Disable 99 unread limit", name = "Disable 99 unread limit",
description = "Skip the 99-cap so unread count shows full value" description = "Skip the 99-cap so unread count shows full value"
) { ) {
compatibleWith("com.kakao.talk"("25.4.0")) compatibleWith("com.kakao.talk"("25.4.1"))
execute { execute {
val method = remove99ClampFingerprint.method val method = remove99ClampFingerprint.method

View File

@ -3,7 +3,6 @@ package app.revanced.patches.kakaotalk.chatroom
import app.revanced.patcher.extensions.InstructionExtensions.instructions import app.revanced.patcher.extensions.InstructionExtensions.instructions
import app.revanced.patcher.extensions.InstructionExtensions.replaceInstruction import app.revanced.patcher.extensions.InstructionExtensions.replaceInstruction
import app.revanced.patcher.patch.bytecodePatch import app.revanced.patcher.patch.bytecodePatch
import app.revanced.patcher.patch.Package
import app.revanced.patches.kakaotalk.chatroom.fingerprints.remove300PlusLimitBaseChatRoomFingerprint import app.revanced.patches.kakaotalk.chatroom.fingerprints.remove300PlusLimitBaseChatRoomFingerprint
import app.revanced.patches.kakaotalk.chatroom.fingerprints.remove300PlusLimitOpenChatRoomFingerprint import app.revanced.patches.kakaotalk.chatroom.fingerprints.remove300PlusLimitOpenChatRoomFingerprint
import com.android.tools.smali.dexlib2.Opcode import com.android.tools.smali.dexlib2.Opcode
@ -15,7 +14,7 @@ val remove300PlusLimitBaseChatRoomPatch = bytecodePatch(
name = "Disable 300+ unread limit (BaseChatRoom)", name = "Disable 300+ unread limit (BaseChatRoom)",
description = "Always show the real unread count instead of '300+' in base chatroom list" description = "Always show the real unread count instead of '300+' in base chatroom list"
) { ) {
compatibleWith("com.kakao.talk"("25.4.0")) compatibleWith("com.kakao.talk"("25.4.1"))
execute { execute {
val method = remove300PlusLimitBaseChatRoomFingerprint.method val method = remove300PlusLimitBaseChatRoomFingerprint.method
@ -41,7 +40,7 @@ val remove300PlusLimitOpenChatRoomPatch = bytecodePatch(
name = "Disable 300+ unread limit (OpenChatRoom)", name = "Disable 300+ unread limit (OpenChatRoom)",
description = "Always show the real unread count instead of '300+' in open chatroom list" description = "Always show the real unread count instead of '300+' in open chatroom list"
) { ) {
compatibleWith("com.kakao.talk"("25.4.0")) compatibleWith("com.kakao.talk"("25.4.1"))
execute { execute {
val method = remove300PlusLimitOpenChatRoomFingerprint.method val method = remove300PlusLimitOpenChatRoomFingerprint.method

View File

@ -1,7 +1,6 @@
package app.revanced.patches.kakaotalk.emoticon package app.revanced.patches.kakaotalk.emoticon
import app.revanced.patcher.extensions.InstructionExtensions.addInstructions import app.revanced.patcher.extensions.InstructionExtensions.addInstructions
import app.revanced.patcher.patch.Package
import app.revanced.patcher.patch.bytecodePatch import app.revanced.patcher.patch.bytecodePatch
import app.revanced.patches.kakaotalk.emoticon.fingerprints.forceEnableEmoticonPlusFingerprint import app.revanced.patches.kakaotalk.emoticon.fingerprints.forceEnableEmoticonPlusFingerprint
@ -10,7 +9,7 @@ val forceEnableEmoticonPlusPatch = bytecodePatch(
name = "Force enable emoticon plus feature", name = "Force enable emoticon plus feature",
description = "Force enable emoticon plus feature (Unpurchased emoticon can be sent once per day)", description = "Force enable emoticon plus feature (Unpurchased emoticon can be sent once per day)",
) { ) {
compatibleWith("com.kakao.talk"("25.4.0")) compatibleWith("com.kakao.talk"("25.4.1"))
execute { execute {
forceEnableEmoticonPlusFingerprint.method.addInstructions( forceEnableEmoticonPlusFingerprint.method.addInstructions(

View File

@ -10,7 +10,7 @@ val ghostMode = bytecodePatch(
name = "Ghost Mode", name = "Ghost Mode",
description = "Don't expose your typing status to the other party.", description = "Don't expose your typing status to the other party.",
) { ) {
compatibleWith("com.kakao.talk"("25.4.0")) compatibleWith("com.kakao.talk"("25.4.1"))
execute { execute {
val findUnit = kotlinUnitInstanceFingerprint.method val findUnit = kotlinUnitInstanceFingerprint.method

View File

@ -10,7 +10,7 @@ val bypassRequestChecksumPatch = bytecodePatch(
name = "Bypass requestChecksums", name = "Bypass requestChecksums",
description = "Prevents the execution of checksum verification logic by making it return early." description = "Prevents the execution of checksum verification logic by making it return early."
) { ) {
compatibleWith("com.kakao.talk"("25.4.0")) compatibleWith("com.kakao.talk"("25.4.1"))
execute { execute {
val findUnit = kotlinUnitInstanceFingerprint.method val findUnit = kotlinUnitInstanceFingerprint.method

View File

@ -9,7 +9,7 @@ val verifyingSignaturePatch = bytecodePatch(
name = "Disable verifying signature", name = "Disable verifying signature",
description = "Disables the signature verification check that prevents the app from running.", description = "Disables the signature verification check that prevents the app from running.",
) { ) {
compatibleWith("com.kakao.talk"("25.4.0")) compatibleWith("com.kakao.talk"("25.4.1"))
execute { execute {
verifyingSignatureFingerprint.method.addInstructions( verifyingSignatureFingerprint.method.addInstructions(

View File

@ -2,7 +2,6 @@ package app.revanced.patches.kakaotalk.misc
import app.revanced.patcher.extensions.InstructionExtensions.instructions import app.revanced.patcher.extensions.InstructionExtensions.instructions
import app.revanced.patcher.extensions.InstructionExtensions.removeInstruction import app.revanced.patcher.extensions.InstructionExtensions.removeInstruction
import app.revanced.patcher.patch.Package
import app.revanced.patcher.patch.bytecodePatch import app.revanced.patcher.patch.bytecodePatch
import app.revanced.patches.kakaotalk.misc.fingerprints.removeShopTabFingerprint import app.revanced.patches.kakaotalk.misc.fingerprints.removeShopTabFingerprint
import app.revanced.util.getReference import app.revanced.util.getReference
@ -16,7 +15,7 @@ val removeShopTabPatch = bytecodePatch(
name = "Remove shop tab", name = "Remove shop tab",
description = "Removes the shop tab from the bottom navigation bar.", description = "Removes the shop tab from the bottom navigation bar.",
) { ) {
compatibleWith("com.kakao.talk"("25.4.0")) compatibleWith("com.kakao.talk"("25.4.1"))
execute { execute {
val method = removeShopTabFingerprint.method val method = removeShopTabFingerprint.method

View File

@ -3,7 +3,6 @@ package app.revanced.patches.kakaotalk.versioninfo
import app.revanced.patcher.Fingerprint import app.revanced.patcher.Fingerprint
import app.revanced.patcher.extensions.InstructionExtensions.instructions import app.revanced.patcher.extensions.InstructionExtensions.instructions
import app.revanced.patcher.extensions.InstructionExtensions.replaceInstruction import app.revanced.patcher.extensions.InstructionExtensions.replaceInstruction
import app.revanced.patcher.patch.Package
import app.revanced.patcher.patch.bytecodePatch import app.revanced.patcher.patch.bytecodePatch
import app.revanced.patches.kakaotalk.versioninfo.fingerprints.versionInfoFingerprint import app.revanced.patches.kakaotalk.versioninfo.fingerprints.versionInfoFingerprint
import app.revanced.patches.kakaotalk.versioninfo.fingerprints.versionInfoPreviewFingerprint import app.revanced.patches.kakaotalk.versioninfo.fingerprints.versionInfoPreviewFingerprint
@ -17,7 +16,7 @@ val versionInfoPatch = bytecodePatch(
name = "Version info patch", name = "Version info patch",
description = "Patches the version info to include '(ReVanced)' in the version string.", description = "Patches the version info to include '(ReVanced)' in the version string.",
) { ) {
compatibleWith("com.kakao.talk"("25.4.0")) compatibleWith("com.kakao.talk"("25.4.1"))
execute { execute {
val runPatch: (Fingerprint) -> Unit = { val runPatch: (Fingerprint) -> Unit = {