Fully automated rooting script

Everything about rooting Toons 1 and 2.

Moderators: marcelr, TheHogNL, TerrorSource, Toonz

Re: Fully automated rooting script

Postby bvlet » Sun Mar 03, 2019 4:35 pm

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?
bvlet
Starting Member
Starting Member
 
Posts: 8
Joined: March 2019

Re: Fully automated rooting script

Postby TheHogNL » Sun Mar 03, 2019 4:53 pm

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

Re: Fully automated rooting script

Postby wirdo02 » Mon Mar 04, 2019 10:22 pm

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?
wirdo02
Starting Member
Starting Member
 
Posts: 15
Joined: March 2019

Re: Fully automated rooting script

Postby bvlet » Tue Mar 05, 2019 3:07 am

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
bvlet
Starting Member
Starting Member
 
Posts: 8
Joined: March 2019

Re: Fully automated rooting script

Postby TheHogNL » Tue Mar 05, 2019 7:39 am

Post your question for that in the toonstore topic
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1178
Joined: August 2017

Re: Fully automated rooting script

Postby TheHogNL » Tue Mar 05, 2019 7:47 am

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

Re: Fully automated rooting script

Postby bvlet » Thu Mar 07, 2019 3:02 am

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
bvlet
Starting Member
Starting Member
 
Posts: 8
Joined: March 2019

Re: Fully automated rooting script

Postby TheHogNL » Thu Mar 07, 2019 7:30 am

Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1178
Joined: August 2017

Re: Fully automated rooting script

Postby bvlet » Thu Mar 07, 2019 10:37 pm

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!
bvlet
Starting Member
Starting Member
 
Posts: 8
Joined: March 2019

Re: Fully automated rooting script

Postby whizzz63 » Fri Mar 08, 2019 10:01 pm

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.....
whizzz63
Starting Member
Starting Member
 
Posts: 24
Joined: February 2019

Re: Fully automated rooting script

Postby TheHogNL » Fri Mar 08, 2019 10:30 pm

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

Re: Fully automated rooting script

Postby whizzz63 » Fri Mar 08, 2019 10:36 pm

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

What else can I check?
whizzz63
Starting Member
Starting Member
 
Posts: 24
Joined: February 2019

Re: Fully automated rooting script

Postby mAiden » Fri Mar 08, 2019 11:28 pm

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.
mAiden
Member
Member
 
Posts: 256
Joined: July 2017

Re: Fully automated rooting script

Postby whizzz63 » Fri Mar 08, 2019 11:30 pm

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......
whizzz63
Starting Member
Starting Member
 
Posts: 24
Joined: February 2019

Re: Fully automated rooting script

Postby TheHogNL » Sat Mar 09, 2019 7:27 am

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

PreviousNext

Return to Toon Rooting

Who is online

Users browsing this forum: No registered users and 1 guest