Rooting Toon (or boxx)

Everything about rooting Toons 1 and 2.

Moderators: marcelr, TheHogNL, TerrorSource, Toonz

Re: Rooting Toon (or boxx)

Postby Knol010 » Sat Nov 16, 2019 9:25 pm

Thank you. I got another toon that was root for me. That ssh password I can change with command passwd.
Knol010
Starting Member
Starting Member
 
Posts: 6
Joined: November 2019

Re: Rooting Toon (or boxx)

Postby TheHogNL » Sat Nov 16, 2019 10:55 pm

Knol010 wrote:Thank you. I got another toon that was root for me. That ssh password I can change with command passwd.


That is because some other rooted toons still have the modified busybox on them (http://files.domoticaforum.eu/uploads/T ... r4_qb2.ipk) which contains the passwd command. I never advice to install this busybox as there are situations which it will brick your Toon.
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1301
Joined: August 2017

Re: Rooting Toon (or boxx)

Postby elmex » Fri Nov 22, 2019 10:38 pm

i am trying to figure out how to run a daily job on a rooted toon. I want to restart it everyday at 02:00.

Can someone help me out :)
elmex
Starting Member
Starting Member
 
Posts: 5
Joined: October 2019

Re: Rooting Toon (or boxx)

Postby TheHogNL » Sat Nov 23, 2019 11:34 am

elmex wrote:i am trying to figure out how to run a daily job on a rooted toon. I want to restart it everyday at 02:00.

Can someone help me out :)


For the Toon1 there is the cron package (you can find it on http://files.domoticaforum.eu/index.php ... on/ipk/qb2 ). Crontab is on a linux system used for timed tasks https://www.computerhope.com/unix/ucrontab.htm
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1301
Joined: August 2017

Re: Rooting Toon (or boxx)

Postby palermo » Tue Dec 03, 2019 9:04 am

Hi,
As you can see I`m new to this forum. Also a Toon user. Currently I have Toon (Not Rooted) on the wall.
I bought one from Marktplaats and was determined to root this one. Ans use this one in a other room. Haven't worked that one out yet.
First have to root the toon. So I have a RBPI 4 connected the JTAG dupont cables according this ehoco.nl/toon-openmaken-en-de-seriele-k ... ansluiten/
So I started up the RBPI and executed the following command : "sudo python . --jtag-available --jtag-hardware rpi3" but I`m receiving an error right away.
"
INFO:__main__:Starting up...
INFO:__main__:Written private and public key pair to ./id_rsa and ./id_rsa.pub, respectively
CRITICAL:__main__:[Errno 2] could not open port /dev/serial0: [Errno 2] No such file or directory: '/dev/serial0'
"
The console was connected to my windows computer, so I assumed that the console should be connected to the RBPI rebooted the Pi and try`d again. Still no sigaar.
with lusb the FT232RL is clearly available. Am I missing a step!?
palermo
Starting Member
Starting Member
 
Posts: 4
Joined: December 2019

Re: Rooting Toon (or boxx)

Postby TheHogNL » Tue Dec 03, 2019 3:59 pm

palermo wrote:Hi,
As you can see I`m new to this forum. Also a Toon user. Currently I have Toon (Not Rooted) on the wall.
I bought one from Marktplaats and was determined to root this one. Ans use this one in a other room. Haven't worked that one out yet.
First have to root the toon. So I have a RBPI 4 connected the JTAG dupont cables according this ehoco.nl/toon-openmaken-en-de-seriele-k ... ansluiten/
So I started up the RBPI and executed the following command : "sudo python . --jtag-available --jtag-hardware rpi3" but I`m receiving an error right away.
"
INFO:__main__:Starting up...
INFO:__main__:Written private and public key pair to ./id_rsa and ./id_rsa.pub, respectively
CRITICAL:__main__:[Errno 2] could not open port /dev/serial0: [Errno 2] No such file or directory: '/dev/serial0'
"
The console was connected to my windows computer, so I assumed that the console should be connected to the RBPI rebooted the Pi and try`d again. Still no sigaar.
with lusb the FT232RL is clearly available. Am I missing a step!?


Why do you quote that ehoco website? He isn't part of this forum and only copy pastes from us :-)
You need to check https://github.com/ToonSoftwareCollective/ToonRooter or the official creator https://github.com/martenjacobs/ToonRooter for the manual of the ToonRooter script.

And then, since the last update the script detects a RPI4 so you don't need --jtag-hardware rpi3 (which doesn't work anyways).
Serial0 should be the default serial port on the pinheaders.
And I think you forgot to read in the README "Then make sure the serial port on the Pi is enabled and the serial console is disabled using raspi_config and reboot if necessary. "
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1301
Joined: August 2017

Re: Rooting Toon (or boxx)

Postby palermo » Tue Dec 03, 2019 7:44 pm

@TheHogNL
I can see why this is frustrating. I had no idea. Sorry for that. If you want me to remove it, just let me know.

I was working the whole afternoon and better part of the evening to root my Toon, Did allot of troubleshooting. but I believe I got it done now.
Indeed the links you suggested where the ones who worked the best. You can expect a small donation shortly.

I`f updated the Toon to version 5.15.6 with a script (Witch I believe is also created by you and friend).
as far as i can tell the Toon is rooted, I see a basket (ToonStore) with all kinds of tools.
The status of internet shows me that i am connected with a service center. Is that correct!?
I`m able to connect with SSH to Toon, but I`m unable to login with the root and password that was supplied during the rooting process.
Did I gone a step to far :|

Greetings
Palermo
palermo
Starting Member
Starting Member
 
Posts: 4
Joined: December 2019

Re: Rooting Toon (or boxx)

Postby TheHogNL » Tue Dec 03, 2019 7:53 pm

We fake the connection to the service center. Without that, the toon keeps annoying you that there is no connection to the service center. But rest asure that there is no connection anymore :-)

Maybe the root password is something else than that you think it is. Just hit 'restore password' in the TSC menu. This will reset your root password to be 'toon'.
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1301
Joined: August 2017

Re: Rooting Toon (or boxx)

Postby palermo » Tue Dec 03, 2019 7:57 pm

TheHogNL wrote:We fake the connection to the service center. Without that, the toon keeps annoying you that there is no connection to the service center. But rest asure that there is no connection anymore :-)

Maybe the root password is something else than that you think it is. Just hit 'restore password' in the TSC menu. This will reset your root password to be 'toon'.


Soo cool. :-) happy man tonight Thanks.

Ps, i have solarpanels on the roof, can I see that information asswell ?
palermo
Starting Member
Starting Member
 
Posts: 4
Joined: December 2019

Re: Rooting Toon (or boxx)

Postby TheHogNL » Tue Dec 03, 2019 8:18 pm

palermo wrote:Soo cool. :-) happy man tonight Thanks.

Ps, i have solarpanels on the roof, can I see that information asswell ?


Yes ofcourse. You can use the 'zon op toon' native app (enable it using the toon subscription feature button in TSC menu). But that requires an additional kWh meter to be installed (just like eneco does). You have the option of a wireless qubino (zwave) kWm meter or analog using the old school led sensor on a small kWh meter or using the S0 port on such a kWm meter. Read in https://www.domoticaforum.eu/viewtopic.php?f=95&t=11969
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1301
Joined: August 2017

Re: Rooting Toon (or boxx)

Postby palermo » Tue Dec 03, 2019 9:07 pm

Currently I own Toon with the solar module.
This Toon i rooted was actually for fun. But i can check if this works.
Thanks TheHogNL
Greatly appreciated
palermo
Starting Member
Starting Member
 
Posts: 4
Joined: December 2019

Re: Rooting Toon (or boxx)

Postby TheHogNL » Tue Dec 03, 2019 9:49 pm

palermo wrote:Currently I own Toon with the solar module.
This Toon i rooted was actually for fun. But i can check if this works.
Thanks TheHogNL
Greatly appreciated



Then it should work after you enable the zonoptoon feature :-)
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1301
Joined: August 2017

Re: Rooting Toon (or boxx)

Postby RNdX » Wed Dec 04, 2019 8:10 pm

First of all!! Thank you guys for all the info and support on this forum.
Im a total noob in this world of programming/rooting/etc. but im learning every day just by playing/trying.

I rooted my first toon R8 with a RPI3 and JTAG and my next challenge is a R10.
But now im stuck.
I followed the R10 script/manual from rboers and im stuck at step 5. telnet session.
couldn't open u-boot.bin
somebody had the same problem and answer to that was:
That means that u-boot.bin isn't in the current directory from where you have started openocd. Did you download it? You need the u-boot.bin made for the Toon ofcourse. Why not use the toonrooter script?

I downloaded the zip file from github. in map assets i see u-boot.bin file, which directory do i need? rootToon like the script?
Can somebody explain in jip en janneke?

Code: Select all
pi@raspberrypi:~/rootToon $ telnet localhost 4444
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Open On-Chip Debugger
> soft_reset_halt
requesting target halt and executing a soft reset
target halted in ARM state due to debug-request, current mode: Supervisor
cpsr: 0x800000d3 pc: 0x00000000
MMU: disabled, D-Cache: disabled, I-Cache: disabled
> reset halt
JTAG tap: imx27.etb tap/device found: 0x1b900f0f (mfg: 0x787 (<unknown>), part: 0xb900, ver: 0x1)
JTAG tap: imx27.cpu tap/device found: 0x07926121 (mfg: 0x090 (Chip Express), part: 0x7926, ver: 0x0)
srst pulls trst - can not reset into halted mode. Issuing halt after reset.
target halted in ARM state due to debug-request, current mode: Supervisor
cpsr: 0x600000d3 pc: 0xa1f205b0
MMU: disabled, D-Cache: disabled, I-Cache: enabled
NOTE! Severe performance degradation without fast memory access enabled. Type 'help fast'.
> load_image u-boot.bin 0xa1f00000
couldn't open u-boot.bin
RNdX
Starting Member
Starting Member
 
Posts: 4
Joined: December 2019

Re: Rooting Toon (or boxx)

Postby TheHogNL » Wed Dec 04, 2019 8:28 pm

Why not going the easy way and use the toonrooter? https://github.com/ToonSoftwareCollective/ToonRooter
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1301
Joined: August 2017

Re: Rooting Toon (or boxx)

Postby RNdX » Wed Dec 04, 2019 9:35 pm

TheHogNL wrote:Why not going the easy way and use the toonrooter? https://github.com/ToonSoftwareCollective/ToonRooter


I tried the scrip on github but its not working:
Code: Select all
root@raspberrypi:/home/pi# sudo apt install python-serial python-cryptography
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd       
De statusinformatie wordt gelezen... Klaar
python-cryptography is reeds de nieuwste versie (2.6.1-3+deb10u2).
python-serial is reeds de nieuwste versie (3.4-4).
0 opgewaardeerd, 0 nieuw geïnstalleerd, 0 te verwijderen en 0 niet opgewaardeerd.
root@raspberrypi:/home/pi# git clone https://github.com/martenjacobs/ToonRooter.git
fatal: destination path 'ToonRooter' already exists and is not an empty directory.
root@raspberrypi:/home/pi# cd ToonRooter
root@raspberrypi:/home/pi/ToonRooter# sudo python . --jtag-available
INFO:__main__:Starting up...
INFO:__main__:Detected JTAG hardware 'rpi3'
INFO:__main__:Written private and public key pair to ./id_rsa and ./id_rsa.pub, respectively
CRITICAL:__main__:[Errno 2] could not open port /dev/serial0: [Errno 2] No such file or directory: '/dev/serial0'
root@raspberrypi:/home/pi/ToonRooter#


But im aware i got a R10 (newer U-boot version) so next step is Install OpenOCD.
I installed OpenOCD, also used script on github link..
tried python script again: same error as above.
Back to tutorial, i followed step 5. telnet session but then u-boot file not found..
im stuck in my own bootloop :mrgreen:
RNdX
Starting Member
Starting Member
 
Posts: 4
Joined: December 2019

PreviousNext

Return to Toon Rooting

Who is online

Users browsing this forum: No registered users and 1 guest