| 
			
			 | 
		#1126 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,557 
				Karma: 5000046 
				Join Date: Feb 2012 
				Location: Cape Canaveral 
				
				
				Device: Kindle Scribe 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			@DNSB 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Thank you so much!  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1127 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,777 
				Karma: 16319690 
				Join Date: Sep 2022 
				
				
				
				Device: Kobo Libra 2 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I added an "album" to my profile containing links to my typography and battery scripts in case anyone needs the links to them.  
		
	
		
		
		
		
		
		
		
		
		
		
	
	 
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1128 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,698 
				Karma: 79983758 
				Join Date: Nov 2007 
				Location: Toronto 
				
				
				Device: Libra H2O, Libra Colour 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1129 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,777 
				Karma: 16319690 
				Join Date: Sep 2022 
				
				
				
				Device: Kobo Libra 2 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I disabled forum signatures, because I got tired of seeing "click here" advertisements after every post, so it would be rather hypocritical of me to add such an advertisement to my own signature.  
		
	
		
		
		
		
		
		
		
		
		
		
	
	![]() People can opt in to seeing my projects by clicking on my profile, and then all the people to whom my projects don't apply -- such as Kindle users -- don't have to endure unsolicited, irrelevant signature advertisements every time they see a post from me.  
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1130 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,698 
				Karma: 79983758 
				Join Date: Nov 2007 
				Location: Toronto 
				
				
				Device: Libra H2O, Libra Colour 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			The only thing is that as you say the signature is in your face; the Album on profile I wouldn't even know to look there unless you rubbed it IIN my face! 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Sent from my Pixel 7a using Tapatalk  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1131 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,777 
				Karma: 16319690 
				Join Date: Sep 2022 
				
				
				
				Device: Kobo Libra 2 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Yes, but somehow people are finding out about my battery script, so perhaps if they know who wrote it, they'll know whose profile to check. At any rate, DNSB seems to have made a shortcut to paste in the post numbers every time somebody asks, so it may not matter.  
		
	
		
		
		
		
		
		
		
		
		
		
	
	 
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1132 | |
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,782 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1133 | ||
| 
			
			
			
			 Bibliophagist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,175 
				Karma: 174315444 
				Join Date: Jul 2010 
				Location: Vancouver 
				
				
				Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Quote: 
	
 Last edited by DNSB; 06-13-2024 at 05:17 PM.  | 
||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1134 | |
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,782 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1135 | 
| 
			
			
			
			 Bibliophagist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,175 
				Karma: 174315444 
				Join Date: Jul 2010 
				Location: Vancouver 
				
				
				Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1136 | 
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,782 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1137 | 
| 
			
			
			
			 livin' with ebooks 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 42 
				Karma: 42048 
				Join Date: Jun 2014 
				Location: Berlin (DE), winters in Aomori (JP), from Montréal (CA) 
				
				
				Device: Libra2, KOA 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I was poking around the patches and patching system today (wow, great stuff!) and I'm wondering how one sees the target CSS ("qss") that is being find/replaced by KoboPatch? I've cracked open the firmware download and checked every corner so I am guessing its all compiled into .so or something? 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I'd like to help make some patches but obviously would need to be able to see what I can search for and replace. (Apologies for asking something that most likely has been answered before. I get overwhelmed easily by pages and pages of branching discussion.)  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1138 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,777 
				Karma: 16319690 
				Join Date: Sep 2022 
				
				
				
				Device: Kobo Libra 2 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			The QSS patches are part of nickel.yaml, which targets the file /usr/local/Kobo/nickel, which appears to be the ELF binary containing the ARM assembly for the Nickel OS. The QSS patches are using "FindZlib", which probably means that the QSS files are zipped before they are compiled into the binary; as such, you can't simply search for the strings you want to replace. You need to extract the zip contents, unzip it, edit the files, rezip them, and insert the modified zip into the ELF, ensuring that the new zip is not larger than the original one. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	If you're serious about making patches, you could use Ghidra's ARM module to decompile Nickel and learn how things work, so you can start editing the binary and its associated libraries.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1139 | |
| 
			
			
			
			 livin' with ebooks 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 42 
				Karma: 42048 
				Join Date: Jun 2014 
				Location: Berlin (DE), winters in Aomori (JP), from Montréal (CA) 
				
				
				Device: Libra2, KOA 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Thank you. How precisely (I am looking for guidance here) did whoever made the existing patches in `nickel.yaml` figure out what strings of qss to find & replace in the firmware, e.g.: Code: 
	{Find: "line-height: 1.35em;", Replace: "line-height: 1.3em;"}
I have unzipped the firmware bundle, TarUnzipped the "KoboRoot.tgz" contained within, and poked around in various bin files in /usr/local/Kobo with readelf but that's not showing me anything I can recognize. Maybe I'm not using the right flags? Any and all pointers much appreciated!  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1140 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,811 
				Karma: 7423683 
				Join Date: May 2016 
				Location: Ontario, Canada 
				
				
				Device: Kobo Mini, Aura Edition 2 v1, Clara HD, Clara BW, Libra Colour 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
| Tags | 
| kobopatch, patches, patching, request, requests | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Request for PW3 kernel [posted in another thread] | mustdie | Kindle Developer's Corner | 5 | 10-21-2015 05:28 PM | 
| Kobobooks.com future feature request thread | Mrs_Often | Kobo Reader | 47 | 11-08-2012 12:59 PM | 
| [Old Thread] Calibre 'feature request' thread | Waba | Calibre | 2 | 02-10-2010 08:52 PM | 
| Feature request thread? | Dahak | Calibre | 1 | 08-02-2009 01:51 AM | 
| 3rd party software request thread | Adam B. | iRex | 23 | 11-28-2008 02:08 PM |