启动到bootloader
1. 获取最大稀疏文件大小:
fastboot getvar max-sparse-size
2. 设置 fb_mode:
fastboot oem fb_mode_set
3. 刷入 GPT 分区表:(可选)
fastboot flash partition gpt.bin
4. 刷入其他分区:
fastboot flash bootloader bootloader.img(可选)
fastboot flash vbmeta vbmeta.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot flash radio radio.img
fastboot flash bluetooth BTFM.bin
fastboot flash dsp dspso.bin
fastboot flash spunvm spunvm.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash vendor_boot vendor_boot.img
fastboot flash dtbo dtbo.img
fastboot flash super super.img_sparsechunk.0
fastboot flash super super.img_sparsechunk.1
fastboot flash super super.img_sparsechunk.2
fastboot flash super super.img_sparsechunk.3
fastboot flash super super.img_sparsechunk.4
fastboot flash super super.img_sparsechunk.5
fastboot flash super super.img_sparsechunk.6
fastboot flash super super.img_sparsechunk.7
fastboot flash super super.img_sparsechunk.8
fastboot flash super super.img_sparsechunk.9
fastboot flash super super.img_sparsechunk.10
fastboot flash super super.img_sparsechunk.11
5. 清除分区:
fastboot erase carrier
fastboot erase userdata(会清空数据)
fastboot erase metadata
fastboot erase ddr
6. 清除 fb_mode:
fastboot oem fb_mode_clear
以上执行完正常启动,会出现一个问题,No Cammond
的提示,不要怕,这个时候先强制关机,然后按住音量+键和电源键
即可,也就是进入recovery的按键组合