uninstalling old and installed new adb/fastboot - Google Pixel 2 Questions & Answers

i have installed so many different adb/fastboot packages how do i get rid of all the installs and install the latest set only? when i download the platform latest tools for windows what do i do with the files inside the archive?

stackz07 said:
i have installed so many different adb/fastboot packages how do i get rid of all the installs and install the latest set only? when i download the platform latest tools for windows what do i do with the files inside the archive?
Click to expand...
Click to collapse
I set the sdk up at some point but now I just download the platform tools from Google instead of updating from the Android Studio app:
Download platform tools
extract
navigate to your platform-tools directory (something like c:/user/you/AppData/Local/Android/SDK)
rename the existing folder to platform-tools-bak
paste new platform-tools folder
Not sure how you would end up with multiple adb/fastboot files, should just have 1 platform-tools folder in the SDK folder (plus a backup if you're like me) and only one adb.exe and one fastboot.exe in there.

How does that update the driver? Just having the folder on your computer you computer runs the latest adb? That doesn't sound right

stackz07 said:
How does that update the driver? Just having the folder on your computer you computer runs the latest adb? That doesn't sound right
Click to expand...
Click to collapse
Assuming you already have adb setup and you are just updating your adb and fastboot this is exactly what to do. It sounds like you were updating these through Android Studio, correct? You can also continue to do that; it will download the new platform-tools and replace the files with the new ones. If you are not developing apps and just need fastboot/adb then there's really no need for Android Studio so like I said, I prefer to just download and replace the files manually. I think you are confusing fastboot and adb with the basic android usb driver. The driver recognizes your phone, then adb.exe and fastboot.exe send commands to it.

Related

No need for AndroidSDK

Hey guys
i´ve got something for the lazy ones of you
if you don't want to install the whole android sdk to use adb or fastboot you can just install this file.
it´s a package which extracts
fastboot.exe
AdbWinUsbApi.dll
AdbWinApi.dll
adb.exe
to your Windows directory.
so - extract the file
then just doubleclick it, press install and you´re done.
you even don't have to reboot your computer
​
here´s the proof that it works.
alutastisch said:
Hey guys
i´ve got something for the lazy ones of you
if you don't want to install the whole android sdk to use adb or fastboot you can just install this file.
it´s a package which extracts
fastboot.exe
AdbWinUsbApi.dll
AdbWinApi.dll
adb.exe
to your Windows directory.
so - extract the file
then just doubleclick it, press install and you´re done.
you even don't have to reboot your computer
Click to expand...
Click to collapse
will this work with windows 7? i already have adb running on my vista but i need it on the 7. Windows 7 has a sync problem, will this cut that out of the way?
Doesn't work for me.. When I run adb.exe just a random command showed and then closed. How can I use this?
d1srupt3r said:
Doesn't work for me.. When I run adb.exe just a random command showed and then closed. How can I use this?
Click to expand...
Click to collapse
Open cmd. Then use the command "adb whatever".
Edit: Just saw this extracts them to the Windows directory.
d1srupt3r said:
Doesn't work for me.. When I run adb.exe just a random command showed and then closed. How can I use this?
Click to expand...
Click to collapse
Start -> Run -> cmd
then in the black window that pops up, type adb
It will show you all the possible options to use with the adb command.
Like:
adb shell
adb reboot
adb logcat
So does this work?
Thanks for all the input. So all I have to do is connect my phone and everything follows or should I configure something in my phone like turning on the Debug? Sorry I am not familiar with ADB, I was just about to read its FAQ.
that just extracts the adb binaries into the windows folder + usb driver + fastboot binaries. if you run it the nothing will happen, you have to run it via cmd.
for example adb shell.
i'm using this on windows 7 and it´s working for me.
JUST EXTRACT, INSTALL AND YOU CAN RUN ADB + FASTBOOT VIA CMD
DON´T FORGET TO ACTIVATE USB DEBUGGING IN YOUR DEVICE
works great!!!!!
Couple of suggestions for the op, look up stericsons autosign script and incorporate its's making the tools folder path of ur system $path. Also write the fact that u gotta install adb drivers for ur phone to work.
@Daneshm90
you don't have to install anything, just install and you are good to go
alutastisch said:
@Daneshm90
you don't have to install anything, just install and you are good to go
Click to expand...
Click to collapse
Hmm, u sure ? Cuz i always download the sdk -> add tools to my path -> run the sdk and select to download usb drivers package -> then give windows those drivers to install.
Anyway, u seem to be a installing adb expert, help this guy out will ya
Link
​
here´s the proof that it works.
Ok, then u should clarify to extract to C:\Windows. If u extract it anywhere else it wont work, reason it works from C:\windows is because by default windows will look for in that folder for a command. Also can u go in device manager and check ur device's drivers, u have probably previously installed them as i have not heard of adb working w/o installing the device drivers.
it´s a package which extracts
fastboot.exe
AdbWinUsbApi.dll
AdbWinApi.dll
adb.exe
to your Windows directory.
Click to expand...
Click to collapse
AdbWinUsbApi.dll
questions? read the thread carefully.
alutastisch said:
AdbWinUsbApi.dll
questions? read the thread carefully.
Click to expand...
Click to collapse
Ill counter that with a proof that it doesnt
Its still processing.
then tell me why it works on my computer?
i guess cuz i got win7?
another user here in this thread said it´s working well, too?!
alutastisch said:
then tell me why it works on my computer?
i guess cuz i got win7?
another user here in this thread said it´s working well, too?!
Click to expand...
Click to collapse
Theres only one explanation i can fathom, u had installed the drivers previously, just hadnt setup adb. They're 2 different things.
I mean if getting adb to work was as simple as extracting it and cd'in to that directory and running adb shell, why wud google make us install drivers ? Btw AdbWinUsbApi.dll is not the driver, its the dll that adb uses to communicate with the usb drivers of windows, then windows redirects it to ur phone. Here are the contents of usb_driver which u get when u download the sdk.
amd64 (64 bit drivers)
androidwinusb86.cat
androidwinusba64.cat
android_winusb.inf (part of the driver that guides windows depending on ur os (64/32) to the appropriate folder)
i386 (32 bit drivers)
source.properties
but tell my why is it working for me and others?
Hmm it could be possible that he has windows setup to automatically find and install drivers
Sent from my iPhone using Tapatalk

[REQUEST] Need "tools" folder from the SDK

Please forgive me if this is in the wrong section.
I'm overseas right now and tethering via Edge.
I need the Tools folder from the SDK. Mainly adb, the .dll and fastboot etc.
There is no way i can download 230MB SDK.
Can someone zip up the tools folder (whatever i need so i start adb, shell etc) and upload it somewhere.
Thanks
You can get adb and the dll from the sideloading wonder machine http://www.androidcentral.com/sideload-android-apps-all-you-want-sideload-wonder-machine

[Q] Installed sdk and fastboot won't run + fastboot and adb in separate folders now

So I'm just now installing the SDK on my gf's computer and it puts ADB in /tools and Fastboot in /platform-tools. Fastboot refuses to run.
Code:
This application has failed to start because AdbWinApi.dll was not found. Re-installing the application may fix this problem.
What's this about?? I downloaded the sdk.zip (the installer exe wanted me to install the java jdk, which I definitely don't need) and extracted it to C:\android-sdk-windows. Then I ran the SDK manager and installed the platform tools. Should I copy the platform-tools contents into tools or the other way around?
I haven't set the environment variable in system properties yet because I'm not sure which directory to use. The computer has the drivers for my phone and adb works fine. I booted into fastboot mode and it installed drivers.
Why would they give me an SDK with a non-working fastboot? Kind of irritated...
Copied contents of \platform-tools into \tools (DID NOT REPLACE ANY FILES!) and now everything works.
I would still like to know what was going on with this, and is there any advantage to adding the environment variable? I'd like to be able to run commands from any directory if possible, instead of having to cd all over the place.

[Q] How to install Android Debug Bridge?

I downloaded sdk setup tool from this link.
http://developer.android.com/sdk/index.html
But I don't know what to install.
Android 2.2 but, which tools?I just want to install ADB
If you installed the SDK from the page you linked to then you have the adb executable. This page tells you where the executable can be found (ex. C:\Program Files (x86)\Android\android-sdk\platform-tools) and some of the commands.
http://developer.android.com/guide/developing/tools/adb.html
You don't need the entire sdk installed if you just want adb. You just need adb.exe and the two support dlls. Put it anywhere you want and add that directory to your system path to make your life easier. Here are the files from the latest sdk.
http://www.multiupload.com/6TYIX5IB6M
What does that help you do???
Sent from my LG-P999 using xda premium
I was asking it for fixing internal partitions.Anyway problem solved.Thanks for your attention
thank you for the helpful information

Is there a Universal ADB, like a Toolkit

Is there a way ADB can work without downloading the Android SDK?
Going to flash some ROMS other than I9300 ROMS. I've always used the International S3 Tool Kit.
Is there an universal version of this?
Anybody??..
You don't necessarily need to whole Android SDK to use ADB. If you have the Android SDK installed elsewhere you can just simply copy the platform-tools folder to whatever PC and simply just use ADB commands while CD'd into that directory. If you don't have access to Android SDK at this time, I have the platform-tools folder zipped up and labeled 'quickadb". Here's a link if needed.
https://www.dropbox.com/s/p5xemd05ayevx6s/quickadb.zip
Hope this helps
iAMsalm said:
You don't necessarily need to whole Android SDK to use ADB. If you have the Android SDK installed elsewhere you can just simply copy the platform-tools folder to whatever PC and simply just use ADB commands while CD'd into that directory. If you don't have access to Android SDK at this time, I have the platform-tools folder zipped up and labeled 'quickadb". Here's a link if needed.
https://www.dropbox.com/s/p5xemd05ayevx6s/quickadb.zip
Hope this helps
Click to expand...
Click to collapse
Thanks, I'm going to PM you since I ran out of thanks and I have off topic questions that I believe you know.

Categories

Resources