Whatever the problem, the software will fix it without deleting the data on your device. Many issues that arise in iPhones - a frozen screen, getting stuck on the Apple logo or in recovery mode, network issues, app crashing and so on - can be fixed after iOS system recovery. It will factory reset your iPhone/iPad without the passcode or iTunes.