Platform-tools problems - General Questions and Answers

can anyone help? I use platform-tools and it's not connecting I hope there is a solution here

The so-called Platform Tools contain among others the 2 programs/drivers ADB and Fastboot
Only to clarify things:
ADB
is a protocol that allows you to communicate with an Android device that got booted, means its main Android OS is running
At Windows command prompt you enter commands - one by one -
Code:
adb devices
adb <ANY_SUPPORTED_ADB_SUBCOMMAND>
FASTBOOT
is a program used to manipulate (list, install, erase) the non-volatile memory such as flash filesystem partitions on devices that adhere to the fastboot protocol, via a USB connection from a host computer. It requires that the device be started in a boot loader mode with the fastboot protocol enabled.
IMPORTANT: Fastboot will only work if the OEM/Carrier has included support for the Fastboot protocol.
At Windows command prompt you enter commands - one by one -
Code:
adb devices
adb reboot bootloader
fastboot devices
fastboot <ANY_SUPPORTED_FASTBOOT_SUBCOMMAND>

Andika_Achmad said:
can anyone help? I use platform-tools and it's not connecting I hope there is a solution here
Click to expand...
Click to collapse
Plateform-tools are command line tools coming with the android sdk. As the build-tools, plateform tools are command line tools, so to use them you shall first know how to use them.
Here's the usage of some command-line tool available in the Android Sdk:
Command-line tools | Android Studio | Android Developers
Find out about the most important command-line tools that are available, organized by the packages in which they're delivered.
developer.android.com
Here's the content of /plateform-tools:
adb
api (a folder)
dmtracedump
e2fsdroid
etc1tool
fastboot
lib64 (a folder)
hprof-conv
make_f2fs
make_f2fs_casefold
mke2fs
mke2fs.conf
NOTICE.txt
package.xml
sload_f2fs
source.properties
sqlite3
systrace (a folder)

Related

Fastboot/ADB & Phone drivers Without Admin rights

Any way to setup a computer with ADB and Fastboot without admin rights? Can I setup up a flash drive with Fedora or Ubuntu, boot into that and get access? If so how do you set up drivers and adb on a linux distro.
Any help would be appreciated, Thanks!
I'm using Linuxmint 12 and I have ADB setup. Just click on the other platforms option and it gives you a pretty accurate description of how to set it up on linux.
I'm actually having a problem with using "fastboot oem get_identifier_token" on the bootloader unlock process because I get an error in the terminal saying the fastboot command isn't recognized in the terminal.
On Linux, I'm pretty sure all you need is the adb or fastboot executable. However, you must run it as root (either sudo or su into root). You can grab the exectuables by download the Android SDK.
If it's saying it can't find the fastboot executable, you're probably not in the same folder as fastboot. Type 'ls' and see if you see fastboot in the list. If it's not there, it won't work.
Hi,
is it just me or is there no answer to the question of the first post? Is there any way to install adb on a win Pc without admin rights?
regards

ADB & Fastboot Installer (Windows)

Android Debug Bridge (ADB) and Fastboot utility installer for Windows.
Description:
Lets you designate the directory where you want to install it.
Sets environment variable to access ADB and Fastboot commands on Command Prompt (CMD) as an external command.
Steps:
Enter the path to the directory you want to install it.
Notes:
Program must run with administrator privilege.
Links:
Version 1.0 (x86) — https://goo.gl/nOQaoX

Computer Setup for executing fastboot commands

Credits : XDA developers
This is not my work I just make all of them at one place
Procedure for making your computer ready for executing fastboot commands
1 ) Install ADB drivers in windows using below link
https://drive.google.com/file/d/1lZ2pZLne6TV9YJLmS9P_EAteuAZn_BPs/view?usp=drivesdk
2) Download platform tools below link for windows :
https://drive.google.com/file/d/1HUAUNJnlOKUJCxSqVxNVRagV4XBGe-2Q/view?usp=drivesdk
linux and mac users download platform tools from this link :
https://developer.android.com/studio/releases/platform-tools.html
2 ) extract it
‎
‎3) whenever you want use fastboot commands
Goto platform tools and paste required file in platform tools folder
4) then from platform tools folder open Power shell or command prompt using (shift + right click ) in empty space
Then it will open command promt then you can execute fastboot commands
That's it now your computer can be used for executing fastboot commands
On Linux, you can type "whereis adb" to find the location, and then "sudo cp adb fastboot location(usually /usr/bin)", to replace it and use it system wide. Afterwards, always check "adb version", to make sure you did it right.
Sent from my Mi A1 using Tapatalk
Harris P said:
On Linux, you can type "whereis adb" to find the location, and then "sudo cp adb fastboot location(usually /usr/bin)", to replace it and use it system wide. Afterwards, always check "adb version", to make sure you did it right.
Click to expand...
Click to collapse
Thanks for the information
I only know about windows OS
Easier method for installing adb and fastboot in Ubuntu
For those running recent Ubuntu versions or distributions based on them, there are packages for adb and fastboot available in the default repositories. To install them, execute this command in the terminal:
Code:
sudo apt install android-tools-adb android-tools-fastboot
Addendum: This works on all Ubuntu versions from 16.04 and beyond. I haven't tested this on the 14.10, 15.04, and 15.10 releases. However, I can confirm that this doesn't work on 14.04 and below.

How to Install adb/fastboot on Android device (phone) to use to fix another phone

A friend of mine has a Stylo 6 that says corrupted when it boots. It is however already set to USB debugging. However, I do not have access where I'm at to a PC or a Chromebook to install the dev tools. Is it possible even with third party paid software to install the dev environment on another Android phone and use it for fastboot etc?
You don't need to add ADB and/or Fastboot to any Android device. In common both ADB and Fastboot ( the latter only unless OEM decided to omit it ) are integral part of every Android release: ADB is housed in Android's user-space, Fastboot typically is part of device's bootloader unless Android has a Dynamic Partition layout, then Fastboot is also housed in Android's user space.
Ok, I guess what I need to know if I can install and use adb server on an Android device. I don't have access to a PC Mac or Chromebook to install the sdk tools. Can this be installed on my phone ( using a Linux or windows emulator maybe) to use to fix his phone?
ADB is nothing more than a tool that allows you to execute commands which would interact with Android shell. So you can install / open in Android a shell app ( e.g. Termux ) and run the commands ( Linux compliant ) therein. Will say you don't need a computer to operate on Android system of device,

Waiting for Device Error

i want to root https://www.xda-developers.com/root/
when i try
Code:
fastboot flash boot /path/to/magisk_patched.img
im stuck at
< waiting for device >
when i try
adb devies
it show my device
but when i boot to fastboot in my phone
i try
fastboot devices
didn't show fastboot devices
i use
15 seconds ADB Installer​https://www.droidthunder.com/adb-drivers/#Method_1_Using_15_seconds_ADB_Installer
what should i do ??
if youre on windows, have you installed the driver provided by your manufacturer? Or did you run command prompt as administrator?
if youre on linux, did you execute adb/fastboot with root permissions?
Also make sure you use the official plaform tools: https://developer.android.com/studio/releases/platform-tools
MLPIR said:
if youre on windows, have you installed the driver provided by your manufacturer? Or did you run command prompt as administrator?
if youre on linux, did you execute adb/fastboot with root permissions?
Also make sure you use the official plaform tools: https://developer.android.com/studio/releases/platform-tools
Click to expand...
Click to collapse
im on windows i have already install mtp driver also run cmd as admin in the platform-tools folder still not show the devices.
chatofking said:
im on windows i have already install mtp driver also run cmd as admin in the platform-tools folder still not show the devices.
Click to expand...
Click to collapse
Is your usb properly plugged in and working? (Both on the computer and phone)
yes as you can see
it work on adb devices but not fastboot devices.
Code:
D:\platform-tools>adb devices
List of devices attached
WGWWINQGT8NBJVB6 device
Code:
D:\platform-tools>fastboot devices
what should i do ??
Run this command sequence
Code:
adb devices
adb reboot fastboot
fastboot devices
xXx yYy said:
Run this command sequence
Code:
adb devices
adb reboot fastboot
fastboot devices
Click to expand...
Click to collapse
did you mean
Code:
adb reboot bootloader
xXx yYy said:
Run this command sequence
Code:
adb devices
adb reboot fastboot
fastboot devices
Click to expand...
Click to collapse
thank it worked now
it show fastboot mode instead fastboot in my phone
D:\platform-tools>fastboot devices
WGWWINQGT8NBJVB6 fastboot
can i ask one more question i got this message
when i
D:\platform-tools>fastboot flash boot D:\platform-tools/magisk_patched-25100_1VYTU.img
it show
Code:
Sending 'boot' (98304 KB) FAILED (remote: 'Download is not allowed on locked devices')
fastboot: error: Command failed
what should i do ??

Categories

Resources