Martín Fernández
97c6c1244f
add support for likebook mimas e-ink updates ( #4686 )
6 years ago
Frans de Jonge
76028513ea
[Android] Bump luajit-launcher for basic download & notification support ( #4647 )
...
https://github.com/koreader/android-luajit-launcher/pull/122
For https://github.com/koreader/koreader/pull/4639
6 years ago
Frans de Jonge
365a5ad876
[chore] Deprecate Android OTA code ( #4636 )
...
Fixes #4632 .
6 years ago
Frans de Jonge
388871a2c3
[fix, Android] Bump luajit-launcher to unbreak fullscreen toggle in api14-15 ( #4619 )
...
* add support for older energy ereaders https://github.com/koreader/android-luajit-launcher/pull/116
* README: slight tweaks https://github.com/koreader/android-luajit-launcher/pull/117
* [chore] Fix README codacy issues https://github.com/koreader/android-luajit-launcher/pull/118
* fix codacy issues, part one: unused imports and minor fixes https://github.com/koreader/android-luajit-launcher/pull/120
* unbreak fullscreen toggle in api14-15 https://github.com/koreader/android-luajit-launcher/pull/119
6 years ago
NiLuJe
b70eaa7322
Warn that the restart may fail...
...
(Hopefully, only when there are actual changes to the startup script,
which should be a rare occurence).
6 years ago
NiLuJe
a3f8e49a0d
Use a temporary copy of our tar binary during OTA updating, to avoid the
...
potential for a SIGBUS error...
Fix #4602
6 years ago
NiLuJe
3bc29aa618
Re-order tar CLI args to be closer to other platforms
6 years ago
Martín Fernández
48013dc70d
move dicts from external storage to internal partition,
...
do this after usbms seasons
6 years ago
Martín Fernández
301aa580cc
cervantes: add usb storage on devices w/updated 3rd party tools
6 years ago
Martín Fernández
62f25351b4
use fractional sleep as a fallback for devices where usleep isn't present
6 years ago
Frans de Jonge
35e5c24cb8
[Android] Bump luajit-launcher for os.execute quote problem half-fix ( #4598 )
...
There is at least one very obvious issue remaining (i.e., one quotes arguments to enclose spaces) but it's not caused by this PR.
Fixes #4586 .
6 years ago
Frans de Jonge
8026ffbddb
[Android, fix] Fullscreen, bigger aspect ratio ( #4589 )
...
Fixes #4584
Includes https://github.com/koreader/android-luajit-launcher/pull/113
6 years ago
Frans de Jonge
0b2f586d28
[Android] Bump luajit-launcher for Boyue Likebook Plus ( #4573 )
...
Includes https://github.com/koreader/android-luajit-launcher/pull/112
References https://github.com/koreader/koreader/issues/4551#issuecomment-461743510
Also log time elapsed installing
6 years ago
Frans de Jonge
154c1cd1c4
[Android] Miscellaneous fixes: refactor & Prime HD support ( #4559 )
...
* Refactor https://github.com/koreader/android-luajit-launcher/pull/104
* fix support for inkbook prime hd https://github.com/koreader/android-luajit-launcher/pull/111
References https://github.com/koreader/koreader/issues/4551#issuecomment-461526228
6 years ago
Frans de Jonge
5d21990b0e
[Android] Add E Ink support for Inkbook Prime HD & exit after crash ( #4552 )
...
* add eink support for Inkbook Prime HD (https://github.com/koreader/android-luajit-launcher/pull/110 ) @pazos (references #4551 )
* [fix] Exit after crashing to avoid unknown states (https://github.com/koreader/android-luajit-launcher/pull/109 ) @pazos
6 years ago
Frans de Jonge
81a2423982
[Android, feat] Set APK version to a sane automated value ( #4546 )
...
Includes "set android versionCode and android versionName at buildtime" (<https://github.com/koreader/android-luajit-launcher/pull/106 >)
* versionCode uses the number of Git commits, because Google doesn't like values larger than `2100000000`
* versionName uses our existing version string
References #2040 .
6 years ago
Frans de Jonge
2709fb2432
[chore] Bump third-party libraries ( #4545 )
...
* LuaJIT 20190110 in luajit-launcher & base
* HB v2.3.1
* glib 2.58.3
* FBInk v1.10.1
https://github.com/koreader/koreader-base/pull/801
5a17ca7521
6 years ago
Frans de Jonge
b0570460cb
[fix, Android] Bump luajit-launcher to keep all the binaries in ./bin ( #4535 )
...
I forgot to push this local change in #4532 .
* [fix] Keep all the binaries in ./bin https://github.com/koreader/android-luajit-launcher/pull/102
6 years ago
Frans de Jonge
b68cdc202d
[Android] Add release/debug APK switch ( #4532 )
...
References #2040 .
Includes https://github.com/koreader/android-luajit-launcher/pull/99
6 years ago
Frans de Jonge
4874751020
[Android] Bump base & luajit-launcher for basic E Ink refresh support ( #4529 )
...
Prerequisite for #4517 .
* Add basic support for RK30xx eink devices https://github.com/koreader/android-luajit-launcher/pull/96
* Add basic support for full eink updates https://github.com/koreader/koreader-base/pull/798
6 years ago
Frans de Jonge
e592468f38
[Android] Bump luajit-launcher ( #4500 )
...
* Disable wakelocks by default (https://github.com/koreader/android-luajit-launcher/pull/95 )
6 years ago
Frans de Jonge
6ec3143f2f
[fix, Android] Bump luajit-launcher to silence warning on Android 9 ( #4494 )
...
* https://github.com/koreader/android-luajit-launcher/pull/93
Fixes #4348 .
6 years ago
Frans de Jonge
166e3f9421
[Android, fix] Bump luajit-launcher ( #4491 )
...
For https://github.com/koreader/android-luajit-launcher/pull/92
Cf. #4478 , #4489 .
6 years ago
Frans de Jonge
81e160692d
[Android] Bump luajit-launcher for #4478 ( #4489 )
6 years ago
Frans de Jonge
9351910657
[fix] AppImage: also include libsndio ( #4487 )
...
Should fix #4485 .
6 years ago
Martín Fernández
2093bf6d94
use getIntent from luajit-launcher
6 years ago
Martín Fernández
2009ffa12f
android: keep screen awake toggle (using wakelocks) & bump luajit-launcher
6 years ago
Sergey Avseyev
973e61557b
[cervantes] automatically restore wifi connection ( #4463 )
6 years ago
Martín Fernández
6de5927dc2
[build] Add support for Debian packages ( #4434 )
...
* Add support for Debian packages
* SDL: add device probe
6 years ago
Martín Fernández
dbea29b139
do not print intent file path if file == nil
6 years ago
NiLuJe
92b8d70342
[fix] If zsync eats dirt during an OTA update, allow to fallback to a full download ( #4438 )
...
* On zsync delta failure, offer to retry OTA update with a full download
Fix #4429
* Bring the "this may take a while" popup back up before full DL
Don't rebuild the local tarball for a full dl, we're ignoring it anyway
;)
Co-Authored-By: NiLuJe <ninuje@gmail.com>
6 years ago
NiLuJe
f6743a45db
Proper Forma support ( #4414 )
...
* Enforce a known rotation on startup, to make sure we handle touch input coordinates properly.
* Proper FrontLight warmth support (thanks to @cairnsh & @pazos in #4291 )!
* Fix the PageTurn buttons mapping to match Nickel's defaults
* Properly remap PageTurn buttons depending on the current rotation.
* Actually enable the Mk.7 screen refresh codepath on *all* Mk.7 devices (I'd messed up the device check...).
* Full accelerometer handling (includes a touch of refactoring regarding orientation handling in general).
* Fix insidiously broken USBMS behavior in Nickel after we exit on FW >4.8.
Fix #4291
Fix #3002
6 years ago
NiLuJe
fe1fb84063
Hide "no framework" buttons on FW 5.x ( #4379 )
...
It's generally broken, and useless there.
The main intended use-case is the DX/DXg, because of its larger screen &
low RAM leading to more severe memory constraints.
6 years ago
Frans de Jonge
db404537bf
[fix, Android] Android 2.3 getScreenSize crash ( #4356 )
...
* [fix] Android 2.3 getSceenSize https://github.com/koreader/android-luajit-launcher/pull/87
Also includes:
* 7z: update to 18.05 https://github.com/koreader/android-luajit-launcher/pull/88
If nothing else, from 18.03:
> The speed for single-thread LZMA/LZMA2 decoding was increased by 30% in x64 version and by 3% in x86 version.
6 years ago
Martín Fernández
6a844136cf
[Cervantes]: wifi fix & misc improvements. ( #4341 )
...
* remove unused setting 'internal_storage_mount_point
use filemanagerutil.getDefaultDir() instead
https://github.com/koreader/koreader/blob/master/frontend/apps/filemanager/filemanagerutil.lua#L15
* more info about device frontlight/naturalLight capabilities
* make stock reader fonts available in KOReader
* remove restore-wifi-async leftovers
* wireless: fix wpa_supplicant configuration:
make it compatible w/ debian wheezy binaries
don't try to run enable-wifi.sh more than once
6 years ago
NiLuJe
32ccada2c4
Don't try to deal with KPVBooklet shenanigans when run from KUAL ( #4342 )
...
re #2848
6 years ago
NiLuJe
bd6c852cc8
Fix Kindle FW detection ( #4336 )
...
* Fix version comparisons...
6 years ago
NiLuJe
c14eae335a
Bump base & Android launcher ( #4335 )
...
* Bump luajit-launcher (luajit)
* Bump base (libjpeg-turbo 2.0.1)
6 years ago
NiLuJe
772cdefe92
Support the Kindle PW4 ( #4324 )
...
* Fix version checks on FW >= 5.10.x
* Bump base
6 years ago
Martín Fdez
b69882fa34
add safemode tool support
...
https://github.com/pazos/cervantes-safemode
ref: https://www.mobileread.com/forums/showpost.php?p=3760905&postcount=2 - kodeps.tar.gz
6 years ago
Martín Fdez
6c6bec35ec
wireless: make QBookApp happy across switches
6 years ago
Martín Fdez
6424176922
wireless: sleep unconditionally, do not launch wpa_supplicant if is already running and a bit of formatting
6 years ago
Martín Fdez
acfd21112f
enable fbink feedback during OTA updates
6 years ago
Martín Fernández
1e69fae7bc
[feat] Add support for BQ/Fnac devices ( #4294 )
...
Adds support for devices found in https://blog.bq.com/es/bq-ereaders-developers-program/ . Tested on BQ Cervantes 4 (last BQ device from 2017).
It adds a new touch input event handler (discussed in #4275 ) which should work on other single touch devices (ie: Kobo Touch, Mini, Glo, Aura HD) but wasn't tested.
Includes base bump with: [feat] Add BQ/Fnac device support (https://github.com/koreader/koreader-base/pull/745 )
6 years ago
Matias N
94d8f2d397
Sony PRSTUX support ( #4198 )
...
* Sony PRSTUX support
6 years ago
NiLuJe
ababbd7aad
Enhanced visual feedback around tar & zsync! ( #4194 )
...
* Move Kindle scripts to FBInk
* Proper progress bars around tar invocations
* Spinner during zsync processing
6 years ago
NiLuJe
0924b57877
Tweak/unbreak my CPUFreq experiment ( #4119 )
...
* Only switch to ondemand when we actually can, and when it's better than the current governor...
This potentially leaves Mk.5 in the lurch, but there's no perfect solution there :/.
* Switch to UI for the unmark event of navigation hints markers
Might help on non-REAGL devices, and doesn't hurt there (re #3983 ).
* Switch SQLite DBs to WAL
Sounds nice in theory, behaves fine in practice.
6 years ago
NiLuJe
b509e54a2a
CPUFreq shenanigans on Kobo ( #4114 )
...
* Switch to ondemand CPUFreq governor on Kobo
My H2O boots with the userspace (!!) governor...
Note that the hardware appears to blissfully ignore any of this, because
the stats still show the CPU changing state on its own...
6 years ago
NiLuJe
60a6d5f542
Tweak KUAL extension ( #4109 )
...
The update option was broken
6 years ago
NiLuJe
6835c18ee6
Re-exec startup script on Kindle/Kobo when an OTA update is processed on startup ( #4062 )
...
So that we may properly pickup potential updates to the startup script
itself.
6 years ago