![]() |
#1 |
Zealot
![]() Posts: 132
Karma: 98
Join Date: Dec 2018
Device: Onyx Leaf 2 (White)
|
'Button rotation patch' makes KoReader crash
Does anyone use KoReader with the 2-disable-hw-button-rotation.lua patch?
Since updating to version my Leaf 2 to 3.5.3 (7f5c78ff3), I've been experiencing crashes whenever I apply the patch and then press the volume up or down button, or swipe to go back. I tried various versions of KoReader, but it might be a ROM issue, not a KoReader problem. I also tried factory resetting the device. I expect it to be the case for other Onyx or Android devices too. Interesting lines in crash.log Code:
07-25 17:13:57.213 V/dlopen ( 2818): sys_dlopen - loading library /data/user/0/org.koreader.launcher/files/common/ssl.so (in local namespace) 07-25 17:13:57.214 W/linker ( 2818): Warning: "/data/user/0/org.koreader.launcher/files/common/ssl.so" unused DT entry: DT_RPATH (type 0xf arg 0x129b) (ignoring) 07-25 17:13:57.354 I/KOReader( 2818): Loading plugins from directory: /storage/emulated/0/koreader/plugins/ 07-25 17:13:58.613 E/NativeThread( 2818): Failed to run script: frontend/device/input.lua:704: attempt to index field 'rotation_map' (a nil value) Code:
Unable to open libbeluga.so: dlopen failed: library "libbeluga.so" not found.' Github: Koreader page turn buttons do not switch with rotation |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,830
Karma: 12000001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
I know nothing about KOReader or Lua.
Does the KOReader.apk have any libs in it? Or does it presume your device is "Lua-ready"? The easiest would be to add the libbeluga.so (I presume some pun on "Lua") to the KOReader.apk. Of, course, if this is the only thing that uses Lua maybe it would be more useful to just patch the code that it doesn't need a foreign language to rotate the screen. Unless KOReader is all Lua??? |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,830
Karma: 12000001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
I still don't have a clue what libbeluga is.
It appears that it is an optional lib used/not used by libandroid_runtime.so So it's not like it's not finding a required lib. |
![]() |
![]() |
![]() |
Tags |
android, android 11, koreader, onyx |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
koreader crash | kevinkingk | Kindle Developer's Corner | 6 | 04-26-2023 01:13 PM |
Auto-rotation for KOReader on Android? | drawson1 | KOReader | 5 | 11-29-2021 04:23 PM |
Calibre makes my whole system freeze/crash | scarlettruin | Calibre | 2 | 10-30-2018 07:31 PM |
Beware : Calibre 2.66 makes Mac OS X crash | tahitibub | Calibre | 8 | 11-12-2016 11:11 AM |
Touch Home button causes crash | kirschschreib | Kobo Reader | 4 | 09-06-2011 06:14 AM |