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

You can install PixelFirm in several ways:

# Option 1: Clone and install locally
git clone https://github.com/Android-Artisan/PixelFirm.git
cd PixelFirm
pip install -r requirements.txt
python setup.py install

# Option 2: Install via pip (if comming soon)
# 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.0.tar.gz (53.0 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.0-py3-none-any.whl (40.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pixelfirm-1.0.0.tar.gz
  • Upload date:
  • Size: 53.0 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.0.tar.gz
Algorithm Hash digest
SHA256 41e63dc4b6a1cad5fa20a2c64751e0e0ee2f0db5b0b6f83029f594c960b4351f
MD5 1a0072be977e211de527b2a031340794
BLAKE2b-256 6343eca53955c7a98650917c19d5e815967e225f8f211736be25feb8789eef62

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pixelfirm-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 40.3 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f27d85eb14aebb91a36932236eec9897c6f0b96d45d95b91531a82fcb04dcae
MD5 3aa8849633aad5e73000b2598f949dc0
BLAKE2b-256 07c3adeea52437fa793c91d8359a27c13638db799531f4d871ac663ffdea35cd

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