Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 01-05-2024, 07:33 PM   #481
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,271
Karma: 2200049
Join Date: Apr 2014
Device: BQ Cervantes 4
Hi, if you're the author of https://github.com/koreader/koreader/issues/11319 please move questions there

Also, please do not trust random user patches unless they're github tickets with the tag "user patch available".

The best way to write your own patches is to read the source and understand specific parts of its behaviour to be able to change what you want to change.

In this case there're already a few places where we set a viewport in android devices: https://github.com/koreader/koreader...oid/device.lua

Use them as an inspiration.
pazos is offline   Reply With Quote
Old 01-08-2024, 02:27 PM   #482
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,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
And to not use the f-droid build, as patches are disabled there .
NiLuJe is offline   Reply With Quote
Old 01-25-2024, 03:32 AM   #483
ext23
Member
ext23 began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Aug 2023
Device: Hisense A9
Hello, I just updated my Hisense A9 to the latest version from F-Droid and it's crashing on boot:

Code:
--------- beginning of main
01-25 17:30:16.604 I/MainActivity(18221): loading libluajit
01-25 17:30:16.621 E/launcher.fdroi(18221): Invalid ID 0x00000000.
01-25 17:30:16.638 V/NativeGlue(18221): User FIFO already exists at `/data/user/0/org.koreader.launcher.fdroid/files/alooper.fifo`
01-25 17:30:16.639 V/NativeThread(18221): waiting for activity
01-25 17:30:16.640 I/LockedReading(18221): register receiver action CHANGE_TO_LOCKED_READING for:org.koreader.launcher.MainActivity@ac4b1f1
01-25 17:30:16.647 I/Activity(18221): wechatStrId=2130903048 appsStrId=2130903041  appsSinaNewStrId=2130903047 newsPluginNewMode=0
01-25 17:30:16.648 I/Assets  (18221): loading lib7z
01-25 17:30:16.654 I/Lights  (18221): Using Generic driver
01-25 17:30:16.663 V/Surface (18221): Using Native Content implementation
01-25 17:30:16.663 V/MainActivity(18221): native orientation: portrait
01-25 17:30:16.663 V/EventReceiver(18221): Filtering 3 events: 
01-25 17:30:16.663 V/EventReceiver(18221): android.intent.action.ACTION_POWER_CONNECTED
01-25 17:30:16.663 V/EventReceiver(18221): android.intent.action.ACTION_POWER_DISCONNECTED
01-25 17:30:16.663 V/EventReceiver(18221): android.intent.action.DOWNLOAD_COMPLETE
01-25 17:30:16.677 V/NativeGlue(18221): Start: 0xb400007ba970a990
01-25 17:30:16.691 D/hmct_activity(18221): onResume pkgName:org.koreader.launcher.fdroid
01-25 17:30:16.691 V/NativeGlue(18221): Resume: 0xb400007ba970a990
01-25 17:30:16.694 V/Timeout (18221): onResume: updating system timeout: 20
01-25 17:30:16.694 V/Timeout (18221): onResume
01-25 17:30:16.705 V/NativeGlue(18221): InputQueueCreated: 0xb400007ba970a990 -- 0xb400007bb970e790
01-25 17:30:16.714 D/Typeface(18221): updateDefaultTypeface mSysFontPath: /system/fonts/Roboto-Regular.ttf mSysFontPathDefault: /system/fonts/Roboto-Regular.ttf
01-25 17:30:16.714 D/Typeface(18221): mSysFontName: hifont_medium
--------- beginning of system
01-25 17:30:16.715 D/ActivityThread(18221): sdxz decorview lw:-1 lh:-1
01-25 17:30:16.716 D/Surface (18221): onAttachedToWindow()
01-25 17:30:16.729 V/NativeGlue(18221): NativeWindowCreated: 0xb400007ba970a990 -- 0xb400007c696e22b0
01-25 17:30:16.729 V/NativeThread(18221): Activity window ready.
01-25 17:30:16.736 V/Surface (18221): surface changed {
01-25 17:30:16.736 V/Surface (18221):   width:  824
01-25 17:30:16.736 V/Surface (18221):   height: 1648
01-25 17:30:16.736 V/Surface (18221):  format: RGB_565
01-25 17:30:16.736 V/Surface (18221): }
01-25 17:30:16.736 V/NativeGlue(18221): NativeWindowResized: 0xb400007ba970a990 -- 0xb400007c696e22b0
01-25 17:30:16.745 V/NativeGlue(18221): ContentRectChanged: l=0,t=0,r=824,b=1546
01-25 17:30:16.746 V/NativeGlue(18221): NativeWindowRedrawNeeded: 0xb400007ba970a990 -- 0xb400007c696e22b0
01-25 17:30:16.770 I/ActivityThread(18221): refreshActivityViews activity:ActivityRecord{94777df token=android.os.BinderProxy@94d7b67 {org.koreader.launcher.fdroid/org.koreader.launcher.MainActivity}}
01-25 17:30:16.770 I/Activity(18221): refreshActivityViews
01-25 17:30:16.771 I/Activity(18221): refreshActivityViews decorView postInvalidate
01-25 17:30:16.784 V/NativeGlue(18221): WindowFocusChanged: 0xb400007ba970a990 -- 1
01-25 17:30:16.785 V/NativeThread(18221): Activity gained focus.
01-25 17:30:16.791 V/NativeThread(18221): Launching LuaJIT assets
01-25 17:30:16.809 I/Assets  (18221): Skip installation for revision v2024.01
01-25 17:30:16.811 I/dlopen  (18221): dl.dlopen - libs/libkoreader-lfs.so => /data/user/0/org.koreader.launcher.fdroid/files/libs/libkoreader-lfs.so
01-25 17:30:16.812 V/dlopen  (18221):     dl.dlopen - needed => libluajit.so (1 of 2) <= /data/user/0/org.koreader.launcher.fdroid/files/libs/libkoreader-lfs.so
01-25 17:30:16.812 V/dlopen  (18221):     dl.dlopen - libluajit.so => /data/app/~~nS_sXM-pYhvFzRk29GRDGg==/org.koreader.launcher.fdroid-dnhO2DDkM1iiN7fvoMdO-w==/lib/arm64/libluajit.so
01-25 17:30:16.813 V/dlopen  (18221):         dl.dlopen - needed => libm.so (1 of 3) <= /data/app/~~nS_sXM-pYhvFzRk29GRDGg==/org.koreader.launcher.fdroid-dnhO2DDkM1iiN7fvoMdO-w==/lib/arm64/libluajit.so
01-25 17:30:16.814 V/dlopen  (18221):         dl.dlopen - libm.so => /system/lib64/libm.so
01-25 17:30:16.814 V/dlopen  (18221):         dl.dlopen - skipping /system/lib64/libm.so (system lib)
01-25 17:30:16.814 V/dlopen  (18221):         dl.dlopen - needed => libdl.so (2 of 3) <= /data/app/~~nS_sXM-pYhvFzRk29GRDGg==/org.koreader.launcher.fdroid-dnhO2DDkM1iiN7fvoMdO-w==/lib/arm64/libluajit.so
01-25 17:30:16.815 V/dlopen  (18221):         dl.dlopen - libdl.so => /system/lib64/libdl.so
01-25 17:30:16.815 V/dlopen  (18221):         dl.dlopen - skipping /system/lib64/libdl.so (system lib)
01-25 17:30:16.815 V/dlopen  (18221):         dl.dlopen - needed => libc.so (3 of 3) <= /data/app/~~nS_sXM-pYhvFzRk29GRDGg==/org.koreader.launcher.fdroid-dnhO2DDkM1iiN7fvoMdO-w==/lib/arm64/libluajit.so
01-25 17:30:16.816 V/dlopen  (18221):         dl.dlopen - libc.so => /system/lib64/libc.so
01-25 17:30:16.816 V/dlopen  (18221):         dl.dlopen - skipping /system/lib64/libc.so (system lib)
01-25 17:30:16.816 V/dlopen  (18221):     sys_dlopen - loading library /data/app/~~nS_sXM-pYhvFzRk29GRDGg==/org.koreader.launcher.fdroid-dnhO2DDkM1iiN7fvoMdO-w==/lib/arm64/libluajit.so (in local namespace)
01-25 17:30:16.816 V/dlopen  (18221):     dl.dlopen - needed => libc.so (2 of 2) <= /data/user/0/org.koreader.launcher.fdroid/files/libs/libkoreader-lfs.so
01-25 17:30:16.818 V/dlopen  (18221):     dl.dlopen - libc.so => /system/lib64/libc.so
01-25 17:30:16.818 V/dlopen  (18221):     dl.dlopen - skipping /system/lib64/libc.so (system lib)
01-25 17:30:16.818 V/dlopen  (18221): sys_dlopen - loading library /data/user/0/org.koreader.launcher.fdroid/files/libs/libkoreader-lfs.so (in local namespace)
01-25 17:30:16.818 E/dlopen  (18221): error dlopen'ing /data/user/0/org.koreader.launcher.fdroid/files/libs/libkoreader-lfs.so: dlopen failed: "/data/data/org.koreader.launcher.fdroid/files/libs/libkoreader-lfs.so" is 32-bit instead of 64-bit
01-25 17:30:16.819 E/KOReader(18221): error: [string "dl.lua"]:73: error dlopen'ing /data/user/0/org.koreader.launcher.fdroid/files/libs/libkoreader-lfs.so: dlopen failed: "/data/data/org.koreader.launcher.fdroid/files/libs/libkoreader-lfs.so" is 32-bit instead of 64-bit
01-25 17:30:16.819 W/dlopen  (18221): could not find library /data/user/0/org.koreader.launcher.fdroid/files/libs/libkoreader-lfs.so
01-25 17:30:16.820 E/KOReader(18221): error: [string "dl.lua"]:167: could not find library /data/user/0/org.koreader.launcher.fdroid/files/libs/libkoreader-lfs.so
01-25 17:30:16.826 E/NativeThread(18221): Failed to run script: error loading module 'libs/libkoreader-lfs' from file 'libs/libkoreader-lfs.so':
01-25 17:30:16.826 E/NativeThread(18221): 	dlopen failed: "/data/data/org.koreader.launcher.fdroid/files/libs/libkoreader-lfs.so" is 32-bit instead of 64-bit
01-25 17:30:16.836 V/NativeGlue(18221): ContentRectChanged: l=0,t=0,r=824,b=1648
01-25 17:30:16.869 V/NativeGlue(18221): NativeWindowRedrawNeeded: 0xb400007ba970a990 -- 0xb400007c696e22b0
The previous version was working perfectly. Anything I can do? I'm wary of uninstalling as I want to retain my settings.
ext23 is offline   Reply With Quote
Old 01-25-2024, 04:13 PM   #484
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,271
Karma: 2200049
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by ext23 View Post
The previous version was working perfectly. Anything I can do? I'm wary of uninstalling as I want to retain my settings.
See https://github.com/koreader/koreader/issues/11399
pazos is offline   Reply With Quote
Old 01-25-2024, 10:18 PM   #485
ext23
Member
ext23 began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Aug 2023
Device: Hisense A9
Thanks! Backed up and reinstalled, works now.
ext23 is offline   Reply With Quote
Old 03-21-2024, 05:07 PM   #486
raffe
Junior Member
raffe began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2023
Device: ReadEra on Android
I'm suddenly getting "Something went wrong..." when trying to sync progress. WiFi is on. Is server down or do I have problems with my installation?
raffe is offline   Reply With Quote
Old 03-21-2024, 06:00 PM   #487
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,271
Karma: 2200049
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by raffe View Post
I'm suddenly getting "Something went wrong..." when trying to sync progress. WiFi is on. Is server down or do I have problems with my installation?
See https://www.mobileread.com/forums/sh...d.php?t=359383 for cause and workarounds
pazos is offline   Reply With Quote
Old 04-12-2024, 04:28 AM   #488
eMole
Zealot
eMole ought to be getting tired of karma fortunes by now.eMole ought to be getting tired of karma fortunes by now.eMole ought to be getting tired of karma fortunes by now.eMole ought to be getting tired of karma fortunes by now.eMole ought to be getting tired of karma fortunes by now.eMole ought to be getting tired of karma fortunes by now.eMole ought to be getting tired of karma fortunes by now.eMole ought to be getting tired of karma fortunes by now.eMole ought to be getting tired of karma fortunes by now.eMole ought to be getting tired of karma fortunes by now.eMole ought to be getting tired of karma fortunes by now.
 
Posts: 130
Karma: 546310
Join Date: Jun 2011
Device: PocketBook Touch HD, PocketBook Era
Stupid question: how do I send KOReader to the background? Must I exit everytime I want to use my phone for other tasks?
eMole is offline   Reply With Quote
Old 04-14-2024, 04:31 PM   #489
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,271
Karma: 2200049
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by eMole View Post
Stupid question: how do I send KOReader to the background? Must I exit everytime I want to use my phone for other tasks?
The app works in fullscreen but you should be able to swipe from top/bottom edges to display status bar and virtual buttons.

The swipe from top clashes a bit with KOReader default settings of invoking top menu. You can setup that to "tap only" in case you use the swipe gesture a lot to see your device notifications.
pazos is offline   Reply With Quote
Old 04-16-2024, 07:21 AM   #490
eMole
Zealot
eMole ought to be getting tired of karma fortunes by now.eMole ought to be getting tired of karma fortunes by now.eMole ought to be getting tired of karma fortunes by now.eMole ought to be getting tired of karma fortunes by now.eMole ought to be getting tired of karma fortunes by now.eMole ought to be getting tired of karma fortunes by now.eMole ought to be getting tired of karma fortunes by now.eMole ought to be getting tired of karma fortunes by now.eMole ought to be getting tired of karma fortunes by now.eMole ought to be getting tired of karma fortunes by now.eMole ought to be getting tired of karma fortunes by now.
 
Posts: 130
Karma: 546310
Join Date: Jun 2011
Device: PocketBook Touch HD, PocketBook Era
Quote:
Originally Posted by pazos View Post
The app works in fullscreen but you should be able to swipe from top/bottom edges to display status bar and virtual buttons.

The swipe from top clashes a bit with KOReader default settings of invoking top menu. You can setup that to "tap only" in case you use the swipe gesture a lot to see your device notifications.
Thank you.
eMole is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Koreader running on Kobos (all of them, hopefully!) giorgio130 KOReader 3517 03-24-2024 05:43 PM
Koreader doesn't work on 5.4.3 vr4y Kindle Developer's Corner 13 04-15-2014 03:40 AM
coolreader/koreader without fmon peyton Kobo Developer's Corner 17 03-30-2014 04:06 PM
framebuffer settings for koreader shadoooo Kobo Developer's Corner 15 01-01-2014 11:20 AM
Koreader v. Coolreader 93terp Kobo Developer's Corner 8 11-05-2013 04:37 AM


All times are GMT -4. The time now is 11:08 AM.


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