How to restore the Iphone 4 to new device while retaining the Jailbroken?

As per title, is there a way for me to hard format my phone (4.2.1 jailbroken with greenpoison untethered) while maintaining the jailbroken status?

Thank you
Sorry its not possible
If that's the case, how about using the iTune to Restore and Update to the latest version (4.3.1) and then rejailbreak it with RedSn0w. Possible?
If that's the case, how about using the iTune to Restore and Update to the latest version (4.3.1) and then rejailbreak it with RedSn0w. Possible?

Yes, you can do that.
Thanks for the fast response.
I saw that in iClarified, there is a guide for the RedSn0w jailbreak, it consist of the upgrade to 4.3.1. Is that the right process?

Thank you once again for the response, truly appreciate it =)
With Redsnow, you always need to update the official firmware first, which also updates the baseband = possible unlock, beforehand. Afterward, you run Redsnow to JB. If you want to save your baseband = possible unlock, you need to update with a custom firmware file beforehand.

Original thread: https://forums.imore.com/threads/how-to-restore-the-iphone-4-to-new-device-while-retaining-the-jailbroken.210791/