kobopatch

module
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2020 License: MIT

README

kobopatch

An improved patching system for Kobo eReaders. See https://www.mobileread.com/forums/showthread.php?t=297338. Download patches for v4.9.11311+ here.

Features

  • Zlib replacement.
  • Add additional files.
  • Translation file support.
  • Simplified BLX instruction replacement.
  • Multi-version configuration file.
  • Extensible patch file.
  • Built-in generation of Kobo update files.
  • Additional instructions.
  • Single executable.
  • Automated testing of patches.
  • Comprehensive log file and error messages.
  • Modular and embeddable.
  • Structured patch file format.
  • Backwards-compatible with old patch format.

Usage

Usage: kobopatch [OPTIONS] [CONFIG_FILE]

Options:
  -f, --firmware string   firmware file to be used (can also use a testdata tarball from kobopatch-patches)
  -h, --help              show this help text
  -t, --run-tests         test all patches (instead of running kobopatch)

If CONFIG_FILE is not specified, kobopatch will use ./kobopatch.yaml.
cssextract extracts zlib-compressed from a binary file
Usage: cssextract BINARY_FILE
symdump dumps symbol addresses from an ARMv6+ 32-bit ELF executable
Usage: symdump BINARY_FILE
Usage: kobopatch-apply [OPTIONS]

Options:
  -h, --help                  show this help text
  -i, --input string          the file to patch (required)
  -o, --output string         the file to write the patched output to (will be overwritten if exists) (required)
  -p, --patch-file string     the file containing the patches (required)
  -f, --patch-format string   the patch format (one of: kobopatch,patch32lsb) (default "kobopatch")
  -v, --verbose               show verbose output from patchlib

Directories

Path Synopsis
Package patchfile provides a standard interface to read patchsets from files.
Package patchfile provides a standard interface to read patchsets from files.
patch32lsb
Package patch32lsb reads patch32lsb style patches.
Package patch32lsb reads patch32lsb style patches.
Package patchlib provides common functions related to patching binaries.
Package patchlib provides common functions related to patching binaries.
tools
kobopatch-apply
Command kobopatch-apply applies a single patch file to a binary.
Command kobopatch-apply applies a single patch file to a binary.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL