| 
			
			 | 
		#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!  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,138 
				Karma: 12345678 
				Join Date: Feb 2010 
				Location: Serbia 
				
				
				Device: Kindle PW5, Kobo Libra 2, Kindle PW1 
				
				
				 | 
	
	|
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 The Grand Mouse 高貴的老鼠 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 74,450 
				Karma: 318076944 
				Join Date: Jul 2007 
				Location: Norfolk, England 
				
				
				Device: Kindle Oasis 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Yes, get yourself over to Apprentice Alf's Blog and free your books from DRM.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#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.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#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?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#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?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 The Grand Mouse 高貴的老鼠 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 74,450 
				Karma: 318076944 
				Join Date: Jul 2007 
				Location: Norfolk, England 
				
				
				Device: Kindle Oasis 
				
				
				 | 
	
	|
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | |
| 
			
			
			
			 Ex-Helpdesk Junkie 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421 
				Karma: 85400180 
				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.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#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.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#10 | 
| 
			
			
			
			 BLAM! 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506 
				Karma: 26047202 
				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...  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#11 | ||
| 
			
			
			
			 Going Viral 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212 
				Karma: 18210809 
				Join Date: Feb 2012 
				Location: Central Texas 
				
				
				Device: No K1, PW2, KV, KOA 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Quote: 
	
  | 
||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#12 | 
| 
			
			
			
			 BLAM! 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506 
				Karma: 26047202 
				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  .
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#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!
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#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.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#15 | 
| 
			
			
			
			 BLAM! 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506 
				Karma: 26047202 
				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 01:56 PM | 
| Jailbroken Gen(2) Paperwhites | knc1 | Kindle Developer's Corner | 31 | 10-25-2013 04:17 PM | 
| Help mounting jailbroken KT | whjms | Kindle Developer's Corner | 4 | 06-28-2013 09:46 AM | 
| Hacks My Paperwhite is Jailbroken! | geekmaster | Amazon Kindle | 35 | 10-07-2012 11:34 AM |