yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] Th3 Ant:
First of all... Your searching skills are bad AF... - first result in Google - https://xdaforums.com/android/apps-games/app-youtube-vanced-edition-t3758757

Second of all - why are you even asking about this here in YTBP thread?
[Xposed Framework Modules] lordmicro:
It's not working with my previous version, even doing (force stop apps, clear cache, reboot).
[Xposed Framework Modules] reaperlinkz:
Is this thread dead?
[Xposed Framework Modules] XtraWater:
yes.
[Xposed Framework Modules] JudgeDread11:
Delete
[Xposed Framework Modules] survivor_evil:
Another option is to use lucky patchers custom patch to play in the bacgroung and youtube ad away from xposed modules to remove the ads. It actually works even with the newest app but youtube vanced was a nice finding. I dont see the point of this with vanced...I probably wont be going back to regular youtube. Google just keep making it worse, adds and adds and everything seems more cluttered.
[Xposed Framework Modules] k54k54k54:
youtube has become a disgusting !!!!!!!!!!!!!!!! :(:(:(

thanks by k54

lepro3 rulez
[Xposed Framework Modules] reaperlinkz:
Oh yea well background playback works fine for me on the latest YouTube version so the module is definitely not dead.
[Xposed Framework Modules] Th3 Ant:
Still updating it... Just report latest stable version of YT on GitHub when it's not working so I can add support for it [emoji14]
[Xposed Framework Modules] Ye12222:
谢谢 确实有用：d
[Xposed Framework Modules] reaperlinkz:
Great thanks bro keep up the good work
[Xposed Framework Modules] gcom12:
It works with YouTube 13.46.53 and doesn't

with 13.48.51
[Xposed Framework Modules] reaperlinkz:
Wrong I have that version and it works fine, problem is not the module.
[Xposed Framework Modules] modaifallah:
Works on Phoenix OS 64 bit Nougat YT version 13.50.52, with youtube ads killer module
[Xposed Framework Modules] sqerk:
Working great on Lineage OS Oreo.

Thank You
[Xposed Framework Modules] BullDoza:
Here we go again..

Just updated to 14.04.53 and YTBP 2.0.5 stopped working.
[Xposed Framework Modules] Th3 Ant:
I'll update it in a while...

Just hang on and force close YouTube app/restart device in like 3-4h just to be sure the hooks were updated [emoji14]

EDIT: Hooks updated - restart your device or force close YT app
[Xposed Framework Modules] BullDoza:
Force closed YT and now it's working fine.

Marvelous work you're doing here, many thanks.
[Xposed Framework Modules] Th3 Ant:
14.05.55 beta or not?

Ayo..

Quick question for everyone - did anyone got 14.05.55 update as non-beta user? Should I update hooks or it's labeled wrong and that's indeed beta?

Nevermind - pushed update for 14.05.56 as it looks like it's in stable and like it was actually released...

Should work for that version again :P
[Xposed Framework Modules] siealex:
Where can I get 2.0.5? I can't find it neither here nor in the repo, and 2.0.4 recently stopped working.
[Xposed Framework Modules] Th3 Ant:
Was YouTube updated recently (today perhaps)? If it was, what's your new YT app version?

I will add support for it and it should start working again - I just need new version number and 15 minutes :)
[Xposed Framework Modules] siealex:
14.12.53.
[Xposed Framework Modules] Th3 Ant:
Is it beta? Everytime I check, apkmirror shows some versions are beta but they in fact, they aren't...

Will add it in a minute - will edit this post when it's done so check back in ~30 minutes

EDIT: Should work again - just force close YT app from Setting or reboot your device :)
[Xposed Framework Modules] siealex:
Oops... is this module web based?
[Xposed Framework Modules] Th3 Ant:
Hooks are downloaded from GitHub directly so there is no need of updating and installing .apk everytime new YT app gets released - they just need to be updated there and you must force download them by completely closing YouTube or just simply rebooting
[Xposed Framework Modules] firefds:
14.12.56 is out (not beta)

Any chance for hook updating?
[Xposed Framework Modules] Th3 Ant:
Updated - force close YT app to force download new hooks and it should work again :D
[Xposed Framework Modules] vladcepesh:
Please 2.0.5 module
[Xposed Framework Modules] Th3 Ant:
If you've just updated YouTube app and it was working before - force close it from settings...

I've just updated hooks for 14.13.54 so it should be working again
[Xposed Framework Modules] vladcepesh:
It is ok now,I uninstall and install from google play 14.13.54 , work ok. But last version is 14.13.56 I'm not sure

Послато са D2303 уз помоћ Тапатока
[Xposed Framework Modules] Th3 Ant:
There is no 14.13.56 on apkmirror yet so as soon as it will be available there, I'll add support for it...

For now the latest supported version of YT is 14.13.54
[Xposed Framework Modules] vladcepesh:
Huawei mate 20 lite Oreo8.1

14.13.56 last version..2 days update

Послато са D2303 уз помоћ Тапатока
[Xposed Framework Modules] fxo:
Works great thanks
[Xposed Framework Modules] firefds:
[MENTION=5185525]Th3 Ant[/MENTION]

Hey,

Version 14.18.56 is out! Thanks for the future update :)
[Xposed Framework Modules] Th3 Ant:
Yeah... I saw new .apk but I waited just to check if it actually goes stable as there was like 3 updates day after day...

Anyway - thanks for the info - I've updated hooks and it should work again - force close YT app from system settings or reboot your device :D
[Xposed Framework Modules] Jovi6:
Thank you,this mod is very useful.
[Xposed Framework Modules] Hacker432:
Doesn't work for me even after rebooting or force closing or cleaning data
[Xposed Framework Modules] Th3 Ant:
What's your YouTube app version - check GitHub if it's supported. If not - I'll add it as soon as there'll be new apk available
[Xposed Framework Modules] Hacker432:
The version is 14.21.56, still unsopported?
[Xposed Framework Modules] Th3 Ant:
Latest supported is 14.21.54

Will add .56 as soon as there'll be apk available
[Xposed Framework Modules] Th3 Ant:
Added 14.21.56 - force close YT app and it should work again

I've already seen there is 14.22.54 but I'll wait couple days and see if .56 is released - so latest supported version for now is 14.21.56 :P
[Xposed Framework Modules] J0nhy:
Works great on pie and latest youtube as of now, thanks guys
[Xposed Framework Modules] ionuutzuu:
Doesn't work anymore on 14.28.54
[Xposed Framework Modules] DarkSJ1998:
[MENTION=5185525]Th3 Ant[/MENTION] can you add support for v14.33.55?

I just updated to this build by mistake :(

Usually I check it here before updating.
[Xposed Framework Modules] Th3 Ant:
Could you upload it somewhere? There is no apk of it on apkmirror.com yet = can't update the module :P
[Xposed Framework Modules] DarkSJ1998:
Here you go :)

https://drive.google.com/file/d/12dq5O-wSRbY5pe698xQsfLNpSlpPc9PX/view?usp=drivesdk
[Xposed Framework Modules] Th3 Ant:
Should be up - just force close YT app :)

(also I assume it was for Android 5.0+ :P)
[Xposed Framework Modules] DarkSJ1998:
Thanks a lot dude! :)

Working fine now.
[Xposed Framework Modules] TiberiumFusion:
Pardon me for being a noob, but where can we download this update? The OP seems to be dedicated to the 2.0.4 release. Thanks much for fixing up this awesome utility.
[Xposed Framework Modules] Th3 Ant:
You don't need to download anything if it was still working - all hooks are downloaded automatically from GitHub when you open YT app.

Also if you still can't find .apk of the module, you can try building it yourself from source code at GitHub - if you manage to do that, there is one surprise ;)
[Xposed Framework Modules] DarkSJ1998:
[MENTION=5185525]Th3 Ant[/MENTION] can you please add support for YT v14.40.52? I just did a clean flash & I couldn't get the apk I backed up before to work & had to do an update via play store unfortunately :(
[Xposed Framework Modules] Th3 Ant:
Can you upload that YT .apk file somewhere? I assume it's for Android 5.0+, right?
[Xposed Framework Modules] DarkSJ1998:
Yes here you go :)

https://drive.google.com/file/d/1-I70_4g2tG8jUlocZ9epEbECetwejHHM/view?usp=drivesdk
[Xposed Framework Modules] Th3 Ant:
Updated

Should work again - just force close YT app :D
[Xposed Framework Modules] DarkSJ1998:
Nvm. Managed to get another version going. Downloaded v14.33.56 arm64-v8a & it's working fine again :)

Don't know what happened to the v14.33.55 apk that I uploaded on Drive last time, it just shows app not installed.

---------- Post added at 06:27 PM ---------- Previous post was at 06:25 PM ----------

Oops, got a bit late in responding back :)

Thanks again for your instant help. BTW, is there a README or guide to fix it so that we don't need to ping you & bother you again & again? :)
[Xposed Framework Modules] Th3 Ant:
Just to be clear - the one I've updated is for 14.40.52 (at least that's what the name says on the GDrive) older version should work regardless :D

About "tutorial" - there was one but it's now outdated - the main procedure is the same although code has changed a lot since then...

All you have to do is to use some kind of decompiler and open .dex files, look for correct classes (ex. by looking at already added ones and their HEX codes) - they all look pretty much the same but have different names.

It's pretty much that all over for all 3 classes - check json file with hooks for which classes to look for
[Xposed Framework Modules] Tickle.:
Hi everybody,

Can you guys help me, I'm having a problem with the xposed module.

I installed it a long time ago. Everythings worked like a charm. But i just realized today that Youtube stops playing asa I go back to home or turn off the screen. The module is still installed.

Xperia Z5 android N 7.1.1 on costum ROM (ExistenZ Rom).

Could it be the youtube version ? Or Magisk permission ?

I really enjoy this feature to save some battery life, hope you can help me

Thanks, see you
[Xposed Framework Modules] DarkSJ1998:
What's the YouTube app version?
[Xposed Framework Modules] Tickle.:
Hi,

YT 14.42.54

edit: i discovered the magisk's module yesterday, and the vance one in particuar, but it crashes when I try to open it.

So i'm still on the regular YT app for now. but without background playback.
[Xposed Framework Modules] DarkSJ1998:
Yes the YouTube app might be the culprit here.

I'm still on v14.33.56 & it's working fine here. That's why, I don't update the YT app from Play Store so frequently.

Wait for [MENTION=5185525]Th3 Ant[/MENTION] to update the hooks for this new version ;)
[Xposed Framework Modules] Tickle.:
Ok, thanks

Couldn't I downgrade to a previous version of YT, then ?

And secondly, what's the "hooks" ?
[Xposed Framework Modules] DarkSJ1998:
Yes you can "Uninstall Updates" to YT app & then you can install any other older version.

"Hooks" are can be said as the hacks that this module uses for it's functionality. ;)
[Xposed Framework Modules] Tickle.:
Not working with 14.33.56 either.... snif

What did I do wrong ?
[Xposed Framework Modules] DarkSJ1998:
It's working fine on my device :/

Check if you have granted Draw over other apps & Picture-in-picture permissions to the YT app. Been using 14.33.56 since weeks & it's working flawlessly here.
[Xposed Framework Modules] Th3 Ant:
Check Xposed logs and logcat - should say why it doesn't work...

14.42.54 is added now and it should work for that version.

About hooks - those are classes that Xposed is modifying to enable background playback. They are hosted on github repo and have to be updated for every new YT app version.

This way you don't have to install new module .apk everytime YT gets updated - you just force close it from settings to force download new hooks file
[Xposed Framework Modules] Tickle.:
Thanks for the tips. I didn't noticed the log on the menu ^^.

I desinstalled YT 14.33.56 and reinstalled it from the store, checked the log and saw the YT background lines. nothing seemed wrong so I just tried it and.... Baaanngggg !!! IT'S WORKING !!!!
[MENTION=5185525]Th3 Ant[/MENTION] You're my dude man ! Thanks a lot.

So basically i was just on a too recent version. But why was it not working with th .33.56 version :confused::confused::confused:

So I'd rather turn of automatic update to ask everytime for exemple and i accept every app but YT, is that it ?

Thanks a lot for your great work BTW

Seeya
[Xposed Framework Modules] Th3 Ant:
Glad it works

Yeah, disable automatic updates of YT app in Play Store so you'll always be sure you're on latest supported version. You can check which version is working with the module by going to GitHub Repo and looking at latest commit.
[Xposed Framework Modules] Th3 Ant:
UPDATE?

Long time no see so it's time for an update i guess :D

Per

preethamrn

request on GitHub - Here it is

YOUTUBE BACKGROUND PLAYBACK v2.1

Now with YouTube and YouTube Music support in the same module package

Of course big thanks to

Sajito

on GitHub for making that PR :D
[Xposed Framework Modules] twilightpath:
Looks like the hooks need to be updated again xD
[Xposed Framework Modules] Th3 Ant:
Sorry for the delay...

I've added hooks for 14.47.50 and 14.49.51 - both versions should work again :)

PS: If there is new YT version - please report it with version numbers either here or on GitHub so I can update it faster (uploading .apk is even better)
[Xposed Framework Modules] Dashwood Foxe:
Is there a quick and dirty guide on how to use Android Studio to compile the build?
[Xposed Framework Modules] Th3 Ant:
Clone repo and open it in Android Studio (or use version control option), and if you don't want to make changes just build it as is (use debug if you haven't created signature keys)

Should be buildable (?) as is...

Or if you don't want to change anything you can install already pre-built .apk - I've updated hooks couple hours ago and it should work for YT 15.03.56 as well as for YTM 3.49.53
[Xposed Framework Modules] Dashwood Foxe:
Thanks. :D

---------- Post added at 07:56 PM ---------- Previous post was at 07:54 PM ----------

Are there any updated adaway modules from wanam? It seems most people like to bundle the adaway mod with the OP's mod. The latest one from the github has some ads leaking through. ):
[Xposed Framework Modules] Th3 Ant:
I don't know...

You could just use YouTube Vanced - modified YT app that has background playback and ads disabled already backed in (+ some other useful options) [emoji14]
[Xposed Framework Modules] Dashwood Foxe:
It appears to be broken on 15.04.56
[Xposed Framework Modules] Th3 Ant:
Latest supported version for now is 15.03.56...

I'll add 15.04.56 later today
[Xposed Framework Modules] Th3 Ant:
15.04.56 has been added - there was slight change in one of the classes so let me know if it works
[Xposed Framework Modules] Dashwood Foxe:
:good: :good:
[Xposed Framework Modules] Dashwood Foxe:
Aaaaaaaand 15.05.54 just dropped, breaking it again. lol

---------- Post added at 08:11 PM ---------- Previous post was at 07:59 PM ----------

How does one ascertain the class/method/param for each YT update for the hooks?
[Xposed Framework Modules] Th3 Ant:
If you decompile YouTube .apk file, you can look at the old one that's already added and compare them with new ones - they are pretty much the same - only their names are different...

I use apktool for decompiling and IDA for opening .dex files - then you can just find exact same HEX from the old classes and then use search to find new one

I'll add it when I get back home
[Xposed Framework Modules] Th3 Ant:
Updated - 15.05.54 should be working again

I really recommend disabling auto updating of YT app in Play Store so it won't break everytime - they are not even adding new features

Old ones still will have design changes as I even getting them on old Vanced version so updating that frequently is not even worth it...
[Xposed Framework Modules] twilightpath:
Broken again with 15.06.54 (I know, I know, I've disabled automatic updates now xD )
[Xposed Framework Modules] Th3 Ant:
There is no 15.06.54 apk yet - if you could upload it somewhere, I could update the module faster :P
[Xposed Framework Modules] Dashwood Foxe:
https://www.dropbox.com/s/8zqja0toworuk62/base.apk?dl=0

Would this help?
[Xposed Framework Modules] Th3 Ant:
Yup - that's exactly what I've been looking for

Updated for 15.06.54 - should be working now
[Xposed Framework Modules] Dashwood Foxe:
Doesn't seem to be working. Force closed and even reinstalling YouTube doesn't help.
[Xposed Framework Modules] Th3 Ant:
Are you sure that's the proper version number?

Classes haven't changed much - everything seems ok

Check Xposed logs - should say what's wrong
[Xposed Framework Modules] Dashwood Foxe:
Yes, this is dumped straight from the data/apps folder
[Xposed Framework Modules] Dashwood Foxe:
Found the issue, it's supposed to be 15.06.55. not 15.06.54
[Xposed Framework Modules] Th3 Ant:
Aight... I've changed version number - try now [emoji14]
[Xposed Framework Modules] Dashwood Foxe:
Need update for 15.07.52
[Xposed Framework Modules] Th3 Ant:
Updated - thanks for the .apk - there is still no new file on usual sites so the update would take much much longer :D

Also bonus for YouTube Music users:

Starting from version 3.53.51 (should be the latest one available in Play Store) you can now use audio only mode - the toggle should be working in both when playing music video and in settings

Let me know if there are issues with it :D
[Xposed Framework Modules] Dashwood Foxe:
Here is 15.08.52 for updating.
[Xposed Framework Modules] Th3 Ant:
Added - I really REALLY do recommend disabling updates... even updating once a month is enough :P
[Xposed Framework Modules] siealex:
Does this module work on EdXposed? I switched to EdXposed and it stopped working completely.
[Xposed Framework Modules] firefds:
It does.. but maybe the module is not updated for the most latest youtube version which you may have.
[MENTION=5185525]Th3 Ant[/MENTION]?
[Xposed Framework Modules] Th3 Ant:
At this time 15.08.52 is the latest supported version - if you have any newer one, it's probably why it doesn't work...

What's the latest version so I could add it?

.apk file would be perfect (and please include which version number it is)
[Xposed Framework Modules] siealex:
Mine is 15.09.36. Which APK do you need, there are four in its data/app folder.
[Xposed Framework Modules] Th3 Ant:
base.apk is what I am interested in - rest is pretty much useless

I've added 15.09.36 - force close YT app from settings and it should work again
[Xposed Framework Modules] siealex:
No, it does not work.
[Xposed Framework Modules] Th3 Ant:
Check logs then - are you sure that's correct version number? Try rebooting instead of force closing...
[Xposed Framework Modules] einachtsmann:
Not working. Android 8.0, edxposed. Force close and restart. 15.09.36
[Xposed Framework Modules] Th3 Ant:
Once again - check logs... It may be possible I did something wrong but without them I don't know where I f'ed up
[Xposed Framework Modules] einachtsmann:
I have only this in logs:

03-06 09:49:25.736 23851 23851 I EdXposed-Bridge: GB:Hardware: qcom

03-06 09:49:25.736 23851 23851 I EdXposed-Bridge: GB:Product: OnePlus3

03-06 09:49:25.736 23851 23851 I EdXposed-Bridge: GB:Device manufacturer: OnePlus

03-06 09:49:25.736 23851 23851 I EdXposed-Bridge: GB:Device brand: OnePlus

03-06 09:49:25.737 23851 23851 I EdXposed-Bridge: GB:Device model: ONEPLUS A3003

03-06 09:49:25.737 23851 23851 I EdXposed-Bridge: GB:Device type: phone

03-06 09:49:25.737 23851 23851 I EdXposed-Bridge: GB:Is MTK device: false

03-06 09:49:25.738 23851 23851 I EdXposed-Bridge: GB:Is Xperia device: false

03-06 09:49:25.738 23851 23851 I EdXposed-Bridge: GB:Is Moto XT device: false

03-06 09:49:25.738 23851 23851 I EdXposed-Bridge: GB:Is OxygenOS ROM: true

03-06 09:49:25.738 23851 23851 I EdXposed-Bridge: GB:Has telephony support: true

03-06 09:49:25.739 23851 23851 I EdXposed-Bridge: GB:Has Gemini support: false

03-06 09:49:25.739 23851 23851 I EdXposed-Bridge: GB:Android SDK: 26

03-06 09:49:25.739 23851 23851 I EdXposed-Bridge: GB:Android Release: 8.0.0

03-06 09:49:25.739 23851 23851 I EdXposed-Bridge: GB:ROM: ONEPLUS A3003_28_181206

03-06 09:49:25.739 23851 23851 I EdXposed-Bridge: GB:Error logging: false

Repeat a ton of Times. Or is this the false log?
[Xposed Framework Modules] firefds:
I updated youtube just to get you logs.. indeed 15.09.36 doesnt work

Nothing in the logs though..
[Xposed Framework Modules] Th3 Ant:
OK... logs doesn't say anything...

I've pushed small fix regarding this version - apparently version number in app and code version numbers are different - that's why hooks were not applied...

Try force closing or rebooting now - let me know if it still doesn't work and I'll look into it again...

Reminder to myself - check app version and code version numbers from now on...
[Xposed Framework Modules] einachtsmann:
Works! Thanks!
[Xposed Framework Modules] Th3 Ant:
Yeah, I know about that... is it spammy? I'll make a little change in the next class update... maybe first one is not needed at all...

I don't wanna test things right now as it may break completely again :P

Let me know when next YT app update gets released and I'll figure something out for that
[Xposed Framework Modules] Th3 Ant:
Added support for YT 15.11.34

Also changed slightly (one letter) in first class - trying to resolve spamming Xposed logs + let me know if it even works - these versions numbers are confusing now :confused:
[Xposed Framework Modules] guwnghia:
After youtube update version 15.14.33, modules dont work.

Sorry. My english is very bad.
[Xposed Framework Modules] j1gga84:
Hello,

Is the latest YouTube build 15.16.36 working with the module?

Regards

Sent from my SM-G960F with Tapatalk
[Xposed Framework Modules] Th3 Ant:
It should be... I've updated hooks already for that version

As always - you can check which versions are supported by checking main module repo on GitHub - https://github.com/pylerSM/YouTubeBackgroundPlayback

Or if you're looking for downloads, you can check my fork of it - it's exactly the same as original one but with latest module .apk available under releases tab -

https://github.com/th3an7/YouTubeBackgroundPlayback
[Xposed Framework Modules] DarkSJ1998:
It has been a while since I could check this thread, after the transition to the newer XDA platform, it has been really difficult for me to browse XDA as I used to do back with Tapatalk/Website. Thanks for the updated apks (sorry I'm almost an year late to see that :p)

It was this morning that my Mom told me background playback stopped working on her device.

Maybe Google pushed out some server side thingy after which background playback stopped working on my Mom's 3T running YT v15.50.35. IDK how it reached this version... Was running v2.0.5 of the module. Just updated it, still not working. Can you please update the hooks for this version whenever possible?
[Xposed Framework Modules] Edw590:
Stopping by to say thank you!!! Thank you for keeping updating that app! Loved it while it was being maintained. Was now going to use it again after some time without a rooted phone and getting ready to replace YouTube version by the most recent the last official version of YTPB supported, but then I found that comment of yours, so amazing I don't need to go back to the old YouTube version!!! (Which I don't even know if it would work or not.)

PS: I'll also be checking out your 2 tutorials on how to update the YTPB app haha. One of them includes IDA, so reverse-engineering or something related with that, it seems! Cool! Been wanting to learn more about that haha. Thank you for posting them!
[Xposed Framework Modules] Dhiaxgh:
Thanx
[Xposed Framework Modules] quphkzie:
[MENTION=1783141]Knuxyl[/MENTION], youtube stops playing in background around 5 - 10 mins when screen is off. When i open youtube it says error check connection, playback id:xxxxxx or something like that.
[Xposed Framework Modules] Reomar:
working on 12.42.59 latest version on nougat>>>
[Xposed Framework Modules] quphkzie:
mine stops playing in background around 5 - 10 mins when screen is off. When i open youtube it says error check connection, playback id:xxxxxx or something like that.
[Xposed Framework Modules] tichau.kent:
Try youtube vanced.Hope it work for you.

Link download in post #2.

https://xdaforums.com/android/apps-games/app-iytbp-injected-youtube-background-t3560900