[CLOSED][APP][MOD][ROOT/NONROOT] Vanced

Status
Not open for further replies.
Search This thread

garylawwd

Forum Moderator
Staff member
it's in a code box, so unless you've been scrolling inside the box it should've taken you less than a second to reach the bottom of his post.
Doesn't work like that on the mobile app as he mentioned but very exaggerated response it only takes a couple seconds tops to scroll past.
Bit ot and kinda silly seeing as nobody provides logs and then the one guy that does still gets crap for it :p
Very amusing thread to read it's full of drama :laugh:
 

rimkashox

Member
Jan 3, 2020
12
4
Doesn't work like that on the mobile app as he mentioned but very exaggerated response it only takes a couple seconds tops to scroll past.
Bit ot and kinda silly seeing as nobody provides logs and then the one guy that does still gets crap for it :p
Very amusing thread to read it's full of drama :laugh:

Thanks for the defense lol, and cpt, my head is already shaved :laugh:, but seriously guys, what does the error in the log tell you? How can I make this app work?? Please help me!

Those 2 lines seems suspicious, that might be SELinux causing problems right?

Code:
01-03 07:32:26.906 22874 22874 I yt-init13-1: type=1400 audit(0.0:1549): avc: denied { open } for uid=10108 path="/dev/__properties__/u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=13645 scontext=u:r:untrusted_app:s0:c108,c256,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=1
01-03 07:32:26.906 22874 22874 I yt-init13-1: type=1400 audit(0.0:1550): avc: denied { getattr } for uid=10108 path="/dev/__properties__/u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=13645 scontext=u:r:untrusted_app:s0:c108,c256,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=1
 
Last edited:

rimkashox

Member
Jan 3, 2020
12
4
Thanks for the defense lol, and cpt, my head is already shaved :laugh:, but seriously guys, what does the error in the log tell you? How can I make this app work?? Please help me!

Those 2 lines seems suspicious, that might be SELinux causing problems right?

Code:
01-03 07:32:26.906 22874 22874 I yt-init13-1: type=1400 audit(0.0:1549): avc: denied { open } for uid=10108 path="/dev/__properties__/u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=13645 scontext=u:r:untrusted_app:s0:c108,c256,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=1
01-03 07:32:26.906 22874 22874 I yt-init13-1: type=1400 audit(0.0:1550): avc: denied { getattr } for uid=10108 path="/dev/__properties__/u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=13645 scontext=u:r:untrusted_app:s0:c108,c256,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=1

tried with: setenforce 0, but problem still here :crying:
 

mrjuniork

Forum Moderator
Staff member
Aug 29, 2015
2,009
5,412
OnePlus 6
OnePlus 7 Pro
If I see you posting a log in a post again I will shave your head. (I'm on mobile and I just scrolled for 1 minute to reach the bottom)
Then it's absolutely time for you to upgrade to the newest flagships with a 90Hz display, so while scrolling for 1 minute, at least it's smooth af ;)
 

rimkashox

Member
Jan 3, 2020
12
4
Hey folks, about my Stuck-on-Splashscreen issue on Motorola G7 Power rooted and Vanced installed via Recovery (all other methods tried too), I've narrowed down the issue to "E YouTube : Unexpected exception while attempting to get the GCM registration token". More relevant logs bellow...

Please @ZaneZam, @Razerman, @KevinX8 and @laura almeida, you are Youtube Vanced Gods, please point me in the right direction, been spending days and nights on this issue. Thanks!

Code:
01-04 01:16:02.606 20758 20793 W YouTube : Fetching the Gservices key 'disable_binder_callback_flush' before the end of the bulk initialization
01-04 01:16:02.608 20758 20796 W YouTube : Fetching the Gservices key 'failsafe_clear_cache_release_13_02' before the end of the bulk initialization
01-04 01:16:02.701 20758 20797 W YouTube : Fetching the Gservices key 'disable_native_cronet' before the end of the bulk initialization
01-04 01:16:03.041 20758 20840 W YouTube : ECatcher disabled: level: ERROR, category: initialization, message: Failed to obtain process fork time using RecentTaskInfo
01-04 01:16:03.041 20758 20840 W YouTube : xbf: valueInCurrentMillis bad value: 0
01-04 01:16:03.041 20758 20840 W YouTube : 	at ege.b(SourceFile:16)
01-04 01:16:03.041 20758 20840 W YouTube : 	at dqh.run(SourceFile:313)
01-04 01:16:03.041 20758 20840 W YouTube : 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:458)
01-04 01:16:03.041 20758 20840 W YouTube : 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
01-04 01:16:03.041 20758 20840 W YouTube : 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
01-04 01:16:03.041 20758 20840 W YouTube : 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
01-04 01:16:03.041 20758 20840 W YouTube : 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
01-04 01:16:03.041 20758 20840 W YouTube : 	at xae.run(SourceFile:12)
01-04 01:16:03.041 20758 20840 W YouTube : 	at java.lang.Thread.run(Thread.java:764)
01-04 01:16:35.611 20758 20805 E YouTube : Unexpected exception while attempting to get the GCM registration token
01-04 01:16:35.611 20758 20805 E YouTube : java.io.IOException: SERVICE_NOT_AVAILABLE
01-04 01:16:35.611 20758 20805 E YouTube : 	at qhu.a(SourceFile:42)
01-04 01:16:35.611 20758 20805 E YouTube : 	at tkf.a(SourceFile:42)
01-04 01:16:35.611 20758 20805 E YouTube : 	at afwm.run(Unknown Source:3)
01-04 01:16:35.611 20758 20805 E YouTube : 	at ankm.run(SourceFile:2)
01-04 01:16:35.611 20758 20805 E YouTube : 	at ankl.run(SourceFile:15)
01-04 01:16:35.611 20758 20805 E YouTube : 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:458)
01-04 01:16:35.611 20758 20805 E YouTube : 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
01-04 01:16:35.611 20758 20805 E YouTube : 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
01-04 01:16:35.611 20758 20805 E YouTube : 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
01-04 01:16:35.611 20758 20805 E YouTube : 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
01-04 01:16:35.611 20758 20805 E YouTube : 	at xae.run(SourceFile:12)
01-04 01:16:35.611 20758 20805 E YouTube : 	at java.lang.Thread.run(Thread.java:764)
 
Last edited:

Ghost505

Senior Member
Sep 17, 2018
84
48
I reinstalled everything micro+apk for non root version on my android 9 and battery optimization are disabled etc... and it is still not working.
My issue is that as soon as I play a video on youtube vanced in background, on 5 minutes after the screen is off the audio from the video disappears and when I open the screen the YouTube Vanced app is gone. It is like the application either silently crashed or just got removed from memory. It is the only app that does that.

I am not sure what to do at this point...
 
Last edited:

rimkashox

Member
Jan 3, 2020
12
4
Hey folks, about my Stuck-on-Splashscreen issue on Motorola G7 Power rooted and Vanced installed via Recovery (all other methods tried too), I've narrowed down the issue to "E YouTube : Unexpected exception while attempting to get the GCM registration token". More relevant logs bellow...

Please @ZaneZam, @Razerman, @KevinX8 and @laura almeida, you are Youtube Vanced Gods, please point me in the right direction, been spending days and nights on this issue. Thanks!

Code:
01-04 01:16:02.606 20758 20793 W YouTube : Fetching the Gservices key 'disable_binder_callback_flush' before the end of the bulk initialization
01-04 01:16:02.608 20758 20796 W YouTube : Fetching the Gservices key 'failsafe_clear_cache_release_13_02' before the end of the bulk initialization
01-04 01:16:02.701 20758 20797 W YouTube : Fetching the Gservices key 'disable_native_cronet' before the end of the bulk initialization
01-04 01:16:03.041 20758 20840 W YouTube : ECatcher disabled: level: ERROR, category: initialization, message: Failed to obtain process fork time using RecentTaskInfo
01-04 01:16:03.041 20758 20840 W YouTube : xbf: valueInCurrentMillis bad value: 0
01-04 01:16:03.041 20758 20840 W YouTube : 	at ege.b(SourceFile:16)
01-04 01:16:03.041 20758 20840 W YouTube : 	at dqh.run(SourceFile:313)
01-04 01:16:03.041 20758 20840 W YouTube : 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:458)
01-04 01:16:03.041 20758 20840 W YouTube : 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
01-04 01:16:03.041 20758 20840 W YouTube : 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
01-04 01:16:03.041 20758 20840 W YouTube : 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
01-04 01:16:03.041 20758 20840 W YouTube : 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
01-04 01:16:03.041 20758 20840 W YouTube : 	at xae.run(SourceFile:12)
01-04 01:16:03.041 20758 20840 W YouTube : 	at java.lang.Thread.run(Thread.java:764)
01-04 01:16:35.611 20758 20805 E YouTube : Unexpected exception while attempting to get the GCM registration token
01-04 01:16:35.611 20758 20805 E YouTube : java.io.IOException: SERVICE_NOT_AVAILABLE
01-04 01:16:35.611 20758 20805 E YouTube : 	at qhu.a(SourceFile:42)
01-04 01:16:35.611 20758 20805 E YouTube : 	at tkf.a(SourceFile:42)
01-04 01:16:35.611 20758 20805 E YouTube : 	at afwm.run(Unknown Source:3)
01-04 01:16:35.611 20758 20805 E YouTube : 	at ankm.run(SourceFile:2)
01-04 01:16:35.611 20758 20805 E YouTube : 	at ankl.run(SourceFile:15)
01-04 01:16:35.611 20758 20805 E YouTube : 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:458)
01-04 01:16:35.611 20758 20805 E YouTube : 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
01-04 01:16:35.611 20758 20805 E YouTube : 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
01-04 01:16:35.611 20758 20805 E YouTube : 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
01-04 01:16:35.611 20758 20805 E YouTube : 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
01-04 01:16:35.611 20758 20805 E YouTube : 	at xae.run(SourceFile:12)
01-04 01:16:35.611 20758 20805 E YouTube : 	at java.lang.Thread.run(Thread.java:764)

Ok, made it work, not perfect but working.

Step 1 / Even if on rooted device, download and install via adb push, MicroG and Youtube Vanced
Step 2/ With the Activity Launcher app, open MicroG setting and log in to your Google account there.
Step 3/ Since the GCM token thing is about messaging i.e. notification, with Activity Launcher app, access Vanced settings and under Notifications, disable all!

Then Youtube Vance launches and appears to be working fine, apart for the notifications that are turned off. Don't know how accurate all of this is, but it works, if anyone know more, explanations are welcome!

P.S. Also added my android id here https://www.google.com/android/uncertified/, don't know if it's related or not (that alone didn't solve the problem), just thought that it was useful to mention.
 
Last edited:
  • Like
Reactions: madbat99

jerryspring

Senior Member
Feb 18, 2018
1,932
180
Still getting this crap. How we rid it?
 

Attachments

  • Screenshot_20200104-064830.jpg
    Screenshot_20200104-064830.jpg
    188.1 KB · Views: 1,161

Eleo

Senior Member
Apr 16, 2012
16,404
14,772
Essen, Germany
Google Pixel 3a XL
Google Pixel 6
Still getting this crap. How we rid it?
Ads are regional. So, no. No way to get rid of it other than relocating or using vpn for different country that doesn't get ads (e.g. I could get YouTube homepage ads when using vpn of country that had ads when the country I was located in, didn't get ads). And NO. Vanced YouTube's main idea is getting rid of ads INSIDE video, not in the homepage/search results page.

P.S. There is no information about your youtube app or your vanced settings so that is all we can say

Sent from my Google Pixel 3a XL using XDA Labs
 
  • Like
Reactions: jerryspring

jerryspring

Senior Member
Feb 18, 2018
1,932
180
Ads are regional. So, no. No way to get rid of it other than relocating or using vpn for different country that doesn't get ads (e.g. I could get YouTube homepage ads when using vpn of country that had ads when the country I was located in, didn't get ads). And NO. Vanced YouTube's main idea is getting rid of ads INSIDE video, not in the homepage/search results page.

P.S. There is no information about your youtube app or your vanced settings so that is all we can say
I tried ridding by 3 for menu and disable Google ads via Google. No dice. My VPN is not working either.
 

monoculero

Member
Feb 22, 2015
20
2
Same problem with non-rooted: stuck at splash screen. I'm using the last both version of micro-g and youtube-vanced apps. Waiting for a possible solution. Thanks for the work!!!
 
Last edited:
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 1692
    Mod Edit├┤Closing note. YouTube Vanced lives on in ReVanced (not affiliated with Vanced)├

    ‼️Before asking or posting anything, please read the first and second posts.‼️

    Always check the official Vanced website or XDA thread when downloading. Other sites are fake, contain advertisements (possibly even malware), and have older versions.

    Vanced Banner-01-01.png

    Vanced is a well-known modded version of the YouTube app with many features such as ad-blocking and background playback. Vanced also offers some extra features to enhance the user experience. The entire list is available below:

    Features:



    INSTALLATION INSTRUCTIONS:

    Since YouTube v14.41.52, Google has moved to split APKs format. The Android package installer doesn't support Split apks yet, so we are now using Vanced manager for installing all vanced apps. The steps to use the vanced manager are below:
    Especially for MIUI, there's a separate guide that can be accessed using this link. For all other devices, please follow below:

    For Non-Root:
    1. Install Vanced Manager
    2. Open Vanced Manager and tap the blue arrow in the lower right corner.
    3. Begin installing Vanced microG. (Without which you won't be able to install Vanced (or Music Vanced) or use login)
    4. Then install Vanced (or Music Vanced), log in to your account and enjoy!
    For Root:
    1. Install Vanced Manager
    2. Open Vanced manager and tap on the "Magisk" icon to grant root permissions.​
    3. Once you are in, begin installing Vanced (or Music Vanced).​


    Important information:

    • We replaced our root installation with vanced manager, which directly mounts vanced on top of Youtube in the /data/app directory, making it easier and faster than before.
    • Vanced will not block ads while casting since when you use the casting feature, it doesn't send the video from your phone to the Chromecast/TV. Instead, your phone acts like a remote controller for the youtube app in your Chromecast/TV. That is why the advertisement is displayed.
    • Purchasing items in the non-root version of the app will not work as microG doesn't support it. Hence, it is preferable to use the original YouTube app or using the web version for any purchase.
    • If your videos are lagging or the application starts to crash while watching live videos, please enable VP9 codec from codec override present under vanced settings. Google forced the ExoPlayer v2, which is highly experimental and unstable on unsupported devices.
    • YouTube has dropped support for Android 5 (Lollipop) with v17.xx.xx. Hence, the minimum supported version is now Android 6 and above.


    Known bugs:

    • Swipe down gesture for refreshing home feed breaks randomly. It's an issue with litho that only Google can fix. There's nothing we can do to fix it. (Tap here to learn more)
    • As of v16.16.38, casting won't work due to an upstream microG bug. (Tap here to learn more)
    • On portrait/vertical videos, preferred quality options do not work.
    • Swipe controls triggers when swiping either upwards or downwards to scroll through description or in live chat when in landscape mode.
    • On new action bar layouts(server-sided feature), the new toggles won't work.
    • Info cards toggle is broken (Temp fix: Disable it through your Google account settings. This setting disables info cards everywhere.)
    • App crashes with java.lang.ExceptionInInitializerError while playing some video outside of vanced.
    • Manual codec override is broken and very experimental.
    • Some users might face geographical ads on YouTube Shorts tab.
    • SponsorBlock segments at the end of videos in playlists causes playback on the next video to start where the previous one ended.


    Social links





    Thread Managed by @ZaneZam, @Razerman, @KevinX8 and @laura almeida

    559

    BUG Reports:


    Steps to do before reporting a bug:
    1. Do a search and see if it has already been reported
    2. Check that the bug is actually a Vanced bug and doesn't happen in the original YouTube.
    Steps to do when reporting a bug:
    1. Make sure you are being enough descriptive of the problem.
    2. Take a logcat (Google search if you don't know how). Especially if the issue is a crash.
    3. Taking pictures of the problem doesn't hurt.
    4. If the report is vague (missing information), it will most likely just be ignored. If you are not going to show any effort in resolving the problem, why should I?
    Bug report template:
    1. Vanced exact version number (Do NOT say latest).
    2. Download link used to download Vanced.
    3. Installation method (whether user SAI or Vanced Manager)
    4. Device.
    5. ROM (optional may not help).
    6. Any applied Substratum/swift overlays.
    7. Logs if there are any crashes/force closes (upload to Pastebin or hastebin or katbin) and paste the link of it with your report. [Check here to know how to get logs]
    8. A brief description of the issue
    9. Any installed mods to the system.
    10. Test your issue on the stock youtube app

    Important links:

    307
    Downloads:


    Alternative Mirrors for pre 15.x: AFH Mediafire
    101
    New site up https://vanced.azurewebsites.net/ with latest version of YouTube as base (13.10). Includes some bugfixes and other changes detailed on discord. At the time of writing this post apkmirror lacks apks for arm so you will have to wait a while until it has them and then we will be able to make arm root builds.
    83
    New update is out v13.28.54 with following changes:
    - 13.28.53 Full width search bar fix
    - Translation support for more strings
    - HDR brightness bug fixed when using swipe controls
    - Auto repeat can now be linked to autoplay toggle
    - Top-Swipe paddig range added
    - Seek buttons fixed
    - COMPLETE REWORK of all mods for v13.27+ versions (many thx and all credits to @Razerman !!)