|  02-19-2014, 12:25 AM | #1 | 
| Guru            Posts: 739 Karma: 4306712 Join Date: Jun 2006 Location: Toronto Device: Kobo Libra 2, Clara 2E, and Clara HD; Kindle PaperWhite | 
				
				Preventing Wi-Fi firmware updating
			 
			
			I know I can turn Wi-Fi off, but I like to get my new content from the Kobo store, and I want to have my Pocket articles synchronized -- but I *don't* want to have a new Firmware pushed to my device when I'm traveling, or before my favourite hacks (night mode, 2-finger brightness control for Aura HD) are updated.  Is there a way I can do that?  A config setting that says, "Don't update the firmware"?  I would imagine that the Kobo support people must have some way of keeping units at older firmwares while otherwise accessing Wi-Fi, for testing purposes.  Anybody know what the magic words are? Thanks! Last edited by RobertJSawyer; 02-25-2014 at 10:19 PM. | 
|   |   | 
|  02-19-2014, 01:55 AM | #2 | 
| Grand Sorcerer            Posts: 24,905 Karma: 47303824 Join Date: Jul 2011 Location: Sydney, Australia Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos | 
			
			If there is a hidden option to do it, I haven't found it.  The only thing that did work was to change the version number in the file .kobo/version. But, I don think that this works in recent firmware. Plus it gets rewritten when you power off and on. There is a way to prevent the actual upgrade by modifying the install script, but that won't stop the download of the new firmware. And if there is an update available, it won't sync your books because the firmware download is done first. It might be something that patching libnickel could solve. I don't know if anyone has tried. | 
|   |   | 
|  02-19-2014, 02:05 AM | #3 | 
| GranPohbah-Fezzes r cool!            Posts: 1,056 Karma: 3151024 Join Date: Jul 2010 Device: Nook STRs, Kobo Touch, Kobo Glo | 
			
			Booga-booga?  Sim-salah-bim?  Burma Shave?  Buy one, get one free? Perhaps, not. I believe there was once upon a time a text file or configuration file that stored a version number and if you changed the version to one higher than what was being pushed it would not update. Unfortunately, I think they plugged that hole. Apparently I started later or just type slower than davidfor, likely both. Last edited by TechniSol; 02-19-2014 at 02:07 AM. | 
|   |   | 
|  02-19-2014, 03:46 AM | #4 | |
| Wizard            Posts: 2,841 Karma: 5843878 Join Date: Oct 2010 Location: UK Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura | Quote: 
 | |
|   |   | 
|  02-19-2014, 04:43 AM | #5 | |
| Grand Sorcerer            Posts: 24,905 Karma: 47303824 Join Date: Jul 2011 Location: Sydney, Australia Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos | Quote: 
 | |
|   |   | 
|  02-19-2014, 05:09 AM | #6 | |
| Wizard            Posts: 3,489 Karma: 2914715 Join Date: Jun 2012 Device: kobo touch | Quote: 
 Since I sync only very seldom (and did not do it since a long time), I don't know much about it. Are you saying that if you sync via wifi and your device is eligible for a new FW, the FW is downloaded, the device reboots, the FW is installed, the device reboots again, and after that, the device reconnects to the kobo server and syncs the data base? | |
|   |   | 
|  02-19-2014, 05:36 AM | #7 | |
| Grand Sorcerer            Posts: 24,905 Karma: 47303824 Join Date: Jul 2011 Location: Sydney, Australia Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos | Quote: 
 | |
|   |   | 
|  02-19-2014, 05:52 AM | #8 | |
| Wizard            Posts: 3,489 Karma: 2914715 Join Date: Jun 2012 Device: kobo touch | Quote: 
 | |
|   |   | 
|  02-19-2014, 09:49 AM | #9 | 
| Wizard            Posts: 4,466 Karma: 6900052 Join Date: Dec 2009 Location: The Heart of Texas Device: Boox Note2, AuraHD, PDA, | 
			
			As I understand it the link address that is used for the updates is one of those data fields in the "user" record of the "KoboReader.sqlite" database.  If the update address were different from the sync address you could disable just the update process.  As I don't want my AuraHD phoning home (or Google), I can live without a "sync" function, and just zero out them all. Luck; Ken | 
|   |   | 
|  02-19-2014, 06:22 PM | #10 | 
| Grand Sorcerer            Posts: 24,905 Karma: 47303824 Join Date: Jul 2011 Location: Sydney, Australia Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos | 
			
			There aren't any URLs in the user table. There are a lot of URLs in the config file, but none of them look like the one that have been recorded in the firmware download thread. Looking at libnickel, it looks like the URL is: Code: https://api.kobobooks.com/1.0/UpgradeCheck/%1/%2/%3/%4/%5 There are a pile of methods that look like they are involved in the checking for the upgrade and downloading it. It should be possible to patch one of those to always return that there isn't an upgrade. | 
|   |   | 
|  02-20-2014, 02:41 PM | #11 | 
| Wizard            Posts: 2,841 Karma: 5843878 Join Date: Oct 2010 Location: UK Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura | |
|   |   | 
|  02-20-2014, 02:56 PM | #12 | 
| Wizard            Posts: 3,489 Karma: 2914715 Join Date: Jun 2012 Device: kobo touch | 
			
			I think the solution you proposed is still a good one. Because in this way you can attempt to sync without fear of getting surprised by a FW update. As long as there is no update file sent to your device, the synchronization will take place, and if there is an update sent, you can decide whether to install it and sync, or to refuse it and to do without the sync for the time being.
		 | 
|   |   | 
|  02-21-2014, 05:04 AM | #13 | 
| Zealot            Posts: 105 Karma: 5885446 Join Date: Feb 2014 Device: Kobo Glo | 
			
			I am not sure about this, but if the stock kernel support iptables, maybe you can block the update url as mentioned by davidfor: Code: https://api.kobobooks.com/1.0/UpgradeCheck/%1/%2/%3/%4/%5 | 
|   |   | 
|  02-21-2014, 05:24 AM | #14 | |
| Wizard            Posts: 2,841 Karma: 5843878 Join Date: Oct 2010 Location: UK Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura | Quote: 
 | |
|   |   | 
|  02-21-2014, 06:06 AM | #15 | 
| Wizard            Posts: 3,489 Karma: 2914715 Join Date: Jun 2012 Device: kobo touch | 
			
			This is true. However, the problem DavidFor correctly pointed at is that after refusing a FW update the device will refuse to sync via wifi until you agree to accept the update. That means you can only buy time, but not prevent the device from updating for ever, unless you abstain from wifi sync, that is. So at least the update cannot take you by surprise.
		 | 
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Firmware not updating (M92) | martienne | Onyx Boox | 9 | 02-14-2014 06:03 AM | 
| Updating with EU-firmware | Eures | Amazon Kindle | 5 | 01-20-2012 09:37 AM | 
| Not updating firmware? | zeekthegeek | Kobo Reader | 1 | 03-30-2011 10:20 PM | 
| Firmware Update Please help on updating K2 firmware from 2.3 to 2.5 | PS Kindle | Amazon Kindle | 13 | 01-21-2011 11:49 AM | 
| Firmware Update Preventing firmware upgrade | kindoru | Amazon Kindle | 5 | 05-04-2010 07:50 PM |