Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 05-05-2020, 05:55 PM   #31
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,791
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by John F View Post
I tried this. My Glo HD rebooted, but there is no NickelMenu in the main menu or the reading menu. I also rebooted once.
Try installing it again. It sounds like something triggered the failsafe.
geek1011 is offline   Reply With Quote
Old 05-05-2020, 07:33 PM   #32
John F
Grand Sorcerer
John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.
 
Posts: 7,534
Karma: 67891011
Join Date: Feb 2009
Device: Kobo Glo HD
Quote:
Originally Posted by geek1011 View Post
Try installing it again. It sounds like something triggered the failsafe.
That did it. And invert screen now works in the main and reading menus.

Well done, and thank you.
John F is offline   Reply With Quote
Advert
Old 05-05-2020, 07:34 PM   #33
John F
Grand Sorcerer
John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.
 
Posts: 7,534
Karma: 67891011
Join Date: Feb 2009
Device: Kobo Glo HD
And thank you NiLuJe.
John F is offline   Reply With Quote
Old 05-06-2020, 07:03 AM   #34
gogu1904
Connoisseur
gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.
 
Posts: 80
Karma: 2112464
Join Date: May 2019
Device: Kobo Aura One LE
Excellent work, thank you all for this. Just a question, to make sure I get it right. The 20 seconds safe-guard time to self-remove is valid after the first boot, right? I had as well needed to reinstall it afer going to KOReader too fast, with a pure setup, i.e. without kfmon installed. Again: the fact that this survives a firmware upgrade is brilliant indeed. Thank you!
gogu1904 is offline   Reply With Quote
Old 05-06-2020, 09:26 AM   #35
JohJohYah
Junior Member
JohJohYah began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2020
Device: Kobo Touch
Screenshots?

Hi,

Is there any screenshots somewhere so I can see how this hacks works.

Thanks for your work anyway

Cheers,
J.
JohJohYah is offline   Reply With Quote
Advert
Old 05-06-2020, 12:09 PM   #36
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@gogu1904: After *every* boot (and it's now 10s in git builds ). The timer starts (roughly, +/- ~5s) a few seconds after the spinner appears.

(Well, since you mentioned KOReader, technically, after every *nickel* startup. i.e., same deal when you exit KOReader and it restarts Nickel).

@JohJohYah: See the Homescreen's hamburger menu? Imagine new items added at the end of it. Ta-da!
NiLuJe is offline   Reply With Quote
Old 05-06-2020, 12:09 PM   #37
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,791
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by JohJohYah View Post
Is there any screenshots somewhere so I can see how this hacks works
I'll add some later. It's pretty simple though, just imagine another menu item in the menu above "Settings" or below "Dictionary".
geek1011 is offline   Reply With Quote
Old 05-06-2020, 12:11 PM   #38
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,791
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by NiLuJe View Post
@gogu1904: After *every* boot (and it's now 10s in git builds ). The timer starts (roughly, +/- ~5s) when the spinner appears IIRC.
Yes. I'm considering removing it completely (i.e. making it 4s), as there's pretty much no need for that part, as it will already trigger if it segfaults during init and Nickel doesn't create the menus until later when you actually press the menu.
geek1011 is offline   Reply With Quote
Old 05-06-2020, 12:16 PM   #39
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@geek1011: Yep, makes sense.

IIRC, the fastest (cold) Nickel startup I can get is ~10s.
NiLuJe is offline   Reply With Quote
Old 05-06-2020, 01:16 PM   #40
compurandom
Guru
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 942
Karma: 418804
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
Neat!!!

Is there a way to toggle (turn off) wifi with this? I'd love to add that to the reading menu to save power.
compurandom is offline   Reply With Quote
Old 05-06-2020, 02:34 PM   #41
JohJohYah
Junior Member
JohJohYah began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2020
Device: Kobo Touch
Quote:
Originally Posted by geek1011 View Post
I'll add some later. It's pretty simple though, just imagine another menu item in the menu above "Settings" or below "Dictionary".
Ok thanks, I will just try, so.

J.
JohJohYah is offline   Reply With Quote
Old 05-07-2020, 06:29 AM   #42
Carmelocotonto
Connoisseur
Carmelocotonto began at the beginning.
 
Carmelocotonto's Avatar
 
Posts: 94
Karma: 12
Join Date: Nov 2018
Location: Salamanca
Device: kobo Clara HD, Onyxboox C67
Hi, friends.
I am excited about this tool. So I started testing and I indicate the ones that I have verified that they work, in case it helps someone.
This is my config: (koreader with the last nightly)

menu_item :main :Koreader :cmd_spawn :/bin/sh -c mnt/onboard/.adds/koreader/koreader.sh
menu_item :main :Coolreader :cmd_spawn :/bin/sh -c mnt/onboard/.adds/vlasovsoft/launcher.sh > /dev/null 2>&1
menu_item :main :Reboot :cmd_spawn :/bin/sync; /bin/busybox reboot
menu_item :main :Sincronizar DRIVE :cmd_spawn :/bin/sh -c mnt/onboard/.adds/kobocloud/sincronizarDRIVE.sh

Edit: The last menu_item is a 'sh' based on the content of kobocloud

Last edited by Carmelocotonto; 05-07-2020 at 06:40 AM.
Carmelocotonto is offline   Reply With Quote
Old 05-07-2020, 10:44 AM   #43
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,791
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by Carmelocotonto View Post
Hi, friends.
I am excited about this tool. So I started testing and I indicate the ones that I have verified that they work, in case it helps someone.
This is my config: (koreader with the last nightly)

menu_item :main :Koreader :cmd_spawn :/bin/sh -c mnt/onboard/.adds/koreader/koreader.sh
menu_item :main :Coolreader :cmd_spawn :/bin/sh -c mnt/onboard/.adds/vlasovsoft/launcher.sh > /dev/null 2>&1
menu_item :main :Reboot :cmd_spawn :/bin/sync; /bin/busybox reboot
menu_item :main :Sincronizar DRIVE :cmd_spawn :/bin/sh -c mnt/onboard/.adds/kobocloud/sincronizarDRIVE.sh

Edit: The last menu_item is a 'sh' based on the content of kobocloud
Looks good in general, but a few notes:
  • You don't need the "sh -c", as that's already prepended by default.
  • You don't need the "> /dev/null 2>&1", as that's also included by default.
  • I'll probably add a separate reboot action, as that still isn't totally clean (Nickel has a lot of stuff it does on reboot/shutdown).

Edit: You'll have proper shutdown/reboot actions in the release later today.

Last edited by geek1011; 05-07-2020 at 11:46 AM.
geek1011 is offline   Reply With Quote
Old 05-07-2020, 12:48 PM   #44
Carmelocotonto
Connoisseur
Carmelocotonto began at the beginning.
 
Carmelocotonto's Avatar
 
Posts: 94
Karma: 12
Join Date: Nov 2018
Location: Salamanca
Device: kobo Clara HD, Onyxboox C67
Quote:
Originally Posted by geek1011 View Post
Looks good in general, but a few notes:
  • You don't need the "sh -c", as that's already prepended by default.
  • You don't need the "> /dev/null 2>&1", as that's also included by default.
  • I'll probably add a separate reboot action, as that still isn't totally clean (Nickel has a lot of stuff it does on reboot/shutdown).

Edit: You'll have proper shutdown/reboot actions in the release later today.
hi geek1011, thanks for your suggestions. I'll change them now.

Another question. I read with koreader until 01:00 am more or less, and I have established into koreader that Clara HD will turn off at 3:00 am. It is turn off from koreader. Yesterday and today libnm.so has been renamed libnm.so.failsafe, so NickelMenu disappears every time when turn on Clara HD. I tell you for your knowledge

This is syslog (only first lines):

Spoiler:

May 7 14:09:18 syslogd started: BusyBox v1.22.0.kobo
May 7 14:09:19 nickel: ( 0.508 @ 0x32da2f0 / sql.warning) ERROR ---------- QSqlError(11, "Unable to fetch row", "database disk image is malformed")
May 7 14:09:19 nickel: ( 0.511 @ 0x32da2f0 / sql.warning) EXECUTED QUERY ---------- "UPDATE content SET WordCount = -1"
May 7 14:09:19 nickel: ( 0.512 @ 0x32da2f0 / sql.warning) BOUND VALUES ---------- QMap()
May 7 14:09:19 nickel: ( 0.512 @ 0x32da2f0 / sql.warning) int DbMigrations::migrateCloserToVersion(const Device&, QSqlDatabase&, int, int, const QVector<DbMigration*>&) newVersion == currentVersion! ==> Rolling back DB changes.
May 7 14:09:19 nickel: ( 0.593 @ 0x32da2f0) FT_New_Face failed with index 0 : 0
May 7 14:09:19 nickel: ( 1.044 @ 0x32da2f0) FT_New_Face failed with index 0 : 0
May 7 14:09:20 nickel: (NickelMenu) init: creating failsafe (src/init.c:24)
May 7 14:09:20 nickel: (NickelMenu) failsafe: allocating memory (src/failsafe.c:22)
May 7 14:09:20 nickel: (NickelMenu) failsafe: finding filenames (src/failsafe.c:26)
May 7 14:09:20 nickel: (NickelMenu) error: could not create failsafe: lib was loaded from the failsafe for some reason (assertion failed: !(d && !strcmp(d, ".failsafe"))) (src/failsafe.c:31), stopping (src/init.c:27)
May 7 14:09:20 nickel: (NickelMenu) init: done (src/init.c:81)
May 7 14:09:20 nickel: ( 1.834 @ 0x32da2f0) loadPlugin: loaded plugin for QFontEngine
May 7 14:09:20 nickel: ( 1.866 @ 0x32da2f0) loadPlugin: loaded plugin for QRawFont
May 7 14:09:20 nickel: ( 1.868 @ 0x32da2f0) Loading iType.. true
May 7 14:09:20 nickel: ( 1.990 @ 0x32da2f0) loadPlugin: loaded plugin for QRasterPaintEngine
May 7 14:09:20 nickel: ( 2.019 @ 0x32da2f0 / ui.warning) "4.20.14601 (30c2f5c348, 28/02/20)"
May 7 14:09:23 nickel: ( 4.475 @ 0x32da2f0 / performance.warning) static void QObjectUtil::repolishChildren(QWidget*, Qt::FindChildOptions, int) "statusbarContainer" repolish took 19
May 7 14:09:27 nickel: ( 8.393 @ 0x32da2f0 / ui.debug) using V2 blit API
May 7 14:09:30 nickel: ( 12.060 @ 0x32da2f0 / powermanager.warning) total time spent asleep: 0
May 7 14:09:30 nickel: ( 12.061 @ 0x32da2f0 / powermanager.warning) total time spent awake: 0
Carmelocotonto is offline   Reply With Quote
Old 05-07-2020, 01:20 PM   #45
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@Carmelocotonto: You tripped the failsafe.

Which tells me you launched KOReader too early after boot.

Reinstall, then check the syslog after starting KOReader.
NiLuJe is offline   Reply With Quote
Reply

Tags
kobo, launcher, ldpreload, nickel


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo eReaders and Heat PeterT Kobo Reader 13 08-02-2014 05:35 AM
kobo arc launcher not working lana loves books Kobo Tablets 8 03-21-2014 07:40 AM
Orginization on kobo ereaders crochetgeek2010 Kobo Reader 7 09-03-2013 03:13 PM
Kobo Announces eReaders Available for Purchase on Kobo.com in Canada and US markemark News 1 04-02-2013 02:46 PM
Ereaders with Integrated Dictionary poohbear_nc Which one should I buy? 4 04-08-2010 07:42 AM


All times are GMT -4. The time now is 06:12 AM.


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