FASTBOOT(1)
π FASTBOOT(1) π
okay bestie, sit down, hydrate, and let me tell you about fastboot β the Android flashing and booting utility from the fastboot Manuals. it's giving "I can absolutely brick this phone if I'm not careful" energy, so let's go πΈ
β¨ NAME β¨
fastboot β Android flashing and booting utility π«Ά
β¨ SYNOPSIS β¨
fastboot [-w] [-u] [-s device] [-p product] [-c cmdline] [-i vendorId]
[-b baseAddr] [-n pageSize] [-S size[K|M|G]] command
literally the whole vibe in one block. keep it in your notes app, queen π
β¨ DESCRIPTION β¨
WARNING: This manual might be outdated, please refer to the official documentation.
no fr fr, they said it themselves β this page might be old, go check the official docs if you need the tea fresh π
fastboot is a command line tool for flashing an Android device, boot an Android device to fastboot mode, etc.. that's the whole thing. it's the β¨main characterβ¨ of getting your device to do stuff before Android itself even wakes up.
β¨ OPTIONS β¨
so many little flags, each one a tiny key to a tiny door π
-wβ Erase userdata and cache (and format if supported by partition type). yes this deletes your stuff, it is not subtle π-uβ Do not erase partition before formatting. the polite version.-sdevice β Specify device serial number or path to device port. when you've got multiple devices plugged in and you need to point at exactly one.-lβ Withdevicescommand, list device paths.-pproduct β Specify product name.-ccmdline β Override kernel commandline.-ivendorId β Specify a custom USB vendor ID.-b|--basebaseAddr β Specify a custom kernel base address (default:0x10000000).--kernel-offsetβ Specify a custom kernel offset (default:0x00008000).--ramdisk-offsetβ Specify a custom ramdisk offset (default:0x01000000).--tags-offsetoffset β Specify a custom tags offset (default:0x00000100).-n|--page-sizepageSize β Specify the nand page size (default:2048).-Ssize[K|M|G]β Automatically sparse files greater than 'size'.0to disable. (theK,M,Gsuffixes are right there if you want them π«)--slotsuffix β Specify slot suffix to be used if the device supports slots. This will be added to all partition names that use slots.allcan be given to refer to all slots.othercan be given to refer to a non-current slot. If this flag is not used, slotted partitions will default to the current active slot.-a,--set-active[=]β Sets the active slot. If no suffix is provided, this will default to the value given by--slot. If slots are not supported, this does nothing. This will run after all non-reboot commands.--wipe-and-use-fbeβ On devices which support it, erase userdata and cache, and enable file-based encryption.--unbufferedβ Do not buffer input or output.--versionβ Display version.-h|--helpβ show this message.
β¨ COMMANDS β¨
this is the actual menu, bestie. pick your fighter π
fastboot updatefilename β Reflash device fromupdate.zip.fastboot flashallβ Flash boot, system, vendor, and (if found) recovery.fastboot flashpartition [filename] β Write a file to a flash partition.fastboot flashing lockβ Locks the device. Prevents flashing.fastboot flashing unlockβ Unlocks the device. Allows flashing any partition except bootloader-related partitions.fastboot flashing lock_criticalβ Prevents flashing bootloader-related partitions.fastboot flashing unlock_criticalβ Enables flashing bootloader-related partitions.fastboot flashing get_unlock_abilityβ Queries bootloader to see if the device is unlocked.fastboot erasepartition β Erase a flash partition.fastboot format[:[fs type][:[size]]partition β Format a flash partition. Can override the fs type and/or size the bootloader reports.fastboot getvarvariable β Display a bootloader variable.fastboot set_activesuffix β Sets the active slot. If slots are not supported, this does nothing.fastboot bootkernel [ramdisk [second]] β Download and boot kernel.fastboot flash:raw bootkernel [ramdisk [second]] β Create bootimage and flash it.fastboot devices [-l]β List all connected devices (with device paths if-lis used).fastboot continueβ Continue with autoboot.fastboot reboot [bootloader]β Reboot device [into bootloader].fastboot reboot-bootloaderβ Reboot device into bootloader.fastboot helpβ Show this help message.
β¨ AUTHORS β¨
The Android Open Source Project. π
and that's the whole page, bestie!! this beauty came out of android-platform-system-core and it's stamped FASTBOOT(1) in the manuals β go flash responsibly, and remember: read twice, flash once πβ¨π¦
π¦ where this page comes from
- debian trixie: fastboot 1:34.0.5-12 Β· Apache-2.0
- ubuntu questing: fastboot 1:34.0.5-12
- ubuntu resolute: fastboot 1:34.0.5-12build1 Β· Apache-2.0
- ubuntu stonking: fastboot 1:34.0.5-12build1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms