[Q] how to flash via fastboot? - Desire General

how do a flash a img file via fastboot, and yes i got S-off.
thanks in advance

You put your device in fastboot, connect it to your pc, open a command prompt, navigate to the tools folder, and use the fastboot flash command, for example to flash a radio, use the command, fastboot flash radio *****.img. also for ease copy the .img file to the tools folder in you android sdk.
Sent from my HTC Desire using Tapatalk

AndroHero said:
You put your device in fastboot, connect it to your pc, open a command prompt, navigate to the tools folder, and use the fastboot flash command, for example to flash a radio, use the command, fastboot flash radio *****.img. also for ease copy the .img file to the tools folder in you android sdk.
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
it's a recovery? RA recover 2.0.0

No One knows?

fastboot flash recovery recoveryname.img
Or
From terminal on phone you can type
su
flash-image recovery /sdcard/recoveryname.img
Both of these answers are in the amon recovery thread. If you looked you could have had your answer days ago...

Also, if you didn't know what you're doing what was the point in going S-OFF?? To look cool???...

Related

flashing via fastboot

Hi.
I know this might be a stupid question but how do you flash updates via fastboot??
bboyrazor said:
Hi.
I know this might be a stupid question but how do you flash updates via fastboot??
Click to expand...
Click to collapse
extract the .img from the radio/recovery ect you want to flash, put the phone in fastboot mode and connect it to your pc, copy the .img file to the tools folder inside your android sdk, open a command prompt and navigate to the same tools folder. then use the command (example for a radio) fastboot flash radio xxxxxx.img if its a standard update.zip though just flash it through recovery.
Thanks alot buddy!

[Q]Now what?

So, I have succesfuly gained the AlphaRev HBOOT (thanks guys!).
But...now what?
How do I root and install CM7?
see attn1's guide with complete steps.
http://forum.xda-developers.com/showthread.php?t=1122694
---------------------------------------------------------------------------------
I will also try to explain it.
Just download the wildfire buzz recovery from the above link (attn1's guide). Then extract the recovery img file. Rename it to "recovery.img" for simplifying the method. Then u need the working android sdk (along with google usb driver installed. Better just install HTC DRIVER). Keep this img file in the fastboot.exe folder of sdk. Then connect wildfire to pc via usb cable in fastboot mode. Then open command prompt and CD into the fastboot.exe folder. Then enter the command fastboot flash recovery recovery.img where the file name is recovery.img as said above. That's all u now have the clockworkmod custom recovery.
Then if u want to use the same stock 2.2.1 rom , then u can root it by downloading "su-2.3.6.1-ef-signed.zip" from the same above attn1's guide. U should put that zip file in the memory card and install it from the custom recovery.....(install zip from sdcard > Choose zip from sdcard). That's all. Then install rom manager from market. This step is completely not necessary if u want to flash a custom rom. And custom rom can be flashed from the custom recovery with the same method...(install zip from sdcard > Choose zip from sdcard).
---------------------------------------------------------------------------------------
Actualy, I figured it out on my own, but thanks for helping
Okej, please can someone explain EVERYTHING. And i mean EVERYTHING, from step to step. My english isn't the best and i haven't got a masters exam in rooting.
"Then open command prompt and CD into the fastboot.exe folder."
..."and cd into the fastboot.exe folder?" Please explain this. CD= command?
And how do i do that? Gaaah, im getting crazy! And how to install the HTC Android USB Driver for Microsoft PC when all i get is some crazy files?
zagorje said:
Okej, please can someone explain EVERYTHING. And i mean EVERYTHING, from step to step. My english isn't the best and i haven't got a masters exam in rooting.
"Then open command prompt and CD into the fastboot.exe folder."
..."and cd into the fastboot.exe folder?" Please explain this. CD= command?
And how do i do that? Gaaah, im getting crazy! And how to install the HTC Android USB Driver for Microsoft PC when all i get is some crazy files?
Click to expand...
Click to collapse
CD = change directory in command prompt. Pls make a google search or see this.
Assuming the path of fastboot.exe in C:\android-sdk-windows\tools of ur computer. And assuming that u have already downloaded android sdk.
Then type the command cd.. and press enter untill u get to root of c drive
Then type the command cd android-sdk-windows and press enter
Then type the command cd tools and press enter.
Then u can use the fastboot flash recovery recovery.img command. And remember to keep the recovery.img in the path C:\android-sdk-windows\tools
"Then u can use the fastboot flash recovery recovery.img command."
after this says waiting for device....any suggestions? tx
gogusteliade said:
"Then u can use the fastboot flash recovery recovery.img command."
after this says waiting for device....any suggestions? tx
Click to expand...
Click to collapse
U need the google usb driver. Find hboot drivers and install. Try to install htc driver (simple method) which will be 13MB in size.
If u get that even after doing so, then just connect wildfire in fastboot mode and wait for sometime till it detects the phone. Something like within 2min.
Sent from my HTC Wildfire using XDA App

From AlphaRev-Recovery to AmonRa

Hey guys. Sure it has been asked already. But I tried different ways to flash AmonRa and no one worked. Want to change the recovery because AlphaRevs version is not able to flash radio images.
Tried via:
-Rom Manager (Can't choose "Flash alternate Recovery")
-Unrevoked (unspecified error while rooting)
So what can i do else?
Thx!
phone is certainly rooted and s-offed
Have you tried Android Flasher?
Are you s-off? If yes, do it via fastboot.
But remenber: If you restore a nandroid backup made with clockworkmod by using amonra, you will get an usb brick.
Sent from Oxygen
how? just copy img to root-directory and go into fastboot?
This video will help u... its simply via Terminal Emulator... very simple method..
http://www.youtube.com/watch?v=4dHVdAtG1Ew
andineupert said:
how? just copy img to root-directory and go into fastboot?
Click to expand...
Click to collapse
Get android sdk and the needed drivers:
http://wiki.cyanogenmod.com/wiki/Howto:_Install_the_Android_SDK
Copy the recovery.img to the tools folder of android sdk. Boot your phone into fastboot, connect your phone to your computer, open command and there the tools folder of android sdk and type
Code:
fastboot devices
Now it should the serial number of your device. If it does, type
Code:
fastboot erase recovery
fastboot flash recovery recovery.img
thx! will try it later this day.

TUT SDK and Fastboot commands

Hi together!
Since this is a topic where people ask regularly, I try to make a little TUT.
I hope it is helpful.
I am a noob myself, so please don't go on me
Please feel free to correct me if I am wrong or if I missed some important stuff.
What you need:
1.
SDK Tool (type in your browser: developer.android.com/sdk/index.html)
Once you are on that page, download the package and install it.
2.
after the install process has finished, you have to install some packages.
Important is the platform-tools package (there you find the most important commands)
3.
Locate the folder on the harddisk of your PC
4.a)
Push the Windows(Start) Buttom and type: cmd
This opens the command prompt
Now get into the root of the android folder (e.g. cd.. until you get into root of your harddisk)
(on my PC, it looks like this:
cd android
cd platform-tools)
4.b)
Just one thing to make it a little easier to come into the right folder:
Open the folder with the fastbootfiles in a window.
Go to command line and type cmd and the cmd.exe will be shown in the menu.
Drag & Drop the cmd.exe into the opened fastboot folder.
When you now open this cmd, it shows the right folder at the start and you can easily type the commands without navigation through folders.
credits go to Neo XL
5.
Your phone has to be in fastboot-USB mode and connected to PC in order to understand the commands
6.
Once you are in platform-tools folder, you can type commands
Most common commands are:
fastboot erase cache (sometimes helps if phone is in HTC bootloop)
fastboot flash boot (name of boot image / e.g. boot_1.2.3.img) (this is, like the name says, to flash a boot image)
fastboot flash recovery (name of recovery.img
fastboot oem lock ( to relock your phone, in case you have or want to flash a RUU)
fastboot flash unlocktoken Unlock_code.bin (to unlock again, if you already got the unlock key from HTCDev)
Flash firmware.zip using following terminal commands:
Please rename first downloaded .zip package to firmware.zip
fastboot oem rebootRUU
fastboot flash zip firmware.zip
This is almost obsolete, since we have the new Recovery 5.8.3.1 with Mount USB, but it is still good to know
to push ROM to SD card, if you were running superwipe without copying the rom file onto sd
1. You need recovery.img in your fastboot directory
2. Go into bootloader and connect phone
3. Then use: "fastboot boot recovery.img" (thus booting your image from pc and not the installed recovery).
4. When in recovery, you can use the adb commands.
5. You can try with "adb devices" which should show you serial of phone.
6. command: adb push rom_rom.zip /sdcard
credits to broncogr for finding that adb works if you use fastboot boot command and to Jotha for helping me out!
Or try following:
Copy rom to your adb-directory on PC
Switch OFF phone
Connect phone to PC
Wait until you hear the "USB-Connect"-sound on PC
Go into command window in adb-directory
Type "adb push rom.zip /sdcard/"
(where rom.zip is name of rom-file)
pushing is rather slow so it will take a while. Eventually you get an "OK". Then you can go into recovery and flash it.
Credits go to Jotha
Updated link
[TOOL][27/04] Automated Fastboot Commands For HTC One X continued
http://forum.xda-developers.com/showthread.php?t=1634786
credits go to TeAm Hex
For now, this is what I can think of, for sure there are many more commands, but hopefully we don't need them, but like I said, feel free and put them in here
I hope this will help some noobs, like myself!
If this helped you, please push THANKS
thanks! this will stop us noob's, spamming up dev's thread's.
Thanks for you efforts
First time with real android phone, this is good!
Thanks mate
Sent from my HTC One X using xda premium
Can you add the command to push the custom rom to sdcard without mout USB via CWM ?
Just one thing to make it a little easyer to come into the right folder:
Open the folder with the fastbootfiles in a window.
Go to command line and type cmd and the cmd.exe will be shown in the menu. Drag & Drop the cmd.exe into the opened fastboot folder.
When you now open this cmd, it shows the right folder at the start and you can easyly type the commands without navigation through folders.
incident said:
Can you add the command to push the custom rom to sdcard without mout USB via CWM ?
Click to expand...
Click to collapse
Would be great, if this is possible! But as far as I know, it not possible.
Edit:
It is possible now! Updated post!
Sent from my HTC One X using XDA
hello I have problem with loading boot.img in fastboot
sdk is open, phone is conncted to comp on fastboot usb mode , image is on disc c in folder fastboot and still recive this info
c:\fastboot>fastboot flash boot boot.img
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
c:\fastboot>
pls help me with that
ok I fix this, that was problem with missing fastboot.exe and was no connection betwen phone and computer
this link helps fix that
http://dottech.org/tipsntricks/21534/how-to-install-adb-and-fastboot-on-your-windows-computer-for-use-with-your-android-phone/
You have to copy the Boot.img into the folder, where fastboot-, adb commands are situated (c:/andoid/platform-tools)
Then Open cmd. Go to platform-tools folder and from there it should work.
Sent from my HTC One X using XDA
Thanx man, but is fixed now, I did this by follow the instr. in page from my last post, and goes perfect. I just flashed new rom with 1.8 base and iam now on the bright side of life.
PS sorry for my english
@OP, last time I tried fastboot boot command it gave me device not found message(no problem when fastboot flash). What's the correct approach to make it work? I recently updated to 1.28 and I want to stay in stock for the mean time.
Sent either from my Arc or One X using xda premium
You can add the adb and fastboot directory path to the environment path in windows settings. You can then use adb and fastboot outside of the platform tools directory, but still in command prompt of course
Sent from my HTC One X using Tapatalk 2
I'm following your tutorial to the letter but whenever i use fastboot boot recovery.img it refuses to go into recovery. But i can boot into recovery manually and when i do there still isnt any adb devices connected.
Stuart.upton666 said:
I'm following your tutorial to the letter but whenever i use fastboot boot recovery.img it refuses to go into recovery. But i can boot into recovery manually and when i do there still isnt any adb devices connected.
Click to expand...
Click to collapse
3. Then use: "fastboot boot recovery.img" (thus booting your image from pc and not the installed recovery).
4. When in recovery, you can use the adb commands.
5. You can try with "adb devices" which should show you serial of phone.
6. command: adb push rom_rom.zip /sdcard
In point 3, it is not supposed to boot into recovery. Its for booting your recovery.img (e.g. recovery-clockwork-touch-5.8.3.1-endeavoru.img ) from PC. After this step you will automatically boot into Recovery. From there you can use adb commands.
Did you try "adb devices"?
I tried it myself and it works!
This guide is great... Thanks!
Sent from my HTC One X using xda premium
tonyhagger said:
This guide is great... Thanks!
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Thank you, Sir! Some kind of feedback is always appreciated !
Hi about Push to SDCARD command
My questions in Blue
to push ROM to SD card, if you were running superwipe without copying the rom file onto sd
1. You need recovery.img in your fastboot directory - Should i use signed recovery ?
2. Go into bootloader and connect phone
3. Then use: "fastboot boot recovery.img" (thus booting your image from pc and not the installed recovery).
4. When in recovery, you can use the adb commands.
5. You can try with "adb devices" which should show you serial of phone.
6. command: adb push rom_rom.zip /sdcard
incident said:
My questions in Blue
to push ROM to SD card, if you were running superwipe without copying the rom file onto sd
1. You need recovery.img in your fastboot directory - Should i use signed recovery ?
2. Go into bootloader and connect phone
3. Then use: "fastboot boot recovery.img" (thus booting your image from pc and not the installed recovery).
4. When in recovery, you can use the adb commands.
5. You can try with "adb devices" which should show you serial of phone.
6. command: adb push rom_rom.zip /sdcard
Click to expand...
Click to collapse
Take the newest CWM recovery.
Sent from my Desire HD using XDA
incident said:
My questions in Blue
to push ROM to SD card, if you were running superwipe without copying the rom file onto sd
1. You need recovery.img in your fastboot directory - Should i use signed recovery ?
2. Go into bootloader and connect phone
3. Then use: "fastboot boot recovery.img" (thus booting your image from pc and not the installed recovery).
4. When in recovery, you can use the adb commands.
5. You can try with "adb devices" which should show you serial of phone.
6. command: adb push rom_rom.zip /sdcard
Click to expand...
Click to collapse
Asking about number 6,since after push rom into sd card using adb command. How long will it takes rom to place in sd card? My adb command just stuck after push rom without inform is it done or not.
And where did the push file goes? Seems I can't find it in CWM. I'm using latest cwm, but no zip file found in my sd card.
TEKONG84 said:
[/COLOR]
Asking about number 6,since after push rom into sd card using adb command. How long will it takes rom to place in sd card? My adb command just stuck after push rom without inform is it done or not.
And where did the push file goes? Seems I can't find it in CWM. I'm using latest cwm, but no zip file found in my sd card.
Click to expand...
Click to collapse
Rom should be on root of Sd.
If this is not working, you can try to use the command while phone is powered off. I am not a dev, but I read something like that:
"Switch off your phone, connect to pc, wait until it is detected by windows and use: adb push nameofrom.zip /sdcard/" thats what Jotha told someone on ARHD Thread.
Try that and tell us if it worked.
Sent from my Desire HD using XDA

[Q] Problem with installing clockwork

Hi,
I want to have a custom Rom on my htc one x but I have problems with installing clockwork. After entering '' fastboot flash recovery recovery-clockwork-touch-5.8.4.0-endeavoru'' I get an error: cannot 'load recovery-clockwork-touch-5.8.4.0-endeavoru'. I followed all the steps but everytime I get that. Anyone know what I should do to install it.
hitb73 said:
Hi,
I want to have a custom Rom on my htc one x but I have problems with installing clockwork. After entering '' fastboot flash recovery recovery-clockwork-touch-5.8.4.0-endeavoru'' I get an error: cannot 'load recovery-clockwork-touch-5.8.4.0-endeavoru'. I followed all the steps but everytime I get that. Anyone know what I should do to install it.
Click to expand...
Click to collapse
Easier to rename the img file to CWM
Place it in the folder that contains fastboot, adb etc within android sdk on your pc.
Put phone into fastboot usb
Open cmd on pc
CD C:/Android-SDK/platform-tools
fastboot flash recovery CWM.img
(you need an unlocked bootloader obviously to do all of the above)
Sent from my HTC One X using Tapatalk 2
You have forgotten to use the extension .img in the filename.
eyosen said:
You have forgotten to use the extension .img in the filename.
Click to expand...
Click to collapse
I did try with extension .img I received same error
Are you using international one x with tegra 3 cpu? If so, try renaming the img file to something like cwm.img as chris suggests and try flashing. Phone must be in fastboot mode showing fastboot usb on the display. You can use fastboot devices command to make sure phone is recognized.
chrisjcks said:
Easier to rename the img file to CWM
Place it in your fastboot folder within android sdk
Put phone into fastboot usb
Open cmd on pc
CD C:/Android-SDK/platform-tools
fastboot flash recovery CWM.img
(you need an unlocked bootloader obviously to do all of the above)
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
I changed filename to CWM.img and replaced it in the map platform-tools
This is the location: C:\Users\Hosseini\AppData\Local\Android\android-sdk\platform-tools
What should I type into the cmd now.
Many thnx
chrisjcks said:
Easier to rename the img file to CWM
Open cmd on pc
CD C:/Android-SDK/platform-tools
fastboot flash recovery CWM.img
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
Change your directory to with
Cd C:\Users\Hosseini\AppData\Local\Android\android-sdk\platform-tools
and use above command
hitb73 said:
I changed filename to CWM.img and replaced it in the map platform-tools
This is the location: C:\Users\Hosseini\AppData\Local\Android\android-sdk\platform-tools
What should I type into the cmd now.
Many thnx
Click to expand...
Click to collapse
Bloody he'll,
Where have you installed android sdk to on your pc?
Default is to the root of C:/ (c:/android-sdk)
But some people choose to install within program files
-----
I'd recommend re-installing android sdk, because your location is just a big pain in the buttcheeks.
Basically, the first command after your phone is in fastboot usb is the location of this folder,
CD C:/location of platform-tools folder
The second command is
fastboot flash recovery imagename.img
(yes, you have to put img on the end)
---
If you chose to keep the location of your Android sdk, the first command must include the full path of your platform tools folder (which inside has your cwm img)
Your choice
Sent from my HTC One X using Tapatalk 2

Categories

Resources