Disable “Find my iPhone” in activated phones
First be attention, this is only for already activated devices it means if you have an iPhone or an iPad, which is already activated, everything works, but you forgot your iCloud password or if the person you buy the idevice didn’t give you password or dint turn off find my phone and now you can’t track contact them. this tutorial is meant for those who have an activated device and would like to change the iCloud account/ disable the “Find my iPhone” feature. This was tested on an iPhone 5S on iOS 7.1.2. this free information from online sources .
1- you need jailbreak the device using Pangu Jailbreak.
2- Once jailbroken, download and install: iFile, iCleaner and iFirewall iOS 7 from Cydia. ( try this repos )
3 – Open iFile, navigate to var/keychains/ and delete keychain-2.db. This will delete any stored passwords!
4 -Restart your iPhone using the home and power button.
5- Now open iFirewall, add a new rule for “Settings” and choose “Deny All Connections” from the menu. In the same app, add a new rule for the domain “com.apple.com”, denying all connections to that as well.
6- Open iCleaner, go to the first page and disable the “iCloud Daemon”. Restart your iPhone.
7- Get into Settings, iCloud and “Find my iPhone” should now be off. Remove the account.
8- Get back to iCleaner, reenable the iCloud Daemon, get into Cydia and uninstall iFirewall iOS 7. Restart your device.
9-Go back into Settings and try creating a new account/ sign into your existing one. This step may challenge your patience as it will say that the server can’t establish connections. Keep trying, it WILL work.
10- Once signed in, you will notice that find my iPhone on your new account is off. Turn it on, and make sure it stays so by closing the Settings app from the multitasking bar and reopening it. Find my iPhone should be on.
– On your computer, sign into www.icloud.com and try to localize your device. Once viewed, try to play a sound on it. If it plays, choose “Erase iPhone”.
11- Erasing process won’t complete as you have jailbroken your phone, wait until the erasing status bar gets towards the end, put the device into DFU mode and restore with iTunes. Your device will now need you to sign in with the Apple ID you have erased it with.
Important: DO NOT skip the erasing step and restore it. If you do so, it will ask you for the previous owner’s account, even though you signed it with yours. Hope this helps you guys, discovered most of that myself, with little help and putting together various tips and tricks from our beloved Google. Please note that if this doesn’t work for you I cannot be held responsible, try it at your own risk. Also, I have no idea how to bypass the activation screen so don’t ask anything about that, this only works for already activated phones.