question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iOS 11 LZFSE compression

See original GitHub issue

iOS 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:closed
  • Created 6 years ago
  • Comments:23 (13 by maintainers)

github_iconTop GitHub Comments

2reactions
tmyroadctfigcommented, Sep 1, 2017

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.

2reactions
horrorhocommented, Jun 27, 2017

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 lzfse itself 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 lzfse source.

Then either:

  • use cmake using the guide here and load into Visual Studio and build (release mode).
  • create an empty project, import all of the .c and .h files from the src folder and build (release mode).

Usage:

lzfse -decode -i my.sqlite -o my.decoded.sqlite
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found