KEMBAR78
ADB Commands Android | PDF | Android (Operating System) | Software
0% found this document useful (0 votes)
27 views4 pages

ADB Commands Android

The document provides various methods to unlock an Android device if the user has forgotten their unlock pattern, including using ADB commands to remove lock files or reset the device. It also outlines the installation of the Android SDK and the steps to wipe data from the device. Additionally, it describes how to reboot the device into recovery mode for factory resets.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views4 pages

ADB Commands Android

The document provides various methods to unlock an Android device if the user has forgotten their unlock pattern, including using ADB commands to remove lock files or reset the device. It also outlines the installation of the Android SDK and the steps to wipe data from the device. Additionally, it describes how to reboot the device into recovery mode for factory resets.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

adb get-serialno

adb shell dumpsys iphonesubinfo

adb shell su

adb devices

—————–
Remove Pattern
adb shell rm /data/system/gesture.key.

Remove Password / Pincode maybe

adb shell rm /data/system/password.key

————
Another option

adb shell
sqlite3 data/data/com.android.providers.settings/databases/settings.db
update system set value=0 where name='lock_pattern_autolock';
update system set value=0 where
lockscreen.lockedoutpermanently
exit
exit

———

Deleting the data

adb shell wipe data

—-

You can try

adb reboot recovery

How to unlock an Android-OS mobile if you have forgotten the unlock pattern (video)
Method 1

adb shell cd /data/data/com.android.providers.settings/databases sqlite3 settings.db update


system set value=0 where name='lock_pattern_autolock'; update system set value=0 where
name='lockscreen.lockedoutpermanently'; .quit

Method 2

adb shell rm /data/system/gesture.key

Write "adb -d reboot" to restart the device, or "adb -d reboot recovery" to


start in recovery mode and perform a factory data reset.

ANDROID SDK INSTALLATION

I have used the Android SDK to wipe the system, as I couldn't do it with others.
methods:

Install the Java console: http://www.java.com/en/download/

And download the ZIP from here: http://developer.android.com/sdk/index.html#ExistingIDE

Once we have downloaded the ZIP of the Android SDK, we unzip it. We are interested in
especially the platform-tools folder where the adb.exe application is located. Here is the path where I
I have it downloaded, but the most convenient way is to put it directly in C:

We open a console from the Start Menu -> Run -> CMD and locate the file beforehand.
mentioned with the command (better to put it in the root of C 'cd c:\sdk\platform-tools):

cd C:\Users\elblogdenegu\Downloads\adt-bundle-windows-x86_64-20130917\adt-bundle-
windows-x86_64-20130917\sdk\platform-tools>

Once positioned, we launch this command:

adb devices

It will return that the device connected to Android is in recovery mode:


1

List of devices attached

XXXXXXXXX recovery

- We restart in bootloader mode and an Android figure in maintenance will appear:

adb reboot-bootloader

20131020 134241 Reset (wipe) Pandora 9.10 tablet if it freezes

Pandora 9.10–Bootloader Mode

We execute the shell to be able to perform the deletion:

adb shell

We execute the wipe and exit:

root@android:/ # wipe data

wipe data
Wiping /data

Done wiping /data

root@android:/ # exit

We restart the team:

adb reboot

20131020 124533 Reset (wipe) Pandora 9.10 tablet if it gets blocked

Pandora 9.10 - Restart

It will take a few minutes... and you will have the tablet as good as new out of the box.

You might also like