We all know that HTC phone restart into the so-called engineering mode, is Hboot, and then can enter the FastBoot interface, in this interface, we can do a lot of things on the computer side, especially Hboot has been modified, if it is Eng S-off can do more. is to use fastboot to brush in some partitions. However, some partitions do not recommend the use of FastBoot. You can't brush it in.
Mobile-side partitioning:
the partitions here are mostly the partitions that we often use:
Boot Screen Area (SPLASH1): Boot The first screen is this
Data Recovery Area (recovery): the partition where the recovery resides
kernel Zone (boot): boot partition, which is the ROM packet boot.img the brush-in partition
System Area: is the system storage partition, that is, the ROM package corresponding system partition, this partition factory settings will be relatively large, but this space is dead, you can not modify, that is, you 400M and 100M ROM package storage space is the same size. Different models of this partition are set differently by the manufacturer.
Data buffer (cache): The partition where the cell phone is running after it is stored
User Data area (userdata): Data partitions that exist after the phone is running
fastboot Help:
- Usage:fastboot [<option>] <command>
- Commands
- Update <filename> Reflash device from Update.zip
- Flashall "Flash boot" + "flash system"
- Flash <partition> [<filename>] Write a file to a flash partition
- Erase <partition> erase a flash partition
- GetVar <variable> display a bootloader variable
- Boot <kernel> [<ramdisk>] Download and boot kernel
- Flash:raw boot <kernel> [<ramdisk>] Create bootimage and flash it
- Devices list all connected devices
- Reboot reboot device normally
- Reboot-bootloader reboot device into bootloader
- Options
- -W Erase UserData and cache
- -S <serial number> specify device serial number
- -P <product> Specify product name
- -C <cmdline> Override kernel CommandLine
- -I <vendor id> Specify a custom USB vendor ID
Copy Code
Simple Fast Use tutorial:
1.fastboot Help
2. Erase partition:
fastboot Erase {partition} such as: FastBoot erase boot or fastboot erase system.
3. Swipe in the specified partition:
fastboot Flash {partition} {*.img} such as: FastBoot Flash boot boot.img or fastboot flash system system.img, etc.
4. Swipe in all partitions:
FastBoot flashall Note: This command finds all IMG files in the current directory, burns the IMG files to all corresponding partitions, and restarts the phone.
5. Swipe in the Boot,system,recovery partition:
(1) Create a ZIP package that contains the boot.img,system.img,recovery.img file.
(2) Execution: FastBoot update {*.zip}
6. Swipe in the splash screen:
fastboot Flash SPLASH1 splash screen
7. Restart your phone:
fastboot reboot
Please note: The above brush-in partitions are not available on every model or phone. ENG S-off is available, and the official unlocked phone can be brushed into the boot partition.
It is more convenient to use the FastBoot file with ADB when you use it.
use adb to enter FastBoot command: ADB reboot bootloader
A simple tutorial on using FastBoot