Page 18 of 30

Re: Fully automated rooting script

Posted: Sun Mar 03, 2019 5:35 pm
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?

Re: Fully automated rooting script

Posted: Sun Mar 03, 2019 5:53 pm
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).

Re: Fully automated rooting script

Posted: Mon Mar 04, 2019 11:22 pm
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?

Re: Fully automated rooting script

Posted: Tue Mar 05, 2019 4:07 am
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

Re: Fully automated rooting script

Posted: Tue Mar 05, 2019 8:39 am
by TheHogNL
Post your question for that in the toonstore topic

Re: Fully automated rooting script

Posted: Tue Mar 05, 2019 8:47 am
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.

Re: Fully automated rooting script

Posted: Thu Mar 07, 2019 4:02 am
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

Re: Fully automated rooting script

Posted: Thu Mar 07, 2019 8:30 am
by TheHogNL
Did you read this topic? viewtopic.php?f=100&t=11235#p82533

Re: Fully automated rooting script

Posted: Thu Mar 07, 2019 11:37 pm
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!

Re: Fully automated rooting script

Posted: Fri Mar 08, 2019 11:01 pm
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.....

Re: Fully automated rooting script

Posted: Fri Mar 08, 2019 11:30 pm
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.

Re: Fully automated rooting script

Posted: Fri Mar 08, 2019 11:36 pm
by whizzz63
Just to check: Tx is on pin 13? (and is Rx on de USB to Serial converter)

What else can I check?

Re: Fully automated rooting script

Posted: Sat Mar 09, 2019 12:28 am
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.

Re: Fully automated rooting script

Posted: Sat Mar 09, 2019 12:30 am
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......

Re: Fully automated rooting script

Posted: Sat Mar 09, 2019 8:27 am
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?