NickelMenu icon indicating copy to clipboard operation
NickelMenu copied to clipboard

Intitial testing for enabling hidden notebook on kobo libra 2.

Open Pololot64 opened this issue 2 years ago • 6 comments

I did some basic research. This lets you open the notebook "app". The app doesn't function properly, however. You also cannot draw on pdfs.

Pololot64 avatar Aug 29 '23 17:08 Pololot64

Thanks! I will take a look at this when I start working on the patch updates for the latest release (I've been away recently).

pgaskin avatar Sep 02 '23 23:09 pgaskin

Is it best to write it only for the newer build versions or should there be a build check?

Pololot64 avatar Oct 07 '23 15:10 Pololot64

Is it best to write it only for the newer build versions or should there be a build check?

Try loading both (newest one first), and if one is null, then use the other. Something like:

else if (!strcmp(arg2, "notebooks")) sym_f = dlsym(RTLD_DEFAULT, "_ZN14MoreController9notebooksEv")
    ? "_ZN14MoreController9notebooksEv"        //libnickel 4.32.19501 * _ZN14MoreController9notebooksEv
    : "_ZN15LibraryNavMixin13showNotebooksEv"; //libnickel 4.28.17623 4.31.19086 _ZN15LibraryNavMixin13showNotebooksEv

pgaskin avatar Oct 07 '23 15:10 pgaskin

Just pasted what you said :) I don't speak cpp yet. Let me go test.

Pololot64 avatar Oct 07 '23 15:10 Pololot64

I have a question, I found the original string (that turned out to be wrong) by fuzzy searching in compiled binaries pulled out of the firmware. Is there a better way?

Pololot64 avatar Oct 07 '23 16:10 Pololot64

So, it seems that kobo is smarter than that. As before, I can open the notebooks app. The problem is that on the creation of any note, the device requests to download the handwriting recognition pack and fails in a loop of try again dialogs. I cannot think of a way around this.

Pololot64 avatar Oct 07 '23 16:10 Pololot64