It's a little buggy, when trying to choose the APK version it just defaults to the newer one and you can't change it. Also tried to exclude some patches and the compiler still added them lol. I just went back to the CLI version
yeah, you just have to replace android-gui with cli
here i did it for ya
```
rm -r revanced-builder-cli/
rm cli.zip
wget https://github.com/reisxd/revanced-builder/archive/refs/heads/cli.zip
unzip cli.zip
cd revanced-builder-cli
npm i
node .
```
Yeah i just installed revanced on a friends phone and was a bit confused at first haha.
But worked great and the ui looks also dope!
Thanks for your work!
This might be a dumb question but when I try to install the revanced APK made with this, I get a message from google play telling me it is dangerous.
What's up with that?
Hi everyone, I fixed most of the bugs and added the mounting script! If you already have installed it, please reinstall it (instructions on how to is in the wiki).
node:internal/errors:841
const err = new Error(message);
^
Error: Command failed: su -c '"/data/adb/service.d/mount_revanced_com.google.android.youtube.sh"'
mount: '/data/adb/revanced/com.google.android.youtube.apk'->'/data/app/~~5jkTy9aMP2Ug0N7Kvxj7Eg==/com.google.android.youtube-BuJjL350nalZ0QZvI0WpGA==/base.apk': No such file or directory
at ChildProcess.exithandler (node:child_process:398:12)
at ChildProcess.emit (node:events:527:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) {
code: 1,
killed: false,
signal: null,
cmd: `su -c '"/data/adb/service.d/mount_revanced_com.google.android.youtube.sh"'`,
stdout: '',
stderr: "mount: '/data/adb/revanced/com.google.android.youtube.apk'->'/data/app/~~5jkTy9aMP2Ug0N7Kvxj7Eg==/com.google.android.youtube-BuJjL350nalZ0QZvI0WpGA==/base.apk': No such file or directory\n"
}
I have a question, lets say i completed the whole thing and built the apps i wanted. If i want to patch a new app or a new update, do i have to clear data of termux and start over? Or there is a way to run the local host again?
You don't need to, if you are already running the webserver, close it by doing CTRL + C and run node . again, then go back to http://localhost:8080. If you don't have the webserver running then run these:
```
cd
cd revanced-builder-android-gui
node .
```
and go to the webpage.
I can't for the life of me, run the .exe.
It simply does nothing.
I have the required Zulu JDK and ADB installed. Literally nothing happens when I try to launch "qode".
If I try to run as admin, I get a smart screen windows defender warning and click run anyway. Again, nothing else happens.
I'm an idiot and forgot to install the path variable. It launched now.
Unfortunately despite that, I can't get it installed even with ADB drivers installed. I'm receiving:
Installing by mounting
Permission denied
Ah I figured it out:
I had to enable [com.android.shell](https://com.android.shell) under Magisk -> Superuser settings.
Then I had to uninstall Vanced.
Reinstall normal Youtube from the Play Store.
Remove all TeMeFi artifacts.
Then run the GUI.
Thanks for your help!
Btw is this version patched so updates can't happen? Or do I need to run TeMeFi on Revanced as well?
I see, sounds like I may need to detach it via TeMeFi again then.
Root vanced was notorious for updating repeatedly regardless of google play update settings.
Thanks again for your help and for making such a great tool for the community :D
Couldn't select specific patches (which didn't really matter because i wanted everything anyway but i tested it anyway)
Otherwise worked great on my wife's sd s22+
Hello just a question
If there's an update to the builder
Should i Do
"pkg update"
Or reinstall the builder like the instructions on the GitHub on termux
Just finished patching.
Hit the download button but it errors out that it cant be downloaded. The power shell reports ...
GET /revanced.apk 404 1.294 ms - 151.
Do i just copy the existing revanced.apk and microg apk over to my phone and install?
Since upgrading to Pixel 6a I was unable to install Vanced due to downgrade error (even after removing preinstalled youtube via adb) so searching the interwebs brough me to this subreddit. I'm too stupid to build an app by myself (not a programmer, just a noob who follows step by step instructions) so decided to give this client a go. Installation was smooth and everything seems to work fine on my A13 Pixel 6a. Keep up the good work you geniuses, massive THANK YOU!
Help please. I can see no patches to select or deselect. Can anyone help. I selected Y to all the prompts.
Is there anyway to reinstall and leave the defaults?
I don't have root
I'm the guy he mentioned, `Elijah629`
real
real
real
real
real
real
Gui works good Great job!
It's a little buggy, when trying to choose the APK version it just defaults to the newer one and you can't change it. Also tried to exclude some patches and the compiler still added them lol. I just went back to the CLI version
Yep, I'll fix most of the issues tomorrow and probably add mounting support (ushie pls test it).
Fixed in the latest commit! Try reinstalling the tool (instructions in wiki).
Can I create an apk that uses root instead of microg?
Yes.
Shit, i need to update my repo but I'm on vacation
:)
JavaScript moment lol
now what does that have to with you updating your tool >:(
No, like you created a better tool with JavaScript
Oh lol. I mean, you could've also created a better tool in Python too.
Yea, but I'm not the best programmer, and python is not the best programming language
I'm also not the best programmer and JS isn't the best programming language
Yes, but i can't build android stuff with Python
It's actually really simple, there's a flag for passing a custom aapt2 and changing the aapt2 makes ReVanced build on Android.
What is the best language then?if python is not?
None. In other words, it depends. Every language has their pros and cons.
Verilog
Why is that? Will it do all the work which we do in python?
In my opinion Zig or something from C family
Why? If I may ask?
Enjoy your vacation. This can wait.
getting an error, do i need to be in su mode? https://imgur.com/7e18a7a
Try `npm i --no-bin-links`.
worked ..thx
another error this time when patching https://imgur.com/86o6WtB
You probably have a armv7 device which is why aapt2 fails. I cannot fix this.
its the sd870
Wait, did you extract revanced-builder to Downloads?
nopes....to /sdcard
Theres your problem, you cannot run executables if its not inside Termuxs own folder. Write `cd` and rerun the commands again.
I just installed the latest version of revanced but revanced settings won't open. It says revanced isn't responding. But it looks great
It's amazing. Works fine (even with Reddit app!) Thank you! How do you suggest we keep ourself updated to this?
Could you add back commands for people who want to use the non gui version?
yeah, you just have to replace android-gui with cli here i did it for ya ``` rm -r revanced-builder-cli/ rm cli.zip wget https://github.com/reisxd/revanced-builder/archive/refs/heads/cli.zip unzip cli.zip cd revanced-builder-cli npm i node . ```
Thanks, I already figured it out.
Yeah i just installed revanced on a friends phone and was a bit confused at first haha. But worked great and the ui looks also dope! Thanks for your work!
Does this work with root? I can only open the app when I install MicroG, 😅
Theres no mounting yet.
Oh, then with MicroG then I guess, 😅 Thank you for the answer, 🥰
In the latest commit, I added mounting! If you want to try it, reinstall the tool (look at the wiki) and don't include microg-support.
What's new on this?
Stuck on downloading aapt2.zip
You'll have to reinstall
This might be a dumb question but when I try to install the revanced APK made with this, I get a message from google play telling me it is dangerous. What's up with that?
Thats normal, because ReVanced signs the APKs with a non trusted keystore.
On "http://localhost:8080" i keep getting a Error "Cannot GET /dependencies/patches/index.html" What am i doing wrong? I'm using your intrusions btw
Fixed in the latest commit, reinstall the tool.
Ok ty
Quick question before I try it, can I also use this (or the builder on windows) to install the root variant?
You currently can install rooted variant of ReVanced on Desktop but not on Android yet.
very nice
Hi, with both the cli and gui versions I get dependency errors for eslint... 1
Try `npm i --omit=dev` or `npm i -f` or `npm i --legacy-peer-deps`
I get EACCESS link errors... I can upload the errors if you need them
Can you try `npm i --production` then?
Then I also get the dep error with eslint
Then use the old command that gave you EACCESS error and also add `--no-bin-links`
https://pastebin.com/Ave4mbP5 I removed ~/.npm before running it.
Why are you even trying to install CLI version?
I got exactly the same issues with the gui version
Hi everyone, I fixed most of the bugs and added the mounting script! If you already have installed it, please reinstall it (instructions on how to is in the wiki).
when i enable the cast and autoplay buttons through the settings, the app crashes as soon as i try to view them
for now it seems disabling those specific patches and reinstalling worked
Help [help](https://imgur.com/a/AwEwjzr)
Install Termux from F Droid.
I did. I'm just having trouble when running the pkg install command
Actually I can't even do the pkg update command
Figured it out
[удалено]
Did you install Termux from F-Droid?
[удалено]
Weird, I have no idea why does this happen. Try doing these: Clear Cache/Data Use a VPN Restarting your device
It keeps hanging on trying to mount ReVanced ...
Currently broken, will tell when it's fixed.
Ah, alright, thank you! You're so fast and amazing! 🥰
Should be now fixed! Reinstall the tool.
Oof, I still get the same, XD
Did you reinstall it? If so, with which script? The one that begins with `termux-setup-storage` or `rm -r revanced-builder-android-gui`?
I tried both, 😅
Do `cd` and retry the second one again. If it still doesn't work, send the console output of Termux to here.
node:internal/errors:841 const err = new Error(message); ^ Error: Command failed: su -c '"/data/adb/service.d/mount_revanced_com.google.android.youtube.sh"' mount: '/data/adb/revanced/com.google.android.youtube.apk'->'/data/app/~~5jkTy9aMP2Ug0N7Kvxj7Eg==/com.google.android.youtube-BuJjL350nalZ0QZvI0WpGA==/base.apk': No such file or directory at ChildProcess.exithandler (node:child_process:398:12) at ChildProcess.emit (node:events:527:28) at maybeClose (node:internal/child_process:1092:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) { code: 1, killed: false, signal: null, cmd: `su -c '"/data/adb/service.d/mount_revanced_com.google.android.youtube.sh"'`, stdout: '', stderr: "mount: '/data/adb/revanced/com.google.android.youtube.apk'->'/data/app/~~5jkTy9aMP2Ug0N7Kvxj7Eg==/com.google.android.youtube-BuJjL350nalZ0QZvI0WpGA==/base.apk': No such file or directory\n" }
Do you have YT installed on your device?
I have a question, lets say i completed the whole thing and built the apps i wanted. If i want to patch a new app or a new update, do i have to clear data of termux and start over? Or there is a way to run the local host again?
You don't need to, if you are already running the webserver, close it by doing CTRL + C and run node . again, then go back to http://localhost:8080. If you don't have the webserver running then run these: ``` cd cd revanced-builder-android-gui node . ``` and go to the webpage.
Understood, thank you so much!
I can't for the life of me, run the .exe. It simply does nothing. I have the required Zulu JDK and ADB installed. Literally nothing happens when I try to launch "qode". If I try to run as admin, I get a smart screen windows defender warning and click run anyway. Again, nothing else happens.
If you have special characters/spaces in your name, that's why. Extract it to an another drive or C drive.
I'm an idiot and forgot to install the path variable. It launched now. Unfortunately despite that, I can't get it installed even with ADB drivers installed. I'm receiving: Installing by mounting Permission denied
Do you have USB Debugging enabled? Did you give access to your PC? Can you run `adb devices` and send the output here?
Ah I figured it out: I had to enable [com.android.shell](https://com.android.shell) under Magisk -> Superuser settings. Then I had to uninstall Vanced. Reinstall normal Youtube from the Play Store. Remove all TeMeFi artifacts. Then run the GUI. Thanks for your help! Btw is this version patched so updates can't happen? Or do I need to run TeMeFi on Revanced as well?
You can still update ReVanced if GPlay updates the YT app (disable autoupdates if you don't want that to happen), just re run the tool.
I see, sounds like I may need to detach it via TeMeFi again then. Root vanced was notorious for updating repeatedly regardless of google play update settings. Thanks again for your help and for making such a great tool for the community :D
Couldn't select specific patches (which didn't really matter because i wanted everything anyway but i tested it anyway) Otherwise worked great on my wife's sd s22+
Hello just a question If there's an update to the builder Should i Do "pkg update" Or reinstall the builder like the instructions on the GitHub on termux
Reinstall.
Thank you I'm really to this new to this I thought doing pkg update is going to update the builder 😅 anyway thank you again!
where is my apk stored i am looking for it in file manager but i cant find it
In your internal storage.
i found out that termux was outdated. but now it constantly crashes
Be more specific, what crashes? What's the error?
termux itself crashes when its aligning the apks but i cant seem to find any errors
Just finished patching. Hit the download button but it errors out that it cant be downloaded. The power shell reports ... GET /revanced.apk 404 1.294 ms - 151. Do i just copy the existing revanced.apk and microg apk over to my phone and install?
Since upgrading to Pixel 6a I was unable to install Vanced due to downgrade error (even after removing preinstalled youtube via adb) so searching the interwebs brough me to this subreddit. I'm too stupid to build an app by myself (not a programmer, just a noob who follows step by step instructions) so decided to give this client a go. Installation was smooth and everything seems to work fine on my A13 Pixel 6a. Keep up the good work you geniuses, massive THANK YOU!
Thanks for your work! It really simplifies all the process, and it works very well ;-)
Help please. I can see no patches to select or deselect. Can anyone help. I selected Y to all the prompts. Is there anyway to reinstall and leave the defaults? I don't have root
Update Builder using `./revanced-builder.sh update`, this was a bug that was fixed.
Thank you. Flawless
that afn guy sounds like a big nerd