Fastboot oem commands

Search This thread

wouterx

Senior Member
Nov 10, 2010
50
42
hier
Some of these commands can and will brick your phone.:)

Maybe this will be usefull.

fastboot oem


  • (bootloader) command list
  • (bootloader) dmesg
  • (bootloader) last_dmesg
  • (bootloader) clearaspflag
  • (bootloader) refurbish
  • (bootloader) get_identifier_token
  • (bootloader) checkKeycardID
  • (bootloader) get_tamper_flag
  • (bootloader) checkSbl1
  • (bootloader) checkHWSecurity
  • (bootloader) enter
  • (bootloader) keytest
  • (bootloader) heap
  • (bootloader) boot
  • (bootloader) reset
  • (bootloader) powerdown
  • (bootloader) rebootRUU
  • (bootloader) heap_test
  • (bootloader) erase_phone_storage
  • (bootloader) erase_nfc_record
  • (bootloader) gotohboot
  • (bootloader) resetgift
  • (bootloader) ats
  • (bootloader) rtask
  • (bootloader) task
  • (bootloader) enableqxdm
  • (bootloader) gencheckpt
  • (bootloader) readmeid
  • (bootloader) readpid
  • (bootloader) writepid
  • (bootloader) readcid
  • (bootloader) writecid
  • (bootloader) readimei
  • (bootloader) writeimei
  • (bootloader) readsecureflag
  • (bootloader) writesecureflag
  • (bootloader) ddr2gbh
  • (bootloader) ramdump2gbh
  • (bootloader) ddr2gstatus
  • (bootloader) get_temp
  • (bootloader) writemeid
  • (bootloader) lock
  • (bootloader) readusername
  • (bootloader) writeusername
  • (bootloader) resethtcdebugflag
  • (bootloader) load_emmc
  • (bootloader) check_emmc_mid
  • (bootloader) read_mmc
  • (bootloader) load_modem_emmc
  • (bootloader) get_wp_info_emmc
  • (bootloader) send_wp_info_emmc
  • (bootloader) get_ext_csd_emmc
  • (bootloader) get_sector_info_emmc
 

wouterx

Senior Member
Nov 10, 2010
50
42
hier
I'm curious too. Refurbish sounds exciting. Someone should try it!

Sent from my HTC One


[email protected]*******:~$ fastboot oem refurbish
< waiting for device >
...
(bootloader) Start Verify: 3
(bootloader) Start Verify: 3
(bootloader) Boot/Recovery signature checking...
(bootloader) TZ_HTC_SVC_HASH ret = 0
(bootloader) setup_tag addr=0x80600100 cmdline add=0x00347020
(bootloader) TAG:Ramdisk OK
(bootloader) TAG:skuid 0x34C0C
(bootloader) TAG:hero panel = 0x940069
(bootloader) TAG:engineerid = 0x0
(bootloader) TAG: PS ID = 0x0
(bootloader) TAG: Gyro ID = 0x2
(bootloader) Device CID is not super CID
(bootloader) CID is HTC__E11
(bootloader) setting->cid::HTC__E11
(bootloader) serial number: FA354W903578
(bootloader) commandline from head: console=ttyHSL0,115200,n8 androidboot
(bootloader) .hardware=m7 user_debug=31
(bootloader) command line length =866
(bootloader) active commandline: poweron_status=1 reset_status=0 board_m7
(bootloader) _ul.disable_uart3=0 diag.enabled=0 board_m7_ul.debug_uart=0
(bootloader) userdata_sel=0 androidboot.emmc=true androidboot.pagesize=20
(bootloader) 48 skuid=0 ddt=20 ats=0 dap=6 androidboot.lb=1 uif=O000 td.
(bootloader) sf=1 td.td=1 td.ofs=328 td.prd=1 td.dly=0 td.tmo=300 hlog.of
(bootloader) s=628 un.ofs=694 imc_online_log=0 androidboot.efuse_info=2N
(bootloader) SL androidboot.baseband=4A.14.3250.13 androidboot.cid=HTC__E
(bootloader) 11 androidboot.devicerev=3 androidboot.batt_poweron=good_bat
(bootloader) tery androidboot.car
(bootloader) aARM_Partion[0].name=misc
(bootloader) aARM_Partion[1].name=recovery
(bootloader) aARM_Partion[2].name=boot
(bootloader) aARM_Partion[3].name=system
(bootloader) aARM_Partion[4].name=local
(bootloader) aARM_Partion[5].name=cache
(bootloader) aARM_Partion[6].name=userdata
(bootloader) aARM_Partion[7].name=devlog
(bootloader) aARM_Partion[8].name=pdata
(bootloader) aARM_Partion[9].name=extra
(bootloader) aARM_Partion[A].name=radio
(bootloader) aARM_Partion.name=adsp
(bootloader) aARM_Partion[C].name=dsps
(bootloader) aARM_Partion[D].name=radio_config
(bootloader) aARM_Partion[E].name=modem_st1
(bootloader) aARM_Partion[F].name=modem_st2
(bootloader) aARM_Partion[10].name=cdma_record
(bootloader) aARM_Partion[11].name=reserve_1
(bootloader) aARM_Partion[12].name=reserve_2
(bootloader) aARM_Partion[13].name=reserve_3
(bootloader) aARM_Partion[14].name=reserve
(bootloader) partition number=21
(bootloader) Valid partition num=21
(bootloader) setting_get_bootmode() = 3
(bootloader) smem 8CF04000 (phy 8CF04000): TZ_HTC_SVC_UPDATE_SMEM ret = 0
(bootloader) TZ_HTC_SVC_ENC ret = 0
(bootloader) Start Verify: 3
(bootloader) TZ_HTC_SVC_ENC ret = 0
(bootloader) TZ_HTC_SVC_DISABLE ret = 205643776 (0xC41E000)
(bootloader) [PARTITION_ERR] partition_write_prot_emmc: Cannot find end p
(bootloader) artition [modem]
(bootloader) msm_mpu_emmc_protect: set write protection fail (from reserv
(bootloader) e_2 to modem)
(bootloader) Start Verify: 3
(bootloader) [RUMBA_S] firmware version: 3-45-43-33-0-0-0-0
(bootloader) [RUMBA_S] ondevice version: 3-45-43-33-4-28-A3-0
(bootloader) [RUMBA_S] firmware version already up-to-date
(bootloader) pm8921_vreg_disable function, vreg_id = 7
(bootloader) pm8921_vreg_disable function, vreg_id = 37
(bootloader) pm8921_vreg_disable function, vreg_id = 34
(bootloader) pm8921_vreg_disable function, vreg_id = 8
(bootloader) jump_to_kernel: machine_id(4308), tags_addr(0x80600100), ker
(bootloader) nel_addr(0x80608000)
(bootloader) -------------------hboot boot time:46925 msec
FAILED (status read failed (No such device))
finished. total time: 8.247s

In the end its boots in ClockworkMod Recovery....
 
  • Like
Reactions: paul_59 and NxNW

nateboi81

Senior Member
Jul 25, 2010
601
97
Melbourne
Lol that's a very bad idea to post all those commands :p
If you dont know what it does.....don't use it! ;)

Sent from my HTC One using xda app-developers app
 

Shad0wKn1ght93

Senior Member
Oct 25, 2013
55
19
I think different hboots have different commands available, so between devices its likely that they will be different also.

Most of these commands are HTC-specific. They ain't gonna work on other phones.
Every phone has it's own set of "fastboot oem" commands, only the "fastboot" commands are universal.
Apart from that, Motorola phones don't use HBOOT(HTC BOOT). AFAIK they use a customized ABOOT.
 

alray

Inactive Recognized Contributor
May 22, 2012
8,933
3,589
its not illegal here because i need to change it to connect to internet for some service providers

and please what is the command

There is no command to change the imei number and if you need to change your imei it means your phone is declared lost or stolen/linked to unpaid bills.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    Some of these commands can and will brick your phone.:)

    Maybe this will be usefull.

    fastboot oem


    • (bootloader) command list
    • (bootloader) dmesg
    • (bootloader) last_dmesg
    • (bootloader) clearaspflag
    • (bootloader) refurbish
    • (bootloader) get_identifier_token
    • (bootloader) checkKeycardID
    • (bootloader) get_tamper_flag
    • (bootloader) checkSbl1
    • (bootloader) checkHWSecurity
    • (bootloader) enter
    • (bootloader) keytest
    • (bootloader) heap
    • (bootloader) boot
    • (bootloader) reset
    • (bootloader) powerdown
    • (bootloader) rebootRUU
    • (bootloader) heap_test
    • (bootloader) erase_phone_storage
    • (bootloader) erase_nfc_record
    • (bootloader) gotohboot
    • (bootloader) resetgift
    • (bootloader) ats
    • (bootloader) rtask
    • (bootloader) task
    • (bootloader) enableqxdm
    • (bootloader) gencheckpt
    • (bootloader) readmeid
    • (bootloader) readpid
    • (bootloader) writepid
    • (bootloader) readcid
    • (bootloader) writecid
    • (bootloader) readimei
    • (bootloader) writeimei
    • (bootloader) readsecureflag
    • (bootloader) writesecureflag
    • (bootloader) ddr2gbh
    • (bootloader) ramdump2gbh
    • (bootloader) ddr2gstatus
    • (bootloader) get_temp
    • (bootloader) writemeid
    • (bootloader) lock
    • (bootloader) readusername
    • (bootloader) writeusername
    • (bootloader) resethtcdebugflag
    • (bootloader) load_emmc
    • (bootloader) check_emmc_mid
    • (bootloader) read_mmc
    • (bootloader) load_modem_emmc
    • (bootloader) get_wp_info_emmc
    • (bootloader) send_wp_info_emmc
    • (bootloader) get_ext_csd_emmc
    • (bootloader) get_sector_info_emmc
    2
    i dont understand how do you use it?

    fasboot oem readcid?

    Yes, in fastboot usb you have to type:
    Code:
    fastboot oem readcid
    and you can see your cid.
    You can use
    Code:
    fastboot getvar cid
    too :)
    2
    I'm curious too. Refurbish sounds exciting. Someone should try it!

    Sent from my HTC One


    [email protected]*******:~$ fastboot oem refurbish
    < waiting for device >
    ...
    (bootloader) Start Verify: 3
    (bootloader) Start Verify: 3
    (bootloader) Boot/Recovery signature checking...
    (bootloader) TZ_HTC_SVC_HASH ret = 0
    (bootloader) setup_tag addr=0x80600100 cmdline add=0x00347020
    (bootloader) TAG:Ramdisk OK
    (bootloader) TAG:skuid 0x34C0C
    (bootloader) TAG:hero panel = 0x940069
    (bootloader) TAG:engineerid = 0x0
    (bootloader) TAG: PS ID = 0x0
    (bootloader) TAG: Gyro ID = 0x2
    (bootloader) Device CID is not super CID
    (bootloader) CID is HTC__E11
    (bootloader) setting->cid::HTC__E11
    (bootloader) serial number: FA354W903578
    (bootloader) commandline from head: console=ttyHSL0,115200,n8 androidboot
    (bootloader) .hardware=m7 user_debug=31
    (bootloader) command line length =866
    (bootloader) active commandline: poweron_status=1 reset_status=0 board_m7
    (bootloader) _ul.disable_uart3=0 diag.enabled=0 board_m7_ul.debug_uart=0
    (bootloader) userdata_sel=0 androidboot.emmc=true androidboot.pagesize=20
    (bootloader) 48 skuid=0 ddt=20 ats=0 dap=6 androidboot.lb=1 uif=O000 td.
    (bootloader) sf=1 td.td=1 td.ofs=328 td.prd=1 td.dly=0 td.tmo=300 hlog.of
    (bootloader) s=628 un.ofs=694 imc_online_log=0 androidboot.efuse_info=2N
    (bootloader) SL androidboot.baseband=4A.14.3250.13 androidboot.cid=HTC__E
    (bootloader) 11 androidboot.devicerev=3 androidboot.batt_poweron=good_bat
    (bootloader) tery androidboot.car
    (bootloader) aARM_Partion[0].name=misc
    (bootloader) aARM_Partion[1].name=recovery
    (bootloader) aARM_Partion[2].name=boot
    (bootloader) aARM_Partion[3].name=system
    (bootloader) aARM_Partion[4].name=local
    (bootloader) aARM_Partion[5].name=cache
    (bootloader) aARM_Partion[6].name=userdata
    (bootloader) aARM_Partion[7].name=devlog
    (bootloader) aARM_Partion[8].name=pdata
    (bootloader) aARM_Partion[9].name=extra
    (bootloader) aARM_Partion[A].name=radio
    (bootloader) aARM_Partion.name=adsp
    (bootloader) aARM_Partion[C].name=dsps
    (bootloader) aARM_Partion[D].name=radio_config
    (bootloader) aARM_Partion[E].name=modem_st1
    (bootloader) aARM_Partion[F].name=modem_st2
    (bootloader) aARM_Partion[10].name=cdma_record
    (bootloader) aARM_Partion[11].name=reserve_1
    (bootloader) aARM_Partion[12].name=reserve_2
    (bootloader) aARM_Partion[13].name=reserve_3
    (bootloader) aARM_Partion[14].name=reserve
    (bootloader) partition number=21
    (bootloader) Valid partition num=21
    (bootloader) setting_get_bootmode() = 3
    (bootloader) smem 8CF04000 (phy 8CF04000): TZ_HTC_SVC_UPDATE_SMEM ret = 0
    (bootloader) TZ_HTC_SVC_ENC ret = 0
    (bootloader) Start Verify: 3
    (bootloader) TZ_HTC_SVC_ENC ret = 0
    (bootloader) TZ_HTC_SVC_DISABLE ret = 205643776 (0xC41E000)
    (bootloader) [PARTITION_ERR] partition_write_prot_emmc: Cannot find end p
    (bootloader) artition [modem]
    (bootloader) msm_mpu_emmc_protect: set write protection fail (from reserv
    (bootloader) e_2 to modem)
    (bootloader) Start Verify: 3
    (bootloader) [RUMBA_S] firmware version: 3-45-43-33-0-0-0-0
    (bootloader) [RUMBA_S] ondevice version: 3-45-43-33-4-28-A3-0
    (bootloader) [RUMBA_S] firmware version already up-to-date
    (bootloader) pm8921_vreg_disable function, vreg_id = 7
    (bootloader) pm8921_vreg_disable function, vreg_id = 37
    (bootloader) pm8921_vreg_disable function, vreg_id = 34
    (bootloader) pm8921_vreg_disable function, vreg_id = 8
    (bootloader) jump_to_kernel: machine_id(4308), tags_addr(0x80600100), ker
    (bootloader) nel_addr(0x80608000)
    (bootloader) -------------------hboot boot time:46925 msec
    FAILED (status read failed (No such device))
    finished. total time: 8.247s

    In the end its boots in ClockworkMod Recovery....
    1
    I will try ...:p