Skip to content

How to Extract CPIO and CPGZ Files on iPhone

Open .cpio and .cpgz archives in Fileso on iPhone, including a CPIO archive wrapped in gzip.

2 min readFileso

CPIO is an older file archive format; CPGZ is usually a gzip-compressed CPIO archive. Fileso can unpack supported examples on iPhone when a software bundle or backup arrives in either form.

Where this format is used

CPIO appears in Unix distribution workflows, system recovery images, and older backup sets. A .cpgz file often comes from macOS Archive Utility or a pipeline that first groups files with CPIO and then compresses the stream with gzip. It may contain a full directory tree rather than one document.

What makes it different

Like TAR, CPIO describes file entries and paths while an outer compressor reduces size. The .cpgz suffix therefore names two layers: gzip first, then CPIO. Entry paths and permissions may matter to the original system, although extracting them on iPhone does not recreate a bootable environment.

Extract .cpio, .cpgz in Fileso

  1. Save the complete .cpio or .cpgz file in Fileso. A CPGZ file adds a gzip layer around CPIO.
  2. Tap the file and choose View to inspect a temporary extraction of the CPIO members.
  3. Choose Extract to keep the files beside the archive, or Extract to Folder for another destination.
  4. Check the extracted directory tree and open a representative file before deleting the source.

Use View to check whether you received the expected file tree, then extract to a separate folder. If the source is a system package, inspect names and sizes before copying individual resources out of their original directory structure.

When this format is useful

Use it to inspect a recovery bundle, retrieve a configuration file, or check an older backup. Keep the original archive if ownership, permissions, or executable behavior will need to be restored on the source platform.

If extraction fails

A .cpgz can also be produced when an archive utility repeatedly fails to open another file. If the result looks unrelated to what you expected, verify the source format rather than decompressing the same file in a loop. Damaged gzip or CPIO headers will stop extraction.

Common question

Is CPGZ the same as ZIP? No. CPGZ normally means gzip-compressed CPIO, while ZIP has its own container structure.

Read: How to Open GZ, TGZ and TAR.GZ Files on iPhone.

Fileso

File manager, PDF editor and powerful file tools

App Store

Ready to try it?

Fileso · File manager, PDF editor and powerful file tools

Free on the App Store