New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Onyx Boox Nova Air Warmth & Backlight settings not working on 2404.03.1 #11723
Comments
Well, It seems there's no permission on the file anymore: java.io.FileNotFoundException: /sys/class/backlight/warm/brightness: open failed: ENOENT (No such file or directory). I made some changes some time ago that I asked the OP to improve/test. koreader/android-luajit-launcher#471 (comment) I built your device on top of that, who knows, you might have some luck. Also assuming this is OK: https://github.com/koreader/koreader/wiki/Android-tips-and-tricks#onyx-devices |
Thank you for the build @hugleo and your help in the past and now! I tried your build today, and the app crashed on startup. Log is below. Happy to help test any other releases you might have for me.
|
Is adb shell settings get global hidden_api_policy equal to 1? |
|
Then set as instructed in: https://github.com/koreader/koreader/wiki/Android-tips-and-tricks#onyx-devices |
Wow wow wow! That makes it work great! You're amazing! Secret hidden APIs? Very cool. |
Now that this works; is there a way you could submit a pull request for whatever change(s) are that you made? BTW what were those? Looks like #471 is still waiting to be incorporated into the codebase. |
Wait a minute, maybe we don't need any of that. Since you've set the hidden_api_policy, run the e-ink test again. Make sure that the warmth and brightness reflect the maximum supported on your device. EDIT: Never mind, should be merged in the next bump. |
I did try the latest stable version release and it didn't seem to let me control backlight or warmth settings. Yay your change got merged! I assume those were the changes that allowed the backlight/warmth settings to work on the Nova Air. Very much appreciate your help!! |
Still need to bump https://github.com/koreader/android-luajit-launcher in https://github.com/koreader/koreader since no one has done that yet. |
Bump the version of the launcher? Doesn't that get done on each stable release as part of the build process? |
No, and this will need a bump to the corresponding android docker image since this include a Gradle update to support Java 17. @Frenzie: do you want that luajit-launcher bump for the next release? |
Yeah sure. |
Sorry, did you say image bump. Then nope. |
So this change won't be making it into stable anytime soon? |
I imagine it'll make it into a nightly soon, but not this stable, no. |
Well I can keep using this version that @hugleo made so generously for me in the meantime. I'd imagine it gets on a stable by July? I have an upcoming John Muir trail hike I'm considering bringing my nova air along with as a luxury item |
I don't see why not. :-) |
Issue: Warmth and backlight settings do not seem to work
Steps to reproduce
Open backlight dialog, change brightness or warmth, neither has any effect.
crash.log
(if applicable)crash.log
is a file that is automatically created when KOReader crashes. It can normally be found in the KOReader directory:apologies for not filtering these better, I couldn't figure out how to get the kodev script running, ran ./kodev log -d android without getting it to work :(
Logcat log adjusting brightness:
and trying to set warmth:
The text was updated successfully, but these errors were encountered: