![]() |
#196 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 176
Karma: 100000
Join Date: Jan 2015
Device: KA1
|
Tried the new hack on my Kobo One but didn't work at all. Put the same png that I've been using on my last two Kobos in the correct folders but nothing happened. Not a huge deal. I'll mess around with it some more later. Just got a blank screen with the small stock "Sleeping" in the lower left corner.
Last edited by kobayashi; 09-07-2016 at 09:46 AM. |
![]() |
![]() |
![]() |
#197 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Compared to the old mod, the folders changed to .addons/screensaver/{standby,poweroff}/.
Also if you ever uninstalled the old one, and had a screensaver.cfg with uninstall=1, it might have uninstalled itself right after installing it. I guess I'll have to add a debuglog or something. |
![]() |
![]() |
Advert | |
|
![]() |
#198 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 176
Karma: 100000
Join Date: Jan 2015
Device: KA1
|
I needed to poweroff and then back on in order to get the images working on my One.
EDIT: Finally got it. Resized the images again, powered off and then back on and now the screensaver is working perfectly. Last edited by kobayashi; 09-07-2016 at 10:16 AM. |
![]() |
![]() |
![]() |
#199 | |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Quote:
Even so it doesn't work reliably enough. There are misdetections - like poweroff image showing when connecting to PC, or nothing showing despite "Sleeping" present because timing was off. So I need a more reliable criteria which brings me back to the scanline idea. Now scanline wasn't particularly popular because it was hard to setup, but I'm working on autodetection. I have this working quite well for standby at least, it autodetects the most significant standby offset and adds it to the screensaver.cfg. Doing the same for poweroff is a bit more complicated, the time window is so much smaller... Code:
screensaver.cfg # # Standby scanline autodetected Sat Sep 10 18:54:35 CEST 2016 # If this value does not work, remove it so it will be re-detected. # standby=1288:ffff*31a60000*7bcfffff*ffdf*ffff*0000*c638ffff*f79e39e70000*8430ffff*21040000*b5b6ffff*f79e39e70000*8430ffff*21040000*b5b6ffff*d69a000039e7528a18e30000*2965c6180861000018e35acb52aa29450000*ad55ffff*b596086139e74a4918c30000*2124ffff*d6ba08414208528a21040000*31a6ffffad750000*212408410000*630cffff*630c0000*2965bdf7ffff*84300000*18c3ffff* Last edited by frostschutz; 09-10-2016 at 01:11 PM. |
|
![]() |
![]() |
![]() |
#200 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Sep 2016
Device: Kobo Aura One
|
The experimental mod works like a charm on my Aura One.
Thank you very much! |
![]() |
![]() |
Advert | |
|
![]() |
#201 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Another day, another update - for 4.x firmware. (It might also work with old firmware - I never tested.)
This version re-introduces the scanline mode, this time with autodetection. Basically you have to go to standby, and then poweroff, once. Please read the first post for details. This should fix image showing on USB connection (previously misinterpreted as poweroff), image showing in webbrowser (misinterpreted as standby), and image not appearing at all / too late. Fixed a bug: the screensaver stopped working after USB connection for KA1 / GloHD. Please let me know if it works for you, Thanks! |
![]() |
![]() |
![]() |
#202 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 176
Karma: 100000
Join Date: Jan 2015
Device: KA1
|
Quote:
The new screensaver (once working) persists through USB connections perfectly. Thanks again! |
|
![]() |
![]() |
![]() |
#203 | |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Quote:
There's very little time between Poweroff (displayed on screen) and actual poweroff (code stops running, too late to save output). There is a lot more time for Sleeping (displayed on screen) until device actually goes to sleep. That's why for Sleeping it does a full screen scan [which might take 3-4 seconds so wait a bit for scanline to appear perhaps?] and for Poweroff it just uses the previously detected Sleeping offset (which works as long as Sleeping / Poweroff messages displayed by Kobo appear in the same place). So if the Sleeping scanline is not detected properly, the Poweroff scanline will fail too. Last edited by frostschutz; 09-18-2016 at 09:59 AM. |
|
![]() |
![]() |
![]() |
#204 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 176
Karma: 100000
Join Date: Jan 2015
Device: KA1
|
The scanlines showed before two successive power cycles before the screensavers started working. Mine look like this:
# # Standby scanline autodetected Sat Sep 10 18:54:35 CEST 2016 # If this value does not work, remove it so it will be re-detected. # # # Standby scanline autodetected [1] Sun Sep 18 09:03:09 EDT 2016 # If this value does not work, remove it so it will be re-detected. # standby=1672:ffff*84100000*ce79ffff*94b20000*5aebf fff*9cd30000*defbffff*9cf339e70000*5aebb5b6ffff*9c f339e70000*5aebb5b6ffff*ef5d8c7129650000*18c3c638f fff*ce795aeb0000*08616b6ddefbffff*ce79738e10a20000 *1082b5b6ffff*dedb841029450000*18e3b596ffff*8c7118 e30000*31a6ad55ffff*b5b6528a08410000*10a231a67befd 6baffff*ffdfa534528a00004228ffff* # # Poweroff scanline autodetected [1] Sun Sep 18 09:04:24 EDT 2016 # If this value does not work, remove it so it will be re-detected. # poweroff=1672:0000*9492ffff*f7be0000*5acbffff*e71c 0000*52aab596ffdfffff*b5b65aeb0000*4a69ad75ffff*94 b20000*d6baef7dffff*f7be0000*39e7e73cffff*a5140000 *630cc618ffff*a5144a490000*21247befd6baffff*ef7d6b 6d0000*5aebef5dffff*d69a31860000*630cc618ffff*a514 4a490000*5acbbdf7ffff*e73ca53442280000*ef7dffff*00 00*52aab596ffdfffff*b5b65aeb0000*6b6dffff*39e70000 *6b6dffff*39e70000* |
![]() |
![]() |
![]() |
#205 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Thanks. I don't have a specific idea how to improve autodetection right now.
If there are problems for other people as well, I will think more about it. I have some things on my todo list (can't promise anything): - support multiple patterns, to support night mode, switching languages, ... - prevent same image getting picked twice in a row (maybe interesting if few images) - a playlist mode that ensures every image shown once before repeating (maybe interesting if many images). |
![]() |
![]() |
![]() |
#206 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 176
Karma: 100000
Join Date: Jan 2015
Device: KA1
|
The current version is working great for me. Just letting people know that it may take a few power cycles before everything scans correctly and starts working. I only have one image so I have no problem with image picking.
|
![]() |
![]() |
![]() |
#207 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 171
Karma: 158116
Join Date: Oct 2015
Device: Kobo Glo HD (landscape), Kobo Aura One
|
Hi Frostschutz,
I also like to confirm that it works well for me on my brand new KA1. The row number in the config is 1675 ... for your information only. For me it tooks three restart, so thanks to kobayashi for that hint. The installation is nice and easy now. Nevertheless ... ;-) two suggestion for the readme-file - I was not sure whether to rename the file as the name on the left does not named ... 4.x As youexplain every step, perhaps you like to add ...rename... - as mentioned by kobayashi, for people who are not patient, a hint to try restart three times will keep them ongoing. At the end there should be some nice picture in a proper format. I adjusted my png for KA1 to 1404x1872. The new format works only after a restart of the reader. Maybe that is also worth to mention. Thanks for your effort to make my reader looks good when sleeping. |
![]() |
![]() |
![]() |
#208 | ||
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Quote:
![]() I added such a hint to the first post (repeat steps 4 5 if it does not work first time). Still trying to determine where exactly this is failing, and how to improve... Quote:
![]() |
||
![]() |
![]() |
![]() |
#209 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Nov 2016
Device: Kobo Aura One +@
|
Kobo glo HD, no scanline :(
I repeated 4&5 step more than 10 times, and the scanline is nowhere to be shown. FW is 3.19.5761. Help please!
|
![]() |
![]() |
![]() |
#210 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
In that case, if nothing else helps, you'll have to go for the pre 4.x version, and do the scanline manually; you can find this info in a spoiler tag at the end of the first post.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Boox T68 - Screensaver Image | fozzedout | Onyx Boox | 4 | 07-27-2020 07:25 PM |
(PW) Location of waterstones screensaver image | mrspaceman | Kindle Developer's Corner | 19 | 05-09-2013 02:07 AM |
[PB360] Image Viewer with random? | rogue_librarian | PocketBook | 2 | 12-12-2010 05:20 AM |
K2i original screensaver image | Aeroraptor | Kindle Developer's Corner | 1 | 12-12-2009 07:40 PM |
Hacks Angus Young Screensaver Image | Jason Shaffer | Amazon Kindle | 5 | 04-08-2009 01:34 PM |