Page 21 of 24

Re: Toon firmware: issues (and solutions)

Posted: Sun Mar 18, 2018 9:15 pm
by TheHogNL
PowerAce wrote:Hi TheHogNL,

I've tried your mod for the NotificationBar.qml file. Unfortunately for my Toon (FW 4.10.6) this is not working. When i reboot Toon it stops somewhere halfway and ends with a 'white' screen. Luckily i was still able to log in using SSH.

I had the mod inserted around line 27 is that correct? It looks by the way that your file is different anyway, when i look at the very last line of your code just after '#end mod'. Yours says something about blockConditions which i don't see in my NotificationBar.qml

Regards
Hmm ok.. I'm at 4.13.7. Probably there is some difference there which I was not expecting. (line 29 at my toon).
The "notifications.removeByTypeSubType" is also used in /qmf/qml/apps/boilerMonitor/BoilerMonitorApp.qml
From your information I would expect that this function is not available in your versions so it should also not be used in that boilermonitorapp. Could you check?

Re: Toon firmware: issues (and solutions)

Posted: Sun Mar 18, 2018 10:57 pm
by PowerAce
Hi TheHogNL,

I searched in BoilerMonitorApp.qml and indeed at line 275 i found this function "notifications.removeByTypeSubType". So i'm curious why it's not working for me. Let's see what Fietspomp finds.
When i rebooted after having your mod enabled and the white screen appeared i waited at least 5 minutes to be sure it wasn't just a temp halt during boot process. After those 5 mins i logged in by SSH and found out by the top command that still 75 MB of memory was free for me an indication that Toon didn't fully finish the boot process.

Greetz

Re: Toon firmware: issues (and solutions)

Posted: Mon Mar 19, 2018 9:16 am
by Sundown89
TheHogNL wrote:
PowerAce wrote:Hi TheHogNL,

I've tried your mod for the NotificationBar.qml file. Unfortunately for my Toon (FW 4.10.6) this is not working. When i reboot Toon it stops somewhere halfway and ends with a 'white' screen. Luckily i was still able to log in using SSH.

I had the mod inserted around line 27 is that correct? It looks by the way that your file is different anyway, when i look at the very last line of your code just after '#end mod'. Yours says something about blockConditions which i don't see in my NotificationBar.qml

Regards
Hmm ok.. I'm at 4.13.7. Probably there is some difference there which I was not expecting. (line 29 at my toon).
The "notifications.removeByTypeSubType" is also used in /qmf/qml/apps/boilerMonitor/BoilerMonitorApp.qml
From your information I would expect that this function is not available in your versions so it should also not be used in that boilermonitorapp. Could you check?
I had the same issue on 4.13.7, white screen on rebooting. Luckily SSH access was still there like PowerAce mentioned.
Then I inserted the code you mentioned on page 19 to have the message only popup once after a reboot.

Re: Toon firmware: issues (and solutions)

Posted: Mon Mar 19, 2018 10:52 am
by Fietspomp
I have 2 Toons with the 4.13.7 firmware, and both also give a white screen after reboot.
So for now I just disabled the banner completely :D

Re: Toon firmware: issues (and solutions)

Posted: Mon Mar 19, 2018 11:53 am
by TheHogNL
Weird.. i'll remove the code from the post and will figure out why it only works for me then :)

Re: Toon firmware: issues (and solutions)

Posted: Mon Mar 19, 2018 12:13 pm
by TheHogNL
duh, i feel so stupid right now..
the comments in the code was wrong. I used # instead of // to make a commented line and did only put it there in the post and not on my own Toon :lol:

So change the # in // and it works.

Code: Select all

        function show(expanded) {
//mod to remove network errors in notification bar
                notifications.removeByTypeSubType("error","network");
//end mod
                if (notifications.count === 0 || blockConditions)

Re: Toon firmware: issues (and solutions)

Posted: Mon Mar 19, 2018 1:07 pm
by Fietspomp
TheHogNL wrote:duh, i feel so stupid right now..
the comments in the code was wrong. I used # instead of // to make a commented line and did only put it there in the post and not on my own Toon :lol:

So change the # in // and it works.

Code: Select all

        function show(expanded) {
//mod to remove network errors in notification bar
                notifications.removeByTypeSubType("error","network");
//end mod
                if (notifications.count === 0 || blockConditions)
Hahaha well I also didn't see that myself... :shock:
Trying right now to see if it works!

Re: Toon firmware: issues (and solutions)

Posted: Mon Mar 19, 2018 4:10 pm
by PowerAce
He TheHogNL,

Indeed that's one i could have seen myself too never mind now it works!

Thanks!

Re: Toon firmware: issues (and solutions)

Posted: Tue Mar 20, 2018 12:17 am
by Sundown89
That is what we get for plain copy/pasting!
Should have noticed this myself. Thank you TheHog!
Will change tomorrow.

Re: Toon firmware: issues (and solutions)

Posted: Tue Mar 20, 2018 8:53 pm
by TheHogNL
If you want to test the message is indeed being removed you can try with this:

Code: Select all

 /qmf/bin/bxt -d :happ_usermsg -s Notification -n CreateNotification -a text -v "Hello world!" -a type -v error -a subType -v network
compare it with when a info network message is being sent:

Code: Select all

 /qmf/bin/bxt -d :happ_usermsg -s Notification -n CreateNotification -a text -v "Hello world!" -a type -v info -a subType -v network

Re: Toon firmware: issues (and solutions)

Posted: Tue Jun 19, 2018 2:39 pm
by EJanus
On a Toon running on firmware 4.10.6 I did an 'opkg remove base-qb2-ene' (don't ask why :? ).

Does anybody know which command in SSH I can use to download/install it again?

Re: Toon firmware: issues (and solutions)

Posted: Tue Jun 19, 2018 9:03 pm
by TheHogNL
EJanus wrote:On a Toon running on firmware 4.10.6 I did an 'opkg remove base-qb2-ene' (don't ask why :? ).

Does anybody know which command in SSH I can use to download/install it again?
Switch on the Eneco VPN on your toon.
Then install the package directly from the source:

Code: Select all

opkg install http://feed.hae.int/feeds/qb2/POOL/base-qb2-ene_4.10.6-1196-0_qb2.ipk

Re: Toon firmware: issues (and solutions)

Posted: Wed Jun 20, 2018 12:05 am
by EJanus
Thank you! I knew it was something like this, but I couldn't get it right!

Re: Toon firmware: issues (and solutions)

Posted: Fri Dec 07, 2018 5:18 pm
by blue-label1989
Hi Guys,

I hope this is the right place for my question.
I have rooted my 2nd Toon (testmodel) , but i can't use the script: "http://raw.githubusercontent.com/IgorYb ... -rooted.sh" "Version: 3.37 - 24-11-2018"

When i deploy the lines, i get an error from the script:
wget --no-check-certificate http://raw.githubusercontent.com/IgorYb ... -rooted.sh
chmod +x *
./update-rooted.sh

The error code that i get is: Unable to determine your current running version! (but when i lookup into my Toon, i see the version 4.19.10)

Please help!

Roy

Re: Toon firmware: issues (and solutions)

Posted: Sat Dec 08, 2018 9:41 am
by TheHogNL
Please run

Code: Select all

opkg list-installed base-qb2-\*
and post the result. The script uses this result to determine the version.