I got my HTC One unlocked and am now trying to flash twrp recovery, but I'm hitting a wall. When I type in the cmd window "fastboot flash recovery
open recovery-twrp-2.6.3.0-m7.img" it responds back " fastboot is not recognized as an internal or external command, operable program or batch file."
What am I doing wrong?
you usually get that when you type it wrong just rename the file name to recovery.img
jerrycoffman45 said:
you usually get that when you type it wrong just rename the file name to recovery.img
Click to expand...
Click to collapse
Still getting the same message. Any other ideas?
You're not in the right directory or your not in fastboot usb.
Fastboot reboot-bootloader
Then run the commands to flash the recovery
Sent from my HTC One using Tapatalk 4
xcrazydx said:
You're not in the right directory or your not in fastboot usb.
Fastboot reboot-bootloader
Then run the commands to flash the recovery
Sent from my HTC One using Tapatalk 4
Click to expand...
Click to collapse
Thanks guy! I got it.
Related
hey all,
well i unlocked my bootloader okay.. i used the android super toolbox (.bat file) and choose to flash a recovery.img i choose the Amonra option but it installed CWM recovery instead...and now I cannot get Amonra to succussfully flash, so that I can root. Any help?!
Reboot boot loader and use fast boot to flash amon ra. I think its called recovery.img and its in the tools folder of that tool. Put it in the folder you have adb and fasboot and then while in boot loader do fastboot flash recovery recovery.img
Sent from my ADR6425LVW using xda premium
andrewp3481 said:
Reboot boot loader and use fast boot to flash amon ra.
Sent from my ADR6425LVW using xda premium
Click to expand...
Click to collapse
i did
fastboot flash recovery "nameofrecovery"
i even used the CleanFLASH tool and still no luck
Make sure you're in fast boot mode and you can see in the command prompt it sent it
So go to boot loader then click on fastboot
Sent from my HTC Rezound™ using XDA Premium
phillybizzle said:
i did
fastboot flash recovery "nameofrecovery"
i even used the CleanFLASH tool and still no luck
Click to expand...
Click to collapse
When you did "nameofrecovery" did you put. Img at the end? "Nameofrecovery.img"
Sent from my ADR6425LVW using XDA App
phillybizzle said:
i did
fastboot flash recovery "nameofrecovery"
Click to expand...
Click to collapse
Make sure you add .img to the end of the recovery file name. I forgot once and got an error.
phillybizzle said:
i did
fastboot flash recovery "nameofrecovery"
i even used the CleanFLASH tool and still no luck
Click to expand...
Click to collapse
This is kind of wrong... I'm assuming you've CD (changed directories) to the platform-tools in order to use fastboot. With that being the case, you'll want to specify the "path of the recovery" not the "name of the recovery" + .img of course.
mpalatsi said:
This is kind of wrong... I'm assuming you've CD (changed directories) to the platform-tools in order to use fastboot. With that being the case, you'll want to specify the "path of the recovery" not the "name of the recovery" + .img of course.
Click to expand...
Click to collapse
to verify
CD /
CD/ Root (where i have all my adb stuff)
CD:/Root fastboot flash recovery recovery-ra-vigor-3.13-gnm.img ??
can i rename the file to simply amonra.img?
phillybizzle said:
to verify
CD /
CD/ Root (where i have all my adb stuff)
CD:/Root fastboot flash recovery recovery-ra-vigor-3.13-gnm.img ??
can i rename the file to simply amonra.img?
Click to expand...
Click to collapse
You are placing the recovery image in the same folder correct ? but yes that would be the correct path. I don't know why you would change name as long as you are typing it in correctly.
I always change the name to make it easier to type. Example: cwm-touch.img or recovery.img. I never leave it all crazy like "clockwork-vigor-5.5.1-recovery.img"
Sent from my HTC Rezound™ using XDA Premium
I got it! Go to system devices on your PC and make sure you have the drivers installed correctly. This happened to me with my nexus.
Sent from my HTC Rezound™ using XDA Premium
andrewp3481 said:
I got it! Go to system devices on your PC and make sure you have the drivers installed correctly. This happened to me with my nexus.
Sent from my HTC Rezound™ using XDA Premium
Click to expand...
Click to collapse
I just did it though ubuntu.... god i love linux lol thanks all for ur input
i did notice this on the hboot screen
Open DSP v10.6.0.7611.00.0919
maybe that was there before, but i just noticed it. anything in the name of S-Off!
What is the error you are getting?
The phone is in fastboot, yes? It says "fastboot usb"?
Are you using a folder named "Root" or do you just have your stuff all loose in root? I would keep it in a folder, name it whatever you like, android or something. Put everything you need in there, including the recovery zip file.
Open cmd prompt.
cd c:\android
fastboot flash recovery nameofrecovery.img
That should do it. I've attached a pic of what I have in my folder which is all you need in there.
OK so for reasons beyond me, I can't flash any sense 4.0 roms due to constant boot up as if kernel is not installing, even tho sense 3.6 kernels and roms install just fine. Also I can lock and unlock bootloader thru ADB and well and flash recovery, but if I try flashing bootimg I get an error "device not found" message??? I am s-on, on global firmware and prior to this problem was running cm9. I've RUUed back to stock several times with the problem still continuing. ALL, and I do all help is appreciated.
You try adb devices?
Did you try to fastboot flash boot nameofimage.img?
Sent from my ADR6425LVW using xda app-developers app
Squirrel1620 said:
You try adb devices?
Did you try to fastboot flash boot nameofimage.img?
Sent from my ADR6425LVW using xda app-developers app
Click to expand...
Click to collapse
You cant do it in adb. You must be in fastboot. Make sure the device is seen by typing "fastboot devices" while in fastboot. Then flash the boot.img with "fastboot flash boot boot.img"
cslingerland said:
You cant do it in adb. You must be in fastboot. Make sure the device is seen by typing "fastboot devices" while in fastboot. Then flash the boot.img with "fastboot flash boot boot.img"
Click to expand...
Click to collapse
I'll try that and report back. Still what could have cause the problem I wonder
Sent from my ADR6425LVW using xda premium
ghostt021 said:
I'll try that and report back. Still what could have cause the problem I wonder
Sent from my ADR6425LVW using xda premium
Click to expand...
Click to collapse
Not sure... boot your phone to bootloader by using "adb reboot bootloader" then see if it shows up when you type "fastboot devices". if it does then you should be good to go
cslingerland said:
Not sure... boot your phone to bootloader by using "adb reboot bootloader" then see if it shows up when you type "fastboot devices". if it does then you should be good to go
Click to expand...
Click to collapse
Got " fastboot devices" is not recognized as an internal or external command, operable program or batch file.
Sent from my ADR6425LVW using xda premium
ghostt021 said:
Got " fastboot devices" is not recognized as an internal or external command, operable program or batch file.
Sent from my ADR6425LVW using xda premium
Click to expand...
Click to collapse
You have to download it seperately... I cant look right now but a quick google search on rezound fastboot should do it. It isnt included with adb
Edit: got a chance to look it up. here you go. put the boot.img file in the same directory that this is installed and then do the previously mentioned steps.
http://www.mediafire.com/?4dx982z93w8z7wk
cslingerland said:
You have to download it seperately... I cant look right now but a quick google search on rezound fastboot should do it. It isnt included with adb
Edit: got a chance to look it up. here you go. put the boot.img file in the same directory that this is installed and then do the previously mentioned steps.
http://www.mediafire.com/?4dx982z93w8z7wk
Click to expand...
Click to collapse
Easiest way I find to get the right directory is to browse on your computer to the folder where fastboot.exe is located. For me it's C:\Android SDK\platform-tools
In other words when I open that platform tools folder the contents are adb.exe, fastboot.exe, good stuff like that.
So my exact steps are press start button in windows, choose "computer" from the start menu. Double click the C driver, double click Android SDK and then I'll see platform tools.
**Here's the important part**
Hold down shift, right click on "platform tools" and then choose the option "Open Command Window Here" from the right click dialog box. Holding shift gives you those extra options. I would have my boot.img file inside the platform tools folder because that's where fastboot.exe is located.
So shift and right click on platform tools, then click on "Open Command Window Here" and then make sure the phone is in fastboot-usb mode (boot to hboot and if it doesn't say fastboot USB at the top in bright red, you need to select fastboot from the list), and type the command "fastboot flash boot boot.img" without the quotes and press enter. When It's done writing use the command fastboot reboot or manually reboot and you should be good to go.
CharliesTheMan said:
Easiest way I find to get the right directory is to browse on your computer to the folder where fastboot.exe is located. For me it's C:\Android SDK\platform-tools
In other words when I open that platform tools folder the contents are adb.exe, fastboot.exe, good stuff like that.
So my exact steps are press start button in windows, choose "computer" from the start menu. Double click the C driver, double click Android SDK and then I'll see platform tools.
**Here's the important part**
Hold down shift, right click on "platform tools" and then choose the option "Open Command Window Here" from the right click dialog box. Holding shift gives you those extra options. I would have my boot.img file inside the platform tools folder because that's where fastboot.exe is located.
So shift and right click on platform tools, then click on "Open Command Window Here" and then make sure the phone is in fastboot-usb mode (boot to hboot and if it doesn't say fastboot USB at the top in bright red, you need to select fastboot from the list), and type the command "fastboot flash boot boot.img" without the quotes and press enter. When It's done writing use the command fastboot reboot or manually reboot and you should be good to go.
Click to expand...
Click to collapse
Think I've figured out the problem. It's not fastboot, but somewhere in the installation of the kernel. Kernel installs but the only kernels that will boot are 3.6 ones. All others regardless of kernel or Rom combo simply continuously boots or bootloops. Also computer see device in fastboot.... I'm clueless at this point.
Sent from my ADR6425LVW using xda premium
Hi guys please help.
Dont know if I posted it in the right placed.
I cant post it in the relevant thread since it is a dev thread and i'm a noob
So this is my first android so i'm basically super noob (my technical record was to Jailbreak an iPhone)
My error seem pretty simple but I could not figure it out.
I'm trying to flash the CM10 ROM according to this:
http://forum.xda-developers.com/showthread.php?t=2027304
What i have managed to do:
Unlock bootloader.
root with RootBoot V5.
install SU and flashed TWRP recovery for Intl version with the amazing Hasson2000 all-in-one tool.
Where I got stuck:
now i downloaded the CM rom zip file and the its specific kernel.
changed the kernel name to: boot.img
placed the file in the kernel folder (of the tool).
hit the flash kernerl (marked the 'with this command').
the CMD window opened, and showed this error:
error: cannot load 'Kernels/boot.img'
picture - http://sdrv.ms/YtPHoU
triple checked the file name and the right directory
I would appreciate any help!
Thanks
My device:
HTC One X+ international unbranded
1.14.401.16
I think your making things too complicated using this kernel flasher software.
Just download and install the Android SDK. Once installed find the platform-tools folder, copy your kernel .img to that folder, connect your phone in fastboot mode. Then hold shift and right click, choose open command window from the contex menu. Then just type into the prompt "fastboot flash boot boot.img" (or the name of the .img).
Done
Sent from my HTC One X+ using Tapatalk 2
ummmm why are you adb pushing?? the command is:
just put it in the folder where ever fastboot and adb is
fastboot flash boot boot.img
Lloir said:
ummmm why are you adb pushing?? the command is:
just put it in the folder where ever fastboot and adb is
fastboot flash boot boot.img
Click to expand...
Click to collapse
AndroHero said:
I think your making things too complicated using this kernel flasher software.
Just download and install the Android SDK. Once installed find the platform-tools folder, copy your kernel .img to that folder, connect your phone in fastboot mode. Then hold shift and right click, choose open command window from the contex menu. Then just type into the prompt "fastboot flash boot boot.img" (or the name of the .img).
Done
Sent from my HTC One X+ using Tapatalk 2
Click to expand...
Click to collapse
Thank you guys for helping me.
I tried both methods and recieved the same error in both of them in CMD:
error: cannot load boot.img
Lloyr method:
4 files in fastboot folder:
adb
AdbWinApi.dll
fastboot
boot.img
entered fastboot from device ----> plug in to pc (debugging is on by default) ----> run CMD from this folder----> writing command "fastboot flash boot boot.img" -----> error message
AndroHero method:
download the Android SDK (zip file named adt-bundle-windows-x86) and exract it to desktop.
in the folder adt-bundle-windows-x86, i went to "sdk" and then "platform tools".
copied the boot.img file to "platform tool" folder and ran the CMD from this folder.
typed the command "fastboot flash boot boot.img" and boom ----> error: cannot load boot.img
thanks again
>.< you NEED to be in bootloader
type in adb reboot bootloader and make sure you are in fastboot usb (select it if it's not already done for you)
then
fastboot flash boot boot.img
Lloir said:
>.< you NEED to be in bootloader
type in adb reboot bootloader and make sure you are in fastboot usb (select it if it's not already done for you)
then
fastboot flash boot boot.img
Click to expand...
Click to collapse
Sorry if I didn't mention that.
i was on fastboot USB.
showed fastboot USB on a red backround.
I tried once again with both methods and i recieved another error message in the SDK methos:
error: cannot load 'boot.img': Unknown error
I attached file with step by step screen shot for the whole process (both methods).
Just thought...did you rename it boot.img? If so and file extensions are hidden then it will be boot.IMG.IMG so remove .IMG and it should work fine
Sent from my HTC One X+ using xda app-developers app
Make sure you installed HTC Sync (htc site) and the drivers will come with it. (you can later remove sync, drivers will stay)
Then enter fastboot trough vol down + power > choose fastboot ... plug your phone to PC and wait sec for driver install.
Make sure u see Fastboot USB in fastboot
Go prompt admin mode and go to your c:/fastboot map (put boot.img in there)
And type
Code:
fastboot flash boot boot.img
After that install recovery and rom and boot.
Lloir said:
Just thought...did you rename it boot.img? If so and file extensions are hidden then it will be boot.IMG.IMG so remove .IMG and it should work fine
Sent from my HTC One X+ using xda app-developers app
Click to expand...
Click to collapse
WORKED!!!!!!!
Lloir YOU R the best!!
flashed the kernel
then followed instruction how to backup and flash from the TWRP
running joyfully your CM10 ROM right now.
It's Amazing!
Thank you thank you thank you!!
I'm trying to flash the engineering hboot using Argumentation's "PL83IMG.zip". After I boot into the "black HTC screen" and run the fastboot command it responds with: error: cannot load "PL83IMG.zip"
Any thoughts on why this is happening
Are you opening the cmd prompt in the folder where the zip is.
Sent from my HTC6435LVW using xda app-developers app
Bigandrewgold said:
Are you opening the cms prompt in the folder where the zip is.
Sent from my HTC6435LVW using xda app-developers app
Click to expand...
Click to collapse
I don't believe so, the only text I have entered into terminal is "adb reboot bootloader" "fastboot oem rebootRUU" "fastboot flash PL183IMG.zip"
Edit:
Sorry I misunderstood the question. Didn't realize I needed to cd to the correct folder again. Thanks for your help :good:
mcdsmaster8824 said:
I don't believe so, the only text I have entered into terminal is "adb reboot bootloader" "fastboot oem rebootRUU" "fastboot flash PL183IMG.zip"
Edit:
Sorry I misunderstood the question. Didn't realize I needed to cd to the correct folder again. Thanks for your help :good:
Click to expand...
Click to collapse
Good to hear you got it sorted out.
And just for future refrenxe, what I meant is that you can simply shift right click in the folder with the zip and click open cmd prompt hear. It's easier than cding to the folder after you open the command prompt.
Sent from my HTC6435LVW using xda app-developers app
mcdsmaster8824 said:
I'm trying to flash the engineering hboot using Argumentation's "PL83IMG.zip". After I boot into the "black HTC screen" and run the fastboot command it responds with: error: cannot load "PL83IMG.zip"
Any thoughts on why this is happening
Click to expand...
Click to collapse
I wrote the commands expecting the person to have the .zip in the same folder as fastboot and adb, if you don't and you want to point it somewhere else, you would do something like this:
Code:
fastboot oem rebootRUU
fastboot flash zip /(placeofzip)/(zipname.zip)
fastboot reboot
Sent from my HTC6435LVW using xda app-developers app
Argumentation said:
I wrote the commands expecting the person to have the .zip in the same folder as fastboot and adb, if you don't and you want to point it somewhere else, you would do something like this:
Code:
fastboot oem rebootRUU
fastboot flash zip /(placeofzip)/(zipname.zip)
fastboot reboot
Sent from my HTC6435LVW using xda app-developers app
Click to expand...
Click to collapse
I did have the .zip in my "android" folder where I keep fastboot and adb. I've noticed that when I've been flashing things, anytime I boot into RUU that my terminal window seems to "forget" what folder I'm running the commands from. Any chance this is because I'm on a mac and using terminal?
Either way, it's not a big deal since I can at least recognize when I need to cd again before running a command.
mcdsmaster8824 said:
I did have the .zip in my "android" folder where I keep fastboot and adb. I've noticed that when I've been flashing things, anytime I boot into RUU that my terminal window seems to "forget" what folder I'm running the commands from. Any chance this is because I'm on a mac and using terminal?
Either way, it's not a big deal since I can at least recognize when I need to cd again before running a command.
Click to expand...
Click to collapse
It might be, I don't know how adb and fastboot work on Mac since I don't have one.
Hey guys, im currently using claudly cwm and i want to switch to nexus prime twrp.
So how can i delete the cwm i currently have and install twrp instead?
Sent from my HTC Desire X using xda app-developers app
just flash it over cwm. There is no need to uninstall it
Sent from my HTC Desire X using xda app-developers app
w1040 said:
Hey guys, im currently using claudly cwm and i want to switch to nexus prime twrp.
So how can i delete the cwm i currently have and install twrp instead?
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
Just the way you flashed cwm by clauddy,
download my twrp recovery.img.
Use the command fastboot.exe flash recovery recovery.img (<--- my file)
and then reboot in recovery.
Regards
Yasir
neXus PRIME said:
Just the way you flashed cwm by clauddy,
download my twrp recovery.img.
Use the command fastboot.exe flash recovery recovery.img (<--- my file)
and then reboot in recovery.
Regards
Yasir
Click to expand...
Click to collapse
how to enter flashboot again?
im sorry its been a while i didnt do this kind of stuff
If you have your phone turned on and USB debugging enabled, just issue the command
Code:
adb reboot bootloader
to boot directly to fastboot.
dansou901 said:
If you have your phone turned on and USB debugging enabled, just issue the command
Code:
adb reboot bootloader
to boot directly to fastboot.
Click to expand...
Click to collapse
How and where do i issue the command?
Please dont flame me.
Sent from my HTC Desire X using xda app-developers app
No problem. You have to open a terminal and go to the folder where adb.exe and fastboot.exe are. There you just type adb.exe reboot bootloader
Sent from my HTC Desire X using xda premium
adb reboot bootloader
Go in fast boot
fastboot flash recovery recovery.img
Sent from my HTC Desire X using xda app-developers app
prototype-U said:
adb reboot bootloader
Go in fast boot
Click to expand...
Click to collapse
The adb reboot bootloader will go directly to fastboot, at least for me...
dansou901 said:
The adb reboot bootloader will go directly to fastboot, at least for me...
Click to expand...
Click to collapse
That's right. Once you type adb reboot bootloader, wait a few seconds to restart, do not select nothing else and just type fastboot flash recovery recovery.img and reboot when it's finished.
Regards
Enviado desde mi HTC Desire X usando Tapatalk 2
from where do i type the command such as adb reboot-bootloader and fastboot flash recovery c:\recoveryname.img???
do i type it from cmd or something? im confused.
i already in fastboot i guess by pressing volum down button when phone restarts
in the same folder that you have adb.exe, fastboot.exe, and your recovery.img, SHIFT + RIGHT CLICK on an empty space and choose 'Open command window here'
From here, making sure your device is in fastboot mode, type:
fastboot flash recovery recovery.img
do i need my usb debugging to be on?
w1040 said:
do i need my usb debugging to be on?
Click to expand...
Click to collapse
You need to be on fastboot mode (Reboot->Vol- & Power->Go on fastboot)
xpirt
ah.. nvm guys finally it worked. i already switched recovery from cwm to twrp.
thank you all
so here is what i should do since beginning
1. put your recovery.img file to where adb.exe and fastboot.exe located
2. connect phone to pc
3. hold power button and choose restart then wait till all buttons and screen goes off
4. hold down volume down button
5. select fastboot
6. shift+recovery on where adb.exe and fastboot.exe located to open cmd
7. then just type this command " fastboot flash recovery recovery.img " and press enter
8. done
LOLOL. im actually stuck at part 6 this whole time!!!!! THANKS!!!