HTC One M8 Canadian RUU

350Rocket

Senior Member
Dec 11, 2010
1,582
263
103
Please see my comments in red font below:
Thanks for the reply...

It was a while back that I was working on it, I know I got some error messages but I can't remember anymore what they were. I was thinking it had to do with either my variant or hboot version that caused many of the ROMs to fail on me.

I did find some ruu links for Canadian variants on here, but those links are all dead now. Yes I relocked it to try to run an ruu, then couldn't find one. I guess I did that kind of backwards.

The computer I was using to do this I gave to my dad so I need to get fastboot and driver's installed on my laptop now to try this again. First thing I will do is fastboot getvar and post up the results minus the IMEI and serial number.

I used to be better at this but when I got the OnePlus 5 I stopped bothering to root and install ROMs. Now I've forgotten most of what I barely knew.


At this point whatever is going to be easiest to get it working again. It there are no ruu available anymore I guess I'll have to unlock the bootloader again, install TWRP again and find a compatible rom again. Preferably something stable, doesn't have to be up to date.

Thanks for the help, I will try to get the info needed ASAP and go from there.
 
Last edited:

350Rocket

Senior Member
Dec 11, 2010
1,582
263
103
I'm not having much luck so far. I followed the tutorial, downloaded fastboot, java, adb drivers, etc. when I try to use any fastboot commands from c:/android (where I have fastboot located) it says fastboot isn't recognized as an internal or external command. I'm not sure what I've done wrong, I unzipped it in that folder. Also I'm not sure if I'm going to have to download htc sync manager from htc's website (I remember there used to be other drivers available so you didn't have to download that whole program) but anyways there are no links to download on the page where you're supposed to download htc sync manager.

I assume it shouldn't be giving me the fastboot error I'm getting even if I don't have the proper drivers yet. I can try to find drivers if I can at least get fastboot working in the first place. Part of me doesn't miss messing with this stuff, but if I hadn't stopped it wouldn't be so difficult to figure it out again now.
 

redpoint73

Recognized Contributor
Oct 24, 2007
15,259
6,946
113
when I try to use any fastboot commands from c:/android (where I have fastboot located) it says fastboot isn't recognized as an internal or external command.
This is usually just a symptom of not issuing your command from the correct directory. It needs to happen from the folder that contains fastboot.exe

Easy shortcut to do that, with your Windows File Explorer window open in the correct folder (containing fastboot.exe), press Shift + Right Mouse Button. In the popup menu that appears, select "Open command prompt here". Then once command prompt window pops up, try fastboot getvar all

If still not working, drivers may in fact be the problem. Yu can get HTC Sync Manager from here: https://www.htc.com/us/software/htc-sync-manager/
It is not so much HTC Sync Manager you need, but it will install the drivers for your phone.

Good luck, and let us know how it goes!
 

350Rocket

Senior Member
Dec 11, 2010
1,582
263
103
I think you're right. Every time I extracted the zip it creates it's own folder with the . Exe in it. When I tried to change the directory to that one it says I'm missing an adb.something.dll file. Same when I moved the fastboot exe out of the folder into c:/Android. Would that have anything to do with the driver's?

The phone is connecting to the computer because it's showing fastboot USB when I connect it now.
 

redpoint73

Recognized Contributor
Oct 24, 2007
15,259
6,946
113
I think you're right. Every time I extracted the zip it creates it's own folder with the . Exe in it. When I tried to change the directory to that one it says I'm missing an adb.something.dll file. Same when I moved the fastboot exe out of the folder into c:/Android. Would that have anything to do with the driver's?

The phone is connecting to the computer because it's showing fastboot USB when I connect it now.
Can't remember if the dll error is drivers or not.

You can try one of the fastboot/adb installers like this one: https://forum.xda-developers.com/showthread.php?t=2317790

And/or install HTC Sync. There isn't any harm in doing so. You can always uninstall Sync itself, and the HTC drivers will still be installed.
 

350Rocket

Senior Member
Dec 11, 2010
1,582
263
103
I will try that one tonight. HTC sync doesn't seem to be available to download on HTC website anymore. The page is there but no download link. Although I should check if it shows up on my phone browser instead of the PC.
 

350Rocket

Senior Member
Dec 11, 2010
1,582
263
103
So using that minimal fastboot you linked and finding a different link to download htc sync for the drivers worked. I have the bootloader unlocked again and it booted right into TWRP 2.7.1.0 which was still apparently installed. Should I update it to the latest 2.8.5 or whatever it is? Would that affect compatibility with different roms?

---------- Post added at 02:55 AM ---------- Previous post was at 02:53 AM ----------

Can't remember if the dll error is drivers or not.

You can try one of the fastboot/adb installers like this one: https://forum.xda-developers.com/showthread.php?t=2317790

And/or install HTC Sync. There isn't any harm in doing so. You can always uninstall Sync itself, and the HTC drivers will still be installed.


---------- Post added at 02:01 AM ---------- Previous post was at 01:55 AM ----------

So using that minimal fastboot you linked and finding a different link to download htc sync for the drivers worked. I have the bootloader unlocked again and it booted right into TWRP 2.7.1.0 which was still apparently installed. Should I update it to the latest 2.8.5 or whatever it is? Would that affect compatibility with different roms?

---------- Post added at 02:55 AM ---------- Previous post was at 02:53 AM ----------
Forgot to ask, what rom are you running these days? I see lots of options, I'm kind of busy to be reading each of the threads for hours like I used to before deciding on one. I'm not a flashaholic anymore, just want a stable phone to play music with and use the ir blaster, maybe an extra Google home device to control lights around the house. Oh and a speedometer in my car and work truck (both are broken) lol.
 

350Rocket

Senior Member
Dec 11, 2010
1,582
263
103
New problem, which i think is related to the issues I had which led me to try to go back to stock. I forgot one of the main issues was that storage wasn't working at all either on internal or external. I couldn't download anything, take pictures or video etc. Despite the fact that I thought I wiped everything, once I unlocked the bootloader again, I thought maybe a fresh install of twrp would help, so I flashed the 2.8.5 I had downloaded. I accidentally hit reboot and it ended up booting up lineage os16 just the way I had left it. I transferred another rom and gapps to an sd card and put it in the phone, booted back into recovery and attempted to wipe and it says cannot mount /cache. Basically anything I try to do in recovery it gives the same errors about not being able to mount /cache. I found a post where someone had the same error message and they were told to flash the stock recovery and format cache partition then flash twrp again. No other details were given. Does this sound right? I don't remember how to go back to stock recovery, but I will look into that next if it's the only option. Thanks again for all the help.

QUOTE=redpoint73;81694963]Can't remember if the dll error is drivers or not.

You can try one of the fastboot/adb installers like this one: https://forum.xda-developers.com/showthread.php?t=2317790

And/or install HTC Sync. There isn't any harm in doing so. You can always uninstall Sync itself, and the HTC drivers will still be installed.[/QUOTE]

---------- Post added at 04:41 AM ---------- Previous post was at 04:06 AM ----------

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.29.214500021.11G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B16000
(bootloader) cidnum: TELUS001
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 76df2b54
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
 

redpoint73

Recognized Contributor
Oct 24, 2007
15,259
6,946
113
I have the bootloader unlocked again and it booted right into TWRP 2.7.1.0 which was still apparently installed. Should I update it to the latest 2.8.5 or whatever it is?
TWRP 2.8.7 is a highly recommended, known reliable version. Or it might not be a bad idea to update to current/latest version, which is 3.3.1-0
http://dl.twrp.me/m8/
Although not that much has changed in TWRP for this device. Anything 2.8.7 or newer should be okay.

I'd definitely stay away from older (2.7.x.x) TWRP versions, as they will not be compatible with current (or anything but really old) custom ROMs, as well as not compatible with your firmware (hboot, radio, etc.)..

Related note, thanks for posting the getvar output. This let me to verify that you are on the last firmware (Marshmallow) that is available for the M8 (again, this refers to hboot, radio, etc. and not the same as the ROM). Which is the best place to be for both stock and custom ROMs.

---------- Post added at 09:45 AM ---------- Previous post was at 09:42 AM ----------

HTC sync doesn't seem to be available to download on HTC website anymore. The page is there but no download link.
I know you got the drivers somewhere else, but in case others read this thread and want to download HTC Sync:

The link I gave above, for me when I click it, it says "Download unavailable" for a second, then automatically redirects to a working download page. But here is the direct link to working (at least for me) download webpage: https://www.htc.com/us/support/software/htc-sync-manager/

---------- Post added at 09:50 AM ---------- Previous post was at 09:45 AM ----------

New problem, which i think is related to the issues I had which led me to try to go back to stock. I forgot one of the main issues was that storage wasn't working at all either on internal or external. I couldn't download anything, take pictures or video etc. Despite the fact that I thought I wiped everything, once I unlocked the bootloader again, I thought maybe a fresh install of twrp would help, so I flashed the 2.8.5 I had downloaded. I accidentally hit reboot and it ended up booting up lineage os16 just the way I had left it. I transferred another rom and gapps to an sd card and put it in the phone, booted back into recovery and attempted to wipe and it says cannot mount /cache. Basically anything I try to do in recovery it gives the same errors about not being able to mount /cache.

I don't remember how to go back to stock recovery, but I will look into that next if it's the only option.
I'd recommend to stay away from stock recovery. It won't fix your issue, and is rather useless at this point. The only real use for stock recovery, was when this device was still getting OTA updates (for installing those updates) but that hasn't happened for years. So stock recovery serves absolutely not benefit, as far as I know.Custom recovery is far more useful.

Fastboot flash TWRP (2.8.7 or newer). To fix the storage issue, try: reboot to TWRP. Select the TWRP "Wipe" option, then tap the "Format data" button. This is not the same as a wipe, this formats the data partition. Which in a lot of cases, fixes the data partition corruption errors (which it seems like you have).

---------- Post added at 10:01 AM ---------- Previous post was at 09:50 AM ----------

Forgot to ask, what rom are you running these days? I see lots of options, I'm kind of busy to be reading each of the threads for hours like I used to before deciding on one. I'm not a flashaholic anymore, just want a stable phone to play music with and use the ir blaster, maybe an extra Google home device to control lights around the house. Oh and a speedometer in my car and work truck (both are broken) lol.
I don't actually use the M8 as my daily phone for quite some time. I just pop into these forums from time to time to help folks, as there still seem to be people coming here for help from time to time, and not a lot of "helpers" anymore. I do still keep the device as a backup. I actually had to fire it up last year, when I broke the screen on my OnePlus 3T and was getting it fixed.

As far as custom ROMs, iof you want anything newer than Marshmallow, I think you are pretty limited to Lineage, or maybe a few other AOSP ROMs. If you want the IR blaster, you may be limited to Sense ROMs (can't remember). I tended toward the modified stock Sense ROMs myself, as I wasn't a big AOSP ROM user on the M8. I hopped around a bit between S.Team ROMs, and maybe Skydragon (Sense version), Viper, and a couple others. Hard for me to remember too specifically at this point.

---------- Post added at 10:02 AM ---------- Previous post was at 10:01 AM ----------

Thanks for the reply...
There is a button for that, if you feel compelled to use it ;)
 
Last edited:
  • Like
Reactions: 350Rocket

350Rocket

Senior Member
Dec 11, 2010
1,582
263
103
TWRP 2.8.7 is a highly recommended, known reliable version. Or it might not be a bad idea to update to current/latest version, which is 3.3.1-0
http://dl.twrp.me/m8/
Although not that much has changed in TWRP for this device. Anything 2.8.7 or newer should be okay.

I'd definitely stay away from older (2.7.x.x) TWRP versions, as they will not be compatible with current (or anything but really old) custom ROMs, as well as not compatible with your firmware (hboot, radio, etc.)..

Related note, thanks for posting the getvar output. This let me to verify that you are on the last firmware (Marshmallow) that is available for the M8 (again, this refers to hboot, radio, etc. and not the same as the ROM). Which is the best place to be for both stock and custom ROMs.

---------- Post added at 09:45 AM ---------- Previous post was at 09:42 AM ----------



I know you got the drivers somewhere else, but in case others read this thread and want to download HTC Sync:

The link I gave above, for me when I click it, it says "Download unavailable" for a second, then automatically redirects to a working download page. But here is the direct link to working (at least for me) download webpage: https://www.htc.com/us/support/software/htc-sync-manager/

---------- Post added at 09:50 AM ---------- Previous post was at 09:45 AM ----------



I'd recommend to stay away from stock recovery. It won't fix your issue, and is rather useless at this point. The only real use for stock recovery, was when this device was still getting OTA updates (for installing those updates) but that hasn't happened for years. So stock recovery serves absolutely not benefit, as far as I know.Custom recovery is far more useful.

Fastboot flash TWRP (2.8.7 or newer). To fix the storage issue, try: reboot to TWRP. Select the TWRP "Wipe" option, then tap the "Format data" button. This is not the same as a wipe, this formats the data partition. Which in a lot of cases, fixes the data partition corruption errors (which it seems like you have).

---------- Post added at 10:01 AM ---------- Previous post was at 09:50 AM ----------



I don't actually use the M8 as my daily phone for quite some time. I just pop into these forums from time to time to help folks, as there still seem to be people coming here for help from time to time, and not a lot of "helpers" anymore. I do still keep the device as a backup. I actually had to fire it up last year, when I broke the screen on my OnePlus 3T and was getting it fixed.

As far as custom ROMs, iof you want anything newer than Marshmallow, I think you are pretty limited to Lineage, or maybe a few other AOSP ROMs. If you want the IR blaster, you may be limited to Sense ROMs (can't remember). I tended toward the modified stock Sense ROMs myself, as I wasn't a big AOSP ROM user on the M8. I hopped around a bit between S.Team ROMs, and maybe Skydragon (Sense version), Viper, and a couple others. Hard for me to remember too specifically at this point.

---------- Post added at 10:02 AM ---------- Previous post was at 10:01 AM ----------



There is a button for that, if you feel compelled to use it ;)
I did try format data and it didn't work either. I can try a newer fastboot.

It seems to be running fine on lineage os15 (I mistakenly said 16 earlier) but it cannot be wiped or removed in any way. A PC sees the storage but will not transfer to it. I can download from within the rom to the SD card (got a bunch of my Google play music on it now) and it seems to take pictures okay but no video (maybe just a rom issue).

Since format data doesn't work, is it worth trying the newer TWRP and attempt format data with it?
 

redpoint73

Recognized Contributor
Oct 24, 2007
15,259
6,946
113
It seems to be running fine on lineage os15 (I mistakenly said 16 earlier) but it cannot be wiped or removed in any way. A PC sees the storage but will not transfer to it. I can download from within the rom to the SD card (got a bunch of my Google play music on it now) and it seems to take pictures okay but no video (maybe just a rom issue).
Now that you describe it this way, I seem to vaguely remember some nuance about Lineage data partitioning. But I personally never used Lineage, so merely read those posts in passing and don't recall the details. I suggest reading or searching through the Lineage ROM thread, and seeing if you can find this issue and hopefully a corresponding fix.
 
  • Like
Reactions: 350Rocket