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

Status
Not open for further replies.
Search This thread

Danny1976

Senior Member
Sep 27, 2009
727
191
Sanford
is this all the same for YouTube music? I haven't had any issues lately with YouTube itself but since getting a car I have become dependent on YouTube music.

for the record I followed the instructions got the latest yt music APK and used sai to install stock then manually copied the root APK over to replace the stock base APK and it's working for now. I imagine it doesn't survive a reboot without some special mounting script though am I right
It should survive a reboot. What it will not survive is a play store update. I have the LSPosed module blocking the YouTube update. You need install LSPosed and the update locker module. That will prevent the play store from updating the app.
Thread '[MOD][XPOSED][4.1+] Update Locker - stop update your apps' https://xdaforums.com/t/mod-xposed-4-1-update-locker-stop-update-your-apps.4433253/
 

DiamondJohn

Recognized Contributor
Aug 31, 2013
7,384
7,398
Sydney
is this all the same for YouTube music? I haven't had any issues lately with YouTube itself but since getting a car I have become dependent on YouTube music.

for the record I followed the instructions got the latest yt music APK and used sai to install stock then manually copied the root APK over to replace the stock base APK and it's working for now. I imagine it doesn't survive a reboot without some special mounting script though am I right
If you did a manual one off install / replace in place, it sounds like it may stick through a reboot. Not sure, but it sounds like you have a RW system. The remount on booty is normally required for RO system partitions.

As for the playstore, apart from LSposed, you also have the detach method in my app TeMeFI.
 
Last edited:

Danny1976

Senior Member
Sep 27, 2009
727
191
Sanford
Having a weird issue. I finally have the root version running and play store updates blocked. The app doesn't even show on updates with the old version installed. For some reason, if I reboot the phone YouTube gets updated to v.17.11.34, but the latest version is v.17.32.38. I have a OnePlus 8 on oxygen os 12.1. Why would the phone update the app during a reboot?
 

DiamondJohn

Recognized Contributor
Aug 31, 2013
7,384
7,398
Sydney
Having a weird issue. I finally have the root version running and play store updates blocked. The app doesn't even show on updates with the old version installed. For some reason, if I reboot the phone YouTube gets updated to v.17.11.34, but the latest version is v.17.32.38. I have a OnePlus 8 on oxygen os 12.1. Why would the phone update the app during a reboot?
Is it being up[dated by the playstore, or is the mounting on boot failing in Magisk?

how are you blocking updates?
 

Danny1976

Senior Member
Sep 27, 2009
727
191
Sanford
Is it being up[dated by the playstore, or is the mounting on boot failing in Magisk?

how are you blocking updates?
The version it's updating to is located in the root partition of Oxygen OS12. So it seems Oxygen OS12 is updating the app, but why?
 

Attachments

  • Screenshot_2022-08-21-20-48-36-40_e24af01bec3189413074866d0f854b7c.jpg
    Screenshot_2022-08-21-20-48-36-40_e24af01bec3189413074866d0f854b7c.jpg
    374.4 KB · Views: 246

DiamondJohn

Recognized Contributor
Aug 31, 2013
7,384
7,398
Sydney
The version it's updating to is located in the root partition of Oxygen OS12. So it seems Oxygen OS12 is updating the app, but why?
I have NO idea what your screen image is telling me.

But, trying to understand what you typed, I *think* you are saying it is reverting to the YouTube that is installed in the OS, ie OxygenOS 12? If thats the case, then that sounds like the mounting script is failing. Which would also explain why it happens on a reboot.
 

Danny1976

Senior Member
Sep 27, 2009
727
191
Sanford
I have NO idea what your screen image is telling me.

But, trying to understand what you typed, I *think* you are saying it is reverting to the YouTube that is installed in the OS, ie OxygenOS 12? If thats the case, then that sounds like the mounting script is failing. Which would also explain why it happens on a reboot.
The screenshot is of a partiton that was added to the Oxygen OS on the last update. That root partition has the exact same version of Youtube being installed after a reboot. If the google play store was updating it.... it would update it to the v17.32.38 and not to the v17.11.34. The update locker module is blocking the play store update, but OOS12 for some reason is checking the apps version and updating it during the reboot. I am trying to find out on telegram and OOS XDA threads if I can delete those root partitions without bricking the phone.
 

zgfg

Senior Member
Oct 10, 2016
10,763
9,389
Redmi K20 / Xiaomi Mi 9T
Xiaomi Mi 11
The screenshot is of a partiton that was added to the Oxygen OS on the last update. That root partition has the exact same version of Youtube being installed after a reboot. If the google play store was updating it.... it would update it to the v17.32.38 and not to the v17.11.34. The update locker module is blocking the play store update, but OOS12 for some reason is checking the apps version and updating it during the reboot. I am trying to find out on telegram and OOS XDA threads if I can delete those root partitions without bricking the phone.
Updated app is installed to /data/app

If you have v17.11.34 on the /system, /product, /vendor, /system-ext, then that version is pre-installed into your ROM and you cannot prevent that by blocking updates
 
  • Like
Reactions: Danny1976

DiamondJohn

Recognized Contributor
Aug 31, 2013
7,384
7,398
Sydney
The screenshot is of a partiton that was added to the Oxygen OS on the last update. That root partition has the exact same version of Youtube being installed after a reboot. If the google play store was updating it.... it would update it to the v17.32.38 and not to the v17.11.34. The update locker module is blocking the play store update, but OOS12 for some reason is checking the apps version and updating it during the reboot. I am trying to find out on telegram and OOS XDA threads if I can delete those root partitions without bricking the phone.
If you installed an OS update, that included a YT update, I am not surprised it reverted YouTube.

Also, to downgrade YouTube now, thats a different line of adjustment, and your blocking system is probably not designed to stop such an update, as its not a PlayStore update.
 

Danny1976

Senior Member
Sep 27, 2009
727
191
Sanford
Updated app is installed to /data/app

If you have v17.11.34 on the /system, /product, /vendor, /system-ext, then that version is pre-installed into your ROM and you cannot prevent that by blocking updates
Do you know a way to prevent the pre-installed version from being installed during a reboot? Can hide the app from the system the same way I am hiding it from the play store?
 

zgfg

Senior Member
Oct 10, 2016
10,763
9,389
Redmi K20 / Xiaomi Mi 9T
Xiaomi Mi 11
Do you know a way to prevent the pre-installed version from being installed during a reboot? Can hide the app from the system the same way I am hiding it from the play store?
Hiding by adb will not work because the package still remains in the system and when you try to install the older version the system will complain

Check if you can enable (for your ROM) installing the older versions for the apps

Or look in this thread how to 'debloat' (but not by use of adb) the newer, system version of YT

Btw, it's pretty useless and bad idea for custom ROMs to include YT and similar apps into the ROM. If there is GApps (core), every user can install YT, Maps, GMail, etc by his choice

Or the other option will be to use non-root Vanced (with MicroG) - that can be installed in parallel to the official YT (hence, you could then update YT to the latest). You will have two apps then, YT and Vanced
 
Last edited:
  • Like
Reactions: Wolfcity

Danny1976

Senior Member
Sep 27, 2009
727
191
Sanford
Hiding by adb will not work because the package still remains in the system and when you try to install the older version the system will complain

Check if you can enable (for your ROM) installing the older versions for the apps

Or look in this thread how to 'debloat' (but not by use of adb) the newer, system version of YT

Btw, it's pretty useless and bad idea for custom ROMs to include YT and similar apps into the ROM. If there is GApps (core), every user can install YT, Maps, GMail, etc by his choice

Or the other option will be to use non-root Vanced (with MicroG) - that can be installed in parallel to the official YT (hence, you could then update YT to the latest). You will have two apps then, YT and Vanced
I had the non-rooted version and just did not like some links opening on Youtube and not Vanced. If I disable Youtube and keep vanced.... I start getting notifications on Google Messages that I need to install Youtube when there is a Youtube link.
 

ReservedName

Member
Oct 29, 2014
43
42
If you did a manual one off install / replace in place, it sounds like it may stick through a reboot. Not sure, but it sounds like you have a RW system. The remount on booty is normally required for RO system partitions.

As for the playstore, apart from LSposed, you also have the detach method in my app TeMeFI.
so I used to have a rw system but I can't get systemless host module to work, ad away isn't working and YouTube music gets replaced on reboot (although YouTube vanced does not) somehow also I lost safety net recently. I know I'm a little behind bc I'm still on Android 11 but man everything stopped working all of a sudden. gonna try to get yt music installed again then consider backing up my authenticator and upgrading to 12
 
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 !!)