Suppose that an iPhone has been rooted and a back-door installed on the firmware and that this was done in a way that the factory re-start cannot clear out the problems. How does one clean up this iPhone? Is there an easy way to wipe the firmware and re-install the original iOS?
How does one securely re-install the firmware and the original iOS? Suppose that the iPhone has a trojan on it, and attaching the iPhone to a Mac by USB installs the trojan on the computer. Can someone propose a secure wipe of the iPhone? Can a Linux machine be used to wipe the iPhone?