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 12-13-2014, 04:25 PM   #676
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 Eriol Brumel View Post
I keep opening the "books" exit_nickel and switchtokoreader, but all that results is that the respective PNG graphics are being displayed. If I touch them, I get thrown back to the Nickel start page.
I am sorry to hear that KSM is not behaving properly!

Things are a little complicated, since some points work differently on different models. I therefore try to summarize the expected behaviour of the files exit_nickel.png and switchtokoreader.png when opened from nickel.


If nickel was called by "start nickel"
  • on Touch, Glo, Mini, Aura: both exit nickel and return to KSM
  • on Aura HD, Aura H2O: both exit nickel and reboot the device

If nickel was called by "koreader_additions > start nickel koreader switch" or "koreader_additions > start koreader nickel switch"
  • on Touch, Glo, Mini, Aura:
    • switchtokoreader.png exits (temporarily) nickel and starts koreader
    • exit_nickel.png exits nickel and returns to KSM
  • on Aura HD, Aura H2O:
    • switchtokoreader.png exits (temporarily) nickel and starts koreader. This seems however not to work correctly on H2O (and maybe also not onAura HD), and should therefore not be used.
    • exit_nickel.png exits nickel and reboots the device
In your case exit_nickel.png and switchtokoreader.png seem to do nothing at all of that kind. Did you by chance install first KSM and only later inserted the folder kbmenupngs? If that is the case, it might help if you power off the device and on again, to solve the problem. For the moment I cannot think of another cause of the problem and therefore of no other solution.

Last edited by tshering; 12-13-2014 at 04:31 PM.
tshering is offline   Reply With Quote
Old 12-13-2014, 05:59 PM   #677
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by Eriol Brumel View Post
Hi there,

I have a brand-new Aura H2O, which updated itself to FW v.3.12.0 upon initial boot. I successfully installed KSM and Koreader and was able to switch from one to the other without any problem. I then started Nickel from KSM, which also worked fine. Now I want to return to KSM resp. Koreader, and nothing happens.

I keep opening the "books" exit_nickel and switchtokoreader, but all that results is that the respective PNG graphics are being displayed. If I touch them, I get thrown back to the Nickel start page. What am I doing wrong?

Any help is much appreciated!


Eriol
You probably need to place the KoboRoot.tgz, from the KSM download, into the .kobo directory of your device again and have it redo the process that associates the opening of the .png file with the action expected.

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Advert
Old 12-13-2014, 06:27 PM   #678
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
Actually, the association is newly established each time one selects "start nickel." Therefore, reinstalling KoboRoot.tgz should not be necessary.

Before associating an image file with an action, the script checks whether the image is already registered in the database, and refuses to establish the association if the image file is not registered (to be completley on the save side, the script should also check whether the respective thumb nail has already been created, but I skipped this part and trusted that the user will take care that the thumb nail is produced by looking at it in the library list).
But sometimes reinstalling works wonders! So who knows?
tshering is offline   Reply With Quote
Old 12-13-2014, 06:31 PM   #679
Eriol Brumel
Junior Member
Eriol Brumel began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2014
Device: Kobo Aura H2O
Exclamation Problem solved

Quote:
Originally Posted by Ken Maltby View Post
You probably need to place the KoboRoot.tgz, from the KSM download, into the .kobo directory of your device again and have it redo the process that associates the opening of the .png file with the action expected.
Dear ts, dear Ken,

many thanks for your speedy replies. It seems that Ken got it right. I re-installed KoboRoot.tgz from the KSM download, and now everything seems to work as intended. Maybe something had gone wrong during the installation of the Koreader nightly.



Thanks again,
Eriol

Last edited by Eriol Brumel; 12-13-2014 at 06:34 PM.
Eriol Brumel is offline   Reply With Quote
Old 12-13-2014, 09:21 PM   #680
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by Eriol Brumel View Post
Dear ts, dear Ken,

many thanks for your speedy replies. It seems that Ken got it right. I re-installed KoboRoot.tgz from the KSM download, and now everything seems to work as intended. Maybe something had gone wrong during the installation of the Koreader nightly.



Thanks again,
Eriol
With KSM installed, updating Koreader is just a matter of merging the koreader folders. You no longer need to add a .png file or place the KoboRoot.tgz file in the .kobo folder. Doing so might be a way to have the Koreader install have this effect.

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Advert
Old 12-14-2014, 06:48 AM   #681
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
Does the Kobo Start Menu prevent factory resets (thrice reset as described in http://www.kobo.com/help/en-US/artic...o%20Aura%20H2O )? It seems to replace the central bootup script (rcS) and things like (/usr/local/Kobo/pickel should-factory-reset) seem to be missing from the Kobo Start Menu version of it.
frostschutz is offline   Reply With Quote
Old 12-14-2014, 07:55 AM   #682
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 frostschutz View Post
Does the Kobo Start Menu prevent factory resets (thrice reset as described in http://www.kobo.com/help/en-US/artic...o%20Aura%20H2O )? It seems to replace the central bootup script (rcS) and things like (/usr/local/Kobo/pickel should-factory-reset) seem to be missing from the Kobo Start Menu version of it.
The reason for removing this part of the rcS was that otherwise we would be presented with the "Critical error message" every third time we reboot the reader without running nickel.
With KSM, instead of inserting a paper clip three times in a row after booting, one would insert a sd card with autorun.sh containing the factory reset code once. This is the idea, but I did not actually try it myself.

Last edited by tshering; 12-14-2014 at 08:01 AM.
tshering is offline   Reply With Quote
Old 12-14-2014, 08:46 AM   #683
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
Oh, I see.

I was wondering how it detected the triple reset, it seems the should-factory-reset does something to the first 512 bytes of the vfat partition... in particular one byte is changed to 00 -> 01 -> 02 -> 03 -> 04 -> 05 (and there it exits with 1) -> 00 -> ... with subsequent calls, so that does look like a counter of sorts.

I guess if nickel starts successfully, that would be reset somehow.

Not sure if the autostart.sh method would help this guy: https://www.mobileread.com/forums/sho...d.php?t=252810 (bricked H2O, in another thread he stated he had KSM installed)

Then again it bricked during firmware upgrade, which would likely have removed KSM anyhow.

Edit: you mean autoscript.sh?

Last edited by frostschutz; 12-14-2014 at 08:55 AM.
frostschutz is offline   Reply With Quote
Old 12-14-2014, 09:07 AM   #684
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 frostschutz View Post
Oh, I see.

I was wondering how it detected the triple reset, it seems the should-factory-reset does something to the first 512 bytes of the vfat partition... in particular one byte is changed to 00 -> 01 -> 02 -> 03 -> 04 -> 05 (and there it exits with 1) -> 00 -> ... with subsequent calls, so that does look like a counter of sorts.

I guess if nickel starts successfully, that would be reset somehow.
This is how it works. I posted the exact information somewhere on the forum, but cannot find the post myself now. (Edit: I found it. Here it is.)

Quote:
Originally Posted by frostschutz View Post
Edit: you mean autoscript.sh?
No, it is autoscript.sh. I choose this more uncommon name to prevent that an autorun.sh that might be there by chance will be run.

Last edited by tshering; 12-14-2014 at 09:21 AM.
tshering is offline   Reply With Quote
Old 12-14-2014, 12:47 PM   #685
Ebri
Groupie
Ebri began at the beginning.
 
Posts: 150
Karma: 48
Join Date: Apr 2014
Device: Kindle Paperwhite 2, Kobo Aura HD
I realised today, that signing out clears all the .kobo folder. This way I updated to 3.12.0, and KSM works just fine on the Aura HD.

But one note: I added the fix to be able to do a proper partial update, but today exit nickel turned off the light with no reboot. (After the above reinstall, I have not added the fix having no newer firmware than 3.12, and exit nickel worked as intended, with reboot.) Can a change in the scripts cause such behaviour?
Ebri is offline   Reply With Quote
Old 12-14-2014, 01:31 PM   #686
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 Ebri View Post
I realised today, that signing out clears all the .kobo folder. This way I updated to 3.12.0, and KSM works just fine on the Aura HD.

But one note: I added the fix to be able to do a proper partial update, but today exit nickel turned off the light with no reboot. (After the above reinstall, I have not added the fix having no newer firmware than 3.12, and exit nickel worked as intended, with reboot.) Can a change in the scripts cause such behaviour?
KBStartMenu_06_bugfix_01.zip is not related to what happens after choosing exit_nickel.png. So you should be able to install this bug fix without having this behaviour again.

Sorry, I think I do not understand exactly the sequence of events in your description, but I think what happened is something like this:

When starting nickel, KSM checks whether exit_nickel.png is registered in the database, and only if it is registered, then it associates a certain action with it (in the case of Aura HD and H2O the action of rebooting). In your case the database was cleared, because you signed out, and only after nickel was started exit_nickel.png was again registered. Therefore, exit_nickel.png was not associated with any action, but behaved like any book. However, why the light was switched off, I do not understand.

Last edited by tshering; 12-14-2014 at 01:35 PM.
tshering is offline   Reply With Quote
Old 12-14-2014, 04:39 PM   #687
Ebri
Groupie
Ebri began at the beginning.
 
Posts: 150
Karma: 48
Join Date: Apr 2014
Device: Kindle Paperwhite 2, Kobo Aura HD
Excuse me, during writing the above I had to quickly prepare a photobook, so I parallelly did 2-3 things.

Before anything went wrong, I copied the bugfix, overwriting the original scripts. Then I started nickel, copied some new books, and after that somehow exit nickel seemed to exit nickel, but it was not followed by a reboot. (It is indeed strange, as earlier it worked.)
Ebri is offline   Reply With Quote
Old 12-15-2014, 05:14 PM   #688
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
activate dictionaries

This is only for KSM version 06!
Purpose: activate side loaded dictionaries.

After installation, go to "tools > activate > activate dictionaries msh"

As for the illustrating images, you will notice that I overdid the "modifications for bad eyes" quite a bit. This has nothing to do with KSM. The first image shows the "activate dictionaries msh" screen, the second image shows the report that was shown after I executed "activate all."

Since this will make changes to the database, you might consider backing up .kobo\KoboReader.sqlite, before trying this.

EDIT: I removed the archive here, and included the content in KBStartMenu_06_update01b.zip, which you can find here.
Attached Thumbnails
Click image for larger version

Name:	screen_20141215_213348.png
Views:	954
Size:	69.9 KB
ID:	132529   Click image for larger version

Name:	screen_20141215_213424.png
Views:	589
Size:	75.4 KB
ID:	132530   Click image for larger version

Name:	screen_20141215_214626.png
Views:	938
Size:	36.2 KB
ID:	132531   Click image for larger version

Name:	screen_20141215_214735.png
Views:	584
Size:	39.2 KB
ID:	132532   Click image for larger version

Name:	screen_20141215_222934.png
Views:	589
Size:	45.4 KB
ID:	132533   Click image for larger version

Name:	screen_20141215_223114.png
Views:	628
Size:	80.2 KB
ID:	132534  

Last edited by tshering; 12-22-2014 at 06:43 PM.
tshering is offline   Reply With Quote
Old 12-21-2014, 12:37 PM   #689
stanlefor
Connoisseur
stanlefor can self-interpret dreams as they happen.stanlefor can self-interpret dreams as they happen.stanlefor can self-interpret dreams as they happen.stanlefor can self-interpret dreams as they happen.stanlefor can self-interpret dreams as they happen.stanlefor can self-interpret dreams as they happen.stanlefor can self-interpret dreams as they happen.stanlefor can self-interpret dreams as they happen.stanlefor can self-interpret dreams as they happen.stanlefor can self-interpret dreams as they happen.stanlefor can self-interpret dreams as they happen.
 
Posts: 81
Karma: 20528
Join Date: Oct 2012
Device: kobo touch
Hi,
I tried to install KSM and Koreader, and it looks great.
Unfortunately, I can't start nickel anymore : every time I launch it, it reboots the reader.
So my question is, how do I uninstall all this?
I think I'll give another try later.
Thanks.

EDIT : Already found the solution : I may keep it for a while after all, but it could be great to know how to uninstall anyway.

Last edited by stanlefor; 12-21-2014 at 12:45 PM. Reason: solution
stanlefor is offline   Reply With Quote
Old 12-21-2014, 02:30 PM   #690
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 stanlefor View Post
Hi,
I tried to install KSM and Koreader, and it looks great.
Unfortunately, I can't start nickel anymore : every time I launch it, it reboots the reader.
So my question is, how do I uninstall all this?
I think I'll give another try later.
Thanks.

EDIT : Already found the solution : I may keep it for a while after all, but it could be great to know how to uninstall anyway.
Could you please share your solution for the benefit of other users that might experience the same situation. I guess it might be related to the image files in kbmenupngs, but of course I do not know what exactly happened.

I added the uninstall information to this post.
tshering is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
kobo menu and message tshering Kobo Developer's Corner 26 01-15-2014 09:18 AM
Kobo WiFi - Battery indicator outside menu? Cyberman tM Kobo Reader 1 03-06-2013 04:42 AM
Kobo constantly crashes back to Reading menu avalanches Kobo Reader 0 04-11-2011 09:35 PM
main menu, section menu, css for calibre mobipocket output naisren Calibre 2 08-23-2010 11:42 PM
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.