http://blog.163.com/zheng_he_xiang/blog/static/18650532620134305221222/
Android system adb brush machine ZhengAdb,fastboot is the most common type of software available on Android, and as a developer,we need to constantly do the kernel, system code and other changes, if every change, we will burn to write all the img files,that is not very irritable ~ ~ ~of course, in this respect, Google has given us a very good way!!! ADB and fastboot software!! Common basic Commands:adb reboot bootloader --Enter FastBoot mode
FastBoot devices --see if the device is connected
fastboot Flash bootloader bootloader.img --Brush machine bootloader.img is Lk.rom
fastboot Flash Boot boot.img --boot.img of the Brush machine system
fastboot Flash System system.img -system.img of the brush machine
*.img contains: bootloader.img -- that's bootloader.
boot.img -- kernel, file system console and other components
-- >mkbootimg- -kernel Image --ramdisk ramdisk.img --cmdline"mem=128 console =TTYTCC0,115200N8 init=/init rw " --output boot.img
system.img - file system with System/ folder generation
-- >. /mkyaffs2image system/ system.imgBasic example: (Similar operation)
三星手机升级
First set of commands: Restarting and unlocking the phone
#adb reboot-bootloader Restart the phone to FastBoot mode
#fastboot OEM unlock Unlock the phone, this step needs to be confirmed on the phone, and format the machine (early backup Oh, pro!) )
#D:\tddownload>cd yakju-imm76d-factory-C6E807A1 switch to the already unpacked package directory
Second set of commands: Brush machine
#fastboot Flash bootloader bootloader-maguro-primela03.img First refreshed bootloader
#fastboot reboot-bootloader Restart bootloader
#fastboot Flash radio Radio-maguro-i9250xxla02.img re-refresh Baseband
#fastboot reboot-bootloader Restart again bootloader
#fastboot -w update image-yakju-imm76d.zip Upgrade Now!
Third set of commands: Restart and lock and lock the phone
#adb reboot-Bootloaer re-enter FastBoot mode
#fastboot OEM lock to re-lock the machine, so that there will be an OTA upgrade or official warranty will not be a problem, note that this time again to empty the phone storage, so just upgrade level do not rush to recover data
#fastboot Reboot This step is not necessary, if the phone does not restart automatically, use this command to manually restart the next
the Motorola xoom upgrade
#adb reboot-bootloader
#fastboot OEM unlock
#fastboot Flash boot boot.img
#FastBoot Flash System system.img
#FastBoot Flash Recovery recovery.img
#FastBoot Flash UserData userdata.img
#FastBoot Erase Cache
#fastboot OEM lock
From for Notes (Wiz) time=2013-01-06 09:58:36
FastBoot: various img files in the brush system