Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 01-08-2017, 07:31 PM   #361
boriar
Evangelist
boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.
 
boriar's Avatar
 
Posts: 407
Karma: 314204
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
Quote:
Originally Posted by tshering View Post
I added the new version here. Do not forget to back up your database before you test this version.
Thanks. Downloaded and will try soon.
Return to the work
boriar is offline   Reply With Quote
Old 01-13-2017, 12:21 AM   #362
pj123
Zealot
pj123 ought to be getting tired of karma fortunes by now.pj123 ought to be getting tired of karma fortunes by now.pj123 ought to be getting tired of karma fortunes by now.pj123 ought to be getting tired of karma fortunes by now.pj123 ought to be getting tired of karma fortunes by now.pj123 ought to be getting tired of karma fortunes by now.pj123 ought to be getting tired of karma fortunes by now.pj123 ought to be getting tired of karma fortunes by now.pj123 ought to be getting tired of karma fortunes by now.pj123 ought to be getting tired of karma fortunes by now.pj123 ought to be getting tired of karma fortunes by now.
 
Posts: 114
Karma: 1050004
Join Date: Nov 2010
Device: Lenovo Tablet 3 Pro, Kobo Aura H2O, Ipad
I installed KSM08 on my Kobo Aura H2O. Thank you! I am wondering whether it is possible to display the time and battery percentage and also whether it is possible to add a notepad.

Last edited by pj123; 01-13-2017 at 03:36 AM.
pj123 is offline   Reply With Quote
Advert
Old 01-13-2017, 06:25 PM   #363
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by pj123 View Post
I installed KSM08 on my Kobo Aura H2O. Thank you! I am wondering whether it is possible to display the time and battery percentage and also whether it is possible to add a notepad.
If you want the time and battery percentage displayed at the main menu, and regularly updated, then this is not an available option. You can however get information about the battery percentage by selecting "tools" > "checkbattery.sh".

The PBChess package includes a notepad.
tshering is offline   Reply With Quote
Old 01-15-2017, 05:59 AM   #364
hharum
Junior Member
hharum began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Sep 2016
Location: Bucuresti, Romania
Device: Kobo Aura H2O
hello tshering

I have an Kobo H2O, software vs. 3.16.17. Installed KSM08 and pbchess_2016.12.31 afterwards, everything works fine, except light on coolreader
Shall I go to 3.19? Can I do that?
Or is there another way to fix this issue?
Thanks
hharum is offline   Reply With Quote
Old 01-15-2017, 07:11 AM   #365
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by hharum View Post
hello tshering

I have an Kobo H2O, software vs. 3.16.17. Installed KSM08 and pbchess_2016.12.31 afterwards, everything works fine, except light on coolreader
Shall I go to 3.19? Can I do that?
Or is there another way to fix this issue?
Thanks
ikkentobi reported the same issue in this thread, post #738. See also the posts that follow on it. Finally ikkentobi copied the pbchess files anew, and than the light worked. I have no idea what might have happened when he copied the files the first time.

Independent of the light problem (which is unlikely to be related to the FW),I would recommend that you update to the most recent FW for H20. See this post on how to install the FW under KSM.

If you by-passed the Kobo registration and you update the FW to the recent version, you might get a pop-up saying something to the effect, that the device is not registered and that the database will be deleted. If this happens, do not confirm this message! Rather force the device to power down by pressing the power-off button and holding it for 25 secs or so. In KSM select:
tools > nickel diverse.msh > activate device > deactivate device.sh
and then select:
activate device empty.sh

Since I understand that you are a new KSM user, I would like to mention that the last step of the KSM installation is important:
select "tools" > "activate" > "set runmenu settings.msh" > "always"
If you have not already done it, do it now! Otherwise things might get confusing.

Last edited by tshering; 01-15-2017 at 07:19 AM.
tshering is offline   Reply With Quote
Advert
Old 01-15-2017, 03:00 PM   #366
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
emergency power off if KOReader exits spontaneously

The information in this post is obsolete. See this post.


Spoiler:
I want to share an idea that might never make it into an updated version of KSM. Imagine you are running KOReader and leave the device alone for a long time, trusting that KOReader's automatic suspend function will kick in (or maybe you manually suspend the reader), but for some reason there occurs a problem and KOReader exits and gives control back to KSM. Since KSM does not have an auto suspend function, the device will stay awake until you return, or until the battery will be flat.

To prevent this from happening we try to do the following. 1) We modify KOReader so that it informs KSM whether the user made KOReader exit. 2) We modify KSM to display a message if KOReader exists without being explicitly asked by the user to do so; and to power the device down, if there is no user input for 20 seconds or so.

1.1) Modification of KOReader: modify .adds\koreader\frontend\apps\filemanager\filemanag ermenu.lua; code to insert is marked in red.
Spoiler:
Code:
        home = {
            icon = "resources/icons/appbar.home.png",
            callback = function()
                local file = io.open("/tmp/koreader_exit_message","w")
                if file then
                  file:write("userexit")
                  file:close()
                end
                if SetDefaults.settings_changed then
                    SetDefaults.settings_changed = false
                    UIManager:show(ConfirmBox:new{
                        text = _("You have unsaved default settings. Save them now?"),
                        ok_callback = function()
                            SetDefaults:saveSettings()
                        end,
                    })
                else
                    UIManager:close(self.menu_container)
                    self.ui:onClose()
                end
            end,
        },


1.2) Modification of KOReader: modify .adds\koreader\frontend\apps\reader\modules\reader menu.lua; code to insert is marked in red.
Spoiler:
Code:
        home = {
            icon = "resources/icons/appbar.home.png",
            remember = false,
            callback = function()
                local file = io.open("/tmp/koreader_exit_message","w")
                if file then
                  file:write("userexit")
                  file:close()
                end
                self:onTapCloseMenu()


If KOReader exits spontaneously, you will find a log file /log/koreader_exit_log.txt. Use "explore" to navigate there and read the file.


You can test the function by launching KOReader with the new script, and then kill it by telnet:
Code:
[root@(none) ~]# killall reader.lua
I removed the archives here, since they are not needed if you install the patch for Auro One and Auro Edition 2 (which is compatible with all devices):

Last edited by tshering; 02-12-2017 at 04:39 PM.
tshering is offline   Reply With Quote
Old 01-15-2017, 04:50 PM   #367
oldhasbeen
Enthusiast
oldhasbeen doesn't litteroldhasbeen doesn't litter
 
Posts: 32
Karma: 124
Join Date: Feb 2011
Device: Kobo Aura H2O
@tshering
wow - what a service.
I just wanted to ask you to enable an KSM auto shut-off when it is in idle state. And you did that already. That borders on spooky!
How do I get into the system partition? I see only the .adds\kbmenu_user part.
You may have followed the suspend issue on GitHub and the memory leak discussion. Is there a memory leak issue with KSM 08 and subsequent reduction of available RAM?
oldhasbeen is offline   Reply With Quote
Old 01-15-2017, 05:41 PM   #368
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
@oldhasbeen
you can get stuff to the user partition by using the upgrade mechanism (KoboRoot.tgz). In the current case, since there is only one file to copy, it might be easier to use KSM's "copy sysmirror to sys" function; see this post for a description (the last point to the end of the post). As for memory leak in KSM, I am not aware of any.
tshering is offline   Reply With Quote
Old 01-16-2017, 02:56 AM   #369
hharum
Junior Member
hharum began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Sep 2016
Location: Bucuresti, Romania
Device: Kobo Aura H2O
Thanks tshering
Installed FW3.19 and reinstalled coolreader, works fine now

Thanks again
hharum is offline   Reply With Quote
Old 01-16-2017, 03:51 AM   #370
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by hharum View Post
Thanks tshering
Installed FW3.19 and reinstalled coolreader, works fine now

Thanks again
I am glad it works.
tshering is offline   Reply With Quote
Old 01-16-2017, 04:07 AM   #371
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
@oldhasbeen
I have added a KoboRoot.tgz that installs the new start_koreader.sh to post #366 (start_koreader_replacement.zip). Extract KoboRoot.tgz from the archive and copy it into .kobo. In KSM select: (home) "handle update" > "install update".
If there is some interest, I think shouldl change the script a little (showing the power-off screen, and maybe writing to a log file).
tshering is offline   Reply With Quote
Old 01-16-2017, 10:03 AM   #372
boriar
Evangelist
boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.
 
boriar's Avatar
 
Posts: 407
Karma: 314204
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
Quote:
Originally Posted by tshering View Post
@oldhasbeen
I have added a KoboRoot.tgz that installs the new start_koreader.sh to post #366 (start_koreader_replacement.zip). Extract KoboRoot.tgz from the archive and copy it into .kobo. In KSM select: (home) "handle update" > "install update".
If there is some interest, I think shouldl change the script a little (showing the power-off screen, and maybe writing to a log file).
I think the log file will be interesting for testing purpose (may be with a flag) but I don't know what you say with "showing the power-off screen". Is it show the poweroff screen of koreader?
boriar is offline   Reply With Quote
Old 01-16-2017, 11:25 AM   #373
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by boriar View Post
I think the log file will be interesting for testing purpose (may be with a flag) but I don't know what you say with "showing the power-off screen". Is it show the poweroff screen of koreader?
No, I meant the power-off screen of KSM. Currently, the device is simply powered off without any change on what is displayed on the screen. That means, it displays the KSM menu, informing that KOReader has exited irregularly and offers the options to power off or to continue. You do not see on the first sight that the device is powered off.
tshering is offline   Reply With Quote
Old 01-16-2017, 03:35 PM   #374
trekk
Terraner
trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.
 
trekk's Avatar
 
Posts: 531
Karma: 4455667
Join Date: Aug 2011
Device: Kobo Libra, Aura One, Kindle Oasis 1 & 2 ...
Quote:
Originally Posted by tshering View Post
If there is some interest, I think shouldl change the script a little (showing the power-off screen, and maybe writing to a log file).
Thank you, tshering! Personally I would be interested in both - the power-off screen and the log file.
trekk is offline   Reply With Quote
Old 01-16-2017, 05:00 PM   #375
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by trekk View Post
Thank you, tshering! Personally I would be interested in both - the power-off screen and the log file.
I uploaded the new archive to post #366.
tshering is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo-Adding alternative readers using Kobo Start Menu Ken Maltby KOReader 75 01-10-2020 01:35 PM
Kobo Start Menu tshering Kobo Developer's Corner 918 10-12-2017 02:32 PM
Kobo Start Menu 07 tshering Kobo Developer's Corner 644 03-02-2017 06:40 AM
QT Browser for Kobo Start Menu? gloriousglib Kobo Developer's Corner 1 05-24-2014 03:59 AM
Calibre start menu icon Cy1clown Calibre 1 02-06-2010 02:10 PM


All times are GMT -4. The time now is 11:59 PM.


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