`[SOLVED]ADB & FASTBOOT parameters - Desire HD Q&A, Help & Troubleshooting

hi...i´m here again... lol
okay my question is... there is any adb & fastboot guide for to know ALL the parameters that you can introduce in the shell???
i don´t found any in concret...
i ask it because i want to know the parameters for to do a backup of my current rom and then restore it from adb....
thank´s in advance for you replies

I've attached a text file that has the commands you can use.
These were taken by typing fastboot & adb into a cmd window.

andyharney said:
I've attached a text file that has the commands you can use.
These were taken by typing fastboot & adb into a cmd window.
Click to expand...
Click to collapse
when i was staid writting this thread i was thinked..."sure that @andyharney know it" it´s the ttrue!
Almost I write to you a PM but i preffered first to leave it here and if tomorrow nobody answered me ...It would order it you
thanks mate... the ****ing boos! lol

No problem.

Related

[Q] adb help please

How do i do logcat post while my phone is making a backup?
from my phone duh
still need help please
reap what ya sow?
http://tinyurl.com/469mrn5
if your doing a log cat doesn't it create a text file somewhere or does it spit it out in the command prompt? If in command prompt, just copy/paste into text document. Otherwise, i think it might create a temp file someplace on the SD card?
CheesyNutz said:
still need help please
Click to expand...
Click to collapse
adb logcat >mylogfile.txt
Bear in mind you will not see any output until you control-c/break back to a command prompt.

htc desire gsm keeps restarting

hi my htc desire keeps restarting when i flash any gingerbread miui rom i have tired data2ext and a2sd and have wiped and also formated my sdcard and stil have same problem with both but it works fine with all other roms and the froyo version of miui. please help
What hboot are you using and how did you root your phone?
Sent from my HTC Desire using xda premium
hi im using normal hboot-0.93.0001 i used unrevoked to root my phone i am not really a noob i have flashed and rooted many phones but for some strange reason all other roms including miui froyo work on my phone but gingerbread miui wont it loads up to the home screen and then just reboots ive tried data2et version and a2sd version and same thing happens with both versions.i have also tried using diffrent recoverys amon-ra,clockwork etc and still get the same problem.
You need to understand what is going on under the hood.. Getting an adb logcat is the way to go..
Code:
Windows>Start>Run
echo "null" > log.txt
start log.txt
adb logcat > log.txt
Use Notepad++ to associate with the txt file and reload the file every couple of seconds while keeping the cmd shell in the background.. See what's happening just before it reboots. It could be anything from a bad script to a bad module
Have you tried gingerbread 2.8, its simple and a very plain ROM, I have had issues with miui roms with my desire, if that doesn't work I will keep looking my self, sorry I'm not very insightful, you have an odd problem.
Sent from my HTC Pyramid using xda premium
Nice one Droidzone, I will have to try that also.
Sent from my HTC Pyramid using xda premium
Hi droidzone thanks for your reply could u please maybe help me and tell me the steps to get the log cat i know how to access adb by cmd but thats about it im a noob when it comes to adb commands and dont know much about it and didnt really understand the commands that u asked me to do,do i enter those while in adb or before.
casanova786 said:
Hi droidzone thanks for your reply could u please maybe help me and tell me the steps to get the log cat i know how to access adb by cmd but thats about it im a noob when it comes to adb commands and dont know much about it and didnt really understand the commands that u asked me to do,do i enter those while in adb or before.
Click to expand...
Click to collapse
Once you open a command line prompt in the folder where adb is installed (or anywhere else, if the file adb.exe is in your Windows path variable-Dont worry about that if you dont know), you can directly type each line of the commands starting from step 2.
Before that, install Notepad+, and associate .txt file to open with it by default..
By the way, you have to start typing those commands directly after rebooting from recovery after installing the Rom..
hi droidzone i have installed notepad++ but dont understand how to install Notepad+, and associate .txt file to open with it by default. also my adb is located in c:\androidsdk\tools that is what i type in cmd to get adb working and if i type adb devices it shows my device.also i typed the commands u gave me once in adb and it says "the process cannot access the file because it is being used by another process."
casanova786 said:
hi droidzone i have installed notepad++ but dont understand how to install Notepad+, and associate .txt file to open with it by default. also my adb is located in c:\androidsdk\tools that is what i type in cmd to get adb working and if i type adb devices it shows my device.
Click to expand...
Click to collapse
Hmm.. I seem to be offering more Windows support than Android!
I meant Notepad+. Hold Shift, rightclick any text file, Choose Open with Notepad+ as default. You can go to your adb folder like you normally do and then type each line I posted and hit Enter after each time. You can also make a batch file with all those commands (search Google for that if you dont know how)
hi thanks i have made notepad+ to open as default but when i type the commands u told me it says "the process cannot access the file because it is being used by another process."
casanova786 said:
hi thanks i have made notepad+ to open as default but when i type the commands u told me it says "the process cannot access the file because it is being used by another process."
Click to expand...
Click to collapse
Hmm yes, that can happen if you have more than one adb.exe process running in the background because you exited it by closing the command shell with the close button instead of typing
Code:
exit
after done with it.
Use Ctrl+Alt+Del or Process Explorer to terminate the background adb.exe processes

Need Help With fastboot and Radio (gsm)

Sorry To make a new thread, but I've been searching for some good instructions on how to flash a radio through fastboot. I know you can flash it through recovery but I'm hearing its safer to use fastboot.
All I need is a link with some instructions.
Thank you.
Code is in this post, beside the links: http://forum.xda-developers.com/showthread.php?t=1571715
mudferret said:
Code is in this post, beside the links: http://forum.xda-developers.com/showthread.php?t=1571715
Click to expand...
Click to collapse
I dunno what to do with that code. There isn't a beginners guide anywhere
Mrcojocaru said:
I dunno what to do with that code. There isn't a beginners guide anywhere
Click to expand...
Click to collapse
Do you know generally how to use Fastboot?
If you don't, you should probably start reading a bit more before using it...
martonikaj said:
Do you know generally how to use Fastboot?
If you don't, you should probably start reading a bit more before using it...
Click to expand...
Click to collapse
I dont know how. I think I used to to root my nexus one but I havent had to use it since. Just recovery.
Mrcojocaru said:
I dont know how. I think I used to to root my nexus one but I havent had to use it since. Just recovery.
Click to expand...
Click to collapse
Here's a good guide for setting up and using adb; mostly applicable to fastboot as well. There are others as well.
Can't recall if fastboot is included in the attached file, but the principles are there, and search the Development forum for "drivers".
http://forum.xda-developers.com/showthread.php?t=1058431
The full Android SDK can be DL'd as well: http://developer.android.com/sdk/index.html
mudferret said:
Here's a good guide for setting up and using adb; mostly applicable to fastboot as well. There are others as well.
Can't recall if fastboot is included in the attached file, but the principles are there, and search the Development forum for "drivers".
http://forum.xda-developers.com/showthread.php?t=1058431
Click to expand...
Click to collapse
thank you I have the adb drivers set up for my phone if thats what you mean. Just dont know more then that
ok I set up adb.. It was different than what I thought you were talking about.
If you have everything set up; boot in to bootloader, connect USB, and then use command in cmd.
Edit: but like someone said: if you don't fully understand, read more about it. Don't do something you're unsure of.
Sent from my Galaxy Nexus using Tapatalk
I understand it but I dont know what to type into cmd
Mrcojocaru said:
I understand it but I dont know what to type into cmd
Click to expand...
Click to collapse
download the radio you want
extract it or put the .img into your adb folder
open cmd (use the shortcut you created from the other post on setting up adb)
type this into the command line:
Code:
fastboot flash radio "name-of-radio".img
---------- Post added at 08:44 PM ---------- Previous post was at 08:43 PM ----------
the easiest way to set it up is download the tools in the dev forum. then use the guide with the pics to make the shortcut.
svtfmook said:
download the radio you want
extract it or put the .img into your adb folder
open cmd (use the shortcut you created from the other post on setting up adb)
type this into the command line:
Code:
fastboot flash radio "name-of-radio".img
---------- Post added at 08:44 PM ---------- Previous post was at 08:43 PM ----------
the easiest way to set it up is download the tools in the dev forum. then use the guide with the pics to make the shortcut.
Click to expand...
Click to collapse
when in command prompt you have to first navigate to your fastboot folder, my fastboot folder is in my android sdk folder so i would type
Code:
cd c:\android-sdk-windows\fastboot
then use
Code:
fastboot flash radio "name-of-radio".img
also your phone needs to be in the bootloader screen for fastboot to work. you can get to the boot screen by holding both volume buttons with the power button when the phone is off
thanks guys
I kept trying to flash a bad img. The OP from that thread posted a working one but not until the 3rd page. Got real frustrated lol.
anyway... im getting 2 solid bars of hspa inside. Used to alternate between 1 and 0.
neotekz said:
when in command prompt you have to first navigate to your fastboot folder, my fastboot folder is in my android sdk folder so i would type
Code:
cd c:\android-sdk-windows\fastboot
then use
Code:
fastboot flash radio "name-of-radio".img
also your phone needs to be in the bootloader screen for fastboot to work. you can get to the boot screen by holding both volume buttons with the power button when the phone is off
Click to expand...
Click to collapse
he would only need to navigate it if he used the old sdk way of setting adb up. if he used the link in the previous posts to create a custom shortcut, he wouldn't need to navigate.
also remember that your phone has to be booted into bootloader first. and after flashing, you need to fastboot reboot.
svtfmook said:
you need to fastboot reboot.
Click to expand...
Click to collapse
uh oh.. didnt do that. can something happen?
EDIT: I reflashed the radio and rebooted from fastboot just in case. Thanks for your help.
Thank you everyone! Used all my thanks for today on you guys lol

[Q] hot to get into fastboot mood!!!!

hi guys,,
love your forum....
simple NOOB question plzzzzzzzzzzzzz...
how do i get into fastboot,,,,
i have a kf and installe dthe drivers and every thing but no fastboot no adb nor even the KF tookit can detect my KF.... just cant get it into fastboot mood..
http://forum.xda-developers.com/showthread.php?t=1552547
http://forum.xda-developers.com/showthread.php?t=1668159
thanks for your reply.... i v been reading these to threads for very long time,,,, i just cant get the damn thing into fastboot mood... the KFU tool cant communicate with the device at all
i know im a noob but really need help
thanks
My Kindle is never recognized by KFU . Here's what you need:
Android SDK
Working adb and fastboot
KFU
On windows 7 shift+right click in your KFU tools directory and click "open command window here"
Here are the commands:
adb devices (your device should be listed)
adb shell (make sure it shows up as root, there will be a #, if not su)
idme bootmode 0x4002
reboot
Then your device should be booted into fastboot mode
He could be having the same problem I had, no /system/bin/sh so the adb technique will not work. I had to make a factory cable, which got me into fastboot mode (but ROMS still are not applying right, that question is in another thread).
gdjy said:
i have a kf and installe dthe drivers and every thing but no fastboot no adb nor even the KF tookit can detect my KF.... just cant get it into fastboot mood..
Click to expand...
Click to collapse
This is a shot in the dark, but have you checked that there is a .android directory under your user profile? Does it contain the adb_usb.ini configuration file? For some unknown reason the first time I tried, the install_drivers batch file didn't make the directory, so adb didn't initialize. Windows wouldn't let me make a new folder named .android so I had to go to the command prompt and make the directory myself using the old MS-DOS md command then copy the configuration file.
There is a section in Kindle Fire For Beginners that describes how to verify the drivers are loading. If you haven't seen it, it's worth the read.
SLOmtb said:
This is a shot in the dark, but have you checked that there is a .android directory under your user profile? Does it contain the adb_usb.ini configuration file? For some unknown reason the first time I tried, the install_drivers batch file didn't make the directory, so adb didn't initialize. Windows wouldn't let me make a new folder named .android so I had to go to the command prompt and make the directory myself using the old MS-DOS md command then copy the configuration file.
There is a section in Kindle Fire For Beginners that describes how to verify the drivers are loading. If you haven't seen it, it's worth the read.
Click to expand...
Click to collapse
Thanks for the KFFB plug. Just as an FYI, fastboot doesn't look at the adb_usb.ini file... adb is the only thing that looks at it.
gdjy said:
thanks for your reply.... i v been reading these to threads for very long time,,,, i just cant get the damn thing into fastboot mood... the KFU tool cant communicate with the device at all
i know im a noob but really need help
thanks
Click to expand...
Click to collapse
I just updated my fastboot guide (the second link I gave you) with details on how to get the hardware IDs and identify whether or not you are in fastboot mode. Take a look again and see what your hardware IDs are. If that doesn't help you, post a more detailed description of what you are doing, what the device is doing, what errors you get, etc. The more details you can provide, the easier it will be for your helpers to determine what's happening. Look at the sticky post at the top of this section.
i know this is also a stupid question, but how do i issue the "fastboot oem format" command? i tried partitioning my kf but it failed....

[Q] Urgent I am stuck unlock boothloader

Dear Exprts
Kindly check this how to fix this problem
when i give a command in CMD (c:\fastboot is not recognized as an internal or external command, oparebale program or batch file)
please give me the procedure as soon as possible ...
i cant unlock the boothloader
Thnks
Deep
I dont get your question. What command u typed? Check if your cmd console working directory is the same as fastboot localization.
Just ctrl rght click in folder where fastboot is and click open command window.
Sent from my One V using xda app-developers app
dipusmart said:
Dear Exprts
Kindly check this how to fix this problem
when i give a command in CMD (c:\fastboot is not recognized as an internal or external command, oparebale program or batch file)
please give me the procedure as soon as possible ...
i cant unlock the boothloader
Thnks
Deep
Click to expand...
Click to collapse
You must have fastboot.exe and the 2 dlls at the same directori, where you are at the moment at console (e.g. you wrote c:\fatsboot, so you need to have fastboot.exe and the 2 dlls at c:\ root to run them.)
I recommend to run fastboot and/or adb from a subdirectory from root, e.g. c:\htc\
I havehave fastboot.exe and the 2 dlls at the same directori (I rote c:\fastboot....but the same result ...
I don't have any root file in c drive
i am attaching the file ...
Ken-Shi_Kun said:
You must have fastboot.exe and the 2 dlls at the same directori, where you are at the moment at console (e.g. you wrote c:\fatsboot, so you need to have fastboot.exe and the 2 dlls at c:\ root to run them.)
I recommend to run fastboot and/or adb from a subdirectory from root, e.g. c:\htc\
Click to expand...
Click to collapse
Check this command in attach file
& told me , whats the problem in command
dipusmart said:
Check this command in attach file
& told me , whats the problem in command
Click to expand...
Click to collapse
don't know what the problem here, but I had errors like this on windows 8.1 and win8, which based on the poor command-line support...
try to move to the folder itself first with cd command, then fastboot as command.
dipusmart said:
Check this command in attach file
& told me , whats the problem in command
Click to expand...
Click to collapse
First, do not place files in the root (system could have some restrictions to run files from here). Place them in any folder and run from there (e.g. c:\fb\fastboot.exe)
Second, usualy you must be in the folder where the running file is. So do this:
cd c:\fb
fastboot ...
---------- Post added at 03:07 PM ---------- Previous post was at 02:59 PM ----------
Btw, are you really sure you want to take the risk with unlocking/rooting/flashing? If you are not quite familiar with a simple computer tasks there is a big chance you will go wrong and the phone will become unuseful. Unless you have many of them and just playing around. =)
Have you tried using the windows AIO tool?
http://forum.xda-developers.com/showthread.php?t=1676686
you may find it easier, but please do read all the instructions carefully especially about making a backup.
thnks guys....
now i don't have warranty ...so i want to upgrade my phone
urgents.....!!!!!
i am already done unlocking/rooting
but i have to install titanium kiss kernal i just stuck in command prompt ..its just waiting for device
what can i do ,,,
dipusmart said:
urgents.....!!!!!
i am already done unlocking/rooting
but i have to install titanium kiss kernal i just stuck in command prompt ..its just waiting for device
what can i do ,,,
Click to expand...
Click to collapse
What exactly the command prompt says?
You have to start your phone in the fastboot mode to accept external commands. So I guess the command prompt is waiting until the phone will get to that mode.
kvestas said:
What exactly the command prompt says?
You have to start your phone in the fastboot mode to accept external commands. So I guess the command prompt is waiting until the phone will get to that mode.
Click to expand...
Click to collapse
In command prompt with your phone connected, and USB debugging turned on in your developer options, and in the folder with your boot.img (you'll need to rename the hellboy kernel file to just boot.img)
type
<adb devices>
you should see a reply showing your phones ID if you get this go for
<adb reboot bootloader>
wait for the phone to reboot to your white bootloader screen then go for
<fastboot flash boot boot.img>
then once the kernel is in
<fastboot reboot>
Again I strongly recommend using an AIO program to make sure you haven't missed a step. Its great to learn all the ways to work with your phone, but its primary use is a phone, if it breaks it won't be able to do that.

Categories

Resources