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 09-09-2021, 08:50 PM   #106
mergen3107
Evangelist
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 412
Karma: 2345790
Join Date: Feb 2012
Location: Cape Canaveral
Device: Onyx Boox Kon-Tiki 2
Re-enabling com.onyx and restarting doesn't help. I should probably let Onyx know
mergen3107 is offline   Reply With Quote
Old 09-09-2021, 08:54 PM   #107
Renate
Addict
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: 268
Karma: 4419737
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, Kobo Aura2, Poke3
Quote:
Originally Posted by mergen3107 View Post
Oh, well, it looks like Onyx is doing something wrong with registering/unregistering receivers: https://stackoverflow.com/questions/...not-registered
Yes, but you can see from the E in that report that it's a real error.
Onyx knew that they screwed up so they wrapped it in tissue paper (a try-catch) so it only prints a W warning.
Renate is offline   Reply With Quote
Old 09-09-2021, 09:07 PM   #108
mergen3107
Evangelist
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 412
Karma: 2345790
Join Date: Feb 2012
Location: Cape Canaveral
Device: Onyx Boox Kon-Tiki 2
Ah, I see. Thank you for clarifying.

Will these extra lines in the log actually make any difference to worry about?
I know the log files are rotated with some size limit, but still these extra write operations.
mergen3107 is offline   Reply With Quote
Old 09-09-2021, 09:10 PM   #109
mergen3107
Evangelist
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 412
Karma: 2345790
Join Date: Feb 2012
Location: Cape Canaveral
Device: Onyx Boox Kon-Tiki 2
I just like this solution (long-press to call stock dialog) because it is simple and yet functional. I can adjust each level or locked together, select profiles and toggle lights from this dialog.

Before that I had GentleGlow on long-press, however to turn off the lights I had to go Notifications menu. Also, it is kinda separate from the stock brightness control, so other apps do not sync with it.
mergen3107 is offline   Reply With Quote
Old 09-10-2021, 05:54 AM   #110
Renate
Addict
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: 268
Karma: 4419737
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, Kobo Aura2, Poke3
Quote:
Originally Posted by mergen3107 View Post
Will these extra lines in the log actually make any difference to worry about?
Android logs have become a sewer anyway with every single app and service wanting to spew something.

Quote:
Originally Posted by mergen3107 View Post
Also, it is kinda separate from the stock brightness control, so other apps do not sync with it.
Yes, the system settings screen_cold_brightness, screen_warm_brightness are Onyx specific.
If you don't write to them the lights will not restore to the same level the next time you turn it on.

Me? I just leave the lights on at 30% all the time. If it's bright, I don't notice.
I haven't noticed battery drain. I almost never explicitly charge. It's connected enough for sync/dev.
Renate is offline   Reply With Quote
Old 09-10-2021, 07:57 PM   #111
mergen3107
Evangelist
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 412
Karma: 2345790
Join Date: Feb 2012
Location: Cape Canaveral
Device: Onyx Boox Kon-Tiki 2
Is there a safe way to shuffle screensavers (or make the system select them randomly) located in /data/local/assets/images/ ?

Currently the only way I see is to run a shell script that renames those “standby-n.png” randomly after boot completed. Magisk has a directory for such shell scripts. However I am not sure how will it behave.

I only tested it manually: via SSH, renamed the screensaver number that was supposed to be the next one (e.g. number 2 if I only put the device to sleep once after fresh boot). The substitution worked well. If the next file is not strictly named in that format (for example standby-2A.png), it uses some pre-cached stock image of 600x800 px. I replaced those in /system/media/ — but this didn’t change a thing. I don’t know where these pre-cached things come from, maybe from disabled com.onyx.
I should probably also make a check of chmod (777) for those files.
mergen3107 is offline   Reply With Quote
Old 09-10-2021, 09:47 PM   #112
Renate
Addict
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: 268
Karma: 4419737
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, Kobo Aura2, Poke3
Are you actually modifying /system?
Right now all the updates (~1GB) seem to be full and not incremental, but if they ever switch to incremental it might make life more difficult if you've modified /system.
I saw that I had tried putting links in /system/media (but in Magisk, not /system) but that hadn't worked.
Now I just keep 3 copies of the same graphic in /data/local/assets/images.

I haven't found the place in the code yet where the names of 3 files are hard-coded.
Renate is offline   Reply With Quote
Old 09-11-2021, 01:56 AM   #113
mergen3107
Evangelist
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 412
Karma: 2345790
Join Date: Feb 2012
Location: Cape Canaveral
Device: Onyx Boox Kon-Tiki 2
Quote:
Originally Posted by Renate View Post
Are you actually modifying /system?
Only those screensavers + swapped lock sounds for (un)lock.
I have the original copies though, so if the update doesn't work, I'll revert them before updating.
mergen3107 is offline   Reply With Quote
Old 09-11-2021, 07:00 AM   #114
Renate
Addict
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: 268
Karma: 4419737
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, Kobo Aura2, Poke3
Yes, but even deleting A, deleting B, writing B, writing A changes the disk layout.
Renate is offline   Reply With Quote
Old 09-11-2021, 04:42 PM   #115
mergen3107
Evangelist
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 412
Karma: 2345790
Join Date: Feb 2012
Location: Cape Canaveral
Device: Onyx Boox Kon-Tiki 2
OK
If this will ever be a problem, I'll just edl the backed up untouched system.img
mergen3107 is offline   Reply With Quote
Old 09-16-2021, 02:39 AM   #116
mergen3107
Evangelist
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 412
Karma: 2345790
Join Date: Feb 2012
Location: Cape Canaveral
Device: Onyx Boox Kon-Tiki 2
Answering my own question, here is how I managed to shuffle screensavers on each boot.
(As a reminder, since I disabled com.onyx, my screensavers are in /data/local/assets/images/ . This is a barebones screensaver engine, so I couldn't find any controls to it.)

1) Installed ccbins (Cross-Complized Binaries) module in Magisk. It installs busybox with a handful of utilities. My main goal was to get "shuf", to shuffle things in the array.

2) Wrote a script "shuffle_run.sh" and placed it in /data/adb/service.d which refers to another script "shuffle.sh" in /data/local/assets/ (giving chmod 755 to both of them as well). This file takes the names via ls (maybe not the best option, but it works), renames to a temp filenames and then renames again to the same names but taking a shuffled array of temporary names as input.

Files attached, if you wanna try.

Tested, works fine. I am happy

P.S. ccbins has a really good amount of utils. If ran from ssh (just "ccbins"), you can download more things like bash, zsh, tcpdump, htop, nano, and many others.
Attached Files
File Type: zip shuffle_screensavers_script.zip (1.5 KB, 15 views)
mergen3107 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
Kon-tiki mirage Onyx Boox 1 01-21-2021 10:30 PM
Onyx Boox is releasing Note3 & Nova3 in China winstonma Onyx Boox 23 10-20-2020 10:49 PM
Apps for onyx boox Narwhall85 Onyx Boox 0 05-08-2020 02:51 AM
Removing Google apps on the Onyx Boox Note Dav_25 Onyx Boox 4 04-29-2019 05:22 AM
Readability/instapaper-like apps on onyx boox M92? Acryde Onyx Boox 2 04-26-2012 10:05 AM


All times are GMT -4. The time now is 11:50 PM.


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