Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-17-2022, 05:12 AM   #1
Djezpur
Member
Djezpur is on a distinguished road
 
Posts: 16
Karma: 50
Join Date: Apr 2022
Device: Onyx Boox Leaf 2
Poke3 tweaks (immersive mode, lockscreen rotation)

I've put these two 'golden oldie' tweaks to good use on my Poke3:

Immersive mode
Hide the status bar on third party apps by entering the following adb command:
adb shell settings put global policy_control immersive.full=[package name]

You can list multiple apps, using a comma as separator, e.g.:
adb shell settings put global policy_control immersive.full=com.app.slh,dev.ukanth.ufirewall

Lockscreen rotation (root)
I use the device mainly in landscape, so it annoyed me that the passcode lockscreen was always displayed in portrait. By adding this line to system\build.prop, the lockscreen follows the system rotation setting:
lockscreen.rot_override=true

Custom bootanimation (root)
Finally, not being a fan of the default Onyx artwork, I have copied my own bootanimation.zip to system\media\.
Stock wallpapers are also located there, but the image that shows after disconnecting a charger resides in res\images\charger\.
Djezpur is offline   Reply With Quote
Old 04-17-2022, 08:35 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,895
Karma: 17236157
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
The documentation on how to put your own bootanimation.zip together:
https://android.googlesource.com/pla...tion/FORMAT.md

The bootanimation starts running before the screen is fully configured.
So the beginning of the sequence will be missing.
I've always hated short sequences where it repeats a progress bar that starts over.

FWIW, here is a minimal bootanimation, just counting seconds in the lower right corner for Poke3 (or anything else that's 1072x1448). I tried to get the trim.txt function to work, but I couldn't. It seems to be supported in libbootanimation.so I don't know what my problem is.

(The simple count up bootanimation is attached in post #5.)

Last edited by Renate; 05-18-2022 at 10:05 AM.
Renate is offline   Reply With Quote
Advert
Old 04-18-2022, 02:33 AM   #3
Djezpur
Member
Djezpur is on a distinguished road
 
Posts: 16
Karma: 50
Join Date: Apr 2022
Device: Onyx Boox Leaf 2
Attached is my current bootanimation.zip: a simple progress bar, designed for landscape use.
Attached Files
File Type: zip bootanimation.zip (94.3 KB, 180 views)
Djezpur is offline   Reply With Quote
Old 04-18-2022, 02:35 AM   #4
Djezpur
Member
Djezpur is on a distinguished road
 
Posts: 16
Karma: 50
Join Date: Apr 2022
Device: Onyx Boox Leaf 2
And here's a version showing a very basic loading circle.
Attached Files
File Type: zip bootanimation.zip (71.4 KB, 162 views)
Djezpur is offline   Reply With Quote
Old 04-18-2022, 07:35 AM   #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,895
Karma: 17236157
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
I figured out what the problem with using trim.txt was (by reading the code).
All the files in the zip must be uncompressed.
The desc.txt file is small enough that it probably won't get compressed.
The trim.txt is a bit longer (and repetitive) and might get compressed (and ignored later).
Here's the same count up in the lower right corner, smaller, now that it uses 100x100 images.
trim.txt looks like:
Code:
100x100+932+1318
100x100+932+1318
100x100+932+1318
...
desc.txt looks like this (with background color):
Code:
1072 1448 1
p 0 0 part0 #ffffff
Attached Files
File Type: zip bootanimation.zip (13.7 KB, 178 views)

Last edited by Renate; 05-18-2022 at 10:06 AM.
Renate is offline   Reply With Quote
Advert
Old 04-18-2022, 12:24 PM   #6
Djezpur
Member
Djezpur is on a distinguished road
 
Posts: 16
Karma: 50
Join Date: Apr 2022
Device: Onyx Boox Leaf 2
Quote:
Originally Posted by Renate View Post
All the files in the zip must be uncompressed.
I walked in the exact same pitfall with my boot animation using a regular zip.
I would have mentioned that to you, but I didn't think you ran into the same issue, because with me it skipped the animation altogether.

Last edited by Djezpur; 04-18-2022 at 12:27 PM.
Djezpur is offline   Reply With Quote
Old 04-18-2022, 01:56 PM   #7
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,895
Karma: 17236157
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
Maybe your PNGs were zipped? Or your main desc.txt, because it's longer than mine? I only ran into this on the trim.txt
Renate is offline   Reply With Quote
Old 05-11-2022, 04:04 AM   #8
Djezpur
Member
Djezpur is on a distinguished road
 
Posts: 16
Karma: 50
Join Date: Apr 2022
Device: Onyx Boox Leaf 2
Got creative again and made a version showing a growing stack of books (vector graphics, outlined - preview thumbnail attached).
Attached Thumbnails
Click image for larger version

Name:	example.png
Views:	181
Size:	172.3 KB
ID:	193762  
Attached Files
File Type: zip bootanimation.zip (491.1 KB, 154 views)
Djezpur is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to view PDF in landscape mode on Poke3 rsbrux Onyx Boox 7 05-31-2021 11:03 AM
What is the difference between these three Poke3? kuromusha Onyx Boox 3 04-23-2021 12:58 PM
immersive / full screen reading bonnerable Tolino 2 07-27-2019 06:23 AM
Lockscreen mr9v9 PocketBook 4 03-04-2017 02:26 PM


All times are GMT -4. The time now is 12:59 PM.


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