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 03-13-2017, 10:15 AM   #16
Nemo1984
Connoisseur
Nemo1984 began at the beginning.
 
Posts: 94
Karma: 10
Join Date: Jan 2017
Device: Kobo Glo HD
Quote:
Originally Posted by GeoffR View Post
That string is (part of) a mangled C++ function name. A disassembler can unmangle the name.

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.)
What kind of disassembler do I need to do that?
Nemo1984 is offline   Reply With Quote
Old 03-13-2017, 11:22 AM   #17
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
The location of nickel and some of the stuff it depends on is /usr/local/Kobo.
...
Ok! Many thanks for your answer and sorry for the
boriar is offline   Reply With Quote
Old 03-13-2017, 02:20 PM   #18
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 Nemo1984 View Post
What kind of disassembler do I need to do that?
You would use c++filt. There are also online demanglers like http://demangler.com.
tshering is offline   Reply With Quote
Old 03-13-2017, 05:11 PM   #19
Nemo1984
Connoisseur
Nemo1984 began at the beginning.
 
Posts: 94
Karma: 10
Join Date: Jan 2017
Device: Kobo Glo HD
Thank you!
Nemo1984 is offline   Reply With Quote
Old 03-20-2018, 08:42 PM   #20
ItalianUruguayan
Connoisseur
ItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplane
 
ItalianUruguayan's Avatar
 
Posts: 52
Karma: 55058
Join Date: Mar 2018
Location: Spain
Device: Kobo Glo HD
Quote:
Originally Posted by tshering View Post
Certainly, an interesting experiment. However, by the use of an older libnickel.so.1.0.0 you might lose several of the improvements of the newer version. Therefore you could as well stay with the older FW and prevent it from updating. On a side note, I forgot whether the FW version is hardcoded into nickel or libnickel.so.1.0.0. But if it is in libnickel.so.1.0.0, you might be forced to upgrade to the current FW when you sync with the Kobo server, just because you have an older libnickel.so.1.0.0.
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.
tshering, I'm really interested in this. I love the chess app, so I'm sticking to 3.15.0 on my Glo HD. I was wondering if it would be possible to use a newer libnickel.so on this? I tried replacing the libnickel.so.1.0.0 file with the one on the 3.19.5761 firmware, but as soon as I rebooted the device was bricked and I had to do a factory reset. Would this work if I replace the entire /usr/local/Kobo folder?

Last edited by ItalianUruguayan; 03-20-2018 at 08:46 PM.
ItalianUruguayan is offline   Reply With Quote
Old 03-21-2018, 05:39 AM   #21
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 ItalianUruguayan View Post
Would this work if I replace the entire /usr/local/Kobo folder?
If you replace this folder, you can as well update to 3.19.5761. Or which advantage do you expect from replacing only the /usr/local/Kobo?

Last edited by tshering; 03-21-2018 at 05:44 AM.
tshering is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 08:54 PM.


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