Rooting Toon (or boxx)

Everything about rooting Toons 1 and 2.

Moderators: marcelr, TheHogNL, Toonz

TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Rooting Toon (or boxx)

Post by TheHogNL »

Please don't cross post. Put all the question related to the full automated rooting python script in that topic.
Member of the Toon Software Collective
LanePanet
Starting Member
Starting Member
Posts: 1
Joined: Tue Jan 01, 2019 12:16 pm

Re: Rooting Toon (or boxx)

Post 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?
Last edited by LanePanet on Thu Jan 17, 2019 12:36 am, edited 1 time in total.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Rooting Toon (or boxx)

Post 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)
Member of the Toon Software Collective
aabre
Starting Member
Starting Member
Posts: 42
Joined: Sun Nov 05, 2017 1:26 pm
Location: Schiedam

Re: Rooting Toon (or boxx)

Post by aabre »

Hi guy's

Can someone tell me how to clean all the user data, what files can I delete or modify ?
TerrorSource
Administrator
Administrator
Posts: 494
Joined: Thu May 04, 2017 9:28 pm

Re: Rooting Toon (or boxx)

Post 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.
aabre
Starting Member
Starting Member
Posts: 42
Joined: Sun Nov 05, 2017 1:26 pm
Location: Schiedam

Re: Rooting Toon (or boxx)

Post by aabre »

Yes for selling and tks TerrorSource
TerrorSource
Administrator
Administrator
Posts: 494
Joined: Thu May 04, 2017 9:28 pm

Re: Rooting Toon (or boxx)

Post 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.
aabre
Starting Member
Starting Member
Posts: 42
Joined: Sun Nov 05, 2017 1:26 pm
Location: Schiedam

Re: Rooting Toon (or boxx)

Post 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 ?
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Rooting Toon (or boxx)

Post 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.
Member of the Toon Software Collective
aabre
Starting Member
Starting Member
Posts: 42
Joined: Sun Nov 05, 2017 1:26 pm
Location: Schiedam

Re: Rooting Toon (or boxx)

Post 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
NLKris
Starting Member
Starting Member
Posts: 33
Joined: Sat Jan 26, 2019 4:16 am

Re: Rooting Toon (or boxx)

Post 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.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Rooting Toon (or boxx)

Post 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
Member of the Toon Software Collective
amo
Starting Member
Starting Member
Posts: 11
Joined: Fri Feb 08, 2019 9:39 pm

Re: Rooting Toon (or boxx)

Post 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!
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Rooting Toon (or boxx)

Post by TheHogNL »

Correct from a hardware point :-)

You need ofcourse the rooting software and some basic linux skills but that is all
Member of the Toon Software Collective
amo
Starting Member
Starting Member
Posts: 11
Joined: Fri Feb 08, 2019 9:39 pm

Re: Rooting Toon (or boxx)

Post 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 :-)
Post Reply

Return to “Toon Rooting”