![]() |
#1 | ||
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Aug 2015
Device: kindle pw2
|
HELP, about Kindlet-2.2.jar on 5.6.5
Hello Every body,
After I found Guide: How to write Kindlets, I plan to write a "hello world" for my PW2(5.6.5) too, But I got an error after running the program: Quote:
0. kindle PW2(hijacked) with firmware 5.6.5(KUAL running well) 1. download and install jdk_8u73_windows_i586_8.0.730.2.1455434099.exe 2. get the Kindlet-2.2.jar form my kindle 3. compile the "hello world" using Quote:
5. copy jar to azw2 6. run it on kindle I'm confused with the kindlet verison, KUAL supports firmware 4.x and 5.x both, So I think both Kindlet-1.x and Kindlet-2.2 are used in KUAL, But after check the source code of KUAL, I found only Kindlet-1.2.jar was used. So, I have two questions: 1. why I got the Error when using the Kindlet-2.2.jar? how to fix this? 2. why KUAL still use Kindlet-1.2.jar for 5.x, Does the Kindlet-2.2.jar support V1.2 version kindlet app too? Thank you for read and answer my questions, ![]() Last edited by hackqiang; 03-13-2016 at 08:28 AM. Reason: add attachment |
||
![]() |
![]() |
![]() |
#2 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
KUAL supports firmware version 2.3.5 and newer (which, as you point out, includes series 4 and series 5 firmwares).
I.E: it will run on all models **except** the K1 and very old series 2 firmware (K2, DX, DXG that have not been updated). There are two (2) KUAL applications because Amazon changed the libraries during product evolution. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Aug 2015
Device: kindle pw2
|
Quote:
According to your works, I think the source code of KUAL which located here(https://bitbucket.org/ixtab/kindlelauncher) only support v1.2 Kindlet(because I only find the Kindlet-1.2.jar config), there should be another branch to support v2.2 Kindlet, right? |
|
![]() |
![]() |
![]() |
#4 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@hackqiang: IIRC, the classpath only lists KDK-1 to make Eclipse sane. Take that with a grain of salt, I don't use Eclipse.
See the build-script for the dual kdk build magic. I can't remember which exact KDK 2 lib I use, but it's likely one of the first ones to ensure proper backward compatibility. FTR, KDK 1 stuff won't run on FW >= 5.x, and KDK 2 stuff won't run on FW < 5.x. i.e., if it has a touchscreen, it's KDK2. |
![]() |
![]() |
![]() |
#5 | |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Aug 2015
Device: kindle pw2
|
Quote:
KUAL will use kindlet-2.* for firmware > 5.x |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Well, there's some glue trickery involved on the sourcecode front to tie things up neatly, but it's more fundamental than that: KUAL is built twice: once against KDK1, and once again KDK2. Which is why we ship the two different files.
(To be contrasted with Collections Manager, which is also built upteenth times against different FW versions, but always the same KDK, and as such only ships as a single file). |
![]() |
![]() |
![]() |
#7 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
All touchscreen devices run series 5 firmware. All series 5 devices are touchscreen. Series 5 firmware and Kindlet-2.* only run on touchscreen devices. However you word it, there is a 1:1:1:1 relationship between "touchscreen":"firmware 5.x":"Kindlet-2.x":"series 5 devices" = * = * = * = Future readers, note the date of this post. It may not remain true in the future. Firmware 6.x, 7.x, 8.x, no I didn't typo, 10.x, 11.x are all the Color android (fire) tablets. And then the Android (fire) tablets began getting series numbers less than 5.x (plus some sort of code word). 1.x, 2.x and 3.x are all grayscale, keyboard devices. (There has never been a KDK for 1.x or early 2.x devices - it wasn't supported.) 4.x is grayscale, virtual keyboard, without touchscreen or 3G (We had to fudge our own nickname pattern with the KT - which is internally, really a K4-2, it was clear that could be confused with the 2232 model K42. Our crystal ball has always had a cloudy area around the "K4" devices.) I.E: there used to be a hint of a pattern in the numbering plan. What the future will bring after 1st. quarter 2016 for grayscale devices can only be a WAFG at this point in time. 9.x is still up for grabs - I don't think it has made a public appearance (yet). Maybe it is in reserve for a non-Linux kernel device (Android also is run by a "Linux kernel"). A Windows-9 Kindle? (Microsoft seems to have skipped "9" also and you can bet they would love to get in on the "lets 'out google' the vendor locked google store" business (the Amazon vendor locked store is the only real challenge to the google vendor locked store). Last edited by knc1; 03-15-2016 at 04:38 AM. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How can I get Kindlet-1.2.jar? | Leo365 | Kindle Developer's Corner | 4 | 09-06-2014 12:06 PM |
Paperwhite development FW 5.3.5 (Kindlet-2.2.jar) | jete | Kindle Developer's Corner | 7 | 02-18-2014 07:03 AM |
how to convert to .jar? | sammygirl | Conversion | 4 | 05-25-2012 08:27 AM |
PRS-300 the jar wattpad ebooks | nygil123 | Sony Reader | 0 | 10-07-2010 01:53 AM |
tor's jar files | dgillette.rm | ePub | 5 | 12-28-2008 03:18 AM |