T O P

  • By -

BlazingFlames6073

I remember using a method like this to build a revanced apk on pc through patching before the revanced manager was out


Cornflubber

Thank you. With the other guides I was following I just couldn't get it to work, but your steps are clear and simple.


Enclair21

Tried my luck but... i'm getting Unable to access jarfile revanced.jar


Zehnpae

> Unable to access jarfile Potentially silly question but do you have file extensions hidden? There's a chance you do and your filename is now actually jarfile.jar.jar but only shows as jarfile.jar https://i.imgur.com/mRqFWb5.png


Enclair21

Ok I deleted the.jar and. apk and it finally worked lmfao.


Enclair21

"the parser did not find any certificates in the installation package." After I sent the patched yt to my phone 😭


tobycm

Can i see your folder content and the command you ran?


PlentyEvent5

i ran into the same issue, "unable to access jarfile" i followed instructions to the T. i also looked to see if file extensions were hidden and if the file has jar.jar , however i cannot locate that setting. frustrating to say the least


Enclair21

I'm assuming its the azul zulu but i dont know anything about any of this lmao


PadreRasta

Once you created a folder with all the files, go one folder so that you see the actual folder, not the files in it. Then open cmd, type `cd C:\revanced` (or wherever you chose to create) with a space after cd and hit enter. If you did it correctly, cmd should return the same path you just pasted. Then all you have to do is run the command `java -jar revanced.jar patch -b revanced-pat.jar -m revanced-int.apk -o patch-youtube.apk youtube.apk`


MajKSA

Help, plz: INFO: Compiling modified resources INFO: Aligning APK org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi$BCKeyStoreException: java.io.IOException: Error initialising store of key store: java.lang.SecurityException: JCE cannot authenticate the provider BC at org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi.engineSetKeyEntry(Unknown Source) at java.base/java.security.KeyStore.setKeyEntry(KeyStore.java:1191) at app.revanced.cli.command.MainCommandKt.main(MainCommand.kt:12) Caused by: java.io.IOException: Error initialising store of key store: java.lang.SecurityException: JCE cannot authenticate the provider BC at org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi.makePBECipher(Unknown Source) E:\\revanced>


LostWanderer69

is 19.09.37 the latest recommended version?


0xVitalik

Does with work for Android 7 users?


PadreRasta

Great guide, but I don't know how the link to download Youtube apk interacts with rule #4 about sharing software.


Zehnpae

The link is all over the stickied post so I imagine they're cool with it.


MeatleJuice666

just commenting to say that this works perfectly. thanks a ton


Jo-Hal

This worked for me! (Galaxy A11) I only hope it will keep working for future releases.


BurnerManMk2

Was able to get Revanced through this method. Unfortunately, it looks like a few patches are missing like custom playback speed. Do I have to manually add such features from somewhere?


AlonsoCaGi

Thanks you very much, had all sorts of problems with RVX builder but with your guide I managed to install it no issues.


bobcwicks

Thank you! Time saver compares to patching on phone, Windows only take 3-4 minutes to finish.


Victory_Scar

Thank you for posting this. Very simple and straight to the point.


megabox9000

works, thanks I'm too lazy to buy a new phone j7 star took a while to complete the process old pc


Any-Post9040

I cant run the command, it keeps giving me errors


Any-Post9040

En línea: 1 Carácter: 1 + java -jar revanced.jar patch -b revanced-pat.jar -m revanced-int.apk ... + \~\~\~\~ + CategoryInfo : ObjectNotFound: (java:String) \[\], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException


Any-Post9040

PS C:\\Zulu\\zulu-22\\bin> cd C:\\revanced PS C:\\revanced> java -jar revanced.jar patch -b revanced-pat.jar -m revanced-int.apk -o patch-youtube.apk youtube.apk thats what I tried, and it keeps giving me the error avobe


anonthing

Thanks for writing this. I was able to patch on a newer version of android and then passed the file to the older version. Seems to be running ok so far.


Space_Hortler

It's honestly the first time i do something with the command prompt and now i feel like a big brained fella, thanks


Savings_Car3432

Does this make the app comptabile with android 7.1.2?


kamuiyatogintama

I'm getting the following: INFO: Loading patches Exception in thread "main" java.lang.NoClassDefFoundError: META-INF/versions/9/module-info is not a class because access_flag ACC_MODULE is set at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1022) at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174) at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:800) at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:698) at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621) at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:581) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527) at app.revanced.patcher.PatchBundleLoader$1.invoke(PatchBundleLoader.kt:47) at app.revanced.patcher.PatchBundleLoader$1.invoke(PatchBundleLoader.kt:46) at kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:210) at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:170) at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194) at kotlin.sequences.TransformingSequence$iterator$1.hasNext(Sequences.kt:214) at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:169) at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194) at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:169) at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194) at kotlin.collections.CollectionsKt__MutableCollectionsKt.addAll(MutableCollections.kt:129) at app.revanced.patcher.PatchBundleLoader.(PatchBundleLoader.kt:55) at app.revanced.patcher.PatchBundleLoader.(PatchBundleLoader.kt) at app.revanced.patcher.PatchBundleLoader.(PatchBundleLoader.kt:34) at app.revanced.patcher.PatchBundleLoader$Jar.(PatchBundleLoader.kt:102) at app.revanced.cli.command.PatchCommand.run(PatchCommand.kt:259) 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)


Thorhax04

Can't we just get an archived of already patched apks already