not able to use platform-tools - Xiaomi Redmi Note 7 Pro Questions & Answers

I replaced my old platform-tools folder to new one today. Old one is working correctly. But when i give any command in cmd of new platform-tools. I always get this error as shown in below pic. Anyone suggest is greatly helpfull.

Ok now i get another problem when ever i give a command like "adb devices" a new mini cmd window popup inside the main window and comand runs in that mini window for few seconds then this window again get disappears. Main window did not show any result of given comand. Any one may help?

hackermssharma said:
Ok now i get another problem when ever i give a command like "adb devices" a new mini cmd window popup inside the main window and comand runs in that mini window for few seconds then this window again get disappears. Main window did not show any result of given comand. Any one may help?
Click to expand...
Click to collapse
I guess this issue is solved?
Sent from my Redmi Note 7 Pro using Tapatalk

hackeroid said:
I guess this issue is solved?
Click to expand...
Click to collapse
Yes brother thanks again.

Related

Cannot find run command line in ADB.

Hello iam using windows vista and xp and I had the same.problems on both. I downloaded the ADB program which gave me 5 seperate files. and downloaded thedrivers for my moto Atrix. But I was told not to run the adb.exe but to look for a run command line prompt. Where and how do I find this. And where do I go to run the commands?
Sent from my MB860 using XDA App
RPK925 said:
Hello iam using windows vista and xp and I had the same.problems on both. I downloaded the ADB program which gave me 5 seperate files. and downloaded thedrivers for my moto Atrix. But I was told not to run the adb.exe but to look for a run command line prompt. Where and how do I find this. And where do I go to run the commands?
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
Hey
press the start button (bottom left), on start menu you should see "run" with a small icon looks like a dialogue box (might be below search), press this. in the dialogue pop up type CMD.
Tho you will prob need to set up Environment Variables before you can use ADB.
kam333 said:
Hey
press the start button (bottom left), on start menu you should see "run" with a small icon looks like a dialogue box (might be below search), press this. in the dialogue pop up type CMD.
Tho you will prob need to set up Environment Variables before you can use ADB.
Click to expand...
Click to collapse
Then you have to go to folder where "adb.exe" is...
For example if you have it in "c:\adb_folder" you have to type "cd adb_folder".......
Then your command line will be like this → C:\adb_folder>
Then, if you want to test if your device is connected properly you have to type "adb devices" and you will see your device listed....
If not, there is a problem.....
(don't forget to enable "USB debugging" at your phone through Applications→Development)
I
pigeonaras said:
Then you have to where "adb.exe" is...
For example if you have it in "c:\adb_folder" you have to type "cd adb_folder".......
Then your command line line will be like this → C:\adb_folder>
Then, if you want to test if your device is connected properly you have to type "adb devices" and you will see your device listed....
If not, there is a problem.....
(don't forget to enable "USB debugging" at your phone through Applications→Development)
Click to expand...
Click to collapse
I was.able.to open up the command.prompt, but when I run adb devices it just says "adb is not a recgonized as an internal or external....." . It is.like its not connecting for somereason ? Iam a complete noon so any help would be great. Thanks
Sent from my MB860 using XDA App
pigeonaras said:
(don't forget to enable "USB debugging" at your phone through Applications→Development)
Click to expand...
Click to collapse
Have you done this .....??????
RPK925 said:
I
I was.able.to open up the command.prompt, but when I run adb devices it just says "adb is not a recgonized as an internal or external....." . It is.like its not connecting for somereason ? Iam a complete noon so any help would be great. Thanks
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
Before you can use adb command, you have to direct the terminal to the location of the folder where adb is located.
If the location of the file adb is at C:\\windows\androidsdktools\tools\adb
In your terminal type
cd \
Press enter, then type,
cd windows\androidsdktools\tools
Now the terminal should be in the folder where adb is located.
adb devices
A better way in my opinion to use adb is to set the path so it is usable from anywhere, simple easy and no need to always cd the path
directly quoted from dreamsforgotten's tutorial on theming for the epic
http://forum.xda-developers.com/showthread.php?t=821638
"On Windows, right-click on My Computer, and select Properties. Under the Advanced tab, hit the Environment Variables button, and in the dialog that comes up, double-click on Path (under System Variables). Add the full path to the tools/ directory to the path."
Click to expand...
Click to collapse
tmspyder said:
A better way in my opinion to use adb is to set the path so it is usable from anywhere, simple easy and no need to always cd the path
directly quoted from dreamsforgotten's tutorial on theming for the epic
http://forum.xda-developers.com/showthread.php?t=821638
Click to expand...
Click to collapse
This Works!
install adb driver first£¬turn your phone in ¡°charge only mode¡±£¬then find the adb floder£¬hold ¡°shift¡±and right click the floder.choose ¡°run in cmd line mode¡±£¬yeah£¬you done it

[Q] adb

recently installed adb on my windows7 64bit installed fine as far as i know but i'm not able to type anything any suggestions would be great thanks
droidmods said:
recently installed adb on my windows7 64bit installed fine as far as i know but i'm not able to type anything any suggestions would be great thanks
Click to expand...
Click to collapse
Someone had posted a great adb tutorial. Just do a search for it.
You could also follow some of the set up steps in publicanimals rooting guide.
Not able to type anything?
I just type command in the search box, right click on it as it appears in the results, click run as administrator, navigate to the folder adb is in and go from there..
Or in windows 7 just open the Tools or Platform-tools (whichever you use) folder, press and hold the shift key, right-click in the folder and select 'Open command window here'
ratsalad said:
Or in windows 7 just open the Tools or Platform-tools (whichever you use) folder, press and hold the shift key, right-click in the folder and select 'Open command window here'
Click to expand...
Click to collapse
I've been using Win7 since beta and never knew that, thanks!!!

Need Help

Hi everyone, just trying to get ADB working with the Galaxy S2 Skyrocket, anyone want to point me in the right direction? I have android SDK but when I launch adb a command line pops up for a second and closes before I can do anything, and where can I find the ADB drivers? If you could help, that would be great, thanks!
If your using windows. Click start type in cmd hit enter
Open the directory where adb is. You can type adb start-server then press enter
Make sure you have debugging turned on in your phones settings.
So that's how you launch it! thanks, can I run it by just opening it with command line?
saying daemon started, but not doing anything, but my phone is running CWM at the moment, should I try again after?
If its running then abd is running. What are you trying to do with adb theres a ton of dfferent commands
Yea the command is going through but nothing is happening
silver03wrx said:
If its running then abd is running. What are you trying to do with adb theres a ton of dfferent commands
Click to expand...
Click to collapse
No command line is coming up, or something it just goes through
nsilverman15 said:
No command line is coming up, or something it just goes through
Click to expand...
Click to collapse
Oh I got it, use it right in command line

windows 8.1 won't recognize fastboot

running windows 8.1. Adb & fastboot don't work anyone got drivers and instructions on how to install them plz.
thanks
download android sdk, open command prompt inside directory with adb and fastboot, and run it. Should work, as nothing drastic changed in 8.1
ethantarheels123 said:
download android sdk, open command prompt inside directory with adb and fastboot, and run it. Should work, as nothing drastic changed in 8.1
Click to expand...
Click to collapse
That info does not work for me. Opens the prompt, screen scrolls ultra fast with some words, then closes. Been reading and trying to figure this out.
I've heard that there's a compatibility issue between fastboot and Windows 8.1, I'm not sure it's been resolved yet.
Sent from my Evita
Did you update your SDK Tools? That might help, it installed a lot of missing folders for me and fixed a lot of probems.
Go into the sdk directory and open the "SDK Manager" program, then press the update/install button.
If that doesn't help, then hopefully you can get your issue resolved some other way.
Goodluck
mentalityx said:
That info does not work for me. Opens the prompt, screen scrolls ultra fast with some words, then closes. Been reading and trying to figure this out.
Click to expand...
Click to collapse
You have to hold shift and right click, opening a command window. Then type fastboot, then fastboot devices and you should see HTC folowed by some numbers.Or did you get it working?

Fix "unable to load" using fastboot and windows 10

I have been frustrated trying to use fastboot commands, especially the "flash" command on my windows 10 laptop. I continually got an "unable to load' message. I have reloaded the drivers manually as recommended by some, which still did not work. Well, it turns out that you need the complete path in the fastboot command line when using 10. Put your img, bin files in a folder you will be using. Open the command prompt using the windows-x keys. Select the command prompt from the menu.. It does not need to be the administrator. Use the fastbooot devices command to make sure the computer can see your device. I then issue the fastboot command I want: fastboot flash logo and then drag the file from the folder you are in and drop it on the command line. In this case I used, nowarning.bin. When it populated the complete path starting with the c: prompt shows up. Make sure there is a space before the C: and the previous command. Hit enter. I have searched everywhere and have not found an answer to this problem. I did see a video on youtube where the fellow dragged a file from the folder and dropped it in the command prompt window. So thanks to him for that simple yet effective trick.. Hopefully this will work for you if your having the same problem I had...

Categories

Resources