Quantcast
Channel: MobileRead Forums - Kobo Developer's Corner
Viewing all articles
Browse latest Browse all 1565

advboot: a new approach to lauch nickel or koreader at startup

$
0
0
Hello,
I realized a modified boot procedure for KOBO devices with firmware version 2.10 (and possibly higher versions) that allows the user to execute custom scripts at startup.
This boot procedure is based on original boot script of KOBO devices,
with minor modifications; it can be installed once forever (until system is upgraded), while custom scripts are in .kobo/advboot subfolders, thus accessible via USB without the need to use KoboRoot.tgz installation procedure for further modifications.
Custom scripts are launched at three stages of the boot process, in a name sorted sequence (details on included readme).
The new boot procedure is available here:

https://www.dropbox.com/s/ytpa3sfe85...vboot_v1.0.zip

and can be installed simply putting the included KoboRoot.tgz file in .kobo folder, as usual. The procedure itself prepares the system to execute custom scripts, but does nothing more.

I prepared a serie of custom scripts that show a simple menu at startup,
allowing the user to choose between KOBO nickel application (standard boot)
and koreader (it must be installed separately).
There's no need to install fmon or other launchers in this way.
This script uses only binary applications already included in KOBO firmware to show the graphical interface, while the bitmaps are included in the images subfolder.
The main advantage over the common fmon (PNG file access monitoring) method
is that it doesn't require nickel to be running at all, so system resources can be dedicated
exclusively to koreader. Furthermore, it doesn't require installation of any file monitor launcher, thus sparing again some extra cpu time for this purpose.
It's available here:

https://www.dropbox.com/s/xi020jeuf1...eader_v1.0.zip

As somebody used to modify the rcS for other purposes, I'm including also an example script to start telnet server service during boot.
It can be used as exampled, and can be easily modified if different network configurations are required.

https://www.dropbox.com/s/smhgg5vthj...et_example.zip

I hope this will be useful.
Comments are welcome.
Andrea

Viewing all articles
Browse latest Browse all 1565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>