Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Onyx Boox

Notices

Reply
 
Thread Tools Search this Thread
Old 08-26-2024, 09:08 PM   #1
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 3,279
Karma: 13468977
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:
Code:
Default settings
   autoFreezeConfig/autoFreeze = 0
   autoFreezeConfig/enable = 1
   autoFreezeConfig/supportAutoFreeze = 0
   autoStartConfig/autoStart = 1
   autoStartConfig/enable = 1
   autoStartConfig/supportAdjust = 0
   dpiConfig/dpi = 300
   dpiConfig/enable = 1
   enable = 0
   extraConfig/allowSplashScreen = 0
   extraConfig/enable = 1
   extraConfig/forceFullScreen = 1
   extraConfig/fullPMAccess = 0
   extraConfig/useDialogBorder = 0
   extraConfig/usePageKeyAsVolumeKey = 1
   globalActivityConfig/clsName = ""
   globalActivityConfig/displayConfig/bwMode = 0
   globalActivityConfig/displayConfig/cfaColorBrightness = 0
   globalActivityConfig/displayConfig/cfaColorSaturation = 0
   globalActivityConfig/displayConfig/cfaColorSaturationMin = 0
   globalActivityConfig/displayConfig/contrast = 30
   globalActivityConfig/displayConfig/ditherThreshold = 128
   globalActivityConfig/displayConfig/enable = 0
   globalActivityConfig/displayConfig/enhance = 1
   globalActivityConfig/displayConfig/monoLevel = 10
   globalActivityConfig/enable = 1
   globalActivityConfig/noteConfig/compatibleVersionCode = 0
   globalActivityConfig/noteConfig/enable = 0
   globalActivityConfig/noteConfig/globalStrokeStyle/enable = 1
   globalActivityConfig/noteConfig/globalStrokeStyle/strokeColor = -16777216
   globalActivityConfig/noteConfig/globalStrokeStyle/strokeStyle = 0
   globalActivityConfig/noteConfig/globalStrokeStyle/strokeWidth = 3
   globalActivityConfig/noteConfig/repaintLatency = 2000
   globalActivityConfig/noteConfig/supportNoteConfig = 0
   globalActivityConfig/paintConfig/antiAlisingType = 0
   globalActivityConfig/paintConfig/ditherBitmap = 0
   globalActivityConfig/paintConfig/enable = 0
   globalActivityConfig/paintConfig/fillBrightness = 0
   globalActivityConfig/paintConfig/fillContrast = 0
   globalActivityConfig/paintConfig/fillEAC = 0
   globalActivityConfig/paintConfig/iconBrightness = 0
   globalActivityConfig/paintConfig/iconContrast = 0
   globalActivityConfig/paintConfig/iconEAC = 0
   globalActivityConfig/paintConfig/iconThreshold = 0
   globalActivityConfig/paintConfig/imgEAC = 0
   globalActivityConfig/paintConfig/imgGamma = 0
   globalActivityConfig/paintConfig/quantBits = 3
   globalActivityConfig/paintConfig/textBold = 0
   globalActivityConfig/paintConfig/textEACType = 0
   globalActivityConfig/refreshConfig/animationDuration = 0
   globalActivityConfig/refreshConfig/antiFlicker = 10
   globalActivityConfig/refreshConfig/enable = 1
   globalActivityConfig/refreshConfig/gcInterval = 20
   globalActivityConfig/refreshConfig/supportRegal = 0
   globalActivityConfig/refreshConfig/turbo = 0
   globalActivityConfig/refreshConfig/updateMode = 0
   globalActivityConfig/refreshConfig/useGCForNewSurface = 0
   globalCSSConfig/clsName = ""
   globalCSSConfig/customCSS = ""
   globalCSSConfig/enable = 0
   globalCSSConfig/fontBold = 0
   globalCSSConfig/fontColor = 0
   globalCSSConfig/fontSize = 0
   keyboardConfig/enable = 0
   keyboardConfig/pageKeyMode = 1
   networkConfig/enable = 0
   networkConfig/overrideRules = 0
   pkgName = ""
   rotationConfig/enable = 1
   rotationConfig/overrideRotation = -1
   scrollArgs/duration = 600
   scrollArgs/endXPercent = 0.500000
   scrollArgs/endYPercent = 0.800000
   scrollArgs/sampleTime = 16
   scrollArgs/startXPercent = 0.500000
   scrollArgs/startYPercent = 0.200000
   supportEAC = 1

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 first command will show the default.
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.
Renate is offline   Reply With Quote
Old 08-27-2024, 09:37 AM   #2
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 3,279
Karma: 13468977
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
That's chown 1000:1000, chmod 600

Last edited by Renate; 08-28-2024 at 09:17 AM.
Renate is offline   Reply With Quote
Old 08-28-2024, 09:17 AM   #3
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 3,279
Karma: 13468977
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
Attached Files
File Type: prc onyxcfg.prc (30.2 KB, 42 views)
Renate is offline   Reply With Quote
Old 10-16-2024, 03:25 PM   #4
DanyDanman
Connoisseur
DanyDanman began at the beginning.
 
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?
DanyDanman is offline   Reply With Quote
Old 10-16-2024, 04:32 PM   #5
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 3,279
Karma: 13468977
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.
Renate is offline   Reply With Quote
Old 12-02-2024, 05:44 PM   #6
starkruzr
Member
starkruzr began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Nov 2024
Device: Boox Palma 2
does anyone have the class name for Google Keep that lets you enable ink optimization per this guide? https://gist.github.com/calliecamero...8bd493380e3b7e I've been hunting for it in Android Studio and don't seem to have found the magic bullet yet. I did get DrawNote, Excalidraw, and Joplin's JSDraw plugin.
starkruzr is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 01:02 PM.


MobileRead.com is a privately owned, operated and funded community.