Fully automated rooting script

Everything about rooting Toons 1 and 2.

Moderators: marcelr, TheHogNL, Toonz

bvlet
Starting Member
Starting Member
Posts: 8
Joined: Sat Mar 02, 2019 12:44 am

Re: Fully automated rooting script

Post by bvlet »

I did use this because I already knew which bootloader I had, and becasue then it at least started writing the new firmware.
The DEBUG did not get me any more information than I posted.

But: This morning I managed to do the manual installation by running the postinstallers manually. Although they did not run both, I managed to get SSH access. Then Toon didn't start correctly (it stopped at the install-screen), but by running the autoupdate script with -f I managed to get it working and keep SSH-access.

I now only have one small problem, in that I can access the Toon through the SSH with a fixed IP, but Toon doesn't seem to know it has connection to the internet. I can see the wifi networks on the Toon, but connecting fails. At least, that's what Toon thinks...

Any ideas about that?
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Fully automated rooting script

Post by TheHogNL »

Did the installation of the necessary files finish properly (with the -f option in the update script)? As your VPN is closed your Toon normally reports that internet is broken. But with our fixes we are fooling the toon to think it has internet (or better, that there is a vpn connection). Using the -f option will install those 'fixes' normally (importantly the resource files).
Member of the Toon Software Collective
wirdo02
Starting Member
Starting Member
Posts: 17
Joined: Mon Mar 04, 2019 11:07 pm

Re: Fully automated rooting script

Post by wirdo02 »

Hello,

I'm trying to root my arrived toon but seem to be facing an issue.
I followed the guide (ToonRooter) but not getting really far. Searched on this forum for someone with the same issue but couldn't find it.

I am using a Pi model B (1st gen), all pins are connected to the toon.
When running the pyton command the only output I'm getting is:

INFO:__main__:Starting up...
CRITICAL:__main__:cannot import name Timeout

Does anyone have any suggestions?
bvlet
Starting Member
Starting Member
Posts: 8
Joined: Sat Mar 02, 2019 12:44 am

Re: Fully automated rooting script

Post by bvlet »

I did it again, and from my point of view everything goes well:

Code: Select all

========================================

Only fixing files.
creating backup of inittab...
creating backup of chrony.conf...
creating backup of hosts...
creating backup of config_happ_scsync.xml...
creating backup of qmf_tenant.xml.save ...
FIXING: Downloading resources.rcc TSC mod for this version 5.0.4.
FIXING: Now updating all toonstore installed apps
Downloading http://files.domoticaforum.eu/uploads/Toon/apps/toonstore-2.1.2/toonstore_2.1.2-r0_qb2.ipk.
Installing toonstore (2.1.2-r0) to root...
Executing pre-install script for toonstore-2.1.2
Previous installation detected.
Creating backup for /qmf/etc/qmf_release.xml ...
Patching /qmf/etc/qmf_release.xml for 403-forbidden error ...
Restarting http server ...
Cleaning garbage....
rm: can't remove '/HCBv2/qml/apps/toonstore/*.qmlc': No such file or directory
rm: can't remove '/HCBv2/qml/apps/toonstore/*.jsc': No such file or directory
ToonStore pre-install script completed ...
Configuring toonstore.
Executing post-install script for toonstore-2.1.2 ...
Writing app version number to /HCBv2/qml/apps/toonstore-2.1.2/version.txt ...
Adding toonstore key to opkg keyring ...
OK
This is a Toon QB2, checking to Globals.qml
No settings to be restored
Removing stale link /HCBv2/qml/apps/toonstore ...
Creating symbolic link /HCBv2/qml/apps/toonstore to /HCBv2/qml/apps/toonstore-2.1.2
Firmware version 5 or greater detected, changing app for firmware compatibility...
Posting message ...

EDITING: Time server, removes unnecessary link to Quby
EDITING: Hosts file, removes unnecessary link to Quby
EDITING: disable ovpn connection to quby
EDITING: Adding serial connection
EDITING: Activating Toon, enabling ElectricityDisplay and GasDisplay
EDITING: removing data gathering by Quby and whitelisting web services
But: I also found that I can't install stuff from the Toonstore. I can select them, but nothing changes when I press the button in the top right corner...
So something is missing I think...?

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

Re: Fully automated rooting script

Post by TheHogNL »

Post your question for that in the toonstore topic
Member of the Toon Software Collective
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Fully automated rooting script

Post by TheHogNL »

wirdo02 wrote:Hello,

I'm trying to root my arrived toon but seem to be facing an issue.
I followed the guide (ToonRooter) but not getting really far. Searched on this forum for someone with the same issue but couldn't find it.

I am using a Pi model B (1st gen), all pins are connected to the toon.
When running the pyton command the only output I'm getting is:

INFO:__main__:Starting up...
CRITICAL:__main__:cannot import name Timeout

Does anyone have any suggestions?
Moved your topic to the automated rooting script topic.

Please check your python installation. You are probably missing some of the python installation, or running an older version.
Member of the Toon Software Collective
bvlet
Starting Member
Starting Member
Posts: 8
Joined: Sat Mar 02, 2019 12:44 am

Re: Fully automated rooting script

Post by bvlet »

TheHogNL wrote:Post your question for that in the toonstore topic

OK, I will. But there's still the problem that everything looks OK, but Toon says there is no internet connection (while I can SSH into it)...
Is there more I can check?

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

Re: Fully automated rooting script

Post by TheHogNL »

Did you read this topic? viewtopic.php?f=100&t=11235#p82533
Member of the Toon Software Collective
bvlet
Starting Member
Starting Member
Posts: 8
Joined: Sat Mar 02, 2019 12:44 am

Re: Fully automated rooting script

Post by bvlet »

Yes, I did, all of it. Didn't help.

However, this morning I restarted Toon a few times (different reasons) and now everything seems to work! 8)

Toon is connected to servicecenter (it thinks...) and WiFi connects in a few seconds.

Too bad I don't know why.... Maybe I'll find out later.
Thanks for your help anyway!
whizzz63
Starting Member
Starting Member
Posts: 41
Joined: Wed Feb 27, 2019 6:18 pm

Re: Fully automated rooting script

Post by whizzz63 »

Can anybody help me:

I have a Toon 1, Boot version R8. Using a FTDI usb to serial converter and connecting it to pins 11, 13 and 14, I see output in my console (Tried Minicom, Putty with the correct settings), but when I trie to paste the password, Toon boots normally. Is there something, that I oversee, or is my Toon not compatibel.....
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Fully automated rooting script

Post by TheHogNL »

That should work. Most of the time it is just that your TX wire is bad. And as you are receiving RX you know that that wire is connected correctly.
Make sure your cable is good and you are indeed connecting the TX to the correct pin.
Member of the Toon Software Collective
whizzz63
Starting Member
Starting Member
Posts: 41
Joined: Wed Feb 27, 2019 6:18 pm

Re: Fully automated rooting script

Post by whizzz63 »

Just to check: Tx is on pin 13? (and is Rx on de USB to Serial converter)

What else can I check?
mAiden
Member
Member
Posts: 330
Joined: Mon Jul 10, 2017 10:22 am

Re: Fully automated rooting script

Post by mAiden »

whizzz63 wrote:Just to check: Tx is on pin 13? (and is Rx on de USB to Serial converter)

What else can I check?
Be sure that:

TX from usb is RX on Toon
RX from usb is TX on Toon.
Member of the Toon Software Collective
whizzz63
Starting Member
Starting Member
Posts: 41
Joined: Wed Feb 27, 2019 6:18 pm

Re: Fully automated rooting script

Post by whizzz63 »

mAiden wrote:
whizzz63 wrote:Just to check: Tx is on pin 13? (and is Rx on de USB to Serial converter)

What else can I check?
Be sure that:

TX from usb is RX on Toon
RX from usb is TX on Toon.
Did it all, checked severall times, but no result......
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Fully automated rooting script

Post by TheHogNL »

whizzz63 wrote:Just to check: Tx is on pin 13? (and is Rx on de USB to Serial converter)

What else can I check?
Correct. But are you pointing to the correct pin 13? And ofcourse are you sure you have the correct password in your copy/paste buffer?
Member of the Toon Software Collective
Post Reply

Return to “Toon Rooting”