[WebOS Software and Hacking General] LukeStage:
I´ve seen this in this spanish forum (https://forocoches.com/foro/showthread.php?t=8935750)

Translated to english:

IMPORTANT: Check the updates from the HOMEBREW CHANNEL itself.

If you have the TV connected to the internet...probably you have been updated to a non-vulnerable version. It is necessary to perform a downgrade.

2- DOWNGRADE - If your TV is not functional the link above.

With WebOS 1.x - 5.x

To do this, you download the firmware of your TV from this Telegram Group.

https://t.me/lgwebosusb

With the firmware loaded in a USB FAT32 we put it in the TV and go to this web.

https://webosapp.club/downgrade/ and it will install the firmware.

Quote:

WebOS 1.x - 5.x

1. Download the firmware file for your device to update via USB (attention! USB firmware file type is required, not nsu).

2. Format the USB flash drive to FAT32 file system, create LG_DTV folder, unzip the .epk file from the previously downloaded archive

3 Insert the USB flash drive into the USB port of the TV and open the webosapp.club/downgrade page in the TV browser; the software upgrade application will open. Click on upgrade.

With WebOS 6.0

1. Activate the developer mode on the TV according to the instructions.

2. In the TV browser, open webosapp.club/online and install the Expertmode Downgrade application , reboot the TV.

3. Follow steps 1 and 2 of the above instructions.

. Insert the USB flash drive into the USB connector of the TV and run the installed Expertmode Downgrade application, press start in the menu, the software upgrade application will start. Click upgrade.

ps usb firmware files for some models https://t.me/lgwebosusb

---------------------------------------------------------------------------------

Methods from russian forum. Original in http://webos-forums.ru/topic3157.html

Rolling back and restoring previous firmware versions on LG TV sets.

Rolling back the firmware using a special application (webOS 4+)

A new easy method to rollback to an older version of the firmware.

What is firmware?

Firmware is the operating system of your TV that controls all of its basic functions. Since 2014, LG TVs (and since 2017, Bang & Olufsen OLED TVs) have been running on the webOS operating system, which is the basis of all firmware for them. Officially online, you can only update to the latest firmware.

What kind of changes can I make to the TV software with the suggested way?

TV firmware is not final and unchangeable software and can be subjected to the following changes:

Upgrade - installing the firmware by upgrading to the current version;

Reinstall - re-installing the identical version of the firmware over the current one (sometimes helps in situations instead of resetting to factory settings);

Rollback (restore) the firmware (downgrade webOS) - installation of the old version of the firmware, which is officially no longer up to date on the server LG. Restoring the TV firmware is used when you need to correct errors in its operation, to lower the version of the firmware (to make a downgrade) or to install custom (not yet available) firmware.

On which TV models are firmware changes supported by the suggested way?

The suggested way works on most of LG TV models of 2012-2020 with network support. Required to rollback or to install the firmware files are grouped in appropriate subfolders in the folder "zagotovki", depending on the model of your TV.

On 2014-2016 TV models with the latest firmware from 2018 and later, the ability to rollback to past software versions was blocked, there is a solution (link at the end of this post).

On TV models of 2017-2020 year the possibility of rollback is blocked in the original (factory) firmware, at the moment on TV models of 2017-2018 year you can install only files of new software versions, which are designed to update online via the network (current software version number in TV must be less than the number of installed software version) using the offered method. On 2019-2020 TV models, installation of new online firmware is not yet available via rollback method. To avoid problems with rollback after automatic installation of new firmware online, you need to immediately disable the item Automatic update in the TV settings and in the future to update only to the verified software versions.

Detailed information about the model names and the corresponding file names of the answers in a spoiler.

2012 TV models (Netcast 3.0):

LM620-LM765, LS570-LS575 -> HE_DTV_GP4I_AFAAABAA

LM860-LM960 -> HE_DTV_GP4H_AFAAABAA

2013 TV models (Netcast 4.0):

LA620-LA642, LA644-LA741, LN570-LN578, LN613, LN655 -> HE_DTV_NC4M_AFAAABAA

LA790-LA868 -> HE_DTV_NC4H_AFAAABAA

LA965-LA970 -> HE_LCD_NC4H_AAADABAA

2014 TV models:

MT75S (Netcast 4.0) -> HE_DTV_NC4M_AFAAABAA

LB491-LB498, LB570-LB588, LB610 (Netcast 4.5) -> HE_LCD_NC5M_AFAAAAAA

UB800-UB836 (Netcast 4.5) -> HE_LCD_NC5U_AAADABAA

LB630-LB870, EC930 (webOS 1.0) -> HE_DTV_WT1M_AFAAABAA

UB850-UB980, UC970, EC970, EC980 (webOS 1.0) -> HE_DTV_WT1H_AFAAABAA

2015 TV models:

LF491-LF498, LF580 (Netcast 4.5) -> HE_LCD_NC5C_AAAAAAABAA

LF590-LF592, MT57S (webOS 2.0 Lite) -> HE_DTV_W15L_AFAAABAA

LF630-LF653, EG910 (webOS 2.0) -> HE_DTV_W15M_AFAAABAA

UF640 (webOS 2.0 Lite) -> HE_DTV_W15B_AFADABAA

UF630, UF680-UF685, UF770-UF778, UF830, UF840, EF950, EG920 (webOS 2.0) -> HE_DTV_W15A_AFADABAA

UF690, UF850-UF940, UG870, EG960 (webOS 2.0) -> HE_DTV_W15U_AFADABAA

UF950, EF980 (webOS 2.0) -> HE_DTV_W15H_AFADABAA

2016 TV models:

LH480U, LH560, MT48S (webOS 2.0 Lite) -> HE_DTV_W15L_AFAAABAA

LH590-LH595, LH604-LH609, LH615, LH630 (webOS 3.0) -> HE_DTV_W16R_AFAAABAA

UH600 (webOS 2.0) -> HE_DTV_W15A_AFADABAA

UH603-UH605, UH610-UH619, UH620 (webOS 3.0) -> HE_DTV_W16P_AFADABAA

UH630-UH635, UH650-UH656, UH661-UH668, UH671-UH676, UH750-UH755 (webOS 3.0) -> HE_DTV_W16N_AFADABAA

UH700, UH770, OLED B6 (webOS 3.0) -> HE_DTV_W16K_AFADABAA

UH780, UH850-UH855, UH950-UH955, OLED (C6, E6) (webOS 3.0) -> HE_DTV_W16M_AFADABAA

OLED G6 (webOS 3.0) -> HE_DTV_W16H_AFADABAA

2017 TV models:

LJ480, LJ540, LJ550-LJ555, LJ570, LJ594-LJ595, LJ600, LJ610-LJ615, LJ622-LJ625, MT49S (webOS 3.5) -> HE_DTV_W17R_AFAAABAA

EG9A7 (webOS 2.0) -> HE_DTV_W15M_AFAAABAA

UJ620, UJ630-UJ635, UJ650-UJ655, UJ670-UJ675, UJ701 (webOS 3.5) -> HE_DTV_W17P_AFADABAA

UJ740, UJ750-UJ752, SJ800, SJ810, SJ850, SJ930, SJ950-SJ957, OLED (B7, C7, E7, G7, W7) (webOS 3.5) -> HE_DTV_W17H_AFADABAA

Bang & Olufsen BeoVision Eclipse (webOS 3.5) -> HE_DTV_W17B_AFADABAA

2018 TV models:

28LK480U (webOS 3.5) -> HE_DTV_W17R_AFAAABAA

LK5400, 32LK540B, LK5900-LK5990, LK6000, LK6100-LK6190, 32LK610B, 32LK615B (webOS 4.0) -> HE_DTV_W18R_AFAAABAA

UK6100 (webOS 3.5) -> HE_DTV_W17P_AFADABAA

UK6200, UK6300-UK6390, UK6400-UK6470, UK6500-UK6550, UK6710-UK6750, UK6950, UK7500-UK7550, UK7700 (webOS 4.0) -> HE_DTV_W18A_AFADABAA

SK7900 (webOS 3.5) -> HE_DTV_W17H_AFADABAA

86UK6500, 86UK6750, SK8000, SK8100, SK8500, SK9000, SK9500, OLED B8 (webOS 4.0) -> HE_DTV_W18H_AFADABAA

OLED (C8, E8, G8, W8) (webOS 4.0) -> HE_DTV_W18O_AFABABAA

2019 TV models:

LM6300-LM6390, LM6500 (webOS 4.5) - HE_DTV_W19R_AFAAABAA

UM7050-UM7090, UM7100-UM7110, UM7300, UM7400-UM7490, UM7500-UM7570, UM7600-UM7660, SM8000, SM8050, SM8100, SM8200 (webOS 4.5) - HE_DTV_W19P_AFADABAA

82/86UM7600, 82UM7650, SM8500, SM8600-SM8610, SM9000-SM9010, SM9500, SM9800, OLED B9 (webOS 4.5) - HE_DTV_W19H_AFADABAA

SM9900-SM9970, OLED (C9, E9, R9, W9, Z9) (webOS 4.5) - HE_DTV_W19O_AFABABAA

2020 TV models:

UN7100, UN7300-UN7390, UN7400, UN8000, UN8100, NANO79, NANO80, NANO81 (webOS 5.0) - HE_DTV_W20P_AFADABAA

UN8500, NANO85, NANO86, NANO90, NANO91, OLED BX (webOS 5.0) - HE_DTV_W20H_AFADABAA

NANO95, NANO97, NANO99, OLED ZX (webOS 5.0) - HE_DTV_W20K_AFADABAA

OLED (CX, GX, RX, WX) (webOS 5.0) - HE_DTV_W20O_AFAFABABAA

What are the options for the suggested method?

There are two options: local method (downloading firmware files from your computer) and online method (downloading firmware files online from LG update server).

How to correctly roll back (restore) a previous firmware version or install a new firmware version?

Download LgDTVUpDater_04_2022.zip archive file with the set of firmware rollback (updated on 02.04.2022).

Unzip the archive file contents to the root of C:\ drive, LgDTVUpDater folder should appear. If somebody needs to install (extract) archive content to the root of another drive (D:\, E:\, F:\) but not to the root of C:\, then after unpacking replace all the content ("LgDTVUpDater\apache\conf\httpd.conf") from the additional archive file httpd.zip from the folder (D, E, F) corresponding to the drive name with confirmation of data replacement from the already installed folder LgDTVUpDater. This replacement can also be used to unpack the contents of the archive to a flash drive, if there is no additional partition and there is only the system partition, then all the data should run from the flash drive. If you downloaded the previous version of the archive from here and configured the program, be sure to delete the old zagotovki folder from the installed LgDTVUpDater folder and copy the new zagotovki folder with the updated data from the new archive.

At the end of file "LgDTVUpDater\dns\AcrylicHosts.txt" manually change all addresses like 192.168.0.11 to the local IP address of your computer. The server names snu.lge.com, lgtvonline.lge.com, su.lge.com and su-ssl.lge.com to the right of the IP addresses should not be changed. If using the local method of downloading firmware from a PC, remove this # in front of the last three lines with the addresses lgtvonline.lge.com, su.lge.com and su-ssl.lge.com, otherwise default settings to download firmware over the network from the LG update server. Perform this manual data change only when manually running these two files (startDNS.bat and startHTTP.bat), ignore this instruction point when using start.bat or start_new.bat.

Note: For the IP address of your PC, see here: Control Panel - Network and Sharing Center - via Change Adapter Settings select your connection and right click on Status and then under Information find the line IPv4 Address. Or press the Win+R key combination on your keyboard, and in the window that opens type "cmd" (without the quotes) and press Enter. At the running Command Prompt, type: "ipconfig" (without the quotes) and press Enter. Next, find the line IPv4 address of your computer, consisting of a set of numbers in the format xxx.xxx.xxx.xxx.xxx (e.g. 192.168.1.2). This is the local IP address of your PC.

Now the most important, go to any folder "LgDTVUpDater\zagotovki\online\" or "LgDTVUpDater\zagotovki\local\" when setting for local PC software download method, and when setting for LG server software download method, only go to "LgDTVUpDater\zagotovki\online\" folder. Open the folder with your TV model, there are folders containing answer files for different versions of early and current firmware. The name of the folder shows the software version with country codes that you need to select. If the name has a _ at the end, it means this version was in test access at the date of creation. Select the answer file of the software version you need from the appropriate folder and copy it to the folder "LgDTVUpDater\htdocs\", agreeing to replace the original file if it was already there.

Note: When downloading the software file locally from your PC, copy the appropriate software file into "LgDTVUpDater\htdocs\" folder by downloading it from the appropriate forum threads or here. The size and name of the software file itself must correspond exactly to the data that is listed inside the contents of the corresponding answer file. Pay attention to the end of the firmware file you have downloaded. If there are signs like this before the extension (.epk) after SECURED at the end of the software file, this must be corrected to the corresponding [0] or other similar signs ([1], [2], [3]) that are written inside the contents of the answer file. In this case the software file will be downloaded to the TV from your PC and not from LG's update server.

Run manually startDNS.bat from the root of the LgDTVUpDater folder to load the DNS server and do not close the command line window (you can only minimize it). There will be several lines in this window, they will be added in the process of updating. Run manually startHTTP.bat from the root folder of LgDTVUpDater to load the web-server, also do not close this window (you can only minimize it), there must be only one short line in the window. With these actions you have manually started the applications on the PC to perform the firmware installation.

Note: Instead of starting these two files manually, you can run the file start.bat from the root of the folder LgDTVUpDater, and perform all the actions suggested there to enter the IP address and select the method in the dialog mode. You can also try another alternative variant of the DNS-server DualServer, confirming its start via start_new.bat and performing the same actions as for start.bat, the applications will be started automatically. If you have already started these files and there is no need to change the PC IP address in the settings file and select another method, you can skip all the actions at the beginning of the dialog indicating Y, then the two applications will be launched with the same data. When using the alternative DualServer DNS by starting_new.bat, you must manually set all network settings on the adapter (IP address, mask, gateway and DNS addresses) before running the application. This condition on the PC is also desirable to use a different DNS server. When running these files in dialog mode, skip the 3rd point of the manual data change to the local IP address of the PC.

In the TV set, which should be in one local network with the PC via a router, select the manual mode in the network settings and change only the data in the DNS field - to the local IP address of the PC where you run this set of applications (how to find the IP address of the PC is described above in p. 3). Next, confirm the network startup by executing Connect. If something in TV does not work with network settings, then try to disable firewall on PC or something that prevents TV to connect to network through PC and router, like blocking port 80, for example Antivirus, Skype on PC and all its processes must be closed.

Everything is ready, you can check the update on the TV by selecting the item in the appropriate TV settings to update the software and when the message that the desired version of your choice is available, run the update as usual, and watch there in the settings process of downloading the software file. Do not change the service country in the TV and leave it as it is, regardless of the software categories.

After updating return the TV network settings to the original DNS address or set it to automatic, then restart the TV to finish the update.

On the PC, close the two open windows (close running applications). That's it, the installation of the firmware is completed.

Note: In the root of folder LgDTVUpDater you will find a file with detailed instructions how to use this method on LG TV models of 2012-2020. Please read it carefully in case you have any problems with the software.

What is the difference of the local method of downloading software from a PC and the network method of downloading software from LG update server?

The local method of installing firmware over the network between your PC and TV without a router and without the internet

Then there is only one way left, which is to exclude the influence of the router with the settings from your ISP and the Internet itself on this whole process, and to connect the laptop (PC) and TV only with twisted pair network wire between each other to perform a pure local method of installing the software. The wire should be crimped as to connect two PCs, not as to connect through a router. Then you have to configure the network adapters on the laptop and on the TV manually. For example respectively on the laptop IP address - 192.168.1.2, the mask - 255.255.255.0, gateway - 192.168.1.3, DNS address - 192.168.1.2 and in the TV settings the IP address - 192. 168.1.3, the mask - 255.255.255.0, gateway - 192.168.1.2, DNS address - 192.168.1.2. Previously, do not forget to copy the file with the corresponding software version to the folder htdocs of the program and replace the file with this version from the folder zagotovki\local. Then on the laptop (PC) run start.bat or start_new.bat, successively answering (N, Y, Y, Enter), and on the TV in the network settings with the prescribed above data press connect. If the network access is successful (all 4 icons must be green), check the availability of the software version in the TV settings, if everything corresponds, then update. Note that the name of the software file must be exactly the same as in the answer file for the corresponding software version you have selected.

Links to download firmware files to install them via local method of undo (install) software from PC

http://webos-forums.ru/post23624.html#p23624 (russian language and a lot of firmwares)

Possibility to rollback to previous software versions for TV models of 2014-2016

http://webos-forums.ru/post23656.html#p23656 (russian language and a lot of firmwares)

Alternate option of rollback firmware versions with rooted rights feature

A new easy method to roll back to an old version of the firmware for televisions with webOS 4.0-6.0 (for webOS 3.0 use the below method):

1) The first thing to do is to get a USB version of the old firmware for your TV using https://web.archive.org/. Copy this address into your browser "https://web.archive.org/web/*/https://www.lg.com/ru/support/product/lg-xxxxxx" (without the quotes). Then replace lg-xxxxxxx with the name from the official LG web site https://www.lg.com/ru/televisions (for example, for 49UM7490 it will be "https://www.lg.com/ru/televisions/lg-49UM7490PLC" and the address to get the old firmware will be "https://web.archive.org/web/*/https://www.lg.com/ru/support/product/lg-49UM7490PLC" - the last rooted version was on May 2nd at 09:38:57). Go to this address and download one of the previous firmware versions.

The alternative USB firmware repository for TV with webOS 4.0-6.0 on Telegram is https://t.me/lgwebosusb.

3) Unzip and copy your firmware onto FAT32 formatted flash drive to LG_DTV folder (for example E:\LG_DTV\starfish-dvb-secured-k5lp-539.gyeryongsan.k5lp-53904-05.00.15_prodkey_usb_V3_SECURED.epk),

4) Insert the flash drive into the TV, go to https://webosapp.club/downgrade through the TV browser.

5) The TV will load the firmware and prompt to reboot, after the reboot it will install the "new" firmware.

In the above case (for 49UM7490) it is version 05.00.15, which allows you to get root.

Good luck everyone. Write here about the results of using the new method!

Firmware rollback using special application (webOS 4+)

The method described here Rollback and Restore Previous Firmware Versions is primarily intended for use on webOS 4.x-6.x to return to a rooted software version.

On earlier versions (below 3.x) the method may not work, in particular at point 4 with a browser will not run the regular update application.

Made an application that runs the regular update application with the right parameter. It should be put in developer mode and run instead of the link in the browser in step 4 of the original instructions.

All other items are relevant. Application is downgrade.launch.app_1.0.0_all.ipk