How do I turn off "Find my iPhone" on my device without wi-fi? My wifi greyed out/dimmed for no obvious reason. To restore my iPhone I am required to turn off "Find my iPhone".

Since I can't get access to wifi through my device (it needs Apple ID password), how can I turn the that off?

I tried doing it through iCloud.com but it needs to be turned off through the device itself (which then eventually shows on iTunes).

I've contacted the Apple support team but they haven't helped much.
You can restore your device by putting it in Recovery Mode first. This will restore your device regardless of settings on the device, including Find my iPhone.


Turn your device off.
Hold Home as you connect the USB cable until you see the following screen:


You should see the following message in iTunes:


  iTunes has detected an iPhone in recovery mode. You must restore this iPhone before it can be used with iTunes.

Restore the device in iTunes.