Skip to main content

PixelFirm

A CLI tool to download the latest Google Pixel factory image by codename


Table of Contents


About

PixelFirm is a command‑line utility written in Python that lets you easily fetch the latest Google Pixel firmware (factory images) using the device’s codename. It retrieves a manifest (online or fallback) and uses that to download the needed image.


Features

  • Downloads the latest Pixel factory image for any Pixel device, given its codename.
  • Automatically fetches manifest data from GitHub / Google Developers.
  • Offline support via local manifest fallback.
  • Daily updating via GitHub Actions (keeps manifest current).

Requirements

  • Python 3.x (preferably 3.7+)
  • Standard Python libraries; see requirements.txt
  • Internet connection (for manifest and firmware download)

Installation

To install PixelFirm, run:

pip install pixelfirm

Usage

pixelfirm -c <codename>
  • Replace <codename> with the device’s codename (e.g. sailfish, walleye, etc.).
  • The tool will download the latest factory image for that codename.

Example:

pixelfirm -c coral

Manifest Details

  • The tool looks for manifest.json hosted on GitHub which is generated via scraping of Google’s Android factory images page.
  • If online manifest fetch fails, it falls back to a local copy included in the project.

Updating / Offline Mode

  • The manifest is automatically updated daily via a GitHub Actions workflow.
  • If you are offline or GitHub is inaccessible, PixelFirm will use the local manifest to find the latest known image.

Contributing

Contributions are welcome! Here are some ways you can help:

  • Add support for new Pixel codenames
  • Improve the manifest scraper (handle edge cases)
  • Fix bugs and improve stability
  • Improve documentation and usage examples

If you’d like to contribute, please:

  1. Fork the repo
  2. Make your changes in a feature branch
  3. Test thoroughly
  4. Submit a pull request

License

This project is licensed under the GNU General Public License v3.0.


Contact

For questions, suggestions, or bug reports, open an issue or reach out via GitHub.

Metadata

Release files for pixelfirm 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pixelfirm 1.0.2
File Size Uploaded Provenance Actions
pixelfirm-1.0.2.tar.gz 50.9 kB Without provenance Details for pixelfirm-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pixelfirm 1.0.2
File Interpreter ABI Platform Actions
pixelfirm-1.0.2-py3-none-any.whl Python 3 none any Details for pixelfirm-1.0.2-py3-none-any.whl

Total release size: 88.6 kB

Release files / pixelfirm-1.0.2.tar.gz

Download URL pixelfirm-1.0.2.tar.gz
Size 50.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f628d26ec047a2e1d7500f2cd9568dc9e630687fc800ef10afb2cbdd16f4c958
BLAKE2b-256 checksum
How to use checksums
9f015bbd41edc2a4849fb2e962ec849b1efdff478bc748d662ae990069977f57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / pixelfirm-1.0.2-py3-none-any.whl

Download URL pixelfirm-1.0.2-py3-none-any.whl
Size 37.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c1c6c2232c16576533cf86baff98aaa55bba1d99ec0115510bc000efd41dda89
BLAKE2b-256 checksum
How to use checksums
38f3daf87e2fe23adac769c2b125e48e6354774f102a8f3bac49bffa5b7aa44e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for pixelfirm 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page