Rooting Toon (or boxx)

Everything about rooting Toons 1 and 2.

Moderators: marcelr, TheHogNL, TerrorSource, Toonz

Re: Rooting Toon (or boxx)

Postby TheHogNL » Sun Nov 18, 2018 7:38 pm

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
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1003
Joined: August 2017

Re: Rooting Toon (or boxx)

Postby LanePanet » Tue Jan 01, 2019 11:21 am

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 Wed Jan 16, 2019 11:36 pm, edited 1 time in total.
LanePanet
Starting Member
Starting Member
 
Posts: 1
Joined: January 2019

Re: Rooting Toon (or boxx)

Postby TheHogNL » Tue Jan 01, 2019 12:14 pm

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
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1003
Joined: August 2017

Re: Rooting Toon (or boxx)

Postby aabre » Thu Jan 10, 2019 3:44 pm

Hi guy's

Can someone tell me how to clean all the user data, what files can I delete or modify ?
User avatar
aabre
Starting Member
Starting Member
 
Posts: 33
Joined: November 2017
Location: Schiedam

Re: Rooting Toon (or boxx)

Postby TerrorSource » Thu Jan 10, 2019 4:09 pm

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.
TerrorSource
Member
Member
 
Posts: 273
Joined: May 2017

Re: Rooting Toon (or boxx)

Postby aabre » Thu Jan 10, 2019 4:46 pm

Yes for selling and tks TerrorSource
User avatar
aabre
Starting Member
Starting Member
 
Posts: 33
Joined: November 2017
Location: Schiedam

Re: Rooting Toon (or boxx)

Postby TerrorSource » Fri Jan 18, 2019 8:54 am

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.
TerrorSource
Member
Member
 
Posts: 273
Joined: May 2017

Re: Rooting Toon (or boxx)

Postby aabre » Fri Jan 25, 2019 12:43 pm

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 ?
User avatar
aabre
Starting Member
Starting Member
 
Posts: 33
Joined: November 2017
Location: Schiedam

Re: Rooting Toon (or boxx)

Postby TheHogNL » Fri Jan 25, 2019 1:09 pm

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: https://www.domoticaforum.eu/viewtopic. ... 1235#p8562 and need to reinstall the correct library files (/lib/*) from a 4.4 firmware.
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1003
Joined: August 2017

Re: Rooting Toon (or boxx)

Postby aabre » Fri Jan 25, 2019 1:12 pm

Yes it's for sure that this happend, oke I try your link and see how far I get, thanks for the info
User avatar
aabre
Starting Member
Starting Member
 
Posts: 33
Joined: November 2017
Location: Schiedam

Re: Rooting Toon (or boxx)

Postby NLKris » Sat Jan 26, 2019 3:37 am

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.
NLKris
Starting Member
Starting Member
 
Posts: 11
Joined: January 2019

Re: Rooting Toon (or boxx)

Postby TheHogNL » Sat Jan 26, 2019 8:17 am

This is where the https://github.com/martenjacobs/ToonRooter comes into play. Much easier than manually using openocd. Also check at this topic https://www.domoticaforum.eu/viewtopic. ... 01&t=11999
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1003
Joined: August 2017

Re: Rooting Toon (or boxx)

Postby amo » Fri Feb 08, 2019 9:34 pm

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!
amo
Starting Member
Starting Member
 
Posts: 11
Joined: February 2019

Re: Rooting Toon (or boxx)

Postby TheHogNL » Fri Feb 08, 2019 9:58 pm

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
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1003
Joined: August 2017

Re: Rooting Toon (or boxx)

Postby amo » Fri Feb 08, 2019 10:30 pm

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 :-)
amo
Starting Member
Starting Member
 
Posts: 11
Joined: February 2019

PreviousNext

Return to Toon Rooting

Who is online

Users browsing this forum: No registered users and 1 guest