Page 38 of 54

Re: Rooting Toon (or boxx)

Posted: Sun Nov 18, 2018 8:38 pm
by TheHogNL
Please don't cross post. Put all the question related to the full automated rooting python script in that topic.

Re: Rooting Toon (or boxx)

Posted: Tue Jan 01, 2019 12:21 pm
by LanePanet
Hello....I used my Raspberry Pi for the rooting process. I believe there are also JTAG pins on the GPIO block but have never used JTAG before. Anyway, do the newer Toons have better hardware or just an updated bootloader?

Re: Rooting Toon (or boxx)

Posted: Tue Jan 01, 2019 1:14 pm
by TheHogNL
Newer Toon (version 1 hardware) have updated bootcode only with a unknown password so you need the jtag process.

But there is also (for about 7 months now) a Toon 2 hardware. Completly new design, more specs, faster etc. And supposed to be harder to be rooted (not...).
Currently running the same software as the version 1 hardware but slowly we see some differences (for example radiator valve support is only enabled on these version 2 hardware toons)

Re: Rooting Toon (or boxx)

Posted: Thu Jan 10, 2019 4:44 pm
by aabre
Hi guy's

Can someone tell me how to clean all the user data, what files can I delete or modify ?

Re: Rooting Toon (or boxx)

Posted: Thu Jan 10, 2019 5:09 pm
by TerrorSource
aabre wrote:Hi guy's

Can someone tell me how to clean all the user data, what files can I delete or modify ?
For selling them on Marktplaats? :roll:
Already saw your ads.

Do a factory reset is the easiest.

Re: Rooting Toon (or boxx)

Posted: Thu Jan 10, 2019 5:46 pm
by aabre
Yes for selling and tks TerrorSource

Re: Rooting Toon (or boxx)

Posted: Fri Jan 18, 2019 9:54 am
by TerrorSource
LanePanet wrote:Hello....I used my Raspberry Pi for the rooting process. I believe there are also JTAG pins on the GPIO block but have never used JTAG before. Anyway, do the newer Toons have better hardware or just an updated bootloader?
Toon1 has different hardware revisions as told in the manual.

Re: Rooting Toon (or boxx)

Posted: Fri Jan 25, 2019 1:43 pm
by aabre
Hi Guys,
I thing my Toon is crashed:
FW version 4.4.21 / U-Boot 2010.09-R8

download wget http://files.domoticaforum.eu/uploads/T ... r0_qb2.ipk


eneco-001-xxxxxx:~# opkg install dropbear_2015.71-r0_qb2.ipk
Installing dropbear (2015.71-r0) to root...
Installing libc6 (2.21-r0) to root...
Downloading http://feed.hae.int/feeds/qb2/oe/angeli ... armv5e.ipk.
Removing package glibc from root...
Removing package glibc-patch-dns from root...
Installing glibc (2.10.1-r37.1) to root...
Downloading http://feed.hae.int/feeds/qb2/oe/angeli ... .1_qb2.ipk.
Collected errors:
* pkg_run_script: package "glibc-patch-dns" postrm script returned status 255.
* opkg_install_pkg: Failed to verify the signature of /var/lib/opkg/oe-2.6.36-base-r17-splash2.
* opkg_install_cmd: Cannot install package dropbear.
eneco-001-031019:~# ls -l
-sh: /bin/ls: not found
eneco-001-031019:~# cd /
eneco-001-031019:/# ls -l
-sh: /bin/ls: not found
eneco-001-031019:/# cd root
eneco-001-031019:~# cat
-sh: cat: not found

Can't see or find any files
After reboot toon stops with a panic kernel:
………
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size: 119476224 bytes (116676 KiB, 113 MiB, 926 LEBs)
UBIFS: journal size: 9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root: 0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:13.
Freeing init memory: 104K
Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[<c00273d0>] (unwind_backtrace+0x0/0xf0) from [<c029e720>] (panic+0x60/0x190)
[<c029e720>] (panic+0x60/0x190) from [<c00223dc>] (init_post+0x78/0xc4)
[<c00223dc>] (init_post+0x78/0xc4) from [<c0008b54>] (kernel_init+0x110/0x14c)
[<c0008b54>] (kernel_init+0x110/0x14c) from [<c00238ec>] (kernel_thread_exit+0x0/0x8)

Any idea whats happend ?

Re: Rooting Toon (or boxx)

Posted: Fri Jan 25, 2019 2:09 pm
by TheHogNL
After installing dropbear your toon updated some basic components (libraries) from firmware 5.0.4. So somehow your toon was already trying to update to 5.0.4 while you where installing dropbear. And the VPN was still running, causing those libraries to be installed.
Now your toon has 5.0.4 libraries on a 4.4 kernel and that won't work. You now need to put your toon into this process: viewtopic.php?f=100&t=11235#p8562 and need to reinstall the correct library files (/lib/*) from a 4.4 firmware.

Re: Rooting Toon (or boxx)

Posted: Fri Jan 25, 2019 2:12 pm
by aabre
Yes it's for sure that this happend, oke I try your link and see how far I get, thanks for the info

Re: Rooting Toon (or boxx)

Posted: Sat Jan 26, 2019 4:37 am
by NLKris
So I got myself a Toon with uBoot R10.
The Serial COM poort at 3.3 volt are working fine, but I have to JTAG it.

I could not find any nice (Step by Step) guide to start openocd on my windows machine with a USB Blaster. (If you know a nice Guide, please share it).

For that reason I got myself a Raspberry Pi 3 Model B+. So I use the guide from here how to jtag with a Pi. I did the set-up of openocd, but at the end it won't start.

So the instalation went well, exept for the user Pi instead of root (Because I can't login as root). So i used "sudo su root" to get there and install.
At the end everything was installed fine. So next step is to open openocd by doing:

- $ cd ~/rootToon/
followed by
- $ openocd -f <jouw_interface_config_file> -f ed20.cfg
It should open but I got this:

bash: openocd command not found



please help my how to get it done.

Re: Rooting Toon (or boxx)

Posted: Sat Jan 26, 2019 9:17 am
by TheHogNL
This is where the https://github.com/martenjacobs/ToonRooter comes into play. Much easier than manually using openocd. Also check at this topic viewtopic.php?f=101&t=11999

Re: Rooting Toon (or boxx)

Posted: Fri Feb 08, 2019 10:34 pm
by amo
Hi all,

tommorow i will get my Toon (old version)
i am planning to Root it with my Raspberry Pi 3 Model B +.
is the only thing i need the Dupont wire?

thanks!

Re: Rooting Toon (or boxx)

Posted: Fri Feb 08, 2019 10:58 pm
by TheHogNL
Correct from a hardware point :-)

You need ofcourse the rooting software and some basic linux skills but that is all

Re: Rooting Toon (or boxx)

Posted: Fri Feb 08, 2019 11:30 pm
by amo
TheHogNL wrote:Correct from a hardware point :-)

You need ofcourse the rooting software and some basic linux skills but that is all
Top thnx,
Will visit some shops tommorow, hope to find those thing, hope to start in the evening rooting :-)