您现在的位置是:首页 > 网络趣梗网络趣梗
fastboot 刷机命令(fastboot刷机教程详解)
2022-08-30 12:12:10网络趣梗0人已围观
简介 fastboot 刷机命令(fastboot刷机教程详解),新营销网红网本栏目通过数据整理汇集了fastboot 刷机命令(fastboot刷机教程详解)相关信息,下面一起看看
fastboot 刷机命令(fastboot刷机教程详解),新营销网红网本栏目通过数据整理汇集了fastboot 刷机命令(fastboot刷机教程详解)相关信息,下面一起看看。
开机引导模式下使用。此文说明主要适用安卓6.0及以上版本
下载以下几个文件,CMD命令窗口切换到此目录就可使用了,当然还要安装通用串行总线驱动、打开通用串行总线调试(可选):
(同亚洲开发银行)亚洲开发银行工具
怎么进入此模式:
手机端:电源键音量减/加
电脑端:用亚洲开发银行(亚洲开发银行)工具,命令:亚行重新启动引导程序
格式:快速启动[选项.]命令.
版本:与1.0.41版的(同亚洲开发银行)亚洲开发银行适应
闪存:写入命令
更新ZIP:闪存update.zip包中的所有分区。如快速启动更新xxx.zip,xxx.zip中包含boot.img,recovery.img,system.img等镜像文件
flashall:从$ANDROID_PRODUCT_OUT闪存所有分区。在A/B设备上,闪存插槽设置为活动状态。次映像可能会被闪存到非活动插槽。会自动搜索当前目录下的所有图片文件,将它们都刷入系统对应分区。
闪存分区[文件名]:闪存给定的分区,如果没有给定文件名,则使用来自$ANDROID_PRODUCT_OUT的映像。这里的划分有引导/恢复/系统/用户数据/缓存等
fastbootflashbootboot.img将当前目录下的boot.img文件刷进系统的靴子分区fastbootflashrecoveryrecovery。图片将当前目录下的恢复.图片文件刷进系统的恢复分区例子:c : \ tmp \ fast boot fastbootflashbootc : \ tmp \ F103 _ BAK \ boot 2022 01 18。图片发送启动(16384 kb)好的[1.583秒]写启动好的[0.355秒]完成总时间:2.011 sc : \ tmp \快速启动fastbootflashrecoveryc : \ tmp \ F103 _ BAK \ recovery 20220118。图片发送恢复(16384 kb)好的[1.584秒]写入恢复好的[0.354秒]完成。总时间:2.001基本
设备[-l]:列出引导加载程序中的设备(-l:带有设备路径)。
c : \ tmp \快速启动快速启动设备000007 cf 00632d 90快速启动显示以快速启动结尾的设备号c : \ ADB \ ADB 32 ADB设备*守护程序未运行。正在启动startingitnowonport 5037 * *已成功启动*连接的设备列表8 hbizsbu 9 PCM 4 sdeviceadb时显示以设备结尾显示给定的引导装载程序变量。
重启[引导程序]:重启设备。
快速启动重新启动到正常模式fastbootrebootbootloader重新启动到引导模式fastbootrebootrecovery重新启动到恢复模式例子:c : \ tmp \快速启动fastbootbootloaderandroid 5.0及以上可用此命令RebootingintobootloaderOKAY[0.003s]完成总时间:0.007 sc : \ tmp \快速启动fastbootrebootingokay[0.002s]已完成。总时间33000.006锁定/解锁33600上锁/解锁命令,将会删除个人数据
闪存锁定
解锁:锁定/解锁闪存分区
fastbootflashinglock给法学学士上锁fastbootflashingunlock解法学学士锁闪存锁定_关键
解锁_关键:锁定/解锁关键引导加载程序分区。
闪烁获取_解锁_能力:检查是否允许解锁(1)或不允许解锁(0)。
高级:
擦除分区:擦除闪存部分
ition.
format[:FS_TYPE[:SIZE]] PARTITION: Format a flash partition.
set_active SLOT: Set the active slot.
oem [COMMAND...]: Execute OEM-specific command. 这里的command主要是自定义的命令(慎用)。高版本的系统可用fastboot oem help 查询有效的命令。
android6.0以前:fastbootoemlock上BL锁fastbootoemunlock解BL锁c:\tmp\fastboot fastbootoemunlockOKAY[30.582s]Finished.Totaltime:30.591s另一个手机的解锁:c:\tmp\fastboot fastbootoemunlock(bootloader)StartunlockflowOKAY[29.972s]Finished.Totaltime:29.983sc:\tmp\fastboot fastbootoemlock(bootloader)StartlockflowOKAY[43.440s]Finished.Totaltime:43.449sC:\tmp\fastboot-1 fastbootoemreboot-recovery重启到recovery模式OKAY[0.003s]Finished.Totaltime:0.050s还有:fastbootoemreboot-bootloader查询设备BL上锁情况:fastbootoemget_bootinfo此处的get_bootinfo是用户自定义命令C:\tmp\fastboot fastbootoemdevice-info(bootloader)Veritymode:true(bootloader)Deviceunlocked:false(bootloader)Devicecriticalunlocked:false(bootloader)Chargerscreenenabled:trueOKAY[0.013s]Finished.Totaltime:0.018s
gsi wipe
disable: Wipe or disable a GSI installation (fastbootd only).
wipe-super [SUPER_EMPTY]: Wipe the super partition. This will reset it to contain an empty set of default dynamic partitions.
boot image: 用指定镜像文件临时启动系统,不会更改原系统的启动文件,如利用magisk加入root权限的boot文件启动
boot KERNEL [RAMDISK [SECOND]]: Download and boot kernel from RAM.
用magisk_patched-23000_EJX2G.img(加了面具的boot.img)启动手机例子:C:\tmp\fastboot fastbootbootC:\tmp\fastboot\magisk_patched-23000_EJX2G.imgSending boot.img (16384KB)OKAY[1.573s]BootingOKAY[0.060s]Finished.Totaltime:1.678s
flash:raw PARTITION KERNEL [RAMDISK [SECOND]]: Create boot image and flash it.
--dtb DTB: Specify path to DTB for boot image header version 2.
--cmdline CMDLINE: Override kernel command line.
--base ADDRESS: Set kernel base address (default: 0x10000000).
--kernel-offset: Set kernel offset (default: 0x00008000).
--ramdisk-offset: Set ramdisk offset (default: 0x01000000).
--tags-offset: Set tags offset (default: 0x00000100).
--dtb-offset: Set dtb offset (default: 0x01100000).
--page-size BYTES: Set flash page size (default: 2048).
--header-version VERSION: Set boot image header version.
--os-version MAJOR[.MINOR[.PATCH]]: Set boot image OS version (default: 0.0.0).
--os-patch-level YYYY-MM-DD: Set boot image OS security patch level.
Android Things:
stage IN_FILE: Sends given file to stage for the next command.
get_staged OUT_FILE: Writes data staged by the last command to a file.
options: 选项参数
-w: Wipe userdata.
-s SERIAL: Specify a USB device.
-s tcp
udp:HOST[:PORT]: Specify a network device.
-S SIZE[K
M
G]: Break into sparse files no larger than SIZE.
--force: Force a flash operation that may be unsafe.
--slot SLOT: Use SLOT; all for both slots, other for non-current slot (default: current active slot).
--set-active[=SLOT]: Sets the active slot before rebooting.
--skip-secondary: Don t flash secondary slots in flashall/update.
--skip-reboot: Don t reboot device after flashing.
--disable-verity: Sets disable-verity when flashing vbmeta.
--disable-verification: Sets disable-verification when flashing vbmeta.
--unbuffered: Don t buffer input or output.
--verbose, -v: Verbose output.
--version: Display version.
--help, -h: Show this message.
fastboot
更多fastboot 刷机命令(fastboot刷机教程详解)相关信息请关注本文章,本文仅仅做为展示!
Tags: 网络趣事
很赞哦! ()
相关文章
随机图文
留言与评论 (共有 条评论) |