[MODULE] Inject YouTube

Search This thread

ipdev

Recognized Contributor
Feb 14, 2016
2,395
1
4,825
Google Nexus 10
Nexus 7 (2013)
Well, how should i say it... :D
No worries. 🙂
I mean, what's the point of this verification? Even if such verification presents, Youtube and all of it's functions will still work, no? What's the point then?
During boot, installed apps are checked and the newest (verified) version is loaded.
If the app fails verification it will not be loaded.

In the case of system (pre-installed) app(s), if it fails verification..
System is read-only so it can not be deleted (removed) just disabled and not shown in the launcher.

Updates to system app(s) and user installed app(s), if it fails verification..
The failed app is disabled and deleted since userdata is read-write.
Might not be fully deleted, instead only partially deleted preventing it from being able to be loaded the next time.

---

Example:
Since manufactures often include YouTube in their stock OS (ROM)..

If the pre-installed (system) version of YouTube is v15.18.39.
Update (install) from PlayStore or manually install v17.41.37, the update is installed into userdata.
v15.18.39 is unloaded and v17.41.37 is loaded at the end of the install.
During boot, both v15.18.39 and v17.41.37 are found, the newest version (v17.41.37) will be loaded.​

Update (install) from PlayStore or manually install v17.43.36 is installed into userdata.
v17.41.37 is unloaded and v17.43.36 is loaded at the end of the install.
v17.41.37 is deleted (removed) from userdata.
During boot, both v15.18.39 and v17.43.36 are found, the newest version (v17.43.36) will be loaded.​

Replace v17.43.36 with a modified version that does not pass verification.
During boot, both v15.18.39 and v17.43.36 are found, the newest version (v17.43.36) fails verification and will not be loaded.
It will fallback to and load v15.18.39 instead, also deleting the failed v17.43.36 version.​

If there is no pre-installed (system) YouTube, or it also fails verification, then no version is available to be loaded.
The failed version in userdata is still deleted.

---

Better help (explanation) or did I make it more confusing. 🙃

Cheers. :cowboy:
 
Feb 26, 2016
15
1
First of all, I have to say that this module is the only way (as far as I know!) that works really well for me, so thank you, you did a great job! And second, is there any chance you'd make a Revanced Extended version? Tbh I don't mind to do it by myself as long as the procedure is easy enough for a total noob as myself 😆

Thanks in advance!
 
  • Like
Reactions: ipdev

ipdev

Recognized Contributor
Feb 14, 2016
2,395
1
4,825
Google Nexus 10
Nexus 7 (2013)
First of all, I have to say that this module is the only way (as far as I know!) that works really well for me, so thank you, you did a great job! And second, is there any chance you'd make a Revanced Extended version? Tbh I don't mind to do it by myself as long as the procedure is easy enough for a total noob as myself 😆

Thanks in advance!
I have been debating about it. ;)
Not sure if there is a good reason to switch iYT/iYTM over to the extended repo.

There are a few other changes to this project that I am still deciding about.
Should I bring YT and YTM together into one project or keep them separate?
Should I drop the "black" themed version of YT?
It would make merging iYT and iYTM into one project easier.
Is there a good reason to switch to the extended repo instead of the main repo?​

Cheers. :cowboy:

Edit:
As of now, the "black" themed version is depreciated.
Changes in the YouTube's theme makes it redundant.
See Post #91 in the ▶️ReVanced & ReVanced Extended - Guides & Useful Links📚 thread.
 
Last edited:
  • Like
Reactions: more_than_hater

more_than_hater

Senior Member
May 3, 2016
320
93
Odessa
Better help (explanation) or did I make it more confusing. 🙃
It's awesome! Thank you very much for your time and explanation.
Guess, oneplus with it's oxygen 11 isn't affected with such a problem, dunno about their latest oxygen color os though.

Should I drop the "black" themed version of YT?
Imo - yes, haven't used custom blacked version since google added night theme to YT
And if it helps you in some way - then it's double yes.
Btw, long live spotify, except you guys like to watch vids along listening to music, heh.
 
  • Like
Reactions: ipdev

ipdev

Recognized Contributor
Feb 14, 2016
2,395
1
4,825
Google Nexus 10
Nexus 7 (2013)
Hi all. 🙂

Just a few notes about the last updates. 🙃

---

Inject YouTube is now a single module.
No more 'Black' or 'Dark' variants.
- Updated to YouTube v17.49.37

Updates in the theming for YouTube made the separate 'black' version obsolete.
The 'dark' version has been the regular YouTube themed version since Google started supporting a dark theme years ago.

The module is now just named Inject YouTube.
Both the 'black' and 'dark' modules now point to the new single module.

When you update, you will see a new module installed instead of an update to the existing module.
The older version will still show an update is available since the new version is installed as a new module.
The older dark/black module will be removed on boot with the new (v17.49.37) version of the module.

Screenshot_20221224-102954.png Screenshot_20221224-103138.png

---

No major changes in Inject YouTube Music.
- Updated to YouTube Music v5.36.51

Cheers all. :cowboy:
 
  • Like
Reactions: galaxys and kopukum

ipdev

Recognized Contributor
Feb 14, 2016
2,395
1
4,825
Google Nexus 10
Nexus 7 (2013)
Hello,
Could I use this magisk module on android Nougat 7.1?
Hi. 🙂

Yes and No.

iYT Music will work with no issue.
YouTube Music v5.36.51 still supports Android 5.
- Android 5 and newer.

---

iYT on the other hand.. 🙁

The module will work but, YouTube v17.35.xx and newer does not support Android 7.
- Android 8 and newer.

Looks like YouTube v17.34.36 was the latest version that will work on Android 7.
- Android 6 and newer.
Note: The ReVanced patches do not seem to be compatible with v17.34.36​

Best I can recommend (at the moment) is to use the last Vanced version.
I archived the iYTv module, but the releases are still available to download.
Vanced used split apk(s) so you will have to install the stock split apk version.​

Inject YouTube Vanced
Releases - [ Github ] - Link

Stock YouTube (Split APK bundle)
v17.03.38 - [ apkmirror ] - Link

APKMirror Installer App.
- APKMirror - Link
- PlayStore - Link
Note: APKMirror's .apkm packages are just a zip file.
You can unzip the file and manually install the split package using adb's install-multiple option.​

Cheers. :cowboy:
 

I_hacker

Member
Oct 17, 2015
28
2
Sony Xperia X Compact
other hand.. 🙁

The module will work but, YouTube v17.35.xx and newer does not support Android 7.
- Android 8 and newer.

Looks like YouTube v17.34.36 was the latest version that will work on Android 7.
- Android 6 and newer.
Note: The ReVanced patches do not seem to be compatible with v17.34.36​

Best I can recommend (at the moment) is to use the last Vanced version.
I archived the iYTv module, but the releases are still available to download.​
Vanced used split apk(s) so you will have to install the stock split apk version.​
Thanks a lot for this information.
So I'm stuck with Vanced then.
Vanced isn't bad, but recently banner ads started to showing on yt homepage. I wonder what's next 🙁
 
  • Like
Reactions: ipdev

sam tyler

Senior Member
Jul 28, 2011
547
76
About updates ( I know not ask, but this is about installing them) I'm on the latest version, all working and I've un-ticked the update box for YouTube on the play store, do I wait until updates are available as there is an update for the YouTube app on the store or do I wait untill the stock app is available on app mirror and the module is ready to be updated in the first post(or the module section in magisk) thanks.
 
  • Like
Reactions: Sugarfreee

pickmybear

New member
Sep 18, 2021
2
0
i got this error alert in google app and google news when there is embeded youtube clips.
 

Attachments

  • Screenshot_20230213-193019_Google.png
    Screenshot_20230213-193019_Google.png
    37 KB · Views: 26

ipdev

Recognized Contributor
Feb 14, 2016
2,395
1
4,825
Google Nexus 10
Nexus 7 (2013)
ReVanced (official) updated YouTube the other week. 🙂
Due to real life, I got delayed in updating and testing. 🙁

Updated Inject YouTube Module to v18.0.5.40. 😄
Post # 3 updated to include the stock v18.05.40 link.

Cheers all. :cowboy:

PS.
I am still looking into switching to inotia00's extended patches. 😉
 
  • Like
Reactions: Lughnasadh

ipdev

Recognized Contributor
Feb 14, 2016
2,395
1
4,825
Google Nexus 10
Nexus 7 (2013)
They are already at 18.12.33 :)
I go off of the stable list on github. ;)

The current patch list shows v18.05.40 or all.
YouTube


I have not updated iYTMusic since `hide-get-premium` patch is still v5.39.32
YouTubeMusic

---

inotia00's extended patches.

Shows YouTube v18.11.35
YouTube

YTMusic on the other hand shows all across the board..
YouTubeMusic

When I have some time, I will switch over and give the extended patches a try.

Cheers. :cowboy:
 
  • Like
Reactions: galaxys

ipdev

Recognized Contributor
Feb 14, 2016
2,395
1
4,825
Google Nexus 10
Nexus 7 (2013)
ReVanced (official) updated YouTube the other week. 🙂
Due to real life, I got delayed in updating and testing. 🙁

Updated Inject YouTube Module to v18.15.40. 😄
Post # 3 updated to include the stock v18.15.40 link.

Cheers all. :cowboy:

PS.
I am still looking into switching to inotia00's extended patches. 😉
 
  • Like
Reactions: Lughnasadh

inhirz

Member
Mar 5, 2011
48
7
Casablanca
ReVanced (official) updated YouTube the other week. 🙂
Due to real life, I got delayed in updating and testing. 🙁

Updated Inject YouTube Module to v18.15.40. 😄
Post # 3 updated to include the stock v18.15.40 link.

Cheers all. :cowboy:

PS.
I am still looking into switching to inotia00's extended patches. 😉
With the latest update, after youtube app launch, I have a dimmed screen, like there is an invisible notification box... Just me ?
 

Attachments

  • Screenshot_2023-04-27-17-46-42-19_f9ee0578fe1cc94de7482bd41accb329.jpg
    Screenshot_2023-04-27-17-46-42-19_f9ee0578fe1cc94de7482bd41accb329.jpg
    830.3 KB · Views: 10
  • Wow
Reactions: ipdev

ipdev

Recognized Contributor
Feb 14, 2016
2,395
1
4,825
Google Nexus 10
Nexus 7 (2013)
With the latest update, after youtube app launch, I have a dimmed screen, like there is an invisible notification box... Just me ?

I'm also getting the dimmed screen as well. what's going on?

No dimming issue for me.
I only quickly tested this release.
- I did not have time to check Poco and OnePlus.

- Pixel 3aXL [abc 11 (Android 11)]
- Pixel 3aXL [Lineage 19.1 (Android 12L)]
- Pixel 6 [Stock 12L]
- Pixel 7 [Stock 13]
- Nexus 7 (2013) [Lineage 20 (Android 13)]​

---

What is your setup?
Device:
System (rom):
Android version:
Magisk build:


Cheers. :cowboy:
 

Attachments

  • Screenshot_20230427-202617.png
    Screenshot_20230427-202617.png
    1.4 MB · Views: 6

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Hi all. 🙂

    A few weeks ago, I had time to switch over and test inotia00's patches.
    While I was using them, he decided he needed to take a break and archived his repo. 🙃
    His patches are still available to use, just not currently updated.
    - YouTube v18.17.43
    - YouTube Music v5.55.53

    ReVanced updated YouTube, still no update for Music. :unsure:
    - YouTube v18.19.35
    - YouTube Music v5.39.52

    So I mixed it up a bit. 😉

    Inject YouTube using the official ReVanced patches.
    - YouTube v18.19.35

    Inject YouTube Music using inotia00's patches.
    - YouTube Music v5.55.53

    Updated Posts.
    #2 Module Downloads with the current patches included in the module(s).
    #3 Regular (stock) Downloads with current required stock YouTube and YouTube Music.​

    Cheers all. :cowboy:
    1
    Hi all. 🙂

    A few weeks ago, I had time to switch over and test inotia00's patches.
    While I was using them, he decided he needed to take a break and archived his repo. 🙃
    His patches are still available to use, just not currently updated.
    - YouTube v18.17.43
    - YouTube Music v5.55.53

    ReVanced updated YouTube, still no update for Music. :unsure:
    - YouTube v18.19.35
    - YouTube Music v5.39.52

    So I mixed it up a bit. 😉

    Inject YouTube using the official ReVanced patches.
    - YouTube v18.19.35

    Inject YouTube Music using inotia00's patches.
    - YouTube Music v5.55.53

    Updated Posts.
    #2 Module Downloads with the current patches included in the module(s).​
    #3 Regular (stock) Downloads with current required stock YouTube and YouTube Music.​

    Cheers all. :cowboy:
    Nice work Dr. Frankenstein 🙃😀👏


  • 16
    Inject YouTube

    What is iYT?
    A project I started a few years ago to replace the regular (stock) version of YouTube during boot.
    This is done using a boot script to overlay the modified version over of the installed regular (stock) version.
    Using the mount command to mount (overlay) a file/directory over the other.
    During boot, the modified version will be loaded instead of the regular (stock) version.​

    Note:
    This project originally started with "Vanced" modified version(s).
    Since the Vanced team was forced to stop...
    This project now includes modified version(s) created by patching the stock version using ReVanced.​

    Requirement(s):
    The regular (stock) version installed as a normal user app.
    The regular (stock) version must be the same version as the one included in the module.
    The regular (stock) version must be a full apk install not, a split-apk install.​

    How to install
    YouTube
    • Install regular (stock) YouTube.
    • Copy the iYT module zip file to the device.
    • Open Magisk Manager, select Modules and then Install from storage.
    • Select the zip file and install.
    • Reboot device.

    YouTube Music
    • Install regular (stock) YouTube Music.
    • Copy the iYTMusic module zip file to the device.
    • Open Magisk Manager, select Modules and then Install from storage.
    • Select the zip file and install.
    • Reboot device.

    Project Links
    Inject YouTube - GitHub
    Inject YouTube Music - GitHub

    ReVanced - GitHub.


    Cheers all. :cowboy:
    3
    Module Downloads

    Inject YouTube
    Releases - [GitHub] - Link
    PatchDescription
    client-spoofSpoofs a patched client to allow playback.
    disable-auto-captionsDisable forced captions from being automatically enabled.
    disable-fullscreen-panelsDisables video description and comments panel in fullscreen view.
    disable-player-popup-panelsDisables panels from appearing automatically when going into fullscreen (playlist or live chat).
    disable-shorts-on-startupDisables playing YouTube Shorts when launching YouTube.
    hide-adsRemoves general ads.
    hide-endscreen-cardsHides the suggested video cards at the end of a video in fullscreen.
    hide-get-premiumHides advertisement for YouTube Premium under the video player.
    hide-info-cardsHides info cards in videos.
    hide-watermarkHides creator's watermarks on videos.
    minimized-playbackEnables minimized and background playback.
    remember-video-qualityAdds the ability to remember the video quality you chose in the video quality flyout.
    return-youtube-dislikeShows the dislike count of videos using the Return YouTube Dislike API.
    sponsorblockIntegrates SponsorBlock which allows skipping video segments such as sponsored content.
    spoof-app-versionTricks YouTube into thinking, you are running an older version of the app. One of the side effects also includes restoring the old UI.
    video-adsRemoves ads in the video player.

    Inject YouTube Music
    Releases - [GitHub] - Link
    PatchDescription
    background-playEnables playing music in the background.
    bitrate-default-valueSet the audio quality to 'Always High' when you first install the app.
    disable-auto-captionsDisable forced captions from automatically enabling in video player.
    enable-black-navbarSets the navigation bar color to black.
    enable-color-match-playerMatches the fullscreen player color with the minimized one.
    enable-compact-dialogEnable compact dialog on phone.
    enable-force-minimized-playerPermanently keep player minimized even if another track is played.
    enable-force-shuffleEnable force shuffle even if another track is played.
    enable-landscape-modeEnables entry into landscape mode by screen rotation on the phone.
    enable-opus-codecEnable opus codec when playing audio.
    exclusive-audio-playbackEnables the option to play music without video.
    hide-button-shelfHides the button shelf from homepage and explorer.
    hide-carousel-shelfHides the carousel shelf from homepage and explorer.
    hide-category-barHides the music category bar at the top of the homepage.
    hide-get-premiumRemoves all "Get Premium" evidences from the avatar menu.
    hide-music-adsRemoves ads in the music player.
    hide-music-cast-buttonHides the cast button in the video player and header.
    hide-new-playlist-buttonHide the New Playlist button in the Library tab.
    hide-playlist-cardHides the playlist card from homepage.
    hide-taste-builderRemoves the "Tell us which artists you like" card from the home screen.
    hide-upgrade-buttonRemove upgrade tab from pivot bar, hide upgrade banner from homepage.
    minimized-playback-musicEnables minimized playback on Kids music.
    music-settingsAdds settings for ReVanced to YouTube Music.
    remember-video-qualitySave the video quality value whenever you change the video quality.

    Note:
    Some patches will be enabled and preset by defualt.
    You can configure, enable and disable the patches under the settings menu.​
    3
    Regular (stock) Downloads

    The regular (stock) version can be downloaded from a safe source such as APKMirror.
    APKMirror - [WebSite] - Link

    YouTube
    Current stock version required for this module:
    - v18.19.35 - [ apkmirror ] - Link
    YouTube:
    v17.36.37 - [ apkmirror ] - Link
    v17.41.37 - [ apkmirror ] - Link
    v17.43.36 - [ apkmirror ] - Link
    v17.45.36 - [ apkmirror ] - Link
    v17.49.37 - [ apkmirror ] - Link
    v18.03.36 - [ apkmirror ] - Link
    v18.05.40 - [ apkmirror ] - Link
    v18.15.40 - [ apkmirror ] - Link
    v18.16.37 - [ apkmirror ] - Link
    v18.19.35 - [ apkmirror ] - Link

    YouTube Music (arm v7a)
    Current stock version required for this module:
    - v5.55.53 - [ apkmirror ] - Link
    YouTube Music (arm v7a):
    v5.23.50 - [ apkmirror ] - Link
    v5.29.52 - [ apkmirror ] - Link
    v5.31.50 - [ apkmirror ] - Link
    v5.34.51 - [ apkmirror ] - Link
    v5.36.51 - [ apkmirror ] - Link
    v5.39.52 - [ apkmirror ] - Link
    v5.55.53 - [ apkmirror ] - Link

    YouTube Music (arm64 v8a)
    Current stock version required for this module:
    - v5.55.53 - [ apkmirror ] - Link
    YouTube Music (arm64 v8a):
    v5.23.50 - [ apkmirror ] - Link
    v5.29.52 - [ apkmirror ] - Link
    v5.31.50 - [ apkmirror ] - Link
    v5.34.51 - [ apkmirror ] - Link
    v5.36.51 - [ apkmirror ] - Link
    v5.39.52 - [ apkmirror ] - Link
    v5.55.53 - [ apkmirror ] - Link

    Note:
    These are the stock apk files I use in the patching of the module.​
    3
    Hello,
    Could I use this magisk module on android Nougat 7.1?
    Hi. 🙂

    Yes and No.

    iYT Music will work with no issue.
    YouTube Music v5.36.51 still supports Android 5.
    - Android 5 and newer.

    ---

    iYT on the other hand.. 🙁

    The module will work but, YouTube v17.35.xx and newer does not support Android 7.
    - Android 8 and newer.

    Looks like YouTube v17.34.36 was the latest version that will work on Android 7.
    - Android 6 and newer.
    Note: The ReVanced patches do not seem to be compatible with v17.34.36​

    Best I can recommend (at the moment) is to use the last Vanced version.
    I archived the iYTv module, but the releases are still available to download.
    Vanced used split apk(s) so you will have to install the stock split apk version.​

    Inject YouTube Vanced
    Releases - [ Github ] - Link

    Stock YouTube (Split APK bundle)
    v17.03.38 - [ apkmirror ] - Link

    APKMirror Installer App.
    - APKMirror - Link
    - PlayStore - Link
    Note: APKMirror's .apkm packages are just a zip file.
    You can unzip the file and manually install the split package using adb's install-multiple option.​

    Cheers. :cowboy:
    3
    Just a heads up on the dimming issue, when the screen goes dim, the on screen home, back and resents icons/buttons drop, but I realised I can scroll up from the bottom of the screen and tap on the back button the dimming goes away (also works when using LMT launcher) my phone is a wileyfox swift 2 plus using lineage 18.1 and the version of magisk is 26.1 the dimming problem only started on the recent magisk module update.
    I'm also getting the dimmed screen as well. what's going on?
    It's known issue, ReVanced Team is already aware.. workaround is to press the back button/back gesture when this happening, until it gets fixed.