Chosen Solution

my phone has suddenly turned off and i fail turning it on again

before it completely went off what software or hardware issue its been giving for how long then we can try narrowing down what might be wrong with it cheers

need to replace the battery. keep it on a charger. (18W or higher . I am considering buying an amazon (Original Quality) 87W USB-C Power Adapter Replacement USB C AC Supply Charger Compatible with MacBook Pro Charger 15 Inch Laptop (USB-C Cable Included) for list 39.99 USD) Get a new phone, download “files” google transfer app onto both phones and transfer everything. then sell the HTC phone for whatever someone will pay. https://www.htc.com/uk/contact/productis