Skip to content

Tolino Shine 4 EPD support #532

@pazos

Description

@pazos

continuing from the post

One more thing need to mention: There is a property 'persist.mode.global' which the default value is 8000 after reboot. The NGL4 driver dose not work with value 8000. If i set the value to 0 (after i root the device and use adb shell setprop), the NGL4 driver will work.

When I for this driver it looked like any internal code indeed tried to reset it to zero everywhere, probably disabling this global mode of refresh to be active. On my Nook Glowlight 4e it is zero on start, probably depends on the manufacturer. Random thoughts:

  • The problem with these system properties that they require root access to be changed so not so great to be used in KOReader
  • Just refreshed my understanding, according to the docs, persist properties survive reboot, to theoretically this can be some last software that you used before the reboot that forgot to reset it.
  • For ones with root access there's always several ways to force it to zero on start (independently of KOReader), but this solution is not ok for mass use.
  • I recall that I seemed to notice the initial value for this property in some system start up script, but I'm not sure. Just looks at some variant of Android image from my device, could not find it in default.prop and system/build.prop so it can be false memories.
  • can not currently decode this 8000 value, at least for the sources I managed to quickly find.

Originally posted by @Codereamp in koreader/koreader#11110 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions