![]() |
#1 |
Connoisseur
![]() Posts: 94
Karma: 10
Join Date: Jan 2017
Device: Kobo Glo HD
|
Demo mode as slideshow
Good day,
I have been using Demo Mode as a slideshow viewer. However, on firmwares higher than 4.2.8432, using this resets the settings. I am looking for the file that controls the demo mode. Haven't been able to spot it yet. If someone could point me in the right direction, that would help immensly. Otherwise, I'll keep searching. If I ever find something, I'll post my results here. As of now, I'm sticking with 4.2.8432. Regards EDIT: I have found some interesting strings in libnickel.so.1.0.0 DemoModeManager12exitDemoModeEvDemoModeManager12ex itDemoModeEv By digging around this string a bit, I might be able to come up with a patch to keep the settings and all after demo mode off. Last edited by Nemo1984; 03-09-2017 at 02:22 PM. |
![]() |
![]() |
![]() |
#2 |
Connoisseur
![]() Posts: 94
Karma: 10
Join Date: Jan 2017
Device: Kobo Glo HD
|
Well, I give up. All I find around this string is more strings.
Could I simply copy libnickel.so.1.0.0 over some other firmware? |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
You could stick to old firmware if that has all you need?
|
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() Posts: 94
Karma: 10
Join Date: Jan 2017
Device: Kobo Glo HD
|
Yeah, I guess I could, but I would be missing out on bugfixes.
|
![]() |
![]() |
![]() |
#5 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,190
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
libnickel is not really a library. Basically it's all in one big file. The largest file in the firmware actually. Maybe if it was split up into topics you could replace some parts but... no. Maybe there are some methods with LD_PRELOAD or whatever to redirect a specific function call to an old libnickel but... it's not as simple as replacing files in any case.
|
![]() |
![]() |
![]() |
#7 |
Connoisseur
![]() Posts: 94
Karma: 10
Join Date: Jan 2017
Device: Kobo Glo HD
|
Ok. Thank you! It's a bit unfortunate though.
|
![]() |
![]() |
![]() |
#8 |
Connoisseur
![]() Posts: 94
Karma: 10
Join Date: Jan 2017
Device: Kobo Glo HD
|
Know what, I'm going to backup the sd card and try it anyway. It'll probably crash the whole thing, but just for fun.
Like DNSB said, an interesting experiment. Last edited by Nemo1984; 03-10-2017 at 10:02 PM. |
![]() |
![]() |
![]() |
#9 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Apart from staying with an older FW, you could try modify advboot that it starts the demoloop.sh script without nickel. I have never used the demo mode in nickel, so may be there are some advantages like auto sleep or auto power off. I do not know. I might also mention that it is possible to have two versions of the reading software installed at the same device. I have currently running 4.3.8842, and 4.2.8110. You would of course use only the newer version, when you connect to the Kobo server. |
|
![]() |
![]() |
![]() |
#10 |
Connoisseur
![]() Posts: 94
Karma: 10
Join Date: Jan 2017
Device: Kobo Glo HD
|
I never use the kobo server, and the wifi update is blocked. I just wonder if the whole firmware is based on the libnickel.so.1.0.0, or if it calls for other functions from other files as well. I'm expecting not to have a lot of bugfixes since I keep the core, but who knows... Maybe a better battery life than just staying on 4.2.8432? Some fixes with lighting going off when set to 0 then 1% ?
That is if any of this works at all. Last edited by Nemo1984; 03-11-2017 at 02:58 PM. |
![]() |
![]() |
![]() |
#11 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
|
|
![]() |
![]() |
![]() |
#12 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 407
Karma: 314204
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
|
Quote:
Is it only the render for epubs or kepubs, or even both? Or are you referred to the whole environment (like multirom on android)? ![]() |
|
![]() |
![]() |
![]() |
#13 |
Connoisseur
![]() Posts: 94
Karma: 10
Join Date: Jan 2017
Device: Kobo Glo HD
|
|
![]() |
![]() |
![]() |
#14 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
The basic idea is to have a version of the Kobo folder of the alternative nickel version, but, of course with a different name, for instances Kob2 (/usr/local/Kob2). When you want to start the alternative nickel version, you would set the variables that contain the path /usr/local/Kobo, so that they contain the path /usr/local/Kob2 (e.g., LD_LIBRARY_PATH=/usr/local/Kob2); and call /usr/local/Kob2/nickel, instead of /usr/local/Kobo/nickel (I would do this also with pickel [if I would use it at all]). Before calling the alternative nickel, make a back up of your .kobo folder. Since the alternative version will use the same database and so on as the main version, this easily leads to difficulties. If you want to make the alternative version use its own database you would have to create a .kob2 with the content of .kobo, set NICKEL_HOME=/mnt/onboard/.kob2, and patch several of the libraries in /usr/local/Kob2/, since they contain hard coded path names. I would not recommend to try this if you do not have a serious reason (for instance insatiable curiosity) for trying it. If you want to do it nevertheless, be aware that the content of /usr/local/Kob2/ consumes some space of the system partition. If you have KSM 08 installed, KSM already uses some space there. And you need to have some remaining free space for the system to work. Last edited by tshering; 03-13-2017 at 06:38 AM. |
|
![]() |
![]() |
![]() |
#15 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
Mangled name: _ZN15DemoModeManager12exitDemoModeEv Original name: DemoModeManager::exitDemoMode() It won't do any good to change the name, but you can use it to locate the code for the named function, and it tells you what arguments the function takes (none in this case.) |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-300 How to disable demo mode? | Connochaetes | Sony Reader | 6 | 03-05-2017 06:00 PM |
Demo Mode? | MickeyC | Sony Reader | 1 | 01-11-2015 04:17 PM |
PRS-T1 Prs-t1 demo mode | trevgriff | Sony Reader | 34 | 10-27-2014 05:44 AM |
K4 Mac or PC Help with K4 non-touch demo mode | KristySEK | Amazon Kindle | 13 | 03-10-2013 07:08 PM |
Demo mode | tamlynn | Introduce Yourself | 5 | 01-02-2012 10:02 AM |