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-21-2014, 07:20 AM   #16
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,840
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
great, thank you both for the careful explanations!
paola is offline   Reply With Quote
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
Old 02-26-2014, 01:59 PM   #18
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
Do you have a couple full examples of valid URLs? And a list of the model numbers, or know where I could fetch the model number from?

Would this be something valid, except obviously replacing the model number with whatever it is for the Aura HD?
Code:
https://api.kobobooks.com/1.0/UpgradeCheck/AuraHD/00000000-0000-0000-0000-000000000320/Kobo/3.1.1/1
And does anyone know how I could tweak the startup scripts (or what script I should be tweaking) to set a HTTP proxy for a Kobo device?
jgoguen is offline   Reply With Quote
Old 02-26-2014, 03:58 PM   #19
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 jgoguen View Post
Do you have a couple full examples of valid URLs?
Pretending to have a Kobo Touch under FW 2.0.0:
Code:
https://api.kobobooks.com/1.0/UpgradeCheck/Device/00000000-0000-0000-0000-000000000320/Kobo/2.0.0/N905xxxxxxxxx
Pretending to have an Aura HD under FW 4.0.0:
Code:
https://api.kobobooks.com/1.0/UpgradeCheck/Device/00000000-0000-0000-0000-000000000350/Kobo/4.0.0/N905xxxxxxxxx
In both cases, the answer will be an xml block. The first containing a download link, the second telling that there is no upgrade. You can use the links as they are given here. The serial number seems to be of no importance.

Quote:
Originally Posted by jgoguen View Post
And a list of the model numbers, or know where I could fetch the model number from?
00000000-0000-0000-0000-000000000300 Wifi?
00000000-0000-0000-0000-000000000310 Touch
00000000-0000-0000-0000-000000000320 Touch C
00000000-0000-0000-0000-000000000330 Glo
00000000-0000-0000-0000-000000000340 Mini
00000000-0000-0000-0000-000000000350 Aura HD
00000000-0000-0000-0000-000000000360 Aura 6"
tshering is offline   Reply With Quote
Old 02-26-2014, 04:06 PM   #20
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
Quote:
Originally Posted by tshering View Post
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
Argument 3 is the affiliate id (in .kobo/affiliate.conf)
To prevent the update, you can safely and EASILY change the affiliate to Rakuten,
since the latest update it ever gets is version 2.6.0.
But if you want to use firmware prior than that,
libnickel modification might be required.
arasyi is offline   Reply With Quote
Old 02-26-2014, 04:12 PM   #21
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 arasyi View Post
Argument 3 is the affiliate id (in .kobo/affiliate.conf)
To prevent the update, you can safely and EASILY change the affiliate to Rakuten,
since the latest update it ever gets is version 2.6.0.
But if you want to use firmware prior than that,
libnickel modification might be required.
I just ckecked this. With Aura 6", Rakuten gives you FW 3.1.0.
tshering is offline   Reply With Quote
Old 02-26-2014, 04:23 PM   #22
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
Quote:
Originally Posted by tshering View Post
I just ckecked this. With Aura 6", Rakuten gives you FW 3.1.0.
Only apply for the older version then, sorry ^^
As I know, rakuten rarely update their firmware (I use their kobo glo)
and kobo Aura 6" is a fairly new product (It was just launched in Japan couple of months ago), so fair chance that the earliest firmware released for the rakuten version was 3.1.0.
Nevertheless, the OP device is the Aura HD, so this trick (changing affiliate id) should work
arasyi is offline   Reply With Quote
Old 02-26-2014, 04:46 PM   #23
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 arasyi View Post
Only apply for the older version then, sorry ^^
As I know, rakuten rarely update their firmware (I use their kobo glo)
and kobo Aura 6" is a fairly new product (It was just launched in Japan couple of months ago), so fair chance that the earliest firmware released for the rakuten version was 3.1.0.
Nevertheless, the OP device is the Aura HD, so this trick (changing affiliate id) should work
Strange, that Rakuten does not offer the latest FWs. Anything special with FW 2.6.0? I guess, only a few people outside Japan had it on there device.
tshering is offline   Reply With Quote
Old 02-26-2014, 06:32 PM   #24
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
Thanks tshering

Now I just need to find the magical serial number replacement to get firmware updates very shortly after release
jgoguen is offline   Reply With Quote
Old 02-26-2014, 06:54 PM   #25
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,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
So changing .kobo/affiliate.conf from; "affiliate=KoboDirect" to; "affiliate=Rakuten" will prevent an update but let those who want sync their devices?

Is this all that is needed for the AuraHD?

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Old 02-26-2014, 08:16 PM   #26
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
Quote:
Originally Posted by Ken Maltby View Post
So changing .kobo/affiliate.conf from; "affiliate=KoboDirect" to; "affiliate=Rakuten" will prevent an update but let those who want sync their devices?

Is this all that is needed for the AuraHD?

Luck;
Ken
Yes, I think so.
As long as it uses firmware version 2.6.0 (3.1.0 for new aura) or above the update will be prevented.

Last edited by arasyi; 02-26-2014 at 08:53 PM.
arasyi is offline   Reply With Quote
Old 02-26-2014, 08:54 PM   #27
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,515
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
I wonder if maybe setting it to a brand new affiliate might be safer, say MobileRead.
PeterT is offline   Reply With Quote
Old 02-27-2014, 12:01 AM   #28
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,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by PeterT View Post
I wonder if maybe setting it to a brand new affiliate might be safer, say MobileRead.
Possible, and brilliant if it works!

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Old 02-27-2014, 03:18 AM   #29
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 jgoguen View Post
Thanks tshering

Now I just need to find the magical serial number replacement to get firmware updates very shortly after release
I am not sure what you mean by the magical serial number replacement, and how this helps in getting the update early. Could you explain a little?
tshering is offline   Reply With Quote
Old 02-27-2014, 04:07 AM   #30
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: 47303824
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
I am not sure what you mean by the magical serial number replacement, and how this helps in getting the update early. Could you explain a little?
Kobo initial release of any firmware is to a small group. I believe it is to one of their partners or affiliates. Knowing who that was and maybe a matching serial number would mean you could jump the queue.

And I just remembered something. When the above was first mentioned in the beta group, something was said that suggested that the partner chosen was local to them. I wondered if that was to make it easier for them to get a device that didn't upgrade properly to look at what happened.

Last edited by davidfor; 02-27-2014 at 04:12 AM.
davidfor 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 03:14 AM.


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