08-26-2024, 09:08 PM | #1 |
Onyx-maniac
Posts: 3,149
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
Per app eink "optimizations"
You've all seen the "E-ink Center" under the "Control Center" on Onyx devices.
It lets you customize a bunch of settings on a per app basis. And maybe you're thinking, "I don't want it to customize anything, just behave normally and I'll use competent apps. End of discussion." The problem with settings is that they're often not transparent. Maybe you think that some app starts looking different. Maybe you set the DPI override to some strange number. There are seventy-seven separate settings for each app. Are you sure that they are all what you want them to be? I can see that I've got 43 apps where the DPI is 350! I'm not saying that they are all apps that I use. Spoiler:
Ultimately I will make this be able to do updates. Right now, it's 100% safe and read only. You can try this if you like. Just rename it without extension. Code:
C:\>adb push onyxcfg data/local/tmp C:\>adb shell # cd /data/local/tmp # chmod 755 onyxcfg # ./onyxcfg /onyxconfig/eac_config -d # ./onyxcfg /onyxconfig/eac_config The second command will list all the packages and how they differ from the default. You probably need to be rooted to see /onyxconfig/eac_config Last edited by Renate; 08-27-2024 at 09:31 AM. |
08-27-2024, 09:37 AM | #2 |
Onyx-maniac
Posts: 3,149
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
So, like everything about Onyx, it's more complicated than it seems.
There are two different "default" settings. Let's say that you adjust an app's settings. Then you install for the first time a new app. That will take its settings from the last time you played with any app's settings. This is a new version and it should make things clearer. It also describes update modes. Note also that while the Eink Center relies on UiSystem, the deeper settings and actual savings of settings needs kcb-release, i.e. com.onyx. Edit: If you plan on playing directly with eac_config, make sure that it stays: Code:
-rw------- 1 system system 6838 2024-08-27 08:53 eac_config Last edited by Renate; 08-28-2024 at 09:17 AM. |
Advert | |
|
08-28-2024, 09:17 AM | #3 |
Onyx-maniac
Posts: 3,149
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
So, just to clarify...
The eac_config holds per app configurations. It can also hold per activity configurations under the per app, but this seems rarely used. Your configuration may list packages that you have never run or even have. My Poke3 had 400 kB of cruft, my Poke5 80 kB. Code:
onyxcfg -? // usage onyxcfg eac_config // full dump onyxcfg eac_config com.whatever.demo // dump single package onyxcfg eac_config -l // list packages onyxcfg eac_config -d // show default |
10-16-2024, 03:25 PM | #4 |
Connoisseur
Posts: 51
Karma: 10
Join Date: Jun 2024
Device: Boox Go 10.3
|
Hi, I was wondering if you add support for writing to this file.
I want patch a specific app that is not from onyx. Could you help me? |
10-16-2024, 04:32 PM | #5 |
Onyx-maniac
Posts: 3,149
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
You can just open the Eink center and set the values there. Ok, there are more values in eac_config than are accessible by the GUI. But the main ones are accessible.
If you are careful and you have a good text editor like Notepad++ you can edit the file. Trying to edit one line JSON is too confusing so I wouldn't recommend that. But you can do a search/replace for 350 to 300. It will set the DPI to the correct value without having to edit them all. I haven't been working on this lately. Mostly I turn the "master switch" off in the GUI for apps that I care about. |
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Less "ghosting" on pearl eInk devices - the idea | MarekGibek | Kindle Developer's Corner | 13 | 03-14-2014 06:24 AM |
Library doesn't work, eInk side stuck with "Home" screen | andr2k | enTourage eDGe | 4 | 08-04-2012 09:37 AM |
Eink stuck "Initializing" and library lost! | jdm001 | enTourage eDGe | 7 | 07-10-2012 03:57 PM |
"No hack" comic book viewer on ALL eink kindles! | geekmaster | Kindle Developer's Corner | 36 | 05-18-2012 11:53 AM |
2 new ebook readers from netronix (6" & 9.7" eink) | lionfish | Which one should I buy? | 2 | 03-13-2008 12:11 AM |