Kindle SDK

The Kindle SDK is an unofficial SDK developed by KMC.
It supplants an existing koxtoolchain installation with libraries and pkg-config support.
It is designed to be used with Meson.

Installation

Once koxtoolchain is installed, the SDK can be installed on top of it as such:

1. Clone the SDK

git clone --recursive --depth=1 https://github.com/KindleModding/kindle-sdk.git

2. Install the SDK for your target

cd kindle-sdk
chmod +x ./gen-sdk.sh
./gen-sdk.sh <target>

Where <target> is the same as the toolchain you want to install the SDK for.

TCSupported DevicesTarget
kindleKindle 2, DX, DXg, 3[not supported by this tutorial]
kindle5Kindle 4, Touch, PW1[not supported by this tutorial]
kindlepw2Kindle PW2 & everything since on FW <5.16.3kindlepw2
kindlehfAny Kindle on FW >= 5.16.3kindlehf

Usage

The toolchain is designed to be used with Meson in the following manner:

meson setup --cross-file <meson_crosscompile_path> builddir_<target>

(note that the crosscompile file path is outputted when the sdk installer is run, it will typically be under ~/x-tools/<toolchain>/meson-crosscompile.txt)

Additional information

The SDK works by downloading the target firmware from Amazon, copying the libraries into the toolchain’s sysroot and setting up .pc files for pkgconfig on supported libraries