Skip to content

Conversation

hanakomisa
Copy link

@hanakomisa hanakomisa commented Aug 31, 2025

I lifted the light control additions from #520, only slightly dusted it up to make it work with the current codebase. All credits to @dboleslawski .

This comes with some caveats:

  1. As the original PR stated, this needs the "Modify System Settings" permission toggled on for KOReader for the sliders to work. Though considering there are root only lighting controls as well as ADB based ones, I feel like this is an okay tradeoff. (Should modify the wiki to mention this?)
  2. The Vision 6 has inverted warmth control, but there are no other known issues otherwise.
    3. I do not have a Shine 4 personally to test, but I'm operating under the assumption that it will work just fine seeing how architecturally similar the Epos3/Vision6/Shine4 all are. Testers would be crucial here.

Additionally, I've gone ahead and added the missing info for the Tolino Shine 4, using the information from this comment koreader/koreader#8482 (comment) as well as this issue: #532 .

Seeing how the Epos 3 and Vision 6 already has proper e-ink support using NGL4 EPD (with some caveats that I'll get into), I feel like it's fair to add support to the Shine 4 as well. I'm not entirely sure if I've completely added everything though, so would appreciate extra eyes as I'm completely new to this and this is my first time ever really contributing to anything :lul:

Now, I don't know why persist.mode.global gets set to 8000 when the official Tolino app is launched, but as I mentioned here in #532 (comment), using the AOSP settings app can reliably set it back to 0.

I also recently observed said prop being set to 1800010, I have no clue how that happened and it's still something I'm looking into. It seems to have enabled the "A2" mode of the screen as contrast was quite poor and has a lot of ghosting, but responded very quickly.


This change is Reviewable

Copy link
Member

@Frenzie Frenzie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing jumps out to me, so if it's tested. ;-)

Forgot to add the Shine 4 in the enum id.
@hanakomisa
Copy link
Author

Forgot to add the Shine 4's ID under enum, whoops

@hanakomisa
Copy link
Author

Resolved all the warnings from Codacy as well as golfing down the warmth change workaround as suggested, and tested on my personal Vision 6, everything is working as expected.

Aside from Vision 6 having inverted warmth (which is mentioned in the first message) I believe this is good to go?

And in theory, the Shine 4 support changes should work, but seeing as this is my first time actually writing something meaningful I may have missed something. Should I post about this on the MobileRead forum to gather more attention?

@hugleo
Copy link
Contributor

hugleo commented Sep 7, 2025

Since is tested only for Vision 6 then add only Vision 6 in the new driver should be good to go.

@hanakomisa hanakomisa changed the title Adding (hopefully) proper Shine 4 support, and better light controls for B300 Tolino devices based on PR #520 Adding better light controls for Tolino Vision 6 based on PR #520 Sep 7, 2025
@hanakomisa
Copy link
Author

Since is tested only for Vision 6 then add only Vision 6 in the new driver should be good to go.

I have removed all of the Shine 4's support and removed the Epos 3 mapping. I'll see if I can get some testers for those devices but in the meantime this should satisfy all?

@Frenzie Frenzie requested a review from hugleo September 7, 2025 15:26
@hugleo
Copy link
Contributor

hugleo commented Sep 7, 2025

@pazos Since you've commented on the based PR #520 see if you're okay with it aside from the "Modify System Settings" permission being toggled on as OP mentioned.

@hanakomisa
Copy link
Author

Hi, a small update to all.

Waldy has offered to test the support for Shine 4 and Epos 3 based on commit 1d8ba73, the results were as following:

Epos 3: Fully supported, everything works correctly including correct warmth slider orientation. (I personally expected this as PR #520, which was made for the Epos 3, of which the code was largely taken from, had it working.)

Shine 4: Light control works, has the same inverted warmth slider as the Vision 6. Waiting for the word about the E-ink controller support.

20250914-181155
20250914-181253

I'm going to be looking into a way to fix the warmth slider for Shine 4 and Vision 6. Hopefully with this work, these B300 Tolinos can finally get the full support that previous Tolinos enjoyed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants