My phone has the bootloader unlocked and is rooted so if that can help lead to finding the cause of my issues I am willing to try nearly anything. So far I have tried returning my phone to stock by removing root and relocking the bootloader then doing a full restore of the phone. That seems to work for a little while but I kind of think that when it updates a app on the phone the issue comes back. I think its one of the stock apps thats causing the issue because after the restore it worked fine and I left it stock for a while and I am thinking that one of the newer version of an app is the cause.
So what I am asking is if anyone has had this issue and/or a way for me to find out what is happening when the error occurs.