fastboot命令详解
来源:互联网 发布:淘宝产品定价方法 编辑:程序博客网 时间:2024/05/16 03:04
Android手机分区(每个分区都有相应的img文件对应):开机启动画面区(splash1),数据恢复区(recovery),内核区(boot),系统区(system),数据缓存区(cache),用户数据区(userdata)。
1. 查看fastboot命令的帮助:
fastboot
显示如下信息:
view plain
- usage: fastboot [ <option> ] <command>
- commands:
- update <filename> reflash device from update.zip
- flashall "flash boot" + "flash system"
- flash <partition> [ <filename> ] write a file to a flash partition
- erase <partition> erase a flash partition
- getvar <variable> display a bootloader variable
- boot <kernel> [ <ramdisk> ] download and boot kernel
- flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it
- devices list all connected devices
- reboot reboot device normally
- reboot-bootloader reboot device into bootloader
- options:
- -w erase userdata and cache
- -s <serial number> specify device serial number
- -p <product> specify product name
- -c <cmdline> override kernel commandline
- -i <vendor id> specify a custom USB vendor id
2. 擦除分区:
fastboot erase {partition} 例:fastboot erase boot或fastboot erase system等。
3. 烧写指定分区:
fastboot flash {partition} {*.img} 例:fastboot flash boot boot.img或fastboot flash system system.img等。
4. 烧写所有分区:
fastboot flashall 注意:此命令会在当前目录中查找所有img文件,将这些img文件烧写到所有对应的分区中,并重新启动手机。
5. 一次烧写boot,system,recovery分区:
(1)创建包含boot.img,system.img,recovery.img文件的zip包。
(2)执行:fastboot update {*.zip}
6. 烧写开机画面:
fastboot flash splash1 开机画面
7. 重启手机:
fastboot reboot
- fastboot命令详解
- fastboot命令详解
- fastboot命令详解
- fastboot命令详解
- fastboot命令详解
- fastboot命令详解
- 【android】Fastboot命令详解
- Fastboot烧机命令详解
- 使用fastboot命令刷机流程详解
- 使用fastboot命令刷机流程详解
- 使用fastboot命令刷机流程详解
- 使用fastboot命令刷机流程详解
- fastboot命令
- fastboot命令
- fastboot 详解
- fastboot 详解
- fastboot命令分析
- fastboot命令---便于查阅
- IOS开发之路-C 学习笔记7.22
- ORACLE常用后台进程说明
- 电商网站采用什么运营策略和推广方法
- 代码大全之内训资料
- Observer模式
- fastboot命令详解
- POJ 1787 Charlie's Change(多重背包+记录路径)
- 程序员技术练级攻略
- AutoCAD中.BAK文件的作用?
- 自然语言处理中的一些概念
- Setting up SSH for a Hadoop cluster
- 在win8下如果忘了电脑密码,无法进入系统的处理办法
- 自用.....c,c++,C#编程经验累积
- <Win32_1>深入浅出windows消息机制