![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
Kindle firmware update tool
I noticed that I forgot to release a script to extract Kindle firmware updates. So I decided to combine it with update maker, make it a bit more flexible and add support for K2 (though I can't test this part). The result is this script.
The simplest usage is to convert a shell script to an "update" to run it on the device. For example, to add a custom screensaver. Usage: Code:
kindle_update_tool.py e update_mmm.bin Extract a Kindle or Kindle 2 firmware update file. Outputs a .tgz file with decrypted content. kindle_update_tool.py m [-k2] name file1 [file2 ...] Makes a Kindle or Kindle 2 (if -k2 specified) OTA firmware update file from the list of files. "name" is the update file suffix (final file will be called update_name.bin). Any file with .sh extension will be marked as a shell script to be executed. |
![]() |
![]() |
![]() |
#2 |
Sir Penguin of Edinburgh
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,375
Karma: 23555235
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
If anyone needs a copy of the BIN file, just ask. I'll send you a pm with the link. I won't post the link becuase we have several members who work for Amazon. I don't want Amazon to disable it.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Sir Penguin of Edinburgh
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,375
Karma: 23555235
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
What is the extractor supposed to give me when I run it on the 1.2 update? I though I would get a tar.gz containing a lot of files. All that I see in it is the BIN file. Did I misunderstand your post, or did I find a bug?
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
1.x updates are two-stage. The OTA update extracts a "full" update which is processed after reboot. Run the script on the second bin again.
E.g. here's what is inside tgz of 1.0.4 update: Code:
update-018-MR1-014475.bin update-fullota.dat update-fullota.ffs Code:
bootloader eink ioc scripts utils uImage update-018-MR1-014475.dat content_fs.img initrd_fs.img initrd-recover_fs.img root_fs.img list.txt |
![]() |
![]() |
![]() |
#5 |
Zealot
![]() ![]() ![]() ![]() Posts: 133
Karma: 348
Join Date: Jan 2008
Device: Kindle 2
|
Cool tool. Thx.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 65
Karma: 30418
Join Date: Jan 2009
Device: Kindle 2
|
Excellent. For those who want to play around, the arm-none-linux-gnueabi toolchain from codesourcery + igorsk's update maker could be a lot of fun
![]() |
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 8
Karma: 16
Join Date: Mar 2009
Device: Kindle 2
|
dropbear
I have been searching for an arm compiled dropbear so that we could use ssh instead of busybox. Anyone find one or can help?
|
![]() |
![]() |
![]() |
#8 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 65
Karma: 30418
Join Date: Jan 2009
Device: Kindle 2
|
|
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 8
Karma: 16
Join Date: Mar 2009
Device: Kindle 2
|
Sweet. Thanks.
|
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 9
Karma: 12
Join Date: Mar 2009
Device: Kindle 2
|
Hi igorsk, I have several questions about the your tools.
1, What is the ffs file? It looks like a shell script, but I remember you use .sh file before. 2, How should I set the update version? Is it created from the "name"? 3, Do I need at least two files to create the bin?(I saw a foo.bar from the screen saver example. Thanks |
![]() |
![]() |
![]() |
#11 | |||
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 241
Karma: 2617
Join Date: Mar 2009
Location: Greenwood, SC
Device: Kindle 2
|
Quote:
Quote:
Quote:
Oh, and thanks for the new script, Igor. |
|||
![]() |
![]() |
![]() |
#12 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
|
![]() |
![]() |
![]() |
#13 |
Junior Member
![]() Posts: 9
Karma: 12
Join Date: Mar 2009
Device: Kindle 2
|
Thanks clarknova,
Now I know why my ffs file did not run last night, I guess you had changed your ffs file to 755 yourself. I was trying to replace the font like you did. Where is the font directory now? Are they still in /usr/java/lib/fonts/ like Kindle1? I don't remember there is a Serif font in the kindle 1 directory. |
![]() |
![]() |
![]() |
#14 |
Junior Member
![]() Posts: 8
Karma: 16
Join Date: Mar 2009
Device: Kindle 2
|
/usr/java/lib/fonts/Caecilia_LT_66_Medium_Italic.ttf
/usr/java/lib/fonts/KindleBlackboxItalic.ttf /usr/java/lib/fonts/Helvetica_LT_75_Bold.ttf /usr/java/lib/fonts/KindleBlackboxBoldItalic.ttf /usr/java/lib/fonts/KindleBlackboxRegular.ttf /usr/java/lib/fonts/Helvetica_LT_76_Bold_Italic.ttf /usr/java/lib/fonts/Kindle_Symbol.ttf /usr/java/lib/fonts/Helvetica_LT_66_Medium_Italic.ttf /usr/java/lib/fonts/Caecilia_LT_76_Bold_Italic.ttf /usr/java/lib/fonts/Caecilia_LT_75_Bold.ttf /usr/java/lib/fonts/Caecilia_LT_65_Medium.ttf /usr/java/lib/fonts/Helvetica_LT_65_Medium.ttf /usr/java/lib/fonts/Kindle_MonospacedSymbol.ttf /usr/java/lib/fonts/KindleBlackboxBold.ttf |
![]() |
![]() |
![]() |
#15 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,771
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
And get it now before Amazon says it's illegal too.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Firmware Update Kindle 3 - Firmware update | kool | Amazon Kindle | 89 | 09-14-2010 02:41 AM |
Firmware Update The new in Kindle DX firmware update 2.5.4 | meem | Amazon Kindle | 0 | 08-01-2010 03:42 PM |
Firmware Update Can't update my Kindle from 2.1.1 to firmware 2.3 | gammarayburst | Amazon Kindle | 3 | 05-15-2010 09:57 AM |
Firmware-update switch tool (batch files) | T_Frain_K | Bookeen | 3 | 01-19-2010 06:21 AM |
next kindle firmware update | crionox | Amazon Kindle | 1 | 07-14-2008 06:20 PM |