Download ADB Sideload For Windows 7/8/10 for Free

0
418
ADB Sideload

Do you know what is ADB Sideload? You must have come across a very commonly used term over the internet- Sideloading? Now, what exactly is Sideloading? Well, it is a term referred to as similar to “upload” and “download” but is entirely different! It relates to the process of file transfer between two remote devices, between a computer and a mobile device that can be anything from a smartphone to an e-reader via USB, WIFI or Bluetooth.

Introduction

When referring to iOS, “sideloading” means installing an app in IPA format on your Apple Device, via a computer program such as Cydia Impactor or Xcode or by using a Jailbreak.

Now the other OS which has taken the market by storm is the Android OS. Google develops this OS, based on a modified version of the Linux kernel and most importantly is an open-source operating system designed for mobile and tablet smartphones. This open- source environment of Android provides you the ultimate key to develop and modify the elements as per your preference. And the developer options being offered by Google itself! Well, if you are an Android user, you must have used or at least heard of the possibility of USB debugging. This option allows modifying the data on your smartphone via a computer.

One new feature that was added to AOSP recovery in Jelly Bean is ADB Sideload. The acronym ADB stands for Android Debug Bridge. ADB sideload a bit different from ADB mode. If you are a ROM developer and are trying for a quick process; you need to setup ADB and Fastboot before sideloading a flashable file. In this article, we shall attempt to cover all the topics relating to ADB and Fastboot and on how to adb sideload be downloaded for your Windows PC running on Windows 7/8/10.

Introduction To ADB Sideload

>After this, it connects to the local TCP – port 5037, enabling them to receive and execute all the commands from the server end.

>Next, connections are established with all the server channels, mainly to locate the emulators and daemon to build up a relationship with the ports. Each emulator consists of sequential ports.

>The odd numbered sequential ports are used for the ADB connections, while the even ones for the console connections.

All set, you can use the set of ADB commands to gain access to the devices and execute them.

ADB Sideload
ADB Sideload

Also Read: Find Who Views Your Instagram Profile

How To Use ADB Sideload?

  1. Check for an installed instance of recovery on your device that supports ADB sideload TWRP 2.3 or higher. According to your TWRP version, the file will be copied to the root of the storage location and named sideload.zip (e.g., /sdcard/sideload.zip).
  2. Check for newer ADB binaries installed on your computer. If you haven’t checked for the latest updates, you shall need to get the latest ADB binaries in platform-tools from the Android SDK. You can check your current running version by typing “adb version” in the command line. It’s better to use version 1.0.29 or higher to be safe.
  3. Set the device to ADB sideload mode. In TWRP you do this in Advanced Settings> ADB Sideload. Or type into the command line, “adb sideload /path/to/rom.zip.”
  4. As soon as the file is copied onto your device, it will automatically be installed. And once the installation is fully complete, you shall be given with a reboot system button so that you can reboot to test your zip.

ADB Sideload Commands

Below are some basic commands and advanced techniques that are used in ADB:

ADB Debugging

1) adb devices: This command prints a list of all attached emulators or devices.

Command: adb devices

e.g., in response, this shall return serial number and state

e4b25377        device

2) adb forward: used for forwarding socket connections

Command: adb forward <local> <remote>

e.g., adb forward tcp:8000 tcp:9000 set up forwarding of host port 8000 to emulator/device port 9000

Prerequisites: Enable USB debugging on the device.

3) adb kill- server: terminates the adb server process

Command: adb kill-server

Note: Kill the server if it is running. (terminal adb.exe process)

Wireless

1) adb connect: To use ADB over Wifi

Command: adb connect <host>[:<port>]

STEP 1. Connect to the device over USB.

STEP 2. Send Command: adb devices

STEP 3. Send Command: adb tcpip 5555

restarting in TCP mode port: 5555

STEP 4. Find out the IP address of the Android device: Settings -> About -> Status -> IP address. Remember the IP address, in the form #.#.#.#.

STEP 5. adb connect #.#.#.#

connected to #.#.#.#:5555

STEP 6. You may remove USB cable from the device and confirm remote accessibility of your device over Wi-Fi.

Command: adb devices

List of devices attached

#.#.#.#:5555 device

2) adb usb: used for restarting ADB in USB mode.

Command: adb usb

PACKAGE MANAGER:

1) adb install: Pushes an Android application (specified as a full path to a .apk file) to an emulator/device.

Commands:

adb install test.apk

adb install -l test.apk forward lock application

adb install -r test.apk replace existing application

adb install -t test.apk allow test packages

adb install -s test.apk install application on sd card

adb install -d test.apk allow version code downgrade

adb install -p test.apk partial application installs

2) adb uninstall:

Command: adb uninstall -k com.test.app Store the data and cache directories around after package removal.

3) adb shell pm list packages:

Prints all packages, optionally only those whose package name contains the text in <FILTER>.

adb shell pm list packages

adb shell pm list packages -f See their associated file.

adb shell pm list packages -d Filter to only show disabled packages.

adb shell pm list packages -e Filter to only show enabled packages.

adb shell pm list packages -s Filter to only show system packages.

adb shell pm list packages -3 Filter to only show third-party packages.

adb shell pm list packages -i See the installer for the packages.

adb shell pm list packages -u Also include uninstalled packages.

adb shell pm list packages –user <USER_ID> The user space to query.

4) adb shell pm path: Prints the way to the APK of the given <PACKAGE>.

Command: adb shell pm path com.android.phone

package:/system/priv-app/TeleService/TeleService.apk

5) adb shell pm clear: Deletes all data associated with a package.

Command: adb shell pm clear <PACKAGE>

e.g., adb shell pm clear com.test.abc

Notes: clearing app data, cache

File Manager

1) adb pull: Downloads a specified file from an emulator/device to your computer.

Command: adb pull <remote> [local]

e.g., adb pull /sdcard/demo.mp4

download /sdcard/demo.mp4  to <android-sdk-path>/platform-tools directory.

e.g., adb pull /sdcard/demo.mp4 e:\

download /sdcard/demo.mp4 to drive E.

2) adb push: Upload a specified file from your computer to an emulator/device.

Command: adb push <local> <remote>

e.g., adb push test.apk /sdcard

Copies <android-sdk-path>/platform-tools/test.apk to /sdcard directory.

adb push d:\test.apk /sdcard

Copies d:\test.apk to /sdcard directory.

3) adb shell ls: used to list directory contents

Command: ls [options] <directory>

STEP 1. adb shell

STEP 2.

ls

ls -a do not hide entries starting with

ls -i print index number of each file

ls -s print size of each file, in blocks

ls -n list numeric UIDs and GIDs

ls -R list subdirectories recursively

4) adb shell cd: used to change directory

Command: cd <directory>

STEP 1. adb shell

STEP 2. cd /system

5) adb shell rm: remove files or directories

Command: rm [options] <files or directory>

STEP 1.adb shell

STEP 2.

Command: rm /sdcard/test.txt

rm -f /sdcard/test.txt force remove without prompt

rm -r /sdcard/tmp remove the contents of directories recursively

rm -d /sdcard/tmp remove directory, even if it is a non-empty directory

rm -i /sdcard/test.txt prompt before any removal

6) adb shell mkdir: used to make directories

Command: mkdir [options] <directory name>

mkdir /sdcard/tmp

mkdir -m 777 /sdcard/tmp set permission mode

mkdir -p /sdcard/tmp/sub1/sub2 create parent directories as needed

7) adb shell touch: create empty file or change file timestamps

Command: touch [options] <file>

STEP 1. adb shell

STEP 2. touch /sdcard/tmp/test.txt

8) adb shell pwd: print current working directory location.

Command: pwd

9) adb shell cp: copy files and directories

Command: cp [options] <source> <dest>

STEP 1. adb shell

STEP 2. cp /sdcard/test.txt /sdcard/demo.txt

10) adb shell mv: move or rename files

Command: mv [options] <source> <dest>

STEP 1. adb shell

STEP 2. mv /sdcard/tmp /system/tmp move

mv /sdcard/tmp /sdcard/test rename

Network

1) adb shell netstat: used to check network statistics

Command: netstat

STEP 1. adb shell

STEP 2. netstat

2) adb shell ping: to test the connection and latency between two network connections.

Command: ping [-aAbBdDfhLnOqrRUvV] [-c count] [-i interval] [-I interface]

[-m mark] [-M pmtudisc_option] [-l preload] [-p pattern] [-Q tos]

[-s packetsize] [-S sndbuf] [-t ttl] [-T timestamp_option]

[-w deadline] [-W timeout] [hop1 …] destination

STEP 1. adb shell

STEP 2. ping www.google.com

ping www.google.com -c 4

3) adb shell netcfg: configure and manage network connections via profiles

Command: netcfg [<interface> {dhcp|up|down}]

STEP 1. adb shell

STEP 2. netcfg

4) adb shell ip: to show, manipulate routing, devices, policy routing and tunnels

Command: ip [ OPTIONS ] OBJECT

OBJECT := { link | addr | addrlabel | route | rule | neigh | ntable |tunnel | tuntap | maddr | mroute | mrule | monitor | xfrm |netns | l2tp }

OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] | -r[esolve] |-f[amily] { inet | inet6 | ipx | dnet | link } |-l[oops] { maximum-addr-flush-attempts } |-o[neline] | -t[imestamp] | -b[atch] [filename] |-rc[vbuf] [size]}

STEP 1. adb shell

STEP 2. ip -f inet addr show wlan0 show WiFi IP Address

LOGCAT:

1) adb logcat: Prints log data to the screen.

Command: adb logcat [option] [filter-specs]

adb logcat

adb logcat *: V lowest priority, filter to only show the Verbose level

adb logcat *:D filter to only show Debug level

adb logcat *: I filter only to show Info level

adb logcat *: W filter to only show Warning level

adb logcat *: E filter to only show Error level

adb logcat *: F filter to only show the Fatal level

adb logcat *:S Silent, highest priority, on which nothing is ever printed

adb logcat -b <Buffer>

adb logcat -b radio View the buffer that contains radio/telephony related messages.

adb logcat -b event View the buffer containing events-related messages.

adb logcat -b main default

adb logcat -c Clears the entire log and exits.

adb logcat -d Dumps the log to the screen and exits.

adb logcat -f test.logs Writes log message output to test.logs .

adb logcat -g Prints the size of the specified log buffer and exits.

adb logcat -n <count> Sets the maximum number of rotated logs to <count>.

Notes: The default value is 4. Requires the -r option.

adb logcat -r <kbytes> Rotates the log file every <kbytes> of output.

Notes: The default value is 16. Requires the -f option.

adb logcat -s Sets the default filter spec to silent.

adb logcat -v <format>

adb logcat -v brief Display priority/tag and PID of the process issuing the message (default format).

adb logcat -v process Display PID only.)

adb logcat -v tag Display the priority/tag only.

adb logcat -v raw Display the raw log message, with no other metadata fields.

adb logcat -v time Display the date, invocation time, priority/tag, and PID of the process issuing the message.

adb logcat -v threadtime Display the date, invocation time, priority, tag, and the PID and TID of the thread issuing the message.

adb logcat -v long Display all metadata fields and separate messages with blank lines.

2) adb shell dumpsys: dumps system data

Command: adb shell dumpsys [options]

adb shell dumpsys

adb shell dumpsys meminfo

adb shell dumpsys battery

Notes: A mobile device with Developer Options enabled running Android 5.0 or higher.

adb shell dumpsys batterystats collects battery data from your device

Notes: Battery Historian converts that data into an HTML visualization. STEP 1. adb shell dumpsys batterystats > batterystats.txt STEP 2 python historian.py batterystats.txt > batterystats.html

adb shell dumpsys batterystats —reset erases old collection data

3) adb shell dumpstate: dumps state

adb shell dumpstate

adb shell dumpstate > state.logs dumps state to a file

Screenshot

1)  adb shell screencap: takes a screenshot of a device display.

Command: adb shell screencap <filename>

e.g., adb shell screencap /sdcard/screen.png

download the file from the device

adb pull /sdcard/screen.png

2) adb shell screenrecord: recording the display of devices running Android KitKat or higher.

Command: adb shell screenrecord [options] <filename>

e.g., adb shell screenrecord /sdcard/demo.mp4

download the file from the device

adb pull /sdcard/demo.mp4

adb shell screenrecord –size <WIDTHxHEIGHT>

Sets the video resolution to 1280×720.

adb shell screenrecord –bit-rate <RATE>

This command sets the video bit rate for the video, in megabits per seconds, the default value being 4mbps.

adb shell screenrecord –time-limit <TIME>

Sets the maximum recording time to 180 secs.

adb shell screenrecord –rotate

Rotates the display to 90 degrees.

adb shell screenrecord –verbose

Displays log info on the command prompt.

System

1) adb root: restarts the adbd daemon with root permissions

Command: adb root

Notes: adbd can’t run as root in production builds (test in emulator)

2) adb sideload: used for flashing/restoring Android update.zip packages.

Command: adb sideload <update.zip>

Notes: adb reboot sideload [Android M+]

3) adb shell ps: printS process status

Command: ps [options]

STEP 1. adb shell

STEP 2.

ps

ps -p

4) adb shell top: displays top CPU processes

Command: top [options]

STEP 1. adb shell

STEP 2. top

Notes: (press Ctrl-C to stop monitor)

top -t Show threads instead of processes.

5) adb shell getprop: gets property via the android property service

Command: getprop [options]

STEP 1. adb shell

STEP 2.

getprop

getprop ro.build.version.sdk

getprop ro.chipname

getprop | grep adb

6) adb shell setprop: set property service

Command: setprop <key> <value>

STEP 1. adb shell

STEP 2. setprop service.adb.tcp.port 5555

How To Download And Setup The Android Debug Bridge (ADB)?

Downloading and setting up ADB on your computer is as simple as a pie of cake! But, that’s just half the equation. To start sending commands and execute them, you shall need to set up your phone also.

Phone Setup

ADB Sideload
Phone Setup
  1. Launch the Settings application on your Android smartphone.
  2. Click the ‘About Phone’ option at the bottom of the list (this option is hidden behind the “System” option in Google’s latest Android Oreo version).
  3. Next, tap the ‘Build Number’ option seven times to enable Developer Mode. You will see a message prompting ‘You are now a developer.’
  4. Now go back to the main Settings screen, and you should have access to ‘Developer Options.’
  5. a-okay in there and check the USB Debugging mode option.

Now, you are done with the phone setup part. Now moving to the PC setup.

Downloading And Setting Up ADB Sideload on Windows 7, 8, 8.1 or 10

  1. Just google for the ADB installer file. Or you may download it directly from the link- https://dl.google.com/android/repository/platform-tools-latest-windows.zip
  2. Download ADB ZIP file for Windows
  3. Extract the contents of this ZIP file into some folder of your choice in C drive. (such as C:\adb)
  4. Browse your windows explorer to access this file directory.
  5. Next, open Command Prompt from the same directory as this ADB. Some Windows 10 users may see “PowerShell” instead of “command prompt.”
  6. It will ask some fundamental questions to install the drivers. When it asks to install the ADD and fastboot, type “Y” and press enter.
  7. Answer all the questions “Y.“ And in few moments, ADB and fastboot drivers shall be installed on your windows.
  8. Connect your smartphone or tablet to your computer.
  9. In the Command Prompt window, insert the following command to launch the ADB daemon: adb devices
  10. On your mobile screen, you should see a prompt to allow or deny USB Debugging access. Check to allow debugging access to your smartphone.
  11. Finally, re-enter the command from step #7.
  12. If was successful, you should now see your device’s serial number in the command prompt. Voila! You can now run any of the ADB commands mentioned in the above section!
ADB Sideload
Setting up ADB

Why Do You Need To Download ADB Sideload With Minimal ADB?

You all must be knowing the importance of drivers in running a program on your Windows PC. Minimal ADB and the other drivers are mainly used to gain remote access to your android device from your Windows-enabled PC. If you want to execute the set of commands on ADB Sideload, you need to install these fundamental drivers which generally come bundled with the ADB Sideload download setup files.

ADB Sideload And Fastboot – Latest Features

  • Small Size: The actual size of the ADB Installer is just around 10 MB only. But this 9MB setup file is very powerful and has support across an extensive range of Android Smartphones.
  • Quick and Easy to Install: Installing the ADB Installer is very simple and straightforward. Just Download the Tool on your computer and extract it. Then Open the tool and follow the on-screen instructions to run the file.
  • All in One: It contains all the latest required drivers, ADB Sideloader and the Fastboot bundled in one. The Fastboot files are settled on the newest version of Android SDK package and are compatible with the devices running up to Android 8.0 or above.

ADB Sideload and Fastboot are the very simple to install and use if you follow the step by step instructions. Just take care not to take a wrong step leading to Data Corrupt or your smartphone being wiped out. Make a backup of your smartphone always before Sideloading it. If you are a developer, these tools shall help you out in creating custom ROMs.

Download ADB Sideload For Windows 7/8/10 For Free

How to Install ADB on Windows?

Follow the following steps to download ADB (Android Debug Bridge) on Windows computer.

  • Download the ADB zip file for Windows.
  • Extract the contents of this downloaded zip file to a location that is easily accessible.
  • Navigate to the location where you have extracted the file.
  • Now, you need to open the Command Prompt from this folder itself. To do so, hold the Shift key and right-click anywhere in the folder window and then click on open Command prompt here For Windows 10 users, you need to open Power Shell instead of Command Prompt.

    ADB Sideload
    Setup ADB on Windows
  • Now, connect your Android smartphone to your computer using a USB cable. From your phone, change the USB mode to File Transfer (MTP).
  • In the command prompt, type adb devices and hit Enter to launch the ADB daemon.
  • This will show a pop-up on your phone screen that asks you to allow or deny USB Debugging access. Of course, you should enable debugging access. So, tap on Allow.
  • At last, re-enter the command adb devices. If everything till now happened correctly, you should be able to see your device’s serial number in the command prompt. You are right to go!

Now you want to do the following configurations on your mobile phone before following the steps mentioned above.

  • Open Settings application.
  • Tap on the About phone option.
  • Now, tap on the Build Number option 7 times in a row to enable Developer mode. You will be able to see a toast message once it is done.
  • Now, go back to the main page of the Settings, and you can see a new Developer Options menu.
  • Tap on it and enable the USB Debugging mode option.

    ADB Sideload
    USB Debugging mode
  • You are partially done over her with the phone setup process. After this, follow the steps mentioned above for Windows computer.

How to Setup ADB and Fastboot on Windows within Seconds?

As Android is an open source platform, it let its users a lot of development activities. If you are an active user of Android, you might need to set up ADB and Fatsboot on your device for flashing a system, kernel or recovery image, sideload a flashable zip and do many other things. Google does provide a Software Development Kit (SDK), that contains ADB as well as Fastboot files, but large no. of the users find it very complicated to set it up on the computer. Also, it is not a wise decision to download a 500MB file just for setting up ADB and Fastboot. The following method will help you setup ADB in not more than 15 seconds.

  • Download the adb-setup-1.3.exe | Mirror file from the internet.
  • Now, run that file on your computer as an administrator.
  • Respond to the option appearing on the screen as per your requirements, and you will be all good to go.

Besides this 15 seconds installer, there is one more method to get ADB and Fastboot which too is very simple. The tool required for that is Minimal ADB and Fastboot, and shimp208 has developed it from XDA. It is simple to use this tool. You need to download and install this tool on your computer, and it will work on its own setup ADB and Fastboot on your computer.

Final Words

Through this article, I tried covering up every topic related to it and Fastboot in the most straightforward possible manner. In case of any queries, think free to contact us.

0 Shares

LEAVE A REPLY

Please enter your comment!
Please enter your name here