Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Unlock pattern has been used too many times on this android device and we don't have username and password. Most probably USB debugging might also be disabled. I can reset wipe data/factory reset from recovery mode, but I want to backup contacts and messages before I do that. Because we don't have username and password, so contacts can't be recovered even if it is synced to Google account (which I think won't be anyway). Only option I have is apply update from sdcard in recovery mode.

So is there any way to write some update script to copy the contacts data file to sdcard and then run it from

Or if I can reboot the phone in USB debugging mode through update script as it happens after flashing some kernels?

Or if I can install an APK through update script?

Other details as below (in case if it matters)
Device: Samsung Galaxy S2
Android version: Never upgraded. So it is as it was bought.
Root Status: Unrooted

share|improve this question
if you are in recovery, does adb work? – t0mm13b Jan 2 '13 at 16:04
No, phone is not detected when I do adb devices. Even when I'm on lock screen. – IsmailS Jan 2 '13 at 16:18
See this – t0mm13b Jan 2 '13 at 16:25
already gone through it. No username password so can't install Screen Lock Bypass. adb doesn't work. null funda also didn't worked for me. Phone call and then back button also didn't worked for me. Tried all possible things out of those.. – IsmailS Jan 2 '13 at 16:32
Still hope there, Try deleting the driver from windows first and restart it, then re-try plugging it in again... – t0mm13b Jan 2 '13 at 16:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.