mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-05 11:30:47 -05:00
magiskboot: Lower the compression presets for XZ & LZMA The compression routine always uses the maximum compression preset for all formats. This is problematic with XZ and LZMA because they use far more memory than the other formats, while just providing a very marginal advantage in the resulting file size. The compression preset was changed from 9 to 6, which is often the default value and provides more than enough compression. Tested on Samsung Galaxy Fame (512MB RAM, perfect for this).