Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-04-2014, 08:00 PM   #1
shadoooo
Member
shadoooo began at the beginning.
 
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...vboot_v1.0.zip for firmware 2.10 - 3.10
https://www.dropbox.com/s/8z4roh6i1k..._v1.1_3.20.zip for firmware 3.20 and up
https://www.dropbox.com/s/d685p7k2bg..._v1.2_3.30.zip for firmware 3.30
https://www.dropbox.com/s/edkarwprr0..._v1.3_3.31.zip for firmware 3.31 and 3.41
https://www.dropbox.com/s/ouss4l2j91..._v1.4_3.50.zip 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 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/e7wt6u08it...eader_v1.3.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

Last edited by shadoooo; 08-02-2014 at 05:18 AM.
shadoooo is offline   Reply With Quote
Old 02-05-2014, 03:32 AM   #2
zufre
Enthusiast
zufre has a complete set of Star Wars action figures.zufre has a complete set of Star Wars action figures.zufre has a complete set of Star Wars action figures.zufre has a complete set of Star Wars action figures.
 
Posts: 37
Karma: 334
Join Date: Jan 2014
Device: Kobo Glo/Nook ST
Could it be used to launch Android?
zufre is offline   Reply With Quote
Old 02-05-2014, 04:54 AM   #3
c123
Junior Member
c123 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2013
Device: Kobo Aura
Kobo Aura

Has anyone been brave enough to try this out on an Aura?
c123 is offline   Reply With Quote
Old 02-05-2014, 09:59 AM   #4
xping
Connoisseur
xping has learned how to read e-booksxping has learned how to read e-booksxping has learned how to read e-booksxping has learned how to read e-booksxping has learned how to read e-booksxping has learned how to read e-booksxping has learned how to read e-books
 
Posts: 74
Karma: 765
Join Date: Nov 2013
Location: Italy
Device: kobo aura hd, kobo mini, Sony prs-t3
Test

Quote:
Originally Posted by c123 View Post
Has anyone been brave enough to try this out on an Aura?


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????
xping is offline   Reply With Quote
Old 02-05-2014, 03:08 PM   #5
shadoooo
Member
shadoooo began at the beginning.
 
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
shadoooo is offline   Reply With Quote
Old 02-05-2014, 03:15 PM   #6
shadoooo
Member
shadoooo began at the beginning.
 
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...
shadoooo is offline   Reply With Quote
Old 02-05-2014, 09:44 PM   #7
JPG
Junior Member
JPG began at the beginning.
 
Posts: 3
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:
Originally Posted by xping View Post
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????
JPG is offline   Reply With Quote
Old 02-09-2014, 08:04 AM   #8
shadoooo
Member
shadoooo began at the beginning.
 
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
shadoooo is offline   Reply With Quote
Old 02-10-2014, 12:38 AM   #9
JPG
Junior Member
JPG began at the beginning.
 
Posts: 3
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
JPG is offline   Reply With Quote
Old 02-11-2014, 02:22 AM   #10
xping
Connoisseur
xping has learned how to read e-booksxping has learned how to read e-booksxping has learned how to read e-booksxping has learned how to read e-booksxping has learned how to read e-booksxping has learned how to read e-booksxping has learned how to read e-books
 
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

Quote:
Originally Posted by JPG View Post
Tried and v1.1 works 100% on my Kobo Touch, firmware 3.0.1
Nice work
Well, now it works also on aura (mark 5).
xping is offline   Reply With Quote
Old 02-11-2014, 06:24 PM   #11
shadoooo
Member
shadoooo began at the beginning.
 
Posts: 18
Karma: 19
Join Date: Nov 2013
Device: Kobo AURA HD
Thanks!

Stay tuned for possible improvements.
Andrea
shadoooo is offline   Reply With Quote
Old 02-12-2014, 10:07 AM   #12
JPG
Junior Member
JPG began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2014
Location: South Africa
Device: Kobo Touch
Could the Kobo Start Menu (http://www.mobileread.com/forums/sho...d.php?t=233259)
Be run in this way?
JPG is offline   Reply With Quote
Old 02-14-2014, 09:21 AM   #13
shadoooo
Member
shadoooo began at the beginning.
 
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...
shadoooo is offline   Reply With Quote
Old 02-18-2014, 05:13 AM   #14
byblo
Traumatized
byblo can program the VCR without an owner's manual.byblo can program the VCR without an owner's manual.byblo can program the VCR without an owner's manual.byblo can program the VCR without an owner's manual.byblo can program the VCR without an owner's manual.byblo can program the VCR without an owner's manual.byblo can program the VCR without an owner's manual.byblo can program the VCR without an owner's manual.byblo can program the VCR without an owner's manual.byblo can program the VCR without an owner's manual.byblo can program the VCR without an owner's manual.
 
byblo's Avatar
 
Posts: 62
Karma: 175722
Join Date: Oct 2009
Device: paper, Kobo Glue
Id like to test this No risk to brick a Glo?
byblo is offline   Reply With Quote
Old 02-18-2014, 05:44 AM   #15
xping
Connoisseur
xping has learned how to read e-booksxping has learned how to read e-booksxping has learned how to read e-booksxping has learned how to read e-booksxping has learned how to read e-booksxping has learned how to read e-booksxping has learned how to read e-books
 
Posts: 74
Karma: 765
Join Date: Nov 2013
Location: Italy
Device: kobo aura hd, kobo mini, Sony prs-t3
glo

Quote:
Originally Posted by byblo View Post
Id like to test this No risk to brick a 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
xping is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Koreader running on Kobos (all of them, hopefully!) giorgio130 Kobo Developer's Corner 1587 Yesterday 05:26 PM
framebuffer settings for koreader shadoooo Kobo Developer's Corner 15 01-01-2014 11:20 AM
Koreader v. Coolreader 93terp Kobo Developer's Corner 8 11-05-2013 04:37 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
I can not lauch calibre in jubrapamal Calibre 2 02-02-2010 05:36 AM


All times are GMT -4. The time now is 01:52 AM.


MobileRead.com is a privately owned, operated and funded community.