-
Notifications
You must be signed in to change notification settings - Fork 86
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
Brightness and Warmth support for Xiaomi Duokan Pro II #477
Comments
ADB is not a reliable method to figure out what unprivilegied apps can do. You'll need to RE the binaries to find which methods are called by the stock app. If you look in open/closed tickets and previous implemented drivers you'll find a lot of info on how it can be done. See #344, for instance |
I continued the investigation from here and from #344 using a device: Manufacturer: After decompiling
I have implemented "full-only" driver in #478 Decompiling |
The "all" driver requires a system that doesn't refresh at all or a way to inhibit the refreshes of the system. Otherwise we end up with a bunch of partial refreshes done twice, and that's quite a mess :/ |
Thanks for clarification. |
Out of date, please repeat the EinkTest |
Brightness/warmth controls currently don't work at all for this e-reader.
Commercial Product Name:
Xiaomi Duokan Pro II
/Xiaomi Ereader Pro II
Model:
miduokanreaderproii
Product:
moaan
Device:
rk3566_eink
Hardware:
rk30board
Platform:
rk356x
Android Version: 11
I have tried my hands at making a driver for it, but have encountered a roadblock, so this is me sharing my findings.
The brightness/warmth can be controlled through the adb shell, but it appears that these values are located under
Settings.Global
, which means only system apps can set these values. If anyone has any tricks to setSettings.Global
, please let me know!I also investigated
/sys/class/backlight
but the files there are rather inconclusive and dont contain any real values.The text was updated successfully, but these errors were encountered: