I have an Apple iPhone 4s running the last version of iOS that can be jailbroken(the one just before 9.1 I think).
Each time I swipe to unlock, it hangs for a second while displaying the pin entry keypad and then reboots. It reboots to safe mode and then back to normal mode.
This has happened before on version 8.4, but it wasn't connected to WiFi then. Restore fixed it.
I want to know how I can fix it without a restore so I can keep root access. I have root SSH access to the device, which is amazingly still connected to the WiFi. I can also use apt tools(apt-get apt-cache dpkg) and I've removed the last installed tweaks(apt-get purge)(DefaultPlayer and iCleaner).
If I have to restore, is there a way to backup over SSH and restore to a jailbreakable version?