Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 05-30-2016, 02:32 PM   #1
bluepatchesm
Junior Member
bluepatchesm began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2016
Device: 2nd Generation Kindle
Kindle 2 - Won't update.

My coworker had a broken 2nd Gen. Kindle that I offered to try and fix. Turns out the battery was dead, I replaced the battery and booted it up.
The downside is the kindle was running version 2.1 and I couldn't access the kindle store. So I followed the directions of Amazon's website to manually update the device.
Downloaded the 2.3.bin and when I ran it, it stopped halfway through.
Now the device is updated to 2.2.2 but I can't seem to update it any further.

I read on another thread how to get the logs of the device and i found this part with the failure

160529:185220 ota_install: I def: patch: patchinfo="/usr/java/lib/libAdobePDFReader.so": patching file
160529:185226 ota_install: C def: patch: patchinfo="/usr/java/lib/libAdobePDFReader.so": checksum failure
160529:185227 system: E otaup: def:image update failed
160529:185228 eink_fb: W bs_cmd_ld_img_upd_data_which: def:full-screen update took 700 ms; should have been no more than 600 ms
160529:185228 system: I mntroot: def:Making root filesystem read-only


I'm not really sure what this means or how to try and fix it so I'd appreciate any help
bluepatchesm is offline   Reply With Quote
Old 05-31-2016, 01:27 PM   #2
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
I can't recall of any hack ever tweaking that file, so, I'm going to go with wonky storage?

You'd need someone with a backup of that file from FW 2.2 to get around this, and hope nothing else got trashed... But someone actually having that backed up seems like a long shot.
NiLuJe is offline   Reply With Quote
Advert
Old 05-31-2016, 03:39 PM   #3
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by bluepatchesm View Post
My coworker had a broken 2nd Gen. Kindle that I offered to try and fix. Turns out the battery was dead, I replaced the battery and booted it up.
The downside is the kindle was running version 2.1 and I couldn't access the kindle store. So I followed the directions of Amazon's website to manually update the device.
Downloaded the 2.3.bin and when I ran it, it stopped halfway through.
Now the device is updated to 2.2.2 but I can't seem to update it any further.

I read on another thread how to get the logs of the device and i found this part with the failure

160529:185220 ota_install: I def: patch: patchinfo="/usr/java/lib/libAdobePDFReader.so": patching file
160529:185226 ota_install: C def: patch: patchinfo="/usr/java/lib/libAdobePDFReader.so": checksum failure
160529:185227 system: E otaup: def:image update failed
160529:185228 eink_fb: W bs_cmd_ld_img_upd_data_which: def:full-screen update took 700 ms; should have been no more than 600 ms
160529:185228 system: I mntroot: def:Making root filesystem read-only


I'm not really sure what this means or how to try and fix it so I'd appreciate any help
That "/usr/java/lib/libAdobePDFReader.so" file is in the "update-adds.tar.gz" package inside "update-02-353720025-399380047.bin", which is inside "Update_kindle_2.3_B002.bin", which you can download from amazon (as you probably already have).

It is NOT in any of the included "rootfs_md5_list" files, and because it IS in "update-adds", this implies that it is a NEW addition to the firmware.

That lib file appears to be part of the Adobe PDF Library SDK (proprietary license), in which case we cannot share it here. I suggest that you use kindletool to extract it from the update*.bin files...

I am curious WHY it is not in any of the included md5 lists, so that it CAN fail on a patch. And for that matter, why didn't their update bundle already INCLUDE any necessary patches in the NEW binary library file they just added?



If you can jailbreak and SSH into your kindle, perhaps you can extract that file from the update package, and manually replace the existing "/usr/java/lib/libAdobePDFReader.so" file.

Because your version and OTA version have changed, you may need to apply the INNER (extracted with kindletool) updates beginning at the one that failed (probably in alphanumeric order).

EDIT: I PMed a download link for the extracted "lib" dir. It was already just sitting there waiting to be deleted, but why waste it? And BTW, it was in the last (highest alphanumeric) update file, so perhaps you need to DELETE it (and the other files in the "update-adds.tar.gz" as well, then re-apply the last (inner) update... Or, perhaps copy it in then apply the patch file manually? You decide...

Last edited by geekmaster; 05-31-2016 at 04:03 PM.
geekmaster is offline   Reply With Quote
Old 05-31-2016, 07:38 PM   #4
bluepatchesm
Junior Member
bluepatchesm began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2016
Device: 2nd Generation Kindle
I've gotten Kindletool and managed to convert the .bin file to a tar.gz, but I'm not sure of what I should do from this point?

I'm sorry to need so much help, but I'm very new to all of this.

Also, does it matter that I'm using a a B003 kindle, in regards to the file you gave me and the location of where it should be.
bluepatchesm is offline   Reply With Quote
Old 05-31-2016, 07:43 PM   #5
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by bluepatchesm View Post
I've gotten Kindletool and managed to convert the .bin file to a tar.gz, but I'm not sure of what I should do from this point?

I'm sorry to need so much help, but I'm very new to all of this.

Also, does it matter that I'm using a a B003 kindle, in regards to the file you gave me and the location of where it should be.
Probably a good idea to extract the file from a B003 kindle update, but I suspect it is the same as in the B002.

However, what is most important is that it match whatever the patch file expects.

And like I said, kindletool should also extract the internal update*.bin files (but you need B003 versions). Probably delete all the files off your kindle you see inside the "update-adds.tar.gz" file, then (try to) install the last internal update again (the one with the update-adds.tar.gz file in it). If that does not work, you may need to manually follow steps in the update script files (i.e. manually installing the binary patch files JUST for the "update-adds" files).

In any case, it would be a good idea to make a backup copy of your partitions NOW before making any changes....

Last edited by geekmaster; 05-31-2016 at 07:48 PM.
geekmaster is offline   Reply With Quote
Advert
Old 05-31-2016, 07:51 PM   #6
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by bluepatchesm View Post
My coworker had a broken 2nd Gen. Kindle [...]
BTW, you left out the hyphen in "co-worker". When I use that word, I am fond of adding a one-character latency to the hyphen (i.e. "cow-orker"), as has been a hacker tradition since the early days of Usenet...

Last edited by geekmaster; 05-31-2016 at 07:58 PM.
geekmaster is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle 4 SO non-touch won't update! :'( ryuji35 Kindle Developer's Corner 30 08-19-2012 06:48 PM
One of my Kindle Keyboard's won't update to 3.3 gers1978 Amazon Kindle 4 06-07-2012 02:23 PM
Kindle Won't Update... AsianKindle Amazon Kindle 1 04-08-2011 11:35 AM
Firmware Update Kindle DX won't Update :( aru Amazon Kindle 3 02-12-2010 10:20 AM
Kindle Won't Download/Update. Any Suggestions? fill2365 Amazon Kindle 8 07-20-2008 09:52 PM


All times are GMT -4. The time now is 09:46 AM.


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