So you or somebody were playing with your phone pattern now, you have black screen saying: To unlock sing in with your google account, but your wifi is disabled and you are unable to confirm your account.
One thing to tell you : No you can’t do anything with ADB if USB debugging is turned off… That setting must be on in order to execute any ADB commands. if your usb debugging is turned off go and do hard reset to your phone else you can try some of methods listed below.
There are lot of methods on net how to enable wifi on android phone.
but for my phone i was receiving errors like:
sqlite3 not found , permissions denied, killed (adb shell svc wifi enable)
I was desperate so one thing that i can think off was to try make simple android app that will enable my wifi , (if you install sdk you will be able to upload apk, but another thing shout be enabled in your phone is Allow installation of non-Market apps) because i was sure that this option is enebaled i start eclipse and make simple apk that will just enable wifi. I upload my apk to phone and voila wifi was ON . Here you can find how to upload .apk from adb
Here is code used for the apk.
Start your eclpse and in manifest add this permissinos:
<uses-permission android:name=”android.permission.ACCESS_WIFI_STATE” />
<uses-permission android:name=”android.permission.CHANGE_WIFI_STATE” />
and in your onCreate method after setContentView add this two lines:
WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE);
and build your app on telephone directly or make .apk and upload to the phone.
if you cant wait to unlock your phone here download my apk, hope someone will help.