[Solved]How do i install YouTube Vanced (Root)

Locked
User avatar
LazyBunny
Posts: 30
Joined: Thu Jun 09, 2016 5:32 pm
languages_spoken: english
ODROIDs: Odroid-C2
Has thanked: 2 times
Been thanked: 4 times
Contact:

[Solved]How do i install YouTube Vanced (Root)

Unread post by LazyBunny » Wed Sep 11, 2019 4:54 am

https://vanced.app/APKs?type=ROOT

Edit: This is how! viewtopic.php?f=137&t=36356


Trying to install the root version of Youtube Vanced.
But i don't have TWRP recovery... So you can no doubt see my dilemma.

Not sure if i have to use the terminal or what. But a quick step by step would be nice. Especially for steps that may be tricky, like sudo commands.
Last edited by LazyBunny on Sun Sep 15, 2019 6:33 am, edited 2 times in total.
Apply bunny directly to face.
*Facebun*
Image

User avatar
odroid
Site Admin
Posts: 32677
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 209 times
Been thanked: 364 times
Contact:

Re: How do i install YouTube Vanced (Root)

Unread post by odroid » Wed Sep 11, 2019 9:17 am

I think you might need to install the Magisk first.
viewtopic.php?f=137&t=26770

And Install YouTube Vanced from the Magisk repository.
https://vanced.app/APKs?type=MAGISK
These users thanked the author odroid for the post:
LazyBunny (Sat Sep 14, 2019 12:06 pm)

User avatar
LazyBunny
Posts: 30
Joined: Thu Jun 09, 2016 5:32 pm
languages_spoken: english
ODROIDs: Odroid-C2
Has thanked: 2 times
Been thanked: 4 times
Contact:

Re: How do i install YouTube Vanced (Root)

Unread post by LazyBunny » Wed Sep 11, 2019 10:09 am

Naw.. There has to be another way. I don't have a ubuntu PC or a week to spend on this. There is no way I'd go through all that. If there's no other way to install the root version, then i'll settle for the non-root version.

Edit: looks like settling for the non-root version may not be an option either. Since google assistant doesn't play well with it.
Apply bunny directly to face.
*Facebun*
Image

User avatar
LazyBunny
Posts: 30
Joined: Thu Jun 09, 2016 5:32 pm
languages_spoken: english
ODROIDs: Odroid-C2
Has thanked: 2 times
Been thanked: 4 times
Contact:

Re: How do i install YouTube Vanced (Root)

Unread post by LazyBunny » Thu Sep 12, 2019 7:53 am

I found a work around. And found a way to install the root version. It's also super easy compared to the magisk technique.
This DOES work with Google Assistant so you can say "Ok Google, play Shallow by pentatonix on youtube." and it'll play it in youtube vanced, ad free.

I had to install opengapps Stock, by using a gapps-config.txt that only listed a few items as "included" but two items you absolutely want is Search (google app) and (Youtube) app. Since you absolutely need the youtube app to be installed as a system app for this workaround to work.

You can't include too much from the gapps stock, since it'll say you don't have enough space. I'll include a list of what to put in the gapps-config.txt which goes in the same folder as your gapps arm 6.0 stock zip.

Ok, here's the steps i had to take. (steps/sections)
Step 1... Install YouTube Vanced Root on a normal Rooted phone or tablet that also uses a 32bit android build in the android 5.0-6.0 range. For me, i used my rooted Samsung On5.

Step 2: Using a file browser with root access, i use MiXplorer from the XDA forums, go into /system/app and copy the Youtube (after youtube vanced is installed) folder, to your desktop OR to another storage device. I use MiXplorer's built in FTP Server, direct MiXplorer to the system folder, then i start the server and when i open the FTP address on my PC, it goes right into the system folder on my phone.
So i was able to copy my Youtube Folder to my desktop. Inside it has Youtube.apk and Lib folder.

Step 3: On the odroid c2, and if you've installed youtube through gapps and not the playstore, you should also have a youtube folder in /system/app/
Go into your settings, apps, youtube, and force close the app, to make sure it's not running. Then access /system/ with the mixplorer/file browser, i again did this with the FTP and i deleted all the files inside the odroids /system/app/Youtube/ folder.. which happens to only include the official Youtube.apk.

Step 3b: Copy the youtube.apk and lib folder that you got from your rooted phone/tablet over into your odroids /system/app/Youtube folder

Step 4: Reboot the odroid. And done.

Copy/paste this into a file named gapps-config.txt and put it in the same folder as your STOCK version of arm gapps 6.0. Not the pico or nano.

Code: Select all

Include
# Pico+
CalSync                 # Install Google Calendar Sync (if Google Calendar is being installed)
GoogleTTS               # Install Google Text-to-Speech Engine (Micro+ on 5.0-, Pico+ on 6.0+)
PackageInstallerGoogle  # Install Package Installer (Android 6.0 only & Android 8.0+)

# Nano+
FaceDetect              # Install Face Detect Library
Search                  # Install Google App (excluding excludes GoogleNow/PixelLauncher)
Speech                  # Install Offline Speech Files

# Micro+
CalendarGoogle          # Install Google Calendar
Gmail                   # Install Gmail

# Mini+
CalculatorGoogle        # Install Google Calculator (Android 5.0
YouTube                     # Install Youtube as a system app
Here's a picture showing The Youtube Vance installed, but named Youtube and not "Youtube Vanced", as the non-root version is called.
Screenshot_20190911-174645.png
Screenshot_20190911-174645.png (229.51 KiB) Viewed 962 times
These users thanked the author LazyBunny for the post (total 2):
rooted (Thu Sep 12, 2019 7:20 pm) • mad_ady (Fri Sep 13, 2019 12:37 am)
Apply bunny directly to face.
*Facebun*
Image

User avatar
rooted
Posts: 6869
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 265 times
Been thanked: 57 times
Contact:

Re: How do i install YouTube Vanced (Root)

Unread post by rooted » Thu Sep 12, 2019 7:20 pm

Nice work

User avatar
mad_ady
Posts: 6852
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 234 times
Been thanked: 176 times
Contact:

Re: How do i install YouTube Vanced (Root)

Unread post by mad_ady » Fri Sep 13, 2019 12:38 am

You should make the instructions fool-proof and send @robroy an article for the magazine. I too think it's cool

User avatar
LazyBunny
Posts: 30
Joined: Thu Jun 09, 2016 5:32 pm
languages_spoken: english
ODROIDs: Odroid-C2
Has thanked: 2 times
Been thanked: 4 times
Contact:

Re: How do i install YouTube Vanced (Root)

Unread post by LazyBunny » Fri Sep 13, 2019 2:12 am

@mad_ady
To be fair, my name IS Lazy Bunny, not Goes out of her way Bunny. ^_^ All kidding aside, I might, my emmc arrives today so i'll be repeating the process. I've been doing this on an SD card.

Since there's a lot of little steps, and common-sense steps, and things that require previous knowledge on, i'm not sure how much detail to go into. Like do i have to Describe how to setup FTP in MiXplorer? I'm wondering if i can get permission from the Youtube Vanced team, to upload the youtube apk and files, for use here. So people without an older rooted phone/tablet can still perform this. I'll do that now, because that'll be a game changer, since that'll simplify everything.
Apply bunny directly to face.
*Facebun*
Image

User avatar
mad_ady
Posts: 6852
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 234 times
Been thanked: 176 times
Contact:

Re: How do i install YouTube Vanced (Root)

Unread post by mad_ady » Fri Sep 13, 2019 2:16 pm

You're going to get some goodies out of it if you go the extra mile and publish :)
Plus that warm, fuzzy feeling you get for doing good for the community. As a bunny, you should know what I'm talking about :)

User avatar
LazyBunny
Posts: 30
Joined: Thu Jun 09, 2016 5:32 pm
languages_spoken: english
ODROIDs: Odroid-C2
Has thanked: 2 times
Been thanked: 4 times
Contact:

Re: How do i install YouTube Vanced (Root)

Unread post by LazyBunny » Sat Sep 14, 2019 3:24 am

Still waiting for the permissions.

Edit:
Like i wrote up the tutorial and have a draft saved, took me about an hour, but i really-really want to get permissions from the YouTube Vanced team. I've sent them a message on the XDA-developers forums, and sent one to one of the top bananas on their discord channel. But no reply yet.
Apply bunny directly to face.
*Facebun*
Image

User avatar
mad_ady
Posts: 6852
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 234 times
Been thanked: 176 times
Contact:

Re: How do i install YouTube Vanced (Root)

Unread post by mad_ady » Sat Sep 14, 2019 2:17 pm

Any way to extract what's needed from their package?

User avatar
LazyBunny
Posts: 30
Joined: Thu Jun 09, 2016 5:32 pm
languages_spoken: english
ODROIDs: Odroid-C2
Has thanked: 2 times
Been thanked: 4 times
Contact:

Re: How do i install YouTube Vanced (Root)

Unread post by LazyBunny » Sun Sep 15, 2019 6:21 am

mad_ady wrote:
Sat Sep 14, 2019 2:17 pm
Any way to extract what's needed from their package?
Yes.. yes there is! After talking with xfileFIN, one of the Youtube Vanced devs. he explained how to simplify it and extract the files, super easy. And it's so easy, i feel silly now.

Short version for extracting the files.
Download the armeabi-v7a root version, theme of your choice. Create a copy. Rename 1 to Youtube.APK, and 1 to something.zip, extract the /lib/ folder from the zip. And done. Extracting the libs lets the system access them much faster, his words. and lesbihonest, we need all the performance we can get.

Still gotta go through some other steps such as uninstalling youtubes updates, disabling automatic updates, Disabling Youtube, Copying the files and setting the permissions and so forth, but just getting the files is easy. So yeah.. i don't need permissions now. :D since i don't have to upload the files. XD
These users thanked the author LazyBunny for the post:
mad_ady (Sun Sep 15, 2019 4:16 pm)
Apply bunny directly to face.
*Facebun*
Image

User avatar
odroid
Site Admin
Posts: 32677
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 209 times
Been thanked: 364 times
Contact:

Re: [Solved]How do i install YouTube Vanced (Root)

Unread post by odroid » Mon Sep 16, 2019 9:55 am

Nice work!
Can we publish this great guide on our Magazine?
viewtopic.php?f=137&t=36356

Locked

Return to “Android”

Who is online

Users browsing this forum: No registered users and 1 guest