View Single Post
Old 02-24-2014, 05:48 PM   #17
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
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.
I think we can replace the above string with

Code:
https://api.kobobooks.com/1.0/UpgradeCheck/%1/%2/%3/9.9/N
argument 4 is the FW version the device is currently on
argument 5 is the Serial Number, one character is sufficent

Edit: For the curious ones:
1= Device
2= model number (e.g. 00000000-0000-0000-0000-000000000320 for Touch model C)
3= Kobo

Last edited by tshering; 02-24-2014 at 05:54 PM.
tshering is offline   Reply With Quote