mirror of
https://github.com/ReVanced/revanced-patches.git
synced 2026-01-26 04:01:02 +00:00
Compare commits
9 Commits
v5.47.0-de
...
v5.47.0-de
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f1a9537f01 | ||
|
|
1f4f252c81 | ||
|
|
2b560f5fe9 | ||
|
|
f8bd1239cc | ||
|
|
c825ebda37 | ||
|
|
255c00b183 | ||
|
|
0ea3491227 | ||
|
|
5d437b08dd | ||
|
|
018d176914 |
26
CHANGELOG.md
26
CHANGELOG.md
@@ -1,3 +1,29 @@
|
|||||||
|
# [5.47.0-dev.18](https://github.com/ReVanced/revanced-patches/compare/v5.47.0-dev.17...v5.47.0-dev.18) (2025-12-18)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* **Disney+ - SkipAds:** Add other package names the patch is compatible with ([#6372](https://github.com/ReVanced/revanced-patches/issues/6372)) ([1f4f252](https://github.com/ReVanced/revanced-patches/commit/1f4f252c81e9a89267f6e37548e66027b1bc1a1a))
|
||||||
|
|
||||||
|
# [5.47.0-dev.17](https://github.com/ReVanced/revanced-patches/compare/v5.47.0-dev.16...v5.47.0-dev.17) (2025-12-18)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **Reddit - Hide ads:** Update patch for new versions of Reddit ([#6342](https://github.com/ReVanced/revanced-patches/issues/6342)) ([f8bd123](https://github.com/ReVanced/revanced-patches/commit/f8bd1239cc0f0bd1c2dca39f846951bf512891e3))
|
||||||
|
|
||||||
|
# [5.47.0-dev.16](https://github.com/ReVanced/revanced-patches/compare/v5.47.0-dev.15...v5.47.0-dev.16) (2025-12-15)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **Lightroom:** Add `Disable version check` patch to fix opening the app ([#6315](https://github.com/ReVanced/revanced-patches/issues/6315)) ([018d176](https://github.com/ReVanced/revanced-patches/commit/018d176914a06a30e9007a3eb2e6b0f459078413))
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* **IdAustria - Remove device integrity check:** Update patch to work with latest version ([#6360](https://github.com/ReVanced/revanced-patches/issues/6360)) ([0ea3491](https://github.com/ReVanced/revanced-patches/commit/0ea3491227fc50c03555d43d3fec78eb82906b26))
|
||||||
|
|
||||||
# [5.47.0-dev.15](https://github.com/ReVanced/revanced-patches/compare/v5.47.0-dev.14...v5.47.0-dev.15) (2025-12-13)
|
# [5.47.0-dev.15](https://github.com/ReVanced/revanced-patches/compare/v5.47.0-dev.14...v5.47.0-dev.15) (2025-12-13)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ Thank you for considering contributing to ReVanced Patches. You can find the con
|
|||||||
|
|
||||||
To build ReVanced Patches, you can follow the [ReVanced documentation](https://github.com/ReVanced/revanced-documentation).
|
To build ReVanced Patches, you can follow the [ReVanced documentation](https://github.com/ReVanced/revanced-documentation).
|
||||||
|
|
||||||
## 📜 Licence
|
## 📜 License
|
||||||
|
|
||||||
ReVanced Patches is licensed under the GPLv3 license. Please see the [license file](LICENSE) for more information.
|
ReVanced Patches is licensed under the GPLv3 license. Please see the [license file](LICENSE) for more information.
|
||||||
[tl;dr](https://www.tldrlegal.com/license/gnu-general-public-license-v3-gpl-3) you may copy, distribute and modify ReVanced Patches as long as you track changes/dates in source files.
|
[tl;dr](https://www.tldrlegal.com/license/gnu-general-public-license-v3-gpl-3) you may copy, distribute and modify ReVanced Patches as long as you track changes/dates in source files.
|
||||||
|
|||||||
@@ -3,4 +3,4 @@ org.gradle.jvmargs = -Xms512M -Xmx2048M
|
|||||||
org.gradle.parallel = true
|
org.gradle.parallel = true
|
||||||
android.useAndroidX = true
|
android.useAndroidX = true
|
||||||
kotlin.code.style = official
|
kotlin.code.style = official
|
||||||
version = 5.47.0-dev.15
|
version = 5.47.0-dev.18
|
||||||
|
|||||||
@@ -268,6 +268,10 @@ public final class app/revanced/patches/iconpackstudio/misc/pro/UnlockProPatchKt
|
|||||||
public static final fun getUnlockProPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
|
public static final fun getUnlockProPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public final class app/revanced/patches/idaustria/detection/deviceintegrity/RemoveDeviceIntegrityChecksPatchKt {
|
||||||
|
public static final fun getRemoveDeviceIntegrityChecksPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
|
||||||
|
}
|
||||||
|
|
||||||
public final class app/revanced/patches/idaustria/detection/root/RootDetectionPatchKt {
|
public final class app/revanced/patches/idaustria/detection/root/RootDetectionPatchKt {
|
||||||
public static final fun getRootDetectionPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
|
public static final fun getRootDetectionPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
|
||||||
}
|
}
|
||||||
@@ -352,6 +356,10 @@ public final class app/revanced/patches/lightroom/misc/premium/UnlockPremiumPatc
|
|||||||
public static final fun getUnlockPremiumPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
|
public static final fun getUnlockPremiumPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public final class app/revanced/patches/lightroom/misc/version/DisableVersionCheckPatchKt {
|
||||||
|
public static final fun getDisableVersionCheckPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
|
||||||
|
}
|
||||||
|
|
||||||
public final class app/revanced/patches/memegenerator/detection/license/LicenseValidationPatchKt {
|
public final class app/revanced/patches/memegenerator/detection/license/LicenseValidationPatchKt {
|
||||||
public static final fun getLicenseValidationPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
|
public static final fun getLicenseValidationPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,11 @@ val skipAdsPatch = bytecodePatch(
|
|||||||
name = "Skip ads",
|
name = "Skip ads",
|
||||||
description = "Automatically skips ads.",
|
description = "Automatically skips ads.",
|
||||||
) {
|
) {
|
||||||
compatibleWith("com.disney.disneyplus")
|
compatibleWith(
|
||||||
|
"com.disney.disneyplus",
|
||||||
|
"in.startv.hotstar",
|
||||||
|
"in.startv.hotstaronly",
|
||||||
|
)
|
||||||
|
|
||||||
execute {
|
execute {
|
||||||
arrayOf(insertionGetPointsFingerprint, insertionGetRangesFingerprint).forEach {
|
arrayOf(insertionGetPointsFingerprint, insertionGetRangesFingerprint).forEach {
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
package app.revanced.patches.idaustria.detection.deviceintegrity
|
||||||
|
|
||||||
|
import app.revanced.patcher.fingerprint
|
||||||
|
import com.android.tools.smali.dexlib2.AccessFlags
|
||||||
|
|
||||||
|
internal val isDeviceBootloaderOpenFingerprint = fingerprint {
|
||||||
|
accessFlags(AccessFlags.PUBLIC)
|
||||||
|
returns("Ljava/lang/Object;")
|
||||||
|
custom { method, classDef ->
|
||||||
|
method.name == "isDeviceBootloaderOpen" &&
|
||||||
|
classDef.endsWith("/DeviceIntegrityCheckProviderImpl;")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
internal val isDeviceRootedFingerprint = fingerprint {
|
||||||
|
accessFlags(AccessFlags.PUBLIC)
|
||||||
|
returns("Z")
|
||||||
|
custom { method, classDef ->
|
||||||
|
method.name == "isDeviceRooted" &&
|
||||||
|
classDef.endsWith("/DeviceIntegrityCheckProviderImpl;")
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
package app.revanced.patches.idaustria.detection.deviceintegrity
|
||||||
|
|
||||||
|
import app.revanced.patcher.extensions.InstructionExtensions.addInstructions
|
||||||
|
import app.revanced.patcher.patch.bytecodePatch
|
||||||
|
import app.revanced.util.returnEarly
|
||||||
|
|
||||||
|
|
||||||
|
@Suppress("unused")
|
||||||
|
val removeDeviceIntegrityChecksPatch = bytecodePatch(
|
||||||
|
name = "Remove device integrity checks",
|
||||||
|
description = "Removes the check for root permissions and unlocked bootloader.",
|
||||||
|
) {
|
||||||
|
compatibleWith("at.gv.oe.app")
|
||||||
|
|
||||||
|
execute {
|
||||||
|
isDeviceRootedFingerprint.method.returnEarly(false)
|
||||||
|
|
||||||
|
isDeviceBootloaderOpenFingerprint.method.apply {
|
||||||
|
addInstructions(
|
||||||
|
0,
|
||||||
|
"""
|
||||||
|
const/4 v0, 0x0
|
||||||
|
invoke-static { v0 }, Lkotlin/coroutines/jvm/internal/Boxing;->boxBoolean(Z)Ljava/lang/Boolean;
|
||||||
|
move-result-object v0
|
||||||
|
return-object v0
|
||||||
|
"""
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,31 +0,0 @@
|
|||||||
package app.revanced.patches.idaustria.detection.root
|
|
||||||
|
|
||||||
import app.revanced.patcher.fingerprint
|
|
||||||
import com.android.tools.smali.dexlib2.AccessFlags
|
|
||||||
|
|
||||||
internal val attestationSupportedCheckFingerprint = fingerprint {
|
|
||||||
accessFlags(AccessFlags.PUBLIC)
|
|
||||||
returns("V")
|
|
||||||
custom { method, classDef ->
|
|
||||||
method.name == "attestationSupportCheck" &&
|
|
||||||
classDef.endsWith("/DeviceIntegrityCheck;")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
internal val bootloaderCheckFingerprint = fingerprint {
|
|
||||||
accessFlags(AccessFlags.PUBLIC)
|
|
||||||
returns("Z")
|
|
||||||
custom { method, classDef ->
|
|
||||||
method.name == "bootloaderCheck" &&
|
|
||||||
classDef.endsWith("/DeviceIntegrityCheck;")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
internal val rootCheckFingerprint = fingerprint {
|
|
||||||
accessFlags(AccessFlags.PUBLIC)
|
|
||||||
returns("V")
|
|
||||||
custom { method, classDef ->
|
|
||||||
method.name == "rootCheck" &&
|
|
||||||
classDef.endsWith("/DeviceIntegrityCheck;")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,22 +1,10 @@
|
|||||||
package app.revanced.patches.idaustria.detection.root
|
package app.revanced.patches.idaustria.detection.root
|
||||||
|
|
||||||
import app.revanced.patcher.patch.bytecodePatch
|
import app.revanced.patcher.patch.bytecodePatch
|
||||||
import app.revanced.patches.shared.PATCH_DESCRIPTION_REMOVE_ROOT_DETECTION
|
import app.revanced.patches.idaustria.detection.deviceintegrity.removeDeviceIntegrityChecksPatch
|
||||||
import app.revanced.patches.shared.PATCH_NAME_REMOVE_ROOT_DETECTION
|
|
||||||
import app.revanced.util.returnEarly
|
|
||||||
|
|
||||||
|
@Deprecated("Patch was superseded", ReplaceWith("removeDeviceIntegrityChecksPatch"))
|
||||||
@Suppress("unused")
|
@Suppress("unused")
|
||||||
val rootDetectionPatch = bytecodePatch(
|
val rootDetectionPatch = bytecodePatch {
|
||||||
name = PATCH_NAME_REMOVE_ROOT_DETECTION,
|
dependsOn(removeDeviceIntegrityChecksPatch)
|
||||||
description = PATCH_DESCRIPTION_REMOVE_ROOT_DETECTION
|
|
||||||
) {
|
|
||||||
compatibleWith("at.gv.oe.app")
|
|
||||||
|
|
||||||
execute {
|
|
||||||
setOf(
|
|
||||||
attestationSupportedCheckFingerprint,
|
|
||||||
bootloaderCheckFingerprint,
|
|
||||||
rootCheckFingerprint,
|
|
||||||
).forEach { it.method.returnEarly(true) }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,23 @@
|
|||||||
|
package app.revanced.patches.lightroom.misc.version
|
||||||
|
|
||||||
|
import app.revanced.patcher.extensions.InstructionExtensions.replaceInstruction
|
||||||
|
import app.revanced.patcher.patch.bytecodePatch
|
||||||
|
import com.android.tools.smali.dexlib2.Opcode
|
||||||
|
|
||||||
|
@Suppress("unused")
|
||||||
|
val disableVersionCheckPatch = bytecodePatch(
|
||||||
|
name = "Disable version check",
|
||||||
|
description = "Disables the server-side version check that prevents the app from starting.",
|
||||||
|
) {
|
||||||
|
compatibleWith("com.adobe.lrmobile"("9.3.0"))
|
||||||
|
|
||||||
|
execute {
|
||||||
|
refreshRemoteConfigurationFingerprint.method.apply {
|
||||||
|
val igetIndex = refreshRemoteConfigurationFingerprint.patternMatch!!.endIndex
|
||||||
|
|
||||||
|
// This value represents the server command to clear all version restrictions.
|
||||||
|
val statusForceReset = "-0x2";
|
||||||
|
replaceInstruction(igetIndex, "const/4 v1, $statusForceReset")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
package app.revanced.patches.lightroom.misc.version
|
||||||
|
|
||||||
|
import app.revanced.patcher.fingerprint
|
||||||
|
import com.android.tools.smali.dexlib2.AccessFlags
|
||||||
|
import com.android.tools.smali.dexlib2.Opcode
|
||||||
|
|
||||||
|
internal val refreshRemoteConfigurationFingerprint = fingerprint {
|
||||||
|
accessFlags(AccessFlags.PUBLIC, AccessFlags.STATIC)
|
||||||
|
strings(
|
||||||
|
"com.adobe.lrmobile.denylisted_version_set_key",
|
||||||
|
"com.adobe.lrmobile.app_min_version_key"
|
||||||
|
)
|
||||||
|
opcodes(
|
||||||
|
Opcode.INVOKE_STATIC,
|
||||||
|
Opcode.MOVE_RESULT_OBJECT,
|
||||||
|
Opcode.IGET, // Overwrite this instruction to disable the check.
|
||||||
|
)
|
||||||
|
}
|
||||||
@@ -3,12 +3,8 @@ package app.revanced.patches.reddit.ad.comments
|
|||||||
import app.revanced.patcher.fingerprint
|
import app.revanced.patcher.fingerprint
|
||||||
|
|
||||||
internal val hideCommentAdsFingerprint = fingerprint {
|
internal val hideCommentAdsFingerprint = fingerprint {
|
||||||
strings(
|
custom { method, classDef ->
|
||||||
"link",
|
method.name == "invokeSuspend" &&
|
||||||
// CommentPageRepository is not returning a link object
|
classDef.contains("LoadAdsCombinedCall")
|
||||||
"is not returning a link object"
|
|
||||||
)
|
|
||||||
custom { _, classDef ->
|
|
||||||
classDef.sourceFile == "PostDetailPresenter.kt"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
package app.revanced.patches.reddit.ad.comments
|
package app.revanced.patches.reddit.ad.comments
|
||||||
|
|
||||||
import app.revanced.patcher.extensions.InstructionExtensions.addInstructions
|
import app.revanced.patcher.extensions.InstructionExtensions.replaceInstructions
|
||||||
import app.revanced.patcher.patch.bytecodePatch
|
import app.revanced.patcher.patch.bytecodePatch
|
||||||
|
|
||||||
val hideCommentAdsPatch = bytecodePatch(
|
val hideCommentAdsPatch = bytecodePatch(
|
||||||
@@ -8,13 +8,6 @@ val hideCommentAdsPatch = bytecodePatch(
|
|||||||
) {
|
) {
|
||||||
|
|
||||||
execute {
|
execute {
|
||||||
hideCommentAdsFingerprint.method.addInstructions(
|
hideCommentAdsFingerprint.method.replaceInstructions(0, "return-object p1")
|
||||||
0,
|
|
||||||
"""
|
|
||||||
new-instance v0, Ljava/lang/Object;
|
|
||||||
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
|
|
||||||
return-object v0
|
|
||||||
""",
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,6 +12,5 @@ internal val adPostFingerprint = fingerprint {
|
|||||||
|
|
||||||
internal val newAdPostFingerprint = fingerprint {
|
internal val newAdPostFingerprint = fingerprint {
|
||||||
opcodes(Opcode.INVOKE_VIRTUAL)
|
opcodes(Opcode.INVOKE_VIRTUAL)
|
||||||
strings("chain", "feedElement")
|
strings("feedElement", "com.reddit.cookie")
|
||||||
custom { _, classDef -> classDef.sourceFile == "AdElementConverter.kt" }
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ package app.revanced.patches.reddit.ad.general
|
|||||||
import app.revanced.patcher.extensions.InstructionExtensions.addInstructions
|
import app.revanced.patcher.extensions.InstructionExtensions.addInstructions
|
||||||
import app.revanced.patcher.extensions.InstructionExtensions.removeInstruction
|
import app.revanced.patcher.extensions.InstructionExtensions.removeInstruction
|
||||||
import app.revanced.patcher.patch.bytecodePatch
|
import app.revanced.patcher.patch.bytecodePatch
|
||||||
import app.revanced.patches.reddit.ad.banner.hideBannerPatch
|
|
||||||
import app.revanced.patches.reddit.ad.comments.hideCommentAdsPatch
|
import app.revanced.patches.reddit.ad.comments.hideCommentAdsPatch
|
||||||
import app.revanced.patches.reddit.misc.extension.sharedExtensionPatch
|
import app.revanced.patches.reddit.misc.extension.sharedExtensionPatch
|
||||||
import com.android.tools.smali.dexlib2.Opcode
|
import com.android.tools.smali.dexlib2.Opcode
|
||||||
@@ -16,14 +15,9 @@ import com.android.tools.smali.dexlib2.iface.reference.MethodReference
|
|||||||
val hideAdsPatch = bytecodePatch(
|
val hideAdsPatch = bytecodePatch(
|
||||||
name = "Hide ads",
|
name = "Hide ads",
|
||||||
) {
|
) {
|
||||||
dependsOn(hideBannerPatch, hideCommentAdsPatch, sharedExtensionPatch)
|
dependsOn(hideCommentAdsPatch, sharedExtensionPatch)
|
||||||
|
|
||||||
// Note that for now, this patch and anything using it will only work on
|
compatibleWith("com.reddit.frontpage")
|
||||||
// Reddit 2024.17.0 or older. Newer versions will crash during patching.
|
|
||||||
// See https://github.com/ReVanced/revanced-patches/issues/3099
|
|
||||||
// and https://github.com/iBotPeaches/Apktool/issues/3534.
|
|
||||||
// This constraint is necessary due to dependency on hideBannerPatch.
|
|
||||||
compatibleWith("com.reddit.frontpage"("2024.17.0"))
|
|
||||||
|
|
||||||
execute {
|
execute {
|
||||||
// region Filter promoted ads (does not work in popular or latest feed)
|
// region Filter promoted ads (does not work in popular or latest feed)
|
||||||
|
|||||||
Reference in New Issue
Block a user