Droid Tools
Home
⌘K
Search
FacebookX (Twitter)InstagramTikTokYouTubeRedditTelegramRSS Feed
Trending:
Galaxy S26•Android 16•Smartwatches• Tech Deals•Latest Reviews
Droid Tools

Droid Tools covers the latest Android news, device reviews, app updates, and OS guides. Stay informed with hands-on coverage from mobile tech experts.

Explore

  • News
  • Apps
  • OS
  • Phones
  • Reviews

Legal & Info

  • About Us
  • Contact
  • Editorial Policy
  • Review Policy
  • Privacy Policy
  • Terms & Conditions
  • Cookie Policy
  • Affiliate Disclosure
  • Disclaimer
  • HTML Sitemap
  • XML Sitemap
© 2026 Droid Tools. All rights reserved.
Home/News/How to use ADB and Fastboot on Android device
News

How to use ADB and Fastboot on Android device

Robert Haba
Jan 22, 20236 min read
Robert Haba
Robert Haba
Founder · Editor-in-Chief
Robert Haba is the founder and editor-in-chief of Droid Tools. A lifelong gadget enthusiast with over a decade following the Android ecosystem, he built this publication to cut through the noise and give readers honest, real-world coverage of the tech they actually use.
X
Profile →
adb fastboot devices
0%
Share on XFacebookBluesky
Follow on Google
Advertisement
Trust this source on GoogleAlways see our reviews and tech guides first in search results
Add trusted source

Key Takeaways

Automated Editorial Synthesis
AI Overview
  • adb pull [path to file] [path to folder] This copies a file stored anywhere on your phone, and saves it to a specified folder on your computer.
  • adb push [path to file] [path to folder] The opposite of pull; send a file from your desktop to your phone.
  • adb install [path to file] Installs an APK app on your phone. This is of most use to app developers.

You have probably come across ADB and Fastboot if you have ever rooted an Android device. Although they are a crucial component of the rooting toolset, these utilities can be challenging to grasp, let alone master.

So read on if you’re interested in learning more about ADB and Fastboot, need assistance setting them up, or want to know what you can do with them.

What are ADB and Fastboot?

While your phone is linked to a desktop computer via a USB cable, the tools ADB and Fastboot enable access to the Android operating system. There is no app for this, and while you may use ADB wirelessly, the setup is considerably more difficult, therefore the computer and cord are essential.

ADB is typically used when Android is active. It gives you access to system folders or lets you change hidden settings that are otherwise inaccessible to users. ADB can be used to copy system files to and from the device. System updates can also be installed via the sideload capability.

Advertisement

When Android is not active and the device is booted into “Fastboot mode,” Fastboot functions. It gives you access to every partition on your device, including the data partition, boot partition, and others in addition to the Android operating system.

Fastboot is a diagnostic tool for Android. It is frequently used to install a custom recovery and is necessary if you need to unbrick your phone.

You May Also Like
Recommended
1

Google’s Scam Detection could be coming to Xiaomi phones, teardown suggests

2

New StreamRat Android banking trojan spreads via fake streaming ads

android-trojan
3

Google sets new Android RAM rules for app developers amid memory shortage

Android memory shortage

Both are included in the Platform Tools collection of the Android software development kit.

Both tools run through the Command Prompt on Windows, or Terminal on Mac and Linux. This means they aren’t especially user-friendly, even though they are quite easy to get the hang of.

Advertisement

How to set up ADB and Fastboot

First, you need to set up your phone to use the tools. If you haven’t already, enable the Developer Options by going to Settings > About phone and tapping on Build number seven times.

Then, in Settings > Developer options, check the box next to USB debugging and walk through the dialog box that follows.

Download ADB and Fastboot from the Android Developer website. When you unzip the download, the contents will be collected together into a folder called platform-tools. There are several other items in the folder, but you can ignore these.

If you’re on Windows, you will also need to download drivers for your device. There’s a list of links for most popular manufacturers on the Android developer website. Drivers aren’t needed on Mac or Linux.

Advertisement

Using the command prompt or terminal

Use the cd command to accomplish this: type cd [path to platform-tools]. The path will automatically fill in for you if you type cd[space] and then drag the platform-tools folder into the Command Prompt window.

Even simpler, on Windows you may pick Open Command Prompt Here by right-clicking the platform-tools folder while holding the shift key down.

The difference between Windows and Mac/Linux

There’s one small but essential difference between using Windows and Mac or Linux. On the latter two, every ADB and Fastboot command must be preceded by a dot-slash.

So where you type adb on Windows, you must type ./adb on Mac and Linux. And fastboot on Windows needs to be ./fastboot on Mac and Linux.

Advertisement

For the sake of simplicity, we’ll stick with the Windows commands going forward.

How to use ADB

Launch Android on your phone, then use a USB cord to connect it to your desktop computer. Open the Command Prompt on your PC and modify the directory to point to the platform-tools folder.

Hit Enter after entering adb devices. The list of attached devices should now be visible, along with their serial numbers. This indicates that it is effective.

How to use fastboot

Fastboot works the same way as ADB, except you need to boot your phone into Fastboot mode instead of Android. You normally do this by holding a combination of the power and volume keys when turning on the phone.

Advertisement

Alternatively, use ADB and type adb reboot bootloader.

After that it’s the same. Enter fastboot devices to check that your phone is being recognized. Enter fastboot reboot to relaunch Android.

Things you can do with ADB and Fastboot

Now that you know how to use ADB and Fastboot, what can you do with them? Here are a few tools to try:

  • adb pull [path to file] [path to folder] This copies a file stored anywhere on your phone, and saves it to a specified folder on your computer.
  • adb push [path to file] [path to folder] The opposite of pull; send a file from your desktop to your phone.
  • adb install [path to file] Installs an APK app on your phone. This is of most use to app developers.
  • adb uninstall [package name] Uninstalls an app. You need to enter the full package name—usually something along the lines of com.devname.appname—instead of the common app name.
  • adb shell wm density [dpi] Changes the pixel density of your display. A lower number fits more content onto the screen, while a higher number will fit less. For example, older devices like the OnePlus 3 have a native DPI of 480. Setting it to 400 makes text, icons, and everything else smaller.
  • adb sideload [path to update.zip] Sideloads an update.zip firmware update. This one runs via the custom recovery on your phone. Useful if you can’t wait for an update to get pushed to your device.
  • fastboot oem unlock OR fastboot flashing unlock Which command you should use depends on which version of Android you’re running. From Android 6 onwards you also need to enable OEM unlocking in Developer Options. Unlocking the bootloader this way wipes your phone completely.
  • fastboot flash recovery [filename.img] Installs a custom recovery, such as TWRP, on your device. For ease of use, we suggest changing the recovery filename to something easy—twrp.img, for instance—and moving it into the platform-tools folder.
  • fastboot -w Completely wipes your phone in preparation for flashing a custom ROM.
  • fastboot update [path to rom.zip] Flashes a custom ROM. A useful option if you haven’t rooted your phone.

Why you should learn ADB and Fastboot

Obviously, the aforementioned instructions are simply meant to provide general direction. On some gadgets, they might not all function. Only use them if you are aware of what they will do and how to reverse any modifications they could cause.

Advertisement

The Android rooting and modding process depends heavily on ADB and Fastboot. It’s crucial to learn how to use them because doing so will enable you to employ more sophisticated tweaks.

As previously indicated, you must first enable the Developer Options in order to use ADB and Fastboot. Once you’ve done that, you’ll have access to a number of other handy settings.

Trust this source on GoogleAlways see our reviews and tech guides first in search results
Add trusted source
Tags:#adb#android#fastboot#oem#shell#sideload
Recommended Deals
1 / 5
Google Pixel Watch 5 (45mm)

Google Pixel Watch 5 (45mm)

5.0
529.99
Buy on Amazon
💎Best Android Device
Samsung Galaxy S26 Ultra

Samsung Galaxy S26 Ultra

4.9
$1,212.85$1,499.99-19%
Buy on Amazon
✨DEAL!
Samsung Galaxy Watch Ultra (2025)

Samsung Galaxy Watch Ultra (2025)

5.0
$449.99$649.99-31%
Buy on Amazon
✨DEAL
Google Pixel 11 Pro

Google Pixel 11 Pro

5.0
1,099.00$1,299.00-15%
Buy on Amazon
Google Pixel Watch 4

Google Pixel Watch 4

4.8
396.00$499.99-21%
Buy on Amazon
* As an Amazon Associate, Droid Tools earns from qualifying purchases. Read our editorial policy
Robert Haba
Robert HabaFounder · Editor-in-Chief
X

Robert Haba is the founder and editor-in-chief of Droid Tools. A lifelong gadget enthusiast with over a decade following the Android ecosystem, he built this publication to cut through the noise and give readers honest, real-world coverage of the tech they actually use.

Advertisement

Comments & Discussions

Join the conversation! We use Disqus to handle comments. Click the button below to load the comment section.

Advertisement

Latest Stories

gemini spark
01

Google Photos integration comes to Gemini Spark for Pro and Ultra users

02

Garmin Epix Pro Gen 2 Sapphire Edition drops to under $700 at Amazon

03

Pixel Watch 5 Special Edition Stephen Curry model now available

04

Google’s Scam Detection could be coming to Xiaomi phones, teardown suggests

Advertisement
Amazon Deals
5.0
Google Pixel Watch 5 (45mm)

Google Pixel Watch 5 (45mm)

Best Price
529.99
Buy

Top Deals

Garmin Epix Pro Gen 2 Sapphire Edition drops to under $700 at Amazon

Deal
Garmin Epix Pro Gen 2 Sapphire Edition drops to under $700 at Amazon

Pixel Watch 5 Special Edition Stephen Curry model now available

Deal
Pixel Watch 5 Special Edition Stephen Curry model now available

Google Pixel Watch 5 launches with bigger batteries and Gemini Intelligence

Deal
Google Pixel Watch 5 launches with bigger batteries and Gemini Intelligence
Advertisement
More Stories

Keep Reading

Robert HabaSep 4, 20261 min read
News

Google’s Scam Detection could be coming to Xiaomi phones, teardown suggests

Google's Scam Detection feature could be coming to Xiaomi phones next, according to a new APK teardown by Android Authority. The AI-powered scam-call warning tool debuted first on Pixel devices, has since expanded to Samsung's Galaxy S26 series, and has shown signs of heading to vivo phones as well, and Android Authority now says it's […]

Robert HabaSep 4, 20261 min read
News

New StreamRat Android banking trojan spreads via fake streaming ads

Cybersecurity researchers at ThreatFabric have disclosed a new Android banking trojan called StreamRat that was pushed to Spanish-speaking users through a fake television-streaming campaign on Meta and can hand its operators near-complete control of an infected device. According to ThreatFabric, the campaign's advertising focused on Spain and reached an estimated 570,950 Meta accounts in the […]

android-trojan
Robert HabaSep 2, 20261 min read
News

Google sets new Android RAM rules for app developers amid memory shortage

Google has introduced new Android RAM rules for app developers, tightening memory-management requirements as a global RAM shortage continues to squeeze the smartphone industry. Developers have until February 2027 to make their apps use RAM more efficiently, an effort meant to keep apps running smoothly even on phones with limited memory. Under the updated guidelines, […]

Android memory shortage
Luiza MosneaguAug 14, 20261 min read
News

Google Tensor G6 powers Pixel 11 with faster AI and 4K Portrait Video

Google Tensor G6 is the custom processor powering the Pixel 11 series and Pixel 11 Pro Fold, with Google prioritizing energy efficiency and on-device AI over benchmark-leading specifications. The chip brings an upgraded CPU, a faster TPU, a new ISP, and a custom modem, enabling features that include 4K Portrait Video, Instant Night Sight, and […]

google tensor g6 performance improvements
Robert HabaAug 13, 20261 min read
News

Google Pixel HiLight brings call and Gemini alerts to Pro models

Google Pixel HiLight is the official name of the ambient LED system built around the camera flash on Google’s new Pro phones. Previously known through leaks as Pixel Glow, the feature can show favorite-contact calls and Gemini activity while the phone remains face down. It is exclusive to the Pixel 11 Pro, Pixel 11 Pro […]

HiLight on google pixel pro
Read Next

Google’s Scam Detection could be coming to Xiaomi phones, teardown suggests