Chosen Solution

I have had my Xbox one s for almost 2 years now, and just recently it has begun to act up. Whenever I play any game, it will always glitch out and freeze. For example, in forza 6, some images will stop appearing when building a car and then the game will freeze if I do anything after that. When I got to the menu to quit the game, I can scroll to the game, but when I click game options with the menu button, the whole console freezes. The same also happens when I press the home option from menu. I hard ressart the console and it never gets fixed. I also did a factory reset on it, but now it is stuck on the preparing console page at 58%. I should also note that even when it is completely off but still plugged in, I hear a little buzzing noise from the console. I don’t think it is fan because I can still feel airflow from the fan. Does anyone know what is going on?

I’m gonna assume this is a hard drive issue. Connect the hard drive to a PC and use some system information software like AIDA64 to check HDD SMART data, most likely you will see it is flashing red to alert you to replace the drive.

Try cleaning it. It could be overheating