for some reason my original iphone 2g keeps ending up in a reboot that lasts hours, sometimes days, sometimes either my phone wont wake up or it will just freeze while performing random tasks, for instance, sometimes while ending a call, opening an app, switching home screen pages, and pretty much any other random things

idk why it does this but ive tried doing a fresh restore, without restoring from backup, i have no music on it right now, and its not jailbroken, i still havent been able to fix the issue, often i have to do a harsh reboot which leaves it with the reboot logo of the apple logo, after so long the spinning dial comes up, and then a little while after that it restarts all together and repeats the process

its been doing this for about a week now
if anyone can help with this problem itd be much appreciated