YouTubeAdAway
YouTubeAdAway copied to clipboard
Fix for new youtube version
Wow nice, could you release an APK meanwhile?
I just released an update, but not based on Christoph patch, i still need more time to test some of his refactoring changes.
One main change is that I am going over all obfuscated classes in the package instead of trying all three letter combinations because they also use four letter classes. The obfuscator might use these one day. Then I am changing the value of the timestamp in beforehook instead of after so I don't need to touch the member variable. While testing it I found out some if the long values are timestamps in milliseconds but some seem to be durations or at least relative values so I set them to zero, but a large value number works as well.
I'm still randomly seeing ads when video started with the Wanam's version, also YouTube has crashed once when the video is playing.
There's nothing interesting in the xposed log so I didn't bother...
-------- Original Message -------- On Aug 31, 2018, 10:48 PM, Christoph Pech wrote:
One main change is that I am going over all obfuscated classes in the package instead of trying all three letter combinations because they also use four letter classes. The obfuscator might use these one day. Then I am changing the value of the timestamp in beforehook instead of after so I don't need to touch the member variable. While testing it I found out some if the long values are timestamps in milliseconds but some seem to be durations or at least relative values so I set them to zero, but a large value number works as well.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
I have tried this one and the last update wanam provided. This one works just fine, haven't had much testing tho , loaded 10 videos+ and haven't got any ad yet besides the main screen where you have an ad video but I don't really mind that
Wanam's version doesn't work for me (using Pixel 2 XL, Android 8.1) Thanks for the contribution :)
i've compiled the PR from @ChristophPech and it's working really good, thanks! There's not even ads in the video, I'll leave the apk file here: https://drive.google.com/open?id=1PRreR2cBpdt08T0-aTx_1us_CSb5OQxd
i've compiled the PR from @ChristophPech and it's working really good, thanks! There's not even ads in the video, I'll leave the apk file here: https://drive.google.com/open?id=1PRreR2cBpdt08T0-aTx_1us_CSb5OQxd
thanks for compile, package installer tells me APK file is corrupt Android 7.1.2
I installed it successfully, make sure you removed the old one first because signature won't match
mea culpa, indeed the solution was this simple. I do still see videos at the beginning, but I imagine this might be due to cache files
@ChristophPech ads has appeared again in version 13.37.52, could you please check?
@SandPox it should work now again
yes, it's working now, if anyone want the prebuilt apk: https://drive.google.com/open?id=1kDBQq7FMIUThD-C1jWI2kjkF8hMYW7rl
uninstall the previous version first if install failed
updated to eeafb5a5e391157bf3a5b0bdd48af132a271f36a
I made the app save the "obfuscation detection" results since they only change on new YT versions. So on the first start it detects the classes and reuses these results on all subsequent starts. Since the detection itself is somehow triggering these #60 problems, this caching I added will help there too. On Android #60 happens only sometimes, but on 8.1 it happens all the time.
@wanam the official release is not working since 2 months. I'm using this patch, but this should be mainstream so all of us could update with xposed updater.
Can confirm on Android 7.1 and latest Xposed, official 4.3.3 doesn't hide ads at the beginning of videos with YT 13.39.51. This PR fixed the issue
Installed @SandPox shared apk. Android8.1 still crashes. YouTube Version 13.34.50. When I open the YouTube app, the home page is displayed, then the app crashes, every time it is like this
@monkey000 could you try clear data of youtube app? I'm using 6.0 and latest youtube version, there's no ads or crash here
@SandPox Tried to clear the data and still crash. Now I am using the YouTube Vanced module in the Magisk framework, and no ads will appear. Otherwise I will consider whether to open YouTube Premium.
The SandPox binary is from before my fix for 8.1
Where's your fix for 8.1? Pretty sure I was complied your latest commit on your repo eeafb5a which is 12 days ago
Sorry, I didn't see you already updated it.
@SandPox I am very sorry, it's my fault.I did not see the link you updated later. I downloaded and installed the first apk.
@ChristophPech the ads has come back, could you update it?
Which YouTube version? I don't see them on 13.41.53
Yes it's that version, only ads in the beginning of the video in like... 3 days ago
I see adds too now on the latest version. Only in the starting though. Not in between the video.
I'm starting to see some ads between video now
Still nothing here on latest YouTube, are you sure you emptied the YouTube app's data after you installed this fork?
Idk can't say anything for sure. Ads have stopped again. Huh. 🤔🤔 Also merge this PR pls ofc after resolving the conflicts.
Not working in last version :(
It's stable for me, but some ads keep showing again
It doesn't work on the latest version, any way to fix it? The ads are disturbing.
@ChristophPech Seems like the original author lost interest... Could you take care of this project or make a fork?
@ngosang I don't have the time to continue this either.
@ChristophPech Maybe you can give me some hint of maintaining this module then I can continue this project. It's really hard to figure out what to do with this only by viewing the codes...
@acsway878787 unfortunately this is how it was done all the time, you need to pinpoint some classes, and try to analyze them based on the json keys strings and logging messages.
Try Youtube Vance, it's pretty good
@ngosang I don't have the time to continue this either.
I just lost my job and I have time to do this. try this: https://github.com/ohyeah521/NoAds-For-YouTube/releases
i had test on my phone, If there is a problem, please submit issues
Sorry, I'm using Youtube Vance now.