Mobileread
K3 Writing programs for Jailbroken Kindle 3?
#1  Shillelagh-101 11-21-2022, 11:58 PM
Hello!

I've recently uncovered a K3W I had a very long time ago and replaced its battery, jailbroke it, and have it connected via. SSH over wifi.

I would like to be able to have it make simple HTTP GET requests over the network to my raspberry pi server and show the HTML page, but I'm not sure if this is possible?

I had thought the Kindle ran on Linux so I could SSH into it and write python programs for it through the console, but I'm immediately clueless as none of the normal go to linux commands work (like help or dir).

So a few questions:
1) What OS does kindle actually run on?
2) Is there some kind of help command or list of commands?
3) Where would one look to get started on writing programs for the Kindle 3?

73,
Shillelagh
Reply 

#2  j.p.s 11-22-2022, 01:53 PM
1) linux
2) help and dir are not linux commands. man and ls are, but there are no man pages on the kindle.
3) look around at the threads on this forum.

You can install python from one of NiLuJe's packages.
Reply 

#3  Shillelagh-101 11-22-2022, 05:43 PM
Quote j.p.s
1) linux
2) help and dir are not linux commands. man and ls are, but there are no man pages on the kindle.
3) look around at the threads on this forum.

You can install python from one of NiLuJe's packages.
Ah, very nice!
Thank you. I've managed to get images on the screen and am trying out the python packages as we speak. Though taking a look at some of the packages and software others have written it looks like some have gotten C++ to work as well, which would be very nice for this application.

Thank you for the help.
Reply 

#4  dhdurgee 11-22-2022, 06:03 PM
Depending on what you are looking for you might be able to download and install software from a linux repository. You would need to make sure you have the appropriate version to do so, which is based on your hardware and firmware. I did this in developing the Sox package for some models of Kindle.

Dave
Reply 

#5  Kusuri 11-23-2022, 02:50 AM
sorry for hijacking this thread a bit but i have a quick question - does someone know if you can create UIs / interfaces with python on a kindle? I know that you can do it on linux and windows, but.. can i do it the same on kindle? or do i would need to use kindle specific librarys / apis the operation system is using to do this?
Reply 

#6  NiLuJe 11-23-2022, 01:39 PM
On a Kindle, you *might* be able to get some GTK stuff to work with a bit of effort (see kterm & co), as the system ships some ancient version of it.

But, generally, no, it's DIY land .
Reply 

#7  Kusuri 11-24-2022, 07:03 AM
Quote NiLuJe
On a Kindle, you *might* be able to get some GTK stuff to work with a bit of effort (see kterm & co), as the system ships some ancient version of it.

But, generally, no, it's DIY land .
okay, thought so.. thanks
Reply 

Today's Posts | Search this Thread | Login | Register