View Single Post
Old 01-31-2022, 08:30 AM   #9
tt0
Junior Member
tt0 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2022
Device: kobo
And finally the scripts and instructions how to build Plato-based firmware from the original firmware:
  1. Make sure you know your hardware emergency restart procedure to avoid bricking your reader should something go wrong!
  2. (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)
  3. 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)
  4. Download original firmware - I used kobo-update-4.31.19086.zip from here, thanks to geek1011 for the link.
  5. 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
  6. Download plato reader from github.com/baskerville/plato (I used version 0.9.25) and extract the zip file
  7. 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
  8. 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
  9. 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
  10. Umount and unplug the Kobo device, restart.
Attached Files
File Type: zip firmware_plato_mod_scripts.zip (1.6 KB, 165 views)
tt0 is offline   Reply With Quote