Rooting Toon (or boxx)

Forum about the tweaking of the Eneco Toon.

Moderator: marcelr

Re: Rooting Toon (or boxx)

Postby DyArt » Thu Jun 07, 2018 8:02 pm

I have rooted my Toon today who has FW 4.16.8 installed. Everything went well I thought but the Toon loading progress bar is stuck at 1/3. I can access the Toon through SSH. My running processes are:
Code: Select all
eneco-001-xxxxxx:~# ps
  PID USER       VSZ STAT COMMAND
    1 root      1600 S    init [5]
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    5 root         0 SW   [kworker/u:0]
    6 root         0 SW   [watchdog/0]
    7 root         0 SW<  [khelper]
    8 root         0 SW   [kworker/u:1]
   11 root         0 SW<  [pm]
  119 root         0 SW   [sync_supers]
  121 root         0 SW   [bdi-default]
  123 root         0 SW<  [kblockd]
  136 root         0 SW   [khubd]
  235 root         0 SW<  [rpciod]
  236 root         0 SW   [kworker/0:1]
  243 root         0 SW   [khungtaskd]
  244 root         0 SW   [kswapd0]
  245 root         0 SW   [fsnotify_mark]
  246 root         0 SW<  [nfsiod]
  247 root         0 SW<  [crypto]
  264 root         0 SW   [kworker/0:2]
  281 root         0 SW   [mtdblock0]
  286 root         0 SW   [mtdblock1]
  291 root         0 SW   [mtdblock2]
  296 root         0 SW   [mtdblock3]
  301 root         0 SW   [mtdblock4]
  309 root         0 SW   [ubi_bgt0d]
  310 root         0 SW<  [spi_imx.0]
  358 root         0 SW   [ubifs_bgt0_0]
  399 root      3124 S    /usr/bin/psplash --angle 0
  571 root         0 SW   [flush-ubifs_0_0]
  605 root         0 SW   [RTKTHREAD]
  608 root      4064 S    /usr/sbin/wpa_supplicant -B -P /var/run/wpa_supplica
  631 root      2960 S    udhcpc -R -n -p /var/run/udhcpc.wlan0.pid -i wlan0 -
  677 root      2960 S    udhcpc -b -R -i eth0 -A 5 -p /var/run/udhcpc.eth0.pi
  684 root      2616 S    /usr/sbin/chronyd -r
  714 root      2160 S    /usr/sbin/dropbear -r /etc/dropbear/dropbear_rsa_hos
  721 root      2960 S    /sbin/syslogd -n -O /var/log/messages -s 32 -b 1 -m
  724 root      2960 S    /sbin/klogd -n
  766 root      4688 S    /usr/sbin/openvpn --config /etc/openvpn/vpn.conf --v
  767 root     59896 S    /qmf/sbin/qt-gui -platform linuxfb -plugin Tslib
  769 root      2976 S    {hcb_netcon} HCBv2 hcb_netcon     [connecting] [S1|N
  770 root     11048 S    {hcb_comm} HCBv2 hcb_comm       [connecting] [S1|N1]
  771 root      3444 S    {happ_eventmgr} HCBv2 happ_eventmgr  [connecting] [S
  772 root      2928 S    {happ_kpi} HCBv2 happ_kpi       [connecting] [S1|N1]
  773 root      3672 S    {happ_pwrusage} HCBv2 happ_pwrusage  [connecting] [S
  774 root      2800 S    {happ_scsync} HCBv2 happ_scsync    [connecting] [S1|
  775 root      2828 S    {happ_smartplug} HCBv2 happ_smartplug [connecting] [
  776 root      3880 S    {happ_thermstat} HCBv2 happ_thermstat [connecting] [
  780 root      2756 S    {happ_usermsg} HCBv2 happ_usermsg   [connecting] [S1
  781 root      5728 S    {happ_weather} HCBv2 happ_weather   [connecting] [S1
  784 root      5164 S    {hcb_bxtproxy} HCBv2 hcb_bxtproxy   [connecting] [S1
  785 root      4552 S    {hcb_config} HCBv2 hcb_config     [connecting] [S1|N
  786 root      2760 S    {hcb_log} HCBv2 hcb_log        [connecting] [S1|N1]
  794 root      2812 S    {hcb_rrd} HCBv2 hcb_rrd        [connecting] [S1|N1]
  795 root      2744 S    {hcb_watchdog} HCBv2 hcb_watchdog   [connecting] [S1
  799 root      5900 S    {hdrv_hue} HCBv2 hdrv_hue       [connecting] [S1|N1]
  800 root      3012 S    {hdrv_p1} HCBv2 hdrv_p1        [connecting] [S1|N1]
  801 root      4820 S    {hdrv_zwave} HCBv2 hdrv_zwave     [connecting] [S1|N
  809 root      3692 S    /HCBv2/bin/lighttpd -D -m /HCBv2/lib/lighttpd -f /HC
  990 root      2964 S    /sbin/getty -L 115200 ttymxc0 vt102
1117 root         0 SW   [kworker/0:0]
1190 root      2332 S    /usr/sbin/dropbear -r /etc/dropbear/dropbear_rsa_hos
1191 root      3136 S    -sh
1194 root      2960 S    run-parts -a leasefail /etc/udhcpc.d
1196 root      2960 S    {60failcheck} /bin/sh /etc/udhcpc.d/60failcheck leas
1199 root      3136 R    ps


And the last output from the serial console:
Code: Select all
Lease failing, already running in bg: udhcpc -b -R -i eth0 -A 5 -p /var/run/udhcpc.eth0.pid -H eneco-001-xxxxxx
udhcpc: no lease, forking to background
sh: bad number
stopped /usr/sbin/chronyd (pid 659)
rdate: current time matches remote time
Setting up IP spoofing protection: rp_filter.
INIT: Entering runlevel: 5
Starting Dropbear SSH server: dropbear.
Starting syslogd/klogd: done
HCBv2 apps started via runlevels, performing 'addstartables && reload && init 5 or 5'.
HCBv2 adding: comm eventmgr kpi pwrusage scsync smartplug thermstat usermsg weather bxtproxy config log rrd watchdog hue p1 zwave lighttpd.
HCBv2 startables unchanged, not writing /etc/inittab.

Eneco Toon by Quby

eneco-001-xxxxxx login:


It looks like that he is hanging on an process. Can anyone help me?
DyArt
Starting Member
Starting Member
 
Posts: 4
Joined: June 2018

Re: Rooting Toon (or boxx)

Postby DyArt » Fri Jun 08, 2018 3:40 pm

After rooting of a Toon with FW 4.16.8 the loading screen get stuck on 1/3. I have access with SSH and when I
Code: Select all
killall qt-gui; /HCBv2/sbin/qt-gui -platform linuxfb -plugin Tslib --daemon 2>&1
then It get stuck on the following:
[hcom]Connecting to hcb_comm @ localhost:1337: 'Success'...
[qt-gui:../../src/hcbinit.c@HCBv2_refresh():110]ERROR: Disconnected
[libhcb_com:../../src/libhcb_com2.c@_hcom2_connect_int():323]connection status: 111(Connection refused)
[hcom]Connecting to hcb_comm @ localhost:1337: 'Success'...
[qt-gui:../../src/hcbinit.c@HCBv2_refresh():110]ERROR: Disconnected
[libhcb_com:../../src/libhcb_com2.c@_hcom2_connect_int():323]connection status: 111(Connection refused)
[hcom]Connecting to hcb_comm @ localhost:1337: 'Success'...
[qt-gui:../../src/hcbinit.c@HCBv2_refresh():110]ERROR: Disconnected
^C[libhcb_drv:../../src/libhcb_drv.c@_hdrv_sigIntHandler():1426]^C received: signalHandler() is shutting qt-gui down...
[libhcb_com:../../src/libhcb_com2.c@_hcom2_connect_int():323]connection status: 111(Connection refused)
[hcom]Connecting to hcb_comm @ localhost:1337: 'Success'...
[qt-gui:../../src/hcbinit.c@HCBv2_refresh():110]ERROR: Disconnected
[libhcb_com:../../src/libhcb_com2.c@_hcom2_connect_int():323]connection status: 111(Connection refused)


This is an endless loop
What should I change to get it bootying again?
DyArt
Starting Member
Starting Member
 
Posts: 4
Joined: June 2018

Re: Rooting Toon (or boxx)

Postby DyArt » Fri Jun 08, 2018 9:12 pm

Problem solved to add the following line to /etc/hosts
Code: Select all
0.0.0.0 localhost
DyArt
Starting Member
Starting Member
 
Posts: 4
Joined: June 2018

Re: Rooting Toon (or boxx)

Postby DyArt » Fri Jun 08, 2018 9:27 pm

Now corected on the right way with adding
Code: Select all
127.0.0.1               localhost.localdomain           localhost               eneco-001-123456
172.20.48.1             feed.hae.int            feed
to /etc/hosts

I don't know how but my hosts file was completely empty
DyArt
Starting Member
Starting Member
 
Posts: 4
Joined: June 2018

Re: Rooting Toon (or boxx)

Postby TheHogNL » Fri Jun 08, 2018 9:34 pm

on that port hcb_comm is listening.. and somehow it refused the connection from the qt-gui.
Please debug hcb_comm: "killall -9 hcb_comm ; /qmf/sbin/hcb_comm -vvvv 2>&1"

And to be clear, did you root the Toon when it already had 4.16.8? Or did your root the toon on a earlier firmware and then upgraded to 4.16.8?
TheHogNL
Member
Member
 
Posts: 298
Joined: August 2017

Previous

Return to Eneco Toon as Domotica controller

Who is online

Users browsing this forum: No registered users and 1 guest