I followed the wiki.
ADB finds my device when cmd prompt
Adb devices.
It runs first part of the code.
But it then tells me fastboot is not a command.
I read a few other posts, but have found no answer to this problem.
Am guessing im missing something. Maybe someone could help me find out what?
Via HTC Desire Z
ADB and fastboot are in two folders of sdk. In command you need to direct to that folder. ADB is in "platform-tools" and fastboot in "tools"
Example, from my computer.
ADB - cd C:\android-sdk-windows\platform-tools
Fastboot - cd C:\android-sdk-windows\tools
From that you can use fastboot commands.
Related
I have searched this forum multiple times and i can not find my answer so i am posting this hoping someone with some patience will help me.. when i followed these steps.. "III: Flashing a Custom Recovery
Flashing a custom recovery will make your life easier when flashing ROMs in the future.
1. Download this file: Recovery.zip
2. Extract file contents to your \tools\ directory of your Android SDK.
3. Open up a command prompt and go to your tools directory, and execute these commands:
•adb shell mount -o rw,remount /dev/block/mtdblock3 /system
•adb push recovery.img /sdcard
•adb push flash_image /system/bin
•adb shell chmod 755 /system/bin/flash_image
•adb shell flash_image recovery /sdcard/recovery.img
4. Success! You now have a recovery partition installed on your phone. You can access it by running "adb shell reboot recovery" or by powering off your phone, holding "Volume Up + Power On"
It says that what i have typed is not an executible file.. someone please help.
are you 100% sure that you extracted the file out of the zip and not just put the zip into the folder?
yea im sure
Are you typing out each command? or are you pasting them into your terminal? Also, what OS are you running ADB from, and have you had success with it before? Or is the eris your first android device
Also, you did the previous steps first correct? IE: you're ROOTED
there is an easier way posted by i think Zinfab it was something like.
su
adb shell
reboot bootloader
at this point make sure it says fastboot USB on the screen
then in the same window fastboot flash recovery recovery.img (make sure your recovery.img is in the same directory as all your SDK tools)
this worked for me when the method u posted didn't work
where do i type this stuff in at.. i have my phone plugged in usb debug checked i installed the usb driver update it and i have the recovery thing extraced in my tools folder now what do i use my computers command prompt or my phones command prompt
ashertheplague said:
where do i type this stuff in at.. i have my phone plugged in usb debug checked i installed the usb driver update it and i have the recovery thing extraced in my tools folder now what do i use my computers command prompt or my phones command prompt
Click to expand...
Click to collapse
did u set the enviromental variable? its not that important I'm just curious.
if not in command prompt first command would be
(directory to tools)\adb shell
"su"
"Reboot bootloader"
then once its in bootloader
(directory to tools)\"fastboot flash recovery (directory to recovery.img)"
now the quoted sections should be typed exactly as is, without the quotes, but you have to know your own directory.
when i type it in on my phone it says adb not found
whats that
ok my phone now is in fastboot usb mode what do i do know
as suggested, did you set the variable? type fastboot devices to see if its even working correctly, to start.
how do i get out of fastboot usb
Type in the command fastboot flash recovery recovery.img
ok now it says waiting for device
You didn't search that well.
http://forum.xda-developers.com/showthread.php?t=647974
well i went to that forum and it was still giving me problems.. but i got help from spence_moore so its all good
ashertheplague said:
well i went to that forum and it was still giving me problems.. but i got help from spence_moore so its all good
Click to expand...
Click to collapse
What step were you having a problem with? If there is something wrong I would like to fix it.
Hi i know that this question is stupid for u guys here.im woundering where do i get tha adb program(u know like a terminal emulator app).please help i need it for instaling an modified framework.sory for bad english and stupid question
My first android phone so im noob at this tings
Do i need to instal ssh droid from market?
Sent from my GT-I5800
anyone here to giv us a tutorial on adb??
thnx in adv
adb is a part of the Android SDK. Installation is described at "Installing the SDK (devloper.android.com)".
After downloading and installing the SDK (let it download the packages too), open command prompt
In vista\7: Press start -> type cmd to the search box
In XP: Press start and click on 'run' and then type cmd there
Then you must cd.. to the directory where adb is installed (which is usually C:\Program Files\android\android-sdk-windows\platform-tools\
Once your command prompt is there, you can use the adb commands. If it says Adb is not a recognizable command then you're most likely in the wrong directory.
cd.. goes backwards a directory
cd goes forwards
For example, the command prompt shows C:\users\administrator, if you type cd.. it goes to C:\users, you type it again it goes to C:\ etc..
Once there, you type cd program files -> cd android -> cd android-sdk-windows -> cd platform-tools and there you are
More info on how to use command prompt: http://dosprompt.info/
edit: sorry for being stupid. Of course you can do straight cd c:\program files\android\android-sdk-windows\platform-tools
http://forum.xda-developers.com/showthread.php?t=1364416
I dowloaded SDK and os,and drivers,when i type fastboot -w,and other commands,cmd says that he doesn't know what to do with command.(I typed cd and path to fastboot.img...)
http://forum.xda-developers.com/showthread.php?t=927379
When i click on automatic boot it just shows for 1sec and then just dissipears.
My phone is in fastboot mod.
HELP ?
You have used the cd command to the path containing fastboot.exe, adb.exe, AdbWinApi.dll and AdbWinUsbApi.dll?
What's the exact error message that comes up in cmd?
Just use this tool. There is nothing easier than this.
Anyone getting parsing error while trying to change the Model ID of their device using enghboot should follow these instructions:
Make sure you have the latest version of adb.exe and fastboot.exe files on your PC and that your device is S-OFF and rooted.
1. Navigate to the folder where adb is stored using command line.
2. Backup the original bootloader using the following commands.
Code:
adb shell
dd if=/dev/block/mmcblk0p12 of=/sdcard/mmcblk0p12.bin
adb pull /sdcard/mmcblk0p12.bin mmcblk0p12.bin
exit
Make sure you have a new file mmcblk0p12.bin in your fastboot and adb folder.
3. Download hboot.img from the link below and place it in the same folder as adb and fastboot.
https://www.dropbox.com/s/b695866du2dez3c/hboot.img
4. Place file on your device's sdcard using this command:
Code:
adb push hboot.img /sdcard/hboot.img
5. To write enghboot onto the device, use the following commands
Code:
adb shell
su
dd if=/sdcard/hboot.img of=/dev/block/mmcblk0p12
exit
adb reboot bootloader
6. Once in fastboot, use the commands below to change to the desired MID and cidnum.
Code:
fastboot oem writemid PN07xxxxx
fastboot oem writecid xxx__xxx
fastboot reboot
Thanks to the developers of eng hboot for creating such a wonderful utility!
Wow thanks for that!!
will try soon!
Tried 'fastboot oem writemid' it says unknown command...?>??
HTC ONe 802w
adb reboot bootloader
After this command phone went black screen and not responding hence in my device manager on PC i can see it android usb
HTCONE802W said:
adb reboot bootloader
After this command phone went black screen and not responding hence in my device manager on PC i can see it android usb
Click to expand...
Click to collapse
I followed the instructions and my phone has been bricked. I am getting snow error. Can anyone help?
Hey, I just updated my PC to latest version so I can't open cdm. It asks to open PowerShell Command prompt, witch I can't use to flash images! I searched in Google how to disable it for ever, but no answer. Can anyone help me?
Just throw cmd to start menu and then use cd command to go to your adb directory
Vika__ said:
Just throw cmd to start menu and then use cd command to go to your adb directory
Click to expand...
Click to collapse
I tried that, and it can't find Fastboot or Adb other files it show!
RootingPro-18 said:
I tried that, and it can't find Fastboot or Adb other files it show!
Click to expand...
Click to collapse
Try adding ./ in front of adb command if you have folder specific adb
This should work on PowerShell
like this
Code:
./adb devices