I want to revive an old HTC One M9 rotting in my grandmothers locker for some years. I would like to flash the phone with a custom ROM but unfortunately it is locked,

enter image description here

so I can't access Android.

However according to the HTC documentation to unlock the boot loader on has to enable developer options in Android settings first:

you will need to first manually enable OEM unlocking in Developer options in order to allow the bootloader to be unlocked and proceed with the next steps.

Apparently without doing so it is not possible to get the identifier token which is needed to unlock the bootloader.

fastboot oem get_identifier_token
< waiting for any device >
                                                   (bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X00, disable unlock
(bootloader) [KillSwitch] oem unlock Turn Off!
OKAY [  0.063s]
Finished. Total time: 0.063s

Is there any way to unbrick this phone?


As suggested in the comments I tried to flash

the original RUU ROM to restore a proper state

I got it here: https://htcstockrom.com/htc-one-m9

The following steps are suggested:

  • Enter: fastboot oem rebootRUU
  • Now enter: fastboot flash zip update.zip
  • Once the installationis finished, reboot the device.

However fastboot oem rebootRUU makes the device humming and blinking but does not lead to a status where I could successfully upload the file (same problem described here): https://www.youtube.com/watch?v=VVG4kT-LiQQ&feature=emb_rel_end

I can upload it in normal download mode but there I get:

FAILED (remote: '9 RU_SECURITY_FAIL zip from usb command in download mode')
fastboot: error: Command failed
  • 1
    The whole process is well documented by HTC for their devices: htcdev.com/process
    – Robert
    Commented Jul 1, 2022 at 17:23
  • @Robert I know, I followed the steps but the device is locked, so I can't make the configurations within Android settings, which are required to get an identifier which is needed to unlock the boot loader.
    – user5950
    Commented Jul 1, 2022 at 17:35
  • 1
    The problem is not that it is locked but that the installed software has been modified unauthorized. So you first have to flash an original RUU ROM to restore a proper state, then boot the phone and enable OEM unlock.
    – Robert
    Commented Jul 1, 2022 at 18:31
  • @Robert Thanks for the good advice! I updated the question...
    – user5950
    Commented Jul 1, 2022 at 19:19

1 Answer 1


The MMO TOOL HTC Module has a feature to get token ID.

You may have to search it by yourself to download it.

  • 2
    Please explain a little bit about it. Commented Oct 18, 2022 at 2:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .