Rooting Toon (or boxx)

Everything about rooting Toons 1 and 2.

Moderators: marcelr, TheHogNL, Toonz

TheS4ndm4n
Starting Member
Starting Member
Posts: 3
Joined: Sun Jun 12, 2022 7:40 pm

Re: Rooting Toon (or boxx)

Post by TheS4ndm4n »

Well, still managed to brick it :shock:
The loop was still going in the serial console. Figured out it was a botched busybox installation.
In my lack of knowledge, I deleted busybox from the Toon to fix it.
and now linux wont boot anymore because it doesnt recognise any commands in the init.d

Managed to run toonrecovery from the Pi and get into the serial console. But it stops doing anything after this:

Code: Select all

IP-Config: Complete:
     device=eth0, addr=192.168.178.74, mask=255.255.255.0, gw=192.168.178.150,
     host=toon, domain=, nis-domain=(none),
     bootserver=192.168.178.150, rootserver=192.168.178.150, rootpath=
Looking up port of RPC 100003/3 on 192.168.178.150
PHY: 1:10 - Link is Up - 100/Full
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Looking up port of RPC 100005/3 on 192.168.178.150
VFS: Mounted root (nfs filesystem) on device 0:13.
Freeing init memory: 116K
No recovery menu.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Rooting Toon (or boxx)

Post by TheHogNL »

Looks the same as this: viewtopic.php?p=92714#p92714
He eventually said it was NFS server related (external instead of on the Pi).
But you can also try those suggestions I posted there to figure out wat is going on.
Seems to be that the Toon in recovery isn't getting data from the NFS server to boot correctly after the initial kernel boot.
Member of the Toon Software Collective
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Rooting Toon (or boxx)

Post by TheHogNL »

I just opened my NFS server on the internet for you to use.
So run the toonrecovery with my server (see below) to boot from there and fix your toon.

Code: Select all

 sudo python . --jtag-available --serial-port /dev/serial0 --serverip 54.38.183.159
Member of the Toon Software Collective
TheS4ndm4n
Starting Member
Starting Member
Posts: 3
Joined: Sun Jun 12, 2022 7:40 pm

Re: Rooting Toon (or boxx)

Post by TheS4ndm4n »

TheHogNL wrote: Tue Jun 14, 2022 9:52 am I just opened my NFS server on the internet for you to use.
So run the toonrecovery with my server (see below) to boot from there and fix your toon.

Code: Select all

 sudo python . --jtag-available --serial-port /dev/serial0 --serverip 54.38.183.159
That fixed it. Thanks!
Already rooted too. could update to the latest version with no problems.
Vibestar
Member
Member
Posts: 53
Joined: Wed Sep 06, 2017 11:42 pm
Location: Rosmalen

Re: Rooting Toon (or boxx)

Post by Vibestar »

I'm trying to root an Toon 1 and got stuck.
It has an u-boot 2010.09-r10. I never tried it. I looked up many tutorials and finally tried all of this:

The script from Marten Jacobs (https://github.com/ToonSoftwareCollective/ToonRooter) prepared an RaspPi and followed all the steps but had several problems.
python-serial can't be found anywhere. Python is on 3.5 and not 2.7 and I don't know if it matters.

I even tried the older way but that's very confusing for someone who doesn't know enough linux code. I get to the point of setting TOON on hold but it won't overwrite/flash the U-Boot password on some address.

After this I tried the root-A-Toon-USB-Stick method (https://github.com/JackV2020/Root-A-Toon-USB-Stick). For this method I updated the TOON a few times. It was on an very old firmware. I've updated it to I think twice. First to 5. something and after then again to 6.something.

I switched to the original root-A-Toon method (https://github.com/ToonSoftwareCollective/Root-A-Toon). I got my pi set as a router and got it connected but now comes the problem. It should show an activation button but it won't show up. It is connected to the internet but that's it.

So in the end I'm stuck and don't know what to do next. Can somebody tell me what to do. I tried to read as much as possible but there is a lot of info :D
Vibestar
Member
Member
Posts: 53
Joined: Wed Sep 06, 2017 11:42 pm
Location: Rosmalen

Re: Rooting Toon (or boxx)

Post by Vibestar »

Found something on page 52. Going to try that first.
Vibestar
Member
Member
Posts: 53
Joined: Wed Sep 06, 2017 11:42 pm
Location: Rosmalen

Re: Rooting Toon (or boxx)

Post by Vibestar »

Sooooooo..... Took a pi3, some cables made from an IDE cable and made the script run.... Rooted!!!

Thanks guys for all the great documentation!
rattatoon
Starting Member
Starting Member
Posts: 2
Joined: Tue Feb 21, 2023 8:35 pm

Re: Rooting Toon (or boxx)

Post by rattatoon »

Xavier wrote: Tue Apr 26, 2022 4:12 pm Ok so for now:
I managed finally to setup my raspberry pi as access point.
I have now a SSID which I can connect to with Toon2.
I see I can also connect to internet.
Toon2 is connect to service center now.
Still stuck in activation screen.
I did factory reset, connected to SSID.
Based on the manual of Root-a-Toon I started the script

Code: Select all

sudo bash activate-toon.sh
I pressed the activation button and entered random code but nothing happens, nor on the Toon2 or in the script.

***EDIT**** (something with patience 8) )
After (maybe) 10 times reentering "code" I got the activation screen and followed the instructions.
Activation succeeded
I'm running into a similar problem.
I have my rpi setup as access point, connected to my Toon2, and scripts are working.
Whenever the activate button pops up, I press enter on my rpi, and I read in the console that all HTTPS traffic is now being blocked.
However, no matter the amount of activation codes I try, it never moves on with the rest of the script. After some tries it shows:

Code: Select all

The Toon is connecting to IP: [S].
Let's have some fun! Try another activation
But I tried multiple other times and it's still not doing anything.

The fact that the IP is not showing up (what does [S] mean?) is perhaps an indication that there's something wrong, but I have no idea where/why.

Can anyone point me in the right direction?

This is btw a Toon2 from the previous owners of my house, it's running on 4.9.x firmware, and it has had a factory reset.
rattatoon
Starting Member
Starting Member
Posts: 2
Joined: Tue Feb 21, 2023 8:35 pm

Re: Rooting Toon (or boxx)

Post by rattatoon »

It was just a matter of checking the output of tcpdump, and changing the cut command from -f7 to -f5.
Probably the syntax of the tcpdump command changed recently, and it was picking up the wrong field.
kris
Starting Member
Starting Member
Posts: 2
Joined: Fri Apr 21, 2023 9:27 pm

Re: Rooting Toon (or boxx)

Post by kris »

Goedenavond!
Ik zil al tweede dag aan het rooten Toon

Code: Select all

U-Boot 2010.09-R8 (Dec 03 2012 - 12:50:30)
maar ik ben stuk op:

Code: Select all

/ # opkg install http://files.domoticaforum.eu/index.php?cam=/Toon/ipk/qb2/busyb
ox_1.27.2-r4_qb2.ipk
Downloading http://files.domoticaforum.eu/index.php?cam=/Toon/ipk/qb2/busybox_1.27.2-r4_qb2.ipk.
Collected errors:
 * deb_extract: /tmp/opkg-udS3db/busybox_1.27.2-r4_qb2.ipk: invalid magic
 * pkg_init_from_file: Failed to extract control file from /tmp/opkg-udS3db/busybox_1.27.2-r4_qb2.ipk.
Ik heb een paar dingen geprobeerd van 4de en 5de pagina van deze topic, maar er werkt helemaal niks voor mij.. heeft iemand een idee wat kan ik nog doen?

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

Re: Rooting Toon (or boxx)

Post by TheHogNL »

Welke manual gebruik jij in vredesnaam? Deze opdrachten worden al jaren niet meer gebruikt.
Member of the Toon Software Collective
kris
Starting Member
Starting Member
Posts: 2
Joined: Fri Apr 21, 2023 9:27 pm

Re: Rooting Toon (or boxx)

Post by kris »

Ik heb filmie op YouTube gevolgd:
[youtube]https://youtu.be/[/youtube]
Maar ik heb verschillende bestanden geprobeerd die op ftp van domotica zitten.)ik krijg altijd zelfde melding als
invalid magic
Ik heb thuis ergens ook USB blaster, maar ik heb niet zoveel kennis van dit systeem. Welke methode is nu de beste om hem te rooten dan?
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Rooting Toon (or boxx)

Post by TheHogNL »

Er is op dit forum een manual te vinden die wijst naar de meest recente methodieken
Member of the Toon Software Collective
MartynT
Starting Member
Starting Member
Posts: 1
Joined: Sat Dec 02, 2023 4:50 pm

Re: Rooting Toon U-Boot R10 using a Raspberry Pi 3

Post by MartynT »

rboers wrote: Sun Oct 22, 2017 12:08 pm
Step 2: Install OpenOCD

Login to your Raspberry Pi.
We will install OpenOCD using the latest version from git repository.

All commands in this guide are executed as user root.

Code: Select all

root@raspberrypi:apt-get install git autoconf libtool make pkg-config libusb-1.0-0-dev libftdi-dev build-essential cmake minicom pkg-config

root@raspberrypi:mkdir ~/rootToon
root@raspberrypi:git clone --recursive git://git.code.sf.net/p/openocd/code openocd
root@raspberrypi:cd openocd
root@raspberrypi:{
./bootstrap &&\
./configure --enable-sysfsgpio\
     --enable-bcm2835gpio \
     --enable-maintainer-mode \
     --disable-werror \
     --enable-ft2232_libftdi \
     --enable-ep93xx \
     --enable-at91rm9200 \
     --enable-usbprog \
     --enable-presto_libftdi \
     --enable-jlink \
     --enable-vsllink \
     --enable-rlink \
     --enable-arm-jtag-ew \
     --enable-dummy \
     --enable-buspirate \
     --enable-ulink \
     --enable-presto_libftdi \
     --enable-usb_blaster_libftdi \
     --enable-ft2232_libftdi\
     --prefix=/usr\
&&\
make -j4
} 2>&1 | tee openocd_build.log[/color]
OK, ik heb een Pi3 klaar voor openOCD installatie maar als ik de laatste command uitvoer (./bootstrap & ./configure) krijg ik een error melding en de make is niet uitgevoerd. Dit zijn de laatste 2 regels van de log:

checking for libjaylink >= 0.2... no
configure: error: libjaylink-0.2 is required for the SEGGER J-Link Programmer


Zo - versie van de geinstalleerde libjaylink package gechekt en dat was 0.3 (de nieuwste). 0.2 DEB package gedownload en geinstalleerd maar krijg ik nog steeds dezelfde error. Heeft iemand dit ook gezien en een oplossing voor? De instructies zijn sowieso een aantal jaren oud dus er zijn misschien andere versie problemen.

Alvast bedankt,
Martyn.

Log file attached gezipped - enige geldige text formaten zijn docx! Hier GEEN windoze.
Attachments
openocd_build.log.zip
(2.37 KiB) Downloaded 42 times
Post Reply

Return to “Toon Rooting”