1

I have an Android Device running Android 2.3.7 . The device is locked due to exceeding pattern attempts. So now Android is prompting me to enter my gmail id and password. The problem is, the WiFi is turned off and the Data is turned off.

I have found using this thread that you it is possible to turn on wifi using ADB. But on my device, even usb debugging is not turned on. So, I cannot access the device using adb.

So, I figured may be you can access device using adb in recovery mode ( my phone is not rooted ). But so far, in recovery mode, running adb devices does not list my device.

Is it possible to access a device using adb if your usb debugging is turned off ( on a non rooted phone ) ? How about in recovery mode ?

sutro
  • 111
  • 1
  • 1
  • 3
  • That question does not have an accepted answer, and he's asking for screenshots for his device. Plus, his device must be rooted since he is using Android Screencast. As I have mentioned, mine isn't rooted. – sutro Feb 27 '14 at 19:04
  • Have you tried @ce4's answer in that linky to the said possible duplicate question? – t0mm13b Feb 27 '14 at 20:18
  • Actually no. Get a recovery system means, root and flash a recovery ? I avoided rooting the device because I was trying to help out a friend on his device. It is an old, unknown phone. I found only bricked cases for this phone on XDA. An answer that does not involve rooting will be preferred. Thanks. – sutro Feb 27 '14 at 20:27
  • 1
    Welcome to Android Enthusiasts! This seems to be an XY problem. Instead of trying to get your supposed solution working, maybe you want to check Can not unlock my Android device as have no internet connection? – Izzy Feb 27 '14 at 22:24
  • 1
    @Izzy Thanks :) Your answer in that question is very interesting and insightful. Using hole to create new account didn't work for me. In all other cases, you need WiFi connection or root access, both of which I don't have. I have saved that answer for future reference. Thanks for pointing out. – sutro Feb 28 '14 at 16:03
  • Sorry to read that it didn't help. But we might have some other pointers: have you checked the section of "related" questions next to your device, e.g. on how to possibly get USB debugging activated again? Some devices also have it activated by default in recovery-mode. – Izzy Mar 01 '14 at 14:30
  • 1
    In my device, usb debugging is not activated in recovery mode. So, now I have factory reset it from recovery mode itself. Thanks for the input guys. Really appreciate it. – sutro Mar 01 '14 at 14:38
  • @sutro Even though that's not the idel solution to the problem, could you post it as an answer, and mark it as accepted 2 days later? :) – geffchang Mar 02 '14 at 05:10

2 Answers2

1

I had a similar problem. I almost gave up and was like an inch from hard reset when something strange happened. When I connected the phone to USB as usual USB entry screen appeared, but I noticed that in this screen it is actually possible to lower the notificationbar and bingo — I was able to turn Wi-Fi ON. And then I just entered my Google account info and the phone was unlocked.

Matthew Read
  • 50,567
  • 30
  • 145
  • 273
user93844
  • 11
  • 1
0

Depending on the type of device you use, you can install a custom recovery and flash this file to unlock without data loss


If you have root shell run the following command in it's order:

adb shell then su then rm /data/system/gesture.key

OR

adb shell then rm /data/system/gesture.key

Manu
  • 3,094
  • 7
  • 22
  • 40
Jerom
  • 1
  • 1
  • if you have root shell run the following command in it's order:
    "adb shell" then "su" then "rm /data/system/gesture.key"

    OR "adb shell" then "rm /data/system/gesture.key"

    – Jerom Aug 14 '15 at 14:12