• This repository has been archived on 09/May/2020
  • Stars
    star
    106
  • Rank 323,909 (Top 7 %)
  • Language
    C
  • Created almost 13 years ago
  • Updated over 12 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Tool for creating/extracting Kindle updates and more
usage:
  KindleTool dm [ <input> ] [ <output> ]
    Obfuscates data using Amazon's update algorithm.
    If no input is provided, input from stdin
    If no output is provided, output to stdout
    
  KindleTool md [ <input> ] [ <output> ]
    Deobfuscates data using Amazon's update algorithm.
    If no input is provided, input from stdin
    If no output is provided, output to stdout
    
  KindleTool convert [options] <input>
    Converts a Kindle update package to a gzipped TAR file, and delete input
    
    Options:
      -c, --stdout                Write to standard output, keeping original files unchanged
      -i, --info                  Just print the package information, no conversion done
      -s, --sig <output>          OTA V2 updates only. Extract the package signature to <output> file.
      
  KindleTool extract <input> <output>
    Extracts a Kindle update package to a directory
    
  KindleTool create <type> <devices> [options] <dir|file> [ <output> ]
    Creates a Kindle update package
    If input is a directory, all files in it will be packed into an update
    If input is a GZIP file, it will be converted to an update.
    If no output is provided, output to stdout.
    In case of OTA updates, all files with the extension ".ffs" and will be treated as update scripts
    
    Type:
      ota                         OTA V1 update package. Works on Kindle 3.0 and below.
      ota2                        OTA V2 signed update package. Works on Kindle 4.0 and up.
      recovery                    Recovery package for restoring partitions.
    
    Devices:
      OTA V1 packages only support one device. OTA V2 packages can support multiple devices.
      
      -d, --device k1             Kindle 1
      -d, --device k2             Kindle 2 US
      -d, --device k2i            Kindle 2 International
      -d, --device dx             Kindle DX US
      -d, --device dxi            Kindle DX International
      -d, --device dxg            Kindle DX Graphite
      -d, --device k3w            Kindle 3 Wifi
      -d, --device k3g            Kindle 3 Wifi+3G
      -d, --device k3gb           Kindle 3 Wifi+3G Europe
      -d, --device k4             Kindle 4 (No Touch)
      -d, --device k5w            Kindle 5 (Kindle Touch) Wifi
      -d, --device k5g            Kindle 5 (Kindle Touch) Wifi+3G
      
    Options:
      All the following options are optional and advanced.
      -k, --key <file>            PEM file containing RSA private key to sign update. Default is popular jailbreak key.
      -b, --bundle <type>         Manually specify package magic number. Overrides "type". Valid bundle versions:
                                    FB01, FB02 = recovery; FC02, FD03 = ota; FC04, FD04, FL01 = ota2
      -s, --srcrev <ulong|uint>   OTA updates only. Source revision. OTA V1 uses uint, OTA V2 uses ulong.
                                    Lowest version of device that package supports. Default is 0.
      -t, --tgtrev <ulong|uint>   OTA updates only. Target revision. OTA V1 uses uint, OTA V2 uses ulong.
                                    Highest version of device that package supports. Default is max int value.
      -1, --magic1 <uint>         Recovery updates only. Magic number 1. Default is 0.
      -2, --magic2 <uint>         Recovery updates only. Magic number 2. Default is 0.
      -m, --minor <uint>          Recovery updates only. Minor number. Default is 0.
      -c, --cert <ushort>         OTA V2 updates only. The number of the certificate to use (found in /etc/uks on device). Default is 0.
                                    0 = pubdevkey01.pem, 1 = pubprodkey01.pem, 2 = pubprodkey02.pem
      -o, --opt <uchar>           OTA V1 updates only. One byte optional data expressed as a number. Default is 0.
      -r, --crit <uchar>          OTA V2 updates only. One byte optional data expressed as a number. Default is 0.
      -x, --meta <str>            OTA V2 updates only. An optional string to add. Multiple "--meta" options supported.
                                    Format of metastring must be: key=value
      
  KindleTool info <serialno>
    Get the default root password
    
notices:
  1)  Kindle 4.0+ has a known bug that prevents some updates with meta-strings to run.
  2)  Currently, even though OTA V2 supports updates that run on multiple devices, it is not possible to create a update package that will run on both the Kindle 4 (No Touch) and Kindle 5 (Kindle Touch).

More Repositories

1

taiHEN

CFW framework for PS Vita
C
281
star
2

psvimgtools

Decrypt Vita CMA backups
C
206
star
3

usbmc

USB storage as Vita memory card
C
122
star
4

psvsd

84
star
5

VitaMTP

Library to interact with Vita's USB MTP protocol
C
81
star
6

PSXperia

This tool will take a PSX image that you legally own and convert it to be playable on the Xperia Play with the emulator extracted from the packaged game "Crash Bandicoot."
Java
78
star
7

UVLoader

Userland Vita Loader for loading unsigned executables on your Vita
C
73
star
8

Spider3DSTools

Tools to work with 3DS 9.x Spider exploit
Assembly
70
star
9

3ds_injector

Open source implementation of loader module with code injection support
C
51
star
10

netcheck_bypass

C
45
star
11

Fastboot-Kindle

Fastboot tool for the Kindle
C
42
star
12

KindleLauncher

GUI launcher for Kindle Touch
Java
36
star
13

VitaDefiler

An RPC for Vita that supports ARM userland code execution
C#
27
star
14

OpenBlanket

Open API for Kindle's libBlanket
C
20
star
15

KindleEPUBReader

EPUB reader plugin for Kindle Touch
Java
18
star
16

libMTP

libmtp is a LGPL library implementation of the Media Transfer Protocol (MTP), a superset of the Picture Transfer Protocol (PTP).
C
18
star
17

ARMv7_MMU_Dumper

Bare metal ARMv7 MMU Translation Table dumper
C
17
star
18

Rejuvenate

Run homebrew on the Vita
C#
14
star
19

Polipo-iOS

iOS port of Polipo caching HTTP proxy
C
14
star
20

ngptv

Because VitaTV is already taken
Python
13
star
21

3DSSystemTools

C++
12
star
22

PSMSigner

Locally sign PSMDA cache files
C
12
star
23

VitaInjector

Inject userland ARM code through PSM
C#
10
star
24

DumpMemory

Visual Studio extension to dump and load memory for debug targets
C#
9
star
25

ropdetect

Detecting ROP execution using performance monitors
TeX
8
star
26

PSXPeria-Wrapper

Loads injected PSX games on Xperia Play
C++
7
star
27

usb_detect

USB probing for Vita
C
7
star
28

yifanlu.github.io

Personal blog
CSS
5
star
29

LibiMX50USB

Library to interact with iMX50 USB download mode
C
5
star
30

TinyForward

A fast, small, and portable HTTP forwarding proxy.
C
4
star
31

Josh

Native console access wrapper for Java
Java
3
star
32

CollegesMap

Facebook app to display friends' colleges on a map
PHP
2
star
33

Histogram

Minimal POSIX file histogram generation tool
C
1
star