This article was reproduced from: http://luke-feng.iteye.com/blog/2171090
Brief introduction:
FastBoot is a much lower-level model than recovery on Android phones.
FastBoot is a brush that uses a USB cable to connect to a mobile phone. This mode is closer to the hardware interface, so this pattern is usually used when the phone is brick or repaired.
Talk about FastBoot's detailed tutorials today.
First, commonly used commands:
1, first enter the directory where the FastBoot file is located;
2, input fastboot.exe start fastboot;
3, check the device to connect the computer command: FastBoot devices;
4, delete recover, boot, System command: FastBoot erase recovery;
5, simply brush the boot.img and system.img into the system to complete the system refresh: fastboot Flash recovery cn170.img
6, FastBoot boot recovery.img (this is not to brush into recovery, but into the temporary rescue machine recovery);
Second, FastBoot command:
Load driver: FastBoot devices//load FastBoot driver
Erase: FastBoot erase xxxx//If I want to erase recovery is: FastBoot Erase recovery
Brush Boot:fastboot Flash Boot boot.img
Temporary Brush recovery:fastboot Boot recovery.img
Brush System:fastboot Flash System system.img
Brush system: FastBoot Flash UserData userdata. Img
Brush System: FastBoot Flash Recovery recovery.img
Brush Spl:fastboot Flash Hboot hboot.img
Brush Radio:fastboot Flash Radio Radio.img
Restart: fastboot reboot
Push files to System folder: ADB push Mms.apk/system/app
Third, partition interpretation:
System: Systems partition.
UserData: Data partitioning.
Cache: Cached Partition
Recovery:recovery partition.
Boot: The partition where the kernel and ramdisk are stored.
Hboot: This is the partition where SPL is located. It's very important. It is also the partition where the FastBoot is located. The wrong brush really changed the brick.
SPLASH1: This is the first screen of the boot.
Radio: This is the partition where the radio resides;
Iv. Summary of FastBoot knowledge points:
Knowledge of the Android partition:
SPLASH1: Boot screen, use nandroid Backup to back up the system after the file is splash1.img
Recovery: The partition is a recovery mode (that is, the interface that starts up by Home+power) and is backed up with nandroid backup as Recovery.img
Boot: Kernel boot partition, using Nandroid backup as Boot.img
System:android System section, directory represented as/system, usually read-only, using nandroid backup for system.img =
Cache: Cached folder, the directory is represented as/cache, in fact, in addition to T-mobile OTA update, not useful, using nandroid backup for cache.img
UserData: User-installed software and various data, directory/data, using nandroid Backup for data.img
Therefore, the brush machine can generally be understood as follows:
1. Modify the boot screen, modify the SPLASH1
2. Root brushes all the partitions
3. Brush Test_keys, update should be recovery
4. Use the Update.zip brush to update the boot, system
5. Restore factory settings, empty the UserData and cache
Understand these after very good understanding, generally do not need to update recovery. IMG, normally only need to update boot and system. But it seems to me that the two are interdependent and inseparable. OK, let's start with the brush step.
Enter the phone's SPL mode (power+ camera), and the driver is already installed.
The driver has been uploaded to the attachment, if found in my Computer equipment management, Figure 1 is also not properly installed driver, only need to right-click Update Driver, and point to the driver you downloaded from me.
No matter where you download it to a file containing the boot.img,system.img as long as it contains the two files you can brush the machine.
Enter cmd, enter Fastboot:fastboot.exe Enter, then FastBoot decives
If xxxxxx FastBoot appears, this proves that you have succeeded half, OK, next is erase partition, use FastBoot erase xxxx
If you just erase Boot,system, can also be userdata can also be recovery;
Still okay. UserData and recovery I will not wipe, and the order is
FastBoot Erase UserData hit the carriage return
FastBoot Erase recovery hit the carriage return.
OK, wipe it out, then start brushing it in.
Flash boot.img. The command is simple.
Then Flash system.img
Also okay,,, like before the backup of the UserData or recovery, and then not erased in Flash. If you need the following syntax
FastBoot Flash UserData UserData. IMG (determine if the name is in the backup or before the partition)
FastBoot Flash Recovery recovery.img
OK next reboot
Android Phone fastboot Brush machine command "turn"