New major firmware release 5.0.4 - UPGRADE AVAILABLE

Forum about the Toon firmware, and its extensions

Moderators: marcelr, TheHogNL, TerrorSource, Toonz

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

Postby Ierlandfan » Sat Dec 15, 2018 8:10 pm

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
Ierlandfan
Member
Member
 
Posts: 143
Joined: October 2013

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

Postby TheHogNL » Sat Dec 15, 2018 8:44 pm

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
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 666
Joined: August 2017

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

Postby mAiden » Sat Dec 15, 2018 9:09 pm

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.
mAiden
Member
Member
 
Posts: 129
Joined: July 2017

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

Postby Toonz » Mon Dec 17, 2018 10:45 pm

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
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 928
Joined: December 2016

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

Postby TheHogNL » Sun Dec 23, 2018 1:47 pm

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
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 666
Joined: August 2017

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

Postby Ierlandfan » Fri Jan 04, 2019 2:35 pm

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?
Ierlandfan
Member
Member
 
Posts: 143
Joined: October 2013

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

Postby TheHogNL » Fri Jan 04, 2019 4:57 pm

Which app do you mean?
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 666
Joined: August 2017

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

Postby Ierlandfan » Sat Jan 05, 2019 12:15 pm

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.
Ierlandfan
Member
Member
 
Posts: 143
Joined: October 2013

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

Postby Toonz » Sat Jan 05, 2019 1:12 pm

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
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 928
Joined: December 2016

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

Postby Ierlandfan » Sat Jan 05, 2019 3:15 pm

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
Ierlandfan
Member
Member
 
Posts: 143
Joined: October 2013

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

Postby TheHogNL » Sat Jan 05, 2019 9:37 pm

This topic is about DO NOT upgrade to 5.0 yet ;-)
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 666
Joined: August 2017

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

Postby TheHogNL » Wed Jan 16, 2019 12:16 pm

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
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 666
Joined: August 2017

Re: New major firmware release 5.0.4 - UPGRADE AVAILABLE

Postby TheHogNL » Thu Jan 17, 2019 10:32 pm

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
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 666
Joined: August 2017

Re: New major firmware release 5.0.4 - UPGRADE AVAILABLE

Postby dennis071nl » Thu Jan 17, 2019 11:07 pm

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
dennis071nl
Starting Member
Starting Member
 
Posts: 30
Joined: June 2017

Re: New major firmware release 5.0.4 - UPGRADE AVAILABLE

Postby TheHogNL » Thu Jan 17, 2019 11:11 pm

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
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 666
Joined: August 2017

PreviousNext

Return to Toon Firmware

Who is online

Users browsing this forum: No registered users and 0 guests

cron