欢迎光临散文网 会员登陆 & 注册

adb 刷手机系统教程

2023-07-27 09:39 作者:Eheieh-Elohim  | 我要投稿

大前提 

电脑安装adb

电脑配置adb环境变量

电脑安装adb驱动程序

请求连接

adb devices

进入fast

adb reboot fastboot


刷入系统

fastboot flash system D:\PixelExperience\PixelExperience_Plus_arm64-ab-13.0-20230104-UNOFFICIAL.img


清除手机数据

fastboot -w


退出fast进入系统

fastboot reboot


增加谷歌离线验证

fastboot erase frp


直接把软件安装到手机

adb install D:\adb\sts\anycast.apk

adb install D:\adb\sts\hammer_b114_universal.apk


Android系统分区介绍(线刷包可以通过解包工具解包出以下镜像)

hboot----------------系统开机引导,类似电脑BIOS,这块刷错手机会变成砖

radio-----------------通讯模块,基带,wifi,bluetooth等衔接硬件的驱动软件

recovery-------------系统故障时负责回复

boot-----------------Linux嵌入式系统内核

system---------------系统文件,应用

cache----------------系统运行时产生的缓存

userdata-------------用户使用APP产生的缓存数据


adb devices-查看手机是否连接

adb reboot bootloader-将手机重启到Fastboot模式

fastboot devices-查看Fastboot模式连接手机

fastboot flashing unlock 设备解锁

fastboot flashing lock 设备上锁

fastboot continue 自动重启设备

fastboot format data 格式化data分区

fastboot erase frp 擦除frp分区

frp,用于防止用户信息在手机丢失后外泄

adb shell 查看手机是否root,$表示没有,#表示有root权限。

fastboot reboot 退出fastboot模式

adb reboot fastboot 进入fastboot模式


BD 表示系统分区名

XD 表示绝对路径下的镜像名


III写入系统命令

fastboot flash BD XD


命令如下

fastboot flash system D:\PixelExperience\PixelExperience_Plus_arm64-ab-13.0-20230503-UNOFFICIAL.img


擦除分区命令

fastboot erase BD


adb 刷手机系统教程的评论 (共 条)

分享到微博请遵守国家法律