i have the same issues with my sony tablet s (3g version).
i did the "Add WiFi AD-HOC Support." option with version 3.1 of the aio tool. after that the wifi menu just tells me it hat an error enabling the wifi.
i did "Add WiFi AD-HOC Support." again to restore stock. Same issue. tried to reinstall the official ota update -> requires wifi....
i did not yet set the device to factory default.
can you please help me with repairing the wifi?
Ok... Found a solution. :)
1. Do a hard reset from the recovery menu (power and vol+)
--> Wifi does not work now
2. Root the device using the aio tool
3. add the wifi adhoc support again
--> Wifi works...