Chosen Solution
As far as I know it seems like i have to replace the aluminum case and the screen+digitizer as the touch sensor still works and recognizes input. Here is a Picture for referance : https://puu.sh/uZ7Rx/b4315f752d.jpg Basically im asking if my assumptions are right. What I don’t know is about the battery capacity, is it better when if i already am changing these things I also replace the battary ?
Looks like you need a complete display assembly . This guide will help with the repair and theres a link to the store in the guide where you can buy the display HTC One M8 Display Assembly Replacement Hope this helps