Quote:
Originally Posted by Solicitous
At risk of sounding dumb, is there a way to prevent automatic update to 2.5.2 if you roll back to 2.5.1? I know one could keep the wifi turned off but that kind of defeats the purpose of having the sync option with the android app.
|
Well, it was discussed in this very thread yesterday, so I don't know what that says
Look at
https://www.mobileread.com/forums/sho...&postcount=321. That is last post in the discussion, which shows a problem with the technique.
I was thinking of suggesting creating a read-only file or directory called "KoboRoot.tgz". But, looking at the boot script that processes this, it would cause a repeating boot. That did lead to another thought for the adventurous.
The upgrade is done via the script "/etc/init.d/rcS". The interesting section is:
Code:
if [ -e /mnt/onboard/.kobo/KoboRoot.tgz ]; then
killall on-animator.sh
zcat /etc/images/$PREFIX\ghostbuster.raw.gz | /usr/local/Kobo/pickel showpic
/etc/init.d/update-animator.sh &
zcat /mnt/onboard/.kobo/KoboRoot.tgz > /dev/null && tar zxf /mnt/onboard/.kobo/KoboRoot.tgz -C /
if [ -e /mnt/onboard/.kobo/upgrade ]; then
/etc/init.d/upgrade-wifi.sh
rm -rf /mnt/onboard/.kobo/upgrade
fi
rm /mnt/onboard/.kobo/KoboRoot.tgz
killall update-animator.sh
echo "Done upgrading..."
zcat /etc/images/$PREFIX\ghostbuster.raw.gz | /usr/local/Kobo/pickel showpic
zcat /etc/images/$PREFIX\reboot.raw.gz | /usr/local/Kobo/pickel showpic
sync
reboot
fi
Editing this and changing "KoboRoot.tgz" to something else would prevent the upgrade from happening. Then, when you did want the upgrade to happen, just rename the upgrade file from "KoboRoot.tgz" to whatever you used and restart the device.
I haven't tested this, and to be honest, I'm not that interested in doing it. I'm one of those sick people who see there is a new version of something and immediately try it