My iPhone keeps freezing and turning off?

It's a Verizon iPhone flashed to cricket and it's jail broken. And recently it started freezing and just turning off and it's getting annoying what's wrong with it?

Faulty tweak? Boot into safe mode (power off, then hold the volume up button for THE WHOLE boot process)
Then remove any packages from cydia taht could be at fault.

I also recommend grabbing and running icleaner from cydia, and turning on the unused dependancies when cleaning

  • Why is my new iPhone 8 freezing the music on the lock screen and turning the volume up and down itself? When I'm listening to music and then click home to light up the screen to change a song or whatever the song will be almost over and it'll say it's at 0:30 seconds? And then when I go to Instagram it just turns the volume up and down without me pressing any volume buttons?
  • Why is my iPhone 5 turning off and not turning back on? This has happened twice now. My iPhone 5 has turned off in the middle of the night with a full charge and off the charger, and when I try to turn it back on it takes a couple tries. Has anybody experienced this?
  • My iPhones sound keeps Turing keeps turning off? Well for a while now my music will randomly turn off and I go to the app and there's so sound bar what so ever… And then I restart my phone and my music or keyboard sound still won't turn on… What do I do now?
  • My iPhone keeps turning on and off like it turns on and off. Can someone tell me? Okay tbms it turns on and off on and off and then sometimes it shows a red screen for a few seconds then off again and dies out. It's not the battery because I got that changed thinking that it was the cause and it wasn't. So is there anything someone can help me with? The repair guy tried restoring it through iTunes he said it didn't work either it just won't come on it doesn't go pass the Apple logo before shutting off and on again and dying out