Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Unpack XIP on Linux

Unpacking XIP files on Linux:

  1. Install xar from https://mackyle.github.io/xar/
  2. Install pbzx from https://github.com/NiklasRosenstein/pbzx (use gcc -llzma -lxar -I /usr/local/include pbzx.c -o pbzx and copy the binary into your PATH)
  3. use xar -xf XIP_FILE -C /path/to/extract/to
  4. Change to the directory where you extracted the file.
  5. Use pbzx -n Content | cpio -i to extract the contents.
@Lucathebest39

This comment has been minimized.

Copy link

@Lucathebest39 Lucathebest39 commented Dec 27, 2020

Thank you :)

@iyadahmed

This comment has been minimized.

Copy link

@iyadahmed iyadahmed commented May 30, 2021

many thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment