Cyberjunky's Blog

Thoughts, notes and ideas.

Updating rooted TOON 5.2.11

My notes so I don't need to find them every time my TOON gets an update

# cd /root
# wget http://qutility.nl/resourcefiles/resources-qb2-5.2.11.zip
# unzip resources-qb2-5.2.11.zip
Archive:  resources-qb2-5.2.11.zip
  inflating: resources-static-base.rcc
  inflating: resources-static-ebl.rcc

# find . -name *.rcc
./qmf/qml/resources-static-ebl.rcc
./qmf/qml/resources.rcc
./qmf/qml/drawables-base.rcc
./qmf/qml/drawables-ebl.rcc
./qmf/qml/resources-static-base.rcc
./qmf/qml/drawables.rcc

# cp /root/*.rcc /qmf/qml

# wget http://files.domoticaforum.eu/uploads/Toon/apps/toonstore-2.1.2/toonstore_2.1.2-r0_qb2.ipk
# opkg remove toonstore
Removing package toonstore from root...
Executing post-rm script for toonstore-2.1.2 ...
Removing stale link /HCBv2/qml/apps/toonstore ...
Removing settings files ...
Restoring original keyring ...
Restoring original hosts file ...
Restoring original project file ...
Restarting http server ...

# opkg install toonstore_2.1.2-r0_qb2.ipk
Installing toonstore (2.1.2-r0) to root...
Executing pre-install script for toonstore-2.1.2
New installation of toonstore.
Backing up public keyring ...
Backing up /etc/hosts ...
Editing /etc/hosts to enable toonstore ...
hcb_config process ID now: 800
Restarting hcb_config ...
Waiting for 3 seconds ...
hcb_config process ID now: 29671
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
rm: can't remove '/HCBv2/qml/apps/toonstore/*.txt': 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
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 ...

# reboot