02-19-2016, 07:49 AM | #1 |
Enthusiast
Posts: 31
Karma: 10002
Join Date: Oct 2015
Device: none
|
Would this be possible on a jailbroken PW?
I know it is possible in KOReader, and it has been amazing for me, but I was wondering if it would be possible to have a system-wide night mode (inverted colors), so I could use my purchased books from Amazon.
I've converted a few to use with KOReader, but I'm running into several books that are unable to be converted due to DRM. So, I'm kind of out of luck with that. I don't know a thing about programming, but I'm just wondering how much would have to go into it to get this night-mode feature. I'm not terribly concerned about ghosting, etc. I can't see well enough for that to matter, but I have found the KOReader's inverted color scheme to be absolutely remarkable and just think it would be so awesome to have this system-wide. Thanks for taking a moment to read this! |
02-19-2016, 08:18 AM | #2 |
Guru
Posts: 886
Karma: 10113994
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5 [bricked], Kindle PW1
|
|
Advert | |
|
02-19-2016, 08:37 AM | #3 |
The Grand Mouse 高貴的老鼠
Posts: 71,506
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Yes, get yourself over to Apprentice Alf's Blog and free your books from DRM.
|
02-19-2016, 09:14 AM | #4 |
Enthusiast
Posts: 31
Karma: 10002
Join Date: Oct 2015
Device: none
|
That's really weird. I have been using this for a while now (on and off) and have the latest version, but it doesn't seem to work with some of my books.
Either way, I'm still really hoping for a system-wide solution on the night mode thing, though. |
02-19-2016, 09:42 AM | #5 |
Zealot
Posts: 135
Karma: 1007000
Join Date: Sep 2013
Device: Kindle Paperwhite (7th Gen)
|
Have you got your kindle serial correctly entered into the plugin etc?
|
Advert | |
|
02-19-2016, 09:44 AM | #6 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
What is the book format that does not work? *.kfx?
|
02-19-2016, 09:51 AM | #7 |
The Grand Mouse 高貴的老鼠
Posts: 71,506
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
|
02-21-2016, 03:42 AM | #8 | |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
But a systemwide night mode setting would require modifying the system framework. Which implies getting a job at Amazon so you can get access to the deobfuscated Java source (although it is again theoretically possible to do without that. Ixtab spent a lot of time fighting Amazon's obfuscated Java, cf. JBPatch). Also, getting paid for the no-doubt nontrivial job of implementing such a thing would be nice too. |
|
02-21-2016, 08:26 AM | #9 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Hmm...
An xor instruction in the right code path of the frame buffer driver should do the trick. |
02-21-2016, 09:21 AM | #10 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Adapting the ld-preload trick used on Kobos should be relatively painless for someone interested... Plus, we *should* be able to use the HW flag without weird bugs like on Kobos.
The only hiccup is that Amazon *already* has a system wide ld-preload set... |
02-21-2016, 09:56 AM | #11 | ||
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Quote:
|
||
02-21-2016, 10:42 AM | #12 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Then it is fairly trivial, just have to adapt the code to the right mxcfb headers.
A good example of that would be KOReader. I really, really don't like nightmode, so don't expect me to do anything more than point the way, though . |
02-21-2016, 03:18 PM | #13 |
Enthusiast
Posts: 31
Karma: 10002
Join Date: Oct 2015
Device: none
|
Wow, several reads through this thread leads me to believe that I'm way over my head. haha. Oh well, it was worth a try! Much appreciate the work that has been done and help that has been given by all of you guys/gals around here!
|
02-21-2016, 03:27 PM | #14 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
That KOReader link has an 'invert flag' on the "todo" list. I guess that is as close as one can get without having the code already written. |
|
02-21-2016, 04:01 PM | #15 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@knc1: Inded it is .
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to tell if I'm jailbroken? | unabatedshagie | Kindle Developer's Corner | 4 | 07-30-2015 12:56 PM |
Jailbroken Gen(2) Paperwhites | knc1 | Kindle Developer's Corner | 31 | 10-25-2013 03:17 PM |
Help mounting jailbroken KT | whjms | Kindle Developer's Corner | 4 | 06-28-2013 08:46 AM |
Hacks My Paperwhite is Jailbroken! | geekmaster | Amazon Kindle | 35 | 10-07-2012 10:34 AM |