Clear JB phone but Keep JB

I have a 4S that i am selling. The phone is JB on 5.1.1 is there a way to clear the phone and keep jailbreak or clear it and rejailbreak it?
Ok so the best way to do this is save you shs and restore with redsn0w with the downloaded IPSW file for your iOS version

---------- Post Merged at 01:49 PM ---------- Previous Post was at 01:49 PM ----------

Ok so the best way to do this is save you shs and restore with redsn0w with the downloaded IPSW file for your iOS version
Self help threads are AWESOME
Self help threads are AWESOME

Haha I agree

Original thread: https://forums.imore.com/threads/clear-jb-phone-but-keep-jb.242697/