This information is just a rewrite of information given by user Cr3z33-71 on reddit. Credits goes to you!
Background: I had just made myself breakfast, when I grabbed the tv remote and put on the YouTube app on my LG TV. YouTube is fantastic for watching and learning all sorts of information. In todays society everything we need is on YouTube. After selecting my video, I expected the video to begin after an ad. Ads usually last between ten and fifteen seconds, which is annoying but fair enough. In recent times (december 2023) YouTube decided to force 40-60 seconds of ads when using the free version of YouTube on LG TVs. After traveling home i discovered the ads also lasted between 40-60 seconds, without the options to skip any time. This is robbing people of their time while providing nothing in return.
This assumes you have a LG TV.
- Go to LG's homepage and create a developer account.
- Download and install LG's app called Developer Mode which you'll find in the TVs app store.
- Now log into your developer account.
- Enable
Dev Mode
and reboot. Then enableKey Server
. Write down IP and passphrase. - Use your computer and download and install webOS Dev Manager.
- On the computer, open the app and click
Add Device
to the left. Follow the instructions, which will make you connect to your LG TV. (May 2024: look at known issues further down if you get connection timeout) - After that you have a connection, click on
Apps
and install the Homebrew Channel. - Then install
YouTube AdFree
and voilá! If you want to check out their source code, click here.
October 2024: There is some issues with the above method. I got something a la "unable to get local issuer certificate". My solution was to connect throug the webOS Dev Manager software, open the terminal and run this one liner: curl -L https://raw.githubusercontent.com/webosbrew/webos-homebrew-channel/main/tools/install.sh | sh -
. This installed Homebrew on the TV. I couldn't install any app on the tv menu, but had to do it throug the webOS Dev Manager on my computer. There is a issue on this matter. Cheers.
The capitalistic money-focused advertising industry is discusting:
You might also try rooting your TV to get more access and control over your TV. You can try https://rootmy.tv) but I dind't have any success using the exploit. I suspect my TV has been patched.
Other stuff:
- You might get an error when connecting to the TV through the webOS Dev Manager software (it just hangs). And if you SSH in a terminal with e.g.
ssh prisoner@youriphere -p 9922
it saysUnable to negotiate with 10.0.0.20 port 9922: no matching host key type found. Their offer: ssh-rsa
. To fix that on macOS/Linux do the following:
- Create/open the ssh config file with:
nano ~/.ssh/config
in the Terminal - Add the content
HostkeyAlgorithms +ssh-rsa
and save the filectrl+x
andenter
- June 2024: You might also need to add
PubkeyAcceptedKeyTypes ssh-rsa,ssh-ed25519
to the config file
- June 2024: You might also need to add
- Add correct file permissions with
chmod 600 ~/.ssh/config
- Try SSH or with the webOS Dev Manager Software and it should work. Cheers!
- Be patient and try more.
- you can get the private key by opening
http://ipaddresshere:9991/webos_rsa
in your browser. Use it with e.g.
chmod 700 Downloads/webos_rsa #we need to update permissions on the key
ssh -v [email protected] -p 9922 -i Downloads/webos_rsa #Example
- When doing ssh, add
-v
to the command to give verbose output. Use AI to help understand the output. - Another resource that might be helpful Key server is ON but Dev manager can't fetch