• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help HTC One M9 stuck in bootloop. [Broken, Assumed Unfixable]

Roffu

Lurker
May 12, 2021
6
0
My HTC One M9 has become stuck in a bootloop, and I am unable to launch recovery mode or start the phone normally. Usually, recovery mode would show an image of my phone with a red exclamation mark, although it is just a black background with a silver HTC logo, and then jumps to a normal bootloop after 15 seconds or so. There have been a couple of (seemingly unrepeatable) occasions where the phone has started up normally but after I unlock it, it freezes and after a minute or so crashes and starts the bootloop again. Usually, I would try to factory reset it, but as I can't access recovery mode, I can't clear cache or reset it.
When I start the phone in download mode (Power + Volume Down while phone is off), it confirms that it is locked and S-ON. At the bottom, there is a few things. 'Security checking failed GT_CONNECT_FAIL' is the first line, although I believe I had that issue before this, and it hadn't affected anything. Underneath that is the disclaimer about flashing. Underneath the disclaimer there are three lines. 'SD MOUNTED' (I use a 64 GB Sandisk SD card, if that's important), 'OTG NOT MOUNTED' and 'File NOT FOUND'
I have Linux knowledge, although I'm not really a phone person so you might have to explain some things to me.
Thanks in advance!
 
If there is anything important on there, back it up while you can. For all you know the next time this happens it might not come back.

The trouble is that there are so many things that could cause this that it's impossible to diagnose it from the symptom alone. But it is possible that this is a hardware fault developing, which is why I say you need to back up your data.
 
  • Like
Reactions: ocnbrze
Upvote 0
Maybe shut it down completely, leave it a while and try again. It the problem is heat related that raises your chances of it booting, if not then it's just a matter of taking a break before trying again (heat-related problems were not unknown with the M9, so this may be worth a shot. If it is that though there is no fix).

I do fear that this is a hardware fault, so if you can get it booted again I'd do a backup as a priority. After that you could try a reset: if it won't go into recovery you could install fastboot on your computer, then connect the phone, boot info the bootloader, then the commands "fastboot erase data" and "fastboot erase cache" would be equivalent to a factory reset. But I'm not optimistic that this will fix this one.

You could try finding the correct RUU for your device (will depend on region, android version, carrier if it was originally a carrier-locked device) and seeing whether you can reflash it, but if it crashes during the flash that's likely to be game over (if it crashes during the flash of the bootloader that absolutely is game over, but the bootloader flash only takes a couple of seconds). To be honest I suspect this is a long shot too.
 
  • Like
Reactions: ocnbrze
Upvote 0
Maybe shut it down completely, leave it a while and try again. It the problem is heat related that raises your chances of it booting, if not then it's just a matter of taking a break before trying again (heat-related problems were not unknown with the M9, so this may be worth a shot. If it is that though there is no fix).

I do fear that this is a hardware fault, so if you can get it booted again I'd do a backup as a priority. After that you could try a reset: if it won't go into recovery you could install fastboot on your computer, then connect the phone, boot info the bootloader, then the commands "fastboot erase data" and "fastboot erase cache" would be equivalent to a factory reset. But I'm not optimistic that this will fix this one.

You could try finding the correct RUU for your device (will depend on region, android version, carrier if it was originally a carrier-locked device) and seeing whether you can reflash it, but if it crashes during the flash that's likely to be game over (if it crashes during the flash of the bootloader that absolutely is game over, but the bootloader flash only takes a couple of seconds). To be honest I suspect this is a long shot too.
Thank you for the hefty reply! I managed to get into recovery and reset it, although it only worked on the third attempt. From there I had a few hours with it before it crashed and started looping, and I didn't have time to back it up as I was attempting to reinstall everything I need. I have already tried leaving it, and that hasn't seemed to have worked, and I don't really have enough knowledge on phones to use fastboot or unlock download mode or anything like that. I have enabled USB Debugging, in case I can use it in some way but I won't be able to unlock it. Would it be a good idea to try reinstalling firmware from the HTC website? I'm not sure the steps to it but I'm familiar to reinstalling OS's on my computer, as a primarily Linux user.
 
Upvote 0
Reinstalling the firmware is what I was referring to when I talked about using an RUU to reflash it ("flashing" being the general term for rewriting the NAND storage that the firmware lives in, and an RUU is a ROM Update Utility, HTC's reflashing package).

There are a couple of catches. The big one is that there is different firmware for different regions, and often different carriers if your phone was originally sold through a mobile service provider. Technically the hardware may be compatible, but the phone will check that the firmware you want to flash matches the region/carrier the phone was originally configured for, and it will not load if not (technically it checks that it's compatible with its "cidnum", or customer identity number - the customer here is the service provider or the HTC regional office, not the end user). So you need to identify your cidnum, either directly (can be done using fastboot) or indirectly (if you know what country the phone was originally sold in and whether it originally was sold as a service provider model then we can use that information to work it out), and hence find an RUU that is compatible with your phone.

A more minor catch is that the RUU cannot contain an older version of the software - you cannot use it to downgrade the software.

The second catch is that you can't find a full collection of RUUs on HTC's site. If you have a US carrier-branded phone you may be able to find the RUU on the carrier's site, or possibly at HTCDev.com, but in general RUUs were not released to the public. So we rely on leaks. There were sites that collected these things, but shipped-roms.com don't seem to have a section for the M9 (codename "hima"), and the other main site has gone offline now (these things were mainly used by people rooting, and both rooting and HTC have dropped massively in popularity). So while a search through the XDA-developers forum will locate some of these things, I can't guarantee that anyone will be able to find one that's compatible with your phone (some never leaked, e.g. if you were on Orange/EE in the UK RUUs never became public).

Assuming a suitable RUU can be found, they come in one of 2 forms. A zip file containing a set of images, which you flash using fastboot (there is a specific recipe for doing this, which I can find easily enough), or a Windows .exe which does everything for you (but you probably need to put the phone into download mode first - normally it would do that for you too, but if you can't run Android on it reliably that's not going to work). Of course the catch with the latter is "Windows" - there is a trick to getting the zip out of the .exe, but it still needs a Windows computer to run on to do that. But that's some way down the line, locating a compatible RUU would be the first step.

Note that all of this stuff with RUUs and cidnums is not generic Android phone stuff, it's HTC specific. Different manufacturers use different approaches and different tools for firmware flashing, and it's only because I used to modify my HTCs' firmware that I know this stuff (partly because before starting down that path I wanted to know how to recover things if I messed-up, partly because I sometimes used the same techniques to flash updates to just part of the firmware).
 
Upvote 0
Reinstalling the firmware is what I was referring to when I talked about using an RUU to reflash it ("flashing" being the general term for rewriting the NAND storage that the firmware lives in, and an RUU is a ROM Update Utility, HTC's reflashing package).

There are a couple of catches. The big one is that there is different firmware for different regions, and often different carriers if your phone was originally sold through a mobile service provider. Technically the hardware may be compatible, but the phone will check that the firmware you want to flash matches the region/carrier the phone was originally configured for, and it will not load if not (technically it checks that it's compatible with its "cidnum", or customer identity number - the customer here is the service provider or the HTC regional office, not the end user). So you need to identify your cidnum, either directly (can be done using fastboot) or indirectly (if you know what country the phone was originally sold in and whether it originally was sold as a service provider model then we can use that information to work it out), and hence find an RUU that is compatible with your phone.

A more minor catch is that the RUU cannot contain an older version of the software - you cannot use it to downgrade the software.

The second catch is that you can't find a full collection of RUUs on HTC's site. If you have a US carrier-branded phone you may be able to find the RUU on the carrier's site, or possibly at HTCDev.com, but in general RUUs were not released to the public. So we rely on leaks. There were sites that collected these things, but shipped-roms.com don't seem to have a section for the M9 (codename "hima"), and the other main site has gone offline now (these things were mainly used by people rooting, and both rooting and HTC have dropped massively in popularity). So while a search through the XDA-developers forum will locate some of these things, I can't guarantee that anyone will be able to find one that's compatible with your phone (some never leaked, e.g. if you were on Orange/EE in the UK RUUs never became public).

Assuming a suitable RUU can be found, they come in one of 2 forms. A zip file containing a set of images, which you flash using fastboot (there is a specific recipe for doing this, which I can find easily enough), or a Windows .exe which does everything for you (but you probably need to put the phone into download mode first - normally it would do that for you too, but if you can't run Android on it reliably that's not going to work). Of course the catch with the latter is "Windows" - there is a trick to getting the zip out of the .exe, but it still needs a Windows computer to run on to do that. But that's some way down the line, locating a compatible RUU would be the first step.

Note that all of this stuff with RUUs and cidnums is not generic Android phone stuff, it's HTC specific. Different manufacturers use different approaches and different tools for firmware flashing, and it's only because I used to modify my HTCs' firmware that I know this stuff (partly because before starting down that path I wanted to know how to recover things if I messed-up, partly because I sometimes used the same techniques to flash updates to just part of the firmware).

I believe that my phone was sold in the UK and I have an EE sim but I don't believe it was obtained from EE originaly.I have a .exe that is supposed to work, but as I said I can't actually get into download mode to use it. I had a look at the internals and I don't see any signs of heat or water damage, so I believe the NAND has just died. Not sure if it was planned obsolescence orjust dropping it one too many times, but I think I'm going to try extract 2FA codes from Google (I can't log into Discord without them) and I'm just going to buy a new screen and frame for my broken u11 to fix that. Thank you for all of the help!
 
Upvote 0
I believe that my phone was sold in the UK and I have an EE sim but I don't believe it was obtained from EE originaly.I have a .exe that is supposed to work, but as I said I can't actually get into download mode to use it. I had a look at the internals and I don't see any signs of heat or water damage, so I believe the NAND has just died. Not sure if it was planned obsolescence orjust dropping it one too many times, but I think I'm going to try extract 2FA codes from Google (I can't log into Discord without them) and I'm just going to buy a new screen and frame for my broken u11 to fix that. Thank you for all of the help!

Quite frankly it sounds like time for a new phone.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones