07-21-2016, 07:13 PM
(07-21-2016, 01:58 PM)tllim Wrote:(07-17-2016, 10:04 PM)KPhillisJr Wrote: I was wondering if it would be possible to change the compression used for the android images away from zip files. This is to greatly reduce the overall file size on download. For example theI actually using 7-zip utility to zip but in normal zip format. I didn't use the 7-zip method due to normal user familiar with zip and can be unziped by all unzip utility.
16GB image for Android version 5.1.1 released on July 11, 2016 is about 641 Megabytes in it's current zip format. If one changes the file type to 7-zip ( http://7-zip.org/ ) it's possible to further reduce the image to about 487 Megabytes. This is file that is about 30% smaller and should help with lowering bandwidth usage to acquire the image.
Just as a quick note I was using 7zip version 15.14 and I had the following Compression settings...
NOTE 1: The compression settings I used means that any system capable of running Microsoft Windows 7 should be able to use 7-zip to decompress the file. The main requirement is to have at least 256MB of ram.
NOTE 2: I used a 8-core system for the compression, however any desktop computer can decompress the file as long as they meet the minimum software requirements.
Most users who look at setting up a board using the pine64 will most likely be familiar with 7-zip files. In general popular file archiver software titles (see: Wikipedia: Comparison of file archivers ) can handle 7z ( 7-Zip) files without any hassle.
Also on a side note, Zip file format (Wikipedia: Zip (file format)) includes major revisions that break older software titles that supported Zip.
- Version 2.0 (1993) - compression support added. Deflate compression algorithm is added.
- Version 2.1 (1996) - Deflate64 compression added
- Version 4.5 (2001) - 64-bit zip files introduced.
- Version 4.6 (2001) - Bzip2 compression added, but was not published online until version 5.2's appnote.
- Version 6.3.0 ( 2006) - LZMA Compression, and PPMd+ compression algorithms added.