![]() |
#1 | |
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29
Karma: 15056
Join Date: Mar 2023
Device: Kindle Paperwhite 3G (Keyboard), Used
|
How to make a new Kindlet?
Hello,
I'm trying to develop a Kindlet for my Kindle 3G. I recently found this thread, but it mentions copying files from the /opt/amazon/ebook/lib/Kindlet-1.1.jar folder. When plugging in my Kindle, I was unable to locate this folder, or any /opt folder. This post says they removed it, and I was wondering if there is any way to develop a Kindlet today? Quote:
mrfakename |
|
![]() |
![]() |
![]() |
#2 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 843
Karma: 2525050
Join Date: Jun 2010
Device: K3W, PW4
|
Quote:
You CAN develop a Booklet, which is how the newer version of KUAL works. That interface, however, is obfuscated and only portions of it are known at this point. If you want to try this take a look at KUAL and contact those supporting it at present if you would like to see the code. Dave |
|
![]() |
![]() |
![]() |
#3 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 415
Karma: 750442
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
|
Quote:
![]() see also these links: https://www.mobileread.com/forums/sh...d.php?t=219663 http://kimhauser.ch/index.php/articl...hello-world-v2 Last edited by encol; 03-29-2023 at 08:58 AM. |
|
![]() |
![]() |
![]() |
#4 |
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29
Karma: 15056
Join Date: Mar 2023
Device: Kindle Paperwhite 3G (Keyboard), Used
|
Hi,
@encol Thank you so much for the JAR files! I tried to compile it on my Kindle 3G (here is my code), however I'm getting the following error: Code:
The title you attempted to open requires a new version of Kindle software. Please update your Kindle to the new software version from the Menu in Settings or the Manage Your Kindle web page. For additional help, please call Kindle Customer Service at 1-866-321-8851 or 206-266-0927 Thank you so much! |
![]() |
![]() |
![]() |
#5 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,399
Karma: 99236514
Join Date: Apr 2011
Device: pb360
|
Quote:
Also, "Kindle 3G" is ambiguous. What are the first 6 characters of its serial number? |
|
![]() |
![]() |
![]() |
#6 |
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29
Karma: 15056
Join Date: Mar 2023
Device: Kindle Paperwhite 3G (Keyboard), Used
|
Hi @j.p.s,
1. This post seems to imply that it has been removed, which may mean that I no longer need /opt, so I'm no longer attempting to access it 2. The first 4 digits are B006A0. |
![]() |
![]() |
![]() |
#7 | |||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,399
Karma: 99236514
Join Date: Apr 2011
Device: pb360
|
Quote:
Quote:
I have a kindle PW3 running firmware 5.9.6.1, which does not have that file and can not run kindlets, but /opt/amazon/ebook/lib/ does have 560 other files. I have a reason for asking, and ask again, how specifically did you try to access /opt? Quote:
Which firmware version are you running? By the way, the wiki page https://wiki.mobileread.com/wiki/Kindle_Serial_Numbers lists the mobileread nicknames for each kindle model. |
|||
![]() |
![]() |
![]() |
#8 | |
Junior Member
![]() Posts: 8
Karma: 84
Join Date: Mar 2023
Device: Kindle Paperwhite 2
|
Quote:
Code:
/usr/java/bin/cvm -version Code:
java version "1.8.0_211-ea" Java(TM) SE Embedded Runtime Environment (build 1.8.0_211-ea-b00, profile compact1, headless) Java HotSpot(TM) Embedded Minimal VM (build 25.211-b00, mixed mode) Code:
<property name="ant.build.javac.source" value="1.4"/> <property name="ant.build.javac.target" value="1.4"/> Code:
SDK-Specification-Version: 2.1 |
|
![]() |
![]() |
![]() |
#9 |
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29
Karma: 15056
Join Date: Mar 2023
Device: Kindle Paperwhite 3G (Keyboard), Used
|
@evilReader, thank you so much! I performed your recommended fixes and was able to remove the "The title you attempted to open requires a new version of Kindle software." error!
I'm now having another error, however. When I attempt to run my Kindlet, I am getting the following error: Code:
Main class of the requested title could not be found Thank you! |
![]() |
![]() |
![]() |
#10 | |
Junior Member
![]() Posts: 1
Karma: 84
Join Date: Mar 2023
Device: Kindle 4th gen
|
Quote:
In your build.xml, make sure you define the following: Code:
<attribute name="Main-Class" value="test.main" /> |
|
![]() |
![]() |
![]() |
#11 |
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29
Karma: 15056
Join Date: Mar 2023
Device: Kindle Paperwhite 3G (Keyboard), Used
|
Hi,
Thank you @AABBox! I tried your fixes, however I'm still getting the class not found error. I looked more carefully at my console and realized it may have something to do with my Java installation. I'm very new to Java so I might be completely wrong, but here's my console output: Code:
added manifest adding: src/test/(in = 0) (out= 0)(stored 0%) adding: src/test/main.java(in = 624) (out= 254)(deflated 59%) Buildfile: <DIRECTORY>build.xml compile: [javac] <DIRECTORY>build.xml:15: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 1 source file to <DIRECTORY>/bin [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.4 [javac] error: Source option 1.4 is no longer supported. Use 7 or later. [javac] error: Target option 1.4 is no longer supported. Use 7 or later. BUILD FAILED <DIRECTORY>/build.xml:15: Compile failed; see the compiler error output for details. Total time: 0 seconds jar signed. Warning: The signer's certificate is self-signed. jar signed. Warning: The signer's certificate is self-signed. jar signed. Warning: The signer's certificate is self-signed. Code:
$ jar tf kindlet.azw2 META-INF/MANIFEST.MF META-INF/DNKINDLE.SF META-INF/DNKINDLE.RSA META-INF/DIKINDLE.SF META-INF/DIKINDLE.RSA META-INF/DKKINDLE.SF META-INF/DKKINDLE.RSA META-INF/ src/test/ src/test/main.java $ jar tf kindlet.jar META-INF/ META-INF/MANIFEST.MF src/test/ src/test/main.java |
![]() |
![]() |
![]() |
#12 |
Junior Member
![]() Posts: 8
Karma: 84
Join Date: Mar 2023
Device: Kindle Paperwhite 2
|
It looks like you have the source file for main.java in the jar, you need to put the compiled .class files into the jar for it to run.
|
![]() |
![]() |
![]() |
#13 | |
Junior Member
![]() Posts: 8
Karma: 84
Join Date: Mar 2023
Device: Kindle Paperwhite 2
|
Quote:
Code:
[javac] error: Source option 1.4 is no longer supported. Use 7 or later. [javac] error: Target option 1.4 is no longer supported. Use 7 or later. |
|
![]() |
![]() |
![]() |
#14 |
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29
Karma: 15056
Join Date: Mar 2023
Device: Kindle Paperwhite 3G (Keyboard), Used
|
@evilReader thank you so much! I switched to Java 8 and it worked perfectly! I'm now running into another problem with the keystore but I opened a different thread for that.
Thank you again! |
![]() |
![]() |
![]() |
Tags |
kindlet |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
HELP, about Kindlet-2.2.jar on 5.6.5 | hackqiang | Kindle Developer's Corner | 6 | 03-15-2016 03:40 AM |
Bookshelf kindlet | sowmya | Kindle Developer's Corner | 3 | 02-20-2014 02:51 PM |
How to Make Kindlet for Paperwhite | Arhim | Kindle Developer's Corner | 3 | 05-01-2013 04:02 PM |
Kindlet Jailbreak help | Firedb | Kindle Developer's Corner | 1 | 06-10-2012 04:47 AM |
[Help] How can I write kindlet with KT 5.1.0? | isaac.hu | Kindle Developer's Corner | 3 | 04-19-2012 10:49 PM |