[Q] ADB without full SDK - Android Q&A, Help & Troubleshooting

I want to unlock my phone using bml5, but i dont want to install 80mb of java dev kit and the full 24mb sdk. I just want the ADB, and the drivers for my phone, if anyone could shoot me a link of where to get them.

AlwaysDroid said:
I want to unlock my phone using bml5, but i dont want to install 80mb of java dev kit and the full 24mb sdk. I just want the ADB, and the drivers for my phone, if anyone could shoot me a link of where to get them.
Click to expand...
Click to collapse
First install the drivers for your phone. Then just download the attachment and extract it. open the extracted folder "adb" and double click the cmd.exe shortcut .
You will have working adb and fastboot.
Download : adb.zip

Erroe
Hey guys I keep getting the error-" adb is not a recognized command......". Can someone plz help me....QUICKLY??!!

abhishek046 said:
Hey guys I keep getting the error-" adb is not a recognized command......". Can someone plz help me....QUICKLY??!!
Click to expand...
Click to collapse
You should run the command from directory where the adb binary is .

musarraf172 said:
You should run the command from directory where the adb binary is .
Click to expand...
Click to collapse
to do that. navigate to the folder where u hv placed adb. nw SHIFT+RIGHT click on that folder. nw choose "open command line here" and nw run those commands in the command window that pops up
Sent from my Nexus One using Tapatalk

ADB without full SDK
Download Android Control here
Extract the AndroidControl folder out of it to the root of your hard drive.
Open a command prompt and navigate to the folder.
Run adb commands

Related

Quick ADB help!

I rooted and now I keep losing su permissions and I can't boot into cwm recovery. I figure something messed up during the process. I guess I should unroot and then try the process again. I'm trying to use the HOWTO Return to stock properly and safely process.
I have adb installed and when I try to do the first step:
(adb push misc.img /data/local/)
It says this:
adb server is out of date. Killing....
* daemon started successfully *
cannot stat 'misc.img': no such file or directory
I'm sure I have a file in the wrong directory? Any help is appreciated!
From your pc before you run adb push did you:
cd c:\path\to\downloads\
?
I cannot the 100 percent certain that is what you need from your description but I however am 80 percent sure.
this is not a signature I type it in every time maybe sent from my phone or my computer
In the newer ADB version you need to have your command promt directed to the platform-tools directory. So, whatever you are trying to push also needs to be within that directory.
Even if you add it to your $PATH?
I haven't updated my sdk in a long long time so I'm not sure
this is not a signature I type it in every time maybe sent from my phone or my computer
If you have an old version of the Android SDK then misc.img should be placed in the tools directory. Personally I have the SDK version 7 and I had to place the files in Platform-tools.
rizzomegav said:
Even if you add it to your $PATH?
I haven't updated my sdk in a long long time so I'm not sure
this is not a signature I type it in every time maybe sent from my phone or my computer
Click to expand...
Click to collapse
It depends which directory path you have in your $PATH variable. If you have the latest SDK and $PATH is still pointing to "tools" then ADB will not be there... you need to update your $PATH variable to point wherever ADB is located.
stedrocklp said:
In the newer ADB version you need to have your command promt directed to the platform-tools directory. So, whatever you are trying to push also needs to be within that directory.
Click to expand...
Click to collapse
How can I see what version I'm using? I'm new to ADB and was just trying to follow the instructions on the HOWTO so I didn't have to ask a bunch of questions.
My adb is in C:\sdk\platform-tools\
if that helps any. That is also the file that the misc.img file is in
If your adb is in C:\sdk\platform-tools\ did you cd C:\sdk\platform-tools\ first?
Thanks to everyone for the help. I got it figured out last night!

[HOW TO] Get custom recovery extremely noob proof.

THINGS TO NOTE:
1. YOU MUST UNLOCK BOOTLOADER FIRST, THEN FOLLOW THESE INSTRUCTIONS
2. AFTER YOU FOLLOW THESE INSTRUCTIONS YOU STILL NEED TO GET ROOT, YOU ARE NOT ROOTED, YOU JUST HAVE A CUSTOM RECOVERY
3.BEFORE YOU DO ANYTHING DO THIS ON YOUR PHONE
1. Go to Settings --> Applications --> Development --> Check Dubugging
2. Take out the battery from the back of your phone and insert it back in
3. hold down volume down and power button. wait until you see a screen with options
4. Use the volume buttons to go up and down...go down and select fastboot, and press power button to select it.
5. plug in your usb to your phone.
how to use command prompt:
-windows 7: start button > type in "cmd" without quotes
-windows vista and xp: start button > Run type in "cmd" without quotes
You need to be familiar with windows file system. There are directories and files
now you can go to any directory you want. Let say you want to go to your android directory that's in c:\user\seansk\android\
type: cd c:\user\seansk\android\
if you want to go back to c:\ directory
type: cd c:\
How to get custom recovery using command prompt:
download the attached .zip file provided by Binary I have also attached it here
PUT ALL THE FILES INSIDE THE ZIP FILE INTO C:\Android
to do this: click start click on "computer" or "my computer" depending on your windows version.
Then click on the main drive usually it is c:
right click in an empty area and create a new folder and call it android
now take all the files inside the zip file i have attatched and put them in the android folder
go to command prompt like showed you above: go to c:\android directory like I showed you above: if you forgot here's how AGAIN
type cd c:\android
now type this: fastboot flash recovery recovery-cwm-ruby-5.0.2.7.img
your command prompt should now look like this:
c:\Android>fastboot flash recovery recovery-cwm-ruby-5.0.2.7.img
PRESS ENTER, your phone will install the custom recovery
once it is done
type: fastboot reboot
Done.
seansk said:
how to use command prompt:
-windows 7: start button > type in "cmd" without quotes
-windows vista and xp: start button > Run type in "cmd" without quotes
You need to be familiar with windows file system. There are directories and files
now you can go to any directory you want. Let say you want to go to your android directory that's in c:\user\seansk\android\
type: cd c:\user\seansk\android\
if you want to go back to c:\ directory
type: cd c:\
How to get custom recovery using command prompt:
download the attached .zip file provided by Binary I have also attached it here
PUT ALL THOSE FILES INSIDE THE ZIP FILE INTO C:\Android
to do this: click start click on "computer" or "my computer" depending on your windows version.
Then click on the main drive usually it is c:
right click in an empty area and create a new folder and call it android
now take all the files inside the zip file i have attatched and put them in the android folder
go to command prompt like showed you above: go to c:\android directory like I showed you above: if you forgot here's how AGAIN
type cd c:\android
now type this: fastboot flash recovery recovery-cwm-ruby-5.0.2.7.img
your command prompt should now look like this:
c:\Android>fastboot flash recovery recovery-cwm-ruby-5.0.2.7.img
PRESS ENTER, your phone will install the custom recovery
once it is done
type: fastboot reboot
Done.
Click to expand...
Click to collapse
Nice but I can't find the seansk directory. What am I doing wrong?
Binary100100 said:
Nice but I can't find the seansk directory. What am I doing wrong?
Click to expand...
Click to collapse
You should try to find it by looking around your bedroom...maybe you'l find a folder named seansk on it!!! feel free to add it to your how to pages!!!
seansk said:
You should try to find it by looking around your bedroom...maybe you'l find a folder named seansk on it!!! feel free to add it to your how to pages!!!
Click to expand...
Click to collapse
Nevermind. I found it. It was the one with your mothers pictures in it.
Yeah I went there. LOL!
Binary100100 said:
Nevermind. I found it. It was the one with your mothers pictures in it.
Yeah I went there. LOL!
Click to expand...
Click to collapse
you have the wrong folder start over you need to unlock the drawer[bootloader] first
seansk said:
you have the wrong folder start over you need to unlock the drawer[bootloader] first
Click to expand...
Click to collapse
Oh no I don't. This works just fine.
Binary100100 said:
Oh no I don't. This works just fine.
Click to expand...
Click to collapse
crap I forgot to add they should start fastboot...time to edit again

Step by Step for ADB Push

I soft bricked my One. I have a rom to flash but have no idea how to push it via adb. I am downloading the Android SDK now but can someone point me to a very clear step by step tutorial on how to push via adb? Everything I find on the internet seems to be geared to those who are already familiar with command prompts. I am not.
thank you.
I wrote a primer about a year ago
http://forum.xda-developers.com/showthread.php?t=1754018
most of the instructions are universal though.
gunnyman said:
I wrote a primer about a year ago
http://forum.xda-developers.com/showthread.php?t=1754018
most of the instructions are universal though.
Click to expand...
Click to collapse
Thanks for the response, but I need to back up a little bit.
I go to start, type in cmd and then what? I have to switch users?
garment69 said:
Thanks for the response, but I need to back up a little bit.
I go to start, type in cmd and then what? I have to switch users?
Click to expand...
Click to collapse
Can somebody please help me. I have to get this phone up and running today.
garment69 said:
Thanks for the response, but I need to back up a little bit.
I go to start, type in cmd and then what? I have to switch users?
Click to expand...
Click to collapse
I cant get adb installed on my computer I think. When I go to start, cmd and type adb i get "adb is not a recognized command".
Run adb from the directory you installed it. Also on a mac put a./ dot slash in front of the command
garment69 said:
I cant get adb installed on my computer I think. When I go to start, cmd and type adb i get "adb is not a recognized command".
Click to expand...
Click to collapse
When I try and install the ADB exe from the zip file provided in your tutorial it says unable to start because ADBWinApi.dll is missing from my computer.
gunnyman said:
Run adb from the directory you installed it. Also on a mac put a./ dot slash in front of the command
Click to expand...
Click to collapse
Run adb from the directory I installed it? How?
garment69 said:
Run adb from the directory I installed it? How?
Click to expand...
Click to collapse
Find adb.exe in your hard drive. When you downloaded the sdk you unzipped the files somewhere.. I'm assuming you didn't add the path of adb.exe to your environment variables (if you did you would be able to type in adb commands from any directory in cmd prompt).
So navigate to driveletter:\adbdirectory\
From this directory you should be able to type in adb and get feedback
Sent from my HTC One using xda premium
born_fisherman said:
Find adb.exe in your hard drive. When you downloaded the sdk you unzipped the files somewhere.. I'm assuming you didn't add the path of adb.exe to your environment variables (if you did you would be able to type in adb commands from any directory in cmd prompt).
So navigate to driveletter:\adbdirectory\
From this directory you should be able to type in adb and get feedback
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
I found the adb.exe and I ran it. A cmd window popped up for a second then vanished. I have no adb directory that I can find.
garment69 said:
I found the adb.exe and I ran it. A cmd window popped up for a second then vanished. I have no adb directory that I can find.
Click to expand...
Click to collapse
You don't run adb as an application, you run it in command prompt as an MS Dos command.
Adb is located in the tools directory of the sdk..not necessarily it's own directory. I was just saying to navigate to where that directory is from within cmd prompt.. I.e if adb.exe was located in c:\android, you would go to "cd c:\android" then run "adb commandhere"
Sent from my HTC One using xda premium
born_fisherman said:
You don't run adb as an application, you run it in command prompt as an MS Dos command.
Adb is located in the tools directory of the sdk..not necessarily it's own directory. I was just saying to navigate to where that directory is from within cmd prompt.. I.e if adb.exe was located in c:\android, you would go to "cd c:\android" then run "adb commandhere"
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
thank you. I found a tutorial which instructed me to put the destination folder into environmental variables. Then I was able to get it to work.
Minor miracle I was able to get it to work!

omg! cant root jetstream help!!!!!!!!!!!!!!!!!

my jetstream when i purchased it was
unlocked , s-off and cwm was installed but
when i try app-rootneeded they say my devices is not rooted is this possible at all?
and when try to root doomlord method:
1. adb&fastboot (11MB) extracted from sdk(downloaded work good & root in C:\Android)
2. JETSTREAM-DooMLoRD-insecure-kernel-autoroot-test2-boot.img(renamed insecure.img and copy to C:\Android )
3. DooMLoRD_v2_ROOT-busybox-su
4. htc driver (find in fastbootdevices cmd and htcsync)
5. usb debbug mode
and it says
" cannot load "insecure.img" : no error "
Usually, that's because the cmd window was not opened in the adb folder where the image is located. Did you use the change directory command (cd)? Or if using Windows 7, try holding shift & right mouse click in the folder to run cmd from that folder.
also, if you search "cannot load: boot.img no error" - you'll get a lot of hits in google.
guru_shastri said:
Usually, that's because the cmd window was not opened in the adb folder where the image is located. Did you use the change directory command (cd)? Or if using Windows 7, try holding shift & right mouse click in the folder to run cmd from that folder.
also, if you search "cannot load: boot.img no error" - you'll get a lot of hits in google.
Click to expand...
Click to collapse
Thanks for replying
i dont know how can i do change directory CD?
i realy want know how clockworkmod cwm installed on my device? (without root)
external microSD needed?(for rooting)
guru_shastri said:
Usually, that's because the cmd window was not opened in the adb folder where the image is located. Did you use the change directory command (cd)? Or if using Windows 7, try holding shift & right mouse click in the folder to run cmd from that folder.
also, if you search "cannot load: boot.img no error" - you'll get a lot of hits in google.
Click to expand...
Click to collapse
omg it load insecure and rooted
thanks a lot
strartin cmd from c: solve problem (Rclick and start cmd here !!!!!!!!!!!!!!!!!!)
i didnt knew that
thanks thanks thanks thanks thanks thanks thanks thanks thanks
congrats!

Latest ADB Platform Tools folder is not working?

You can download the latest Platform Tools folder from Google directly from Here
but it's not working anymore & gives an error.
The only workaround is to install this ADB Installer- https://forum.xda-developers.com/showthread.php?t=2588979
Official XDA guide uses the same folder- https://forum.xda-developers.com/showthread.php?t=2588979
Is there something wrong? Or am I doing any mistake?
Anyone?
Last try!
Hi dude , for me it works well that first what you put to be latest Platform Tools folder.
I tested with fastboot command , and adb fastboot device .
What I do is created new folder on C :/ with adb name of folder and I extracted those files on it , press shift key inside that folder and right click on Open Command Windows here. And try now with adb device if is show some error to you try to start service by writing this command adb start-server and press one time Enter .
I hope it will work now for you .

Categories

Resources