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

Kindle Dashboard - Battery saving, Automation, and Requests-error

$
0
0
Hi. I managed to use FBInk + Requests + Regex on Python (https://www.mobileread.com/forums/sh...d.php?t=335501) to create a little dashboard that is displayed on the Kindle screen. Requests pulls data from various http sources (including Google Sheets/Scripts with a little help from Query language). I currently run it via a nohup bash script, after disabling the screensaver with ¬ds and have a couple of questions.

1. What's the best practice for saving energy consumption? Is it possible to say... display the image with FBInk and then set that as a screensaver and put the Kindle to sleep on a timer before running the script again ad-infinitum? What packages would I use to accomplish this?
2. Re. Nohup. I tried Tmux as well but my instance crashes everytime I terminate the SSH connection (whether this is USB or WiFI doesn't matter). Didn't bother with Screen.
3. If I set say, a 15 minute timer, Requests stop working returning an "max retries exceeded with url newconnectionerror" error. Reseting the Kindle gets rid of the error. I infer from this that there is that one of the internal threads running requests has 'frozen' or 'timed out'- maybe because requests hasn't been closed properly? Apologies - I don't know the exact terminology for this as I don't code much.

Kindle Bricked after attmping the PW4 SW Jailbreak

$
0
0
So, I got a kindle 10th gen(WiFI, 8GB) as a gift for xmas, serial number starts with "g090 vb" so it seemed like it actually was a PW4. So, after sending the factory firmware, it installed it, but after the "update successful" popped up, it went to the tree screen. where it says "Please Wait a moment while your kindle starts up"
when I hold the power button, the button does its green and amber thing. but nothing happens on screen. Tried holding it as well for upwards of 5 mins.

When I plug it into my computer, it shows up in device manager as "SP Blank 6SLL" have I fucked up my device?

introduce larm clock project

$
0
0
Hi,
I was searching over a year for an alarm clock, but nothing was fitting my wishes. So I was happy to recognize that the Kindle devices can be rooted and be used as an linux-devices (dualboot). Next was buying one. I found a cheap Voyage and bought it on the spur of the moment. I obviously read the "headline" and was resigned, that the root does only work on old firmware versions. Mine had 5.13.2. But, reading the next pages, there was a chance to get this done with serial-root. Searching - and finding - my old programmer (from playing around with an arduino years ago) results in: no support of 1,8V. Because I do not want to kill the Kindle by trying 2,5V signal level, I bought a new programmer and tried the solderfree needle-way. After spending half an hour for the right timing, to get into the debug mode, rooting was managable. The biggest problem was the large number of (obsolete/old firmware) instructions and getting the relevant informations.

Okay, enough of the preface, the result in a nutshell:
I was suprised, that on the Kindle is an BusyBox running. Therefore I did not install alpine in dualboot, but builded the alarm on the Kindle-System. Because I am not able to write code in any programming language, but are familiar with linux, I decided to do this in shell. Friends called me crazy - in any language code would be only about few lines - I wrote about 300. Most of this interpreting hard coded touch-events.
I started with the following project: https://github.com/mattzzw/kindle-clock
Thanks at this point to the project-owner!
There is not much left from the original code but the layout, but it helped much!

USB-Speaker works per default, but it took me a while to get simultanious charging to work.

Nightmode (inverted screen and light at minimal level on) is hardcoded and additional activated, if the level of the lightsensor drops to zero. For my wants, the levels are a bit to coarse, but this is not dramatic.


To do:
- Snooze and alarm stop is not implemented yet. Alarm (twittering of birds :-D ) plays 15 secounds and alarm is compleated.
- in day-mode the Kindel could go to deep-sleep-mode between refreshing of the displayed content. Plan how to do this - and setting alarm and alarmtime without problems - is existing in my mind.
- Font size is to large, long names of days causes line break as shown in pictures.

Problems:
Touch is really tricky and not pleasant to use. But I will describe this in a separate problem-thread.

Because it is not "downloading - running - using", and I do not know, whether I am allowed to distribute the leftover code snippets of the github-project, I do not add the code.

My next project is a whether-screen. Whetherforecast and display of room temperature and humidity sensors. In this context I tried to get an USB2Ethernet-adapter working, but was not successfull with the Kindle-BusyBox. It would probably not be easier to get a 868mhz receiver to work. So I think it would be realized with an raspberry pi. Delivery service brought just this hour a PW4 I bought used for a really lucky price (is firmware version 5.12.4 rootable? I have to do research ;-) )

Thanks for reading and your interest :-)

Attached Thumbnails
Click image for larger version

Name:	clock1.JPG
Views:	N/A
Size:	114.1 KB
ID:	184370   Click image for larger version

Name:	clock2.JPG
Views:	N/A
Size:	95.1 KB
ID:	184371   Click image for larger version

Name:	clock3.JPG
Views:	N/A
Size:	82.6 KB
ID:	184372   Click image for larger version

Name:	clock4.JPG
Views:	N/A
Size:	101.6 KB
ID:	184373  

Ok Monitor

$
0
0
OkMonitor

Making an OK Monitor from one or many e-readers.
  • VGA or HDMI connection
  • Resolution 1024x768 or lower
  • 5 fps - 6 inch screen or
  • 6 fps - 12 inch screens
  • Wireless, around 2 hours+
  • :( lag of around 1.2 seconds.

Big thanks to:-
  • NiLuJe
  • GeekMaster - their code lives on.
  • OpenWRT
  • Raspberry PI
  • JoppyFurr
  • This forum (mobileread.com - Kindle Developer's Corner)

Hardware needed, PI4, microSD card, USB HDMI Capture, (optional VGA in to HDMI out), Kindle Paperwhite V1 (one or four)

Software; MIT License.

Warning: Please do not skip installing Coward's Rescue Pack.
Warning: Grants SSH access to kindle via known key
Warning: Connects via a local wifi network, with known password

Overview and more details: https://barwap.com/projects/okmonitor/

Finished it before the end of the year. :)

K5 Any Way (Currently), To Jailbreak My Kindle?

$
0
0
My kindle is a 10th gen 2019 (non paperwhite) kindle. It's currently running firmware version 5.13.1. All I really want to do is make a custom screen saver or maybe install something like chess. Is there any possible way to Jailbreak my Kindle? Even better, is there anyway to do the things I listed above without jailbreaking? Thx!

online screen saver

$
0
0
Hello,

I was trying to get online screen saver to work. I have a PW4 Jailbraked running FW 5.10.1.3 now. KUAL installed, screensaver installed. Works.

Onlinescreensaver installed as well. Works BUT is not updating when suspended/sleeping.

Can anyone point me into the right direction to trouble shoot this?

I try to have a home assistant dashborad on the kindle, when its not in use.
https://github.com/sibbl/hass-lovela...le-screensaver

Have a great weekend.
Ralf

Kual not working after update

$
0
0
I installed the factory jailbreak, kual and the hotfix, and then updated to 5.13.4.
Since the update my KT4 it says "the selected application could not be started" when I try to open kual.
How do I fix this? from what I read the jailbreak should still work because I installed the hotfix

PW3 How to know if JB'n or not

$
0
0
Hello,

4-ish years ago I visited this board and jailbroke my kindle. At that point I asked Amazon customer service to remove ADs for me and they did so I guess I stopped caring, not only that but I haven't used the Kindle that much. So I'm not sure at this point, if I'm still jailbroken or not, or if I actually completed all the steps up to KUAL and whatnot back in the day.

I'm running 5.12.3 FW, and set it to airplane mode already just in case.

I know for JB of PW3 I need an ancient FW version, otherwise I'm probably SoL, but anyway just trying to see if there's anything that can be done, or if somehow I'm still JB and need to update a couple things (like the hotfix thingy) or I'm totally hopeless here.

So I guess the question is, how do I know if I'm jailbroken at all? Don't wanna risk a brick if there's even such a chance. I don't know, something like "install this .bin to the root and if it shows up here and there you're good to go, continue Open Sesame tutorial from step N".
Or maybe being on 5.12.3 is a safe bet that I'm not jailbroken and so I can carry on and maybe wait for a method in the future (doubt it, probably most devs working on recent devices etc.)?
Thanks for your time!

No downgrade for kindle paperwhite with serial number B011 and firmware 5.3.7

007 update error when trying to jailbreak kindle

Managed to jailbreak kindle, what can I do now

$
0
0
I've managed to jailbreak my kindle, but I'm not sure what I can do now. What can I install?

PW4 Sox Media Player v2 KUAL extension

$
0
0
This extension is based on already existing one, all credits goes to @dhdurgee.

The previous release was not really functional enough to be used daily so I decided to contribute too. This release is meant to be used with PW4 only cuz I was only able to test gst driver. I've dropped alsa support, but if there's someone who wants to test new features with alsa -- welcome to PM.

Update list:
  • Play all files in /music
  • Play any folder in /music
  • Instant (as it is possible) play/pause
  • Shuffle
  • Volume control
  • Forward (next track)

You will need to have python 3.9 installed, get it here.

Online radio was made optional and left basically as it was before. In case you need radio, download radio.txt and place it in /music folder, then reload the menu. Preserve the format (title;url) if you want to add yours.

Volume control is probably reliant on global setting. Set 100% in the extension, then go to Settings > Accessibility > VoiceView > Volume and set comfortable setting there.

Playback stops when Kindle goes to deep sleep. If you know how to prevent Kindle from doing this then let me know.

This is a working concept, not a masterpiece. Feel free to report any issues.

Attached Thumbnails
Click image for larger version

Name:	screenshot_2021_01_10T07_39_51+0000.png
Views:	N/A
Size:	21.8 KB
ID:	184651   Click image for larger version

Name:	screenshot_2021_01_10T07_39_41+0000.png
Views:	N/A
Size:	21.7 KB
ID:	184652  
Attached Files
File Type: zip sox_v2.zip (2.11 MB)

How to erease all jailbreak trace

$
0
0
Hi, first of all please excuse me for my english.

I have a Kindle Paperwhite PW4 model (serial with G000PP), and i'm about to sell my Kindle. I want to put the device 100% like when i buy it from Amazon (if the buyer want to update or wathever).

Ive search à little bit but i dont find the procedure.

I Just put a recent BIN firnware at the root and update my Kindle?

Sorry again for my english and if this question was already asked before.

Thanks for your help.

-A newbie

DX(G) Update DX (B00801) to 3.x firmware

$
0
0
Hi all

I recently bought Kindle DX model B00801, which seems has only 3g and no wifi

I want to upgrade to 3.x firmware because of better browser (and run my https://github.com/matopeto/kindle-weather-dashboard on it)

I read about that i must have kindle 3 to make image of system, and than update my DX

Here are my question:

1. can be used firmware from kindle 3 wifi (no 3g) (maybe i somewhere have one)
1a) if i don't find kindle 3 there is other possibility to get correct firmware?
2. i i flash with correct firmware, would be 3g connectivity works? Or device will be without any connectivity?
3. Can I after upgrade safely revert firmware back to 2.x (do i need backup or can i download original firmware)

Thank you for all answers

Hi from an alien of the Kobo world!

$
0
0
Hi,
I'm the owner of multiple Kobos since 2015. I like to hack them to their core, as I recently got X working on them (https://www.mobileread.com/forums/sh...d.php?t=336210 and https://www.mobileread.com/forums/sh...d.php?t=336433) and I made a few other tweaks/mods for those devices.

But sometimes I found myself reading this Kindle Developers' forum and to be honest; sometimes I don't understand half of the thread titles.
There with Kobos, it's very easy to just get into the device; type "devmodeon" in the search bar, and voilà, you've got telnet access as root to the entire Kobo! After that, it's yours to hack!

To be fair, here with Kindles, it seems... well... complicated. Could someone explain me what are the essentials that I'd need to know if I got myself a Kindle and wanted to hack it (like root access and all...).
And this process of "jailbreak", what does it consists of exactly? Apparently it's only doable for certain devices. E.g. Could I jailbroke the Kindle Oasis, or could I not?

I know I could peel off all the threads in this subforum, but I'd like to have summarized information on how to hack a Kindle, and how Kindles work (well I know they're running an X server and Linux of course, but maybe info on the bootloader, init process, etc.)

Thanks for your time!
:thanks:

Why jailbreak the Kindle?

$
0
0
Hello everyone,

I would like to know one thing, and sorry if my question sounds silly, but what benefit do we have when we jailbreak our Kindle, other than changing our screensaver or our own fonts?

I'm curious about your answers.

Please have a nice day.

PW4 PW4 stuck on tree screen

$
0
0
Hello so I just bought a white PW4 from one of my local pawnshops and it was working perfectly fine, I tried updating over the air and it updated but is now stuck on that screen. I can't even turn off the system. Am I screwed or is there a way to fix it? I just wanted to be on the latest firmware, it was on 15.11.2 I hope you guys can help, its my first kindle in a very long time and i just wanted to be happy with it.

PW3 Best way to jailbreak 5.7.2.1?

$
0
0
So I bought a used Paperwhite 3 (7th Gen) from eBay and it is currently running firmware 5.7.2.1 and I want to be able to jailbreak it solely for the ability to display book covers when it's locked.

I'm unsure of my options. Am I able to jailbreak the current firmware, or can I upgrade to a specific firmware that is able to be jailbroken?

If I am able to upgrade, is there a way to stop automatic updates from occurring to ensure that I don't lose the jailbreak?

I had a search through the forums but I couldn't find anything specific to the version that I'm on.

K4 K4S / K4NT Silver - Plugged but discharging when running scripts?!

$
0
0
Dear Community,

I have been using the works from here quite extensively and thanks to everyone invovled.

Unfortunately, I come accross a problem for which I couldn't find answers:

I use a Kindle 4 Silver (FW 4.1.4, with the jailbreak 1.8N) that is running a loop script launched via kite to fetch a png image every minute and display it. (the script comes from this project https://github.com/sibbl/hass-lovelace-kindle-4)

What puzzles me is that even though my Kindle is plugged (and the LED is steady Green), it seems to run only on battery and discharges completely after 24 hours. The only way to have it stay alive is to unplug it until the green LED stops emitting, then plug it back in which immediately goes to Orange, showing that it is actually not fully charged. When Orange, it will then charge up to 100% .... and then green which goes back to the starting point where it is actually running on the battery and not on the charger.

So basically it's like the battery management is not working and not detecting that it needs to recharge while running the script. The script is a very basic shell script:
  • launched via kite 2 minutes after the startup
  • Contains a while loop with 60 seconds sleep before fetching the .png image and displaying it
  • that's it

I have confirmed the behavior with a second K4 Silver, behaving exactly the same way.

Is it possible that on the K4S, the script is preventing battery management from working properly?

I have been searching the forum for potential battery management commands (like force charging or force discharging), the only link I found was this thread where knc1 seems to explain that there is a command for battery management but I could never find it.

I also looked in the different folders, found the power_supply and charging folders with different information, but I never managed to find the command which could actually force the battery to charge.

Or maybe there is some sort of command to not "sleep" but actually process OS stuff including battery management?

Apologies if this question has been answered somewhere else, I really tried hard find it but couldn't.

Regards to everyone

Night mode on KT4?

$
0
0
I've seen there's a night mode but only for paperwhite and oasis models, is there any hack to enable night mode on my kindle basic? I know about koreader but I'd like something for the default reader
Viewing all 4431 articles
Browse latest View live