[HTC One E8] Blergonos:
I have an HTC One E8, which is in specific the 0PAJ310 M8Sx single sim white model, if that's important. I wanted to install a custom ROM of Lineage OS 15.1 to replace the stock ROM of Android 8 with the HTC Sense skin. Let me tell you the things that I have accomplished:

1. The bootloader is unlocked

2. The custom recovery of TWRP is still there (I will elaborate further later)

3. The phone still gets picked up by commands like 'adb devices' or 'fast boot devices' and still follows commands from the PC.

I have followed this guide so far "https://wiki.lineageos.org/devices/m8/install" and made sure to compensate for the fact that the guide is talking about a, yet rather similar, but different model of the phone, by downloading the E8 TWRP instead of M8, and other things as well, so don't think that I am following the guide without thinking of the model first.

The USB drivers for the phone where no longer on the official HTC website sadly, so I got the .exe from the Internet Archive "https://archive.org/details/setup_3.1.77.0_htc_no_eula", and installed it. This is where I think I made a horrible mistake (perhaps). I thought that adb.exe running in the back round in Task Manager was interfering with the adb command prompts, since it always said something along the lines of, "Adb server version (31) is older than the current server version (41), killing process adb.exe" (please note that the line to the left is not completely accurate to what it said). I read somewhere that it was a supposed problem (even I found out later that CMD takes care of it for me, therefore rendering it a non-problem), so what I did every time was ending the adb.exe task. This caused an error (this was during the ROM sideloading phase) and caused the phone to restart, and be stuck on the white back round HTC logo booting screen, with no commands, button presses, or anything stopping it, a probable soft brick. I waited for the battery to go out (took 4-6 hours), and then turned it back on to hboot (for some reason the battery still had enough power to turn that on) and tested to see if at least the recovery was still there, since I was scared it was gone, reading somewhere that it can be deleted when booting into the OS in the wrong time. Thankfully it was still there, but the OS, both Stock, and the custom Lineage OS ROM, which was sideloading so I guess it is obvious, wasn't there! This is where I think I made my second mistake, I retried sideloading the ROM again, and it gave an error, which according to the guide which I was following, was a normal error to be ignored. Except, rather than ignoring the error, I ignored that specific section of the guide. I tried sideloading again, and again, with each time giving errors different to what the guide said was normal. By the way, after each error, I tried booting into the OS, but it never did, it just booted back into recovery every time.

The last things I would like to mention are that,

1. Around the time I wanted to start OS sideloading, the command prompt kept giving me errors, like, "Device not plugged in" or just not giving me an answer after putting in a command. Now I realise I should have probably stopped when those errors happened, but I didn't, I pushed on, until the errors stopped, also around the time I gave up, seeing that the multiple sideloads I did of Lineage didn't work.

2. I uninstalled and reinstalled the HTC Sync Manager (basically the USB driver) multiple times due to thinking that I was separate from the HTC USB driver, which I was half right, but the USB driver needs the HTC Sync Manager to work properly. I am keeping it installed from now on.

3. I was using a WD cable, I don't know if that's important, but somebody said on a tech channel of a discord, that branded cables (from good well know companies) always work better than off brands, saying that the off-brand ones almost broke his phone in his attempt of OS installing.

4. I am doing this on a Windows 11 PC, with a 3.0 port, with all the right drivers installed (hopefully).

My goals are just to get this phone working again, no matter what it takes. Tell me anything, ask me anything.

"https://xdaforums.com/t/rom-unofficial-lineageos-15-1-for-htc-one-e8.3889489/" is the ROM I'm using, I am not using a ROM from the official website since you guys don't support the phone of mine.

Please help, I can't lose this phone.

Oh and I will also post this same message on Discord and reddit, for maximum outreach of help.

Good day.