| 
			
			 | 
		#1 | 
| 
			
			
			
			 Pain in the arse 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 758 
				Karma: 77856 
				Join Date: Apr 2013 
				
				
				
				Device: Kobo Aura One, Kindle 4 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Kobo Installer
			 
			
			
			I created a simple tool to install patches for Kobo. I get this idea from yoq. 
		
	
		
		
			Advantages: 
 The Installer has also an optional and rudimentary package manager: it prevents installation of older Kobo modifications if a newer version is already installed. Read here for further informations. If you want to use it for your mod, you've simply to: 
 The package contains also Python 3 interpreter and some of its modules. Here is the entire py3 Standard Library, pyc compiled. Last edited by Lucas Malor; 09-22-2014 at 05:03 AM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Pain in the arse 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 758 
				Karma: 77856 
				Join Date: Apr 2013 
				
				
				
				Device: Kobo Aura One, Kindle 4 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I've modified the Installer, so it will be more simple to use. Furthermore you can install more mods at one time, and only one reboot will be performed.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Pain in the arse 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 758 
				Karma: 77856 
				Join Date: Apr 2013 
				
				
				
				Device: Kobo Aura One, Kindle 4 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I updated my Kobo Installer. Now it's quite useful and simple to use. 
		
	
		
		
			You need no regular expressions, and you can add text after and before some string inside a file. Multiline text can be added as well. This way you can easily and safely patch /etc/init.d/rcS or any other file. I created a simple installer for the Night Mode mod. I created it for testing, but it works perfectly: Night Mode stay installed even after a firmware upgrade, and the installation works on every firmware. I plan to create package for the Kobo Installer also for the Start Menu, KoboLauncher and Koreader.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,698 
				Karma: 79983758 
				Join Date: Nov 2007 
				Location: Toronto 
				
				
				Device: Libra H2O, Libra Colour 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			You might like to clarify which version of Kobo f/w this applies to. As a bonus, make the patcher understand and detect different versions to ensure the correct one IS installed. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Additionally, I can see some major benefits to NOT automatically re installing a patch after a f/w upgrade in case of compatibility issues.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | ||
| 
			
			
			
			 Pain in the arse 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 758 
				Karma: 77856 
				Join Date: Apr 2013 
				
				
				
				Device: Kobo Aura One, Kindle 4 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 ![]() Quote: 
	
 Of course this works only if you've installed also the newer version this way. Last edited by Lucas Malor; 08-14-2014 at 03:36 PM.  | 
||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,698 
				Karma: 79983758 
				Join Date: Nov 2007 
				Location: Toronto 
				
				
				Device: Libra H2O, Libra Colour 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Noo... I meant different F/W levels NOT mod levels. I'm thinkiong for instance of the different levels of the nightmode library that are required for different Kobo f/w levels.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Pain in the arse 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 758 
				Karma: 77856 
				Join Date: Apr 2013 
				
				
				
				Device: Kobo Aura One, Kindle 4 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Yes, if some dev needs it I can add the possibility to specify the target firmware versions. I want to add also simple uninstall mechanism, in such a way that devs have only to write a text file with a list of files to be deleted and a script that reverts the patches. Users will simply have to write in a file the name of the packages they want to be uninstalled the next reboot. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			In the immediate future, I'll change the patching behaviour as you suggested: patches will be applied only once. You'll be able to reapply them all, changing a setting to "1". That setting will be reverted to "0" after that. Last edited by Lucas Malor; 08-14-2014 at 07:16 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 Junior Member 
			
			![]() ![]() ![]() ![]() ![]() Posts: 7 
				Karma: 436 
				Join Date: Jan 2021 
				
				
				
				Device: Kobo Clara HD 
				
				
				 | 
	
	
	
		
		
			
			 
			
			can you make just the python? the new kobolauncher is actually on pbchess 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | 
| 
			
			
			
			 Bibliophagist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,175 
				Karma: 174315444 
				Join Date: Jul 2010 
				Location: Vancouver 
				
				
				Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Considering that @Lucas Malor hasn't been heard from in 7 years, I suspect your answer is going to be no.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#10 | 
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,784 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			And I suspect that the project is dead.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Why Use Windows Installer? | abundantmind | Devices | 6 | 12-28-2013 06:53 AM | 
| Windows installer changes in 0.8.3 | Manichean | Calibre | 25 | 06-01-2011 11:46 AM | 
| Changes to Installer??? | kgn | Calibre | 29 | 01-23-2011 11:40 AM | 
| Installer for Reader | shmish | Sony Reader | 6 | 09-01-2010 02:47 PM | 
| Installer suggestion | AprilHare | Calibre | 3 | 12-23-2008 12:35 PM |