New major firmware release 5.0.4 - UPGRADE AVAILABLE

Forum about the Toon firmware, and its extensions

Moderators: marcelr, TheHogNL, Toonz

Ierlandfan
Member
Member
Posts: 151
Joined: Thu Oct 03, 2013 7:53 pm

Re: New major firmware release 5.0.3 - DO NO UPGRADE YET

Post by Ierlandfan »

Everything works as usual! Have to check to VPN but everything else is fine. Thank you again.

Edit: had to change /etc/hosts manually (Did that before but now it worked because of the libz1 installed)


# <persistent /etc/hosts content can be added to /etc/hosts.template file>
127.0.0.1 localhost.localdomain localhost eneco-001-005536
172.23.32.1 feed.hae.int feed
172.23.32.1 feed.hae.orig feed
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: New major firmware release 5.0 - DO NO UPGRADE YET

Post by TheHogNL »

One thing we needed to change is that all icons/images for custom apps should be included in the resource files.
Loading content from the local file system (file://) is being blocked in this new 5.0 firmware. There are still ways around this but I guess eventually every single app must be run from resource files.

For now we will add all icons/images from known custom apps (the onces in toonstore) to the modded resource file. Other yet to be created apps can use these icons also. If they have special new icons we can add them in the resource file.

Further changes in 5.0 related to loading custom apps:
- QtQuick module changed from 1.1 to 2.1 (so change your import lines in the qml files)
- Effects module is gone (so .. yeah, you know.. )
- reading files from disk (FileIO function) now only allows if you put "file:///" in front of it
- loading a systray icon for your app should now include a 'objectName'' variable in the systray qml file (look for examples in yet to be released new toonstore app)
- probably some more we still need to discover
Member of the Toon Software Collective
mAiden
Member
Member
Posts: 330
Joined: Mon Jul 10, 2017 10:22 am

Re: New major firmware release 5.0 - DO NO UPGRADE YET

Post by mAiden »

Ierlandfan wrote:Everything works as usual! Have to check to VPN but everything else is fine. Thank you again.

Edit: had to change /etc/hosts manually (Did that before but now it worked because of the libz1 installed)


# <persistent /etc/hosts content can be added to /etc/hosts.template file>
127.0.0.1 localhost.localdomain localhost eneco-001-005536
172.23.32.1 feed.hae.int feed
172.23.32.1 feed.hae.orig feed
No problem. Glad I could help you.
TheHogNL wrote:One thing we needed to change is that all icons/images for custom apps should be included in the resource files.
Loading content from the local file system (file://) is being blocked in this new 5.0 firmware. There are still ways around this but I guess eventually every single app must be run from resource files.

For now we will add all icons/images from known custom apps (the onces in toonstore) to the modded resource file. Other yet to be created apps can use these icons also. If they have special new icons we can add them in the resource file.

Further changes in 5.0 related to loading custom apps:
- QtQuick module changed from 1.1 to 2.1 (so change your import lines in the qml files)
- Effects module is gone (so .. yeah, you know.. )
- reading files from disk (FileIO function) now only allows if you put "file:///" in front of it
- loading a systray icon for your app should now include a 'objectName'' variable in the systray qml file (look for examples in yet to be released new toonstore app)
- probably some more we still need to discover
Will continue tomorrow, also send the list of adjustments i have made. Have now been after 12 hours of nonstop working on it, bit of square eyes. Do it with pleasure.
Member of the Toon Software Collective
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: New major firmware release 5.0 - DO NO UPGRADE YET

Post by Toonz »

hi all,

small progress update: I just created a single toonstore installation package which install properly on Toon 1 and Toon 2, on both firmware <=4 and the new firmware 5.
All the changes mentioned by TheHogNL are included in the QML code plus some more to make it as much compatible as we can for both firmwares (color properties for instance).
What happens is that the base QMl code runs on firmware 4 or lower.
When the installation script detects firmware 5 or higher it will apply a set of changes to the QML code on the fly to make it run on firmware 5.

We need to do some further internal testing and apply the same approach to all the apps in the ToonStore.
Also, as TheHogNL mentioned we need to release the modded resource files which contain all images from all custom apps.

We will document all the changes and guidelines for the developers when done with all apps.

So far looking good.....

EDIT: 19/12: ToonStore, Kalender and Afvalwijzer are ready, 9 apps to go....
EDIT: 21/12: most apps are completed, entering the test phase

Kind regardz,

Toonz
member of the Toon Software Collective
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: New major firmware release 5.0 - DO NO UPGRADE YET

Post by TheHogNL »

For who want to create apps for firmware 5.0 please check this list of icons/images to use:
https://github.com/ToonSoftwareCollective/tsc-images

You can also pull-request new images if you want. I will then add them in a next resource file build.

To use the images point to them like this example taken from toonstore:

Code: Select all

property url thumbnailIcon: "qrc:/tsc/repo.png"
Member of the Toon Software Collective
Ierlandfan
Member
Member
Posts: 151
Joined: Thu Oct 03, 2013 7:53 pm

Re: New major firmware release 5.0 - DO NO UPGRADE YET

Post by Ierlandfan »

Do you happen to know where the back, front, home buttons are residing? Toon is fully functional , the button presses are registered (and working) but the buttons themselves do not show up. Is that a resources file thing?
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: New major firmware release 5.0 - DO NO UPGRADE YET

Post by TheHogNL »

Which app do you mean?
Member of the Toon Software Collective
Ierlandfan
Member
Member
Posts: 151
Joined: Thu Oct 03, 2013 7:53 pm

Re: New major firmware release 5.0 - DO NO UPGRADE YET

Post by Ierlandfan »

Any App. For example, on the home screen / default screen, in the top left corner there should be a button. The shortcut on the left side (Bringing up the lights or smoke detector) does not display an icon inside the round button. If I go to settings there's no "back"button or "next" button.
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: New major firmware release 5.0 - DO NO UPGRADE YET

Post by Toonz »

Do you still have a valid /qmf/qml/drawables-base.rcc file?
That's where all default icons are located.
member of the Toon Software Collective
Ierlandfan
Member
Member
Posts: 151
Joined: Thu Oct 03, 2013 7:53 pm

Re: New major firmware release 5.0 - DO NO UPGRADE YET

Post by Ierlandfan »

How to check? Or can anyone upload their (5.x) drawables-base.rcc?

ls -la says this:

Code: Select all

drwxr-xr-x    5 root     root           832 Dec 13 23:17 .
drwxr-xr-x   12 root     root          1056 Nov 12 09:26 ..
drwxr-xr-x   35 root     root          2752 Dec  7 09:19 apps
drwxr-xr-x    2 root     root           312 Dec 13 23:13 config
-rw-r--r--    1 root     root       4302241 Dec  7 09:19 drawables-base.rcc
-rw-r--r--    1 root     root       5207411 Dec  7 09:19 drawables-ebl.rcc
lrwxrwxrwx    1 root     root            27 Dec 13 23:17 drawables.rcc -> /qmf/qml/drawables-base.rcc
drwxr-xr-x    3 root     root           224 Dec  7 09:19 qb
-rw-r--r--    1 root     root       1132884 Dec  7 09:19 resources-static-base.rcc
-rw-r--r--    1 root     root       1128938 Dec  7 09:19 resources-static-ebl.rcc
lrwxrwxrwx    1 root     root            34 Dec 13 23:17 resources.rcc -> /qmf/qml/resources-static-base.rcc
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: New major firmware release 5.0 - DO NO UPGRADE YET

Post by TheHogNL »

This topic is about DO NOT upgrade to 5.0 yet ;-)
Member of the Toon Software Collective
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: New major firmware release 5.0.4 - DO NO UPGRADE YET

Post by TheHogNL »

Eneco just officially announced 5.0.4. We will now go in to the testing process where we can hopefully release this version on rooted toons also. Just wait a bit longer.
Member of the Toon Software Collective
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: New major firmware release 5.0.4 - UPGRADE AVAILABLE

Post by TheHogNL »

Just released the modded 5.0.4 resource file and opened the 5.0.4 as an option in the update script.
Updating from the script or using the TSC menu 'check update' button is now possible!

(again, big disclaimer.. this is tested on a few toons so please wait for others to report here that it is working fine, or be prepared to fix some stuff if it is broken after the update)
Member of the Toon Software Collective
dennis071nl
Starting Member
Starting Member
Posts: 35
Joined: Sat Jun 03, 2017 9:13 pm

Re: New major firmware release 5.0.4 - UPGRADE AVAILABLE

Post by dennis071nl »

first of all, again a very big thank you for all the effort you have put in this new firmware! *thumbs*

After upgrading (through the TSC menu, upgrade button) i get the toonstore, but not all the newest versions.. Is there an easy fix for that??

Thanks,Dennis
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: New major firmware release 5.0.4 - UPGRADE AVAILABLE

Post by TheHogNL »

Not all the newest versions of what? What is not working? Is toonstore updated? Should be 2.1.2 now.
Member of the Toon Software Collective
Post Reply

Return to “Toon Firmware”