Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-19-2014, 12:25 AM   #1
RobertJSawyer
Guru
RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.
 
RobertJSawyer's Avatar
 
Posts: 731
Karma: 3871570
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.
RobertJSawyer is offline   Reply With Quote
Old 02-19-2014, 01:55 AM   #2
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303822
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.
davidfor is offline   Reply With Quote
Advert
Old 02-19-2014, 02:05 AM   #3
TechniSol
GranPohbah-Fezzes r cool!
TechniSol ought to be getting tired of karma fortunes by now.TechniSol ought to be getting tired of karma fortunes by now.TechniSol ought to be getting tired of karma fortunes by now.TechniSol ought to be getting tired of karma fortunes by now.TechniSol ought to be getting tired of karma fortunes by now.TechniSol ought to be getting tired of karma fortunes by now.TechniSol ought to be getting tired of karma fortunes by now.TechniSol ought to be getting tired of karma fortunes by now.TechniSol ought to be getting tired of karma fortunes by now.TechniSol ought to be getting tired of karma fortunes by now.TechniSol ought to be getting tired of karma fortunes by now.
 
TechniSol's Avatar
 
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.
TechniSol is offline   Reply With Quote
Old 02-19-2014, 03:46 AM   #4
paola
Wizard
paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.
 
paola's Avatar
 
Posts: 2,832
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
Quote:
Originally Posted by RobertJSawyer View Post
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) 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!
YOu may want to have a look at the Kobo Start Menu in the developers' corner - it starts before the kobo interface is launched, and it allows you to delete any firmware update file that has been dowloaded on your machine, so even if it is downloaded when you sync for other purposes, I think you should be able to kill it before installation (see the second post in that thread).
paola is offline   Reply With Quote
Old 02-19-2014, 04:43 AM   #5
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by paola View Post
YOu may want to have a look at the Kobo Start Menu in the developers' corner - it starts before the kobo interface is launched, and it allows you to delete any firmware update file that has been dowloaded on your machine, so even if it is downloaded when you sync for other purposes, I think you should be able to kill it before installation (see the second post in that thread).
That is probably a better way than I was thinking of to stop the install, but, it doesn't help enough. The sync will still be blocked by the need to download and install the new firmware.
davidfor is offline   Reply With Quote
Advert
Old 02-19-2014, 05:09 AM   #6
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by davidfor View Post
That is probably a better way than I was thinking of to stop the install, but, it doesn't help enough. The sync will still be blocked by the need to download and install the new firmware.
David,
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?
tshering is offline   Reply With Quote
Old 02-19-2014, 05:36 AM   #7
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by tshering View Post
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?
Apart from the last bit yes. If you watch the top of the screen during a sync you will see the steps done. One of the first is "Checking for updates" or something like that. If there is an update, it is downloaded and there is no way to do a sync until it is installed. And after the update is installed, it doesn't automatically start another sync.
davidfor is offline   Reply With Quote
Old 02-19-2014, 05:52 AM   #8
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by davidfor View Post
Apart from the last bit yes. If you watch the top of the screen during a sync you will see the steps done. One of the first is "Checking for updates" or something like that. If there is an update, it is downloaded and there is no way to do a sync until it is installed. And after the update is installed, it doesn't automatically start another sync.
Thank you for the clarification!
tshering is offline   Reply With Quote
Old 02-19-2014, 09:49 AM   #9
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,465
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
Ken Maltby is offline   Reply With Quote
Old 02-19-2014, 06:22 PM   #10
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303822
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
The parameters are probably the current version, model and anything else Kobo think is useful. The result of the fetch probably includes the download URL.

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.
davidfor is offline   Reply With Quote
Old 02-20-2014, 02:41 PM   #11
paola
Wizard
paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.
 
paola's Avatar
 
Posts: 2,832
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
Quote:
Originally Posted by davidfor View Post
That is probably a better way than I was thinking of to stop the install, but, it doesn't help enough. The sync will still be blocked by the need to download and install the new firmware.
Thanks for the clarification David, as you see I am naive :-)
paola is offline   Reply With Quote
Old 02-20-2014, 02:56 PM   #12
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by paola View Post
Thanks for the clarification David, as you see I am naive :-)
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.
tshering is offline   Reply With Quote
Old 02-21-2014, 05:04 AM   #13
arasyi
Zealot
arasyi ought to be getting tired of karma fortunes by now.arasyi ought to be getting tired of karma fortunes by now.arasyi ought to be getting tired of karma fortunes by now.arasyi ought to be getting tired of karma fortunes by now.arasyi ought to be getting tired of karma fortunes by now.arasyi ought to be getting tired of karma fortunes by now.arasyi ought to be getting tired of karma fortunes by now.arasyi ought to be getting tired of karma fortunes by now.arasyi ought to be getting tired of karma fortunes by now.arasyi ought to be getting tired of karma fortunes by now.arasyi ought to be getting tired of karma fortunes by now.
 
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
arasyi is offline   Reply With Quote
Old 02-21-2014, 05:24 AM   #14
paola
Wizard
paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.
 
paola's Avatar
 
Posts: 2,832
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
Quote:
Originally Posted by tshering View Post
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.
I see - so the trick is to have the Start Menu installed before sync, while the problem existst if somebody has done a sync (and downloaded the update file) before isntalling your software, is this correct?
paola is offline   Reply With Quote
Old 02-21-2014, 06:06 AM   #15
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by paola View Post
I see - so the trick is to have the Start Menu installed before sync,
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.
tshering is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 02:08 PM.


MobileRead.com is a privately owned, operated and funded community.