Token导航 LogoToken导航TokenDH.com
开发执行命令github未标认证来源可访问许可证需确认审计通过

android-fastboot安卓快速启动

Agent Skill

android-fastboot 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

659

周安装

28

GitHub Stars

15

下载量

231
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:android-fastboot(安卓快速启动)
来源仓库:https://github.com/hyperb1iss/hyperdroid-skill
仓库路径:skills/android-fastboot
安装命令:
npx skills add https://github.com/hyperb1iss/hyperdroid-skill --skill android-fastboot
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/hyperb1iss/hyperdroid-skill --skill android-fastboot

简介

执行安卓设备的底层分区操作,如刷写镜像与恢复出厂设置。

  • 适用于系统级故障修复或 bootloader 解锁后的固件更新。
  • 提供 fastboot 命令速查与安全校验步骤说明。
  • 操作具有高风险性,必须确认设备型号、电池电量及 bootloader 状态,防止变砖。
  • android-fastboot 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

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

BrandProcess
OnePlusfastboot oem unlock
XiaomiMi Unlock Tool (waiting period)
SamsungUses Odin, not fastboot
MotorolaRequest code from website, fastboot oem unlock <code>
SonyRequest code from website

Check Unlock Status

fastboot getvar unlocked            # yes/no
fastboot getvar device-state        # locked/unlocked
fastboot getvar unlock_ability      # Can be unlocked?

Flashing Partitions

Individual Partitions

fastboot flash boot boot.img
fastboot flash recovery recovery.img      # Non-A/B only
fastboot flash dtbo dtbo.img
fastboot flash vbmeta vbmeta.img

# Disable verification (for custom ROMs)
fastboot flash --disable-verity --disable-verification vbmeta vbmeta.img

Bootloader & Radio (Extra Careful!)

# These can hard-brick if wrong!
fastboot flash bootloader bootloader.img
fastboot reboot bootloader    # REQUIRED after bootloader flash

fastboot flash radio radio.img
fastboot reboot bootloader    # Recommended after radio flash

Temporary Boot (No Flash)

# Test before committing - reboots to normal after restart
fastboot boot recovery.img
fastboot boot patched_boot.img

A/B Slot Devices

Modern devices have two copies of each partition (A and B).

# Check current slot
fastboot getvar current-slot        # Returns: a or b

# Set active slot
fastboot set_active a
fastboot set_active b

# Flash to specific slot
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img

# Flash to both slots
fastboot --slot=all flash boot boot.img

Dynamic Partitions (Android 10+)

Large partitions (system, vendor, product) live inside a "super" partition.

Fastbootd Mode

# Enter userspace fastboot
fastboot reboot fastboot

# Check if in fastbootd
fastboot getvar is-userspace        # Should return: yes

Flash Dynamic Partitions

# Must be in fastbootd mode!
fastboot reboot fastboot

fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash product product.img

Virtual A/B Snapshots

# Check snapshot status
fastboot getvar snapshot-update-status

# Cancel stuck update (CAREFUL!)
fastboot snapshot-update cancel

Recovery Operations

Enter Recovery

adb reboot recovery
# Or: Power + Volume Up (varies by device)

ADB Sideload

# 1. In recovery, select "Apply update from ADB"
# 2. Run:
adb sideload update.zip

Flash Custom Recovery (TWRP)

# Test first (temporary boot)
fastboot boot twrp.img

# If it works, flash permanently
# Non-A/B devices:
fastboot flash recovery twrp.img

# A/B devices (recovery in boot):
fastboot flash boot twrp.img

Magisk (Root)

Installation

# 1. Extract boot.img from your firmware
# 2. Transfer to device, patch with Magisk app
# 3. Pull patched image
adb pull /sdcard/Download/magisk_patched_*.img

# 4. Flash patched boot
fastboot flash boot magisk_patched_*.img

# 5. Reboot
fastboot reboot

Useful Magisk Commands (after rooted)

adb shell su -c "magisk --version"
adb shell su -c "resetprop ro.debuggable 1"

Factory Reset / Wipe

fastboot erase userdata             # Wipe user data
fastboot erase cache                # Wipe cache (if exists)
fastboot -w                         # Format data + cache

# Full flash with wipe
fastboot -w flashall
fastboot -w update image.zip

Danger Levels

LevelOperations
✅ SAFEdevices, getvar, reboot, boot (temp)
⚠️ MEDIUMflash boot/recovery/dtbo, set_active
🔴 HIGHflash system/vendor, erase, -w
☠️ CRITICALflash bootloader, flash radio, flashing lock with custom OS

Brick Prevention

Never:

  • Flash images from different device models
  • Interrupt a flash operation
  • Lock bootloader with custom ROM installed
  • Flash bootloader/radio without matching versions

Always:

  • Verify device with fastboot getvar product
  • Keep stock images available for recovery
  • Use fastboot boot to test before fastboot flash
  • Maintain battery > 50%

Recovery from Soft Brick

# 1. Enter fastboot (Power + Vol Down)
fastboot devices

# 2. Flash stock boot
fastboot flash boot boot.img

# 3. For dynamic partitions
fastboot reboot fastboot
fastboot flash system system.img
fastboot flash vendor vendor.img

# 4. Wipe if needed
fastboot -w

# 5. Reboot
fastboot reboot

For hard bricks (no fastboot access), you need EDL mode (Qualcomm) or manufacturer service tools.


Quick Reference

TaskCommand
Check connectionfastboot devices
Device infofastboot getvar all
Unlock bootloaderfastboot flashing unlock
Flash bootfastboot flash boot boot.img
Test recoveryfastboot boot twrp.img
Current slotfastboot getvar current-slot
Switch slotfastboot set_active a
Wipe datafastboot -w
Rebootfastboot reboot

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.58%
按下载量换算89

Claude

32.58%
按下载量换算75

Cursor

17.53%
按下载量换算40

Gemini CLI

8.61%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/hyperb1iss/hyperdroid-skill --skill android-fastboot 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills