Files
Magisk/native
Michael Jauregui a19666d884 magiskboot: Lower the compression presets for XZ & LZMA
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).
2026-08-23 21:46:25 +00:00
..