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.2.tar.gz (50.9 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.2-py3-none-any.whl (37.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pixelfirm-1.0.2.tar.gz
  • Upload date:
  • Size: 50.9 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.2.tar.gz
Algorithm Hash digest
SHA256 f628d26ec047a2e1d7500f2cd9568dc9e630687fc800ef10afb2cbdd16f4c958
MD5 bab30f299282428296f0817a416f296f
BLAKE2b-256 9f015bbd41edc2a4849fb2e962ec849b1efdff478bc748d662ae990069977f57

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pixelfirm-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 37.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c1c6c2232c16576533cf86baff98aaa55bba1d99ec0115510bc000efd41dda89
MD5 e5adab85530393dd8d0dfda822cf6c0d
BLAKE2b-256 38f3daf87e2fe23adac769c2b125e48e6354774f102a8f3bac49bffa5b7aa44e

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