Page 1 of 2

Firmware 5.33.100 rooting

Posted: Wed Sep 30, 2020 9:41 pm
by timkoers
I'm trying to root a Toon running firmware 5.33.100.

I can't seem to install busybox_1.27.2-r4_qb2.ipk or dropbear on this firmware.

Code: Select all

opkg install http://files.domoticaforum.eu/uploads/Toon/ipk/qb2/busybox_1.27
.2-r4_qb2.ipk
Downloading http://files.domoticaforum.eu/uploads/Toon/ipk/qb2/busybox_1.27.2-r4_qb2.ipk.
Installing busybox (1.27.2-r4) to root...
Multiple replacers for glibc, using first one (libc6).
Multiple replacers for libgcc, using first one (libgcc1).
Multiple replacers for libgcc, using first one (libgcc1).
Configuring busybox.
Configuring dropbear.
Collected errors:
 * pkg_run_script: package "busybox" postinst script returned status 255.
 * opkg_configure: busybox.postinst returned 255.
 * pkg_run_script: package "dropbear" postinst script returned status 255.
 * opkg_configure: dropbear.postinst returned 255.
The update script returns two weird things at the start

Code: Select all

sh /root/update-rooted.sh -f
===================================================================================================================================================================
Welcome to the rooted Toon upgrade script. This script will try to upgrade your Toon using your original connection with Eneco. It will start the VPN if necessary.
Please be advised that running this script is at your own risk!

Version: 4.27  - TheHogNL & TerrorSource & yjb - 11-9-2020

If you like the update script for rooted toons you can support me. Any donation is welcome and helps me developing the script even more.
https://paypal.me/pools/c/8bU3eQp1Jt

===================================================================================================================================================================

Only fixing files.
/root/update-rooted.sh: line 1029: can't create /proc/sys/vm/vfs_cache_pressure: nonexistent directory
/root/update-rooted.sh: line 1029: can't create /proc/sys/vm/drop_caches: nonexistent directory
creating backup of inittab...
creating backup of chrony.conf...
creating backup of hosts...
creating backup of config_happ_scsync.xml...
creating backup of qmf_tenant.xml.save ...
FIXING: Downloading resources.rcc TSC mod for this version 5.33.100.
FIXING: Now updating all toonstore installed apps
EDITING: Time server, removes unnecessary link to Quby
EDITING: Hosts file, removes unnecessary link to Quby
EDITING: Disable add google DNS on top of resolv.conf
EDITING: disable ovpn connection to quby
EDITING: Activating Toon, enabling ElectricityDisplay and GasDisplay
EDITING: removing data gathering by Quby and whitelisting web services
EDITING: disabling Eneco subscription feature apps to free up memory on this toon 1
EDITING: disabling KPI and weather happ as these are not necessary on rooted toons
EDITING: disabling samba nmbd on toon 1 as probably it is not necessary
EDITING: download certificate store pem file
Finished fixing files!
Now comes the next problem, no display when I turn on the Toon. I measured the LED voltages on the ribbon cable, and they are 0.
Could the software be the cause of this problem, that is not enabling the display?

Re: Firmware 5.33.100 rooting

Posted: Wed Sep 30, 2020 9:49 pm
by mAiden
You dont need busybox. Dropbear is enough..

Try: sh /usr/lib/opkg/info/dropbear.postinst

Re: Firmware 5.33.100 rooting

Posted: Wed Sep 30, 2020 9:54 pm
by timkoers
mAiden wrote:You dont need busybox. Dropbear is enough..

Try: sh /usr/lib/opkg/info/dropbear.postinst
How do I change the root password without passwd?

And is the software not booting or something the cause of the screen not turning on?

Re: Firmware 5.33.100 rooting

Posted: Wed Sep 30, 2020 10:01 pm
by mAiden
timkoers wrote:
mAiden wrote:You dont need busybox. Dropbear is enough..

Try: sh /usr/lib/opkg/info/dropbear.postinst
How do I change the root password without passwd?

And is the software not booting or something the cause of the screen not turning on?
First : Toon knows passwd command, without installing busybox.

Connect Toon with serial pins to a pc, and open Putty.
If you boot Toon now. What do you see in the serial terminal?

Re: Firmware 5.33.100 rooting

Posted: Wed Sep 30, 2020 10:02 pm
by TheHogNL
timkoers wrote:
mAiden wrote:You dont need busybox. Dropbear is enough..

Try: sh /usr/lib/opkg/info/dropbear.postinst
How do I change the root password without passwd?

And is the software not booting or something the cause of the screen not turning on?
Many times asked on this forum how to change the password.. search for openssl

And I think you broke your ribbon cable. If the serial output still works then your toon is fine but the ribbon cable is broken.

Re: Firmware 5.33.100 rooting

Posted: Wed Sep 30, 2020 10:06 pm
by TheHogNL
Owh forgot to ask.. why still manual rooting? Just use ToonRooter and you didn't need to ask your first question.

Re: Firmware 5.33.100 rooting

Posted: Wed Sep 30, 2020 10:07 pm
by timkoers
TheHogNL wrote:
timkoers wrote:
mAiden wrote:You dont need busybox. Dropbear is enough..

Try: sh /usr/lib/opkg/info/dropbear.postinst
How do I change the root password without passwd?

And is the software not booting or something the cause of the screen not turning on?
Many times asked on this forum how to change the password.. search for openssl

And I think you broke your ribbon cable. If the serial output still works then your toon is fine but the ribbon cable is broken.
I did shortcircuit the toons power inputs for a brief moment, that shouldn't cause any issues right?
mAiden wrote:
timkoers wrote:
mAiden wrote:You dont need busybox. Dropbear is enough..

Try: sh /usr/lib/opkg/info/dropbear.postinst
How do I change the root password without passwd?

And is the software not booting or something the cause of the screen not turning on?
First : Toon knows passwd command, without installing busybox.

Connect Toon with serial pins to a pc, and open Putty.
If you boot Toon now. What do you see in the serial terminal?
Well this Toon doesn't. It's not there in /usr/sbin
Might that be related to version 5.33.100?

I have accessed the serial successfully, but I'm talking about the actual display at the front of the unit.

Re: Firmware 5.33.100 rooting

Posted: Wed Sep 30, 2020 10:13 pm
by TheHogNL
timkoers wrote: I did shortcircuit the toons power inputs for a brief moment, that shouldn't cause any issues right?
It could be that that fried the led driver. As serial access is still working the Toon is ok on the software side.

And yes, passwd is not working on toons from I think about firmware 4.0.0 with default busybox.
But you really don't need a new busybox just to change a passwd. Search for openssl in the forum how to change your password using openssl and sed.

Re: Firmware 5.33.100 rooting

Posted: Wed Sep 30, 2020 10:18 pm
by timkoers
TheHogNL wrote:
timkoers wrote: I did shortcircuit the toons power inputs for a brief moment, that shouldn't cause any issues right?
It could be that that fried the led driver. As serial access is still working the Toon is ok on the software side.
Do you have some kind of schematic, or do you know which chip is the led driver?

Re: Firmware 5.33.100 rooting

Posted: Wed Sep 30, 2020 10:32 pm
by TheHogNL
timkoers wrote:
TheHogNL wrote:
timkoers wrote: I did shortcircuit the toons power inputs for a brief moment, that shouldn't cause any issues right?
It could be that that fried the led driver. As serial access is still working the Toon is ok on the software side.
Do you have some kind of schematic, or do you know which chip is the led driver?
No sorry.

Re: Firmware 5.33.100 rooting

Posted: Wed Sep 30, 2020 10:32 pm
by TheHogNL
timkoers wrote:
TheHogNL wrote:
timkoers wrote: I did shortcircuit the toons power inputs for a brief moment, that shouldn't cause any issues right?
It could be that that fried the led driver. As serial access is still working the Toon is ok on the software side.
Do you have some kind of schematic, or do you know which chip is the led driver?
No sorry.

Re: Firmware 5.33.100 rooting

Posted: Thu Oct 01, 2020 8:59 am
by timkoers
Do you have an Toon you can measure the LED voltage of, so I can try to see if the screen itself works or if it's just the LED?

Re: Firmware 5.33.100 rooting

Posted: Thu Oct 01, 2020 9:24 am
by TheHogNL
timkoers wrote:Do you have an Toon you can measure the LED voltage of, so I can try to see if the screen itself works or if it's just the LED?
Just looked at a toon I have but there are no real clue's which of the pins of the 40 (or so) ribbon cable are for powering the leds. If you think the 4 pin ribbon cable is for led power, no, that is for the touch/digitizer.

Re: Firmware 5.33.100 rooting

Posted: Thu Oct 01, 2020 9:38 am
by timkoers
I feel so freaking stupid. The RESET button got stuck on the side of the case, thus holding the Toon into it's reset state, not activating the screen.

Thanks everyone. I'll test the firmware and the root and get back to you

Re: Firmware 5.33.100 rooting

Posted: Thu Oct 01, 2020 9:49 am
by timkoers
TheHogNL wrote:
timkoers wrote:Do you have an Toon you can measure the LED voltage of, so I can try to see if the screen itself works or if it's just the LED?
Just looked at a toon I have but there are no real clue's which of the pins of the 40 (or so) ribbon cable are for powering the leds.
Just a FYI, since the problem is already fixed; if you look up the large ribbon cable, there should be a soldering point, on which a tiny 2 lane ribbon cable is attached to. The soldering points are marked with LED- and LED+. They are underneath kapton tape however.