ReVanced / revanced-patches

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

bug: Cannot patch Tiktok app #3406

Closed FeralWriting closed 1 month ago

FeralWriting commented 5 months ago

Bug description

I want to remove Tiktok Revanced automatically keeping the same playback speed between videos as it's extremely annoying with no setting to turn it off in app. I tried to remove that feature by deselecting it in the selected patches section, but every time I run "patch", it throws a bunch of errors. Here are the patches: Screenshot_20240702-022655

To reproduce this, select any given patches and choose patch.

Error logs

- Device Info
ReVanced Manager: 1.20.1
Model: Pixel 7 Pro
Android version: 14
Supported architectures: arm64-v8a
Root permissions: No

- Patch Info
App: com.ss.android.ugc.trill v32.5.3 (Suggested: 32.5.3)
Patches version: v4.10.0
Patches added: Default
Patches removed: Playback speed
Default patch options changed: None

- Settings
Allow changing patch selection: true
Version compatibility check: true
Show universal patches: false
Patches source: revanced/revanced-patches
Integration source: revanced/revanced-integrations

- Logs
Reading APK
Decoding app manifest
Loading patches
Merging integrations
An error occurred:
lanchon.multidexlib2.DuplicateTypeException: LX/czP;
    at lanchon.multidexlib2.MultiDexContainerBackedDexFile.<init>(Unknown Source:109)
    at lanchon.multidexlib2.MultiDexIO.readDexFile(Unknown Source:6)
    at app.revanced.patcher.data.BytecodeContext$classes$2.invoke(SourceFile:0)
    at app.revanced.patcher.data.BytecodeContext$classes$2.invoke(SourceFile:0)
    at kotlin.SynchronizedLazyImpl.getValue(Unknown Source:20)
    at app.revanced.patcher.data.BytecodeContext.getClasses(Unknown Source:2)
    at app.revanced.patcher.data.BytecodeContext$Integrations.flush(Unknown Source:18)
    at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:172)
    at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
    at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
    at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
    at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:71)
    at app.revanced.manager.flutter.MainActivity$runPatcher$1$patcherResult$1$2.invokeSuspend(Unknown Source:76)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
    at kotlinx.coroutines.DispatchedTask.run(Unknown Source:93)
    at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:46)
    at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Unknown Source:23)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Unknown Source:73)
    at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:0)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Unknown Source:6)
    at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
    at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$34(Unknown Source:470)
    at app.revanced.manager.flutter.MainActivity.$r8$lambda$hTJfH-rv2j-9Y91G5H_L5jFDN6U(SourceFile:0)
    at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda5.run(SourceFile:0)
    at java.lang.Thread.run(Thread.java:1012)

Solution

No response

Additional context

No response

Acknowledgements

oSumAtrIX commented 4 months ago

Check if the issue occurs with default ReVanced Manager settings

FeralWriting commented 4 months ago

It does. It does with any patch configuration I try to use.

On Tue, Jul 2, 2024, 10:05 AM oSumAtrIX @.***> wrote:

Check if the issue occurs with default ReVanced Manager settings

— Reply to this email directly, view it on GitHub https://github.com/ReVanced/revanced-patches/issues/3406#issuecomment-2203301891, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQUVL5UN2QK6POO7LLSRYCTZKKXUHAVCNFSM6AAAAABKG3OGLSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBTGMYDCOBZGE . You are receiving this because you authored the thread.Message ID: @.***>

zerox003 commented 4 months ago

Never worked from the app for me cuz packages are too many or too large or sth. Use this to patch tiktok on PC: auto-cli

Note: tiktok did not get support updates for ages, dont count on patches

oSumAtrIX commented 1 month ago

Issue should be fixed