Code Monkey home page Code Monkey logo

adb-and-driver-installer's Introduction

What is this?

This a Powershell script for Windows that will download the latest ADB from the Official repositories and install it System-wide or User-Wide, this script will also install latest Google drivers also from from the Official repositories.

Features:

Small - 8,98 kB
Fast - it take seconds to install
ADB, Fastboot and also Drivers
Easy to install - just run the script and the script will guide you
Clean - ADB and Google Drivers from the Official repositories.

Install process:

Click on the script and choose "link save as" and save the script

Right click on the script and choose "run with Powershell"






1. Run the script it (Require administrator privileges)
2. Press Y/Yes to install ADB and Fastboot or N/No to skip
3. Press Y/Yes to install ADB system-wide or N/No for current user only
4. Press Y/Yes to install Drivers or N/No to skip
5. Continue Driver installation
6. 15 seconds passed - finished!

Notes:

System-wide: ADB and Fastboot are installed to HOMEDRIVE\ADB directory, and added system-wide path.
HOMEDRIVE=C:\ so in case of the System-wide install option ADB will copy over to C:\ADB
Current user only: ADB and Fastboot are installed to UserProfile\ADB directory, and added path for current user. UserProfile=%SystemDrive%\Users{username} so in case of the Userwide-wide install option ADB will copy over to C:\Users\username\ADB
CMD or Poweshell can use ADB and Fastboot from any directory.
You can run the script from any directory unless you want to update ADB. Follow the steps from how to update if you want to update.

Problems after driver installation?


Go to the device manager and right click on the android driver and choose update driver.



Choose the second option.


Choose the second option again and click "Next".


Select the Android Device and click "Next".


Select Android ADB Interface and click "Next".


Choose "yes" and click "Next".


Choose "Close" .

Now the driver will work!

How to update?

If you want to update ADB when there is an new version of ADB. The update process depends how you install ADB, System-wide or User-Wide if you have installed System-wide place the script in C:\ and run the script until image blow and close the window. When you have installed ADB User-wide place the script in %SystemDrive%\Users{username} and run the script until image blow and close the window.

How to update drivers?

Rerun the tool and choose "no" until you were ask "Do you want to install device drivers" Choose "yes" and continue driver installation

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.