Quantcast
Channel: MobileRead Forums - Kindle Developer's Corner
Viewing all 4433 articles
Browse latest View live

Kindlet Main class not found when trying to launch my kindlet

$
0
0
Edit: I figured out what the problem was. It was because I was compiling the class with JavaSE-1.8 in Eclipse. This lead to a java.lang.UnsupportedClassVersionError. So I changed the JRE System Library to J2SE-1.5. Now it runs just fine. I found all this out by looking at the crash.log file.


I made a kindlet using a combonation of this tutorial and this tutorial. When I put it on my jailbroken K4 after signing it, I get a Main class not found error when I try to launch it.



This is what my mainifest looks like:

Code:

Manifest-Version: 1.0
Main-Class: testProject.segadude.test.Main
Implementation-Title: Hello
Implementation-Version: 1
Implementation-Vendor: segadude
Extension-List: SDK
SDK-Extension-Name: com.amazon.kindle.kindlet
SDK-Specification-Version: 1.3
Toolbar-Mode: persistent
Font-Size-Mode: point

I created the manifest and jar with Eclipse. I used the hello world example code in the second tutorial I linked. My main class is where it says it is when I look into the jar, so I don't understand why I am getting this error.

problem with custom fonts

Does this jailbreak's bridge need update?

$
0
0
Hello.

I think this jailbreak's bridge was last updated on March 16, 2016. I am on 5.4.5 pw2 9017 model.

I was wondering if an update is needed to the bridge sine the last line of the first post reads March 16,2016 so as to survive latest kindle firmware auto update.

The thread is here see the first post last line.
http://www.mobileread.com/forums/sho...d.php?t=186645

PW3 Need help turning my SO-PW3 into a display for Weatherstats

$
0
0
Hi there,

I want to use my SO-PW3 to display my weatherstats from a Netatmo-Weatherstatoin.

Here is an example with a old Kindle (https://www.mobiflip.de/kindl-eink-info-display/).

There is no account for amazon so I don´t see the specialoffer-adds right now.

The SO-PW3 was downgraded and then jailbroken and I did a manual update to FW:update_kindle_all_new_paperwhite_5.8.1
KUAL, Helper, USBNetwork, Online-Screensaver, ScreenSavers-Hacks are installed and working.
kual-helper-0.5.N "installed" but no clue how to use it or no menupoint in kual.

I want to disable the screensaver/standby to display a webpage all the time (with html-refresh). ~ds or ;debugOn -> ~disableScreensaver -> ;debugOff didn´t work (maybe specialoffer causes this problem?)

thanks for reading and sorry for my bad english.

knoob

PW2 Old school progress bar?

$
0
0
Is there a thingy (hack? kindlet?) that will give me the old school progress bar (as seen on Kindle 4) on my (recently jailbroken) PW2?

Kindle Touch Hopelessly Bricked

$
0
0
After spending time reading through the forums, and the various threads therein, and after downloading the guides/softwares/etc--including Kubrick--I'm starting to think my Kindle Touch is hopelessly bricked.

Backing up; plugged it in to charge yesterday. Took off the charger, and brought it with me to the mall. Sitting down to eat, noticed it was displaying an ad for a novel. Trying to press the power button, there was no response. Later on, it switched to the "Please ensure your Kindle is registered and connect wirelessly to receive the latest Special Offers." <--there it has stayed since. I've taken the back cover off, and pulled the battery. Subsequent to that I can seemingly get it into download mode, but it won't switch to fastboot, and only show up in Windows as "HID compliant vendor-defined device."

Nothing I do seems to change the display in any way, shape, or form.

Am I hopelessly bricked here?

Tools New method for Page Turn remote [ I need development help ]

$
0
0
I have a plan for a new version of the page turn remote, that would not require a smartphone and the buttons.

My idea would be to use the ESP8266 in AP mode ( hotspot ), so that my kindle can connect to it, and then using buttons on the ESP8266, send the page turn commands to the kindle.

https://learn.sparkfun.com/tutorials...-ap-web-server


Things that I need and want
  1. A Jailbroken PW3 qith KUAL ( check )
  2. pageturnd, a c program to listen on a port and turn the page. ( in-progress: crosstool-ng and arm-kindlepw2-linux-gnueabi )
  3. A Package that can install my pageturnd, and a KUAL extension to start/stop ( in-progress: kindletool )
  4. an ESP8266 with software that can send the page turn messages to he kindle ( in-progress )

If the ESP8266 was capable of ssh, I could just send the commands over that, but it is not.
Alternatively to point 2 or ssh, I could set up telnetd as well I imagine, but I think it would be nice if the package could have the code to tell if it should use libxdo, or the keyboard, for the different kindles.

The xdotool I am using I got from twobob's post at http://www.mobileread.com/forums/sho...=162022&page=3

For some reason, I just cannot figure out from all the threads how to get a crosscompiler and all the dependent libraries set up.

What I am asking for help on:
I need an environment where I can cross compile. Simply download arm-non-eabi-gcc does not get me all the headers I need, and certainly not the libraries that I would need to link to.

And this is what I think I really need help with. I'm trying to figure out all the different setups people use, and its just crossing wires in my head.

For example, the ext3 file in this post: http://www.mobileread.com/forums/sho...46&postcount=6

And then the following says to install "Debian Wheezy via GRIP" and I have no idea what GRIP is, or what effect this will have on my kindle.

If anyone possibly has a step-by-step setup for getting started on the compilers ('m on window ), even if it starts with "Install a debian virtual machine, then do ...", I would be so happy.


Edit Step-by-step so far:
0: ubuntu vm and run the apt commands at the bottom
1: Jailbreak kindle
2: git clone https://github.com/NiLuJe/crosstool-ng/ (( the snapshot didnt have the configure and bootstrap - or I hadnt installed all the required dependencies yet ))
3: ./bootstrap
3: ./configure --enable-local
4: ./ct-ng arm-kindlepw2-linux-gnueabi
5: ./ct-ng build
6: ~/x-tools/arm-kindlepw2-linux-gnueabi/bin/arm-kindlepw2-linux-gnueabi-gcc test.c

Done.

Dependencies installed with apt for crosstools-ng ( and some other scripts, but I couldnt back them all out )
sudo apt-get install autoconf
sudo apt-get install awk
sudo apt-get install bison
sudo apt-get install cmake
sudo apt-get install crosstool
sudo apt-get install crosstool-ng
sudo apt-get install flex
sudo apt-get install gawk
sudo apt-get install git
sudo apt-get install glibtool
sudo apt-get install gperf
sudo apt-get install help2man
sudo apt-get install joe
sudo apt-get install libncurses
sudo apt-get install libncurses-dev
sudo apt-get install libtool
sudo apt-get install libtool-bin
sudo apt-get install linbcurses
sudo apt-get install linbcurses-dev
sudo apt-get install make
sudo apt-get install makeinfo
sudo apt-get install svn
sudo apt-get install svn2cl
sudo apt-get install texinfo
sudo apt-get install transifex-client

Hardware USB OTG Mouse Support and page turn on PW3(possible KV/KOA)

$
0
0
Experimental, unstable and buggy!!!

Long story short, since a DIY kindle USB audio adapter can be made from a regular USB OTG cable + USB audio adapter, I believe that any kindle supporting the USB audio adapter(PW3 as well as KV KOA) should have OTG compatible hardware.

So I compiled necessary USB mouse modules from PW3 5.8.1 source and wrote a small app to monitor the mouse click and turn page accordingly.

Installation:
Spoiler:
1. connect kindle to PC and create a folder "usbotg"(so it will be "/mnt/us/usbotg" in file system). Put all extracted files to it.
2. log in with usbnet over wifi(I have usbnet over USB disabled, not sure if its necessary)
3. run
Code:

cd /mnt/us/usbotg
insmod hid.ko
insmod usbhid.ko
insmod mousedev.ko

4. plugin the OTG cable and USB mouse, check "dmesg" output as well as "ls /dev/input/mice" to verify.
5. run
Code:

./mouseturn /dev/input/event1 &
by default, left = next page, right = previous page, middle = menu.
6. to exit, run
Code:

killall mouseturn


Known issue
Spoiler:
1. In my kindle, the usb port toggles between host and gadget mode, and, lots of mouse clicks are not registered. My OTG cable has sd card reader, HDMI builtin so I'm not sure if its my cable or the kindle hardware or misconfigured kernel modules. I don't have other OTG cable at hand, so please test and report your result.

2. the kernel modules will be removed if the USB otg cable is unplugged for some time, insmod again might cause the kindle hang but can reboot by long pressing the power button. Again, I'm not sure if its my cable or not.


Other though

Is it possible to add the mouse entry to /etc/xorg.conf? and would be great if someone can build a KUAL extension so it can be installed and run without usbnet.

Attached Files
File Type: zip pw3-otg.zip (60.8 KB)

Thanks so much

$
0
0
Quite a while ago, multiple years now I'm sure(shortly after receiving my first RPi B+ as a gift)... I somehow heard of the KindleBerry Pi! In all honesty I think I was trying to find out(I mean googling) if there was any way I could use the e-ink screen scrapped from an original kindle(The white plastic one with the weird silver loading bar aside the e-ink screen....) with a RPi B+ as it's primary display ....

I know at that point I knew adapters were made to attach many different types of screens to RPi devices. I think that was all I knew...

I thought the kindleberry pi was an amazing project when I came across it, I still do every time I re-read that original post I came across.

I have appreciation more so now than I possibly ever could have had then than I did that first reading about the kindleberry pi(I recall being completely discouraged because all I had was a functioning screen from an original kindle...). Since I have a slight understanding of what's going on to make an OS(boot, be interactive, give output... etc, etc, etc)work in general... as opposed to then when I first searched(I'm sure it was something lone the line of "RPI kindle e-ink screen...)... HA! use a kindle's e-ink screen natively with a(n) RPi device....

I was a complete novice to Linux when I jail-broke my kindle keyboard(and for what it's worth, even before that kindle keyboard.... jailbreaking a few other devices; nooks, androids, and of course iOS....) I did it quite some time ago, all of the above of before the kindle jail break was a thought in my mind....

What this post is really about is me realizing how much work and most importantly giving thanks for all that work. The work in this case, all that goes into something that should be simple.... like running a program on(in this case.... on a very locked down version of) a Linux device.

Thank you all, re-readng what I read a year ago really has some gears turning, I really needed that ATM. I forget all the time that my kindle is powered by Linux, but how else would it just work(and be so restricted... not that there weren't ways around that)....

PW2 Kindle paperwhite audio support.

$
0
0
I am wondering if it would be possible to make a kual extension that would play mp3's using amazon's audio adapter.

Update Error 4 While Downgrading Kindle

$
0
0
Hello folks, when trying to downgrade kindle to jalibreak it, I'm getting the "Update Error 4" every time. I tried finding the answer in web before reaching to you all - didn't find one.

My serial # starts with 9017, my kindle model is Paperwhite 2 - International version(PW2IL) and my current kindle firmware version is 5.8.1. I'm trying to downgrade my kindle to 5.4.3.2 from the bin below:
[URL="http://initial-eu.gunshi.org/update_PW2_5.4.3.2_initial.bin"].

I just put the bin in my kindle root folder(The only other folder I see is Documents) and gave Update my kindle option, update kicked off, but ended in the mentioned error.

I tried resetting the device again and did the same. I tried with airplane mode on, wifi on, wifi off. Nothing worked! Could someone help me here?:help:

PW3 Registration Help!!!!

$
0
0
Hey Guys

I have recently purchased a Kindle PW3 from dodgy dave accross the street and surprise surprise the device cannot be registered as its been reported lost or stolen albeit being brand new and sealed.

It's on the 5.7.4 fw and i've managed to jailbreak it. Is there anyway i can bypass the registration to use the full potential of the device (mainly just the WIkipedia bit)

Thanks in Advance,:thanks:

Masud

GTK Mahjong possible for Kindle PW?

$
0
0
Hi,

since a long time I'm searching for a Mahjong game for my PW1.

I saw sguerrini97 was able to compile GTKSudoku for the Kindle PW I started searching for an open source GTK based Mahjong implementation..

I found the following source;
https://github.com/passcod/mah-jong

Could someone with a running cross compiler give it a try if it is possible to get it compiled ?

Thanks in advance
Hanspeter

Tools Use android phone as wifi remote for kindle

$
0
0
This is inspired by @coplate idea.

On kindle a small daemon program listens to a port then turns page accordingly. It should work on all touch devices, but I only tested on my PW3.

While @coplate builds a dedicated button as remote, I decided to use an Android phone. The android app monitors key input and sends command to kindle. It's written in C, CLI only, requires root access and need some work to set it up, however it has a small footprint, supports all kind of hardware buttons, and most important, it works when phone is locked/screen off, making it a practical solution for wifi remote.

Check README.txt in attachment for setup instructions. Source code is also included.

Attached Files
File Type: zip android-wifi-remote-kindle-en.zip (29.1 KB)

Converting the KT3(W) to a network or standalone computer ?

$
0
0
Hello everyone, I am wondering if the new Kindle 8 could be used as a small computer...

Either a standalone computer :
- using the bluetooth controller on the KT3 to connect a bluetooth keyboard...
- using the Wifi for lan or Internet access
- using the screen as an alphanumeric terminal at first (GUI not needed), so as to run command line tools like plain text editors, mailers, compilers/interpreters...

or even just a remote terminal :
- bluetooth keyboard and nice e-ink display as above
- terminal software and ssh client to remotely work on server kept at home

I'd love it... :p

so, a first question is : does the bluetooth controller on the KT3 support other profiles than the audio one ? (introduced in this 8th generation for Amazon's VoiceView)

Thanks to anyone who can make the ball rolling... :thumbsup:

kindle pw2 brick

$
0
0
I think my one is pw2 and I downgrade to 5.4.3.2 and install duokan..

Duokan is not run and I thought it was not install and I reset my device..

At first, it looks good but it stuck at the end of loading and computer can't recognize that I plug kindle..

So.. I can't put any bin file like rescue pack or firmware

Anyone know how to fix this?

:help:

(Sorry for my English skill... I'm not living in English speaking country...)

SSH over Wi-Fi: Fixed I.P for Kindle?

$
0
0
On my PW1(jailbroken), I am able to do an ssh login over wifi.
However, the I.P keeps changing between sessions(DHCP from router).
There doesn't seem to be any way in the pw1 settings to make this a fixed I.P., like in, say Ubuntu Linux.
This is useful for keeping a fixed setting on say, my laptop to do a SSH login, instead of checking what the current I.P is every time and then feeding that I.P into the SSH command/client.

After some fiddling, I got this to work:
In kterm, I entered: ip addr add <desired I.P> dev wlan0
<desired I.P> is something like x.y.z.99 which I know will never be allotted by the DHCP.
Now, I'm able to login on the new, fixed I.P. The above command could obviously be turned into a KUAL extension.

Some drawbacks:
1. Existing I.P got from DHCP is also retained(unless I do a "ip addr del .." command). I can continue logging in on this I.P too!
2. The new I.P is not persistent. It is lost even when the screensaver kicks in.

Request some help from you experts to polish this hack!

Remove 5.6.5 Jailbreak?

$
0
0
Hello everyone I have a 7th generation Kindle e-reader that I jailbroke using the 5.6.5 method. Recently I've encountered some sort of dirt or stuck pixel under the screen that has been driving me nuts. I've already contacted Amazon and they are sending me a replacement but now I'd like to know if I can remove the jailbreak I have on my current Kindle before I return it?

This is the tutorial I followed.

Force the indexing of a book

$
0
0
Hello, i wonder if there's any way to force the building of the index of a book?
I downloaded a (large) book on my pw3 and for a lot of time i was unable to search anything on it.
Any command to force this process or to show the current status?

Perhaps we can make a kual extension ;)

PW3 Where to find link to "update_PW3_5.6.1.1_initial.bin"

$
0
0
Hey, looking to downgrade my PW3 from 5.8.1 to 5.6.1 in order to jailbreak.
No link in here, so where can I find the "update_PW3_5.6.1.1_initial.bin" file?
Cheers
Shaul
Viewing all 4433 articles
Browse latest View live