And finally the scripts and instructions how to build Plato-based firmware from the original firmware:
- Make sure you know your hardware emergency restart procedure to avoid bricking your reader should something go wrong!
- (optional) First do a factory reset of your Kobo (on my Clara this is done by plugging in charger and holding power button for 30 seconds when the device is off)
- Download attachment firmware_plato_mod_scripts.zip attached here - this contains 2 files: cripple_network.sh and replace_with_plato.sh (both these scripts are very simple - just few 'cp', 'rm' and 'sed' commands)
- Download original firmware - I used kobo-update-4.31.19086.zip from here, thanks to geek1011 for the link.
- Unzip and extract KoboRoot.tgz
Code:
mkdir firmware-mod/
cp kobo-update-4.31.19086.zip firmware-mod/
cd firmware-mod
unzip kobo-update-4.31.19086.zip
mkdir root
mv KoboRoot.tgz root
tar xf KoboRoot.tgz
- Download plato reader from github.com/baskerville/plato (I used version 0.9.25) and extract the zip file
- Optional, if you want to make sure the device will be completely offline, you can run cripple_network.sh:
Code:
cripple_network.sh firmware-mod/root
- Now the most important step - run the script to copy Plato to $KOBOROOT/opt/plato and mod the start script
Code:
./replace_with_plato.sh firmware-mod/root plato-root
- Done. Just create your KoboRoot.tgz and copy to .kobo/
Code:
cd firmware-mod/root
rm -f KoboRoot.tgz
tar cfz KoboRoot.tgz *
mv KoboRoot.tgz ..
cd ..
cp KoboRoot.tgz /media/...../your-kobo-device/.kobo
sync
- Umount and unplug the Kobo device, restart.