05-29-2024, 01:25 AM | #496 | |
Member
Posts: 17
Karma: 10
Join Date: Aug 2023
Device: Hisense A9
|
I just installed LinageOS on my Hisense A9!
You guys graciously helped me get the play/pause button functionality working on the A9 here: https://github.com/koreader/koreader-base/pull/1650 Quote:
I'd still like the button to function as single press for play/pause, and double press to skip track. Is this possible!?! EDIT: I was able to do it with this app: https://play.google.com/store/apps/d...er&hl=en&gl=US But that's a paid app, so I'm wondering if it could be hard-wired into Koreader somehow? Last edited by ext23; 05-29-2024 at 02:01 AM. |
|
05-30-2024, 03:54 PM | #497 |
Enthusiast
Posts: 32
Karma: 10
Join Date: Aug 2020
Device: Tablet
|
I tried KOReader on my Tablet and Phone both with LineageOS. I've never used something else than scrolling mode on other ebook readers. But that doesn't work very well with KOReader. When i start scrolling nothing happens first the scrolling is starting. Is this a problem with KOReader or my devices?
|
Advert | |
|
05-31-2024, 07:05 PM | #498 | |
cosiñeiro
Posts: 1,331
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Quote:
The code that forwards media events to the system lies in https://github.com/koreader/koreader....lua#L173-L208, so it is never received on the frontend. We can only remap key events that we receive. That could be the case with your buttons on LineageOS, but you'll need to write your custom stuff somewhere to fake a media key event on response to those codes (if that's even possible, I guess so). So, yep, better handled elsewhere |
|
06-05-2024, 07:39 AM | #499 |
Member
Posts: 14
Karma: 12334
Join Date: Aug 2023
Device: Pocketbook Inkpad EO & Pocketbook Inkpad lite 970
|
I am waiting to receive a "Pocketbook Eo" e-reader, purchased on Amazon, which runs on Android with access to the Playstore. The purpose of my purchase is to be able to read, on a big screen, even in direct sunlight, language learning manuals in searchable PDF format, without redistribution, using Stardict dictionaries. For this it seems I have two solutions, either combine GoldenDict and Moon+Reader or use the Android version of Koreader. I see on Koreader's Github release site that there are 2 files to download: koreader-android-arm-v2024.04.apk 31.1 MB and koreader-android-arm64-v2024.04.apk 32.5 MB Which of these two packages should I use for installation directly from and to the “Pocketbook Eo” reader? Does the Android version of Koreader, on this “Pocketbook Eo” present more interest or less risk of bugs, compared to the GoldenDict / Moon+Reader association, for this use?
|
06-05-2024, 01:34 PM | #500 | |
cosiñeiro
Posts: 1,331
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Quote:
Also consider Librera: it was purposelly built for android, it is well mantained, it is free and it doesn't suck, which is a lot for an ereader application. |
|
Advert | |
|
06-07-2024, 07:10 PM | #501 | |
Member
Posts: 14
Karma: 12334
Join Date: Aug 2023
Device: Pocketbook Inkpad EO & Pocketbook Inkpad lite 970
|
Quote:
The only fault of the PocketBook Inkpad Eo is that its interface does not currently support the French language. So I had to choose a language other than French, in this case, Italian for convenience. For the Librera interface, I was able to use the French language, but not for Moon+Reader which required the system language. I installed almost 60 dictionaries in mainly Stardict format, all of which GoldenDict supported. So I said goodbye to my previous Inkpad Lite reader with 500 Megabytes of RAM (for 4 Gigabytes for the EO), for which I was previously obliged to tinker the searchable PDF book files, with K2pdfopt or Abbyy FineReader, with often failures or slowness and also many bugs, even with Koreader. Being a computer ignoramus, I don't think I'm going to venture into installing Koreader on this new Android Pocketbook Eo reader, the couple Free Mdict (improved version of GoldenDict) and Moon+Reader meeting my needs: to read large books in searchable PDF format, including language manuals, with finger search of dictionaries. Note that the default reading application of the Pocketbook Inkpad Eo reads large PDF files from Archive.org extremely slowly, which makes the dictionaries offered, such as Google Translate, Abbyy Lingvo, Fora Dictionary or Reverso context unusable in practice . |
|
06-11-2024, 11:20 AM | #502 |
cosiñeiro
Posts: 1,331
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
|
It looks like you're fine without KOReader. Congrats, that's nice to have.
Anyhow, if sometime on the future you want to test it on your device, the easiest way to install it on android is using https://f-droid.org/ |
06-20-2024, 07:20 AM | #503 | |
Member
Posts: 14
Karma: 12334
Join Date: Aug 2023
Device: Pocketbook Inkpad EO & Pocketbook Inkpad lite 970
|
Quote:
|
|
08-01-2024, 01:16 AM | #504 |
Enthusiast
Posts: 30
Karma: 10
Join Date: Aug 2019
Device: Kobo Aura H2O (N250) / Kobo Aura (N514) / Sony PRS 600
|
Building from sources
Hi,
I am trying to build KOReader for Android from sources and find myself repeatedly failing. I am relatively new to this whole world, so its probably something stupid I am doing, but after many many hours trying to figure this out I finally gave up and decided to ask for help. I need an arm64 version with NDKABI 21. I edited the Makefile.defs file in /base - changed arm to arm64 and that was enough to get the build process going with the aarch64 clang. But the apk that is generated, after signing, always failed to install on my Pixel 7a running Lineage 21. The error reported was that no compatible ABI is found. For some reason, though compiled with aarch64 clang it was reverting to armeabi-v7a in the apk. It took me a good long time to discover that after koreader and crengine were built, luajit-launcher was being built for the wrong architecture. Eventually I "fixed" this by editing /platform/android/luajit-launcher/Makefile and changing the default to arm64 - Code:
# Default is build for arm ANDROID_FULL_ARCH?=arm64-v8a ARCH?=Arm64 adb logcat analysis shows the following: Code:
19303 19532 E NativeThread: Failed to run script: /data/user/0/org.koreader.launcher/files/llapp_main.lua:4: module 'libs/libkoreader-lfs' not found: 19303 19532 E NativeThread: no field package.preload['libs/libkoreader-lfs'] 19303 19532 E NativeThread: no file 'libs/libkoreader-lfs.lua' (checked with asset loader) 19303 19532 E NativeThread: no file 'libs/libkoreader-lfs.lua' 19303 19532 E NativeThread: no file '/data/user/0/org.koreader.launcher/files/libs/libkoreader-lfs.lua' 19303 19532 E NativeThread: no file 'libs/libkoreader-lfs.so' 19303 19532 E NativeThread: no file '/data/user/0/org.koreader.launcher/files/libs/libkoreader-lfs.so' Thanks, Karthik |
08-02-2024, 06:42 AM | #505 | |
cosiñeiro
Posts: 1,331
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Quote:
You don't need to tweak Makefiles or anything like that. Once you follow those steps you can get and armv8 APK with Code:
ANDROID_ARCH=arm64 ./kodev release android |
|
08-02-2024, 01:59 PM | #506 |
Wizard
Posts: 1,343
Karma: 4752930
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
—debug releases apks are signed fwiw
|
08-02-2024, 10:45 PM | #507 | |
Enthusiast
Posts: 30
Karma: 10
Join Date: Aug 2019
Device: Kobo Aura H2O (N250) / Kobo Aura (N514) / Sony PRS 600
|
Quote:
If useful, I can start the whole process again and write down every step with relevant output logs. But, it would essentially be the instructions in the two links followed by "oops, thats not armv8" The makefile changes I made finally did produce armv8, and yes I signed the apk to get it to install. But once installed, the application constantly crashes. Some adb logcat output is included in my original message. @mergen3107 --- good to know that debug releases are signed. Will make it easier with repeated builds as I try to get this sorted out! Thanks! |
|
08-02-2024, 10:50 PM | #508 | |
Enthusiast
Posts: 30
Karma: 10
Join Date: Aug 2019
Device: Kobo Aura H2O (N250) / Kobo Aura (N514) / Sony PRS 600
|
Quote:
Why does every post go for moderator approval? Is this standard behaviour, or am I on some watchlist?! Anyway, I don't know how to edit a post that is in some waiting room somewhere, so a follow-up post as soon as I realised there was more info in the reply that I missed. |
|
08-02-2024, 11:07 PM | #509 |
Enthusiast
Posts: 30
Karma: 10
Join Date: Aug 2019
Device: Kobo Aura H2O (N250) / Kobo Aura (N514) / Sony PRS 600
|
Good news, @pazos' advice is perfect - now builds arm64 without having to mess around with makefiles.
Bad news, still crashes on startup. Dev device is a Pixel 7a running LineageOS 21, also built from sources. To be sure that the OS is not the problem, I just tried installing on a stock Samsung S24 Ultra. Also crashes on startup here. |
08-03-2024, 02:58 PM | #510 |
Wizard
Posts: 1,675
Karma: 730583
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
Just to be sure, our build does work?
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Koreader running on Kobos (all of them, hopefully!) | giorgio130 | KOReader | 3525 | 10-30-2024 06:25 AM |
Koreader doesn't work on 5.4.3 | vr4y | Kindle Developer's Corner | 13 | 04-15-2014 04:40 AM |
coolreader/koreader without fmon | peyton | Kobo Developer's Corner | 17 | 03-30-2014 05:06 PM |
framebuffer settings for koreader | shadoooo | Kobo Developer's Corner | 15 | 01-01-2014 12:20 PM |
Koreader v. Coolreader | 93terp | Kobo Developer's Corner | 8 | 11-05-2013 05:37 AM |