Fastboot command details

Source: Internet
Author: User

Android mobile phone partition (each partition corresponds to an imgfile): boot screen area (splash1), data recovery area (recovery), kernel area (BOOT ),

System, data cache, and userdata ).

 

1. view the help of the fastboot command:

 

Fastboot

The following information is displayed:Usage: fastboot [<option>] <command> <br/> commands: <br/> Update <FILENAME> reflash device from update.zip <br/> flashall "Flash Boot" + "Flash System" <br/> flash <partition> [<FILENAME>] Write A file to a flash partition <br/> erase <partition> erase a flash partition <br/> getvar <variable> display a bootloader variable <br/> boot <kernel> [< ramdisk>] download and boot kernel <br/> flash: raw boot <kernel> [<ramdisk>] Create bootimage and flash it <br/> devices list all connected devices <br/> Reboot reboot device normally <br/> Reboot-bootloader reboot device into bootloader <br/> options: <br/>-W erase userdata and cache <br/>-S <serial number> specify device serial number <br/>-P <product> specify product name <br/> -C <cmdline> override kernel CommandLine <br/>-I <vendor ID> specify a custom USB vendor ID

 

2. Erase partitions:

 

Fastboot erase {partition} example: fastboot erase boot or fastboot erase system.

 

3. Burn the specified partition:

 

Fastboot flash {partition} {*. IMG} example: fastboot Flash boot. IMG or fastboot flash system. IMG.

 

4. Burn all partitions:

 

Fastboot flashall Note: This command searches for all imgfiles in the current directory, burns these imgfiles to all corresponding partitions, and restarts the mobile phone.

 

5. One boot, system, and recovery partition:

 

(1) create a zip package containing the boot. IMG, system. IMG, and recovery. imgfile.

 

(2) execute: fastboot update {*. Zip}

 

6. Burn the boot screen:

 

Fastboot flash splash1 boot Screen

 

7. Restart the mobile phone:

 

Fastboot reboot

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.