Quote:
Originally Posted by starkruzr
so, for the Note Air 4C things appear to have changed. possibly this change will happen for all >= OS 4.0 devices. now the data is in /onyxconfig/mmkv/onyx_config and is partially binary, and appears to be "checked" against a .crc file it generates every time it updates the file. after searching "Boox mmkv" it sounds like you have some experience with this MMKV nonsense in the past. do you know how to edit this? I tried an mmkv utility ( https://github.com/topkan/mmkv-cli) but it doesn't seem to understand anything in the directory. it also seems to update the file very frequently; maybe every time you turn the device on.
|
Thanks for your reference to mmkv-cli I was able to update the keys in the onyx_config store 'offline': I downloaded it to my laptop, did mmlv-cli get, edited key content in a text editor and then written it to the store using mmlv-cli set.
However as you correctly noted the store is being updated very frequently on the device itself and so it will get overwritten quickly after I replace it with my offline copy.
I suppose we need to boot the device into some mode where we can access the filesystem (via ADB?), but Onyx software that writes into onyx_config is not started.
Alternatively I'm thinking onyx_config can be made read-only, replaced with the offline updated copy and then device rebooted normally.
I have no idea how to do booting without Onyx software, but I could try the second route. However I'm worried that reboot may fail with this config file being read-only and I will end but with bricked device...
Hence seeking some advice here from more experienced people.
TIA