Page 8 of 30
Re: Fully automated rooting script
Posted: Thu Oct 18, 2018 11:22 pm
by Bassie
Any ideas?
Code: Select all
pi@raspberrypi:~/ToonRooter $ sudo python . --jtag-available
INFO:__main__:Starting up...
INFO:__main__:Detected JTAG hardware 'rpi2'
INFO:__main__:Written private and public key pair to ./id_rsa and ./id_rsa.pub, respectively
INFO:rooter:Waiting for Toon to restart
INFO:rooter:Toon has U-Boot version 2010
INFO:rooter:Loading new bootloader
INFO:rooter:Starting openocd
INFO:rooter:Waiting for 10 seconds
ERROR:rooter:
Traceback (most recent call last):
File "./rooter.py", line 206, in start_bootloader
client = telnetlib.Telnet('localhost', 4444)
File "/usr/lib/python2.7/telnetlib.py", line 211, in __init__
self.open(host, port, timeout)
File "/usr/lib/python2.7/telnetlib.py", line 227, in open
self.sock = socket.create_connection((host, port), timeout)
File "/usr/lib/python2.7/socket.py", line 575, in create_connection
raise err
error: [Errno 111] Connection refused
CRITICAL:__main__:[Errno 3] No such process
pi@raspberrypi:~/toon-root/ToonRooter $
Re: Fully automated rooting script
Posted: Fri Oct 19, 2018 2:09 pm
by martenjacobs
@Bassie: it seems OpenOCD isn’t working properly. Could you try installing it again?
Re: Fully automated rooting script
Posted: Fri Oct 19, 2018 2:12 pm
by martenjacobs
Maanbaviaan wrote:I've tried rooting my toon with the ToonRooter script. Everything seems fine, no errors.
But when booting Toon it still asks for an activation code.
Bootloader 2010-09 and software version 3.9.2.
Am I doing it wrong?
What do you mean ‘activation code’? Could you share a picture of the message you’re seeing?
Re: Fully automated rooting script
Posted: Fri Oct 19, 2018 2:34 pm
by TerrorSource
martenjacobs wrote:Maanbaviaan wrote:I've tried rooting my toon with the ToonRooter script. Everything seems fine, no errors.
But when booting Toon it still asks for an activation code.
Bootloader 2010-09 and software version 3.9.2.
Am I doing it wrong?
What do you mean ‘activation code’? Could you share a picture of the message you’re seeing?
He needs to run the update script with the -f parameter to fix all files including activation
Re: Fully automated rooting script
Posted: Fri Oct 19, 2018 2:37 pm
by Maanbaviaan
TerrorSource wrote:martenjacobs wrote:Maanbaviaan wrote:I've tried rooting my toon with the ToonRooter script. Everything seems fine, no errors.
But when booting Toon it still asks for an activation code.
Bootloader 2010-09 and software version 3.9.2.
Am I doing it wrong?
What do you mean ‘activation code’? Could you share a picture of the message you’re seeing?
He needs to run the update script with the -f parameter to fix all files including activation
With activation code I meant the toon activation screen.
Going to try the -f parameter. Keeping you updated
Re: Fully automated rooting script
Posted: Fri Oct 19, 2018 3:25 pm
by TheHogNL
Or just read the rooting manual

Re: Fully automated rooting script
Posted: Mon Oct 22, 2018 8:45 pm
by Bassie
I had some trouble building the custom OpenOCD as stated here:
https://github.com/martenjacobs/ToonRoo ... ll-openocd
For me it gave some errors with:
usb_find_busses
This had to do with
libusb-0.1 being present on my raspberry.
For me it helped to remove libusb-0.1 from my raspberry (libusb-1.0 was also on the system)
And also:
In the custom OpenOCD-commands it somehow kept reinstalling version 0.1 because off the dependency by libusb-dev.
Removing libusb-dev from that command helped completing the build.
Maybe this also helps someone else....
Re: Fully automated rooting script
Posted: Tue Oct 30, 2018 3:16 pm
by lievenco
I have another problem, checked the connections trough the Raspberry pi 1 board a few times.
Connections should be fine, but no result.
pi@raspberrypi:~/ToonRooter $ sudo python . --jtag-available
INFO:__main__:Starting up...
INFO:__main__:Detected JTAG hardware 'rpi1'
INFO:__main__:Written private and public key pair to ./id_rsa and ./id_rsa.pub, respectively
INFO:rooter:Waiting for Toon to restart
INFO:rooter:Toon has U-Boot version 2010.09-R8
INFO:rooter:Using password to log in
INFO:rooter:Logging in to U-Boot
CRITICAL:__main__:device reports readiness to read but returned no data (device disconnected or multiple access on port?)
Does somebody has a solution of tips?
Re: Fully automated rooting script
Posted: Mon Nov 05, 2018 12:20 am
by martenjacobs
lievenco wrote:I have another problem, checked the connections trough the Raspberry pi 1 board a few times.
Connections should be fine, but no result.
pi@raspberrypi:~/ToonRooter $ sudo python . --jtag-available
INFO:__main__:Starting up...
INFO:__main__:Detected JTAG hardware 'rpi1'
INFO:__main__:Written private and public key pair to ./id_rsa and ./id_rsa.pub, respectively
INFO:rooter:Waiting for Toon to restart
INFO:rooter:Toon has U-Boot version 2010.09-R8
INFO:rooter:Using password to log in
INFO:rooter:Logging in to U-Boot
CRITICAL:__main__:device reports readiness to read but returned no data (device disconnected or multiple access on port?)
Does somebody has a solution of tips?
Are you getting this exact error message consistently?
Re: Fully automated rooting script
Posted: Wed Nov 07, 2018 11:41 pm
by JacDomotica
hello, i tried it today and the installation was oke. I think.
But when starting the proces it is waytin for the toon to start.
INFO:__main__:Starting up...
INFO:__main__:Detected JTAG hardware 'rpi1'
INFO:__main__:Written private and public key pair to ./id_rsa and ./id_rsa.pub, respectively
INFO:rooter:Waiting for Toon to restart
But i already started it many times. Some one can give me a hint?
Re: Fully automated rooting script
Posted: Thu Nov 08, 2018 11:27 am
by martenjacobs
JacDomotica wrote:hello, i tried it today and the installation was oke. I think.
But when starting the proces it is waytin for the toon to start.
INFO:__main__:Starting up...
INFO:__main__:Detected JTAG hardware 'rpi1'
INFO:__main__:Written private and public key pair to ./id_rsa and ./id_rsa.pub, respectively
INFO:rooter:Waiting for Toon to restart
But i already started it many times. Some one can give me a hint?
Something has probably gone wrong with installation. As mentioned many times before in this thread there is little to no checking on the output from OpenOCD. Please re-check your wiring and run with the debug flag set to get more info
Re: Fully automated rooting script
Posted: Sat Nov 17, 2018 1:57 am
by WickedMaster
Code: Select all
root@Raspberry:/home/pi/ToonRooter# python . --jtag-available --serial-port /dev/ttyUSB0
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
INFO:rooter:Waiting for Toon to restart
INFO:rooter:Toon has U-Boot version 2010.09-R10
INFO:rooter:Loading new bootloader
INFO:rooter:Starting openocd
INFO:rooter:Waiting for 10 seconds
ERROR:rooter:
Traceback (most recent call last):
File "./rooter.py", line 206, in start_bootloader
client = telnetlib.Telnet('localhost', 4444)
File "/usr/lib/python2.7/telnetlib.py", line 211, in __init__
self.open(host, port, timeout)
File "/usr/lib/python2.7/telnetlib.py", line 227, in open
self.sock = socket.create_connection((host, port), timeout)
File "/usr/lib/python2.7/socket.py", line 575, in create_connection
raise err
error: [Errno 111] Connection refused
CRITICAL:__main__:[Errno 3] No such process
Any idea guys?
Edit: got it working. Had to compile openocd again. Probably I missed something while installing it.
Re: Fully automated rooting script
Posted: Mon Nov 19, 2018 10:45 pm
by JacDomotica
Hello,
I tried it again and got the following error:
Code: Select all
sudo python . --jtag-available --output-level DEBUG
INFO:__main__:Starting up...
INFO:__main__:Detected JTAG hardware 'rpi1'
INFO:__main__:Written private and public key pair to ./id_rsa and ./id_rsa.pub, respectively
INFO:rooter:Waiting for Toon to restart
INFO:rooter:Toon has U-Boot version 2010.09-R10
INFO:rooter:Loading new bootloader
INFO:rooter:Starting openocd
INFO:rooter:Waiting for 10 seconds
DEBUG:rooter:Open On-Chip Debugger
>
INFO:rooter:Halting CPU
DEBUG:rooter:soft_reset_halt
requesting target halt and executing a soft reset
Failed to halt CPU after 1 sec
>
DEBUG:rooter:reset halt
JTAG scan chain interrogation failed: all zeroes
Check JTAG interface, timings, target power, etc.
Trying to use configured scan chain anyway...
imx27.etb: IR capture error; saw 0x00 not 0x01
Bypassing JTAG setup events due to errors
srst pulls trst - can not reset into halted mode. Issuing halt after reset.
timed out while waiting for target halted
TARGET: imx27.cpu - Not halted
in procedure 'reset'
in procedure 'ocd_bouncer'
>
INFO:rooter:Loading new image to RAM
DEBUG:roote>
INFO:rooter:Starting up new image
INFO:rooter:Waiting for Toon to restart
Some one can give me a hint?
Re: Fully automated rooting script
Posted: Tue Nov 20, 2018 7:30 pm
by martenjacobs
JacDomotica wrote:
Some one can give me a hint?
Looks like a wiring issue. Have you re-checked everything?
Re: Fully automated rooting script
Posted: Wed Nov 21, 2018 9:59 pm
by JacDomotica
martenjacobs wrote:JacDomotica wrote:
Some one can give me a hint?
Looks like a wiring issue. Have you re-checked everything?
one wire wrong thank you!!!