Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 10-08-2018, 03:17 PM   #3796
dhdurgee
Evangelist
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 451
Karma: 1185420
Join Date: Jun 2010
Device: K3W, KT2
Quote:
Originally Posted by NiLuJe View Post
If KindleUnpack gets it right, there's definitely something fishy going on, and I'll need a test file to figure it out .

(I assume you enabled periodicals support in the KUAL extension?)
Yes I did, but the problem exists for only certain issues. There is a thread here about this. The problem is with the metadata in the mobi file, specifically I believe it is missing an attribute for the cover in the ones that fail to be properly processed. I believe you should be able to see this with the data from the KindleUnpack dump.

As this is thus far an infrequent issue I would be satisfied to work around it by manually processing the proper cover and replacing the bad one in the cover_cache if that can be made to work. Of course I would need to know how to process the cover properly for a KT2 or a K3 to accomplish this.

Dave
dhdurgee is offline   Reply With Quote
Old 10-08-2018, 03:19 PM   #3797
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: 7,880
Karma: 9300000
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O
What data? You only attached a jpg .

Plus, I'd need a full file to debug this.
NiLuJe is offline   Reply With Quote
Advert
Old 10-08-2018, 03:37 PM   #3798
dhdurgee
Evangelist
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 451
Karma: 1185420
Join Date: Jun 2010
Device: K3W, KT2
Quote:
Originally Posted by NiLuJe View Post
What data? You only attached a jpg .

Plus, I'd need a full file to debug this.
Got bit by the uploader as the file didn't have an extension it supported. I attached it to this post. If you need the full file you will have to tell me how to provide it, as it is obviously copyrighted material.

Dave
Attached Files
File Type: txt FSF_09.txt (36.7 KB, 22 views)
dhdurgee is offline   Reply With Quote
Old 10-08-2018, 04:29 PM   #3799
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: 7,880
Karma: 9300000
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O
Yeah, there's no cover metadata, and the current workaround of looking for the first image instead will here point to a probably unrelated gif .

I can *possibly* tweak that to switch that heuristic to use the first *jpg* image instead, but it still might be wrong.

Since it's been a few years since I touched that code, yeah, a link to the file in a PM would help test that theory (it's encrypted, I can't do anything with it except look at the metadata. If you want to be extra-paranoid and/or you're relying on public storage, put it in a passworded archive, and delete it as soon as I confirm I got it).
NiLuJe is offline   Reply With Quote
Old 10-08-2018, 04:39 PM   #3800
dhdurgee
Evangelist
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 451
Karma: 1185420
Join Date: Jun 2010
Device: K3W, KT2
Quote:
Originally Posted by NiLuJe View Post
Yeah, there's no cover metadata, and the current workaround of looking for the first image instead will here point to a probably unrelated gif .

I can *possibly* tweak that to switch that heuristic to use the first *jpg* image instead, but it still might be wrong.

Since it's been a few years since I touched that code, yeah, a link to the file in a PM would help test that theory (it's encrypted, I can't do anything with it except look at the metadata. If you want to be extra-paranoid and/or you're relying on public storage, put it in a passworded archive, and delete it as soon as I confirm I got it).
Given the encrypted book is OK I don't have a problem attaching that. I had thought you needed the decrypted version. In fact here are two for you.

I am also unsure if you can generalize from two cases, but be my guest. Another thought might be that perhaps in the case of a magazine that the largest image you find is the cover image.

As I noted, if there is a way to run this manually from the KindleUnpack output perhaps it is unnecessary to tweak the code. I am assuming that I can replace a cover in the cache with the proper one and have it stick in that case.

Dave

Last edited by NiLuJe; 10-11-2018 at 01:28 AM. Reason: Removed attached files ;) -- NiLuJe
dhdurgee is offline   Reply With Quote
Advert
Old 10-08-2018, 04:59 PM   #3801
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: 7,880
Karma: 9300000
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O
@dhdurgee:

Got it, thanks .

Try replacing linkss/bin/kindleunpack.py with this version, the approach I described earlier appears to do the trick here .
NiLuJe is offline   Reply With Quote
Old 10-09-2018, 07:48 AM   #3802
dhdurgee
Evangelist
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 451
Karma: 1185420
Join Date: Jun 2010
Device: K3W, KT2
Quote:
Originally Posted by NiLuJe View Post
@dhdurgee:

Got it, thanks .

Try replacing linkss/bin/kindleunpack.py with this version, the approach I described earlier appears to do the trick here .
Worked as expected here as well. Thanks for your quick support. I will let you know if I encounter any other problems.

Dave
dhdurgee is offline   Reply With Quote
Old 10-25-2018, 12:21 PM   #3803
Jacksaur
Junior Member
Jacksaur began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2018
Device: Kindle Keyboard
With some searching, am I correct in assuming that the Cover feature is disabled for Periodicals by default, and only possible to enable with KUAL? Or is there a way I could toggle it on manually?
Jacksaur is offline   Reply With Quote
Old 10-25-2018, 12:47 PM   #3804
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: 7,880
Karma: 9300000
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O
@Jacksaur: Your assumption is indeed correct, but you can do everything the KUAL extension does manually. Here, the only thing it does is a simple:

Code:
touch /mnt/us/linkss/periodicals
(i.e., create a file named "periodicals", no extension, in the linkss folder).

Note that current snapshots have better handling of periodicals covers.
NiLuJe is offline   Reply With Quote
Old 10-25-2018, 06:32 PM   #3805
Jacksaur
Junior Member
Jacksaur began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2018
Device: Kindle Keyboard
Works like a dream, thanks! By snapshot, do you mean the file you provided for the guy before me? I've already transferred it over if it's that.
Jacksaur is offline   Reply With Quote
Old 10-25-2018, 11:17 PM   #3806
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: 7,880
Karma: 9300000
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O
I meant those packages, which are wildly more up to date, and indeed include the aforementioned fix .
NiLuJe is offline   Reply With Quote
Old 10-29-2018, 03:57 PM   #3807
Jacksaur
Junior Member
Jacksaur began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2018
Device: Kindle Keyboard
Hmm, the installation fails for me, unless that's part of the process? I noticed some text mentioning the hack on the install screen but didn't quite catch it. I'm on a Kindle 3rd gen and using the k2_dx_k3 install file.
Jacksaur is offline   Reply With Quote
Old 10-29-2018, 05:47 PM   #3808
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: 7,880
Karma: 9300000
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O
The snapshots can only be installed through MRPI (mainly because it saves a tremendous amount of storage space, and essentially removes the "hey, I used the wrong file for my device" issue), which might be the problem here .
NiLuJe is offline   Reply With Quote
Old 11-02-2018, 07:28 PM   #3809
Fewns
Member
Fewns will become famous soon enoughFewns will become famous soon enoughFewns will become famous soon enoughFewns will become famous soon enoughFewns will become famous soon enoughFewns will become famous soon enough
 
Posts: 14
Karma: 548
Join Date: Feb 2012
Device: PW2
Hi,
i think the screensavers hack got slightly broken with FW 5.10.1.1 (on PW2);

From what i can gather (from the backup folder) the screensaver files have been previously named:
"bg_medium_ss00.png"
and now need to be named:
"bg_ss00.png"

manually renaming will get reverted by the hack though;
Fewns is offline   Reply With Quote
Old 11-02-2018, 08:01 PM   #3810
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: 7,880
Karma: 9300000
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O
@Fewns: Yep, that's been the case since FW 5.5, which seems to indicate you've reinstalled an old version of the hack after the update, and not the latest snapshots .
NiLuJe is offline   Reply With Quote
Reply

Tags
fonts, fw3, hack, jailbreak 3.1, niluje's hacks, screensavers, usbnet

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
USB network can't connect Slusho64 Kindle Developer's Corner 22 01-23-2013 10:00 PM
USB Network help? XxKryoxX Kindle Developer's Corner 6 12-31-2012 09:47 AM
Is there a hacks to install Time to read feature in other Kindles ? Biberkopf Kindle Developer's Corner 1 11-27-2012 05:08 PM
Hacks DXG Font hacks ? nimblem Amazon Kindle 2 09-21-2010 04:35 PM
Font Hacks wildchild06241 Introduce Yourself 5 06-24-2010 09:08 PM


All times are GMT -4. The time now is 04:11 PM.


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