My htc one m8 was all good since yesterday. It's age is about one year. The problem is when i open any apps or do anything it's just restart automatically and vanish my previous activity. As a example I uninstall an app then it restart and after restarting the is still there. I also try to factory reset the phone but it's done nothing all my apps was there.Can anyone help. Thanks in advance.
That's because your memory is read-only! You can't write data to it: the delete operation writes to memory - at least modifies it.
Not sure about what may be causing this, but probably from malwares or as I can think of now a defective eMMC chip like you know those SD Card that suddenly becomes "Write protection enabled" .
I have myself experienced this and never found a solution so far. This seems to happen with HTC, HUAWEI and I had a case involving a Motorola phone.