02-04-2014, 08:00 PM | #1 |
Member
Posts: 18
Karma: 19
Join Date: Nov 2013
Device: Kobo AURA HD
|
advboot: a new approach to launch nickel or koreader at startup
Hello,
I realized a modified boot procedure for KOBO devices 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..._v1.0.zip?dl=0 for firmware 2.10 - 3.10 https://www.dropbox.com/s/8z4roh6i1k..._3.20.zip?dl=0 for firmware 3.20 and up https://www.dropbox.com/s/d685p7k2bg..._3.30.zip?dl=0 for firmware 3.30 https://www.dropbox.com/s/edkarwprr0..._3.31.zip?dl=0 for firmware 3.31 and 3.41 https://www.dropbox.com/s/ouss4l2j91..._3.50.zip?dl=0 for firmware 3.50 ****************************** THANKS TO OTHER USERS FOR SUPPORTING ADVBOOT, later files are only a backup of files from other users, with version numbering and changelog updated. ****************************** 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 set 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/e7wt6u08it..._v1.3.zip?dl=0 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...ample.zip?dl=0 I hope this will be useful. Comments are welcome. Andrea Last edited by shadoooo; 05-01-2015 at 11:54 AM. |
02-05-2014, 03:32 AM | #2 |
Connoisseur
Posts: 56
Karma: 334
Join Date: Jan 2014
Device: Kobo Glo/Nook ST
|
Could it be used to launch Android?
|
Advert | |
|
02-05-2014, 04:54 AM | #3 |
Member
Posts: 24
Karma: 2352570
Join Date: Dec 2013
Device: Kobo Aura
|
Kobo Aura
Has anyone been brave enough to try this out on an Aura?
|
02-05-2014, 09:59 AM | #4 |
Connoisseur
Posts: 74
Karma: 765
Join Date: Nov 2013
Location: Italy
Device: kobo aura hd, kobo mini, Sony prs-t3
|
Test
OK.... I am the brave one. Here are results: Kobo aura HD firmware 3.1.1 ---> Just perfect!!! works fine Kobo mini (firmware 3.1.1) ----> Just perfect!!! works fine Kobo Aura (firmware 3.1.1) ----> well. The aura won't show the startup menu, but if U click above the middle of the screen U will get nickel; if U click under the bottom of the screen U will get Koreader. The problem is that aura instead will show only a black screen on the startup, means problem to display the raw images???? |
02-05-2014, 03:08 PM | #5 |
Member
Posts: 18
Karma: 19
Join Date: Nov 2013
Device: Kobo AURA HD
|
hello,
to develop a smart loader, the most compatible as possible with kobo environment, I used applications that are made by kobo developers, and that are already present inside the kobo devices... In detail, I used the original rcS script as example, as it calls a secondary script that shows the black and white small squares while loading, and monitor user touch on defined window areas when user confirmation is needed and nickel is not running (for example to accept upgrades our factory reset). Maybe there's some difference on how these applications should be called, specially the one used top show bitmaps on the screen. I will give a look to an update package, and in case I will propose updated scripts... Andrea |
Advert | |
|
02-05-2014, 03:15 PM | #6 |
Member
Posts: 18
Karma: 19
Join Date: Nov 2013
Device: Kobo AURA HD
|
second answer: this script cannot be used to boot androids, as it can modify the boot sequence
of the system after linux kernel us already running. In fact we are here changing the way the system starts, but the os is always the same. To have a real dual boot a modification to the primary boot loader (barebox) should be done. Completely different job... |
02-05-2014, 09:44 PM | #7 | |
Junior Member
Posts: 9
Karma: 10
Join Date: Feb 2014
Location: South Africa
Device: Kobo Touch
|
Tried on Touch (firmware 3.1.0)
Black screen on boot, click above the middle of the screen U will get nickel; if U click under the bottom of the screen U will get Koreader. Thanks Quote:
|
|
02-09-2014, 08:04 AM | #8 |
Member
Posts: 18
Karma: 19
Join Date: Nov 2013
Device: Kobo AURA HD
|
I think I found the problem because of for some models didn't show the menu.
Here there's the updated version of the nickel / koreader selection script: https://www.dropbox.com/s/5va1vcdq0d...eader_v1.1.zip To install the new script, simply extract it on .kobo folder. No reinstall of the main advboot package is required. Hope this time all works fine. Andrea |
02-10-2014, 12:38 AM | #9 |
Junior Member
Posts: 9
Karma: 10
Join Date: Feb 2014
Location: South Africa
Device: Kobo Touch
|
Tried and v1.1 works 100% on my Kobo Touch, firmware 3.0.1
Nice work |
02-11-2014, 02:22 AM | #10 |
Connoisseur
Posts: 74
Karma: 765
Join Date: Nov 2013
Location: Italy
Device: kobo aura hd, kobo mini, Sony prs-t3
|
fine with aura (Mark 5) too
|
02-11-2014, 06:24 PM | #11 |
Member
Posts: 18
Karma: 19
Join Date: Nov 2013
Device: Kobo AURA HD
|
Thanks!
Stay tuned for possible improvements. Andrea |
02-12-2014, 10:07 AM | #12 |
Junior Member
Posts: 9
Karma: 10
Join Date: Feb 2014
Location: South Africa
Device: Kobo Touch
|
Could the Kobo Start Menu (https://www.mobileread.com/forums/sho...d.php?t=233259)
Be run in this way? |
02-14-2014, 09:21 AM | #13 |
Member
Posts: 18
Karma: 19
Join Date: Nov 2013
Device: Kobo AURA HD
|
well, it could be, but all particular modifications inside the rcS file should be
moved to external scripts... |
02-18-2014, 05:13 AM | #14 |
Traumatized
Posts: 68
Karma: 175722
Join Date: Oct 2009
Device: paper, Kobo Glue
|
Id like to test this No risk to brick a Glo?
|
02-18-2014, 05:44 AM | #15 |
Connoisseur
Posts: 74
Karma: 765
Join Date: Nov 2013
Location: Italy
Device: kobo aura hd, kobo mini, Sony prs-t3
|
glo
I think it should work flawlessy on kobo glo.
If it faults U can make hardware reset. There are a lot of benefits: 1. Professional look of starting interface where U choose between Standard Kobo software and Koreader 2. No need to keep fmon active (utility that monitors files opened continuosly) 3. Koreader starts out from nikel framework enviroment and has more resources thxs |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aura H2O Open book in Koreader from Nickel? | tayseidel | Kobo Developer's Corner | 2 | 01-03-2016 03:35 PM |
Kobo-advboot Nickel or KOReader startup menu | Ken Maltby | KOReader | 0 | 01-02-2016 02:22 PM |
Aura H2O Koreader and malformed nickel database | Patricius | Kobo Reader | 38 | 08-03-2015 05:45 AM |
Aura H2O Problem with KSM and/or Koreader -> Nickel full freeze | johnnyb | Kobo Developer's Corner | 8 | 04-15-2015 02:18 AM |
Eink stanalone demo Qt eink driver for standalone qt apps ie no nickel nickel | tonyv | Kobo Developer's Corner | 2 | 12-27-2012 09:35 AM |