What is ADB?

Now, lets check out the setup process of the developer tool on PC and mobile.

How to Set up ADB on your PC?

Download the SDK tool from the official website

How to connect your Android gadget via ADB on PC?

The foremost step for using ADB on a PC is downloading the official developer files from Googles Android platform.

These are specific drivers dedicated to the Android operating system, required to identify the handsets connection.

Tap Build Number 7 times for Developer options

Lastly, check your connected gear by giving theadb devicescommand.

Allow USB debugging on your smartphone after connecting to the computer for authorization.

Open cmd or PowerShell from the ADB folder and enter theadb devicescommand.

Enable USB Debugging for adb

Now, give the following command:adbshell cmd package uninstall -k NameOfPackage

2.

In the place of NameOfPackage, enter the applications package name and press enter.

Installing Single or Multiple APKs

Android installs files as applications in the APK format.

ADB devices

Lets check out a neat trick of installing one or many applications on your Android equipment at once.

First, transfer those downloaded APK files into the previously downloaded folder.

Give a single command with the filename of the APK for installing a single APK.

Allow USB Debugging on the PC for ADB

After giving the command, the app gets installed on your Android smartphone.

You wont find any obtrusion following this method while recording the screen.

Use the./adb shell screenrecord <folder-path/filename.mp4>to start the screen recording.

Uninstall bloatware or any application using adb command

To stop the screen recording, press Ctrl + C, and the recording saves to the directory folder.

This method can take a complete backup of your Android unit and restore the smartphone as well.

Enter this command \adb backup -all -f \filename.ab

2.

APK Installation using ADB

Now, you will receive a prompt page asking for a new password for the backup encryption.

  1. you might check out the list of applications with the following command adb shell pm list packages

2.

Now, enter theadb backup -f -apk command.

Screen Recording using ADB

Check your current DPI using the command adb shell wm density

2.

Give a value such as 280 or 180 in thesection.

Ensure that the laptop or PC you want to connect to has Wi-Fi connectivity.

Stored Screen Recording file in mobile&rsquo;s storage using adb

Enter the given command to execute the ADB in TCP/IP mode adb tcpip 5555

2.

Now, you oughta enter the IP Address of your smartphone in the following command.

Refer to the IP Address of your Android rig in the About section of your devices tweaks.

Full Backup of device using cmd ADB

Now, give the IP address in theadb connect command.

Disconnect the USB from your smartphone and check for theadb devices.

  1. you’re free to see your machine name if the command runs successfully.

Full Backup authorization of device from ADB

you’re free to consider ADB as a welcoming factor to the world of tweaking on Android.

List of Packages

App Backup using ADB

DPI Preview of Smartphone on ADB

Change dpi on smartphone with ADB

connecting Android device with ADB via Wi-Fi