[Android Software/Hacking General [Developers Only]] TKruzze:
Sources & Acknowledgements / Recent Changes

SOURCES AND ACKNOWLEDGEMENTS

Zip Builder has existed for me since way back in 2013 when I started developing GApps packages. I've added features here and there and finally decided to share it. After privately sharing with [MENTION=4544860]osm0sis[/MENTION], I received a lot of very constructive feedback and based on this, I polished the interface and added some new features. A big thank you to [MENTION=4544860]osm0sis[/MENTION] for this feedback. Without his input, it would look a lot clunkier than it does today.

All source code is provided, however, it's only appropriate for me to publicly acknowledge that this work includes code and binaries from several third party sources. Below is a complete list of these sources. You will also find this list as well as the actual code and binaries in the Source Code Zip file available for download.

Zip Builder

------------

Zip Builder is Copyright (c) 2013-2020 by [MENTION=2777334]TKruzze[/MENTION]

Original source code and compiled executables can be found on

XDA Developers. Zip Builder also includes code and compiled

executables from the sources listed below:

ZipSigner

---------------

ZipSigner is Copyright (c) 2016-2020, John Wu [MENTION=4470081]topjohnwu[/MENTION])

Original source code and license can be found at:

https://github.com/topjohnwu/Magisk

The version of ZipSigner used in Zip Builder was built by [MENTION=4470081]topjohnwu[/MENTION] using the source code above and optimized using ProGuard optimizations

Info-ZIP

----------

Info-ZIP is Copyright (c) 1990-2007 Info-ZIP

Original License can be found at:

http://www.info-zip.org/license.html

Downloads can be found at:

ftp://ftp.info-zip.org/pub/infozip/win32/

Original source code can be found at:

https://sourceforge.net/projects/infozip/

Hashutils

----------

The MD5 Checksum code and executable are from code.kliu.org

Original source code and compiled executables can be found at:

http://code.kliu.org/misc/hashutils/

SUMMARY OF RECENT CHANGES

SEPTEMBER 6, 2020 - v4.5.2

Fixed RegEx bug (oversight) that only supported automatic folder renaming through the year 2019. Now we're good through the year 2029. :)

As always, the best and easiest way to update is to simply install the new version using the Windows installer without uninstalling the previous version. All of your settings and options will be retained

NOVEMBER 1, 2018 - v4.5.1

Updated the cleanup function to also include removal of the SignAPK*.tmp files that are created in the %TEMP% folder during the signing process.

- Thanks to [MENTION=4544860]osm0sis[/MENTION] for reporting

MARCH 26, 2018 - v4.4.0

Updated the ZipSigner java executable to v2.1-min. This version is significantly smaller than v2.1 (458K vs 4.0MB) and was built by [MENTION=4470081]topjohnwu[/MENTION], himself, using using ProGuard optimizations

Recompiled Zip Builder Settings Manager (ZipBuildSettings.exe) without UPX compression to try and further minimize AV false-positives

Windows installer now built using lzma2/max compression and no longer uses solid compression. This was done to optimize installation speed and further minimize AV false-positives

MARCH 25, 2018 - v4.3.0

Updated signing code with the new ZipSigner 2.1 Java executable that was rewritten from the ground up by [MENTION=4470081]topjohnwu[/MENTION] for use in his Magisk root management software. This change will allow you to build the largest zip installer on even the smallest 32-bit machine. I was able to build a 1.0+GB shell-script based installer on a 32-bit Windows XP machine with only 1GB of RAM.

- Thanks, of course, to [MENTION=4470081]topjohnwu[/MENTION], but also to [MENTION=4544860]osm0sis[/MENTION] for the heads up on its existence

- Thanks to [MENTION=8340552]jenslody[/MENTION] for building it for inclusion here.

Since memory and java heap size issues are now resolved with the above change, I have removed all memory and java heap size checks from Zip Builder. The above change also allowed me to remove the separate test key files (testkey.pk8 and testkey.x509.pem), signapk.jar, zipadjust, and minsignapk.jar executables as their functions are all now contained in the new ZipSigner 2.1 Java executable mentioned above.

Installer will now clean up its 'temp folder' files before displaying the 'COMPLETED' message. On slower systems this should reduce the delay when selecting the 'Close' button after Zip Builder completes the signing process.

- Thanks to [MENTION=4544860]osm0sis[/MENTION] for reporting and helping track down the issue

Zip Builder is now built without UPX compression on the Windows exe's. This was done to try and reduce false-positives that may be reported by your AV software. If you're still having AV hits, please read the ANTI-VIRUS FALSE-POSITIVES section on the OP.

Fixed bug in installer that would corrupt the context (right-click) menu settings on an update (not initial) installation.

- Thanks to [MENTION=4544860]osm0sis[/MENTION] for reporting and helping track down the issue