Rooting Webos 5 TV and installing a custom launcher
Posted: 27 November 2026 • Latest edit: 29 November 2026
Table of Contents
Opening credits
I have a 4K LCD TV I had purchased 3 years ago. It is a smallish (43 inches I guess) thing that sits in my living room next to my little CRT TV and spends most of its time either running Youtube or Jellyfin. It is actually a domestic brand called Next (domestic to Turkey) but the OS it runs is LG’s webOS, more specifically webOS version 5. Model is YE-42020FS2-4K. When I first purchased it, I had tried rooting the device but the tools available at that time did not work. I enabled the developer mode and installed the Homebrew Channel but all the tools I would be interested needed root, so my interest kind of fizzled and I kind of left it alone.
A funny name: Slopbro
Today, out of blue, I thought maybe there were new tools available for rooting the TV and of course there was. There were a few, such as faultmanager and dejavuln but the tool I ended up using is called slopbro. It was extremely easy and quick to root the device.
1$ git clone https://github.com/throwaway96/slopbro.git
2$ cd slopbro
3$ python slopbro.py 192.165.1.215 # TV's IP address
When I first tried this, it gave a warning I should remove the dev tools app, so I did and rebooted but it did not install correctly. So I tried a second time. It went without problems after removing this application from the TV.
So it was like, what, 5 minutes and it was rooted. Perfect.
I guess I should have checked Can I root my TV? page first but my TV model does not show up there, but it successfully rooted. So, once again, do your own research and I take no responsibility for the information presented here.
SSH to the TV
First thing I do is to check new Homebrew Channel to see what is available. In the settings there is Telnet and SSH options, I left Telnet off and enabled SSH. Username is root and the password is alpine. The official suggestion is to copy your SSH pubkey to the TV, and the server on the TV automatically disables password login for SSH after you do this:
1$ ssh-copy-id -i ~/.ssh/id_rsa.pub root@192.168.1.215
I also added it to my SSH config for ease of use:
1$ cat .ssh/config
2Host webostv
3 HostName 192.168.1.215
4 User root
5 IdentityFile ~/.ssh/id_rsa.key
6 RequestTTY yes
And just like that, I can SSH into my TV. Sweet.
Disabling tracking
Life is good without spying is readily available in Homebrew Channel. I saw that the alternative is to use Glasshouse for an all-around solution but I opted for the option which I believed to be more lightweight.
Changing the launcher
My main gripe with the unrooted system is the bad launcher which tries to autoload a bunch of things (like most popular videos on Youtube) so it always takes at least three seconds to come up, it always felt sluggish. Of course, the processor inside is not a rocket ship, but it is just a simple menu, how hard could it be on the hardware? After these modifications, it is clear to me now that was indeed the case. With better software it flies.
I see there are a few good alternatives (including aforementioned Glasshouse) but I went with Luma which describes itself as a native launcher for rooted LG webOS TVs, inspired by Apple TV. And it looks very simple and really good. It is also really quick. It replaced the old launcher easily, with one command:
1root@LGwebOSTV:~# sh /media/developer/apps/usr/palm/applications/com.ecklf.luma/home.sh enable
When I’m writing this article after I finished installing this, I noticed that this method is actually mentioned as the “old method”. However the current method Home Chooser does not show Luma as a launcher option on my TV, and gives an error saying “Home Chooser couldn’t set up its service”. So I guess the old method is good enough.
Look at this. I can take screenshots of my TV now. Nice.
Choosing a Jellyfin client
There are a few Jellyfin clients for webOS. I tried all that is available. The original client is just a wrapper and is not performing so well on this hardware. Breezyfin and Ocenfin did not work at all and Moonfin was very slow on webOS 5. So I ended up with Litefin which is doing OK but it is not as fast as it could be. I compare it to Stremio Origin app which is apparently written in C, and in turn extremely quick and responsive, and Litefin is so so slow compared to it. I guess this is the best until I can find a better one (or start a project to get AI to rewrite the UI using C).
Remapping buttons on the remote
LG Input Hook is available in Homebrew Channel for this purpose. You can just install, find the keycodes, and write a small json file to describe what each button needs to do. There is also a web interface you can use this but I found it to be easier this way.
First install the app and reboot. Then use tail -f /tmp/lginput-hook-*.log to check the keycodes for each key. We need the uinput_code at the end of the line.
1[INFO] lginput_uinput_send_button called: keyid=2, state=0 uinput_code=412
2[INFO] lginput_uinput_send_button called: keyid=7, state=1 uinput_code=108
3[INFO] lginput_uinput_send_button called: keyid=7, state=0 uinput_code=108
Then we create /home/root/.config/lginputhook/keybinds.json. There are 4 actions you can define for the buttons:
- You can use
replaceto make a button to do the action of another one. - Use
execto run a command (I use it to start screensaver). - Use
launchto start a GUI app. - You can use
ignoreto disable a button, but I chose to use replace for the buttons I want to disable so they simply act as the home button instead.
Here are examples from my own config:
1{
2 "139": {
3 "action": "replace",
4 "keycode": 773
5 },
6 "362": {
7 "action": "exec",
8 "command": "/usr/bin/luna-send -n 1 luna://com.webos.service.tvpower/power/turnOnScreenSaver '{}'"
9 },
10 "1021": {
11 "action": "launch",
12 "id": "com.webos.app.livetv"
13 },
14 "1055": {
15 "action": "ignore"
16 }
17}
The set top box key is a special key, which sends a signal both over bluetooth connection and an IR blast. So, setting it to an action using LG Input Hook will halfway work: it will do the action but also bring the “set-top box setup” popup. This below file disables the set-top box setup popup, so we can use this button for another action (in my case, I set it to turn on the live TV stream so my parents can easily switch to it). Create the file /var/lib/webosbrew/init.d/95-dismiss-stb-alert with below content, make it executable, and reboot the TV. The logic is that this script immediately dismisses any popup that has “Set-Top Box” text in it.
1#!/bin/sh
2(
3 sleep 10
4 while true; do
5 luna-send -i palm://com.webos.notification/getAlertNotification '{"subscribe":true}' | while read -r line; do
6 case "$line" in
7 *"Set-Top Box"*)
8 id=$(echo "$line" | sed -n 's/.*"alertId":"\(com\.webos\.service\.mrcu-[0-9]*\)".*/\1/p')
9 [ -n "$id" ] && luna-send -a com.webos.service.mrcu -n 1 palm://com.webos.notification/closeAlert "{\"alertId\":\"$id\"}" >/dev/null
10 ;;
11 esac
12 done
13 sleep 2
14 done
15) &
Disabling magic pointer and running the screensaver from Luma
I don’t really like the magic pointer thing, and I don’t use it except every once blue moon when I use the on-screen keyboard. So disabling it is a good idea, especially now it started to come up every time I press one of the “replaced” buttons on the remote. Magic Mapper is the tool for that. I guess we could eliminate the LG Input Hook and just use this one but I will just leave it this way. To install this, you need to place magic_mapper.py and magic_mapper_config.json to your /home/root directory, and place start_magic_mapper to start the script automatically on boot.
An additional advantage: when Luma is active, it won’t allow the screensaver to start. But we want to look at the screensaver, not the Luma screen. So I added a watcher in this same script, to start the screensaver if the active app is Luma.
You can try my version of magic_mapper.py if you also want screensaver to activate on Luma. My current magic_mapper_config.json file is like this:
1{
2 "magic_mapper_settings": {
3 "block_mouse": true,
4 "exclusive_mode": true,
5 "idle_screensaver": true,
6 "idle_screensaver_minutes": 3
7 }
8}
I have also set the guide button to start the screensaver manually.
My custom apps: APOD viewer and art screensaver
When I was playing with different apps and parts of this, I noticed that I wanted something similar to these art frame TV models, so I got Deepseek to write a nice screensaver to my liking. It uses custom-screensaver app in the Homebrew Channel as a base, and builds on top of it. Check the webos-art-screensaver repository for more information. The artworks come from Art Institute of Chicago, Cleveland Museum of Art and Wikimedia Commons.
In addition to that, I made a simple APOD viewer for webOS which is really lightweight and performant. For those of you who have no idea what this is, NASA has a page called Astronomy Picture of Day (APOD), which shares an astronomy/space related image everyday for almost 30 years now. There is an open API too which this app uses.
Honorable mention: Tonalo
I didn’t want to finish this article without any mention of Tonalo. It describes itself as a Navidrome client for LG TVs, Windows, Mac and the iPhone. It is a very nice and very fast app which I really appreciated. Now I have it on my phone too.
Conclusion
All in all, spending time tinkering with this TV and the satisfactory results from it have multiplied the joy I get from it significantly. I hope you also enjoyed and found article useful. You can write to me for corrections in case you find any.
![Luma launcher is so nice and slick Luma launcher is so nice and slick [IMG]](/articles/rooting-webos/luma_launcher_hu_9e677aaaf843a02c.png)
![Luma can change background on random Luma can change background on random [IMG]](/articles/rooting-webos/luma_2_hu_250508b1dc9d7509.png)
![Luma launcher all apps visible Luma launcher all apps visible [IMG]](/articles/rooting-webos/luma_3_hu_3be93a4bd354d579.png)
![The Night Watch by Rembrandt The Night Watch by Rembrandt [IMG]](/articles/rooting-webos/01-the-night-watch_hu_df55c92c018a3620.jpg)
![The Great Wave Off Kanagawa by Katsushika Hokusai The Great Wave Off Kanagawa by Katsushika Hokusai [IMG]](/articles/rooting-webos/05-the-great-wave_hu_3fbe865a12aea33.jpg)
![Random APOD, main image Random APOD, main image [IMG]](/articles/rooting-webos/random-03-15-august-2024-late-night-vallentuna_main_hu_c15edf71b6a8684d.jpg)
![Random APOD, info page Random APOD, info page [IMG]](/articles/rooting-webos/random-03-15-august-2024-late-night-vallentuna_info_hu_fb3dec3ce623aaed.jpg)
![Tonalo showing Buena Vista Social Club album Tonalo showing Buena Vista Social Club album [IMG]](/articles/rooting-webos/tonalo_hu_bc288a984f5832e1.png)