Skip to main content

PixelFirm — Android firmware helper tool

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pixelfirm-1.0.1.tar.gz (45.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pixelfirm-1.0.1-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

Details for the file pixelfirm-1.0.1.tar.gz.

File metadata

  • Download URL: pixelfirm-1.0.1.tar.gz
  • Upload date:
  • Size: 45.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pixelfirm-1.0.1.tar.gz
Algorithm Hash digest
SHA256 6d721d9ebeba322adde016e7d61bccf6a2f005c42bbbf6ed90359b50554b80ac
MD5 b35416abe4de72ed66e438656aa0acaa
BLAKE2b-256 75ce6908b63a3c730d6ffeb2086671896b9c58c48cb81d104af3fd99f87d63f8

See more details on using hashes here.

File details

Details for the file pixelfirm-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pixelfirm-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 32.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pixelfirm-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bf50f5d6a2cb37cf07fc535d3113ee72cb00c0d0185442af27f08112d3c87855
MD5 1c795082805fb24e5ff86ed092007254
BLAKE2b-256 58077b6084fb2f7d4fc2caf16aed15c1fc900ade048f14dfc866088890bb2b51

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page