I recently purchased htc one m8 and and unlocked and rooted and installed custom roms. Suddenly home screen become black and asking password for decrypting sdcard. Then I went to recovery and trying to factory reset and flashing another rom. But error mounting data is showing and installation is failing. The phone is going between bootloader and recovery. If rebooting it continously showing splash screen. So Please anybody study the problem and show me the way to rectify it. Thanjs in advance.