Useful ADB commands for Android devices

Created by Gabor Szeles, Modified on Tue, 18 Apr, 2023 at 2:08 PM by Gabor Szeles

Android Debug Bridge is a developer tool for Android devices. Using ADB Zebra Android devices can be upgraded or configured.


The most complete ADB commands are listed here: https://www.automatetheplanet.com/adb-cheat-sheet/


The commands are attached in a text file (dated 06/09/2022).


Prerequisites:

- Android Platform Tools installed on PC (https://developer.android.com/studio/releases/platform-tools)


When we want to upgrade or factory reset a device, we need as follows:


- Set device in developer mode - Click 7 times on Settings / System / About Phone / Build Number

- Enable USB Debugging - Enter Settings / System / Advanced / Developer Options and enable USB Debugging

- Connect the device to your PC

- Enable USB Debugging when prompted

- Enable Files Transfer - On the device swipe down on the top of your screen, click twice on Android System - Charging your  device and change it to File Transfer

- On PC in a Command Prompt enter the following commands:

    - adb devices

    - adb reboot recovery

    - adb sideload <FileName>


After "adb devices" command you should see your device ID

In Recovery mode, you can select from the items with Volume Up/Down button and start the selected item by Power button.


Disable rotation on TC52:


adb shell settings put secure show_rotation_suggestions 0


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article