[Android Apps and Games] i5lee8bit:
Magisk Files for 15.40.37

NEWEST UPDATE: 17.03.38 Magisk files here:

https://xdaforums.com/t/app-mod-root-nonroot-youtube-vanced-edition.3758757/post-86443449

Older Release: 16.29.39 Magisk files here: https://xdaforums.com/t/app-mod-root-nonroot-youtube-vanced-edition.3758757/post-85452853

Older Release: 16.20.35 Magisk files here: https://xdaforums.com/t/app-mod-root-nonroot-youtube-vanced-edition.3758757/post-85189231

Older Release: 16.16.38 Magisk files here: https://xdaforums.com/t/app-mod-root-nonroot-youtube-vanced-edition.3758757/post-84930637

Older Release: 16.14.34 Magisk files here: https://xdaforums.com/t/app-mod-root-nonroot-youtube-vanced-edition.3758757/post-84905091

Older Release: 16.02.35 Magisk files here: https://xdaforums.com/t/app-mod-root-nonroot-youtube-vanced-edition.3758757/post-84375663

Older Release: 15.43.32 Magisk files here: https://xdaforums.com/showpost.php?p=83855303&postcount=17387

Hey guys, I thought I'd finally contribute something to this thread, and the Vanced community in general. Long time lurker to the project, just in the background reading up, researching, appreciating all the collaboration, and silently thanking ppl's posts for their useful contributions. (I hope this isn't stepping on anybody's toes, whether Vanced devs or others who contributed towards ongoing Magisk solutions. If so, someone please request a mod to delete my post.)

Anyway, I figured I would put all the files together needed to do a Magisk install of the latest version as of now (15.40.37). So you don't have to hunt for the apkmirror apkm, convert to apks, use Vanced Manager, worry about disabling signature verification, etc. You will still need SAI to install the .apks file though. I'm also neurotic about naming files, keeping things organized, and labeling stuff logically, so I changed the Magisk module so it actually has the vanced version number in the title and description... believe it or not, that last one of the sole reasons I went through all of this, then in the end decided I may as well share it ;). Also, I hadn't updated since 15.33.34. And for future updates, hopefully it can follow the same logic. Anyway, without further ado, here are the files:

YouTube 15.40.37 .APKS / YouTube Vanced 15.40.37 Magisk Modules:

YouTube-Vanced-15.40.37-Dark_Magisk.zip: https://www.androidfilehost.com/?fid=10763459528675567005

YouTube-Vanced-15.40.37-Black_Magisk.zip: https://www.androidfilehost.com/?fid=10763459528675567004

youtube-15.40.37_apks.zip: https://www.androidfilehost.com/?fid=10763459528675567011

(sorry, AFH doesn't allow uploads of .apks files, so I zipped up the stock YouTube 15.40.37 apks file before uploading)

edit: note: btw the module id tags are the same in each module, so you can easily switch between dark and black by simply flashing the other module and rebooting.

Extract the .apks file from "youtube-15.40.37_apks.zip". Install stock YouTube 15.40.37 .apks with SAI. Choose your Vanced version (dark or black) and install in Magisk Manager. Be sure to remove any old YouTube Vanced Magisk modules first, before rebooting. Hopefully that's it. If the app keeps crashing after reboot, read next part below.

(Remember, this whole paragraph... well, post really, is in context of Magisk installs)... If you have issues with the app crashing afterwards, try clearing data for the YouTube app. If it persists, I've had this problem before, and strangely the exact same thing happens if YouTube accidentally gets updated. With previous versions from v14.x and below, with Magisk installs, if YouTube accidentally gets updated we could simply uninstall updates to YouTube and that's it; Vanced is back up and running, no problems. Unfortunately with these newer versions since moving to split apk's and/or the new signature scheme, at least in my experience is I will get persistent crashing until I do the following:

- Uninstall all YouTube updates (btw, YouTube must be a stock/factory system app)

- Clear data for YouTube

- Delete YouTube Vanced Magisk modules, REBOOT

- Update stock YouTube with .apks to same version as current Vanced (using SAI)

- Install YouTube Vanced Magisk module, REBOOT

- should work now without crashing

Tested on my Pixel 4 XL, wife's Pixel 4, HTC M9, HTC U11, HTC U12+, and a Galaxy Tab S with LineageOS that I barely ever use.

Not yet tested on Android 11 (we haven't updated our P4's yet), so that hasn't been tested - but the module service script does have lines for Android 11, so I would expect it to work.

Shoutouts and thanks to @73sydney, @ipdev, @Eselter, and @majicmazo for pioneering the continuation (hah sounds oxymoronic) of the Magisk method and being the reason this method even continues to exist. And the Vanced team for their ongoing work on what I consider one of the most useful mods for Android.

Inspired by 73sydney's post, ipdev's insight, and community effort. =)