Skip to content

bug(X / Twitter): 'Unlock downloads' fails to patch version 10.64.x and later #3777

@cyberboh

Description

@cyberboh

Bug description

The patch is fail to be applied.

Error logs

SEVERE: Unlock downloads failed:
app.revanced.patcher.patch.PatchException: Failed to resolve ShowDownloadVideoUpsellBottomSheetFingerprint
at app.revanced.util.BytecodeUtilsKt.getException(BytecodeUtils.kt:28)
at app.revanced.patches.twitter.interaction.downloads.UnlockDownloadsPatch.execute$patch(UnlockDownloadsPatch.kt:41)
at app.revanced.patches.twitter.interaction.downloads.UnlockDownloadsPatch.execute(UnlockDownloadsPatch.kt:44)
at app.revanced.patches.twitter.interaction.downloads.UnlockDownloadsPatch.execute(UnlockDownloadsPatch.kt:23)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:173)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Patcher.kt:205)
at app.revanced.patcher.Patcher$apply$1.invoke(Patcher.kt)
at app.revanced.patcher.Patcher$apply$1.invoke(Patcher.kt)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Builders.kt:61)
at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:230)
at app.revanced.cli.command.PatchCommand$run$4$1$1.invokeSuspend(PatchCommand.kt:303)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at app.revanced.cli.command.PatchCommand.run(PatchCommand.kt:302)
at picocli.CommandLine.executeUserObject(CommandLine.java:2026)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
at picocli.CommandLine.execute(CommandLine.java:2170)
at app.revanced.cli.command.MainCommandKt.main(MainCommand.kt:12)

Solution

Update the patches for upcoming X/Twitter version starting 10.64.xx

Additional context

I report it early to get early fixes. To reduce spam bug reports about it.

Acknowledgements

  • I have checked all open and closed bug reports and this is not a duplicate.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug reportSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions