Editing/removing hostfile on jailed iPhone So guys I've done a very silly thing. I've installed a tweak that blocks ad websites, but apparently it blocks every connection on the internet(things using DNS, but now all the things use it)
I only realised this after restarting my phone(silly me thought that restarting will solve the problem). Pretty much my iPhone is a brick because I can't even connect to the http://ppq.apple.com (again it uses DNS) to validate the developer certificate. So there is no way running yalu again or any other code.
So is there a way to ignore/delete/edit that hostfile?
I want the restore to be my last resort(hopefully to iOS 10.2(I have the blobs saved))
The hosts file is located at /private/etc/hosts which cannot be accessed on a non-jailbroken iOS device. There is simply no way to do it. More information on why this is and what occurs during the jailbreak process can be found on my answer on Can you apply jailbreak tweaks to a non-jailbroken device?