android-fastboot

A collection of Android device commands for fastboot, the low-level mode used for bootloader and partition operations. It includes checks for the device, model, bootloader state, battery, and active slot.

In plain words
What is it for?
Entering recovery or fastboot mode, checking device variables, unlocking bootloaders, flashing partitions, managing A/B slots, and rebooting devices.
Why use it?
It helps reduce the risk of using the wrong image or interrupting a write that could make the device unusable.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/hyperb1iss/hyperdroid-skill/android-fastboot
Any agent
npx skills add hyperb1iss/hyperdroid-skill --skill android-fastboot
Clone the repo
git clone --depth 1 https://github.com/hyperb1iss/hyperdroid-skill

Made for: Claude Code, Codex.

Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,810 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00079 $0.01810
Opus 5 $0.00039 $0.00905
Sonnet 5 $0.00016 $0.00362
Haiku 4.5 $0.00008 $0.00181

Measured 2d ago against content hash d9fb36351909, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

android-fastboot scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/android-fastboot/SKILL.md · 321 lines

How it starts

The opening of the file, as written. The whole thing — 321 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Android Fastboot Operations

⚠️ DANGER ZONE - Fastboot operations write directly to device partitions. Wrong images or interrupted operations can brick devices. Always verify:

  1. Correct device (check fastboot getvar product)
  2. Correct images for exact device model
  3. Bootloader is unlocked (for flashing)
  4. Battery > 50%

Entering Fastboot Mode

# From ADB (device running)
adb reboot bootloader

# Hardware buttons (most devices)
# Power + Volume Down (hold until fastboot screen)

Basic Commands

fastboot devices                    # List connected devices
fastboot getvar all                 # All device variables
fastboot reboot                     # Reboot to system
fastboot reboot bootloader          # Stay in bootloader
fastboot reboot recovery            # Boot to recovery
fastboot reboot fastboot            # Boot to fastbootd (Android 10+)

Check Before Flashing

# ALWAYS run these first
fastboot devices                    # Verify connection
fastboot getvar product             # Verify device model
fastboot getvar unlocked            # Must be "yes" for flashing
fastboot getvar current-slot        # Know current A/B slot
fastboot getvar battery-level       # Should be > 50

Bootloader Unlocking

Google Pixel

# 1. Enable OEM unlocking in Developer Options
# 2. Boot to fastboot
adb reboot bootloader

# 3. Unlock
fastboot flashing unlock

# 4. Confirm on device with volume keys + power
# WARNING: This wipes all data!

Other Manufacturers

Brand Process
OnePlus fastboot oem unlock
Xiaomi Mi Unlock Tool (waiting period)
Samsung Uses Odin, not fastboot
Motorola Request code from website, fastboot oem unlock <code>
Sony Request code from website

Read the full file on GitHub · 321 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 321 lines · 79 tokens per session scan A d9fb36351909

Subscribe to this mod's changes

android-fastboot is a skill published in the GitHub repository hyperb1iss/hyperdroid-skill (35 stars, last pushed 7mo ago), licensed MIT. It adds 79 tokens to every session and 1,810 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

dagger-hilt-expert

Expert guidance for Dagger and Hilt dependency injection in Android. Use when implementing DI, creating modules, configuring scopes, optimizing performance, testing with Hilt, setting up multi-module architecture, using assisted injection, or debugging DI issues. Triggers on "dagger", "hilt", "dependency injection"…

JosephSanjaya/skills · 145 tokens

android-startup-optimizer

Expert Android app startup performance optimization skill. Use when analyzing or improving Android app cold start, warm start, or hot start times. Applies to projects using Jetpack Compose, Hilt/Dagger, ContentProviders, ad SDKs, or any Android initialization bottlenecks. Triggers on phrases like "startup time", "app…

JosephSanjaya/skills · 128 tokens

compose-m3-theme-expert

Architect, implement, and optimize Material 3 custom themes in Jetpack Compose. Use this skill whenever the user mentions Android UI design systems, MaterialTheme overrides, dynamic wallpaper-derived colors, custom CompositionLocal providers (like NiaTheme gradients or background tokens), theme recomposition…

JosephSanjaya/skills · 90 tokens

android-amplitude-sdk-expert

Expert guide for Amplitude Android SDK integration (Kotlin/Java). Use when tracking events, configuring autocapture, managing user identity, configuring batching or EU residency, implementing custom Enrichment/Destination plugins, migrating from legacy com.amplitude:android-sdk to modern…

JosephSanjaya/skills · 170 tokens

android-leak-expert

Expert guide for detecting, profiling, and resolving memory leaks in Android apps (Java, Kotlin, Compose, JNI). Use when analyzing memory usage, profiling heap dumps, fixing out-of-memory (OOM) issues, checking Compose lifecycle flow collections, resolving WebView/Handler leaks, or configuring LeakCanary. Triggers…

JosephSanjaya/skills · 123 tokens

compose-component-expert

Expert guide for designing, building, and optimizing reusable Jetpack Compose components. Applies 2026 best practices, Style API, slot APIs, Modifier.Node, strong skipping mode, recomposition optimization, and Detekt/Ktlint rules validation. Trigger this skill whenever the user asks about Jetpack Compose component…

JosephSanjaya/skills · 96 tokens