A friend has an iPhone and they need to wipe it and remove the jailbreak on it. They don't need a backup.
The problem is they don't have access to a computer with iTunes on it to do this.
Can this be done without iTunes? Will doing an 'erase all content and settings' lock the phone? Some posts I have read suggest if you do this the phone will get bricked.