What is the difference between "erase all content and settings" and a full and clean restore from itunes? Is the OS the same, I mean the performance. Is one more efficient than the other?
If you have issues an itunes restore would be recommended instead of an erase all.
It reinstalls the ios and its a more clean process to make sure all your previous info is off the device also.
This and other software can recover "some" of your files if they we not over written in the restore process. Once over written it is gone forever. You will still need a little bit of luck to recover the ones that were not written over.
I believe your best bet is to restore it through iTunes for the in the box state with the OS reinstalled. this would be best if you are selling it or doing it for yourself. If for yourself don't forget to do a backup first.
When enabled, file system encryption is turned on, and all data not he phone is encrypted. When a phone set up like this is wiped, the encryption key gets scrubbed, basically turning the rest of the data into meaningless random gibberish.
Could such data be recovered? Not by your average buyer or user. Maybe an entity on the order of the NSA could crack the encryption. But if the NSA was really that interested in you, then they probably already have the data they want, and don't need to be scraping your phone's wiped filesystem to get it.