adb fastboot 烧机 和 编译android的几个命令

adb reboot bootloader

fastboot erase boot;
fastboot flash boot boot.img;

fastboot erase system;
fastboot flash system system.img;

fastboot erase userdata;
fastboot flash userdata userdata.img;

fastboot reboot;


按照相应的分区烧写



make systemimage - system.img

make userdataimage - userdata.img

make ramdisk - ramdisk.img

make snod - package system.img quickly(with this command, it will build a new system.img very quickly. well, you cannot use “make snod” for all the situations. it would not check the dependences. if you change some code in the framework which will effect other applications)

make update-api - update framework interface


你可能感兴趣的:(android,system)