![]() |
#1 |
Member
![]() 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\. |
![]() |
![]() |
![]() |
#2 |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() 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.
|
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 16
Karma: 50
Join Date: Apr 2022
Device: Onyx Boox Leaf 2
|
And here's a version showing a very basic loading circle.
|
![]() |
![]() |
![]() |
#5 |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 ... Code:
1072 1448 1 p 0 0 part0 #ffffff Last edited by Renate; 05-18-2022 at 10:06 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Member
![]() Posts: 16
Karma: 50
Join Date: Apr 2022
Device: Onyx Boox Leaf 2
|
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. |
![]() |
![]() |
![]() |
#7 |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
![]() |
![]() |
![]() |
#8 |
Member
![]() 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).
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |