Toon firmware - update script

Forum about the Toon firmware, and its extensions

Moderators: marcelr, TheHogNL, Toonz

WickedMaster
Member
Member
Posts: 76
Joined: Wed Nov 07, 2018 1:53 pm

Re: Toon firmware - update script

Post by WickedMaster »

brommetje wrote:Thanks @TheHogNL new version 3.55 is working fine I just upgraded my toon1 from 4.19.10 to 5.0.4.

Just another question I do not know if it has to do with the update to 5.0.4 but my brightness settings of the screen doesn't work any more.
Normally it set 50% (Helderheid 50%) dim after 1 min but is going to completely black.
In settings it is now set to Helderheid scherm actief 50% and dimstand 30% or 10% but is going always to completely black, It doesn't matter what I change/set.

Any suggestions?
Brightness settings are adjustable fine here, on 5.0.4. Maybe your mode is set on "Slapen" or "Weg". That results a black-screen after a while (depends on your settings).
Last edited by WickedMaster on Sun Feb 03, 2019 5:22 pm, edited 1 time in total.
brommetje
Starting Member
Starting Member
Posts: 11
Joined: Sun Oct 28, 2018 3:31 pm

Re: Toon firmware - update script

Post by brommetje »

Hi @WickedMaster you have right, despite my program is always off on the toon "Programma uit" you have to select "Thuis" in my case, so not "Slapen" or "Weg".
So how toon is reacting, also with "program off" is depending on the mode, solved.
WilcoSnel
Starting Member
Starting Member
Posts: 11
Joined: Fri Jan 25, 2019 2:43 pm

Re: Toon firmware - update script

Post by WilcoSnel »

I copied over the files of the update script to /root/update-rooted/ on my Toon (as you can see below in the output).
However, I keep getting the below errors.
I didn't see any dependencies in the readme. Should I have installed something else first?

I also noticed wget was not working properly, so just copied over the files using scp on my Pi.
Could that be related?

Code: Select all

eneco-001-349559:~/update-rooted# ls
README.md          sleap.html         update-rooted.md5  update-rooted.sh
eneco-001-349559:~/update-rooted# sh update-rooted.sh
update-rooted.sh: line 7: syntax error: unexpected newline
eneco-001-349559:~/update-rooted# chmod +x update-rooted.sh
eneco-001-349559:~/update-rooted# ls
README.md          sleap.html         update-rooted.md5  update-rooted.sh
eneco-001-349559:~/update-rooted# ./update-rooted.sh
./update-rooted.sh: line 7: syntax error: unexpected newline
eneco-001-349559:~/update-rooted#
marcog
Starting Member
Starting Member
Posts: 16
Joined: Thu Nov 01, 2018 3:45 pm

Re: Toon firmware - update script

Post by marcog »

Today I've updated my Toon 1 from 4.22.7 to 5.0.4. just as the site domoticaforum.eu was down :-( Waited until the site was back up (just for a minute or so before it went down again). I used the update script with the -f option to fix the apps. During this process I noticed an error:

Configuring calendar.
Running postinstall on /HCBv2/qml/qb/base/Globals.qml
grep: /HCBv2/qml/qb/base/Globals.qml: No such file or directory
Adding calendar to Globals.qml
sed: /HCBv2/qml/qb/base/Globals.qml: No such file or directory

Is that the reason the Tiles were missing? On the other hand the directory "/HCBv2/qml/qb/base" still doesn't exists, but that doesn't seem to be a problem.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

WilcoSnel wrote:I copied over the files of the update script to /root/update-rooted/ on my Toon (as you can see below in the output).
However, I keep getting the below errors.
I didn't see any dependencies in the readme. Should I have installed something else first?

I also noticed wget was not working properly, so just copied over the files using scp on my Pi.
Could that be related?

Code: Select all

eneco-001-349559:~/update-rooted# ls
README.md          sleap.html         update-rooted.md5  update-rooted.sh
eneco-001-349559:~/update-rooted# sh update-rooted.sh
update-rooted.sh: line 7: syntax error: unexpected newline
eneco-001-349559:~/update-rooted# chmod +x update-rooted.sh
eneco-001-349559:~/update-rooted# ls
README.md          sleap.html         update-rooted.md5  update-rooted.sh
eneco-001-349559:~/update-rooted# ./update-rooted.sh
./update-rooted.sh: line 7: syntax error: unexpected newline
eneco-001-349559:~/update-rooted#
Redownload the file. You can also download with "curl -Nks raw.githubusercontent.com/IgorYbema/update-rooted/master/update-rooted.sh -o /root/update-rooted.sh"
Member of the Toon Software Collective
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

marcog wrote:Today I've updated my Toon 1 from 4.22.7 to 5.0.4. just as the site domoticaforum.eu was down :-( Waited until the site was back up (just for a minute or so before it went down again). I used the update script with the -f option to fix the apps. During this process I noticed an error:

Configuring calendar.
Running postinstall on /HCBv2/qml/qb/base/Globals.qml
grep: /HCBv2/qml/qb/base/Globals.qml: No such file or directory
Adding calendar to Globals.qml
sed: /HCBv2/qml/qb/base/Globals.qml: No such file or directory

Is that the reason the Tiles were missing? On the other hand the directory "/HCBv2/qml/qb/base" still doesn't exists, but that doesn't seem to be a problem.

Just ignore these errors. Error message handling is a bit old on some apps. Globals.qml is only for firmware before 4.16, that why it is not there.
Tiles missing happens for some users. Still don't know how this happens. Everything ok now?
Member of the Toon Software Collective
marcog
Starting Member
Starting Member
Posts: 16
Joined: Thu Nov 01, 2018 3:45 pm

Re: Toon firmware - update script

Post by marcog »

TheHogNL wrote:
marcog wrote:Today I've updated my Toon 1 from 4.22.7 to 5.0.4. just as the site domoticaforum.eu was down :-( Waited until the site was back up (just for a minute or so before it went down again). I used the update script with the -f option to fix the apps. During this process I noticed an error:

Configuring calendar.
Running postinstall on /HCBv2/qml/qb/base/Globals.qml
grep: /HCBv2/qml/qb/base/Globals.qml: No such file or directory
Adding calendar to Globals.qml
sed: /HCBv2/qml/qb/base/Globals.qml: No such file or directory

Is that the reason the Tiles were missing? On the other hand the directory "/HCBv2/qml/qb/base" still doesn't exists, but that doesn't seem to be a problem.

Just ignore these errors. Error message handling is a bit old on some apps. Globals.qml is only for firmware before 4.16, that why it is not there.
Tiles missing happens for some users. Still don't know how this happens. Everything ok now?
Most definitely, it was a bit scary to see the update script taking a long time to finish because this site was down. I had to stop the script and restart it again with -f. After that I only had to assign the custom apps to the tiles.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

marcog wrote: Most definitely, it was a bit scary to see the update script taking a long time to finish because this site was down. I had to stop the script and restart it again with -f. After that I only had to assign the custom apps to the tiles.
Yes the 'fixing' part of the script (just after the update) depends a bit on the forum download site. It downloads toonstore and updates all apps you already have installed. Another part of the script downloads resource files etc, but that is from my own site which ofcourse always running :-)

Thinking of this,.. I could rewrite the script a bit to download all files before updating. However, this can also interfere with the update process as sometimes (especially towards 5.0.4) it requires a lot of space to run...
Member of the Toon Software Collective
WilcoSnel
Starting Member
Starting Member
Posts: 11
Joined: Fri Jan 25, 2019 2:43 pm

Re: Toon firmware - update script

Post by WilcoSnel »

Redownload the file. You can also download with "curl -Nks raw.githubusercontent.com/IgorYbema/update-rooted/master/update-rooted.sh -o /root/update-rooted.sh"
Okay, did that. And made sure I had read, write and execution rights, but now it's just not providing output. See below.
After the root process was fixed, I'd hoped this one might go a bit smoother, but no luck for me it seems.
Let me know if there's anything else I can try/check/do that might fix this.

Code: Select all

eneco-001-349559:~# curl -Nks raw.githubusercontent.com/IgorYbema/update-rooted/
master/update-rooted.sh -o /root/update-rooted.sh
eneco-001-349559:~# ls -l update-rooted.sh
-rw-r--r--    1 root     root             0 Feb  4 20:29 update-rooted.sh
eneco-001-349559:~# chmod 755 update-rooted.sh
eneco-001-349559:~# ls -l update-rooted.sh
-rwxr-xr-x    1 root     root             0 Feb  4 20:29 update-rooted.sh
eneco-001-349559:~# sh update-rooted.sh
eneco-001-349559:~# ./update-rooted.sh
eneco-001-349559:~#
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

Sorry, forgot the https:

curl -Nks https://raw.githubusercontent.com/IgorY ... -rooted.sh -o /root/update-rooted.sh
Member of the Toon Software Collective
WilcoSnel
Starting Member
Starting Member
Posts: 11
Joined: Fri Jan 25, 2019 2:43 pm

Re: Toon firmware - update script

Post by WilcoSnel »

TheHogNL wrote:Sorry, forgot the https:

curl -Nks https://raw.githubusercontent.com/IgorY ... -rooted.sh -o /root/update-rooted.sh
Ok, removed the files that were downloaded before, redownloaded with the correct link.
It's running correctly now. Thanks again for the great support! :D
hmostard
Starting Member
Starting Member
Posts: 13
Joined: Wed Feb 06, 2019 10:15 pm

Re: Toon firmware - update script

Post by hmostard »

Hi,
I just rooted my Toon with the automated script.
Before i will add some apps like Toonstore i first wanted to update my Toon.
Current version is 3.2.18. I read somewhere that i first have to update to 4.10.6 before updating to latest version.
However when i start the update script, with option -v 4.10.6, i get a lot of error messages after downloading the new version and the update aborts.

Part of log file:
Collected errors:
* opkg_download_pkg: Package libhcb-base is not available from any configured s
* opkg_install_pkg: Failed to download libhcb-base. Perhaps you need to run 'op
* opkg_download_pkg: Package libhcb-base is not available from any configured s
* opkg_install_pkg: Failed to download libhcb-base. Perhaps you need to run 'op
* opkg_download_pkg: Package libc6 is not available from any configured src.
* opkg_install_pkg: Failed to download libc6. Perhaps you need to run 'opkg upd

Any idea what i am doing wrong?
Attachments
upgrade-qb2.sh.zip
I tried serveral times today.
(3.19 KiB) Downloaded 325 times
lxz
Starting Member
Starting Member
Posts: 16
Joined: Mon Nov 13, 2017 12:45 pm

Re: Toon firmware - update script

Post by lxz »

Hi,

I have updated my Toon1 from 4.19-something to 5.0.4 and it went quite well, thanks to the update-rooted-script (thanks for that!).
However, I am missing some elements (texts, icons) on the screen. screenshot1 screenshot2

Any idea how to fix this?


-edit: forgot to mention:
I tried freeing up some space and re-running the script, which didn't help. I did not see anything special in the log files in /mnt/data/update as well..
hmostard
Starting Member
Starting Member
Posts: 13
Joined: Wed Feb 06, 2019 10:15 pm

Re: Toon firmware - update script

Post by hmostard »

Just looked at some files and found something very strange.
The display of TOON shows " software versie 3.2.18" but when i look in opkg-cache i see this.

Code: Select all

eneco-001-341427:/HCBv2/tmp/opkg-cache# ls
_opkg.qb2-ene-4.10.6.script.sh
_opkg.qb2-ene-4.10.6.script.sh.log
_opkg.qb2-ene-4.10.6.script.sh.res
_opkg.qb2-ene-4.10.6.script.sh.sig
_opkg.qb2-ene-4.3.20.script.sh
_opkg.qb2-ene-4.3.20.script.sh.log
_opkg.qb2-ene-4.3.20.script.sh.res
_opkg.qb2-ene-4.3.20.script.sh.sig
_opkg.qb2-ene-4.4.21.script.sh
_opkg.qb2-ene-4.4.21.script.sh.log
_opkg.qb2-ene-4.4.21.script.sh.res
_opkg.qb2-ene-4.4.21.script.sh.sig
_opkg.qb2-ene-4.7.23.script.sh
_opkg.qb2-ene-4.7.23.script.sh.log
_opkg.qb2-ene-4.7.23.script.sh.res
_opkg.qb2-ene-4.7.23.script.sh.sig
_opkg.qb2-ene-4.8.25.script.sh
_opkg.qb2-ene-4.8.25.script.sh.log
_opkg.qb2-ene-4.8.25.script.sh.res
_opkg.qb2-ene-4.8.25.script.sh.sig
_opkg.qb2-ene-4.9.23.script.sh
_opkg.qb2-ene-4.9.23.script.sh.log
_opkg.qb2-ene-4.9.23.script.sh.res
_opkg.qb2-ene-4.9.23.script.sh.sig
_opkg.qb2-ene-5.0.4.script.sh
_opkg.qb2-ene-5.0.4.script.sh.log
_opkg.qb2-ene-5.0.4.script.sh.res
_opkg.qb2-ene-5.0.4.script.sh.sig
base-qb2-ene_4.10.6-1196-0_qb2.ipk
boot-logos_1.71_qb2.ipk
busybox-mountall_1.27.2-r1_qb2.ipk
busybox-syslog_1.27.2-r1_qb2.ipk
busybox_1.27.2-r1_qb2.ipk
curl_7.50.0-r0_qb2.ipk
firmware-ba_1.44_qb2.ipk
firmware-ma_1.113-master_qb2.ipk
firmware-zwave-ctrlr_1.8-4.55-NrNfNm-noeep_qb2.ipk
flash-gui_1.651-ene-qeio_qb2.ipk
happ-eventmgr_1.212-master_qb2.ipk
happ-kpi_1.406-master_qb2.ipk
happ-pwrusage_1.674-master_qb2.ipk
happ-scsync_1.267-master_qb2.ipk
happ-smartplug_1.203-master_qb2.ipk
happ-thermstat_1.1919-release-4.10_qb2.ipk
happ-usermsg_1.87-master_qb2.ipk
happ-weather_1.147-master_qb2.ipk
hcb-bxtproxy_1.349-master_qb2.ipk
hcb-comm_1.184-N-master_qb2.ipk
hcb-config_1.331-master_qb2.ipk
hcb-log_1.79-master_qb2.ipk
hcb-netcon_1.346-master_qb2.ipk
hcb-rrd_2.159-master_qb2.ipk
hcb-watchdog_1.69-master_qb2.ipk
hdrv-hue_1.221-master_qb2.ipk
hdrv-p1_1.724-master_qb2.ipk
hdrv-zwave_1.1284-master_qb2.ipk
kernel-image_2.6.36-R10-h27_qb2.ipk
kernel-module-fat_2.6.36-R10-h27_qb2.ipk
kernel-module-ftdi-sio_2.6.36-R10-h27_qb2.ipk
kernel-module-msdos_2.6.36-R10-h27_qb2.ipk
kernel-module-pl2303_2.6.36-R10-h27_qb2.ipk
kernel-module-rt5370sta-cfg_2.6.36-R10-h27_qb2.ipk
kernel-module-rt5370sta_2.6.36-R10-h27_qb2.ipk
kernel-module-rtl8191su_2.6.36-R10-h27_qb2.ipk
kernel-module-vfat_2.6.36-R10-h27_qb2.ipk
kernel-module-zwave300_2.6.36-R10-h27_qb2.ipk
kernel_2.6.36-R10-h27_qb2.ipk
libcrypto1.0.0_1.0.2h-r2_qb2.ipk
libcurl_7.50.0-r0_qb2.ipk
libhcb-boxtalk_1.123-master_qb2.ipk
libhcb-com_1.124-N-master_qb2.ipk
libhcb-drv_1.342-master_qb2.ipk
libhcb-xml_1.111-master_qb2.ipk
libssl1.0.0_1.0.2h-r2_qb2.ipk
lighttpd_1.4.33-28_qb2.ipk
openssl-conf_1.0.2h-r3_qb2.ipk
openssl_1.0.2h-r3_qb2.ipk
openvpn_2.3.11-r1_qb2.ipk
qmf-0_1.19-master-r0_qb2.ipk
qt-gui_1.8075-ene-release-4.10_qb2.ipk
updated-rooted.status
upgrade-qb2.sh
upgrade-qb2.sh.log
upgrade-qb2.sh.res
wpa-supplicant-cli_2.6-r0_qb2.ipk
wpa-supplicant-passphrase_2.6-r0_qb2.ipk
wpa-supplicant_2.6-r0_qb2.ipk
www-resources_1.35-master_qb2.ipk
Could it be that my TOON is up to date but config_happ_scsync.xml not. That xml still contains 3.2.18 as sw_version.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

hmostard wrote: Could it be that my TOON is up to date but config_happ_scsync.xml not. That xml still contains 3.2.18 as sw_version.
No those are only older attempts to update.

You can check which update is probably in the system which holds you back updating further with: "opkg list | grep base-qb2". Result should be one or more base-qb2-ene/uni files.
Take the highest number, i think it is 5.0.4

Then do a force update to that version (if that is higher than 4.10.6 that's ok). So do "update.sh -v highest-version-number"
Member of the Toon Software Collective
Post Reply

Return to “Toon Firmware”