Reducing Android Image download size.
#4
(07-21-2016, 07:13 PM)KPhillisJr Wrote:
(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 the
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.
I 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.

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.

I will check among moderators on their opinions. If majority agree, then I will change to 7zip.


Messages In This Thread
RE: Reducing Android Image download size. - by tllim - 07-22-2016, 01:10 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Android 6.0 Tablet and TV (release candidate, maintained) ayufan 228 392,844 12-29-2020, 01:13 AM
Last Post: firmwarefile
Shocked Remote for Android? liodra 18 30,066 12-23-2020, 06:11 AM
Last Post: Learnincurve
  Adding an accelerometer to Android modsbyus 11 17,042 11-02-2020, 08:12 PM
Last Post: Little_Johnny
  Android Things OS dqvsra 2 7,054 12-03-2019, 09:52 AM
Last Post: hangglider
  Is there another link for Android images? Maalth 3 7,146 10-10-2019, 07:57 AM
Last Post: tophneal
Question Android SDK Oreo NGC6691 2 5,681 07-15-2019, 08:29 PM
Last Post: dazza5000
  Putting Android 9 RockPro64 source into easier to manage repositories dazza5000 0 3,377 07-15-2019, 08:29 PM
Last Post: dazza5000
  Android 5.1.1 TV (old-stable, no longer maintained) ayufan 194 261,846 03-12-2019, 04:53 PM
Last Post: neosapien
  Issues with SD Card and Running Android Twistedx 0 3,588 02-26-2019, 11:58 AM
Last Post: Twistedx
  Android 7.1 (PINE A64(+)) pineadmin 59 106,357 02-10-2019, 07:44 PM
Last Post: mmmarcus

Forum Jump:


Users browsing this thread: 1 Guest(s)