├── .gitignore ├── ApplyPatch.cpp ├── BlockImageUpdate.cpp ├── BlockImageVerify.cpp ├── LICENSE ├── Makefile ├── README.md ├── android-base ├── Makefile ├── stringprintf.cpp └── strings.cpp ├── applypatch ├── Makefile ├── applypatch.cpp ├── applypatch.h ├── bsdiff.cpp ├── bspatch.cpp ├── imgdiff.cpp ├── imgdiff.h ├── imgpatch.cpp ├── include │ └── applypatch │ │ └── imgpatch.h ├── utils.cpp └── utils.h ├── blockimg ├── Makefile ├── blockimg.cpp └── blockimg.h ├── edify ├── Makefile ├── expr.cpp ├── expr.h └── yydefs.h ├── imgdiff.cpp ├── include ├── android-base │ ├── parseint.h │ ├── stringprintf.h │ └── strings.h ├── error_code.h ├── print_sha1.h └── unique_fd.h ├── minzip ├── Hash.c ├── Hash.h ├── Log.h ├── Makefile └── inline_magic.h ├── otafault ├── Makefile ├── ota_io.cpp └── ota_io.h └── scriptpatcher.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/.gitignore -------------------------------------------------------------------------------- /ApplyPatch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/ApplyPatch.cpp -------------------------------------------------------------------------------- /BlockImageUpdate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/BlockImageUpdate.cpp -------------------------------------------------------------------------------- /BlockImageVerify.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/BlockImageVerify.cpp -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/README.md -------------------------------------------------------------------------------- /android-base/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/android-base/Makefile -------------------------------------------------------------------------------- /android-base/stringprintf.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/android-base/stringprintf.cpp -------------------------------------------------------------------------------- /android-base/strings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/android-base/strings.cpp -------------------------------------------------------------------------------- /applypatch/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/applypatch/Makefile -------------------------------------------------------------------------------- /applypatch/applypatch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/applypatch/applypatch.cpp -------------------------------------------------------------------------------- /applypatch/applypatch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/applypatch/applypatch.h -------------------------------------------------------------------------------- /applypatch/bsdiff.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/applypatch/bsdiff.cpp -------------------------------------------------------------------------------- /applypatch/bspatch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/applypatch/bspatch.cpp -------------------------------------------------------------------------------- /applypatch/imgdiff.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/applypatch/imgdiff.cpp -------------------------------------------------------------------------------- /applypatch/imgdiff.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/applypatch/imgdiff.h -------------------------------------------------------------------------------- /applypatch/imgpatch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/applypatch/imgpatch.cpp -------------------------------------------------------------------------------- /applypatch/include/applypatch/imgpatch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/applypatch/include/applypatch/imgpatch.h -------------------------------------------------------------------------------- /applypatch/utils.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/applypatch/utils.cpp -------------------------------------------------------------------------------- /applypatch/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/applypatch/utils.h -------------------------------------------------------------------------------- /blockimg/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/blockimg/Makefile -------------------------------------------------------------------------------- /blockimg/blockimg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/blockimg/blockimg.cpp -------------------------------------------------------------------------------- /blockimg/blockimg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/blockimg/blockimg.h -------------------------------------------------------------------------------- /edify/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/edify/Makefile -------------------------------------------------------------------------------- /edify/expr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/edify/expr.cpp -------------------------------------------------------------------------------- /edify/expr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/edify/expr.h -------------------------------------------------------------------------------- /edify/yydefs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/edify/yydefs.h -------------------------------------------------------------------------------- /imgdiff.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/imgdiff.cpp -------------------------------------------------------------------------------- /include/android-base/parseint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/include/android-base/parseint.h -------------------------------------------------------------------------------- /include/android-base/stringprintf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/include/android-base/stringprintf.h -------------------------------------------------------------------------------- /include/android-base/strings.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/include/android-base/strings.h -------------------------------------------------------------------------------- /include/error_code.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/include/error_code.h -------------------------------------------------------------------------------- /include/print_sha1.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/include/print_sha1.h -------------------------------------------------------------------------------- /include/unique_fd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/include/unique_fd.h -------------------------------------------------------------------------------- /minzip/Hash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/minzip/Hash.c -------------------------------------------------------------------------------- /minzip/Hash.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/minzip/Hash.h -------------------------------------------------------------------------------- /minzip/Log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/minzip/Log.h -------------------------------------------------------------------------------- /minzip/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/minzip/Makefile -------------------------------------------------------------------------------- /minzip/inline_magic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/minzip/inline_magic.h -------------------------------------------------------------------------------- /otafault/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/otafault/Makefile -------------------------------------------------------------------------------- /otafault/ota_io.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/otafault/ota_io.cpp -------------------------------------------------------------------------------- /otafault/ota_io.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/otafault/ota_io.h -------------------------------------------------------------------------------- /scriptpatcher.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chainfire/imgpatchtools/HEAD/scriptpatcher.sh --------------------------------------------------------------------------------