Skip to content

Instantly share code, notes, and snippets.

@bgulla
Last active December 28, 2022 14:29
Show Gist options
  • Save bgulla/feba2ddc29887d6341c12fb7f3b94fb6 to your computer and use it in GitHub Desktop.
Save bgulla/feba2ddc29887d6341c12fb7f3b94fb6 to your computer and use it in GitHub Desktop.
LG WebOS Root Instructions from #OpenLGTV Discord
##
## shoutout to https://github.com/webosbrew
## I lifted these instructions from the #OpenLGTV discord (under pinned msgs). The instructions are for Windows but just replace Putty with a terminal and you're good to go.
1. Enable Developer Mode: https://webostv.developer.lge.com/develop/getting-started/developer-mode-app
2. Download Software:
a. WebOS-Dev-Manager - https://github.com/webosbrew/dev-manager-desktop/releases
b. PuTTY - https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
c. Homebrew Channel 0.5.1 ipk - https://github.com/webosbrew/webos-homebrew-channel/releases
3. In WebOS-Dev-Manager perform these steps:
a. Click "+ Add Device"
b. Enter IP address of your TV in "Host Address" field
c. Enter passphrase displayed on LG Developer Mode app in "Passphrase" field
d. Keep other settings at default, click "Add"
e. Click "Install" in the top right corner
f. Execute this terminal command If you have rooted with Rootmy.tv before:
rm /mnt/lg/cmn_data/var/lib/webosbrew/startup.sh /var/lib/webosbrew/startup.sh /mnt/lg/cmn_data/wam/extra_conf.sh
g. Choose homebrew channel 0.5.1 ipk
h. Validate Homebrew Channel 0.5.1 is installed on your TV
i. Click on "terminal"
j. Type this command into the blank space of the terminal then press enter
touch /var/log/crashd/"x;telnetd -l sh"
4. In PuTTY perform these steps:
a. type your TV's IP address in "Host Name" field
b. Validate that "telnet" is selected under "Connection Type"
c. Open the telnet connection to your TV
d. Execute this to give root permissions to Homebrew Channel: /media/developer/apps/usr/palm/services/org.webosbrew.hbchannel.service/elevate-service
e. Execute this command to ensure developer mode does not disable in 48 hours:
rm -rf /var/luna/preferences/devmode_enabled && mkdir -p /var/luna/preferences/devmode_enabled
5. Uninstall developer mode app from TV home menu
6. Power off your tv, disable QuickStart+ first!
IMPORTANT: Do NOT click "yes" to an "Install Homebrew Channel" prompt!
7. After restart, confirm that "Root Status" in Homebrew Channel is "ok"
8. Turn on SSH in Homebrew Channel and restart
9. Enjoy your rooted TV!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment