Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-08-2025, 01:36 AM   #1261
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 43,437
Karma: 165170834
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by S3i View Post
Hello,
first of all, thank you for all your work!
I followed the procedure on this site:
https://kindlemodding.org/jailbreaki...ling-kual-mrpi

The “winterbreak” and “Post jailbreak: Setting up a hotfix” parts went well.

But for the part “Post jailbreak : installing KUAL/MRPI” at the line “5 Enter ;log mrpi into the search bar and click enter” I have an error at reboot see picture 1.
I saw the same error on both PW4s that I've used WinterBreak on. It does not seem to have any effect on anything.
DNSB is offline   Reply With Quote
Old 01-08-2025, 07:33 AM   #1262
Waylander
Guru
Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.
 
Posts: 656
Karma: 2905052
Join Date: Oct 2013
Device: Kindle Paperwhite 5 16GB, Kindle Paperwhite 6, Kobo Clara,
[DELETED]

Last edited by Waylander; 01-08-2025 at 08:39 AM.
Waylander is offline   Reply With Quote
Old 01-08-2025, 08:51 AM   #1263
Waylander
Guru
Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.
 
Posts: 656
Karma: 2905052
Join Date: Oct 2013
Device: Kindle Paperwhite 5 16GB, Kindle Paperwhite 6, Kobo Clara,
Deleted the above post because I read around, tinkered, and worked out what I hadn't done properly. Now have KUAL coplate installed properly, and reminded myself that if I didn't put any packages into the MRpackages folder, then there wouldn't be anything for KUAL to run (duh). Anyway, I was wondering how I can use KUAL on my PW5 to modify the margins in my ebooks beyond the standard settings. This was something I could do with KUAL on my old PW1 back in the day. Also, when installing KOReader, do I put both the Koreader *and* extensions folder in the root of the Kindle? When I try that, my Mac asks if I want to replace the extensions folder that's already there.
Waylander is offline   Reply With Quote
Old 01-08-2025, 10:48 AM   #1264
shamanNS
Wizard
shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.
 
Posts: 1,068
Karma: 12000044
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5, Kobo Libra 2, Kindle PW1
Quote:
Originally Posted by Waylander View Post
Anyway, I was wondering how I can use KUAL on my PW5 to modify the margins in my ebooks beyond the standard settings. This was something I could do with KUAL on my old PW1 back in the day.
Lol. On very very early PW1 firmware you probably used "JBPatch" to overload Java code that controls margin values. On later firmware probably @kaznelson's bin installer that replaced couple of JAR files to do the same thing.
For newer models and even newer firmware build you had to do the same JAR edits yourself because nobody already did them for you.

Anyways, long story short: ever since firmware 5.10.x known "margin hack" JAR file edits are ignored / doesn't result with any change in margins shown when you open the book.

So now the only thing available is "per each book" approach, where you need to change CSS code for every book you read a and a code block that sets negative margin for "html" element. And that only works for left and right margins, not for top and bottom margins.
shamanNS is offline   Reply With Quote
Old 01-08-2025, 11:32 AM   #1265
Waylander
Guru
Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.
 
Posts: 656
Karma: 2905052
Join Date: Oct 2013
Device: Kindle Paperwhite 5 16GB, Kindle Paperwhite 6, Kobo Clara,
Quote:
Originally Posted by shamanNS View Post
Lol. On very very early PW1 firmware you probably used "JBPatch" to overload Java code that controls margin values. On later firmware probably @kaznelson's bin installer that replaced couple of JAR files to do the same thing.
For newer models and even newer firmware build you had to do the same JAR edits yourself because nobody already did them for you.

Anyways, long story short: ever since firmware 5.10.x known "margin hack" JAR file edits are ignored / doesn't result with any change in margins shown when you open the book.

So now the only thing available is "per each book" approach, where you need to change CSS code for every book you read a and a code block that sets negative margin for "html" element. And that only works for left and right margins, not for top and bottom margins.
I thought it was something like this. In which case, KOReader is the best option. I found a useful installation tutorial video on YouTube, which helped guide me through it.

Last edited by Waylander; 01-08-2025 at 11:48 AM.
Waylander is offline   Reply With Quote
Old 01-08-2025, 12:54 PM   #1266
Barbas
Enthusiast
Barbas began at the beginning.
 
Posts: 38
Karma: 10
Join Date: Mar 2019
Device: Kindle 10th (2019)
Python doesn't support Kindle 11th gen (2992)

Quote:
Originally Posted by esverde View Post
Python 2.7 & Python 3.9 don't support kindle scribe, is it possiable get some update?
Same here with a Kindle 11th gen (2022) on fw 5.16.4
Code:
[2025-01-08 @ 18:30:27 +0058] :: [MRPI r19303] - Beginning the processing of package 'Update_python3_0.15.N_install_pw2_and_up.bin' (python3 0.15.N I W+Z+R+B) . . .


Failed to parse package 'Update_python3_0.15.N_install_pw2_and_up.bin' (python3 0.15.N I W+Z+R+B) [return code: 127], skipping . . . :(


KindleTool output:
env: can't execute '/mnt/us/extensions/MRInstaller/bin/PW2/kindletool': No such file or directory
Barbas is offline   Reply With Quote
Old 01-09-2025, 06:01 PM   #1267
S3i
Junior Member
S3i began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2025
Device: Kindle
Quote:
Originally Posted by DNSB View Post
I saw the same error on both PW4s that I've used WinterBreak on. It does not seem to have any effect on anything.
So I'm not the only one

Could someone expert help me?
S3i is offline   Reply With Quote
Old 01-10-2025, 06:24 AM   #1268
BionicGecko
Evangelist
BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.BionicGecko ought to be getting tired of karma fortunes by now.
 
BionicGecko's Avatar
 
Posts: 478
Karma: 5555555
Join Date: Aug 2016
Location: Czech Republic
Device: Voyage, Oasis, Scribe, Colorsoft, Libra Colour
Quote:
Originally Posted by S3i View Post
So I'm not the only one

Could someone expert help me?
I also got this error but it had no lasting impact, i.e. KUAL got installed correctly. If you can see KUAL in your books then you can safely ignore this error.

As for KOReader, make sure you install the kindlehf version. Your best bet is the one from Marek’s page.
BionicGecko is offline   Reply With Quote
Old 01-10-2025, 02:31 PM   #1269
S3i
Junior Member
S3i began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2025
Device: Kindle
Quote:
Originally Posted by BionicGecko View Post
I also got this error but it had no lasting impact, i.e. KUAL got installed correctly. If you can see KUAL in your books then you can safely ignore this error.

As for KOReader, make sure you install the kindlehf version. Your best bet is the one from Marek’s page.
Thank you !

It works now !!!
S3i is offline   Reply With Quote
Old 01-11-2025, 05:28 PM   #1270
tepagu
Junior Member
tepagu began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2025
Device: KS
Hi,
I've recently bought a Kindle Scribe 1st edition 2024 and while i was able to run winterbreak with no issues, i cannot get KUAL running.
Checking the MRInstaller logs, i see the following message.
Package 'Update_KUALBooklet_18b218e_install.bin' (KUALBooklet 18b218e I) is not targeting your device [FE3 vs. 11... (and other numbers after this).
I'm running 5.17.2.
Is there anything i have to do to fix this?
Thanks for your help!
tepagu is offline   Reply With Quote
Old 01-15-2025, 05:30 AM   #1271
SEVRM
Junior Member
SEVRM began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2025
Device: Kindle K3W
This does not work with Kindle 3 Wifi firmware 3.4.2, as soon as you connect to wifi the jailbreak no longer works and you get the "test kindle "error.
SEVRM is offline   Reply With Quote
Old 01-29-2025, 08:28 PM   #1272
crazyelectron
Junior Member
crazyelectron doesn't littercrazyelectron doesn't littercrazyelectron doesn't litter
 
crazyelectron's Avatar
 
Posts: 2
Karma: 210
Join Date: Nov 2023
Device: PW5 * 2, KS 2022
Post Compiling python3 to run on Kindle Scribe 5.17.0.1 (armhf)

For those of us who eagerly await the release the proper armhf compatible python3 package, in the meantime, this is how I’ve compiled python3 to run on my Kindle Scribe 5.17.0.1 (armhf)

Please consider this just as a notebook in progress, most of the things may/will not work, I followed the suggestion and tried the
Quote:
Originally Posted by NiLuJe View Post
just respin the package w/ KindleTool yourself.
By the way thanks to the eminent programmer/s involved in Koxtoolchain, KindleTool and all the packages in this thread.

Dockerfile

Code:
FROM --platform=linux/amd64 debian:bullseye AS amd64-base

RUN apt-get update

RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
    build-essential autoconf automake bison flex gawk \
    libtool libtool-bin libncurses-dev \
    curl file git gperf help2man texinfo unzip wget

# Python dev deps for --with-build-python
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
    make libssl-dev zlib1g-dev libbz2-dev libreadline-dev \
    libsqlite3-dev llvm libncurses5-dev libncursesw5-dev \
    xz-utils tk-dev liblzma-dev tk-dev libffi-dev

RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
    pkg-config

WORKDIR /root

RUN wget -qO- https://www.python.org/ftp/python/3.11.11/Python-3.11.11.tgz | tar xvz

RUN cp -r Python-3.11.11 Python-3.11.11-armhf

RUN cd Python-3.11.11 && \
    ./configure --prefix=/usr/local/python-native --enable-optimizations --with-lto --with-computed-gotos --with-system-ffi && \
    make -j$(nproc) && \
    make install

RUN wget -qO- https://github.com/KindleModding/koxtoolchain/releases/download/2025.01/kindlehf.tar.gz | tar xvz && \
    wget -qO- https://github.com/KindleModding/koxtoolchain/raw/27f361f5d5e1b85b6d02978a6b45271a2605019c/refs/x-compile.sh > x-compile.sh

# TO-Discover Where on earth are the contents of ./Kindle/CrossTool/Build_KHF sysroot?? "./gen-tc.sh kindlehf" doesn't seem to gather them, and they are not in kindlehf.tar.gz either.   
RUN mkdir -p /mnt/us/python3

RUN echo '#!/bin/bash\n\
\n\
set -a\n\
HOME=/root source /root/x-compile.sh kindlehf env bare\n\
set +a\n\
\n\
export CC=$CROSS_TC-gcc\n\
export CXX=$CROSS_TC-g++\n\
export STRIP=$CROSS_TC-strip\n\
export AR=$CROSS_TC-gcc-ar\n\
export RANLIB=$CROSS_TC-gcc-ranlib\n\
export LD=$CROSS_TC-ld\n\
export READELF=$CROSS_TC-readelf\n\
export SYSROOT=/mnt/us/python3\n\
export X_TOOLS_SYSROOT=/root/x-tools/arm-kindlehf-linux-gnueabihf/arm-kindlehf-linux-gnueabihf/sysroot\n\
export CFLAGS="-I$SYSROOT/usr/include -I$X_TOOLS_SYSROOT/usr/include"\n\
export CPPFLAGS="-I$SYSROOT/usr/include -I$X_TOOLS_SYSROOT/usr/include"\n\
export LDFLAGS="-L$SYSROOT/lib -L$SYSROOT/usr/lib -L$X_TOOLS_SYSROOT/lib -L$X_TOOLS_SYSROOT/usr/lib -Wl,-rpath=/mnt/us/python3/usr/lib -Wl,-rpath-link=$SYSROOT/lib:$SYSROOT/usr/lib:$X_TOOLS_SYSROOT/lib:$X_TOOLS_SYSROOT/usr/lib"\n\
export PKG_CONFIG_SYSROOT_DIR="$SYSROOT"\n\
export PKG_CONFIG_PATH="$SYSROOT/usr/lib/pkgconfig"\n\
' > /root/exec && chmod +x /root/exec

RUN wget -qO- https://github.com/madler/zlib/archive/refs/tags/v1.3.1.tar.gz | tar xvz
RUN cd zlib-1.3.1 && \
    bash -c "source /root/exec && \
    ./configure --prefix=/usr && \
    make -j$(nproc) && \
    make install DESTDIR=\$SYSROOT"

RUN wget -qO- https://github.com/libffi/libffi/releases/download/v3.4.6/libffi-3.4.6.tar.gz | tar xvz
RUN cd libffi-3.4.6 && \
    bash -c "source /root/exec && \
    ./configure --prefix=/usr --host=arm-linux-gnueabihf --build=x86_64-pc-linux-gnu && \
    make -j$(nproc) && \
    make install DESTDIR=\$SYSROOT"

RUN wget -qO- https://github.com/openssl/openssl/archive/refs/tags/OpenSSL_1_1_1w.tar.gz | tar xvz
RUN cd openssl-OpenSSL_1_1_1w && \
    bash -c "source /root/exec && \
    ./Configure linux-armv4 --prefix=/usr --openssldir=/etc/ssl -DOPENSSL_PIC -DOTHER_LIBS=atomic -lpthread -latomic && \
    make -j$(nproc) && \
    make install DESTDIR=\$SYSROOT"

RUN wget -qO- https://www.sqlite.org/2024/sqlite-autoconf-3450100.tar.gz | tar xvz 
RUN cd sqlite-autoconf-3450100 && \
    bash -c "source /root/exec && \
    ./configure --prefix=/usr --host=arm-linux-gnueabihf --build=x86_64-pc-linux-gnu && \
    make -j$(nproc) && \
    make install DESTDIR=\$SYSROOT"

RUN wget -qO- https://ftp.gnu.org/gnu/ncurses/ncurses-6.4.tar.gz | tar xvz 
RUN cd ncurses-6.4 && \
    bash -c "source /root/exec && \
    ./configure --prefix=/usr --host=arm-linux-gnueabihf --build=x86_64-pc-linux-gnu --with-shared --disable-stripping && \
    make -j$(nproc) && \
    make install DESTDIR=\$SYSROOT"

RUN cd Python-3.11.11-armhf && \
    bash -c "source /root/exec && \
    ./configure --prefix=/usr --host=arm-linux-gnueabihf --build=x86_64-pc-linux-gnu --with-build-python=/usr/local/python-native/bin/python3.11 --enable-shared --enable-optimizations --enable-loadable-sqlite-extensions --with-lto --with-computed-gotos --with-system-ffi --with-ensurepip=install --disable-ipv6 --disable-test-modules ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no && \
    make -j$(nproc) && \
    make install DESTDIR=\$SYSROOT"
Next, I built the image and copied the python3 sysroot to the device:

Code:
docker buildx build -t kterm_kindle .

docker run --rm -it -v $(pwd):/project kterm_kindle bash -c "tar -czvf /project/python3.tar.gz -C /mnt/us python3"

scp python3.tar.gz root@192.168.1.101:/mnt/us

On the Kindle extracted the python3 sysroot:

Code:
[root@kindle us]# tar -xvf python3.tar.gz -C /mnt/us/
Then running python3 and pip (It is necessary to use the full path or modify $PATH):

Code:
[root@kindle us]# /mnt/us/python3/usr/bin/python3.11 -m ensurepip
[root@kindle us]# /mnt/us/python3/usr/bin/python3.11 -m pip install requests
[root@kindle us]# /mnt/us/python3/usr/bin/python3.11
Python 3.11.11 (main, Jan 29 2025, 20:15:57) [GCC 14.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
>>> r = requests.get('https://httpbin.org/basic-auth/user/pass', auth=('user', 'pass'))
>>> r.status_code
200
>>>
Of course only packages with a compatible built distribution (.whl) available will/may work.

Note: all the “docker” commands were run on MacOS, for linux it may be necessary to adapt them.
crazyelectron is offline   Reply With Quote
Old 02-03-2025, 09:25 AM   #1273
TsukiSoft
Junior Member
TsukiSoft began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2025
Device: Kindle 4
I don't know what im doing wrong, i want the screensaver to put the book cover, i followed everything, i did everything 3 times, and i have all working good except the cover mode. Tried with different books that i know have covers but nothing
TsukiSoft is offline   Reply With Quote
Old 02-28-2025, 07:06 PM   #1274
KridOCaign
Junior Member
KridOCaign began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2024
Device: Kindle PW5
I have an 11th gen Paperwhite Signature Edition running FW 5.15.1.0.3
I jailbroke it with Winterbreak
If I install GAWK then afterwards KUAL will hang on a white screen and the kindle is unresponsive until it is power cycled. It can still enter USB mode and manage files.

I don't see any logs.

Is this a known issue?
KridOCaign is offline   Reply With Quote
Old 03-14-2025, 08:05 PM   #1275
aha
Member
aha doesn't litteraha doesn't litter
 
Posts: 18
Karma: 142
Join Date: Feb 2025
Device: k3, dxg, kobo mini
The same happened to me. And apparently to someone else.

Per the comments in that thread, the gawk extension shouldn't be installed on hf kindles. (Is it the only one?)

Would it be possible to add a note to that effect in the first post, so people don't install it by mistake?

I know the later kindles aren't listed as supported in the linked post on the gawk installer, but that's from 2019 so it just seemed out of date.

Thank you! (And thank you for all these hacks in general. Just being able to run koreader on kindles is amazing, let alone the rest of it.)

Last edited by aha; 03-14-2025 at 08:19 PM.
aha is offline   Reply With Quote
Reply

Tags
hacks, kindle, niluje

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I removed the hacks, installed 3.1, then new hacks, and now Kindle is dead cloudyvisions Amazon Kindle 55 11-29-2023 07:27 PM
Tools Snapshots of Coplate's packages coplate Kindle Developer's Corner 104 10-23-2022 11:41 PM
NiLuJe offline? picree Kindle Developer's Corner 1 09-28-2016 10:29 PM
Snapshots test in Live version Michele Clinco OpenInkpot 7 09-08-2009 02:42 PM


All times are GMT -4. The time now is 05:14 AM.


MobileRead.com is a privately owned, operated and funded community.