![]() |
#16 |
Member
![]() Posts: 13
Karma: 10
Join Date: Oct 2013
Device: prs-650, kobo aura
|
yes davidfor, i saw the options for using book covers as screensavers. however, i was thinking of swapping the affiliate screensaver with something else, which is not a book cover but a personal pic, and which is shown every time regardless of which book is read(the device would thing, for all intents and purposes, that it is showing the affiliate screensaver). i believe this would, in essence, become a true custom saver, which was what the OP wanted (and i myself as well).
this is what i aim to do, but i lack the programming knowledge to dig through this, hence here i am, trying to see if there are any ideea of how to find the affiliate picture stored on the device. (p.s.- sorry to everyone for the triple post regarding the screensaver affiliates) |
![]() |
![]() |
![]() |
#17 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Sorry, I didn't reread the thread and missed that part.
The images for each affiliate are probably compiled into the libraries somewhere. They aren't in the visible part of the drive and they don't seem to be separate images in the firmware files. From looking at the libraries on the device, there is a string ":/images/dialogs/mondadori_%2_%1.png" plus one for some of the other affiliates. Creating a file with the correct name and type in the correct place might do it. From something PeterT posted, I think "%2" will be either "black" or "white". And "%1" is the codename that Kobo use for the device. This is "trilogy" for the Touch, "pixie" - Mini, "kraken" - Glo, "dragon" - Aura HD and "phoenix" - Aura. The problem then is where. I ".kobo/images/dialogs". It didn't work, but, the sleep screen wasn't displayed properly. That might mean that the resolution or dimensions of the image wasn't correct. Or maybe I had the file name wrong. Or I have drawn a completely wrong conclusion. |
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
|
|
![]() |
![]() |
![]() |
#19 |
Member
![]() Posts: 13
Karma: 10
Join Date: Oct 2013
Device: prs-650, kobo aura
|
but if the pointer is ":/images/dialogs/mondadori_%2_%1.png" , that means the file should be a png file, most likely called mondadori_%2_%1.png. also, for the aura there is no "dialogs" folder... where did you find that line? (i even deleted the whole images folder, and it still showed the affiliate screen)
also, there is 1 mb of data that i can't find (between drive properties->used space, and all file properties). this could be partition data, or probably the elusive pngs? the only script-like files that i see are a 238kb file in kepub, and a 352kb koboreader.sqlite in root. all the others are confs, or dictionaries, and a xml that has device info on it. it feels like it's way too small. could there be a hidden system partition or something? |
![]() |
![]() |
![]() |
#20 | |||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Quote:
Quote:
Last edited by tshering; 11-01-2013 at 01:22 PM. |
|||
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Member
![]() Posts: 13
Karma: 10
Join Date: Oct 2013
Device: prs-650, kobo aura
|
the alias thing tshering linked at is pretty interesting. perhaps there is a function that calls ":/images/dialogs/mondadori_%2_%1.png" and is supposed to return NULL, and a file with that name messes it up? though that would be sloppy coding...
also, i wonder if aliases can change the name/extension of the file as well, like declaring strings. |
![]() |
![]() |
![]() |
#22 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
It wouldn't matter where the image is if you can avoid asking for it in the suspend and poweroff routines. If someone were to patch in code just before the call image to display that was something like: If exists Root /myscreen.png then use that and skip the image selection code. Then all you would need to do is add your own .png in the root.
Or something like that. Luck; Ken |
![]() |
![]() |
![]() |
#23 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
|
|
![]() |
![]() |
![]() |
#24 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,545
Karma: 79436716
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
If you want a slightly convoluted approach that should be independent of changes by Lobo try writing a program based on the fmon add-on that monitors for a call to open the image to be used as the default screensaver and overwrite that file by the desired image.
|
![]() |
![]() |
![]() |
#25 | ||
Member
![]() Posts: 13
Karma: 10
Join Date: Oct 2013
Device: prs-650, kobo aura
|
ofc, but they would point to files with a name according to the variable. i didn't expect it to be writen the same in code.
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#26 | |
Member
![]() Posts: 13
Karma: 10
Join Date: Oct 2013
Device: prs-650, kobo aura
|
Quote:
would still require de/recompilaition though... |
|
![]() |
![]() |
![]() |
#27 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
|
|
![]() |
![]() |
![]() |
#28 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Code:
echo %1 > /sys/power/state-extended echo mem > /sys/power/state |
|
![]() |
![]() |
![]() |
#29 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,545
Karma: 79436716
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Not sure but I will admit to being semi baffled. I've been using strace to monitor nicket and see no sign of it reading an image to display the screen saver. I must be missing something!
|
![]() |
![]() |
![]() |
#30 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
In older FWs the PNG streams are in libnickel.so.1.0.0, in newer FWs (I have only 2.8.1b), they are in nickel. The streams start with \x89PNG (full signature is 89 50 4E 47 0D 0A 1A 0A) and end with IEND.
Last edited by tshering; 11-01-2013 at 03:17 PM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with custom screensaver hack | HarryPottersWand | Amazon Kindle | 1 | 12-29-2012 05:30 PM |
Hacks K3 custom screensaver w ads | just_jeepin | Amazon Kindle | 0 | 08-31-2012 03:58 PM |
KT with SO + Custom Screensaver 2.0 | kerotan | Amazon Kindle | 1 | 02-04-2012 11:46 PM |
Hacks Corrupted Custom Screensaver (K3) | twowheels | Amazon Kindle | 0 | 01-09-2012 03:34 PM |