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

KUAL disappeared

$
0
0
Hi guys, I have a PW4 successfully jailbroken with fw 5.10.1.2.
Always, ALWAY in airplane mode.
Everything was working fine until yesterday, no issue at all, all hacks and extensions working as expected (SS hack, usbnet, and I think that's all). And KUAL, of course. Booklet version I think it's the name. The one you install with MRPI.

So, yesterday I was uploading some stuff on the Kindle, did it successfully, then I chatted a while, and finally disconnected the Kindle, with "Eject device" from calibre. Ok, then... Kindle appeared as completely empty! No books, no documents, no dictionaries are shown at all.

Yet, they were visible on the device according to Calibre.

So, I deleted every book (not the dictionaries) from the device and reuploaded them with Calibre.
Operation went fine and the book are now visible again in Kindle interface.
However, I am missing the dictionaries folder (though the dictionaries are there and Kindle can use them) and most important, KUAL is not visible and therefore not runnable. ????

The Jailbreak still works, as I have the SS hack active. I used ;log mrpi to install KUAL again, which apparently worked, but again, even after reinstallation I can't see it displayed on the list. In main screen, "Document" is grayed out, as if there is no document on the Kindle.

Any idea???

K5 Need Some Advice Unbricking A Kindle Touch - Spent Weeks Trying And Dunno What To Do!

$
0
0
Hi there,
I have been reading posts on this forum for quite a few weeks attempting to unbrick my kindle touch and now I’m totally stumped. I’ll run down a list of what I’ve tried so far and hopefully someone can point me in the right direction.
I’m starting to think it’s beyond repair without getting inside it physically.

First, I bricked it trying to follow some advice on how to compile Debian on to it and made some mistakes which I tried to clean up but obviously it didn’t go as planned.
It was jailbroken and battery was fine. Maybe a lil shorter than brand new but it still holds a charge for quite a long time.

I saw the post about Kubrick and decided to give it a go. It took me quite a while to get it to boot but once I did I got to the screen where it needs to be set into USB downloaded mode and hey presto! Nothing.
Ive tried so many different methods of button presses to get it in USB downloader mode but no success. I tried the normal hold power till the light goes off then hold home and release power a few seconds later then finally home. I’ve tried doing that but holding power for a minute. I even tried a post that said to hold home for a few seconds then press and hold power for 20 sec then release power and finally home.

When I plug the kindle into a USB port whether computer or power socket the light always comes on orange, and no matter how long I leave it it never turns green; but I did read the light is not a reliable guide on a bricked kindle. It is possible to get a green light ONLY when it is unplugged and I hold the power for 15 seconds. It will remain green until I plug it in or hold the power again for 15 seconds.

When the battery is low I do get the needs charging screen and when it is charged, most of the time I see the tree of life screen though there are times when plugging it in and out and doing hard reset the screen goes fully black except for a tiny row of white up the top that is kinda tilted and looks like a long triangle.

I’m desperate to get this working again. I don’t even want to put Debian on it anymore, I have a bunch of books for study that would be incredibly handy on an ereader and I love the e-ink.

Oh yea, it doesn’t show us on any computer at all when it’s plugged in, even if I try putting it in USB downloader mode. Please if someone has any advice or if this is something simple I’m missing, let me know.

:help:
Thanks

PW2 Help to debrick

$
0
0
Hi,

i got a faulty PW2 from a friend. Hey says that he jailbrake it to allow the custom screensver. But now it won´t boot up. So i added a serial port to see what happens:

Code:

U-Boot 2009.08-lab126 (Jan 24 2018 - 12:49:03)

CPU: Freescale i.MX6 family TO0.0 at 996 MHz
Temperature:  37 C, calibration data 0x5895055f
mx6sl pll1: 996MHz
mx6sl pll2: 528MHz
mx6sl pll3: 480MHz
mx6sl pll8: 50MHz
ipg clock    : 66000000Hz
ipg per clock : 66000000Hz
uart clock    : 80000000Hz
cspi clock    : 60000000Hz
ahb clock    : 132000000Hz
axi clock  : 198000000Hz
emi_slow clock: 22000000Hz
ddr clock    : 396000000Hz
usdhc1 clock  : 198000000Hz
usdhc2 clock  : 198000000Hz
usdhc3 clock  : 198000000Hz
usdhc4 clock  : 198000000Hz
MMC:  FSL_ESDHC: 0,FSL_ESDHC: 1,FSL_ESDHC: 2
Board: Pinot WFO 2GB
Boot Reason: [ POR ]
Boot Device: NAND
Board Id: 02E2201135230DVD
S/N: 90D422xxxxxxxxxxxxxx
I2C:  ready
DRAM:  256 MB
Using default environment

In:    serial
Out:  serial
Err:  serial
Quick Memory Test 0x80000000, 0xfff0000
POST done in 57 ms
Battery voltage: 4094 mV

Hit any key to stop autoboot:  0
## Booting kernel from Legacy Image at 80800000 ...
  Image Name:  Linux-3.0.35-lab126
  Image Type:  ARM Linux Kernel Image (uncompressed)
  Data Size:    2951744 Bytes =  2.8 MB
  Load Address: 80008000
  Entry Point:  80008000
  Verifying Checksum ... OK
  Loading Kernel Image ... OK
OK

Starting kernel ...

[    0.097156] boot: C def:bcut:batterycut=1
[    0.101946]
[    0.276584] LPDDR2 MfgId: 0x1 [Samsung]
[    0.280446]
[    0.280449] just text: vaddr c0132fdc, va 0xc0132200 pa 0x801000c3 attr 0x6
[    0.292919]
[    0.292922] nmx6sl_wfi_iram: vaddr d084e000, va 0xd084e200 pa 0x904043 attr 0x2
[    0.301774]
[    0.301777] mx6sl_ddr: vaddr d0856000, va 0xd0856200 pa 0x905043 attr 0x2
[    0.310106]
[    0.310109] mx6sl_iomux: vaddr f40e0000, va 0xf40e0200 pa 0x20110c3 attr 0x149
[    0.320946]
[    0.320948] ANATOP: vaddr f40c8000, va 0xf40c8200 pa 0x20110c3 attr 0x149
[    0.335299]
[    0.335301] CCM: vaddr f40c4000, va 0xf40c4200 pa 0x20110c3 attr 0x149
[    0.347442]
[    0.347444] MMDC_P0: vaddr f41b0000, va 0xf41b0200 pa 0x21110c3 attr 0x149
[    0.357787]
[    0.357790] L2: vaddr f2a02000, va 0xf2a02200 pa 0xa02043 attr 0x149
[    0.367678]
[    0.367680] arm perif: vaddr f2a00000, va 0xf2a00200 pa 0xa00043 attr 0x149
DEBUG:recovery-util.c:1703:setup_die_signals():Installed signal handlers.
3.0.35-lab126 #2 PREEMPT Tue Dec 4 17:14:27 PST 2018 armv7l
[    0.545584] FAT-fs (loop1): bogus number of reserved sectors
[    1.584554] imx_epdc_fb imx_epdc_fb: Failed to load fw! (err -2) Trying fallback fw
[    1.633686] panel_get_upd_modes: Unknown waveform mode. Using MODE_07!
Press [ENTER] for recovery menu...      0 /BOOTING DEFAULT.
IP-Config: no devices to configure
kinit: Unable to mount root fs on device dev(179,1)
kinit: init not found!

Ok, after this i download a new image from amazon for the german pw2 from here:
https://www.amazon.de/gp/help/custom...deId=201307450

i extract with the kindletool and flashed the new kernel with fastboot

Code:

fastboot flash kernel uimage
Code:

X:\Kindle>fastboot.exe flash kernel uimage
downloading 'kernel'...
OKAY [  0.146s]
writing 'kernel'...
OKAY [  0.845s]
finished. total time: 0.992s

after reboot a enter the recover menu followed by:

I - initialize partition table and format FAT

E - export FAT partition

Connect Kindle to PC with the normal USB cable.

Copy the Amazon update package (just as you downloaded it) to the root (highest level directory shown) of user storage.

Safely remove

Disconnect USB cable to PC

U - update (main) system from file on user storage

But after pressing U nothing happens:

Code:

USB CONNECTED!!
Charge: 97% [#########################################################:]

[FAT32]
1. done
R. reboot
Choose: /1


Charge: 97% [#########################################################:]


Menu
====
3. Load MMC over USB storage
4. Erase MMC
I. Initialize Partition Table (fdisk) and format FAT
O. Format and overwrite FAT partition
E. Export FAT partition
U. Update using update*.bin file on FAT partition
M. Update using update*.bin file on FAT partition of second MMC port
D. dmesg / kernel printk ring buffer.
Q. quit
Choose:  9 -U


Charge: 97% [#########################################################:]


Menu
====
3. Load MMC over USB storage
4. Erase MMC
I. Initialize Partition Table (fdisk) and format FAT
O. Format and overwrite FAT partition
E. Export FAT partition
U. Update using update*.bin file on FAT partition
M. Update using update*.bin file on FAT partition of second MMC port
D. dmesg / kernel printk ring buffer.
Q. quit
Choose:  8 \U


Charge: 97% [#########################################################:]


Menu
====
3. Load MMC over USB storage
4. Erase MMC
I. Initialize Partition Table (fdisk) and format FAT
O. Format and overwrite FAT partition
E. Export FAT partition
U. Update using update*.bin file on FAT partition
M. Update using update*.bin file on FAT partition of second MMC port
D. dmesg / kernel printk ring buffer.
Q. quit
Choose:  7 |q

Any idea where to start?

Kindle Light Color

$
0
0
Hi guys!

I would like to know if there is a planning or possibility to add the light color changing on Kindle. I have one but i cant use at night because it messes with my sleeping...I would like so much an option like the app f.lux that have the same action and I use all the time
I really like the Kindle device but in some areas it lets me down very much...:(

If you could please enlight me it would be wonderful,

Thanks in advance

Firmware 5.10.2

$
0
0
Hello,

Has anybody tested the jb against fw 5.10.2 (possibly on the PW4)?
I would like if it still holds.

Thanks

Native Android for Kindle

Kpw2 5.10.1.1 jailbroken

$
0
0
any good way so far for KPW2 updated to 5.10.1.1(reset) to jailbroken?


Thanks
Any

KFX output linux

$
0
0
I know I've asked before in the past, but I can't find that thread. I use linux as my main driver and conversion to KFX is why I bought a new kindle. Any hacks to make that work for me?

KOREADER IN PW3

$
0
0
Good afternoon,
I jailbreaked my PW3 kindle with firmware 5.9.6.1 and I do not know how to use KOREADER. Where do I install the pdf's?
Did I install the jailbreak wrong?
Sorry for my English.

(Project) Drawgress Bar — KUAL extension

$
0
0
Dear MobileRead community,
I really miss the old full-scale progress bar. I even wrote feedback to Amazon and asked them to return it. Meanwhile I am waiting for them to take actions, I gathered some thoughts.
I hope for your help! Let's finish this together :)

Goal: to write a KUAL extension that non-intrusively draws full progress bar line with chapter marks (both level 1 and level 2) on each page turn (every-page turn script example is Showtime).
By 'non-intrusive' I mean that it should be more like an overlay written as a script, rather than Java-Bytecode patch.
Hoping that methods of getting book info stay the same, this extension should be compatible with future updates.


Script outline is given below. I only half-finished drawing script, due to lack of experience in bash.
Attached an example of such a progress bar (drawn in fbink manually)

Spoiler:

Initial conditions:
- define/determine screen size

Once book is open:
- get book size (location/pages) (value)
- get chapter count, level 1 and level 2 (values)
- get chapter sizes, level 1 and level 2 (vectors)
- get current position
- draw progress bar with fbink

Every Page turn:
- get current position
- redraw

Drawing method:
1) Draw 100%-width of light-gray progress bar
Code:

fbink -t regular=/usr/java/lib/fonts/Baskerville-Regular.ttf,size=7,top=1415,bottom=0,left=350,right=0 -B GRAYC "                                                                                                    "
2) Draw in loop 1%-width parts up to read percent dark-gray progress bar (from i=0 to read_percent)
Code:

fbink -t regular=/usr/java/lib/fonts/Baskerville-Regular.ttf,size=7,top=1415,bottom=0,left=350,right=50 -B GRAY7 "  "
3) Draw in loop up to number of level 1 chapters
Code:

fbink -t regular=/usr/java/lib/fonts/Baskerville-Regular.ttf,size=7,top=1415,bottom=0,left=350,right=50 -O "|"
4) Draw in loop up to number of level 2 chapters
Code:

fbink -t regular=/usr/java/lib/fonts/Baskerville-Regular.ttf,size=7,top=1415,bottom=0,left=390,right=50 -O "·"
So for PW3 (1072x1440, 300 dpi) I have my progress bar located from 350th pixel up to 950th pixel. Each 1% refers to 6 pixels. In the first fbink command there are 101 spaces (somehow fbink doesn't draw with command of " " (1 space), but " " (2 spaces) command produces in fact 1 space), so in fact each 6 pixels is 1% of the book length.
I hope that for other resolutions it should be trivial to scale down/up.



For now I am really stuck with:
— Getting info about current opened book
— Getting pages/locations, chapters info
Where do I even start?
I remember that native booklet is in Java, but I don't know how to extract working values from there.

Attached Thumbnails
Click image for larger version

Name:	screenshot_2019_01_16T00_36_59-0500.png
Views:	N/A
Size:	97.2 KB
ID:	169126  

K5 Fread, open source linux OS for kindle (and other readers)

$
0
0
Not the author and not exactly the right place maybe but I saw this on hackaday and there has been some progress on the reader.
https://fread.ink/
article: https://hackaday.com/2018/07/25/hope...for-e-readers/
It works as an alternate OS and should be unified for all readers, but this is where I think most people will use it. Currently works for kindle 5, but should be ported eventually.

Help unbricking PW1

$
0
0
I was pretty excited to have fixed my PW2 recently with help from posts in these forums and I really enjoyed the soldering challenge and getting into the kindle's serial console. So much so I bought a 'broken' PW1 to play with.

It is an EY21 model.

The symptoms are:
- screen looks fine, just a standard amazon screensaver on it

- no response from power button

- plug in power to wall, I get an orange light so I left it on the wall charger overnight, has made no difference.

- plug into PC via USB, I got "installing NS Blank Codex" one time, subsequent USB connections don't show this. I plugged it into a different PC and also got a one time message of "installing NS Blank Codex".

- Connected up a serial port, plug into wall charger (orange light), press power button and I get the following in the serial console:



Code:

U-Boot 2009.08-lab126 (Jan 08 2013 - 21:47:48)

CPU:  Freescale i.MX50 family 1.1V at 800 MHz
mx50 pll1: 800MHz
mx50 pll2: 400MHz
mx50 pll3: 216MHz
ipg clock    : 66666666Hz
ipg per clock : 66666666Hz
uart clock    : 24000000Hz
ahb clock    : 133333333Hz
axi_a clock  : 400000000Hz
axi_b clock  : 200000000Hz
weim_clock    : 100000000Hz
ddr clock    : 800000000Hz
esdhc1 clock  : 80000000Hz
esdhc2 clock  : 80000000Hz
esdhc3 clock  : 80000000Hz
esdhc4 clock  : 80000000Hz
MMC:  FSL_ESDHC: 0, FSL_ESDHC: 1
Board: Unknown
Boot Reason: [POR]
Boot Device: MMC
Board Id:
S/N:
Invalid board id!  Can't determine system type for RAM init.. bailing!
DRAM:  0 kB
Using default environment

I don't know the history of the device, it doesn't look like it's had a serial port on it before but it does look like some scratches and fingerprints on the metal parts under the case.

Any ideas what I could do next? I'm happy to read up and experiment, that's why I bought it so I can learn :) just not sure what my step should be....?

P.S. I mostly work on windows but i do have a raspberry pi as well if I need to do stuff under linux.

A word of thanks to all the devs

$
0
0
Through my own stupidity, I had to reset my voyage and lost my jailbreak. I'm now stuck with stock firmware and remembering how much less useable it is for me without the jailbreak and customizations. (My vision is 20/200 at best and I spend a lot time tweaking the UI to what I need to be, which isn't possible without the jailbreak.) As usual, you don't fully appreciate how good a thing is till you lose it :/

But yeah, I want to say thanks to all the devs who've done great work over the years to let us tweak our Kindles, as well as all the folks keeping the lights on here in the developer's corner. NiLuJe, ixtab, coplate, twobob, knc1, geekmaster, and anybody else I forgot to mention. Thank you all!!

is Jailbreaking available yet for 5.10.1.1?

$
0
0
I had trouble finding the answer to this question, so I am asking here. If jailbreaking is not yet available for this model (Paperwhite), any idea when it might be? And where can I find the best instructions on how to do this?
Thanks for any help.

KUAL "listing bump" proof of concept

$
0
0
The list view listing for the KUAL booklet drifts down the screen and eventually off the first page as other books are opened even if KUAL has been used in the meantime. That is, the access time for the booklet KUAL does not get updated, unlike the kindlet KUAL.

The good news is that updating p_lastAccess for the KUAL record in cc.db raises KUAL to the second entry of the list view listing with the Recent filter after another book is opened and closed. The bad news is that the sqlite3 on board the kindle can not update cc.db (See post #1862 in https://www.mobileread.com/forums/sh...03326&page=125 )

Proof that there is hope:
Code:

mkdir local
sshfs root@oasis:/var/local local
NOW=`ssh root@oasis date '+%s'`
sqlite3.26 local/cc.db "SELECT icu_load_collation('en_US.utf8', 'icu');  update Entries set p_lastAccess = $NOW where p_titles_0_nominal = 'KUAL';"
fusermount -u local

Open a book on the kindle, then close it. KUAL will be the second entry in list view.

So, with a kindle sqlite3 binary that speaks icu, it would be straightforward to make a KUAL extention that bumps KUAL's listing.

Manually copy full filesystem to Kindle 3?

$
0
0
So you know how you've all read a thousand posts that start with "I used to have a Kindle 3 and......sat in a drawer for a long time.....tried to start it up again.....only shows the empty battery screen.....tried soft reset......had to do a hard reset.....etc..."?

Just substitute one of those. For the first part of this post. You've heard it all before.

Now for the (somewhat) novel stuff--I've done, so far as I can tell, about ten thousand different troubleshooting and recovery things to try to get this darn thing working again. Some of my greatest hits:
  • called customer support -- no dice
  • replaced the battery and charged it -- nope
  • ALL the resets -- did nothing
  • shorted across the reset terminals on the PCB for the device -- bupkes
  • put .bin files GALORE in the root directory in recovery mode and restarted -- NO

It will go to recovery mode. When I exit recovery mode it starts to restart, I get the progress bar, and then before it gets halfway full it goes back to the empty battery screen.

I've been trying to figure out how to jailbreak the thing to see if I can get SOME use out of it (I don't have the necessary TTL cable for any of those methods), and the non-serial options involve modifying the existing filesystem. But here's the thing: it doesn't seem to have a filesystem. When I open the device to view files when it's connected to my computer in recovery mode, the drive is empty.

I've checked for hidden files and even tried looking at the partitions. There's one visible partition that is 3GB, and that's it. And it's empty. (Well there's your problem, you might be saying...)

What I'm trying to figure out is if I can get ahold of a disk image or something of ALL of the files that would normally be on that primary partition and copy it over manually. Does that exist? Is it even possible? Would it even work?

Or did I miss something else?

Thank you for any insight you may have.

koreader on KOA2, which filemanager start?

$
0
0
I finally got around to putting koreader on my Oasis 2.

On my Voyage, all the filemanager start choices seemed about the same (as near as I can recall).

On my KOA2, the top entry resulted in the start message at the bottom of the screen and the device remained unresponsive for quite some time and I had to reboot via power button.

Which filemanager start works with the KOA2?

koreader
koreader-kindle-arm-kindle5-linux-gnueabi-v2015.11-1800-g0924b57_2018-07-29.zip

Kindle Oasis 1 screen won't turn off and go to sleep

$
0
0
Yes so updated to 5.10.2 and then applied hot fix and KUAL booklet. All good and KUAL works.

But now my Kindle screen won't turn off. I restart after holding for 30 seconds and try to turn screen off and still won't work. I choose 'screen off' in Power menu and nothing.

Any ideas?

EDIT:

I synced with wifi on and it worked again. All good!

KT3 Problem with my kindle 8th generation.

$
0
0
Hi friends,
I have kindle 2016 8th generation model no is sy69jl. Apparently it has a problem with the battery, because it does not charge when it is on, the battery runs out quickly and the empty battery icon appears with the exclamation mark. I discovered that by connecting it to the wall charger for 4 hours and then leaving it for 2 hours without charging, or touching, it finally turns on. But the battery lasts only a few hours in reading mode with the wifi and bluetooth turned off. Once it turns off, I get the exclamation mark and it does not turn on, not even pressing the power button for 40 seconds. I also discovered that if I disarm it and disconnect the battery and reconnect it, it starts again, and it works a few more hours. But I do not want to be disarming it and disconnecting the battery every time it shuts down. The other way I discovered is putting it in the refrigerator for about 40 minutes to cool, take it out with a towel and connect it to the wall and then turn it on.
I do not know what's going on, because it worked well, I do not know if it's the battery or the motherboard. On YouTube I saw that some tablets (not kindle) do not recognize the load properly and make a bridge between the charging pin and the battery, because the positive does not work as it should. Do you have any suggestions or ideas? or I have to resign myself to the idea that my kind died.

Postscript: the kindle is no longer guaranteed, I contacted and was offered 40% off in the purchase of a kindle. But they do not have shipment to Argentina :(

Thank you all for your time. Sorry the long post and a bad English.

K4 K4NT Properly bricked after screen replacement, help please!

$
0
0
Hello,

I've just finished replacing the screen on my K4NT (horrible job, wouldn't recommend to anybody!). Since getting it back together I have a "Your kindle needs repair" message.

I've written KuBrick to a CDR and it gets through the first screen, but fails at the second, I think it's when trying to get into fastboot (I'll try and get a photo to show what I mean).

Is it totally broken? I can replace it but I hate to throw things away when they could be fixed.



Viewing all 4443 articles
Browse latest View live