ReVanced / revanced-patches

🧩 Patches for ReVanced
https://revanced.app
GNU General Public License v3.0
2.23k stars 260 forks source link

bug: revanced-settings-activity-fingerprint has not been resolved yet #2206

Closed kairusds closed 2 years ago

kairusds commented 2 years ago

Type

Other

Bug description

The patcher doesn't include the settings patch for YouTube by default and not using the --exclusive flag makes it fail.

Steps to reproduce

  1. Run java -jar revanced-cli-2.9.3-all.jar -b revanced-patches-2.49.0.jar -m revanced-integrations-0.36.5.apk -c -a yt-17.33.42.apk -o revanced.apk.
  2. Check the command line console and it'll keep spewing out the same exception message from the title of this issue.

Relevant log output

INFO: Deleting existing resource cache directory
INFO: Decoding resources                                                         INFO: Reading dex files                                                          INFO: Merging revanced-integrations.apk
WARNING: Skipping timeline-ads: Incompatible with com.google.android.youtube. This patch is only compatible with com.twitter.android                              WARNING: Skipping premium-icon-reddit: Incompatible with com.google.android.youtube. This patch is only compatible with com.reddit.frontpage                      WARNING: Skipping general-reddit-ads: Incompatible with com.google.android.youtube. This patch is only compatible with com.reddit.frontpage
WARNING: Skipping pflotsh-ecmwf-subscription-unlock: Incompatible with com.google.android.youtube. This patch is only compatible with com.garzotto.pflotsh.ecmwf_a
WARNING: Skipping minimized-playback-music: Incompatible with com.google.android.youtube. This patch is only compatible with com.google.android.apps.youtube.music
WARNING: Skipping tasteBuilder-remover: Incompatible with com.google.android.youtube. This patch is only compatible with com.google.android.apps.youtube.music    WARNING: Skipping hide-get-premium: Incompatible with com.google.android.youtube. This patch is only compatible with com.google.android.apps.youtube.music        INFO: Skipping compact-header: Not explicitly included                           WARNING: Skipping upgrade-button-remover: Incompatible with com.google.android.youtube. This patch is only compatible with com.google.android.apps.youtube.music  WARNING: Skipping background-play: Incompatible with com.google.android.youtube. This patch is only compatible with com.google.android.apps.youtube.music
WARNING: Skipping music-microg-support: Incompatible with com.google.android.youtube. This patch is only compatible with com.google.android.apps.youtube.music    WARNING: Skipping music-video-ads: Incompatible with com.google.android.youtube. This patch is only compatible with com.google.android.apps.youtube.music         WARNING: Skipping codecs-unlock: Incompatible with com.google.android.youtube. This patch is only compatible with com.google.android.apps.youtube.music
WARNING: Skipping exclusive-audio-playback: Incompatible with com.google.android.youtube. This patch is only compatible with com.google.android.apps.youtube.music
WARNING: Skipping promo-code-unlock: Incompatible with com.google.android.youtube. This patch is only compatible with de.dwd.warnapp                              WARNING: Skipping tiktok-ads: Incompatible with com.google.android.youtube. This patch is only compatible with com.ss.android.ugc.trill, com.zhiliaoapp.musically INFO: Skipping enable-debugging: Not explicitly included                         SEVERE: swipe-controls failed:
app.revanced.patcher.patch.PatchResultError: 'swipe-controls' depends on 'swipe-controls-resource-patch' but the following error was raised: 'swipe-controls-resource-patch' depends on 'settings' but the following error was raised: java.lang.Exception: revanced-settings-activity-fingerprint has not been resolved yet.               at app.revanced.patcher.Patcher.applyPatch(Patcher.kt:281)                       at app.revanced.patcher.Patcher.access$applyPatch(Patcher.kt:44)
        at app.revanced.patcher.Patcher$applyPatches$1.invokeSuspend(Patcher.kt:325)                                                                                      at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)                                                                         at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127)
        at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:92)                                                                                        at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:22)
        at app.revanced.cli.command.MainCommand.run(MainCommand.kt:160)                  at picocli.CommandLine.executeUserObject(CommandLine.java:1939)                  at picocli.CommandLine.access$1300(CommandLine.java:145)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)                                                             at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)                     at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
        at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)                    at picocli.CommandLine.execute(CommandLine.java:2078)                            at app.revanced.cli.main.MainKt.main(Main.kt:7)
SEVERE: downloads failed:                                                        app.revanced.patcher.patch.PatchResultError: 'downloads' depends on 'downloads-resource-patch' but the following error was raised: 'downloads-resource-patch' depends on 'settings' but the following error was raised: 'settings' did not succeed previously                                                                               at app.revanced.patcher.Patcher.applyPatch(Patcher.kt:281)
        at app.revanced.patcher.Patcher.access$applyPatch(Patcher.kt:44)                 at app.revanced.patcher.Patcher$applyPatches$1.invokeSuspend(Patcher.kt:325)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)                                                                         at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127)                                                                                       at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:92)
        at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:22)            at app.revanced.cli.command.MainCommand.run(MainCommand.kt:160)                  at picocli.CommandLine.executeUserObject(CommandLine.java:1939)
        at picocli.CommandLine.access$1300(CommandLine.java:145)                         at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)                     at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)                     at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)                                                                                  at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)                    at picocli.CommandLine.execute(CommandLine.java:2078)
        at app.revanced.cli.main.MainKt.main(Main.kt:7)                          SEVERE: seekbar-tapping failed:                                                  app.revanced.patcher.patch.PatchResultError: 'seekbar-tapping' depends on 'settings' but the following error was raised: 'settings' did not succeed previously            at app.revanced.patcher.Patcher.applyPatch(Patcher.kt:281)                       at app.revanced.patcher.Patcher.access$applyPatch(Patcher.kt:44)
        at app.revanced.patcher.Patcher$applyPatches$1.invokeSuspend(Patcher.kt:325)                                                                                      at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)                                                                         at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127)
        at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:92)                                                                                        at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:22)
        at app.revanced.cli.command.MainCommand.run(MainCommand.kt:160)                  at picocli.CommandLine.executeUserObject(CommandLine.java:1939)                  at picocli.CommandLine.access$1300(CommandLine.java:145)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)                                                             at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)                     at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
        at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)                    at picocli.CommandLine.execute(CommandLine.java:2078)                            at app.revanced.cli.main.MainKt.main(Main.kt:7)
INFO: amoled succeeded                                                           SEVERE: disable-create-button failed:                                            app.revanced.patcher.patch.PatchResultError: 'disable-create-button' depends on 'settings' but the following error was raised: 'settings' did not succeed previously                                                                                       at app.revanced.patcher.Patcher.applyPatch(Patcher.kt:281)
        at app.revanced.patcher.Patcher.access$applyPatch(Patcher.kt:44)                 at app.revanced.patcher.Patcher$applyPatches$1.invokeSuspend(Patcher.kt:325)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)                                                                         at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127)                                                                                       at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:92)
        at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:22)            at app.revanced.cli.command.MainCommand.run(MainCommand.kt:160)                  at picocli.CommandLine.executeUserObject(CommandLine.java:1939)
        at picocli.CommandLine.access$1300(CommandLine.java:145)                         at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)                     at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)                     at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)                                                                                  at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)                    at picocli.CommandLine.execute(CommandLine.java:2078)
        at app.revanced.cli.main.MainKt.main(Main.kt:7)                          SEVERE: hide-cast-button failed:                                                 app.revanced.patcher.patch.PatchResultError: 'hide-cast-button' depends on 'settings' but the following error was raised: 'settings' did not succeed previously           at app.revanced.patcher.Patcher.applyPatch(Patcher.kt:281)                       at app.revanced.patcher.Patcher.access$applyPatch(Patcher.kt:44)
        at app.revanced.patcher.Patcher$applyPatches$1.invokeSuspend(Patcher.kt:325)                                                                                      at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)                                                                         at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127)
        at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:92)                                                                                        at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:22)
        at app.revanced.cli.command.MainCommand.run(MainCommand.kt:160)                  at picocli.CommandLine.executeUserObject(CommandLine.java:1939)                  at picocli.CommandLine.access$1300(CommandLine.java:145)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)                                                             at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)                     at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
        at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)                    at picocli.CommandLine.execute(CommandLine.java:2078)                            at app.revanced.cli.main.MainKt.main(Main.kt:7)
SEVERE: return-youtube-dislike failed:                                           app.revanced.patcher.patch.PatchResultError: 'return-youtube-dislike' depends on 'return-youtube-dislike-resource-patch' but the following error was raised: 'return-youtube-dislike-resource-patch' depends on 'settings' but the following error was raised: 'settings' did not succeed previously                                        at app.revanced.patcher.Patcher.applyPatch(Patcher.kt:281)
        at app.revanced.patcher.Patcher.access$applyPatch(Patcher.kt:44)                 at app.revanced.patcher.Patcher$applyPatches$1.invokeSuspend(Patcher.kt:325)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)                                                                         at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127)                                                                                       at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:92)
        at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:22)            at app.revanced.cli.command.MainCommand.run(MainCommand.kt:160)                  at picocli.CommandLine.executeUserObject(CommandLine.java:1939)
        at picocli.CommandLine.access$1300(CommandLine.java:145)                         at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)                     at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)                     at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)                                                                                  at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)                    at picocli.CommandLine.execute(CommandLine.java:2078)
        at app.revanced.cli.main.MainKt.main(Main.kt:7)                          SEVERE: hide-autoplay-button failed:                                             app.revanced.patcher.patch.PatchResultError: 'hide-autoplay-button' depends on 'settings' but the following error was raised: 'settings' did not succeed previously                                                                                        at app.revanced.patcher.Patcher.applyPatch(Patcher.kt:281)
        at app.revanced.patcher.Patcher.access$applyPatch(Patcher.kt:44)                 at app.revanced.patcher.Patcher$applyPatches$1.invokeSuspend(Patcher.kt:325)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)                                                                         at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127)                                                                                       at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:92)
        at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:22)            at app.revanced.cli.command.MainCommand.run(MainCommand.kt:160)                  at picocli.CommandLine.executeUserObject(CommandLine.java:1939)
        at picocli.CommandLine.access$1300(CommandLine.java:145)                         at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)                     at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)                     at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)                                                                                  at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)                    at picocli.CommandLine.execute(CommandLine.java:2078)
        at app.revanced.cli.main.MainKt.main(Main.kt:7)                          INFO: premium-heading succeeded                                                  INFO: custom-branding succeeded
SEVERE: disable-fullscreen-panels failed:                                        app.revanced.patcher.patch.PatchResultError: 'disable-fullscreen-panels' depends on 'settings' but the following error was raised: 'settings' did not succeed previously                                                                                   at app.revanced.patcher.Patcher.applyPatch(Patcher.kt:281)                       at app.revanced.patcher.Patcher.access$applyPatch(Patcher.kt:44)
        at app.revanced.patcher.Patcher$applyPatches$1.invokeSuspend(Patcher.kt:325)                                                                                      at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)                                                                         at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127)
        at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:92)                                                                                        at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:22)
        at app.revanced.cli.command.MainCommand.run(MainCommand.kt:160)                  at picocli.CommandLine.executeUserObject(CommandLine.java:1939)                  at picocli.CommandLine.access$1300(CommandLine.java:145)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)                                                             at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)                     at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
        at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)                    at picocli.CommandLine.execute(CommandLine.java:2078)                            at app.revanced.cli.main.MainKt.main(Main.kt:7)
SEVERE: old-quality-layout failed:                                               app.revanced.patcher.patch.PatchResultError: 'old-quality-layout' depends on 'settings' but the following error was raised: 'settings' did not succeed previously
        at app.revanced.patcher.Patcher.applyPatch(Patcher.kt:281)                       at app.revanced.patcher.Patcher.access$applyPatch(Patcher.kt:44)                 at app.revanced.patcher.Patcher$applyPatches$1.invokeSuspend(Patcher.kt:325)                                                                                      at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127)                                                                                       at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:92)                                                                                        at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:22)            at app.revanced.cli.command.MainCommand.run(MainCommand.kt:160)
        at picocli.CommandLine.executeUserObject(CommandLine.java:1939)                  at picocli.CommandLine.access$1300(CommandLine.java:145)                         at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)                                                             at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)                     at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)
        at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)                                                                                  at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)
        at picocli.CommandLine.execute(CommandLine.java:2078)                            at app.revanced.cli.main.MainKt.main(Main.kt:7)                          SEVERE: hide-shorts-button failed:
app.revanced.patcher.patch.PatchResultError: 'hide-shorts-button' depends on 'settings' but the following error was raised: 'settings' did not succeed previously         at app.revanced.patcher.Patcher.applyPatch(Patcher.kt:281)
        at app.revanced.patcher.Patcher.access$applyPatch(Patcher.kt:44)                 at app.revanced.patcher.Patcher$applyPatches$1.invokeSuspend(Patcher.kt:325)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)                                                                         at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127)                                                                                       at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:92)
        at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:22)            at app.revanced.cli.command.MainCommand.run(MainCommand.kt:160)                  at picocli.CommandLine.executeUserObject(CommandLine.java:1939)
        at picocli.CommandLine.access$1300(CommandLine.java:145)                         at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)                     at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)                     at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)                                                                                  at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)                    at picocli.CommandLine.execute(CommandLine.java:2078)
        at app.revanced.cli.main.MainKt.main(Main.kt:7)                          SEVERE: hide-watermark failed:                                                   app.revanced.patcher.patch.PatchResultError: 'hide-watermark' depends on 'settings' but the following error was raised: 'settings' did not succeed previously             at app.revanced.patcher.Patcher.applyPatch(Patcher.kt:281)                       at app.revanced.patcher.Patcher.access$applyPatch(Patcher.kt:44)
        at app.revanced.patcher.Patcher$applyPatches$1.invokeSuspend(Patcher.kt:325)                                                                                      at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)                                                                         at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127)
        at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:92)                                                                                        at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:22)
        at app.revanced.cli.command.MainCommand.run(MainCommand.kt:160)                  at picocli.CommandLine.executeUserObject(CommandLine.java:1939)                  at picocli.CommandLine.access$1300(CommandLine.java:145)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)                                                             at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)                     at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
        at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)                    at picocli.CommandLine.execute(CommandLine.java:2078)                            at app.revanced.cli.main.MainKt.main(Main.kt:7)
SEVERE: sponsorblock failed:                                                     app.revanced.patcher.patch.PatchResultError: 'sponsorblock' depends on 'sponsorblock-resource-patch' but the following error was raised: 'sponsorblock-resource-patch' depends on 'settings' but the following error was raised: 'settings' did not succeed previously                                                                      at app.revanced.patcher.Patcher.applyPatch(Patcher.kt:281)
        at app.revanced.patcher.Patcher.access$applyPatch(Patcher.kt:44)                 at app.revanced.patcher.Patcher$applyPatches$1.invokeSuspend(Patcher.kt:325)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)                                                                         at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127)                                                                                       at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:92)
        at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:22)            at app.revanced.cli.command.MainCommand.run(MainCommand.kt:160)                  at picocli.CommandLine.executeUserObject(CommandLine.java:1939)
        at picocli.CommandLine.access$1300(CommandLine.java:145)                         at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)                     at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)                     at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)                                                                                  at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)                    at picocli.CommandLine.execute(CommandLine.java:2078)
        at app.revanced.cli.main.MainKt.main(Main.kt:7)                          SEVERE: enable-wide-searchbar failed:                                            app.revanced.patcher.patch.PatchResultError: 'enable-wide-searchbar' depends on 'settings' but the following error was raised: 'settings' did not succeed previously                                                                                       at app.revanced.patcher.Patcher.applyPatch(Patcher.kt:281)
        at app.revanced.patcher.Patcher.access$applyPatch(Patcher.kt:44)                 at app.revanced.patcher.Patcher$applyPatches$1.invokeSuspend(Patcher.kt:325)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)                                                                         at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127)                                                                                       at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:92)
        at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:22)            at app.revanced.cli.command.MainCommand.run(MainCommand.kt:160)                  at picocli.CommandLine.executeUserObject(CommandLine.java:1939)
        at picocli.CommandLine.access$1300(CommandLine.java:145)                         at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)                     at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)                     at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)                                                                                  at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)                    at picocli.CommandLine.execute(CommandLine.java:2078)
        at app.revanced.cli.main.MainKt.main(Main.kt:7)                          SEVERE: tablet-mini-player failed:                                               app.revanced.patcher.patch.PatchResultError: 'tablet-mini-player' depends on 'settings' but the following error was raised: 'settings' did not succeed previously         at app.revanced.patcher.Patcher.applyPatch(Patcher.kt:281)                       at app.revanced.patcher.Patcher.access$applyPatch(Patcher.kt:44)
        at app.revanced.patcher.Patcher$applyPatches$1.invokeSuspend(Patcher.kt:325)                                                                                      at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)                                                                         at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127)
        at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:92)                                                                                        at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:22)
        at app.revanced.cli.command.MainCommand.run(MainCommand.kt:160)                  at picocli.CommandLine.executeUserObject(CommandLine.java:1939)                  at picocli.CommandLine.access$1300(CommandLine.java:145)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)                                                             at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)                     at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
        at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)                    at picocli.CommandLine.execute(CommandLine.java:2078)                            at app.revanced.cli.main.MainKt.main(Main.kt:7)
SEVERE: minimized-playback failed:                                               app.revanced.patcher.patch.PatchResultError: 'minimized-playback' depends on 'settings' but the following error was raised: 'settings' did not succeed previously
        at app.revanced.patcher.Patcher.applyPatch(Patcher.kt:281)                       at app.revanced.patcher.Patcher.access$applyPatch(Patcher.kt:44)                 at app.revanced.patcher.Patcher$applyPatches$1.invokeSuspend(Patcher.kt:325)                                                                                      at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127)                                                                                       at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:92)                                                                                        at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:22)            at app.revanced.cli.command.MainCommand.run(MainCommand.kt:160)
        at picocli.CommandLine.executeUserObject(CommandLine.java:1939)                  at picocli.CommandLine.access$1300(CommandLine.java:145)                         at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)                                                             at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)                     at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)
        at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)                                                                                  at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)
        at picocli.CommandLine.execute(CommandLine.java:2078)                            at app.revanced.cli.main.MainKt.main(Main.kt:7)                          INFO: client-spoof succeeded
SEVERE: custom-video-buffer failed:                                              app.revanced.patcher.patch.PatchResultError: 'custom-video-buffer' depends on 'settings' but the following error was raised: 'settings' did not succeed previously
        at app.revanced.patcher.Patcher.applyPatch(Patcher.kt:281)                       at app.revanced.patcher.Patcher.access$applyPatch(Patcher.kt:44)                 at app.revanced.patcher.Patcher$applyPatches$1.invokeSuspend(Patcher.kt:325)                                                                                      at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127)                                                                                       at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:92)                                                                                        at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:22)            at app.revanced.cli.command.MainCommand.run(MainCommand.kt:160)
        at picocli.CommandLine.executeUserObject(CommandLine.java:1939)                  at picocli.CommandLine.access$1300(CommandLine.java:145)                         at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)                                                             at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)                     at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)
        at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)                                                                                  at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)
        at picocli.CommandLine.execute(CommandLine.java:2078)                            at app.revanced.cli.main.MainKt.main(Main.kt:7)                          INFO: always-autorepeat succeeded
SEVERE: microg-support failed:                                                   app.revanced.patcher.patch.PatchResultError: 'microg-support' depends on 'hide-cast-button' but the following error was raised: 'hide-cast-button' depends on 'settings' but the following error was raised: 'settings' did not succeed previously         at app.revanced.patcher.Patcher.applyPatch(Patcher.kt:281)                       at app.revanced.patcher.Patcher.access$applyPatch(Patcher.kt:44)
        at app.revanced.patcher.Patcher$applyPatches$1.invokeSuspend(Patcher.kt:325)                                                                                      at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)                                                                         at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127)
        at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:92)                                                                                        at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:22)
        at app.revanced.cli.command.MainCommand.run(MainCommand.kt:160)                  at picocli.CommandLine.executeUserObject(CommandLine.java:1939)
        at picocli.CommandLine.access$1300(CommandLine.java:145)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)
        at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
        at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)
        at picocli.CommandLine.execute(CommandLine.java:2078)                            at app.revanced.cli.main.MainKt.main(Main.kt:7)                          SEVERE: settings failed:                                                         app.revanced.patcher.patch.PatchResultError: 'settings' did not succeed previously
        at app.revanced.patcher.Patcher.applyPatch(Patcher.kt:264)
        at app.revanced.patcher.Patcher.access$applyPatch(Patcher.kt:44)                 at app.revanced.patcher.Patcher$applyPatches$1.invokeSuspend(Patcher.kt:325)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)                                                                         at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127)                                                                                       at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:92)
        at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:22)
        at app.revanced.cli.command.MainCommand.run(MainCommand.kt:160)                  at picocli.CommandLine.executeUserObject(CommandLine.java:1939)
        at picocli.CommandLine.access$1300(CommandLine.java:145)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)                     at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
        at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)                    at picocli.CommandLine.execute(CommandLine.java:2078)
        at app.revanced.cli.main.MainKt.main(Main.kt:7)
INFO: custom-playback-speed succeeded                                            SEVERE: hdr-auto-brightness failed:                                              app.revanced.patcher.patch.PatchResultError: 'hdr-auto-brightness' depends on 'settings' but the following error was raised: 'settings' did not succeed previously
        at app.revanced.patcher.Patcher.applyPatch(Patcher.kt:281)
        at app.revanced.patcher.Patcher.access$applyPatch(Patcher.kt:44)                 at app.revanced.patcher.Patcher$applyPatches$1.invokeSuspend(Patcher.kt:325)                                                                                      at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127)
        at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:92)
        at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:22)            at app.revanced.cli.command.MainCommand.run(MainCommand.kt:160)                  at picocli.CommandLine.executeUserObject(CommandLine.java:1939)                  at picocli.CommandLine.access$1300(CommandLine.java:145)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)                                                             at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)                     at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)                     at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
        at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)
        at picocli.CommandLine.execute(CommandLine.java:2078)                            at app.revanced.cli.main.MainKt.main(Main.kt:7)                          INFO: remember-video-quality succeeded                                           SEVERE: video-ads failed:                                                        app.revanced.patcher.patch.PatchResultError: 'video-ads' depends on 'settings' but the following error was raised: 'settings' did not succeed previously
        at app.revanced.patcher.Patcher.applyPatch(Patcher.kt:281)                       at app.revanced.patcher.Patcher.access$applyPatch(Patcher.kt:44)                 at app.revanced.patcher.Patcher$applyPatches$1.invokeSuspend(Patcher.kt:325)                                                                                      at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127)                                                                                       at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:92)
        at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:22)            at app.revanced.cli.command.MainCommand.run(MainCommand.kt:160)                  at picocli.CommandLine.executeUserObject(CommandLine.java:1939)                  at picocli.CommandLine.access$1300(CommandLine.java:145)                         at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)                     at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
        at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)
        at picocli.CommandLine.execute(CommandLine.java:2078)                            at app.revanced.cli.main.MainKt.main(Main.kt:7)                          SEVERE: general-ads failed:
app.revanced.patcher.patch.PatchResultError: 'general-ads' depends on 'settings' but the following error was raised: 'settings' did not succeed previously
        at app.revanced.patcher.Patcher.applyPatch(Patcher.kt:281)
        at app.revanced.patcher.Patcher.access$applyPatch(Patcher.kt:44)
        at app.revanced.patcher.Patcher$applyPatches$1.invokeSuspend(Patcher.kt:325)                                                                                      at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127)                                                                                       at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:92)                                                                                        at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:22)            at app.revanced.cli.command.MainCommand.run(MainCommand.kt:160)
        at picocli.CommandLine.executeUserObject(CommandLine.java:1939)
        at picocli.CommandLine.access$1300(CommandLine.java:145)                         at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)                                                             at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)                     at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)                     at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)                                                                                  at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)                    at picocli.CommandLine.execute(CommandLine.java:2078)                            at app.revanced.cli.main.MainKt.main(Main.kt:7)
SEVERE: hide-infocard-suggestions failed:
app.revanced.patcher.patch.PatchResultError: 'hide-infocard-suggestions' depends on 'settings' but the following error was raised: 'settings' did not succeed previously                                                                                   at app.revanced.patcher.Patcher.applyPatch(Patcher.kt:281)                       at app.revanced.patcher.Patcher.access$applyPatch(Patcher.kt:44)
        at app.revanced.patcher.Patcher$applyPatches$1.invokeSuspend(Patcher.kt:325)                                                                                      at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)                                                                         at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127)
        at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:92)                                                                                        at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:22)            at app.revanced.cli.command.MainCommand.run(MainCommand.kt:160)                  at picocli.CommandLine.executeUserObject(CommandLine.java:1939)                  at picocli.CommandLine.access$1300(CommandLine.java:145)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)                     at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)                                                                                  at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)
        at picocli.CommandLine.execute(CommandLine.java:2078)
        at app.revanced.cli.main.MainKt.main(Main.kt:7)
INFO: Compiling resources
INFO: Writing modified dex files                                                 INFO: Writing dex file classes2.dex                                              INFO: Writing dex file classes.dex                                               INFO: Writing dex file classes3.dex                                              INFO: Writing dex file classes4.dex                                              INFO: Writing dex file classes5.dex
INFO: Writing dex file classes6.dex
INFO: Writing resources...                                                       INFO: Aligning yt-revanced_raw.apk to yt-revanced_aligned.apk
INFO: Signing yt-revanced_aligned.apk to yt-revanced_signed.apk
INFO: Copying yt-revanced_signed.apk to yt-revanced.apk
INFO: Cleaned up cache directory
INFO: Finished

Screenshots or videos

No response

Solution

Use the --exclusive flag while adding the patches needed for the YouTube apk manually, including the settings patch with the -i flag.

Additional context

System Info: OS: Ubuntu 20.04.4 Platform: x86_64 Linux Kernel Version: 5.4.0-125-generic

JDK:

openjdk version "17.0.4.1" 2022-08-12 LTS
OpenJDK Runtime Environment Zulu17.36+17-CA (build 17.0.4.1+1-LTS)
OpenJDK 64-Bit Server VM Zulu17.36+17-CA (build 17.0.4.1+1-LTS, mixed mode, sharing)
oSumAtrIX commented 2 years ago

I can not reproduce this, please update everything to the latest version and try again.

Canny1913 commented 2 years ago

I can not reproduce this, please update everything to the latest version and try again.

This is impossible to reproduce in normal circumstances since this fingerprint points to integrations

kairusds commented 2 years ago

The bug seems to be fixed with the latest version v2.50.1, it was only present in patches v2.49.0.