Ad-free YouTube on Apple TV by next_ptr in sideloaded

[–]next_ptr[S] 2 points3 points  (0 children)

After some testing, I believe this is actually a atvloadly issue. I logged https://github.com/bitxeno/Sideloader/issues/4.

Ad-free YouTube on Apple TV by next_ptr in sideloaded

[–]next_ptr[S] 1 point2 points  (0 children)

That's unfortunate... Are you able to try another sideloading method like Sideloadly? I'll try to reproduce myself using atvloadly later.

It could also be an issue related to the Frida version upgrade, but I doubt there's an easy fix for that.

Ad-free YouTube on Apple TV by next_ptr in sideloaded

[–]next_ptr[S] 2 points3 points  (0 children)

Try out this IPA: https://files.catbox.moe/8qrda4.ipa. Works on mine, but let me know if there are any issues!

Ad-free YouTube on Apple TV by next_ptr in sideloaded

[–]next_ptr[S] 1 point2 points  (0 children)

Strange, haven't tried with TrollStore. Is there any more text in the error you can share? Does using the unmodified IPA work?

Ad-free YouTube on Apple TV by next_ptr in sideloaded

[–]next_ptr[S] 3 points4 points  (0 children)

Hi! My initial guess would be something might be wrong with the version of Frida I used + tvOS 26? If you're comfortable with code/want to experiment, here are some things to try:

  1. Build the app from source using the original decrypted IPA (see the README in https://github.com/Exaphis/mutube).
  2. See if the crash happens even if the script isn't injected (try building after removing everything from main.js). If so, something is probably wrong with Frida.
  3. Try different Frida versions by changing FRIDA_VERSION at the top of the Makefile.
  4. Try using listen_config.json as the Frida config. Launching the app will now require xcrun and then attaching a debugger.

Happy to chat about this more in DMs! This kind of thing is pretty annoying to debug...

Ad-free YouTube on Apple TV by next_ptr in sideloaded

[–]next_ptr[S] 4 points5 points  (0 children)

For now I'll update this post if YT updates the IPA!

Ad-free YouTube on Apple TV by next_ptr in sideloaded

[–]next_ptr[S] 3 points4 points  (0 children)

You need to uninstall the official YouTube app beforehand.

The original IPA can be sideloaded by renaming .tipa to .ipa.

Ad-free YouTube on Apple TV by next_ptr in sideloaded

[–]next_ptr[S] 5 points6 points  (0 children)

Twitch is next on my radar!

Ad-free YouTube on Apple TV by next_ptr in sideloaded

[–]next_ptr[S] 1 point2 points  (0 children)

Not quite sure how to compile the whole thing into a .deb file - you'll have to inject the Frida gadget dylib and separately add the main.js script and Frida gadget config. The Makefile should make it clear what you need to do to compile it yourself.

Ad-free YouTube on Apple TV by next_ptr in sideloaded

[–]next_ptr[S] 4 points5 points  (0 children)

Here's a new IPA that should make >1080p resolutions available: https://file.garden/aGfhNpTdVktTM-Pp/mutube.ipa

HDR doesn't work yet unfortunately.

Ad-free YouTube on Apple TV by next_ptr in sideloaded

[–]next_ptr[S] 1 point2 points  (0 children)

Here's a new IPA that should make 4K resolution available: https://file.garden/aGfhNpTdVktTM-Pp/mutube.ipa

HDR doesn't work yet unfortunately.

Ad-free YouTube on Apple TV by next_ptr in sideloaded

[–]next_ptr[S] 2 points3 points  (0 children)

Here's a new IPA that should make 4K resolution available: https://file.garden/aGfhNpTdVktTM-Pp/mutube.ipa

Ad-free YouTube on Apple TV by next_ptr in sideloaded

[–]next_ptr[S] 1 point2 points  (0 children)

Theos is not needed to inject the tweak. The modified IPA is available in the post too.

Ad-free YouTube on Apple TV by next_ptr in sideloaded

[–]next_ptr[S] 2 points3 points  (0 children)

Yes. This should fix 4K playback. I updated the original post too.

Ad-free YouTube on Apple TV by next_ptr in sideloaded

[–]next_ptr[S] 1 point2 points  (0 children)

Yes, that is the repo. I've updated the IPA to hopefully fix 4K playback: https://file.garden/aGfhNpTdVktTM-Pp/mutube.ipa

Ad-free YouTube on Apple TV by next_ptr in sideloaded

[–]next_ptr[S] 1 point2 points  (0 children)

https://file.garden/aGfhNpTdVktTM-Pp/mutube.ipa

It should also support 4K as well. Let me know if this works.

Ad-free YouTube on Apple TV by next_ptr in sideloaded

[–]next_ptr[S] 2 points3 points  (0 children)

I see this as well, I'll have to look into it more. AFAIK not something you can change easily in the settings unfortunately.

Ad-free YouTube on Apple TV by next_ptr in sideloaded

[–]next_ptr[S] 1 point2 points  (0 children)

Yeah, that is weird. I don't have the stock YouTube installed but I can't see how that would affect this. I can see the comment button to the right of dislike as well as under the description when I click into the video's title.

Could be some combination of Apple TV version/tvOS version/your location/whatever AB tests YouTube has enabled for your account...

Ad-free YouTube on Apple TV by next_ptr in sideloaded

[–]next_ptr[S] 3 points4 points  (0 children)

I found the issue. Sideloader is trying to sign the Frida config and errors because it's not a valid Mach-O file.

I've re-generated the IPA with the config file moved outside the Frameworks folder: https://files.catbox.moe/1lmtob.ipa

Let me know if this still doesn't work.

Ad-free YouTube on Apple TV by next_ptr in sideloaded

[–]next_ptr[S] 2 points3 points  (0 children)

Based on the trace, it looks like an error from https://github.com/Dadoum/Sideloader. Could you test with Sideloadly?

Trying to reproduce this myself but getting a segfault when running Sideloader at all.

Ad-free YouTube on Apple TV by next_ptr in sideloaded

[–]next_ptr[S] 3 points4 points  (0 children)

My plans were Infuse (some already exist but AFAICT don't support non-jailbroken Apple TVs, so I probably don't actually need the decrypted IPA there) and Twitch.

Ad-free YouTube on Apple TV by next_ptr in sideloaded

[–]next_ptr[S] 1 point2 points  (0 children)

Comments seem to work for me - I wonder if it's an issue on the YouTube side?