Using FastBoot to brush the mobile phone under Linux

Source: Internet
Author: User

Preface has been in the brush machine, failure, brush machine, failure, fortunately today there is a task can use FastBoot brush machine, good fun, and finally do not have to switch the system. (Long time no code to write, as an Internet programmer, do not write code I easily nervous).
Development environment Ubuntu13.10, configure the Android development environment. Specific configuration can be consulted: http://blog.csdn.net/wzy_1988/article/details/37737255
FastBoot mode brush machine using FastBoot brush machine is mainly brush boot.img, system.img and userdata.img files, the following respectively describes the corresponding brush machine command. All of the following commands require the use of the sudo command.
Enter FastBoot mode First, make sure your phone is able to connect to ADB and then execute the following command via ADB to enter FastBoot mode, as follows:
sudo adb reboot-bootloader

Wait a moment, the phone will restart into fastboot mode, check the following command to confirm:
sudo fastboot devices



Swipe img file 1. Brush BOOT.IMG Instructions
sudo fastboot flash boot boot.img

Execution Result:
Sending ' boot ' (8628 KB) ... OKAY [  0.483s]writing ' boot ' ... OKAY [  0.734s]finished. Total time:1.225s

2. Brush SYSTEM.IMG Instructions
sudo fastboot flash system system.img

Execution Result:
Erasing ' system ' ... OKAY [  0.829s]sending ' System ' (648865 KB) ... OKAY [20.588s]writing ' System ' ... OKAY [44.143s]finished. Total time:65.585s

3. Brush USERDATA.IMG Instructions
sudo fastboot flash userdata userdata.img

Execution Result:
Erasing ' UserData ' ... OKAY [  7.427s]sending ' UserData ' (179803 KB) ... OKAY [  5.881s]writing ' UserData ' ... OKAY [11.874s]finished. Total time:25.182s

4. Restart your phone
sudo fastboot reboot

PostScript img File No problem, after the restart can see the new system, enjoy!

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.