iOS 11 LZFSE compression
See original GitHub issueiOS 11 introduced lzfse compression which is not yet supported by InflatableDonkey. Database files (sqlite) are particularly affected.
As a workaround you’ll need to manually decompress files using the above tool. The header magic string is bvx2.
I hope to have this issue patched over the next week. Please see #66 for additional details.
Issue Analytics
- State:
- Created 6 years ago
- Comments:23 (13 by maintainers)
Top Results From Across the Web
COMPRESSION_LZFSE | Apple Developer Documentation
LZFSE is Apple's proprietary compression algorithm, matching the compression ratio of zlib level 5, but with much higher energy efficiency and speed (between...
Read more >LZFSE - Wikipedia
LZFSE is an open source lossless data compression algorithm created by Apple Inc. It was released with a simpler algorithm called LZVN. LZFSE...
Read more >Apple Open-Sources its New Compression Algorithm LZFSE
Apple has open-sourced its new lossless compression algorithm, LZFSE, introduced last year with iOS 9 and OS X 10.10.
Read more >Apple's LZFSE compression algorithm goes open source
LZFSE is only present in iOS and OS X, so it can't be used when the compressed payload has to be shared to...
Read more >Playing with Apple's weird compression formats
Compressed Mach-Os. As mentioned above, the “Mach-O” that macOS and iOS use for their prelinked kernel is a little funky. One particular source ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

IIRC LZFSE is quite a bit more than just LZVN, but I’ve ported over that part to Java already here: https://github.com/tmyroadctfig/jnode/blob/master/fs/src/fs/org/jnode/fs/hfsplus/compression/LzvnDecode.java
It might be helpful if you want to move the LZFSE decoding into Java.
Windows users: I’ve forked lzfse and uploaded a binary executable here. Please unzip before use. I only just about managed to refrain myself from compressing it with
lzfseitself to bug you all…If you would like to build it yourself and I encourage you to do so, then grab Visual Studio Community if you need a compiler and the
lzfsesource.Then either:
.cand.hfiles from the src folder and build (release mode).Usage: