Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 09-06-2016, 07:00 PM   #196
kobayashi
Groupie
kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!
 
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.
kobayashi is offline   Reply With Quote
Old 09-07-2016, 02:47 AM   #197
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
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.
frostschutz is offline   Reply With Quote
Advert
Old 09-07-2016, 09:46 AM   #198
kobayashi
Groupie
kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!
 
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.
kobayashi is offline   Reply With Quote
Old 09-10-2016, 01:01 PM   #199
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
Quote:
EDIT: Finally got it. Resized the images again, powered off and then back on and now the screensaver is working perfectly.
Thanks for reporting back. Edits are easy to miss so I didn't see it before.

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*
I'll have an update for this later.
Attached Thumbnails
Click image for larger version

Name:	scanline-autodetected.jpg
Views:	292
Size:	23.9 KB
ID:	151507  

Last edited by frostschutz; 09-10-2016 at 01:11 PM.
frostschutz is offline   Reply With Quote
Old 09-10-2016, 03:25 PM   #200
Judim
Junior Member
Judim began at the beginning.
 
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!
Judim is offline   Reply With Quote
Advert
Old 09-18-2016, 07:34 AM   #201
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
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!
frostschutz is offline   Reply With Quote
Old 09-18-2016, 09:09 AM   #202
kobayashi
Groupie
kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!
 
Posts: 176
Karma: 100000
Join Date: Jan 2015
Device: KA1
Quote:
Originally Posted by frostschutz View Post
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!
The new version works well on my KA1 but took about 5 poweroff cycles to begin working. The first standby and poweroff didn't produce scanlines, the next three cycles produced scanlines which persisted on the screen and no screensaver, the last cycle showed no scanlines and the screensaver started working perfectly for both.

The new screensaver (once working) persists through USB connections perfectly. Thanks again!
kobayashi is offline   Reply With Quote
Old 09-18-2016, 09:56 AM   #203
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
Quote:
Originally Posted by kobayashi View Post
The new version works well on my KA1 but took about 5 poweroff cycles to begin working.
Oh. What does the final result (screensaver.cfg) look like for you?

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.
frostschutz is offline   Reply With Quote
Old 09-18-2016, 04:35 PM   #204
kobayashi
Groupie
kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!
 
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*
kobayashi is offline   Reply With Quote
Old 09-18-2016, 05:18 PM   #205
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
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).
frostschutz is offline   Reply With Quote
Old 09-18-2016, 05:32 PM   #206
kobayashi
Groupie
kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!
 
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.
kobayashi is offline   Reply With Quote
Old 10-03-2016, 07:30 AM   #207
Katja_hbg
Groupie
Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.
 
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.
Katja_hbg is offline   Reply With Quote
Old 10-03-2016, 07:50 AM   #208
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
Quote:
Originally Posted by Katja_hbg View Post
- I was not sure whether to rename the file as the name on the left does not named ... 4.x
Not sure how to describe this better; it works the same as with all other mods that use KoboRoot.tgz to install themselves. Well, you managed it so that's good.

Quote:
Originally Posted by Katja_hbg View Post
a hint to try restart three times will keep them ongoing.
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:
Originally Posted by Katja_hbg View Post
The new format works only after a restart of
the reader. Maybe that is also worth to mention.
Adding/Replacing/Changing the images should not require a restart.
frostschutz is offline   Reply With Quote
Old 11-13-2016, 10:00 AM   #209
Limalimlim
Junior Member
Limalimlim began at the beginning.
 
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!
Limalimlim is offline   Reply With Quote
Old 11-13-2016, 10:24 AM   #210
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
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.
frostschutz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 04:45 AM.


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