My wife's iPhone 4S (running iOS 8.1.2 and jailbroken) is seriously misbehaving (see https://forums.macrumors.com/thread...en-iphone-4s-ios-8-1-2.2036106/#post-24380914 for any details) and I am trying to restore it to a clean iOS (without upgrading to 9.3.5), using Cydia Eraser. The first problem I encountered was the "eraser.cpp:1410" error, but I discovered that downgrading Eraser from 0.9.32 to 0.9.18 might fix that problem. So it did, and I can now happily run Eraser... until it crashes out back to the home screen. It does so at various times in the process, from within a few seconds to more than three minutes, but most of the time it happens while it is scanning through all the directories (it gets about 2/3 of the way at most, it seems). I don't know whether Eraser needs lots of storage, but the device has about 10GB free of its nominal 64GB, so that would not appear to be a problem. I have also made sure there are no other processes running by swiping them away from the app switcher. <later> Just now Eraser crashed again, and within a few seconds the device spontaneously rebooted. Given the somewhat erratic behaviour of the device it's hard to say whether this is something to do with running Eraser consecutively, or something that would've happened anyway. What could be happening here, and how can I make Eraser complete its process? Many thanks! <UPDATE> Well it got in the unstable state again so I switched it off, left it for a couple of hours, and then switched it on. After it rebooted twice, it seemed to be in the stable state again (no reboot for more than 10 minutes), so I gave Eraser another go. It looked like it got further than ever before - probably about 75% through the folder scanning process. But then it crashed again, and unlike before, the device was (temporarily) frozen - really as if something is hogging the CPU. A little later it spontaneously rebooted again, and it seems back into state 2 now. Grrr! PS: The following may (or may not) be relevant to the above. Since the device started playing up, it seems to get itself into one of three states: relatively stable: with apps apparently usable (except Messaging and Facetime - this is where the original problem arose as far as I can see), and remaining in this state for a long time when nothing in particular is attempted (e.g. I had an internet radio app play for several hours without a problem). unstable: the device appears to be frozen for several seconds at a time, every so often. This can also be seen by the second hand of the clock app icon stalling. The device reboots spontaneously after at most a few minutes, even if no app is ever launched. Unusable: the device boots to the lock screen, but swiping fails to bring up the unlock screen, and the time display is frozen too. After a few minutes, it reboots spontaneously. Manually rebooting, including switching off (either through pressing the sleep/wake button and then "swiping to power off", or through the control centre's Shutdown button) eventually gets it back into state 1, although I have not discovered a way that systematically achieves this. It seems to be hit and miss. When I attempted to run Eraser as described above, the device had been in state 1 for more than 12 hours, with the only thing happening the regular popping up of the "iMessage - Your carrier may charge for...(etc)" message.