喜好

喜好检索

生活 蔬菜

蔬菜大全

思考

见闻与录

BT技术

BT蓝牙技术

标签

fastboot命令 2021年04月12日

    简介

    fastboot概述

    fastboot简介

    在安卓手机中Fastboot是一种比recovery更底层的刷机模式(俗称引导模式)。就是使用USB数据线连接手机的一种刷机模式。相对于Recovery、Fota等卡刷来说,线刷更可靠,安全。
    
    recovery是一种卡刷,就是将刷机包放在sd卡上,然后在recovery中刷机的模式
    fastboot是一种线刷,就是使用USB数据线连接手机的一种刷机模式
    

    解锁BootLoader

    使用 Fastboot 刷机必须先解锁BootLoader,否则无法刷机
    解锁BootLoader的方法是在开发者模式中开起OEM unlocking开关。
    如开发者模式隐藏,请进入Settings--System--About Phone--多次点击build number 即可打开隐藏的开发者模式。
    
    Setting 》 System 》 Advanced(Developer options)》OEM unlocking 
    设置  》 系统 》 开发者选择 》  OEM解锁 
    

    进入fastboot方式

    目前主流Android手机进入Fastboot的方式为【关机】 【音量-】+【电源键】
    
    ADB 命令为:    adb reboot bootloader
    
    

    安卓设备分区解释

    
    system:系统分区.
    userdata:数据分区.
    cache:缓存分区
    recovery:Recovery分区.
    boot:存放内核和ramdisk的分区.
    hboot:这个是SPL所在的分区.很重要哦.也是fastboot所在的分区.刷错就真的变砖了.
    splash1:这个就是开机Log屏幕.
    radio:这个是radio所在的分区
    
    

    高通安卓设备主要开机模式

    开机模式 屏幕显示 冷启动 热启动 按键退出 命令退出
    Android/Normal Android界面 按Power键 adb reboot 手机短按,VR长按Power键 adb shell reboot -p(关机)
    Recovery/OTA/卡刷 Recovery界面 按住OK键(Vol+),再按Power键 adb reboot recovery 长按Power键重启 adb reboot
    Fastboot/线刷 Fastboot界面 按住BACK键(Vol-),再按Power键

    adb reboot bootloader

    长按Power键重启
    fastboot reboot
    fastboot continue(resuming boot)
    FFBM/Fast Factory/厂测/半开机 显示测试列表 misc分区头部为ffbm时,按Power键 misc分区头部为ffbm时,adb reboot 长按Power键重启依然进入FFBM
    唯一退出方式擦除misc分区
    EDL/紧急下载/9008/砖头/裸板 无显示,黑屏 同时按住OK键(Vol+)和BACK键(Vol-),再按Power键
    adb reboot edl
    fastboot reboot emergency
    长按Power键重启

    命令帮助提示

    
    usage: fastboot [ <option> ] <command>
    
    commands:
      update <filename>                        reflash device from update.zip
      flashall                                 flash boot + recovery + system
      flash <partition> [ <filename> ]         write a file to a flash partition
      erase <partition>                        erase a flash partition
      format <partition>                       format 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
      continue                                 continue with autoboot
      reboot                                   reboot device normally
      reboot-bootloader                        reboot device into bootloader
      help                                     show this help message
    
    options:
      -w                                       erase userdata and cache (and format
                                               if supported by partition type)
      -u                                       do not first erase partition before
                                               formatting
      -s <specific device>                     specify device serial number
                                               or path to device port
      -l                                       with "devices", lists device paths
      -p <product>                             specify product name
      -c <cmdline>                             override kernel commandline
      -i <vendor id>                           specify a custom USB vendor id
      -b <base_addr>                           specify a custom kernel base address
      -n <page size>                           specify the nand page size. default: 2048
      -S <size>[K|M|G]                         automatically sparse files greater than
                                               size.  0 to disable
    
    

    A

    B

    fastboot boot xxx.img

    fastboot boot  test.img     // 启动一个名为test.img的镜像
    
    

    C

    fastboot continue

    fastboot continue         // 退出fastboot模式 重启手机
    
    // 输出
    resuming boot...
    OKAY [  0.006s]
    finished. total time: 0.011s
    
    

    D

    fastboot devices

     fastboot devices      //  列出当前 已连接的fastboot模式设备 
    
    //输出
    NLHA140257      fastboot
    

    E

    fastboot erase frp

    fastboot erase frp                // frp 即 Factory Reset Protection,用于防止用户信息在手机丢失后外泄  擦除工厂保护
    
    // 输出
    erasing 'frp'...
    OKAY [  0.011s]
    finished. total time: 0.016s
    

    fastboot erase boot

    
     fastboot erase boot   // 擦除引导分区  !危险命令! 容易变砖     类似  rm -fr /
    
    

    fastboot erase system

    fastboot erase system     //  擦除系统分区
    
    

    fastboot erase cache

     
    fastboot erase cache      // cache分区
    
    
    //输出
    erasing 'cache'...
    OKAY [  0.007s]
    finished. total time: 0.013s
    
    

    fastboot erase userdata

    fastboot erase userdata    // 擦除userdata分区
    
    

    fastboot erase mdm1m9kefs1

    fastboot erase mdm1m9kefs1
    fastboot erase mdm1m9kefs2
    fastboot erase mdm1m9kefs3
    
    (基带缓存分区,三个分区互补加密,破解3G其实就是改的这三个分区,要清空就一起清空。)
    
    
    fastboot erase mdm1m9kefs1
    // 输出
    erasing 'mdm1m9kefs1'...
    (bootloader) Permission denied
    FAILED (remote failure)
    finished. total time: 0.055s
    
    
    fastboot erase mdm1m9kefs2
    // 输出
    erasing 'mdm1m9kefs2'...
    (bootloader) Permission denied
    FAILED (remote failure)
    finished. total time: 0.019s
    
    
    fastboot erase mdm1m9kefs3
    // 输出
    erasing 'mdm1m9kefs3'...
    (bootloader) Permission denied
    FAILED (remote failure)
    finished. total time: 0.019s
    

    F

    fastboot flashall

    fastboot flashall        // 此命令会在当前文件夹中查找全部img文件,将这些img文件烧写到全部相应的分区中,并又一次启动手机
    

    fastboot format data

    
    fastboot  format  data              //   格式化 data 分区
    // 输出
    formatting 'data' partition...
    Formatting is not supported for filesystem with type ''.
    FAILED ()
    finished. total time: 0.036s
    

    fastboot flash boot boot.img

    fastboot flash boot boot.img    // 刷入 boot.img  引导分区 
    
    Sending 'boot__a' (32768 KB)                       OKAY [  0.954s]
    Writing 'boot__a'                                  (bootloader) Invalid partition name boot__a
    FAILED (remote: '')
    Finished. Total time: 1.006s
    
    

    fastboot flash system system.img

    fastboot flash system system.img    // 刷入 system.img  刷入系统分区
    
    //输出
    Sending sparse 'system__a' 1/5 (514554 KB)         OKAY [ 17.261s]
    Writing sparse 'system__a' 1/5                     (bootloader) Invalid partition name system__a
    FAILED (remote: '')
    Finished. Total time: 86.836s
    
    

    fastboot flash recovery recovery.img

    
    fastboot flash  recovery recovery.img    // 刷入 recovery.img  刷入recovery系统恢复分区
    fastboot -w      // 效果相同
    

    fastboot flash cache cache.img

    fastboot flash cache cache.img   // 刷写cache分区:(用于清空cache分区等)
    fastboot -w      // 效果相同
    

    fastboot flash vendor vendor.img

    fastboot flash vendor vendor.img             // 刷写 vendor分区
    //输出
    Sending 'vendor__a' (410261 KB)                    OKAY [ 10.688s]
    Writing 'vendor__a'                                (bootloader) Invalid partition name vendor__a
    FAILED (remote: '')
    Finished. Total time: 10.736s
    
    

    fastboot flash userdata userdata.img

    fastboot flash userdata userdata.img     // 刷写data分区:(用于清空data分区等)
    
    //输出
    Sending 'userdata' (968 KB)                        OKAY [  0.036s]
    Writing 'userdata'                                 OKAY [  0.290s]
    Finished. Total time: 0.548s
    
    
    

    fastboot flash bootloader bootloader.img

    fastboot flash bootloader  bootloader.img        // 刷入 bootloader.img 
    
    Sending 'bootloader' (7419 KB)                     OKAY [  0.240s]
    Writing 'bootloader'                               (bootloader) Validating 'bootloader.default.xml'
    (bootloader) Committing 'bootloader.default.xml'
    (bootloader) - flashing 'emmc_appsboot.mbn' to 'aboot'
    (bootloader) - flashing 'rpm.mbn' to 'rpm'
    (bootloader) - flashing 'tz.mbn' to 'tz'
    (bootloader) - flashing 'devcfg.mbn' to 'devcfg'
    (bootloader) - flashing 'cmnlib_30.mbn' to 'cmnlib'
    (bootloader) - flashing 'cmnlib64_30.mbn' to 'cmnlib64'
    (bootloader) - flashing 'keymaster64.mbn' to 'keymaster'
    (bootloader) - flashing 'prov.mbn' to 'prov'
    (bootloader) - flashing 'sbl1.mbn' to 'sbl1'
    OKAY [  0.266s]
    Finished. Total time: 0.919s
    

    fastbootflash radio radio.img

    fastbootflash radio radio.img     // 刷写基带分区
    
    

    fastboot flash splash1 xxx.bmp

     fastboot flash splash1 xxx.bmp      // 烧录 开机画面
    
    

    fastboot flash oem oem.img

    fastboot flash oem oem.img      //  刷写oem分区(运营商配置文件,和运营商配置有关)
    
    //输出
    Sending 'oem__a' (120704 KB)                       OKAY [  3.203s]
    Writing 'oem__a'                                   (bootloader) Invalid partition name oem__a
    FAILED (remote: '')
    Finished. Total time: 3.253s
    

    fastboot flash system system.img_sparsechunk.0

    
    fastboot flash system system.img_sparsechunk.0
    fastboot flash system system.img_sparsechunk.1
    fastboot flash system system.img_sparsechunk.2
    fastboot flash system system.img_sparsechunk.3
    fastboot flash system system.img_sparsechunk.4
    fastboot flash system system.img_sparsechunk.5
    fastboot flash system system.img_sparsechunk.6
    为解决分区过大刷机容易导致出错,所以采用了分段式的方法。刷机时,方法还是一致的,只不过要从分段0开始,按次序刷到分段N
    

    G

    fastboot getvar all

    
    fastboot getvar all          // 获取手机相关信息
    
    
    version 客户端支持的fastboot协议版本
    version-bootloader  Bootloader的版本号
    version-baseband    基带版本
    product             产品名称
    serialno             产品序列号
    secure              返回yes 表示在刷机时需要获取签名
    hwrev               硬件环境
    
    fastboot getvar all  
    // 输出
    (bootloader) version:0.5
    (bootloader) battery-soc-ok:yes
    (bootloader) battery-voltage:4082000
    (bootloader) variant:QRD eMMC
    (bootloader) secure_state:secure
    (bootloader) secure:yes
    (bootloader) version-baseband:
    (bootloader) version-bootloader:
    (bootloader) display-panel:
    (bootloader) off-mode-charge:0
    (bootloader) charger-screen-enabled:0
    (bootloader) max-download-size: 0x20000000
    (bootloader) partition-type:cache:ext4
    (bootloader) partition-size:cache:       0x10000000
    (bootloader) partition-type:userdata:ext4
    (bootloader) partition-size:userdata:    0x5d3bf7b98
    (bootloader) partition-type:system:ext4
    (bootloader) partition-size:system:      0x100000000
    (bootloader) chipid:721QZY132E2D6B8500000031000000650000003200000065
    (bootloader) serialno:721Qxxxxsafa
    (bootloader) kernel:lk
    (bootloader) product:MSM8953
    all:
    finished. total time: 0.256s
    
    
    
    fastboot getvar all  
    // 输出
    (bootloader) version: 0.5
    (bootloader) version-bootloader: MBM-4.3
    (bootloader) product: xmail
    (bootloader) board: xmail
    (bootloader) secure: no
    (bootloader) hwrev: caac
    (bootloader) radio: 1
    (bootloader) storage-type: emmc
    (bootloader) emmc: 32GB SAMSUNG QD63MB RV=08 PV=01 FV=0000000000000001
    (bootloader) ram: 2GB SAMSUNG LP3 DIE=8Gb M5=01 M6=06 M7=00 M8=1F
    (bootloader) cpu: SDM632
    (bootloader) serialno: daafafaa
    (bootloader) cid: 0xDEAD
    (bootloader) channelid: 0x00
    (bootloader) uid: 9A6BE31F00000000000000000000
    (bootloader) securestate: engineering
    (bootloader) iswarrantyvoid: n/a
    (bootloader) max-download-size: 536870912
    (bootloader) reason: Reboot mode set to fastboot
    (bootloader) imei: 359525090009484
    (bootloader) meid:
    (bootloader) date: 08-10-2018
    (bootloader) sku: XT1955-5
    (bootloader) carrier_sku: XT1955-5
    (bootloader) battid: SB18C28957
    (bootloader) iccid:
    (bootloader) cust_md5:
    (bootloader) max-sparse-size: 268435456
    (bootloader) current-time: "Thu Dec  6 13:57:39 UTC 2018"
    (bootloader) frp-state: no protection (0)
    (bootloader) ro.carrier: unknown
    (bootloader) current-slot: _a
    (bootloader) running-boot-lun: 0
    (bootloader) running-slot: _a
    (bootloader) slot-suffixes: _a,_b
    (bootloader) slot-count: 2
    (bootloader) slot-successful:_a: Yes
    (bootloader) slot-successful:_b: No
    (bootloader) slot-bootable:_a: Yes
    (bootloader) slot-bootable:_b: Yes
    (bootloader) slot-retry-count:_a: 6
    (bootloader) slot-retry-count:_b: 0
    all: listed above
    finished. total time: 0.564s
    

    H

    I

    J

    K

    L

    M

    N

    O

    fastboot oem lock

    fastboot oem lock    // 危险 无法进去bootlaoder 重新锁定 bootloader 
    
    // 输出
    (bootloader) Not in unlocked state
    OKAY [  0.004s]
    finished. total time: 0.019s
    
    

    fastboot oem unlock

    fastboot oem unlock    // 解锁bootloader
    
    // 输出
    (bootloader) feature disabled
    OKAY [  0.008s]
    finished. total time: 0.024s
    

    fastboot oem device-info

    
    fastboot oem device-info        // 查看设备信息
    
    // 输出
    (bootloader)    Device tampered: false
    (bootloader)    Device unlocked: false
    (bootloader)    Device critical unlocked: false
    (bootloader)    Charger screen enabled: false
    (bootloader)    Display panel:
    OKAY [  0.058s]
    finished. total time: 0.063s
    

    fastboot oem help

    
    fastboot oem  help
    (bootloader) config...
    (bootloader) hw...
    (bootloader) partition...
    (bootloader) blankflash
    (bootloader) fb_mode_set
    (bootloader) fb_mode_clear
    (bootloader) bp-tools-on
    (bootloader) bp-tools-off
    (bootloader) qcom-on
    (bootloader) qcom-off
    (bootloader) build-signature
    (bootloader) display...
    (bootloader) backlight...
    (bootloader) logo...
    (bootloader) unlock
    (bootloader) lock
    (bootloader) get_unlock_data
    (bootloader) cid_prov_req
    (bootloader) ssm_test...
    (bootloader) ssm...
    (bootloader) wptest...
    (bootloader) logdump
    (bootloader) shwi_test
    (bootloader) prod_fuse
    (bootloader) regex...
    (bootloader) pmic...
    (bootloader) led...
    (bootloader) read_sv
    (bootloader) sp_test...
    (bootloader) off-mode-charge
    (bootloader) show_screen
    (bootloader) batt-voltage...
    (bootloader) usb_tune...
    (bootloader) dt...
    (bootloader) hwid...
    (bootloader) prov_test...
    (bootloader) ramdump...
    OKAY [  0.179s]
    Finished. Total time: 0.182s
    
    
    

    fastboot oem config help

    
    λ fastboot oem config help
    
    (bootloader) usage: fastboot oem config [options]
    (bootloader) options:
    (bootloader)   (none given)      list all supported utags
    (bootloader)   list              list all configured utags
    (bootloader)   <name> <value>    set a utag
    (bootloader)   <name>            query a utag
    (bootloader)   <name> ""
    (bootloader)   unset <name>      unset a utag
    (bootloader)   clear             unset all utags
    (bootloader)   protect <name>    mark utag as read-only
    (bootloader)   unprotect <name>  unmark utag as read-only
    (bootloader)   append <name> [/s] <value>  support append str value to
    (bootloader) the utag
    (bootloader)   help              show usage
    OKAY [  0.038s]
    Finished. Total time: 0.039s
    
    
    

    fastboot oem config list

    
    
    λ fastboot oem config list
    
    (bootloader) <UTAG name="barcode" type="str" protected="FALSE">
    (bootloader)   <value>
    (bootloader)     N0QT0A0115
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Device serial number
    (bootloader)     (used interchangably with 'serialno')
    (bootloader)   </description>
    (bootloader) </UTAG>
    (bootloader) <UTAG name="version.baseband" type="str" protected="TRUE">
    (bootloader)   <value>
    (bootloader)     M6475_DE314_12.202.01.22R MONA_EVT2_NADSDS_CUST
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Modem release version
    (bootloader)     (automatically updated on each boot)
    (bootloader)   </description>
    (bootloader) </UTAG>
    (bootloader) <UTAG name="batt_firstusagedate" type="str"
    (bootloader) protected="FALSE">
    (bootloader)   <value>
    (bootloader)     1
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Query and clear battery first usage date flag.
    (bootloader)     When its value is 1, batt_health should set first usage
    (bootloader)      date file.
    (bootloader)   </description>
    (bootloader) </UTAG>
    (bootloader) <UTAG name="BootCycleCount" type="ulong" protected="FALSE">
    (bootloader)   <value>
    (bootloader)     0x12d
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     To record the number of boot cycles.
    (bootloader)   </description>
    (bootloader) </UTAG>
    (bootloader) <UTAG name="BootCycleSuccess" type="str" protected="TRUE">
    (bootloader)   <value>
    (bootloader)     299
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     To record the index of last successful boot cycle.
    (bootloader)   </description>
    (bootloader) </UTAG>
    (bootloader) <UTAG name="bt_mac" type="str" protected="FALSE">
    (bootloader)   <value>
    (bootloader)     F8:EF:5D:CE:CD:82
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Bluetooth Mac Address.
    (bootloader)   </description>
    (bootloader) </UTAG>
    (bootloader) <UTAG name="ro.build.fingerprint" type="str"
    (bootloader) protected="TRUE">
    (bootloader)   <value>
    (bootloader)     xxxxxxxxxxxxxxxxxxxxxxxx
    (bootloader)     xxxxxxxxxxxxxxxxxxxxxxxx
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Software build fingerprint
    (bootloader)     (automatically updated on each boot)
    (bootloader)   </description>
    (bootloader) </UTAG>
    (bootloader) <UTAG name="ro.build.version.qcom" type="str"
    (bootloader) protected="TRUE">
    (bootloader)   <value>
    (bootloader)     AU_LINUX_ANDROID_LA.VENDOR.15.4.1.R1.11.00.00.1214.042
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     QCOM meta build ID
    (bootloader)     (automatically updated on each boot)
    (bootloader)   </description>
    (bootloader) </UTAG>
    (bootloader) <UTAG name="carrier_sku" type="str" protected="FALSE">
    (bootloader)   <value>
    (bootloader)     XT2517-1
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Device stock-keeping unit for Carrier
    (bootloader)     (less or equal than 15 alphanumeric or hyphen character
    (bootloader)     s)
    (bootloader)   </description>
    (bootloader) </UTAG>
    (bootloader) <UTAG name="cmdl" type="str" protected="FALSE">
    (bootloader)   <value>
    (bootloader)     androidboot.selinux=permissive
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Kernel command line overlay
    (bootloader)      add/modify option: <option>=<value>
    (bootloader)      remove option: -<option>
    (bootloader)   </description>
    (bootloader) </UTAG>
    (bootloader) <UTAG name="date" type="str" protected="FALSE">
    (bootloader)   <value>
    (bootloader)     09-01-2024
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Manufactoring date
    (bootloader)     (mm-dd-yyyy, e.g.: "12-31-2013")
    (bootloader)   </description>
    (bootloader) </UTAG>
    (bootloader) <UTAG name="esimid" type="str" protected="FALSE">
    (bootloader)   <value>
    (bootloader)     89033023553429010000020986927737
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Device ESIMID
    (bootloader)   </description>
    (bootloader) </UTAG>
    (bootloader) <UTAG name="fti" protected="FALSE">
    (bootloader)   <value>
    (bootloader)     128 bytes of raw data
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Factory tracking information in binary format
    (bootloader)     (not configurable via 'fastboot oem config')
    (bootloader)   </description>
    (bootloader) </UTAG>
    (bootloader) <UTAG name="imei" type="str" protected="FALSE">
    (bootloader)   <value>
    (bootloader)     353106180014712
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Device IMEI
    (bootloader)     (15 decimal digits including the correct checksum)
    (bootloader)   </description>
    (bootloader) </UTAG>
    (bootloader) <UTAG name="imei2" type="str" protected="FALSE">
    (bootloader)   <value>
    (bootloader)     353106180014720
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Device IMEI2
    (bootloader)     (15 decimal digits including the correct checksum)
    (bootloader)   </description>
    (bootloader) </UTAG>
    (bootloader) <UTAG name="kernel.version" type="str" protected="TRUE">
    (bootloader)   <value>
    (bootloader)     Linux version 6.6.30-android15-8-maybe-dirty-debug (kle
    (bootloader)     af@build-host) (Android (11368308, +pgo, +bolt, +lto, +
    (bootloader)     mlgo, based on r510928) clang version 18.0.0 (https://a
    (bootloader)     ndroid.googlesource.com/toolchain/llvm-project 477610d4
    (bootloader)     d0d988e69dbc3fae4fe86bff3f07f2b5), LLD 18.0.0) #1 SMP P
    (bootloader)     REEMPT Thu Jan  1 00:00:00 UTC 1970
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     kernel version string
    (bootloader)     (automatically updated on each boot)
    (bootloader)   </description>
    (bootloader) </UTAG>
    (bootloader) <UTAG name="LogfsResetNumber" type="ulong"
    (bootloader) protected="FALSE">
    (bootloader)   <value>
    (bootloader)     0x0
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     To record when logfs is re-created.
    (bootloader)   </description>
    (bootloader) </UTAG>
    (bootloader) <UTAG name="ro.carrier" type="str" protected="TRUE">
    (bootloader)   <value>
    (bootloader)     unknown
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     ro.carrier value passed from kernel
    (bootloader)     (automatically updated on each boot)
    (bootloader)   </description>
    (bootloader) </UTAG>
    (bootloader) <UTAG name="sku" type="str" protected="FALSE">
    (bootloader)   <value>
    (bootloader)     XT2517-1
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Device stock-keeping unit
    (bootloader)     (less or equal than 15 alphanumeric or hyphen character
    (bootloader)     s)
    (bootloader)   </description>
    (bootloader) </UTAG>
    (bootloader) <UTAG name="throttle_pwr_cycle" type="ulong"
    (bootloader) protected="FALSE">
    (bootloader)   <value>
    (bootloader)     0x0
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Throttle power cycle pon reason and counter
    (bootloader)   </description>
    (bootloader) </UTAG>
    (bootloader) <UTAG name="time.offset" type="llong" protected="TRUE">
    (bootloader)   <value>
    (bootloader)     1728477780
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     UTC time offset in seconds since Epoch
    (bootloader)     (automatically updated on each boot)
    (bootloader)   </description>
    (bootloader) </UTAG>
    (bootloader) <UTAG name="ufs_ffu_infos" type="str" protected="FALSE">
    (bootloader)   <value>
    (bootloader)     FFU
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     To force certain ufs firmware upgrade status
    (bootloader)     (valid values are "FFU", "SUCCESS", "FAIL")
    (bootloader)   </description>
    (bootloader) </UTAG>
    (bootloader) <UTAG name="wifi_mac" type="str" protected="FALSE">    【打印当前Mac MacAddress地址】
    (bootloader)   <value>
    (bootloader)     F8:EF:5D:CE:CD:83,F8:EF:5D:CE:CD:84
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     WIFI Mac Address(es).
    (bootloader)   </description>
    (bootloader) </UTAG>
    (bootloader) <UTAG name="hwid_A" type="str" protected="FALSE">
    (bootloader)   <value>
    (bootloader)     A B 1 EVB mona
    (bootloader)     A C 1 EVT1 mona
    (bootloader)     A D 1 EVT2 mona
    (bootloader)     A E 1 DVT1 mona
    (bootloader)     A F 1 DVT2 mona
    (bootloader)     A G 1 PVT mona
    (bootloader)
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Programmable HWIDs
    (bootloader)   </description>
    (bootloader) </UTAG>
    (bootloader) <UTAG name="sod.cfg" type="str" protected="FALSE">
    (bootloader)   <value>
    (bootloader)     <?xml version="1.0"?>
    (bootloader)     <!-- auto-generated by libxtags -->
    (bootloader)     <xtags/>
    (bootloader)     <sod flags.rdump_enabled="1" flags.stay_fastboot="0" fl
    (bootloader)     ags.no_reentry="0" flags.recipe_cid0_allow_ramdump="0"
    (bootloader)     rdump_id="1" last_rdump_id="1" rdump_mode="48"/>
    (bootloader)     </xtags>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     SOD (RAM dump) configuration
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.566s]
    Finished. Total time: 0.567s
    
    
    

    oem config xxx

    单独打印当前所有fastboot config oem 配置

    
    fastboot oem config auto_fastboot_timeout    |  fastboot oem config barcode   |  fastboot oem config bare_board   |  fastboot oem config battery   |  fastboot oem config battid   |  fastboot oem config batt_firstusagedate   |  fastboot oem config bl_notify.   |  fastboot oem config bootmode   |  fastboot oem config bt_mac   |  fastboot oem config build_vars   |  fastboot oem config carrier   |  fastboot oem config console   |  fastboot oem config cust_md5   |  fastboot oem config date   |  fastboot oem config product   |  fastboot oem config disable-reset   |  fastboot oem config display   |  fastboot oem config dt_node_offsets   |  fastboot oem config nal   |  fastboot oem config esd   |  fastboot oem config esimid   |  fastboot oem config cont_splash   |  fastboot oem config fsg-id   |  fastboot oem config fti   |  fastboot oem config hwid_   |  fastboot oem config hwrev   |  fastboot oem config iccid   |  fastboot oem config imei   |  fastboot oem config imei2   |  fastboot oem config kernel.version   |  fastboot oem config loglevel.ram   |  fastboot oem config loglevel.uart   |  fastboot oem config loglevel.ui   |  fastboot oem config meid   |  fastboot oem config memtest_blocks   |  fastboot oem config memtest_cycles   |  fastboot oem config memtest_mode   |  fastboot oem config num-sims   |  fastboot oem config parallel_flash   |  fastboot oem config radio   |  fastboot oem config ro.build.fingerprint   |  fastboot oem config ro.build.version.qcom   |  fastboot oem config ro.carrier   |  fastboot oem config refresh_vars   |  fastboot oem config serialno   |  fastboot oem config show_bootcycle   |  fastboot oem config sku   |  fastboot oem config carrier_sku   |  fastboot oem config sod.offset   |  fastboot oem config sod.cfg:str   |  fastboot oem config time.offset   |  fastboot oem config version.baseband   |  fastboot oem config WPDisable   |  fastboot oem config wifi_mac   |  fastboot oem config cmdl   |  fastboot oem config charger_disable   |  fastboot oem config enable_dump_gpt   |  fastboot oem config md5-clogo   |  fastboot oem config factory_kill_timeout   |  fastboot oem config BootCycleCount   |  fastboot oem config BootCycleSuccess   |  fastboot oem config init_reboot_command   |  fastboot oem config LogfsResetNumber   |  fastboot oem config dap_flashing   |  fastboot oem config ab_auto_recovery   |  fastboot oem config skip_orange   |  fastboot oem config once_shipmode   |  fastboot oem config skip_longpress   |  fastboot oem config spu_ari_gauge   |  fastboot oem config spu_por_count   |  fastboot oem config spu_panic_counter   |  fastboot oem config spu_status_data   |  fastboot oem config throttle_pwr_cycle   |  fastboot oem config ship_dirty   |  fastboot oem config setup_shutdown 
    
    
    
    输出: 
    
    
    λ fastboot oem config auto_fastboot_timeout    |  fastboot oem config barcode   |  fastboot oem config bare_board   |  fastboot oem config battery   |  fastb oot oem config battid   |  fastboot oem config batt_firstusagedate   |  fastboot oem config bl_notify.   |  fastboot oem config bootmode   |  fastboot oem config bt_mac   |  fastboot oem config build_vars   |  fastboot oem config carrier   |  fastboot oem config console   |  fastboot oem config cust_md5   |  fastboot oem config date   |  fastboot oem config product   |  fastboot oem config disable-reset   |  fastboot oem config display   |  fastboot oem config dt_node_offsets   |  fastboot oem config nal   |  fastboot oem config esd   |  fastboot oem config esimid   |  fastboot oem config cont_splash   |  fastboot oem config fsg-id   |  fastboot oem config fti   |  fastboot oem config hwid_   |  fastboot oem config hwrev   |  fastboot oem config iccid   |  fastboot oem config imei   |  fastboot oem config imei2   |  fastboot oem config kernel.version   |  fastboot oem config loglevel.ram   |  fastboot oem config loglevel.uart   |  fastboot oem config loglevel.ui   |  fastboot oem config meid   |  fastboot oem config memtest_blocks   |  fastboot oem config memtest_cycles   |  fastboot oem config memtest_mode   |  fastboot oem config num-sims   |  fastboot oem config parallel_flash   |  fastboot oem config radio   |  fastboot oem config ro.build.fingerprint   |  fastboot oem config ro.build.version.qcom   |  fastboot oem config ro.carrier   |  fastboot oem config refresh_vars   |  fastboot oem config serialno   |  fastboot oem config show_bootcycle   |  fastboot oem config sku   |  fastboot oem config carrier_sku   |  fastboot oem config sod.offset   |  fastboot oem config sod.cfg:str   |  fastboot oem config time.offset   |  fastboot oem config version.baseband   |  fastboot oem config WPDisable   |  fastboot oem config wifi_mac   |  fastboot oem config cmdl   |  fastboot oem config charger_disable   |  fastboot oem config enable_dump_gpt   |  fastboot oem config md5-clogo   |  fastboot oem config factory_kill_timeout   |  fastboot oem config BootCycleCount   |  fastboot oem config BootCycleSuccess   |  fastboot oem config init_reboot_command   |  fastboot oem config LogfsResetNumber   |  fastboot oem config dap_flashing   |  fastboot oem config ab_auto_recovery   |  fastboot oem config skip_orange   |  fastboot oem config once_shipmode   |  fastboot oem config skip_longpress   |  fastboot oem config spu_ari_gauge   |  fastboot oem config spu_por_count   |  fastboot oem config spu_panic_counter   |  fastboot oem config spu_status_data   |  fastboot oem config throttle_pwr_cycle   |  fastboot oem config ship_dirty   |  fastboot oem config setup_shutdown
    
    (bootloader) <UTAG name="auto_fastboot_timeout" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Timeout (in second) for the automatic fastboot mode
    (bootloader)     triggered by USB connection
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.019s]
    Finished. Total time: 0.020s
    
    (bootloader) <UTAG name="barcode" type="str" protected="FALSE">
    (bootloader)   <value>
    (bootloader)     N0QT0A0115
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Device serial number
    (bootloader)     (used interchangably with 'serialno')
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.020s]
    Finished. Total time: 0.021s
    
    (bootloader) <UTAG name="bare_board" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     To indicate the device is a bare board (TRUE|FALSE) suc
    (bootloader)     h that unnecessary initializations (like display) are s
    (bootloader)     kipped
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.024s]
    Finished. Total time: 0.026s
    
    (bootloader) <UTAG name="battery" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Battery detection control
    (bootloader)     ("test" or "no_eprom")
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.019s]
    Finished. Total time: 0.020s
    
    (bootloader) <UTAG name="battid" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Battery Installed in Device
    (bootloader)     (To contain the Serial Number of the Battery Cell)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.021s]
    Finished. Total time: 0.022s
    
    (bootloader) <UTAG name="batt_firstusagedate" type="str"
    (bootloader) protected="FALSE">
    (bootloader)   <value>
    (bootloader)     1
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Query and clear battery first usage date flag.
    (bootloader)     When its value is 1, batt_health should set first usage
    (bootloader)      date file.
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.026s]
    Finished. Total time: 0.028s
    FAILED (remote: '')
    fastboot: error: Command failed
    
    (bootloader) <UTAG name="bootmode" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     To force certain bootmode
    (bootloader)     (valid values are "fastboot", "factory",
    (bootloader)     "bp-tools", "qcom", and "normal")
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.023s]
    Finished. Total time: 0.024s
    
    (bootloader) <UTAG name="bt_mac" type="str" protected="FALSE">
    (bootloader)   <value>
    (bootloader)     F8:EF:5D:CE:CD:82
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Bluetooth Mac Address.
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.021s]
    Finished. Total time: 0.022s
    
    (bootloader) <UTAG name="build_vars" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     To provide userspace application read mechnical
    (bootloader)     build variations of the product
    (bootloader)     <build_var string> string would be any color
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.023s]
    Finished. Total time: 0.025s
    
    (bootloader) <UTAG name="carrier" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Carrier IDs, see http://goo.gl/lojLh3
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.017s]
    Finished. Total time: 0.018s
    
    (bootloader) <UTAG name="console" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Config kernel console log
    (bootloader)       enable|TRUE     - enable with default settings
    (bootloader)       disable|FALSE   - disable
    (bootloader)       <config string> - enable with customized settings
    (bootloader)       (e.g.: "ttyMSM0", "ttyMSM0,115200,n8")
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.032s]
    Finished. Total time: 0.033s
    
    (bootloader) <UTAG name="cust_md5" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)    xxxxxxxxxxxxxxxxxxxxxxxx
    (bootloader)     (32 hexadecimal digits)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.023s]
    Finished. Total time: 0.024s
    
    (bootloader) <UTAG name="date" type="str" protected="FALSE">
    (bootloader)   <value>
    (bootloader)     09-01-2024
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Manufactoring date
    (bootloader)     (mm-dd-yyyy, e.g.: "12-31-2013")
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.022s]
    Finished. Total time: 0.024s
    
    (bootloader) <UTAG name="product" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Product name override
    (bootloader)     (treating one product as if it is another)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.020s]
    Finished. Total time: 0.021s
    
    (bootloader) <UTAG name="disable-reset" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     To disable power key HW reset (TRUE|FALSE)
    (bootloader)     Disabling HW reset allows automated RF testing to hold
    (bootloader)     the power key with a rubber band without causing cyclin
    (bootloader)     g reboots
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.030s]
    Finished. Total time: 0.031s
    
    (bootloader) <UTAG name="display" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Display panel cmdline control
    (bootloader)       primary:0     - disable primary display cmdline
    (bootloader)       secondary:0   - disable secondary display cmdline
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.024s]
    Finished. Total time: 0.025s
    
    (bootloader) <UTAG name="dt_node_offsets" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Offsets of kernel DT nodes
    (bootloader)     (To contain the all the kernel DT node offsets accessed
    (bootloader)      by Lk)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.022s]
    Finished. Total time: 0.023s
    FAILED (remote: '')
    fastboot: error: Command failed
    
    (bootloader) <UTAG name="esd" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Enable or disable display electrostatic discharge detec
    (bootloader)     tion and recovery in kernel display driver
    (bootloader)     (by default this is enabled as long as a display panel
    (bootloader)     is attached)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.029s]
    Finished. Total time: 0.030s
    
    (bootloader) <UTAG name="esimid" type="str" protected="FALSE">
    (bootloader)   <value>
    (bootloader)     89033023553429010000020986927737
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Device ESIMID
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.020s]
    Finished. Total time: 0.021s
    
    (bootloader) <UTAG name="cont_splash" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Enable or disable display continuous splash screen befo
    (bootloader)     re entering kernel.
    (bootloader)     (by default this is enabled as long as a display panel
    (bootloader)     is attached)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.026s]
    Finished. Total time: 0.028s
    
    (bootloader) <UTAG name="fsg-id" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     FSG IDs, see http://goo.gl/gPmhU
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.015s]
    Finished. Total time: 0.017s
    
    (bootloader) <UTAG name="fti" protected="FALSE">
    (bootloader)   <value>
    (bootloader)     128 bytes of raw data
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Factory tracking information in binary format
    (bootloader)     (not configurable via 'fastboot oem config')
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.021s]
    Finished. Total time: 0.022s
    FAILED (remote: '')
    fastboot: error: Command failed
    
    (bootloader) <UTAG name="hwrev" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Hardware revision override
    (bootloader)     (e.g. P1B, EVT, DVT2BD, PVT)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.018s]
    Finished. Total time: 0.019s
    
    (bootloader) <UTAG name="iccid" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Device ICCID
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.016s]
    Finished. Total time: 0.017s
    
    (bootloader) <UTAG name="imei" type="str" protected="FALSE">
    (bootloader)   <value>
    (bootloader)     353106180014712
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Device IMEI
    (bootloader)     (15 decimal digits including the correct checksum)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.021s]
    Finished. Total time: 0.022s
    
    (bootloader) <UTAG name="imei2" type="str" protected="FALSE">
    (bootloader)   <value>
    (bootloader)     353106180014720
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Device IMEI2
    (bootloader)     (15 decimal digits including the correct checksum)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.021s]
    Finished. Total time: 0.023s
    
    (bootloader) <UTAG name="kernel.version" type="str" protected="TRUE">
    (bootloader)   <value>
    (bootloader)     Linux version 6.6.30-android15-8-maybe-dirty-debug (kle
    (bootloader)     af@build-host) (Android (11368308, +pgo, +bolt, +lto, +
    (bootloader)     mlgo, based on r510928) clang version 18.0.0 (https://a
    (bootloader)     ndroid.googlesource.com/toolchain/llvm-project 477610d4
    (bootloader)     d0d988e69dbc3fae4fe86bff3f07f2b5), LLD 18.0.0) #1 SMP P
    (bootloader)     REEMPT Thu Jan  1 00:00:00 UTC 1970
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     kernel version string
    (bootloader)     (automatically updated on each boot)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.068s]
    Finished. Total time: 0.069s
    
    (bootloader) <UTAG name="loglevel.ram" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Set RAM log level (D, I, E, C or X)
    (bootloader)       X - emergency messages only
    (bootloader)       C - add critical messages
    (bootloader)       E - add error messages
    (bootloader)       I - add informational messages
    (bootloader)       D - add debug messages
    (bootloader)     RAM logs are persisted to logs partition at importantch
    (bootloader)     eckpoints
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.033s]
    Finished. Total time: 0.034s
    
    (bootloader) <UTAG name="loglevel.uart" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Set UART/serial log level (D, I, E, C or X)
    (bootloader)       X - emergency messages only
    (bootloader)       C - add critical messages
    (bootloader)       E - add error messages
    (bootloader)       I - add informational messages
    (bootloader)       D - add debug messages
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.030s]
    Finished. Total time: 0.031s
    
    (bootloader) <UTAG name="loglevel.ui" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Set on-screen log level (D, I, E, C or X)
    (bootloader)       X - emergency messages only
    (bootloader)       C - add critical messages
    (bootloader)       E - add error messages
    (bootloader)       I - add informational messages
    (bootloader)       D - add debug messages
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.029s]
    Finished. Total time: 0.030s
    
    (bootloader) <UTAG name="meid" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Device MEID
    (bootloader)     (14 hexadecimal or 18 decimal digits)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.016s]
    Finished. Total time: 0.018s
    
    (bootloader) <UTAG name="memtest_blocks" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Number of memory blocks allocated to memtest automation
    (bootloader)
    (bootloader)       0 - auto-allocate
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.023s]
    Finished. Total time: 0.024s
    
    (bootloader) <UTAG name="memtest_cycles" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Number of cycles in memtest automation
    (bootloader)       0 - infinite
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.018s]
    Finished. Total time: 0.019s
    
    (bootloader) <UTAG name="memtest_mode" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Memtest mode
    (bootloader)       auto - automation
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.020s]
    Finished. Total time: 0.022s
    
    (bootloader) <UTAG name="num-sims" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Number of SIM slots
    (bootloader)     (Set in the range 1 to 4)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.020s]
    Finished. Total time: 0.021s
    
    (bootloader) <UTAG name="parallel_flash" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Enable/disable fastboot parallel flash (TRUE|FALSE)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.017s]
    Finished. Total time: 0.018s
    
    (bootloader) <UTAG name="radio" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Device RF ID override
    (bootloader)     1 ~ 255, see http://goo.gl/0p3rjz)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.020s]
    Finished. Total time: 0.021s
    
    (bootloader) <UTAG name="ro.build.fingerprint" type="str"
    (bootloader) protected="TRUE">
    (bootloader)   <value>
    (bootloader)     xxxxxxxxxxxxxxxxxxxxx
    (bootloader)     xxxxxxxxxxxxxxxxxxxxx
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Software build fingerprint
    (bootloader)     (automatically updated on each boot)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.032s]
    Finished. Total time: 0.033s
    
    (bootloader) <UTAG name="ro.build.version.qcom" type="str"
    (bootloader) protected="TRUE">
    (bootloader)   <value>
    (bootloader)     AU_LINUX_ANDROID_LA.VENDOR.15.4.1.R1.11.00.00.1214.042
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     QCOM meta build ID
    (bootloader)     (automatically updated on each boot)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.028s]
    Finished. Total time: 0.029s
    
    (bootloader) <UTAG name="ro.carrier" type="str" protected="TRUE">
    (bootloader)   <value>
    (bootloader)     unknown
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     ro.carrier value passed from kernel
    (bootloader)     (automatically updated on each boot)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.022s]
    Finished. Total time: 0.024s
    
    (bootloader) <UTAG name="refresh_vars" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     refresh vars passed from kernel
    (bootloader)     (automatically updated on each boot)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.018s]
    Finished. Total time: 0.019s
    
    (bootloader) <UTAG name="serialno" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Device serial number
    (bootloader)     (used interchangably with 'barcode')
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.020s]
    Finished. Total time: 0.021s
    
    (bootloader) <UTAG name="show_bootcycle" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Enable or disable show boot cycle count in fastboot scr
    (bootloader)     een
    (bootloader)     default value is disable for customer build.
    (bootloader)     (TRUE|FALSE)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.024s]
    Finished. Total time: 0.025s
    
    (bootloader) <UTAG name="sku" type="str" protected="FALSE">
    (bootloader)   <value>
    (bootloader)     XT2517-1
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Device stock-keeping unit
    (bootloader)     (less or equal than 15 alphanumeric or hyphen character
    (bootloader)     s)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.024s]
    Finished. Total time: 0.025s
    
    (bootloader) <UTAG name="carrier_sku" type="str" protected="FALSE">
    (bootloader)   <value>
    (bootloader)     XT2517-1
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Device stock-keeping unit for Carrier
    (bootloader)     (less or equal than 15 alphanumeric or hyphen character
    (bootloader)     s)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.022s]
    Finished. Total time: 0.024s
    
    (bootloader) <UTAG name="sod.offset" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     SOD header offset
    (bootloader)     (used internaly by bootloader to track SOD header acros
    (bootloader)     s blankflash boundaries)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.025s]
    Finished. Total time: 0.026s
    
    (bootloader) <UTAG name="sod.cfg" type="str" protected="FALSE">
    (bootloader)   <value>
    (bootloader)     <?xml version="1.0"?>
    (bootloader)     <!-- auto-generated by libxtags -->
    (bootloader)     <xtags/>
    (bootloader)     <sod flags.rdump_enabled="1" flags.stay_fastboot="0" fl
    (bootloader)     ags.no_reentry="0" flags.recipe_cid0_allow_ramdump="0"
    (bootloader)     rdump_id="1" last_rdump_id="1" rdump_mode="48"/>
    (bootloader)     </xtags>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     SOD (RAM dump) configuration
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.033s]
    Finished. Total time: 0.034s
    
    (bootloader) <UTAG name="time.offset" type="llong" protected="TRUE">
    (bootloader)   <value>
    (bootloader)     1728477780
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     UTC time offset in seconds since Epoch
    (bootloader)     (automatically updated on each boot)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.026s]
    Finished. Total time: 0.028s
    
    (bootloader) <UTAG name="version.baseband" type="str" protected="TRUE">
    (bootloader)   <value>
    (bootloader)     M6475_DE314_12.202.01.22R MONA_EVT2_NADSDS_CUST
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Modem release version
    (bootloader)     (automatically updated on each boot)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.025s]
    Finished. Total time: 0.026s
    FAILED (remote: '')
    fastboot: error: Command failed
    
    (bootloader) <UTAG name="wifi_mac" type="str" protected="FALSE">         【打印当前Mac MacAddress地址】
    (bootloader)   <value>
    (bootloader)     F8:EF:5D:CE:CD:83,F8:EF:5D:CE:CD:84
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     WIFI Mac Address(es).
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.019s]
    Finished. Total time: 0.020s
    
    (bootloader) <UTAG name="cmdl" type="str" protected="FALSE">
    (bootloader)   <value>
    (bootloader)     androidboot.selinux=permissive
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Kernel command line overlay
    (bootloader)      add/modify option: <option>=<value>
    (bootloader)      remove option: -<option>
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.030s]
    Finished. Total time: 0.031s
    
    (bootloader) <UTAG name="charger_disable" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Disable charger mode? (TRUE|FALSE)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.017s]
    Finished. Total time: 0.019s
    
    (bootloader) <UTAG name="enable_dump_gpt" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Indicate if the oem command to dump gpt is enabled (TRU
    (bootloader)     E|FALSE)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.019s]
    Finished. Total time: 0.021s
    
    (bootloader) <UTAG name="md5-clogo" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     MD5 checksum of clogo image.
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.017s]
    Finished. Total time: 0.018s
    
    (bootloader) <UTAG name="factory_kill_timeout" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Timeout to shutdown in factory if usb is disconnected.
    (bootloader)     By default, this feature is disabled.
    (bootloader)       0 - shutdown immediately
    (bootloader)       n - shutdown phone in n seconds: 1 ~ 100
    (bootloader)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.031s]
    Finished. Total time: 0.032s
    
    (bootloader) <UTAG name="BootCycleCount" type="ulong" protected="FALSE">
    (bootloader)   <value>
    (bootloader)     0x12d
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     To record the number of boot cycles.
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.019s]
    Finished. Total time: 0.020s
    
    (bootloader) <UTAG name="BootCycleSuccess" type="str" protected="TRUE">
    (bootloader)   <value>
    (bootloader)     299
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     To record the index of last successful boot cycle.
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.021s]
    Finished. Total time: 0.022s
    FAILED (remote: '')
    fastboot: error: Command failed
    
    (bootloader) <UTAG name="LogfsResetNumber" type="ulong"
    (bootloader) protected="FALSE">
    (bootloader)   <value>
    (bootloader)     0x0
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     To record when logfs is re-created.
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.020s]
    Finished. Total time: 0.021s
    
    (bootloader) <UTAG name="dap_flashing" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     (lab function)
    (bootloader)     Indicate if flashing dap partition is enabled.
    (bootloader)     (TRUE|FALSE)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.020s]
    Finished. Total time: 0.021s
    
    (bootloader) <UTAG name="ab_auto_recovery" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Auto recovery from no bootable A/B slot? (TRUE|FALSE)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.018s]
    Finished. Total time: 0.019s
    
    (bootloader) <UTAG name="skip_orange" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Indicate if the Verified Boot Orange Warning screen
    (bootloader)     will be skipped (TRUE|FALSE).
    (bootloader)     NOTE: 1. Only works on non-secure phone.
    (bootloader)           2. A warning text will be shown on logo.
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.029s]
    Finished. Total time: 0.030s
    
    (bootloader) <UTAG name="once_shipmode" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Indicate if the factory/oem command to enable
    (bootloader)     xxxxxxxxxxxxxxxxxxxx
    (bootloader)     .
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.023s]
    Finished. Total time: 0.024s
    
    (bootloader) <UTAG name="skip_longpress" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Indicate if the power key long press feature
    (bootloader)     will be skipped (TRUE|FALSE).
    (bootloader)     NOTE: 1. A warning text will be shown on logo.
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.025s]
    Finished. Total time: 0.026s
    
    (bootloader) <UTAG name="spu_ari_gauge" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Percentage of SPU ARI gauge
    (bootloader)       0 - 100
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.018s]
    Finished. Total time: 0.019s
    
    (bootloader) <UTAG name="spu_por_count" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Counter of SPU POR
    (bootloader)
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.017s]
    Finished. Total time: 0.018s
    
    (bootloader) <UTAG name="spu_panic_counter" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Counter of SPU Panic after prod-fuse
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.015s]
    Finished. Total time: 0.016s
    FAILED (remote: '')
    fastboot: error: Command failed
    
    (bootloader) <UTAG name="throttle_pwr_cycle" type="ulong"
    (bootloader) protected="FALSE">
    (bootloader)   <value>
    (bootloader)     0x0
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Throttle power cycle pon reason and counter
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.021s]
    Finished. Total time: 0.023s
    
    (bootloader) <UTAG name="ship_dirty" protected="FALSE">
    (bootloader)   <value>
    (bootloader)   </value>
    (bootloader)   <description>
    (bootloader)     Record the dirty file or data status in factory
    (bootloader)     such as unintended screenshot.
    (bootloader)     when its value is yes, the phone should do fdr before s
    (bootloader)     hip.
    (bootloader)   </description>
    (bootloader) </UTAG>
    OKAY [  0.024s]
    Finished. Total time: 0.025s
    FAILED (remote: '')
    fastboot: error: Command failed
    
    
    

    P

    Q

    R

    fastboot reboot

    fastboot reboot       // 重新启动手机  效果同  fastboot continue
    
    // 输出
    erasing 'userdata'...
    OKAY [  0.368s]
    formatting 'userdata' partition...
    Erase successful, but not automatically formatting.
    File system type raw not supported.
    OKAY [  0.080s]
    erasing 'cache'...
    OKAY [  0.016s]
    formatting 'cache' partition...
    Erase successful, but not automatically formatting.
    File system type  not supported.
    OKAY [  0.082s]
    finished. total time: 0.602s
    
    

    fastboot reboot-bootloader

    fastboot reboot-bootloader           // 再一次从fastboot模式重新启动  启动到fastboot模式
    
    // 输出
    rebooting into bootloader...
    OKAY [  0.012s]
    finished. total time: 0.028s
    
    
    

    S

    T

    U

    fastboot update update.zip

    fastboot update update.zip        // 刷入升级包
    
    
    

    V

    W

    fastboot -w

    fastboot -w             //erase userdata and cache清楚用户数据以及对应缓存
                             
    
    

    X

    Y

    Z