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 05-12-2012, 10:44 AM   #1
LittleLui
Member
LittleLui began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Dec 2011
Device: Kindle Touch
Kindle Touch, 5.1.0 and Kindlet compatibility

Hey everyone,

I updated my KT to 5.1.0 a few weeks ago, and lost my jailbreak in the process. I finally got around to re-jailbreaking, and while other Kindlets seem to work (e.g. Font Hack), my Krosswords kindlet doesn't.

I get a message "The content you're trying to open is not compatible with this Kindle. Please try to update from the settings menu. If the problem persists, pleace contact Kindle support." (translated from german, might deviate a bit from its english equivalent).

I recompiled against the 2.1 versions of the kindle's Kindlet* jars, but that didn't change anything.

Anyone got a hint for me?

regards,
LittleLui
LittleLui is offline   Reply With Quote
Old 05-12-2012, 11:41 AM   #2
aditya3098
Guru
aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.
 
Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
Did you just change the actual kindlet jar or all the ones in /opt/amazon/ebook/lib?
aditya3098 is offline   Reply With Quote
Old 05-14-2012, 01:28 AM   #3
LittleLui
Member
LittleLui began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Dec 2011
Device: Kindle Touch
I changed only the kindlet jar. Other kindlets (e.g. Font Hack) work.
LittleLui is offline   Reply With Quote
Old 05-14-2012, 02:41 AM   #4
aditya3098
Guru
aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.
 
Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
Then try changing them all. Duh! Especially the ReaderSDK one

Last edited by aditya3098; 05-14-2012 at 02:43 AM.
aditya3098 is offline   Reply With Quote
Old 05-14-2012, 02:54 AM   #5
LittleLui
Member
LittleLui began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Dec 2011
Device: Kindle Touch
Quote:
Originally Posted by aditya3098 View Post
Then try changing them all. Duh! Especially the ReaderSDK one
Oh my. Must have been my lack of coffee, but I completely mis-parsed your original question to mean "did you change anything in the Kindlet-JARs" as opposed to "did you replace all the Kindlet-JARs".

Of course I replaced them all (thus the glob "Kindle*" in my original post).
LittleLui is offline   Reply With Quote
Old 05-14-2012, 03:08 AM   #6
aditya3098
Guru
aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.
 
Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
But you said Kindle* not ReaderSDK*
aditya3098 is offline   Reply With Quote
Old 05-14-2012, 12:21 PM   #7
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
@LittleLui: https://www.mobileread.com/forums/sho...5&postcount=28

ixtab is offline   Reply With Quote
Old 05-15-2012, 02:17 AM   #8
LittleLui
Member
LittleLui began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Dec 2011
Device: Kindle Touch
Ha!
Thanks to both of you, I'm pretty sure ixtab has pointed out what I missed. I'll have to check tonight
LittleLui is offline   Reply With Quote
Old 05-15-2012, 05:50 PM   #9
LittleLui
Member
LittleLui began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Dec 2011
Device: Kindle Touch
ixtab, i've seen some more manifest entries in your xml:
<!-- FW 5.0.* -->
<attribute name="Toolbar-Style" value="none"/>
<!-- FW 5.1.* -->
<attribute name="Toolbar-Mode" value="persistent"/>
<attribute name="Font-Size-Mode" value="point"/>
Do you have any more info on those? Most of the fonts in my kindlet are really huge now, and i suspect that the font-size-mode might help with that, but setting it to "point" didn't help at all.
LittleLui is offline   Reply With Quote
Old 05-15-2012, 06:05 PM   #10
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by LittleLui View Post
ixtab, i've seen some more manifest entries in your xml:
<!-- FW 5.0.* -->
<attribute name="Toolbar-Style" value="none"/>
<!-- FW 5.1.* -->
<attribute name="Toolbar-Mode" value="persistent"/>
<attribute name="Font-Size-Mode" value="point"/>
Do you have any more info on those? Most of the fonts in my kindlet are really huge now, and i suspect that the font-size-mode might help with that, but setting it to "point" didn't help at all.
Yeah, 5.1.0 fucked up pretty much everything.

The font size interpretation changed (which is exactly the reason why I made FontHack 1.3 for Firmware 5.1 only, and not below... it would simply not work on older devices, regardless of the "Font-Size-Mode" you set), and also hidden toolbars are not possible in 5.1.0. anymore. The only option you have is "transient" and "persistent". Better to have the toolbar present all the time than have it pop up every time you don't want it
ixtab is offline   Reply With Quote
Old 05-15-2012, 06:36 PM   #11
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: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by ixtab View Post
Yeah, 5.1.0 fucked up pretty much everything.
They "f***ed up" the low-level eink include files too, so I have to copy the C structures directly into my native mode apps and rename them so they can coexist with previous version. Otherwise each of my native mode apps would need one version for every firmware version from 2.x to 5.0.x, and another version that would ONLY work on 5.1.0. Even amazon's apps are now version-locked to ONLY 5.1.0, or everything EXCEPT 5.1.0 (if they use the eink display). They probably broke a bunch of other stuff while they were in there mucking about.

So, I guess with your discoveries in mine, it looks like 5.1.0 is a "Total F**k Up", as they say. I asked their techs to scrap it and go back to the 5.0.0 code base. I hope they follow my advice. I am getting tired of their false "we will contact you in a couple of days" replies.

What crop of inexperienced script kiddies did amazon hire to work on this new "version" anyway?


Last edited by geekmaster; 05-16-2012 at 10:11 AM.
geekmaster is offline   Reply With Quote
Old 07-07-2012, 01:37 AM   #12
digory
Enthusiast
digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!
 
Posts: 28
Karma: 50000
Join Date: Jun 2012
Device: kindle touch
Quote:
Originally Posted by LittleLui View Post
*snip*
<attribute name="Font-Size-Mode" value="point"/>
*snip*
Does anybody know another value that's understood for this attribute? Thanks!
digory is offline   Reply With Quote
Old 07-07-2012, 06:51 AM   #13
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
"pixel"

PS: And here's how to find out such things: unzip all Kindle jars into a common directory.

This way, you can do string searches on classes:

Code:
LANG=C grep -r Font-Size-Mode java/classes
Binary file java/classes/com/amazon/kindle/kindlet/internal/install/j.class matches
Then you can open that class using your favorite decompiler (I use jadclipse) and simply click your way through to com.amazon.kindle.kindlet.ui.FontSizeMode, where you find these constants:
Code:
    public static final FontSizeMode FONT_SIZE_POINT_MODE = new FontSizeMode("point");
    public static final FontSizeMode FONT_SIZE_PIXEL_MODE = new FontSizeMode("pixel");

Last edited by ixtab; 07-07-2012 at 07:21 AM.
ixtab is offline   Reply With Quote
Old 07-09-2012, 03:06 PM   #14
digory
Enthusiast
digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!
 
Posts: 28
Karma: 50000
Join Date: Jun 2012
Device: kindle touch
Aw, cool! Thx a lot!
digory is offline   Reply With Quote
Old 07-09-2012, 03:12 PM   #15
MaPePeR
Connoisseur
MaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughing
 
Posts: 58
Karma: 63518
Join Date: Apr 2012
Device: KT
might save you some time: fgrep is a better choice for patterns, that contain no patterns.
(at least wikipedia says so)
MaPePeR is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Touch Kobo Touch Speed and Wi-Fi Compatibility Zimbu Kobo Reader 5 04-07-2012 10:55 PM
Kindle title compatibility - UK to USA swiftness Amazon Kindle 2 12-07-2011 10:29 AM
Kindle 3, Nook Simple Touch, Kobo Touch and Libra Pro Touch jbcohen Which one should I buy? 4 06-18-2011 07:58 PM
Troubleshooting Vietnamese compatibility on Kindle 3 k3viinz Amazon Kindle 5 06-18-2011 04:02 AM
Kindle - Nook compatibility stugodwin Introduce Yourself 8 10-30-2010 08:39 AM


All times are GMT -4. The time now is 02:14 AM.


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