webos-homebrew-channel icon indicating copy to clipboard operation
webos-homebrew-channel copied to clipboard

"Block system updates" not working; still seeing update notifications

Open menotuu opened this issue 3 years ago • 16 comments
trafficstars

In installed webos homebrew channel two weeks ago and since 2 days I am getting notes for firmware update to 05.20.15 for my tv on every normal tv start, after the started one time in failsafe mode.

webosbrew version 0.4.0 block system updates is activated since first day in webos and webosbrew. failsafe mode is deactivated.

"board_type": "M19_DVB",
"hardware_id": "HE_DTV_W19H_AFADABAA",
"product_id": "OLED65B97LA",
"core_os_release": "4.9.5-6",
"webos_manufacturing_version": "05.20.06",

why is it showing the "there is a new firmware update for your lg tv" on every tv start?

menotuu avatar Mar 01 '22 14:03 menotuu

Can you please connect over ssh/telnet and check result of this command:

find /mnt | grep -i 'epk$' 

Informatic avatar Mar 03 '22 18:03 Informatic

hi, the result of this command is simply nothing. nothing

menotuu avatar Mar 03 '22 19:03 menotuu

Same issue here but on 0.5.0.

This only happens after the TV gets turned off unexpectedly (i.e. cable pull or power outage) and once power is back the TV is in failsafe mode. Then it asks for a reboot and when accepting the "update is available" message pops up shortly before the TV reboots itself. After the "normal" reboot this message does not show anymore.

Could this be the TV downloaded the update while in failsafe mode? I umounted /tmp/rdxd /tmp/uploadd /var/spool/rdxd /var/spool/uploadd/pending /var/spool/uploadd/uploaded and checked their contents and no file with "epk" was found there either. Am I looking in the wrong places?

vpont avatar Jun 23 '22 16:06 vpont

vpont; can you describe the steps to umount to check those locations. is your TV crashing as well ?

I can echo the same stuff happening to me, I believe after a power failure or something

bugsbunny88 avatar Jul 16 '22 15:07 bugsbunny88

Since LG patched RootMyTV (v1 and v2), our startup scripts do not run early enough to effectively block update checks. Currently, the only way around this is to block the relevant subdomains (e.g. on your router):

snu.lge.com
su.lge.com
su-ssl.lge.com
snu-dev.lge.com
su-dev.lge.com
nsu.lge.com

(Listed roughly in order of importance.)

If you are getting notifications about an already-downloaded update, delete the files under /mnt/lg/cmn_data/swupdate (in particular, Image_Update_Info.xml and Package_Update_Info.xml).

I suspect most of the previous reports in this issue (and #89) involved failsafe mode, though. Issue #104 is dedicated to that specifically.

throwaway96 avatar Feb 02 '24 20:02 throwaway96

@throwaway96 I see that the domains you've listed are added to /etc/hosts automatically by the webosbrew setup script (diverting requests to 127.0.0.1). How come this doesn't work?

Unfortunately my router doesn't have any DNS blocking options, so I can't block those subdomains at the router level.

ts95 avatar Feb 04 '24 20:02 ts95

Since LG patched RootMyTV (v1 and v2), our startup scripts do not run early enough to effectively block update checks. Currently, the only way around this is to block the relevant subdomains (e.g. on your router):

snu.lge.com
su.lge.com
su-ssl.lge.com
snu-dev.lge.com
su-dev.lge.com
nsu.lge.com

(Listed roughly in order of importance.)

If you are getting notifications about an already-downloaded update, delete the files under /mnt/lg/cmn_data/swupdate (in particular, Image_Update_Info.xml and Package_Update_Info.xml).

I suspect most of the previous reports in this issue (and #89) involved failsafe mode, though. Issue #104 is dedicated to that specifically.

Hi, i'm getting the update notification at every tv start, how can i stop that? I searched for those two files (Image_Update_Info.xml and Package_Update_Info.xml) but i can't find them. Also i don't have the /mnt/lg/cmn_data/swupdate folder. I have a LG C9 Oled, can you help me please? Thanks

Shad0w80 avatar May 20 '24 00:05 Shad0w80

Hi, i'm getting the update notification at every tv start, how can i stop that?

You'll need to block those listed lge.com subdomains in your router, or by using something like pihole.

AndyHazz avatar May 20 '24 07:05 AndyHazz

Hi, i'm getting the update notification at every tv start, how can i stop that?

You'll need to block those listed lge.com subdomains in your router, or by using something like pihole.

Blocked trhough my router and the notification is gone. I thought the update had already been downloaded, but it hasn't. Thats why i cannot see those files and folder i guess. Thank you

Shad0w80 avatar May 20 '24 23:05 Shad0w80