Hello fellow knowledge seekers. Lovely Forum you have 
I am at my wits end as the thread title says i really am, its giving me a headache now. Ive been going round in circles for 4 days now reading every scrap of info,guides,posts etc and downloading and trying everything to get my phone to work again. I feel like a fool for messing with it in the first place (wanting to learn).
Ok what i done (everything i can remember) & Symptoms of device
HTC One M8 Vodafone UK
1. Used the One_M8_All-In-One_Kit_v2.0
2. Went through all the process of getting token, flashing twrp 2.7.0.2 and installing supersu and updated the binaries.
3. All went great! was rooted and working 100% until....
4. So i was messing with an app which wouldnt work due to permissions although it had root permission.
5. So i was messing around some time later in twrp recovery and noticed permissions (i thought about the app and decided to "fix permissions"
big mistake as they are nothing to do with app permissions as i later learned.
6. The device booted fine into the OS but all my installed apps where missing and some other standard android apps that come with the phone were missing but other than that worked.
7. Decided to go back into twrp and look around. I decided to install supersu again to see if it would fix the permissions
nope it made it worse. It then presented me with the htc white screen with green htc logo and stayed there.
8. Used key combo to get back into twrp, done factory reset, nothing.
9. flashed everything i could find including ruu exe's and zips. (errors upod installation) nothing worked
10, when i exit twrp it says no os installed and then your device doesnt appear to be rooted install super su? slide to install. installs fine then next time i exit it does the same.
I have adb, fastboot and access to phone via pc.
The phone loads in windows and i can access internal storage and sd card.
All my files and data are still in internal storage.
Any advise appreciated.
Phone info.
Team Win Recovery Project v2.8.5.2
M8_UL PVT SHIP S-ON
HBOOT-3.19.0.000
RADIO-1.25.214500021.06G
OpenDSP-v48.2.2-00564-M8974_FO.1211
OS-
eMMC-boot 2048MB
Aug 4 2015,21:56:12.0
----------------------
C:\adb>fastboot getvar all
< waiting for device >
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.25.214500021.06G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: ***************
(bootloader) imei: ******************
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: VODAP001
(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: 255f41e7
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
-----------------------------------
Any other info required i will do my best.
Thank you

I am at my wits end as the thread title says i really am, its giving me a headache now. Ive been going round in circles for 4 days now reading every scrap of info,guides,posts etc and downloading and trying everything to get my phone to work again. I feel like a fool for messing with it in the first place (wanting to learn).
Ok what i done (everything i can remember) & Symptoms of device
HTC One M8 Vodafone UK
1. Used the One_M8_All-In-One_Kit_v2.0
2. Went through all the process of getting token, flashing twrp 2.7.0.2 and installing supersu and updated the binaries.
3. All went great! was rooted and working 100% until....
4. So i was messing with an app which wouldnt work due to permissions although it had root permission.
5. So i was messing around some time later in twrp recovery and noticed permissions (i thought about the app and decided to "fix permissions"

6. The device booted fine into the OS but all my installed apps where missing and some other standard android apps that come with the phone were missing but other than that worked.
7. Decided to go back into twrp and look around. I decided to install supersu again to see if it would fix the permissions

8. Used key combo to get back into twrp, done factory reset, nothing.
9. flashed everything i could find including ruu exe's and zips. (errors upod installation) nothing worked

10, when i exit twrp it says no os installed and then your device doesnt appear to be rooted install super su? slide to install. installs fine then next time i exit it does the same.
I have adb, fastboot and access to phone via pc.
The phone loads in windows and i can access internal storage and sd card.
All my files and data are still in internal storage.
Any advise appreciated.
Phone info.
Team Win Recovery Project v2.8.5.2
M8_UL PVT SHIP S-ON
HBOOT-3.19.0.000
RADIO-1.25.214500021.06G
OpenDSP-v48.2.2-00564-M8974_FO.1211
OS-
eMMC-boot 2048MB
Aug 4 2015,21:56:12.0
----------------------
C:\adb>fastboot getvar all
< waiting for device >
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.25.214500021.06G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: ***************
(bootloader) imei: ******************
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: VODAP001
(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: 255f41e7
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
-----------------------------------
Any other info required i will do my best.
Thank you
Last edited: