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

Failsafe is always set after "cold" start

Open Bodenseematze opened this issue 3 years ago • 23 comments
trafficstars

I have a brand new LG OLED48C17LB with WebOS 6.2.2 which I rooted and installed the homebrew app.

I always shutdown my TV with its remote (standby mode is not set) and then cut it from the power (socket-outlet with a switch). When I then switch it on again, it always starts in failsafe mode (with annoying message at TV screen) and I have to switch it off manually in the homebrew app and reboot the device. After that the failsafe mode is gone until I cut the device completely from power again...

Bodenseematze avatar Feb 02 '22 06:02 Bodenseematze

This will probably be fixed when we merge in and release a version with #80

However, can you quickly check contents of these files / results of these commands, after connecting to the TV over telnet or ssh:

cat /media/cryptofs/apps/usr/palm/services/com.palmdts.devmode.service/start-devmode.sh

cat /mnt/lg/cmn_data/wam/extra_conf.sh

cat /var/lib/webosbrew/startup.sh

ps aux | grep -i startup

(You can use Putty or a somewhat-default Windows/Linux/OSX ssh command to connect to the TV with SSH enabled, ssh root@TV_IP, default password is alpine)

Informatic avatar Feb 02 '22 06:02 Informatic

Just to add to this as well, it is not a good idea to cut the power at the socket after switching off as the TV attempts to do a pixel refresh in this time :)

Wtcheesecakes avatar Feb 02 '22 13:02 Wtcheesecakes

First of all: I enabled the ssh server in HBC - but it seems it is not running after power on. So I had to enable telnet as well (and reboot the TV system) to get at the command prompt... EDIT: after resetting the failsafe mode flag in HBC and doing a reboot, the sshd was started...

This will probably be fixed when we merge in and release a version with #80

hope it'll be soon ;-)

However, can you quickly check contents of these files / results of these commands, after connecting to the TV over telnet or ssh:

cat /media/cryptofs/apps/usr/palm/services/com.palmdts.devmode.service/start-devmode.sh

File does not exist. Inside /media/cryptofs/apps/usr/palm/services/com.palmdts.devmode.service/ there is only a sub directory "binaries-armv71" and inside that "opt/ and inside that the two directories "openssh" and "devmode". All of the directories are empty and no files inside.

cat /mnt/lg/cmn_data/wam/extra_conf.sh

see attached file "extra_conf.sh.txt" extra_conf.sh.txt

cat /var/lib/webosbrew/startup.sh

see attached file "startup.sh.txt" startup.sh.txt

ps aux | grep -i startup

root 3815 0.0 0.0 4456 536 ? S 10:50 0:00 sh /var/lib/webosbrew/startup.sh root 5347 0.0 0.0 4456 756 pts/2 S 10:58 0:00 sh /var/lib/webosbrew/startup.sh root 5753 0.0 0.0 4456 704 pts/2 S+ 11:03 0:00 grep -i startup

Bodenseematze avatar Feb 06 '22 10:02 Bodenseematze

Just to add to this as well, it is not a good idea to cut the power at the socket after switching off as the TV attempts to do a pixel refresh in this time :)

I thought current OLED TVs don't need that anymore? For energy savings reasons I'll continue to switch my TV (and the other devices like BluRay, network switch, amplifier, subwoofer, ...) off - but I'll do a manual pixel refresh from time to time...

Bodenseematze avatar Feb 06 '22 10:02 Bodenseematze

Just to add to this as well, it is not a good idea to cut the power at the socket after switching off as the TV attempts to do a pixel refresh in this time :)

I thought current OLED TVs don't need that anymore? For energy savings reasons I'll continue to switch my TV (and the other devices like BluRay, network switch, amplifier, subwoofer, ...) off - but I'll do a manual pixel refresh from time to time...

https://youtu.be/dHwB1IDVzZU will tell you about it 😁

Wtcheesecakes avatar Feb 06 '22 13:02 Wtcheesecakes

I had the failsafe issue when i restart or poweroff the tv too often in short time. Waiting for the new release. @Bodenseematze I have been 3 years in tv repair service. LG does not give you warranty on the panel if you don't have the optimal refreshes count/hours. It is listed in the service menu.

jospezial avatar Feb 07 '22 07:02 jospezial

Is there a quick way to fix this before the next release? It‘s kinda annoying, especially because the failsafe mode is activated again on every power loss, even if it’s unchecked at the settings..

ccvh avatar Feb 22 '22 15:02 ccvh

Is the issue fixed with the 0.5.0RC/RC-2 releases? If yes, how can I update the HBC 0.4.0 with the RC version(s)? The "Update" button is still grayed out and a way to switch from "Release Channel" to "Beta" seems not to be present?!

Bodenseematze avatar Feb 24 '22 06:02 Bodenseematze

You need to connect over ssh or telnet and run the following command:

luna-send -i 'luna://org.webosbrew.hbchannel.service/install' '{"ipkUrl":"https://github.com/webosbrew/webos-homebrew-channel/releases/download/v0.5.0-rc2/org.webosbrew.hbchannel_0.4.0_all.ipk","ipkHash":"d4b4a7d3bc6c13b2f85cb05c7987195a91188ef2d2b643ed68e06d2bc626f637"}'

(version will still be listed as v0.4.0 in Settings because it's a release candidate...)

Otherwise, I'll push out that version as an available update officially this evening. (in ~10 hours)

Notable changes here: https://github.com/webosbrew/webos-homebrew-channel/blob/v0.5.0-rc1/CHANGELOG.md#unreleased

Informatic avatar Feb 24 '22 07:02 Informatic

v0.5.0 has been released - now you can update by going to Homebrew Channel → Apps list → Homebrew Channel → Update.

Informatic avatar Mar 03 '22 18:03 Informatic

inbetween I updated to v0.5.0 - which doesn't solve this issue: it just "changes" ;-)

Now I have a really big dialog after cold starting my TV saying that the TV started in failsafe mode and it asked whether I want to reboot now or later...

So it's now easier to switch the failsafe mode off - but the issue that the TV goes to failsafe mode after powering it off is still present :-(

Bodenseematze avatar Mar 04 '22 17:03 Bodenseematze

Sure, we made a bunch of other changes that could've helped (but they didn't ;))

Can we sit down and try to debug this together in private? You can reach me on matrix (@informatic:hackerspace.pl), openlgtv discord (infowski), irc (inf @ libera.chat), or, as a last resort, via email (informatic at hackerspace.pl)

Informatic avatar Mar 04 '22 18:03 Informatic

im not sure if this same problem but after any power loss my tv will boot in failsafe mode. quickstart+ disabled. tv not running any internal routines, (come true even after few days without swithching on)

webos 6.2.0 hbc 0.5.0

nnmdd avatar Jun 30 '22 08:06 nnmdd

I have been experiencing the same issue.

goodlucknow avatar Jul 06 '22 08:07 goodlucknow

Any news? Everything else works like a charm, but I use an zigbee outlet to power off all multimedia Standby by night and it’s so annoying 😔

ccvh avatar Jul 20 '22 17:07 ccvh

I'm getting the same repeating message after each cold start of my LG UK7550LLA - v05.40.26 with latest webosbrew installed :-(

bendingunit avatar Aug 27 '22 17:08 bendingunit

I'm facing the same issue. Is there any place where i can find the log output to see what's causing the issue?

modelName : OLED55C8LLA (rooted) firmwareVersion : 05.50.10 homebrew version: 0.6.3

mcdachpappe avatar Apr 29 '23 06:04 mcdachpappe

regularly facing that issue LG C2, latest firmware homebrew version: 0.6.3

Is there a way to fix it? It is pretty annoying to restart tv each time

rdzviper avatar Nov 18 '23 07:11 rdzviper

This is just an observation and someone with more knowledge than me needs to confirm the following.

I was looking at the code and saw sync is called when writing the failsafe file here:

https://github.com/webosbrew/webos-homebrew-channel/blob/d1898e8cecca01f64a670ed8255b5fc0fae985c6/services/startup.sh#L43-L44

Might the issue be caused by the fact that sync is not called when removing the file? Causing the file to stay on the filesystem?

https://github.com/webosbrew/webos-homebrew-channel/blob/d1898e8cecca01f64a670ed8255b5fc0fae985c6/services/startup.sh#L38-L39

https://github.com/webosbrew/webos-homebrew-channel/blob/d1898e8cecca01f64a670ed8255b5fc0fae985c6/services/startup.sh#L139-L140

rjd22 avatar Dec 26 '23 16:12 rjd22

I added sync in #164. I don't think it will resolve this issue, but it may help in a few cases.

We need to improve the documentation around failsafe mode: what it is, how/why it gets enabled, what to do about it, etc.

throwaway96 avatar Feb 02 '24 19:02 throwaway96

I added sync in #164. I don't think it will resolve this issue, but it may help in a few cases.

We need to improve the documentation around failsafe mode: what it is, how/why it gets enabled, what to do about it, etc.

I'm ready an looking forward to test it

mcdachpappe avatar Feb 03 '24 13:02 mcdachpappe