HTC One M7 stuck on boot I have a HTC One M7 since 2 years. I got a software update in December and i tried to update it and somehow after the update the phone showed me errors. So back then i did a recovery and the phone went back to the previous configuration. After this I avoided this update totally. But recently i totally ran out of battery and when i charged it, and started it, it upgraded automatically and now it is stuck in the HTC One white screen. Now if i want to recover it, it gives me the following errors -


  E:missing bitmap oem_unlock_bg (code-1)
  E:missing bitmap oem_unlock_bg_yes (code-1)
  E:missing bitmap oem_unlock_bg_no (code-1)
  E:missing bitmap icon_ruu (code-1)  
  
  Write host_mode success  
  
  handle_cota_install: Can't mount /sdcard, 1 times
  handle_cota_install: Can't mount /sdcard, 2 times
  handle_cota_install: Can't mount /sdcard, 3 times
  handle_cota_install: Can't mount /sdcard, 4 times
  handle_cota_install: Can't mount /sdcard, 5 times   


I tried most of the solutions i could find. Did a cache wipe, even did a factory reset by pressing the power button and the Vol down button for some time. After the factory reset it gets stuck in - 


  htc one m7 stuck in android is upgrading Starting Apps


How can i fix this? It has been 2 days and I am trying to get it up and running with no success. Any help is deeply appreciated.
You need to run/flash the official RUU file from HTC that either matches your device's current firmware level or is newer. This will rewrite the partition table, and all data on the device back to factory condition. If that does not work to bring the device back into service, you will likely need to send it in to HTC or replace it.