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 11-27-2015, 06:27 AM   #151
budalb
Enthusiast
budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.
 
Posts: 46
Karma: 9998
Join Date: Dec 2009
Device: Kindle DXG, Sony PRS-600
I applied patch externally. The two text files looks good even though the md5 checksums are different from expected. I hesitate to use the two patched library since there is no way to tell their validity other than md5 checksum. The whole thing seems to run fine without the two original library.

Quote:
Originally Posted by newman View Post
budalb: Do the patching locally and see what's wrong. CURL and SOUP are probably essential to webreader and browser, but I am not certain since I don't have ldd on my Kindle.
budalb is offline   Reply With Quote
Old 11-27-2015, 07:00 AM   #152
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by budalb View Post
- - - -
The whole thing seems to run fine without the two original library.
The system does require those libraries.
Amazon does not ship firmware with extraneous libraries.

What do you mean by "original" in this case of mixed firmwares?
Because you do need those from at least one of the firmwares.

Your finding of "run fine" is only because you haven't tested the features that require them.
(a.k.a: PEBKAC)
knc1 is offline   Reply With Quote
Advert
Old 11-27-2015, 09:00 AM   #153
donB006
Connoisseur
donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.
 
Posts: 86
Karma: 186294
Join Date: Jun 2011
Device: Kindle k3G 3.4.2; DXG 2.5.8; DXG 3.1; Iriver Story HD
Quote:
Originally Posted by budalb View Post
I tried to update 3.4 to 3.4.2. There are 4 files that had md5 checksum issue.

/etc/version.txt
/etc/prettyversion.txt
/usr/lib/libcurl.so.5.2.0
/usr/lib/libsoup-2.4.so.1.3.0

I skipped those files and updated successfully. The original files have the correct md5 checksum. Any thoughts?
I checked my k3 backup rootfs.img to compare those files. I backed up my k3 when updating from 3.0.2 to 3.1 to 3.3 to 3.4 then 3.4.2. The libsoup have the same file size in 3.4 and 3.4.2 while the libcurl is not the same. The libraries could still be different with the same file size. I don't know why there would have been an md5 error in the Amazon update scripts. Maybe the new libcurl has tls features so that would be important.

Code:
kindle keyboard k3 3.4.2

lrwxrwxrwx 1 root root     25 Jul 30  2011 libcurl.so -> /usr/lib/libcurl.so.5.2.0
lrwxrwxrwx 1 root root     25 Jul 30  2011 libcurl.so.5 -> /usr/lib/libcurl.so.5.2.0
-rwxr-xr-x 1 root root 223164 Jun  1  2012 libcurl.so.5.2.0
lrwxrwxrwx 1 root root     20 Dec 27  2010 libsoup-2.4.so -> libsoup-2.4.so.1.3.0
lrwxrwxrwx 1 root root     20 Dec 27  2010 libsoup-2.4.so.1 -> libsoup-2.4.so.1.3.0
-rwxr-xr-x 1 root root 372577 Jun  1  2012 libsoup-2.4.so.1.3.0


kindle keyboard k3 3.4

lrwxrwxrwx 1 root root     25 Jul 30  2011 libcurl.so -> /usr/lib/libcurl.so.5.2.0
lrwxrwxrwx 1 root root     25 Jul 30  2011 libcurl.so.5 -> /usr/lib/libcurl.so.5.2.0
-rwxr-xr-x 1 root root 223144 Sep  1  2012 libcurl.so.5.2.0
lrwxrwxrwx 1 root root     20 Dec 27  2010 libsoup-2.4.so -> libsoup-2.4.so.1.3.0
lrwxrwxrwx 1 root root     20 Dec 27  2010 libsoup-2.4.so.1 -> libsoup-2.4.so.1.3.0
-rwxr-xr-x 1 root root 372577 Jul 30  2011 libsoup-2.4.so.1.3.0
I used linux with mount -t ext3 -o loop rootfs.img /mnt/kindleimg to see the files.

Edit: I just noticed the dates for the libcurl are mixed. I don't know why the 3.4 is 1 Sep 2012 and the 3.4.2 is 1 June 2012. That is wierd.

Last edited by donB006; 11-27-2015 at 09:06 AM.
donB006 is offline   Reply With Quote
Old 11-27-2015, 09:12 AM   #154
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by donB006 View Post
I checked my k3 backup rootfs.img to compare those files. I backed up my k3 when updating from 3.0.2 to 3.1 to 3.3 to 3.4 then 3.4.2. The libsoup have the same file size in 3.4 and 3.4.2 while the libcurl is not the same. The libraries could still be different with the same file size. I don't know why there would have been an md5 error in the Amazon update scripts. Maybe the new libcurl has tls features so that would be important.

Code:
kindle keyboard k3 3.4.2

lrwxrwxrwx 1 root root     25 Jul 30  2011 libcurl.so -> /usr/lib/libcurl.so.5.2.0
lrwxrwxrwx 1 root root     25 Jul 30  2011 libcurl.so.5 -> /usr/lib/libcurl.so.5.2.0
-rwxr-xr-x 1 root root 223164 Jun  1  2012 libcurl.so.5.2.0
lrwxrwxrwx 1 root root     20 Dec 27  2010 libsoup-2.4.so -> libsoup-2.4.so.1.3.0
lrwxrwxrwx 1 root root     20 Dec 27  2010 libsoup-2.4.so.1 -> libsoup-2.4.so.1.3.0
-rwxr-xr-x 1 root root 372577 Jun  1  2012 libsoup-2.4.so.1.3.0


kindle keyboard k3 3.4

lrwxrwxrwx 1 root root     25 Jul 30  2011 libcurl.so -> /usr/lib/libcurl.so.5.2.0
lrwxrwxrwx 1 root root     25 Jul 30  2011 libcurl.so.5 -> /usr/lib/libcurl.so.5.2.0
-rwxr-xr-x 1 root root 223144 Sep  1  2012 libcurl.so.5.2.0
lrwxrwxrwx 1 root root     20 Dec 27  2010 libsoup-2.4.so -> libsoup-2.4.so.1.3.0
lrwxrwxrwx 1 root root     20 Dec 27  2010 libsoup-2.4.so.1 -> libsoup-2.4.so.1.3.0
-rwxr-xr-x 1 root root 372577 Jul 30  2011 libsoup-2.4.so.1.3.0
I used linux with mount -t ext3 -o loop rootfs.img /mnt/kindleimg to see the files.

Edit: I just noticed the dates for the libcurl are mixed. I don't know why the 3.4 is 1 Sep 2012 and the 3.4.2 is 1 June 2012. That is wierd.
Use readelf to list both library metadata, and compare that between versions.
They might well be functionally identical.
knc1 is offline   Reply With Quote
Old 11-27-2015, 09:45 AM   #155
donB006
Connoisseur
donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.
 
Posts: 86
Karma: 186294
Join Date: Jun 2011
Device: Kindle k3G 3.4.2; DXG 2.5.8; DXG 3.1; Iriver Story HD
readelf attached.
Is this what you wanted?
Attached Files
File Type: txt kindle-readelf.txt (778.9 KB, 261 views)
donB006 is offline   Reply With Quote
Advert
Old 11-27-2015, 09:54 AM   #156
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by donB006 View Post
readelf attached.
Is this what you wanted?
Well, I didn't want it, but that is exactly what someone needs to find if two different version of a library provide the same features.

And lab126 was nice, they forgot to strip the debug symbols, so their is a lot more than the usual amount of information.
(back in firmware series 3 days, lab126 was still learning how to do this embedded stuff.)

Note: All four listings are concatenated into one file.
Whoever does the comparison(s) will probably have to split that into four files.

Last edited by knc1; 11-27-2015 at 09:56 AM.
knc1 is offline   Reply With Quote
Old 11-27-2015, 10:23 AM   #157
donB006
Connoisseur
donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.
 
Posts: 86
Karma: 186294
Join Date: Jun 2011
Device: Kindle k3G 3.4.2; DXG 2.5.8; DXG 3.1; Iriver Story HD
There must be a reason the 3.4.2 updater script refused to patch the libcurl and libsoup. There should not have been a problem if the 3.4 files were as expected. My kindle k3 had no errors when updating from 3.4 to 3.4.2 although I didn't check any logs. If the 3.4 libraries are not as expected then they could be found in the pastebin page in the 3.4 rootfs.img
http://pastebin.com/Wdw4L7yT

An easier way might be to send me a PM with an email address and I could attach the two libraries to help. As long as they are for a kindle and not a nook or something.

How effective does the DX function with the 3.4.2 now?

Last edited by donB006; 11-27-2015 at 10:31 AM.
donB006 is offline   Reply With Quote
Old 11-27-2015, 10:44 AM   #158
budalb
Enthusiast
budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.
 
Posts: 46
Karma: 9998
Join Date: Dec 2009
Device: Kindle DXG, Sony PRS-600
Sorry for typos.

The system runs fine with two v3.4 libraries. I skipped the updates to the two libraries.

Quote:
Originally Posted by knc1 View Post
The system does require those libraries.
Amazon does not ship firmware with extraneous libraries.

What do you mean by "original" in this case of mixed firmwares?
Because you do need those from at least one of the firmwares.

Your finding of "run fine" is only because you haven't tested the features that require them.
(a.k.a: PEBKAC)
budalb is offline   Reply With Quote
Old 11-27-2015, 11:20 AM   #159
thatworkshop
hub
thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.
 
thatworkshop's Avatar
 
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
Quote:
Originally Posted by donB006 View Post
How effective does the DX function with the 3.4.2 now?
Depends on what you want. I had it and it was Ok, but I reverted back to 2.5.8.
For power issues, you should replace powerd from DX.
For TTS which was critical for me, it's no good and therefore I went back to 2.*
thatworkshop is offline   Reply With Quote
Old 11-27-2015, 12:02 PM   #160
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by budalb View Post
Sorry for typos.

The system runs fine with two v3.4 libraries. I skipped the updates to the two libraries.
Ok, now try to connect with the browser to a site that probits SSLv3.
I think the 3.4.2 version is the only one that will allow that.

Then check the logs after you let the device connect to Amazon, they probably now require the newer libcurl when it calls home.

Also, be sure you can read *.azw3 format books (a.k.a: kf-8).
I think that was another change introduced with 3.4.2 version.
knc1 is offline   Reply With Quote
Old 11-27-2015, 12:51 PM   #161
budalb
Enthusiast
budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.
 
Posts: 46
Karma: 9998
Join Date: Dec 2009
Device: Kindle DXG, Sony PRS-600
I don't access web sites or amazon.com very often. I use it for off line books.

.azw3 is supported since v3.4. It works ok.

Quote:
Originally Posted by knc1 View Post
Ok, now try to connect with the browser to a site that probits SSLv3.
I think the 3.4.2 version is the only one that will allow that.

Then check the logs after you let the device connect to Amazon, they probably now require the newer libcurl when it calls home.

Also, be sure you can read *.azw3 format books (a.k.a: kf-8).
I think that was another change introduced with 3.4.2 version.
budalb is offline   Reply With Quote
Old 11-27-2015, 02:32 PM   #162
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by budalb View Post
I don't access web sites or amazon.com very often. I use it for off line books.

.azw3 is supported since v3.4. It works ok.
Your Kindle accesses amazon.com for its own purposes, so check the logs for lib curl related errors.
knc1 is offline   Reply With Quote
Old 11-28-2015, 04:59 AM   #163
newman
homo viator
newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.
 
newman's Avatar
 
Posts: 78
Karma: 252594
Join Date: May 2010
Device: Kindle DXi with 3.4.2 firmware, Kobo Glo HD
knc1: Thanks, didn't know that about ldd.

bualb:

Which binaries load libsoup-2.4.so?
/usr/bin/browserd
/usr/bin/webreader

Which binaries load libcurl.so?
/usr/sbin/tmd
/usr/sbin/wifid
/usr/bin/curl

So even if you're not interested in TLS, libsoup has to be loadable and functional for you to have KF8/AZW3 since it is rendered by webreader.

The easy way how to test the patched libs may be by mount --bind the patched lib to the system one and restart all the binaries which depend on them (browserd, webreader, ...) and then test KF8 and TLS only web site. Though I am not entirely certain restarting all the affected processes is enough to re-load the respective library... Framework restart may be of some help as well.
newman is offline   Reply With Quote
Old 11-30-2015, 04:16 PM   #164
Kaan88
Member
Kaan88 began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Oct 2013
Device: Kindle PW 3
I can't upgrade to 3.3 because of a different "powerd" file. (checksum error whilte patching) Any idea how I can restore it?

Edit: And I deleted my rootfs backup accidentally. I'm stuck with 3.2.1.
Does anyone have rootfs image for Kindle 2 US? PM me.

Last edited by Kaan88; 11-30-2015 at 05:04 PM.
Kaan88 is offline   Reply With Quote
Old 12-01-2015, 08:50 AM   #165
donB006
Connoisseur
donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.donB006 can program the VCR without an owner's manual.
 
Posts: 86
Karma: 186294
Join Date: Jun 2011
Device: Kindle k3G 3.4.2; DXG 2.5.8; DXG 3.1; Iriver Story HD
Quote:
Originally Posted by Kaan88 View Post
I can't upgrade to 3.3 because of a different "powerd" file. (checksum error whilte patching) Any idea how I can restore it?
Are you sure you are using the correct Amazon update bin? The update would patch the old powerd and then compare the md5 with the expected value. I would suspect your kindle or update technique before the Amazon patching script. Do you remember altering the /usr/bin/powerd or the /etc/init.d/powerd?

Were there any other errors? Did you update to 3.3 anyway and bypassing the powerd? I wonder if there are more problems than just the powerd.
donB006 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle DXG - firmware 3.3 resolution? SoNic67 Kindle Developer's Corner 9 12-23-2015 09:50 AM
Firmware Update Can't update my Kindle DXG to 2.5.8 pavlingm Amazon Kindle 1 02-18-2014 03:25 PM
Firmware Update Kindle DXg firmware 3.x aliabbasjp Amazon Kindle 3 04-09-2012 02:02 PM
is it possible to update the available RAM on the Kindle-DXG? max99 Amazon Kindle 2 09-01-2011 11:59 AM
Firmware Update DXG Firmware update? polbit Amazon Kindle 5 08-26-2010 06:45 PM


All times are GMT -4. The time now is 12:44 PM.


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