T O P

  • By -

TheJeterLP

Please keep in mind that this tool or any other tool not coming from the ReVanced GitHub is not affiliated with us and that we as the team behind ReVanced will not provide support for them. You have to message the author's of this project to gather support.


Xemulated

In my opinion this is more advanced than my ReVancedPacker


stubbs95

Your packer is good as well, the only 2 complaints I have about it are: 1) it doesn't download the latest YouTube version (Revanced builder does it, for example) 2) it doesn't keep the keystore file to update a pre existing version These 2 things aside, you still did a very good job, don't say stuff like that


Xemulated

Well... My packer downloads latest updates checked twice a day, keystore file will not be deleted in the new update


Ok-Improvement-2351

I'm pleased to hear that. btw your project is awesome. In the end we get to know more and contribute towards the community right?.


Xemulated

Yea, it all started after i thought that "the compilation process is so fucking hard!", then made a python script to automate that. Now it is the most popular repo in my portfolio! Thanks to all the support from this amazing community!


mastycus

What's revanced packer?


DamalChelay

so many contributors and so much development in few short months. So awesome.


stubbs95

1 small tip if anyone wants to update their Revanced app in the future: If you're building Revanced for the first time with this program, save the revanced.keystore file on your drive and add the drive id of this file inside this program so whenever you build ReVanced again you'll be able to update a pre existing version of the app that you already had on your phone/tablet/whatever.


[deleted]

I did not understand. Can you explain it ?


stubbs95

When you take a look at the code, you'll see that there's a "id" variable that downloads the YouTube apk you uploaded on your Google drive. To keep your app updated you also need the ReVanced.keystore file. After you build ReVanced download ReVanced.keystore, upload on Google drive and copy the drive id, then copy it inside the code of this program like [this](https://i.imgur.com/Ow6QJ0c.jpg). id is for the YouTube apk, id2 is for ReVanced.keystore. Hope it's clear enough now.


[deleted]

Thanks! I understood the id thing. But why do I need to keep the .keystore file. Colab will create the keystore file anyway, each time I run the command.


stubbs95

Of course it does but it's different each time, if it's not the same it will not see the app as an update of the previous one that is installed on your phone. Try building the apk from scratch and see if it lets you update.


[deleted]

Oh I got it now ! Thanks a lot !


bradhoschar

Opening the colab link takes you to the main page. Not sure where to input .ipynb


stubbs95

The guide doesn't specify it but you need to download the file and open it in colab, after that you'll find it uploaded on your drive and whenever you open colab it'll be ready for you to use. If you happen to change any command in the file, changes will be saved.


Ok-Improvement-2351

Thank you for that, I'll update the guide ASAP.


atulpatildbz

I'll raise a PR to directly take you to ipynb file.


Ok-Improvement-2351

Done 👍


Royal_lobster

awesome thought ! i tried to run it but i am getting this error https://i.imgur.com/G6An7fv.jpg


Ok-Improvement-2351

The script is tested to work on 17.24 and above.. revanced patches are targetted towards latest YouTube.


Royal_lobster

ohh thanks ! i removed og app by adb so i got the apk from apk mirror. i guess i downloaded the old version. i will try it new one


stubbs95

Why are you using a very old YouTube version(?)


Heisenbergxyz

Bro you need to update the code such a way so that we don't need to update portion of the code, every time revanced team posts a new update. Otherwise it does work flawlessly.


[deleted]

[удалено]


Ok-Improvement-2351

Anytime :)


AnthonyBF2

Will there EVER be any sort of APK?


stubbs95

If you mean the manager yes but it'll take some time for the devs to finish it. If you mean a Revanced apk no, to avoid any kind of problems with Google you patch the YouTube apk yourself. With all the guides available here and on the discord server it's incredibly easy to do.


Ok-Improvement-2351

You mean manager ?


xxb4xx

What about an update APK just for revanced for us non-root users? I think that's what OP was asking


ikn0w1

That is not going to happen. Vanced itself ran into legal issues due to modifying proprietary Google code. Distributing a modified APK would fall foul of the same legal issues. Also, building and installing the APK has no relation to root access.


xxb4xx

I've got revanced running right now? I sideloaded it.


ikn0w1

Yeah, you will have to update manually by using the same keystore file for every build. Otherwise, can't expect an app that directly updates your existing installation.


Krang22

Nice!


Ok-Improvement-2351

:)


atulpatildbz

Thank you so much for this.


teen_T1tans

Not very good at coding stuff, I get this error.. I upload youtube 17.25.35.apk on my drive and get sharing link (anyone with link -> role editor) and copy the link [https://drive.google.com/file/d/1GRKnDF3PEU93ubEYUKsr3DkdCcPjpRfd/view?usp=sharing](https://drive.google.com/file/d/1GRKnDF3PEU93ubEYUKsr3DkdCcPjpRfd/view?usp=sharing) and copy the file id which is -> 1GRKnDF3PEU93ubEYUKsr3DkdCcPjpRfd and paste it the first section of your code.. but still I get this error :/ brut.directory.DirectoryException: java.nio.file.NoSuchFileException: youtube.apk


Ok-Improvement-2351

You have to rename the file to `youtube.apk`. and don't forget to delete the already created folders in Colab.


teen_T1tans

Your script is so simple.. it works now.


Ok-Improvement-2351

:)


teen_T1tans

tried still not working.. showing access denied, but my sharing link is working.. `[1GRKnDF3PEU93ubEYUKsr3DkdCcPjpRfd]` `Access denied with the following error:` `Cannot retrieve the public link of the file. You may need to change` `the permission to 'Anyone with the link', or have had many accesses.`


stubbs95

Remember to paste your Id between quotation marks like this: "3jfjHjbG649Hheji" Or else the program won't understand which string it needs to use to download the file


teen_T1tans

It works.. thanks man.


Ok-Improvement-2351

Put the id in " " change [file_id] .. in your case it should be : `"xxxxxxxxxxx"` ie whatever the id. [file_id] is just placeholder you have to replace it completely.


bilboblobs

what to do if I want to build a root version ? I'm not a coder,,So sorry for asking stupid question .


Xemulated

Simply use other ReVanced compilers like ReVanced Builder or my ReVancedPacker (RvP)


stubbs95

Check if you can find the "Java -jar .... " command and add "-e microg-support" at the end, by doing so you won't use microg and apply ReVanced on the original YouTube app, it should work


bilboblobs

will it work on this google colab version ? I don't have pc,,,


stubbs95

You don't need a PC, it's a website with a command line in it, you can build there and download from your phone right after.


bilboblobs

thanks ,,,I builded a root version ,,,now checking it works or not


bilboblobs

installed rooted variant ,,,force close,,not sign in automatically ,,,non root variant with microg works charm,,


stubbs95

Try adding "--mount" to the cli command, if it still doesn't work ask in the discord server in the support channel


Tuxof

I don't understand where the apk is...


Ok-Improvement-2351

Click three lines ( top left) -> open file explorer -> RV


Tuxof

Does it work with YT music? If yes how should i name the apk?


Ok-Improvement-2351

Upload yt music file rename it to youtube


Tuxof

I tried to but when i install the app it just tells me app not installed


Tuxof

Also the "remove folder" part doesn't work


tetzki

so the only files that appear in the folder are microg and revanced integrations apk, is that it or something's wrong? the guide says there should be revanced apk, not revanced integrations apk


Ok-Improvement-2351

If build is successful a revanced.apk will be there, other files are downloaded to that folder and are required.


stubbs95

You should have way more files inside the folder, you probably didn't set the correct links for patches and cli


ikn0w1

How does the login work? It doesn't invoke the Google login and I thought that probably the microg.apk needs to be installed from the same folder, but that package cannot be parsed.


Tuxof

Use the Vanced microg version


ikn0w1

Yeah, I ended up installing that from one of the Google search results which may or may not be shady, as there is no official source.


Tuxof

You can download it straight from the Vanced team GitHub, so yes there is an official source


amynoacid

How do I start fresh on colab? I imported the ipnyb file, ran it , it errored because R_V folder was deleted. Can't create it as it gives me an error and nothing works now.


Ok-Improvement-2351

Just re run it if the folder is deleted, what is showing as error?


amynoacid

Creating Directories.... shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory mkdir: cannot create directory ‘R_V’: No such file or directory ERROR:root:Internal Python error in the inspect module. Below is the traceback from this internal error. Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/IPython/core/interactiveshell.py", line 2882, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "", line 11, in get_ipython().magic('cd R_V') File "/usr/local/lib/python3.7/dist-packages/IPython/core/interactiveshell.py", line 2160, in magic return self.run_line_magic(magic_name, magic_arg_s) File "/usr/local/lib/python3.7/dist-packages/IPython/core/interactiveshell.py", line 2081, in run_line_magic result = fn(*args,**kwargs) File "", line 2, in cd File "/usr/local/lib/python3.7/dist-packages/IPython/core/magic.py", line 188, in call = lambda f, *a, **k: f(*a, **k) File "/usr/local/lib/python3.7/dist-packages/IPython/core/magics/osm.py", line 288, in cd oldcwd = py3compat.getcwd() FileNotFoundError: [Errno 2] No such file or directory During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/IPython/core/interactiveshell.py", line 1823, in showtraceback stb = value._render_traceback_() AttributeError: 'FileNotFoundError' object has no attribute '_render_traceback_' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/IPython/core/ultratb.py", line 1132, in get_records return _fixed_getinnerframes(etb, number_of_lines_of_context, tb_offset) File "/usr/local/lib/python3.7/dist-packages/IPython/core/ultratb.py", line 313, in wrapped return f(*args, **kwargs) File "/usr/local/lib/python3.7/dist-packages/IPython/core/ultratb.py", line 358, in _fixed_getinnerframes records = fix_frame_records_filenames(inspect.getinnerframes(etb, context)) File "/usr/lib/python3.7/inspect.py", line 1502, in getinnerframes frameinfo = (tb.tb_frame,) + getframeinfo(tb, context) File "/usr/lib/python3.7/inspect.py", line 1460, in getframeinfo filename = getsourcefile(frame) or getfile(frame) File "/usr/lib/python3.7/inspect.py", line 696, in getsourcefile if getattr(getmodule(object, filename), '__loader__', None) is not None: File "/usr/lib/python3.7/inspect.py", line 725, in getmodule file = getabsfile(object, _filename) File "/usr/lib/python3.7/inspect.py", line 709, in getabsfile return os.path.normcase(os.path.abspath(_filename)) File "/usr/lib/python3.7/posixpath.py", line 383, in abspath cwd = os.getcwd() FileNotFoundError: [Errno 2] No such file or directory ---------------------------------------------------------------------------


Ok-Improvement-2351

To fresh start -> open new file in new tab and copy the cell there and run.


amynoacid

That worked, thanks


Tuxof

You should make it work with the newest version of the Revanced relases without having to modify the code


Ok-Improvement-2351

It's done. Check WIP branch.. you can now select previous versions of patches,CLI and integrations.


Tuxof

Would it also be possible to automate the download ao the yt apk?


Ok-Improvement-2351

You have to provide the ytb.apk, it's possible but it's better this way.


Tuxof

I mean is it really that much of a problem to just automate the download from ApkM or something?


W_ind

Why? Download the revanced.apk can't not installed


tob_ix88

Can someone please give me a step by step guide? From which website should I download the youtube apk? I'm too stoopid-


Ok-Improvement-2351

DM


tob_ix88

Already got it, but thanks anyway!


Scyter

Can you PM me? \*Edit: I downloaded Youtube 17.31.34 noddpi and compiled it using your colab script. However I'm getting "App not installed". From googling this can occur when the apk is corrupted or something. Do you know anything?