xemulat / revancedpacker Goto Github PK
View Code? Open in Web Editor NEWRVP - ReVanced APK Compiler written in Python 3.11.4
License: GNU General Public License v2.0
RVP - ReVanced APK Compiler written in Python 3.11.4
License: GNU General Public License v2.0
Describe the bug
A clear and concise description of what the bug is.
When the app tries to download the patches, an error appears.
The link is mistyped (missing the v at 2.20.0).
The error only happens when choosing the 'YT Beta' option.
Screenshots
If applicable, add screenshots to help explain your problem.
Upon running RVP.exe, I get the following output:
Unhandled exception in script
Traceback (most recent call last):
File "main.pyw", line 82, in <module>
File "main.pyw", line 50, in getpatches
File "json\__init__.py", line 346, in loads
File "json\decoder.py", line 337, in decode
File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Windows 10 Pro 64bit
Java 17.0.8+7
Python 3.9
RVP 3.2
I tried RVP 3.1 with same error.
after the packer is done i cant find any revanced.apks in the folder
With the old version, the Python script can run also on MacOS and Linux. In the next version, it would be great if the script is multi platform.
I think it could be fixed by changing the command related to java. If the OS detected is Windows, so we make it java.exe
, otherwise only java
.
The app is opening but closes immediately.
My S22 ultra is saying that "YouTube ReVanced has a bug"
While compiling i get this error
Traceback (most recent call last): File "revancedinstall.py", line 223, in <module> NameError: name 'keystor' is not defined [31264] Failed to execute script 'revancedinstall' due to unhandled exception!
Is your feature request related to a problem? Please describe.
Right now, we are using the latest stable youtube apk. I want the ability to test youtube beta apk as well.
Describe the solution you'd like
Implementing the --debugging parameter while patching would give us the possibility to do this.
Describe alternatives you've considered
Maybe we can download & place our preferred youtube apk in the directory instead of the script downloading it for us before doing this?
Additional context
As seen from the discussion here
Describe the bug
Whenever I Run The .exe File With Admin Rights It Closes After Some Time And There Is Nothing Happen After It
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
Is your feature request related to a problem? Please describe.
its bad if people forget what addon does that, + make it so it tells you how to select stuff
Describe the solution you'd like
add descriptions
Describe alternatives you've considered
nothing
Additional context
nothing
Describe the bug
Whenever I run the app, eventually it stops at this error.
AV is off, happens on 2 PCs.
Exception in thread "main" java.lang.NoSuchMethodError: java.util.jar.JarEntry.getRealName()Ljava/lang/String;
at app.revanced.patcher.util.patch.implementation.JarPatchBundle$loadPatches$2.invoke(JarPatchBundle.kt:27)
at app.revanced.patcher.util.patch.implementation.JarPatchBundle$loadPatches$2.invoke(JarPatchBundle.kt:13)
at app.revanced.patcher.util.patch.util.StringIterator.next(StringIterator.kt:9)
at app.revanced.patcher.util.patch.util.StringIterator.next(StringIterator.kt:3)
at app.revanced.patcher.util.patch.base.PatchBundle.loadPatches$revanced_patcher(PatchBundle.kt:19)
at app.revanced.patcher.util.patch.implementation.JarPatchBundle.loadPatches(JarPatchBundle.kt:13)
at app.revanced.utils.patcher.PatcherKt.addPatchesFiltered(Patcher.kt:22)
at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:19)
at app.revanced.cli.command.MainCommand.run(MainCommand.kt:122)
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)
Desktop (please complete the following information):
integrations.apk
cli.jar
patches.jar
output.apk
there are no version numbers in these filenames
I have an old vanced issue, my phone is Poco x3 pro with CrDroid 12.1, rooted, magisk and microG installed from magisk package
The YouTube ReVanced [Root variant] don't recognize my Google account devices added from my navite MicroG, and when I try to add the account, it said that already exits
. (And my Google account is correctly configured to be visible to all apps in account settings)
Only works when i keep the microg-support
but then i must install the external app vanced MicroG, when i have installed the native MicroG
Liek you can see in the next image, my Google account can be detected by all apps
In my case, I Can use Vanced or YouTube (stock APK) and stay logged in my Google apps using Native MicroG, it maybe was an old problem in vanced, but it is not problem now in vanced, and in ReVanced the problem returns!
Is it a Revanced Problem, or is it a compiled bug?
I'm using version 2.1
I followed the steps in the guide,
on my PC the folder that I used to do the process looks like this:
I transferred, youtube.apk, integrations.apk, revanced.keystore and revanced.apk in a folder on my Galaxy A40, so it looks like this:
(I'm not sure if I need to install integrations.apk).
When I try to install revanced.apk on my phone, I get this:
What I've tried:
Install MicroG downloaded from https://www.apkmirror.com/apk/team-vanced/microg-youtube-vanced/
Restart my phone
Clear old files with Google Files app (even though I don't expect this to help in this context)
Install integrations.apk, it gave me the same error "App not installed"
More info:
I've used MicroG succesfully in the past with Vanced.
While am using the app i notice some error in app in the final step Signing revanced_aligned.apk show some error and the Revanced.apk is not there in folder only mircoG.apk this is picture of error - https://imgur.com/a/LA67vPK
Frankly I don't like the GUI update at all.
Before, everything was easy to use and straight forward.
Now, to use the packer you have to know many stirngs of text to get the vanced apk.
Some dropdown or multible choice / checkbox system would be very helpful, because the program is unusable without clicking "help" every single step of the way ... and until I figure it out completely I am unable to get anything done at all.
I wish the original terminal like program would still work, because I would prefer to use that instead, but sadly it appears to got broken after the GUI update. When running version 2.0 it now crashes / closes after a few seconds without doing anything.
Hello, is it possible to add an option to compile the apk for a specific architecture such as armv7, armv8, x86 etc.? Thanks!
how select a patch?
it show's a list of patch but i dont know how to select and deselect them
The app works perfectly till downloading integrations and crashes afterwards. I have python 3.10.9 and jdk 17 pre installed in my system btw but that should not affect anything I think. Using Windows 10 Enterprise 22H2.
Click on .exe file. Downloads Integrations, Patches, CLI successfully. Then crashes.
This is the folder structure after crash
The command prompt shows this error immediately afterwards
If I run the .exe again it shows this and continue to show the error above after briefly showing >Setting Up
Describe the bug
revanced packer does not make the revanced.apk file that is vital for the installation
To Reproduce
Steps to reproduce the behavior:
do everything listed in the guide:
https://github.com/xemulat/ReVancedPacker/wiki/How-to-use-this-program-(guide)
Expected behavior
revanced.apk file is created in the directory that RV.Apk.Packer.2.0.exe was ran in
Screenshots
A screenshot of the directory that I ran RV.Apk.Packer.2.0.exe in after the "installation"
Desktop (please complete the following information):
Is your feature request related to a problem? Please describe.
it doesn't have all of the patches, it stops at open-links-externally
Describe the solution you'd like
add the rest of the patches
Describe alternatives you've considered
no
Additional context
patches missing:
premium-heading
remember-playback-rate
return-youtube-dislike
seekbar-tapping
sponsorblock
spoof-app-version
swipe-controls
tablet-mini-player
theme
video-ads
Describe the bug
I'm using the new GUI, and successfully building the apk, but I cannot install it on my rooted phone.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
App gets installed.
Actual behavior
This is shown, and apk cannot be installed:
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
so after i used the app, when it says revanced.apk built nothing actually happens and the apk is nowhere to be seen except for the microg apk
the title explains it all
In the wiki there is a typo in the following line:
"b - Use '2' Disabling it will add --expreimental at the end"
It should say "--experimental"
Describe the bug
Running RVP.py causes "Line 85: TypeError: type NoneType doesn't define round method"
To Reproduce
Steps to reproduce the behavior:
python RVP.py
Expected behavior
Proceeding normally to the next steps.
Log:
Traceback (most recent call last):
File "D:\Browser-Downloads\Edge-Downloads-2023.1.2\RVP.py", line 255, in <module>
main()
File "D:\Browser-Downloads\Edge-Downloads-2023.1.2\RVP.py", line 85, in main
f"Internet: {str(round(ping('github.com', unit='ms'), 2))}ms\n\n"
TypeError: type NoneType doesn't define __round__ method
Desktop (please complete the following information):
Java:
openjdk 17.0.6 2023-01-17 LTS
OpenJDK Runtime Environment Zulu17.40+19-CA (build 17.0.6+10-LTS)
OpenJDK 64-Bit Server VM Zulu17.40+19-CA (build 17.0.6+10-LTS, mixed mode, sharing)
Additional context
Running RVP.py from latest 2.8 release
Maybe a fix?
Replacing line 85 with something like this f"Internet: {str(round(ping('github.com', unit='ms'), 2)) if ping('github.com', unit='ms') is not None else 'N/A'}ms\n\n"
did allow me to proceed to next steps.
Just like in the title, that's what my question is..
And is it the last latest update?
After the .exe does the entire process, it says apk file created and it cleaned the temp files. but the apk file doesnt show up in the folder, and the re-vanced cache folder stays there. Only MicroG.apk shows up, alongside with integrations.json, but no apk file.
Desktop: Windows 11
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.