Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-15-2012, 08:28 PM   #1
yifanlu
Kindle Dissector
yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.
 
Posts: 662
Karma: 170717
Join Date: Jul 2010
Device: Amazon Kindle 3
Cool Kindle Touch Custom Screensavers

Well, in short, the old "simple screensaver" hack I wrote a while ago sucks. This is a REAL screensaver hack.


This Kindle Touch modification will allow you to use custom images as screensavers. This is not for Special Offer Kindles, nor does it remove the advertisements. By design, this mod will only work with non-ads Kindle Touches. An improvement of this vs the screensaver hacks of previous devices and the simple screensaver hack I released a while ago includes:
  • No filename constraint (name the images anything you want)
  • Auto update when new files are found
  • Scrolls through in alphabetical order (not random order, so you can manage the order of the images)
  • If no custom images are found, it will default back to Kindle’s original screensavers
  • If an invalid file is found, it will be skipped, after 5 invalid files, it will default back to original screensaver (instead of just crashing and requiring a restart)

In addition, images are auto-scaled and auto-converted, which means you are no longer limited to 600×800 grayscale images. Of course, those are the preferred format, but you can now use any PNG file and it will be sized to fit the screen. The only limitation is the image format must be PNG.

Finally, as an added bonus, I’ve included a custom screensaver, “lockscreen.png”. If you place that image in your screensaver folder (and nothing else), instead of a picture screensaver, the Kindle will keep whatever you are reading as the screensaver with a neat lock icon on the top of the screen. (See end of post for example)

As always, installation and usage directions are found in the readme after download.

All this is made possible by OpenBlanket, my attempt at reversing the APIs for LibBlanket, Amazon’s library for drawing full screen content on the Kindle Touch. You can check out the source for an almost identical re-implementation of the device’s original screensaver module (decompiled by hand and compiles to almost the exact same machine code). The source for the custom screensaver module is a modification of that source (and is included in the download).

Download: http://yifan.lu/p/custom-screensaver/
OpenBlanket: https://github.com/yifanlu/OpenBlanket




My stance on removing ads: I've posted my opinions about this in many threads, but not everybody has read it. First of all, I will never stop anyone from removing ads. It's very easy to do, and there are many ways of doing it. However, I will never aid anyone in doing so, so please don't ask me for help. The reason is that our main defense for jailbreaking the device being legal and ethical is that "we aren't doing anything to hurt amazon." Now I understand Amazon is a big corporation (as with all big corporations, they are amoral, hence, they can be evil). However, when you remove the ads without paying Amazon $40, they lose money, which means that if enough people start removing ads to make an impact they could take action against people like me who bring you the ability to unlock your devices. Since technically, the TOS for the Kindle states that you cannot modify or reverse engineer the device. No, Amazon is not enforcing it. No, I do not agree with it. But Amazon has always been passive in stopping jailbreaks (removing the exploit but not touching the hacks; not worrying about people who jailbreak; allowing people with jailbroken devices to have support even though you technically broke the TOS and can be denied support), but if they start losing money they could start actively blocking jailbreaks.

Last edited by yifanlu; 01-20-2012 at 05:13 PM.
yifanlu is offline   Reply With Quote
Old 01-16-2012, 02:23 AM   #2
Aleyst
Zealot
Aleyst plays well with othersAleyst plays well with othersAleyst plays well with othersAleyst plays well with othersAleyst plays well with othersAleyst plays well with othersAleyst plays well with othersAleyst plays well with othersAleyst plays well with othersAleyst plays well with othersAleyst plays well with others
 
Posts: 107
Karma: 2800
Join Date: Jul 2010
Location: Australia
Device: iPad2, Kindle 4 NT
Will this work with the non-touch version as well?
Aleyst is offline   Reply With Quote
 
Advertisement
Old 01-16-2012, 02:52 AM   #3
yifanlu
Kindle Dissector
yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.
 
Posts: 662
Karma: 170717
Join Date: Jul 2010
Device: Amazon Kindle 3
Nope.
yifanlu is offline   Reply With Quote
Old 01-16-2012, 09:20 AM   #4
jglerner
Connoisseur
jglerner doesn't litterjglerner doesn't litter
 
jglerner's Avatar
 
Posts: 95
Karma: 128
Join Date: Feb 2010
Location: Upside-down
Device: Kindle 3g (US), KT & PaperWhite, Nook ST
Thanks for the excellent job.
Any hopes for a custom font? I'd love to read my books on Georgia 2... (or whatever)
Best regards and take care!
jglerner is offline   Reply With Quote
Old 01-16-2012, 04:17 PM   #5
perconte
Junior Member
perconte is not intimidated by interfenestral monkeys.perconte is not intimidated by interfenestral monkeys.perconte is not intimidated by interfenestral monkeys.perconte is not intimidated by interfenestral monkeys.perconte is not intimidated by interfenestral monkeys.perconte is not intimidated by interfenestral monkeys.perconte is not intimidated by interfenestral monkeys.perconte is not intimidated by interfenestral monkeys.perconte is not intimidated by interfenestral monkeys.perconte is not intimidated by interfenestral monkeys.perconte is not intimidated by interfenestral monkeys.
 
Posts: 4
Karma: 26422
Join Date: Jan 2012
Device: Kindle Touch
Good work yifanlu!

One question:
We have to uninstall previous hack?
perconte is offline   Reply With Quote
Old 01-16-2012, 04:20 PM   #6
yifanlu
Kindle Dissector
yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.
 
Posts: 662
Karma: 170717
Join Date: Jul 2010
Device: Amazon Kindle 3
Nope. It removes the old files and your screensavers can continue to work, but with the new featurs.
yifanlu is offline   Reply With Quote
Old 01-16-2012, 05:57 PM   #7
Aleyst
Zealot
Aleyst plays well with othersAleyst plays well with othersAleyst plays well with othersAleyst plays well with othersAleyst plays well with othersAleyst plays well with othersAleyst plays well with othersAleyst plays well with othersAleyst plays well with othersAleyst plays well with othersAleyst plays well with others
 
Posts: 107
Karma: 2800
Join Date: Jul 2010
Location: Australia
Device: iPad2, Kindle 4 NT
Thanks for the answer, it was a curiosity question rather than a oh dear, can't do it the other way one.

Keep up the good work.
Aleyst is offline   Reply With Quote
Old 01-18-2012, 06:39 AM   #8
bizoon
Junior Member
bizoon began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2012
Device: kindle touch
Error

Hi all.
I have Kindle Touch 5.0.3 and I get update error 007. Should it work with this version?
bizoon is offline   Reply With Quote
Old 01-18-2012, 07:17 AM   #9
LittleLui
Member
LittleLui began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Dec 2011
Device: Kindle Touch
Thanks, yifanlu. A little question: would it be feasible to allow changing the current screensaver with the front button?
LittleLui is offline   Reply With Quote
Old 01-18-2012, 09:24 AM   #10
yifanlu
Kindle Dissector
yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.
 
Posts: 662
Karma: 170717
Join Date: Jul 2010
Device: Amazon Kindle 3
@bizoon. You must jailbreak first.

@littlelui, the device goes to sleep in about 10 minutes after going to screensaver, so after that, I don't think it sees events aside from power button press.
yifanlu is offline   Reply With Quote
Old 01-24-2012, 09:48 AM   #11
ll Legion ll
Member
ll Legion ll began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Sep 2010
Location: The D
Device: Kindle 3
Thanks Yifanlu, this is pretty awesome!

Last edited by ll Legion ll; 01-24-2012 at 11:48 AM. Reason: answered my own question
ll Legion ll is offline   Reply With Quote
Old 03-16-2012, 10:26 AM   #12
Xzwatz
Member
Xzwatz began at the beginning.
 
Xzwatz's Avatar
 
Posts: 22
Karma: 12
Join Date: Mar 2012
Device: Kindle Touch
Thanks Yifanlu, I've installed the custom screensaver a while ago and i love it!!!

Just a question: I'm just a little bit bored about the order the images are displayed. Have you considered to make a version that shows the images randomly?, (just to be surprized every time the screensaver activates)

Thanks again,


Julio (aka Xzwatz).
Xzwatz is offline   Reply With Quote
Old 03-16-2012, 10:49 AM   #13
varnie
Connoisseur
varnie can tie a knot in a cherry stem with his or her tonguevarnie can tie a knot in a cherry stem with his or her tonguevarnie can tie a knot in a cherry stem with his or her tonguevarnie can tie a knot in a cherry stem with his or her tonguevarnie can tie a knot in a cherry stem with his or her tonguevarnie can tie a knot in a cherry stem with his or her tonguevarnie can tie a knot in a cherry stem with his or her tonguevarnie can tie a knot in a cherry stem with his or her tonguevarnie can tie a knot in a cherry stem with his or her tonguevarnie can tie a knot in a cherry stem with his or her tonguevarnie can tie a knot in a cherry stem with his or her tongue
 
Posts: 95
Karma: 22248
Join Date: Dec 2011
Device: Kindle Touch
Howdy, Yifanlu.
Just a suggestion: could you please edit your first thread's post and highlight the following valuable phrase
Quote:
This is not for Special Offer Kindles
? thank you.
Apart from that, good work! 8-)

Last edited by varnie; 03-16-2012 at 10:54 AM.
varnie is offline   Reply With Quote
Old 03-17-2012, 11:38 AM   #14
aditya3098
Vala
aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.
 
aditya3098's Avatar
 
Posts: 592
Karma: 1578840
Join Date: Jan 2012
Location: Valinor
Device: Kindle touch (hacked to the core) 5.3.2.1
What book is that?
aditya3098 is offline   Reply With Quote
Old 04-07-2012, 06:14 PM   #15
Culex
Member
Culex began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch
@yifanlu - when I turn my Kindle off, the screen goes Black? I uninstalled the screensaver mod and now it goes back to clearing like before. Why change it?
Culex is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Don't Panic - Custom Screensavers jphphotography Amazon Kindle 7 09-06-2012 09:14 AM
original kindle touch screensavers needed demonseye316 Amazon Kindle 3 01-15-2012 11:19 PM
Can I have custom screensavers but keep the banner ads and special offers? Nausicaa Kindle Developer's Corner 1 09-30-2011 07:34 PM
Touch Custom screensavers? tomsem Barnes & Noble NOOK 2 06-19-2011 03:19 PM
Archive for custom screensavers sleeplessdave Amazon Kindle 1 07-07-2010 01:33 PM


All times are GMT -4. The time now is 12:13 AM.


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