Page 14 of 44
Re: Toon firmware - update script
Posted: Mon Aug 20, 2018 8:53 pm
by makkie2002
TheHogNL wrote:No that looks ok. If you need assistance you know where to find me

Just wanted to say that I got perfect support from TheHogNL ... I let him explain what was exactly wrong ... it had something to do with a config_qt-gui.xml being fully loaded with apps (most of them the same multiple times) ...
Thanks !
Re: Toon firmware - update script
Posted: Mon Aug 20, 2018 9:00 pm
by TheHogNL
Yes. Checking QT logs which told me that a few tiles (those 4 square buttons on the toon) where loaded a lot of times, like clock, powerusage etc. First I was wondering why this happened.
What could cause the clock (and some others) to be loaded so often? This eventually caused a out-of-memory on his Toon and eventually a reboot.
Studying the config file for his menu structure (config_qt-gui.xml, this is where your settings of your tiles is stored) showed the reason why. Somehome there where hundreds of pages with tiles of clock and other programs. So the Toon did exactly that.. try to load hundreds of pages with the same tiles. The owner didn't knew how this was created. After removing the config file, Toon created a new default confnig and his problem was solved.
Re: Toon firmware - update script
Posted: Tue Aug 28, 2018 3:59 pm
by TerrorSource
I've updated the update-rooted.sh script together with @TheHogNL so it's even easier to get things done.
Changes in 2.95:
- Busybox installation failed due to use of wrong variable. fixed now
Changed in 2.96:
- Added EditTimeServer function, will set ntp server to "0.nl.pool.ntp.org"
- EditHostfile, will block a connection to Quby Service Center
- EditActivation, will activate the Toon if it isn't already activated
- Creation of more backup files
Changed in 2.97
- Added Dropbear installation
- Added x11vnc installation by choice
- Splitted makeBackup function so only a backup will be made of the files which are about to be changed
More updated to come!
Re: Toon firmware - update script
Posted: Wed Aug 29, 2018 10:55 pm
by legalr
Updated the firmware on my test Toon, now very slow startup and reboots, see log whats going on?
eneco-001-342097:~# /usr/bin/startqt
Starting Qt
[hxml] libhcb_xml v0.1 r121 (Jan 29 2018 09:44:33) [master#4207cfbd9a ] (ezxml 0.8.6)
[hbxt] libhcb_boxtalk v0.1 r138 (Apr 25 2018 11:35:54) [master#56643d3bc6 ]
[hcom] libhcb_com v0.1 r144 (Apr 25 2018 13:46:25) [master#14d3fd61d5 ]
[hdrv] libhcb_drv v0.1 r381 (Jul 6 2018 13:42:18) [master#0c45e7492c ]
[hbas] libhcb_base v0.1 r339 (May 7 2018 17:05:04) [master#2b12089082 ]
QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
QTsLibMouseHandler "tslib" ""
Loading resource "../qml/drawables.rcc"
Loading resource "../qml/resources.rcc"
[hbas]Config from /qmf/etc, loading 3 files with decreasing importance.
[hbas]Config from /qmf/etc/qmf_tenant.xml priority 3
[hbas]Config from /qmf/etc/qmf_release.xml priority 2
[hbas]Config from /qmf/etc/qmf_hardware.xml priority 1
[hbas]Config '<qt-gui>ScreenOffToBlank' not found, using default '0'
[qt-gui] qt-gui v0.1 r8697 (Jul 16 2018 13:48:03) [master#57f2716924] pid(1638)
--------------------------------------------------------------------------------------------
[hbas]Config '<qt-gui>noDiscoByebye' not found, using default '0'
[hbas]Config '<qt-gui>configProvider' not found, using default '(null)'
[hbas]Config '<qt-gui>packageUuid' not found, using default 'eneco-001-342097:qt-gui'
[hdrv]Adding internal handler default'7'quit
[hdrv]Adding internal handler default'7'ping
[hdrv]Adding internal handler default'7'doInit
[hdrv]Adding internal handler ConfigProvider'8'GetPackageConfigResponse
[hdrv]Adding internal handler ConfigProvider'7'StoreConfig
[hdrv]Adding internal handler default'7'SetStdoutLvl
[hdrv]Adding internal handler default'7'SetNotifyLvl
[hdrv]Adding internal handler default'9'QueryStateVariable
[hdrv]Adding internal handler default'7'RegisterStateListener
[hdrv]Adding internal handler default'7'webRequest
[hdrv]Adding internal handler default'7'UpdateDataSetSubscription
[hdrv]Adding internal handler default'7'GetDataSet
[hdrv]Adding disco handler 0x400F3318 for hcb_log
[hdrv]Adding disco handler 0x400F5E74 for hcb_web
[hdrv]Adding disco handler 0x400E2998 for hcb_config
[hdrv]Adding disco handler 0x95DE8 for happ_kpi
[hbas]OpenProcess: `grep -h -E 'Package:|Version:' /usr/lib/ipkg/info/base-*-*.control /var/lib/opkg/info/base-*-*.control`
grep: /var/lib/opkg/info/base-*-*.control: No such file or directory
[hbas]Found FirmwareVersion: 4.19.10
[hdrv]Adding driver handler specific1'7'UpdateDataSet
[hbas]Config '<general>Tenant' is 'Eneco'
[hdrv]Adding disco handler 0x4893C for happ_thermstat
[hdrv]Adding driver handler default'7'setScreenState
[hdrv]Adding disco handler 0x4893C for happ_scsync
[hdrv]Adding disco handler 0x4893C for hcb_config
[hdrv]Adding disco handler 0x4893C for happ_kpi
[hdrv]Adding driver handler features'8'GetFeaturesResponse
[hdrv]Adding driver handler specific1'8'GetAgreementDetailsResponse
[hdrv]Adding driver handler specific1'8'GetRegistrationInfoResponse
[hdrv]Adding driver handler ConfigProvider'8'GetPackageConfigResponse
[hcom]Connecting to hcb_comm @ localhost:1337 as 'eneco-001-342097:qt-gui'...
[hcom]Connected to: Home Control Box -- hcb_comm/r194 hbas/r339 hdrv/r381 hcom/r144 hbxt/r138 hxml/r121 -- V=3 E=none A=none -- BoxTalk Hub Ready.
[hcom]Sending HBXT_DISCOVERY_ALIVE from eneco-001-342097:qt-gui:
[hdrv]Adding disco handler 0x4893C for happ_kpi
[hdrv]Adding disco handler 0x4893C for happ_usermsg
Canvas::onCompleted
Loading Open Sans font from imports
Killed
Re: Toon firmware - update script
Posted: Thu Aug 30, 2018 8:13 am
by marcelr
Open a second shell to your toon, and run the command "top" while the update is ongoing in the other shell. Then you can see processor load, free memory etc. Probably the memory is almost full, and processor load is at an all time high (above 10).
Re: Toon firmware - update script
Posted: Thu Aug 30, 2018 8:33 am
by TerrorSource
New version of the script!
Changed in 2.98
- editVPNconnection, disables ovpn in inittab if it isn't already disabled
- edittSerialConnection, enables serial connection in inittab if it isn't already enabled
Re: Toon firmware - update script
Posted: Sun Sep 02, 2018 9:35 pm
by legalr
marcelr wrote:Open a second shell to your toon, and run the command "top" while the update is ongoing in the other shell. Then you can see processor load, free memory etc. Probably the memory is almost full, and processor load is at an all time high (above 10).
today i had time to check it.
during Update no full disk or high processor load.
4 of 5 times the wont boot into GUI, reboots before entering GUI.
1 of 5 times boots into GUI, bus GUI becomes very slow and after a couple of minutes the GUI is not responding anymore.
all the times i checked with the "Top"command but no full load or full memory.
is there an option for a cleanup/clean install?
Re: Toon firmware - update script
Posted: Sun Sep 02, 2018 11:13 pm
by makkie2002
legalr wrote:marcelr wrote:Open a second shell to your toon, and run the command "top" while the update is ongoing in the other shell. Then you can see processor load, free memory etc. Probably the memory is almost full, and processor load is at an all time high (above 10).
today i had time to check it.
during Update no full disk or high processor load.
4 of 5 times the wont boot into GUI, reboots before entering GUI.
1 of 5 times boots into GUI, bus GUI becomes very slow and after a couple of minutes the GUI is not responding anymore.
all the times i checked with the "Top"command but no full load or full memory.
is there an option for a cleanup/clean install?
The symptoms sound familiar to issues I had some time ago ... check few posts above (
link) ... TheHogNl found what was wrong ... it is all in the posts above !
Re: Toon firmware - update script
Posted: Mon Sep 03, 2018 9:16 pm
by Timeless
This seems like a great way of updating Toon! maybe it has been asked already, but does this need a active subscription with Eneco?
Re: Toon firmware - update script
Posted: Mon Sep 03, 2018 9:25 pm
by Toonz
Timeless wrote:This seems like a great way of updating Toon! maybe it has been asked already, but does this need a active subscription with Eneco?
No, a subscription is not needed. But you must be able to start the VPN to Eneco.
If your toon is rooted by Quby that is not possible anymore (Quby removes the VPN keys during rooting)
Re: Toon firmware - update script
Posted: Mon Sep 03, 2018 9:39 pm
by mAiden
What happens when you say "no", when script ask you to resume?
Re: Toon firmware - update script
Posted: Mon Sep 03, 2018 9:44 pm
by Timeless
Toonz wrote:Timeless wrote:This seems like a great way of updating Toon! maybe it has been asked already, but does this need a active subscription with Eneco?
No, a subscription is not needed. But you must be able to start the VPN to Eneco.
If your toon is rooted by Quby that is not possible anymore (Quby removes the VPN keys during rooting)
Ah, I rooted Toon in 2017 myself with Marcel's manuals. So unless Quby removes the keys after a period of time I should be good to go right?
And I shouldn't undo any rooting right before I update? I see that some 'sed' commands restore things I edited when following the rooting manual.
Re: Toon firmware - update script
Posted: Mon Sep 03, 2018 9:54 pm
by Toonz
Timeless wrote:
And I shouldn't undo any rooting right before I update? I see that some 'sed' commands restore things I edited when following the rooting manual.
No, no need to unroot. Just run the script...
Re: Toon firmware - update script
Posted: Mon Sep 03, 2018 9:57 pm
by TerrorSource
Timeless wrote:Toonz wrote:Timeless wrote:This seems like a great way of updating Toon! maybe it has been asked already, but does this need a active subscription with Eneco?
No, a subscription is not needed. But you must be able to start the VPN to Eneco.
If your toon is rooted by Quby that is not possible anymore (Quby removes the VPN keys during rooting)
Ah, I rooted Toon in 2017 myself with Marcel's manuals. So unless Quby removes the keys after a period of time I should be good to go right?
And I shouldn't undo any rooting right before I update? I see that some 'sed' commands restore things I edited when following the rooting manual.
sed command's should only set things back to normal if needed and then edit's them again so there won't be double lines in the files.
Re: Toon firmware - update script
Posted: Mon Sep 03, 2018 10:11 pm
by TheHogNL
mAiden wrote:What happens when you say "no", when script ask you to resume?
It cancels your previous attempt and starts a new update session (redownload everything etc).