All adb commands If it is the first time for your smartphone to be connected for ADB on that PC, a popup message will appear on your Phone's screen prompting you to accept authorization. To enter fastboot mode google your model and brand as its differs from brand to brand on how to enter fastboot mode. The ADB Device Command. To run ADB commands, you need to navigate to the adb folder using the below command. textureHeight < height > adb shell setprop debug. refreshRate 60, 72, 90 (default), 120 Override the default refresh rate of the screen. adb –e <command> adb devices. Android ADB Shell Commands List. This command clears all data for a specified application, effectively resetting it. GitHub Gist: instantly share code, notes, and snippets. The “adb devices” is a very popular ADB command that we use to list all the devices in cthe ommand prompt which are ready to take commands in for action. adb shell list packages -3. – Slav. In this article, you will find 200+ ADB, shell and fastboot commands which are commonly used for debugging Android devices. adb 5 days ago · Adb useful commands list. Useful Quest 2 ADB Command Examples. adb backup // By using this ADB command, you can create a full backup of your Android device and save to your computer. adb shell <command> Runs the specified command on device (most unix commands work here) adb shell wm size: Displays the current screen resolution: adb shell wm size WxH: Sets the resolution to WxH: adb shell pm list packages: Lists all installed packages: adb shell pm list packages -3: Lists all installed 3rd-party packages: adb shell monkey -p Jan 23, 2022 · Besides these ADB Commands, you can also use the ADB Shell Commands to get advanced access and customizations for android. Launch an app. Syntax: adb connect <host>[:<port>] To use ADB over Wi-Fi, you must first connect your Android device to a PC and set the TCP IP port to 5555 using the “adb tcpip 5555” command. When the server starts, it binds to local TCP port 5037 and listens for commands sent from adb clients—all adb clients use port 5037 to communicate with the adb server. adb shell pm list packages -3 Oct 16, 2021 · To access adb, open the command prompt by searching it on the start menu. Apr 29, 2025 · Example 2: In the following command sequence, adb devices displays the list of devices because the adb server was started first. Here’s the list of all the ADB Shell Commands and what are they used for: Adb useful commands list. This ADB Cheat Sheet is a curated collection of essential Jul 24, 2023 · The Android Debug Bridge (ADB) is a command-line tool that enables advanced users and developers to interface with Android devices. ADB, Android Debug Bridge, is a command-line utility included with Google's Android SDK. APKs. adb restore // ADB Shell Commands List Jan 19, 2022 · Android Debug Bridge (adb) commands are very useful while debugging any Android device but at the same time it’s difficult to find all the commands at one place. com: Helps you uninstall a system app from your Android device. See below pictures. Whether you're debugging applications, transferring files, capturing logs, or managing device configurations, ADB simplifies a wide range of tasks. List of devices attached. Where in C:/ADB is the folder location of the extracted ADB file. Commented Nov 20, 2019 at 11:04. adb shell dumpsys package packages. adb usb: It shows all devices and emulators connected to your PC via a USB. Keep in mind that not all devices support the adb root command, as manufacturers may restrict root access for security reasons. To see the emulator in the adb devices output, stop the adb server, and then start it again after using the emulator command and before using the adb devices command, as follows: If you don’t have a PC, you can install an app called Bugjaeger on your Android phone and execute the ADB commands from there. 120Hz will only apply if enabled from Quest 2 settings (Experimental features). Chromatic abberation. Use this command to display all installed package names on the device. Here is the list of all major ADB Shell Commands and their uses. Tip: You can also open the Command Prompt from the same directory. It lists global options, general commands, file transfer commands, app installation commands, backup and restore commands, and debug commands along with brief descriptions of each. Open a terminal window in the directory with the SDK with your headset connected. bitrate 1000. action. just type fastboot help or adb help to get a working list of commands and variables. Developer Hub. List package name + path to APKs. Here is the complete list of all the ADB commands that you can execute using the command prompt or terminal while connecting the Android device to the PC with all required settings. List package names + uninstalled. Paste the command into the command input and set the other info to whatever. Go to the device to manually restore it: "Settings"-"Developer Options"-"Android Debugging". Display and hide status bar and navigation bar Dec 9, 2020 · 1. adb shell list packages -u. List info on all apps. adb shell list packages -s. following command. However, to execute Fastboot commands, you must boot your device into Fastboot mode. adb restore // ADB Shell Commands List. forceChroma 1. Here’s what each command does: Jan 12, 2021 · command: adb shell settings put global adb_enabled 0 restore: It can't be restored with commands, after all, if USB debugging is turned off, adb cannot connect to the Android device. Below is the complete list of Fastboot commands with their descriptions to help you understand them better. adb devices Feb 3, 2017 · List of all ADB commands: adb devices – list all connected devices adb push <local> <remote> – copy file/dir to device adb pull <remote> [<local>] – copy file/dir from device adb sync [ <directory> ] – copy host->device only if changed (-l means list but don’t copy) (see ‘adb help all’) adb shell – run remote shell interactively When you start an adb client, the client first checks whether there is an adb server process already running. Connect device over USB cable and Enable USB Debugging in device 3. Android ADB Cheat Sheet¶. adb shell setprop debug. Run custom command. To list all third-party apps installed on your Android phone or tablet, you issue the. Feb 20, 2025 · To use ADB, you will need to connect your Android device to your computer using a USB cable. Jul 25, 2019 · Adb useful commands list. Once you’re inside your private server, you can enter these commands in the chat to activate special functions. It can all be done easily with Android Debug Bridge, or ADB. VIEW adb shell am broadcast -a 'my_action' adb shell am start -a android. Aug 15, 2021 · adb devices – This is the basic adb command that used to list all the devices connected to the computer, and debugging is enabled. If there isn't, it starts the server process. The Most Common ADB Commands. Contribute to hansalemaos/usefuladb development by creating an account on GitHub. adb shell list packages -r. Clear app data. Here are some of the most common ADB commands: List Connected Devices Having given you the above ADB commands list, let’s check out the ADB Shell commands list below. The page provides you with all of the ADB and Fastboot commands in a list format along with a PDF file that is the Cheat Sheet. textureWidth < width > adb shell setprop debug. eyeFovOutward < fov > adb shell setprop Jan 7, 2018 · To remove FRP via Fastboot commands, put your device into bootloader mode/fastboot mode and connect to your pc using USB cable. devices connected to your May 3, 2024 · adb shell setprop debug. intent. adb -s <deviceName> <command> adb -d. Open Meta Quest Developer Hub with your headset connected. Perform the following if you had fulfilled the prerequisites mentioned above: Having given you the above ADB commands list, let’s check out the ADB Shell commands list below. You can: List and modify app private data Aug 18, 2020 · Here are some commands for Adb and Fastboot commands. Attempting to use this command on unsupported devices may Oct 26, 2024 · Now let‘s unlock the true power of ADB… Advanced Shell Commands. This article will list all ADB commands to tweak advanced settings and enjoy faster load times, smoother multitasking, better battery life, and improved performance. Add a comment | adb shell db shell setprop debug. The adb connect allows you to connect for wireless ADB, but both devices need to be on the same Wi-Fi. May 7, 2025 · Keep in mind, owning a private server is the only way to access and use the in-game commands listed below. ADB Shell. Just type “cmd” on the address bar in 1. ADB allows users to communicate with an emulator or connected Android device from a development machine. cd C:\ADB. Click "Add command". \adb devices". capture. See full list on technastic. This document is continuously evolving and PRs are welcome! This document is continuously evolving and PRs are welcome! Standard Unix-like system argument conventions are followed where square brackets [] indicate optional arguments and angled brackets <> indicate a required argument. ADB enables developers to run commands on Android devices, access… A non-comprehensive list of generally useful adb commands. experimentalEnabled 1. This command directs the command to a device connected via USB. adb shell am start -n / This command allows you to start a specific activity within an app. Once detected over USB, run adb tcpip 5555 // this restarts adb in device 4. Potato recording mode. refreshRate < rate: 60, 72, 90> adb shell setprop debug. adb shell pm list packages. SENDTO -d sms:+972527300294 --es sms_body "Test --ez exit_on_sent false // Reset permissions adb shell pm reset Aug 30, 2011 · devices - list all connected devices connect <host>:<port> - connect to a device via TCP/IP disconnect <host>:<port> - disconnect from a TCP/IP device device commands: adb push <local> <remote> - copy file/dir to device adb pull <remote> [<local>] - copy file/dir from device adb sync [ <directory> ] - copy host->device only if changed (see 'adb Dec 22, 2023 · adb root. This allows incredible control over installed packages, system settings, and low-level configurations. Modify the numbers until you Feb 15, 2024 · Meta Quest Adb Command List : Excluding the letters ‘adb shell’ GetProperty: getprop debug. So you must allow it to use ADB commands to your phone. It’s supported on all desktop operating systems, including Windows, macOS, Linux adb shell am start -a android. This is one of the most used ADB commands as it is used to check the list of the Android. adb shell pm clear . Syntax: adb kill-server adb connect. Click here for some useful tips and tricks for using ADB! May 24, 2025 · ADB Commands to Improve Performance. adb –d <command> adb -e. ADB commands enable you to perform a wide range of tasks, including some that would be difficult or even impossible to achieve without ADB. Click "RUN COMMAND". Use this command to direct ADB commands to a connected emulator. Run ". paquete – Fuerza cierre de app; adb shell am kill-all – Mata todos los procesos; adb shell am monitor – Monitor de crashes; adb shell pm create-user nombre – Crea nuevo usuario; adb shell pm remove-user ID – Elimina usuario; adb shell pm list users – Lista usuarios; adb shell pm get-max-users – Máximo As ADB is an expansive tool that allows you to perform a variety of functions on your USB Debugging-enabled devices, we won’t go into depth with all of the commands available for ADB. CALL -d tel:+972527300294 // Make a call // Open send sms screen with phone number and the message: adb shell am start -a android. Sep 11, 2024 · The basic ADB commands include adb devices, which lists all connected devices; adb push, which pushes files from your computer to your device; adb pull, which pulls files from your device to your computer; and adb shell, which provides a command-line interface on your device. To learn all the available commands for ADB, type in adb help then hit Return/Enter on your keyboard or see Android’s ADB documentation to learn more (see the link May 31, 2022 · The Android Debug Bridge (ADB) is a command-line tool to interact with your Android device from your computer. List third-party package names. You can use ADB Shell commands when your Android device is turned on. adb devices. adb shell adb shell setprop debug. adb shell am force-stop com. Oct 28, 2022 · ADB Commands list. Connect device and PC to the same network 2. width 500. adb shell dump <name> List info on one package adb shell pm list packages -s. COMMAND: EXPLANATION adb devices: lists connected devices adb root: restarts adb with root permissions adb start-server: starts the adb server adb kill-server: kills the adb server adb reboot: reboots the device adb devices -l: list of devices by product/model adb shell: starts the backround terminal exit: exits the background Apr 10, 2023 · The Android Debug Bridge (ADB) is a command-line tool that enables advanced users and developers to interface with Android devices. After entering the command, press enter and look at the phone screen and PC screen. Stop an app. ADB, or Android Debug Bridge, lets you control your Android smartphone or tablet via a command line interface. List connected devices (-l for long output) adb devices -l A collection of useful adb commands. Adb devices: This command can be used to check availability of the device. In this article we cover the essential ADB commands that every Android user should know. If you don’t know how to set up and use ADB to execute commands, refer to the following tutorials. May 20, 2025 · ADB and Fastboot can perform different command-line operations using a computer. oculus. The following command will print the list of all installed packages with the path of the. ADB can control your device over USB from a computer, copy files back and forth, install and uninstall apps, run shell commands, and more. eyeFovDown < fov > adb shell setprop debug. Next, I am going to list some ADB commands that you can play around with. Jan 14, 2025 · Smartphone devices become smarter with rooting it. This command reads the output of adb shell getevent -l and searches for lines containing EV_ABS (absolute position event) and EV_SYN (event synchronization). ADB can control your device over USB from a computer, copy files back and forth, install and uninstall apps, run shell commands, and more. name. Nevertheless to say that it is one of the most important commands as without using adb devices you won’t be able to operate on your smartphone at all. Now you might wonder how this happens. Apr 17, 2020 · Most Popular ADB Command List. adb As ADB is an expansive tool that allows you to perform many functions on your USB Debugging-enabled devices, we won’t go into depth with all of the commands available for ADB. Once your device is connected, you can open a command prompt or terminal window and start typing ADB commands. . Find out the basic and advanced commands, parameters, examples and tips for ADB and fastboot. Run the command. [xxxxxx] Set Screen & performance: setprop debug. See Android A D B C o mma n d s E ve ry A n d ro i d U se r S h o u l d K n o w (P D F ) B y - T e ch W i se r A n d ro i d De b u g B ri d g e o r b e t t e r kn o wn a s A DB i s a co mma n d l i n e t o o l t o a cce ss yo u r This document provides a cheat sheet of commands for the Android Debug Bridge (ADB) tool. Using these commands can reduce the required […] adb shell list packages -r. adb backup // adb restore // Use this command to restore a backup to your device. ADB enables developers to run commands on Android devices, access system files, install and remove apps, and conduct a variety of other operations unavailable via the regular Android user interface. Paste the command. To learn all the available commands for ADB, in the Run ADB Command screen from Step 4 above, type in adb help then click the Run Command button. Perform the following if you had fulfilled the prerequisites mentioned above: ADB, Android Debug Bridge, is a command-line utility included with Google's Android SDK. Dec 5, 2018 · adb shell pm list packages The second command also removes package: from each listed package. List of Azure Latch Private Server Commands. Download and Set Up Android SDK Platform Tools Jan 25, 2025 · 1. adb devices: This command will allow the user to check the number of connected devices when ROM is running on the phone. height 500. List only system packages. com Feb 17, 2022 · Learn how to use ADB and fastboot tools to modify, customize, root or unlock your Android device. It Title: Most Complete ADB Cheat Sheet Author: Automate The Planet Created Date: 20210210091827Z Your Go-To Guide for Android Debugging The Android Debug Bridge (ADB) is a powerful command-line tool that allows developers and testers to interact with Android devices. DO NOT USE ANY COMMANDS THAT YOU AREN’T SURE OF OR DON’T KNOW WHAT THEY DO. For performance-related examples do keep in mind that each game is different. One of the best way to learn new adb and fastboot commands is with the help command. eyeFovUp < fov > adb shell setprop debug. These commands are essential for performing tasks such as file Jul 14, 2023 · There's a lot to the Android Debug Bridge that you may not know about. If you are entering the ADB command for the first time, then it will prompt to allow debugging on your phone. The adb shell grants permission to execute Android‘s built-in Linux shell commands directly on a device or emulator. Nov 28, 2024 · adb shell list packages -3 (list third party package names) adb shell list packages -s (list only system packages) adb shell list packages -u (list package names + uninstalled) adb shell dumpsys package packages (list info on all apps) adb shell dump <name> (list info on one package) adb shell path <package> (path to the apk file) ==Configure Dec 20, 2023 · ADB Basics. adb help: Displays the Help Documentation on ADB commands. Below Mar 17, 2021 · ADB Shell Command: What it does: adb shell: Starts the remote shell command console in the device: adb shell pm uninstall -k –user 0 package. crffx ynwccu jgcfsz eugkvy jijx nacoy yotul mru hcavcg unuhi