I have a jailbroken iPhone 6 and will get it replaced with a new one. The problem is that i can't factory reset the device. Every time I tap the erase all content and settings on iPhone, the screen goes dark and flashing. When I forced the phone rebooted, nothing was deleted. This is really weird.