View Single Post
Old 08-26-2024, 08: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,984
Karma: 18026955
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 08:31 AM.
Renate is offline   Reply With Quote