diff --git a/README.md b/README.md index 70e7127..df0534b 100755 --- a/README.md +++ b/README.md @@ -32,6 +32,13 @@ pip install backports.lzma protobuf pycrypto ``` Also install [mono](https://www.mono-project.com/docs/getting-started/install/mac/) +### Windows +Install cygwin, and select + +```Latest python and pip packages, arj, brotli, cabextract, dos2unix, lz4, p7zip, renameutils, sharutils, unace, unzip and zip``` + +If you get syntax errors run dos2unix on extractor.sh + # How to use ## Download ``` diff --git a/extractor.sh b/extractor.sh index 1588685..9e4d2cf 100755 --- a/extractor.sh +++ b/extractor.sh @@ -54,6 +54,9 @@ fi LOCALDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) HOST="$(uname)" +if [[ "$(uname)" == *CYGWIN* ]]; then + HOST=Windows +fi toolsdir="$LOCALDIR/tools" if [[ ! -d "$toolsdir/extract_android_ota_payload" ]]; then diff --git a/tools/Windows/bin/libgcc_s_dw2-1.dll b/tools/Windows/bin/libgcc_s_dw2-1.dll new file mode 100644 index 0000000..c1ed592 Binary files /dev/null and b/tools/Windows/bin/libgcc_s_dw2-1.dll differ diff --git a/tools/Windows/bin/libstdc++-6.dll b/tools/Windows/bin/libstdc++-6.dll new file mode 100644 index 0000000..79d95b3 Binary files /dev/null and b/tools/Windows/bin/libstdc++-6.dll differ diff --git a/tools/Windows/bin/simg2img.exe b/tools/Windows/bin/simg2img.exe new file mode 100644 index 0000000..7fd8ab3 Binary files /dev/null and b/tools/Windows/bin/simg2img.exe differ diff --git a/tools/Windows/bin/zlib1.dll b/tools/Windows/bin/zlib1.dll new file mode 100644 index 0000000..0b1e556 Binary files /dev/null and b/tools/Windows/bin/zlib1.dll differ