[Q] Flashing recovery.img through terminal - myTouch 4G Q&A, Help & Troubleshooting

Every time I've tried too flash a recovery through terminal I get "flash_image: not found " can any one help with this problem and yes the recovery.img is in the root of the sdcard

shadowdroid said:
Every time I've tried too flash a recovery through terminal I get "flash_image: not found " can any one help with this problem and yes the recovery.img is in the root of the sdcard
Click to expand...
Click to collapse
Yesterday I did so much research about this because I was trying to flash the stock recovery back onto the phone. Unfortunately the terminal method does not work but do not quote me on this.
I was able to flash the stock recovery via fastboot using adb on my computer...
Sent from my HTC Glacier using XDA App

Yeah haha but I can't get fast boot too work on my computer idk why

shadowdroid said:
Yeah haha but I can't get fast boot too work on my computer idk why
Click to expand...
Click to collapse
Do you have the correct files and did you set it up?
Sent from my HTC Glacier using XDA App

I also cannot get fastboot to work even though adb does. I have dL various files with all the drivers(pda net included) and tried installing manually and adb works just fine but no fastboot. I have read and followed various guides to the letter and all end up with the same result-adb is fine but no fastboot. Does anyone have any idea what the problem might be? Perhaps I am not getting into fastboot on the mt4g, Could someone give me step by step directions in actually getting the phone into fastboot? I would gladly donate for the help.

I can't find the right drivers for it on my computer but I have the android sdk and stuff do you know what drivers I need?

the one that came with the sd card works perfectly fine for me.

Related

Help trying to flash amon ra

i am trying to flash amon ra,s recovery image on my nexus one. i have unlocked it and rooted. for some reason it keeps on telling me file not found. iam doing this thru the treminal app. is there any other way of doing it ?
go to Amons recovery page.... he has posted lot of ways to flash it...... if all fails come back here and ask.......
chowdarygm said:
go to Amons recovery page.... he has posted lot of ways to flash it...... if all fails come back here and ask.......
Click to expand...
Click to collapse
ive already did that still wont install
go to Amons recovery page.... he has posted lot of ways to flash it...... if all fails come back here and ask.......
Click to expand...
Click to collapse
ive already did that still wont install
Click to expand...
Click to collapse
Oh... thats really sad... did u rename the recovery image as per the commands u r giving ?
-------------------------------------
Sent via the XDA Tapatalk App
chowdarygm said:
Oh... thats really sad... did u rename the recovery image as per the commands u r giving ?
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
yea is there a way of flashing it thru terminal on mac? like the way i unlocked it and rooted
helpppppppp
flashboot-mac flash recovery recovery-RA-nexus-v1.7.0.img
is this wrong?
Hey man, it sounds like either you don't know how a filesystem works, or how a terminal works. Unless you skipped the step on downloading fastboot-mac. If you didn't skip that step, you need to actually change into the directory where you downloaded that file to be able to run it.
If you have fastboot installed. Make sure you have the recovery.img file in the same directory as fastboot to flash. Preferable in the 'tools' directory.
timal said:
If you have fastboot installed. Make sure you have the recovery.img file in the same directory as fastboot to flash. Preferable in the 'tools' directory.
Click to expand...
Click to collapse
Or you can just do fastboot-mac flash recovery *drag image onto terminal window*
I believe when you flash through terminal on mac it should be ./fastboot flash recovery ./recovery-RA-nexus-v1.7.0.img
mich11128 said:
I believe when you flash through terminal on mac it should be ./fastboot flash recovery ./recovery-RA-nexus-v1.7.0.img
Click to expand...
Click to collapse
I completely forgot about that! I modified my bash_profile so all I have to do is type adb or fastboot and then the command.
Instructions here:
http://forum.xda-developers.com/showpost.php?p=5691126&postcount=319
oh ok I hadn't tried that when I first rooted so I just stuck to typing out "./" but that's good I'll give that a try in the future

[Q] Bricked my Desire Z

It seems I bricked my Desire Z. That'll teach me for messing with custom roms
I only get the bootloader (the white screen with coloured text). Everything I do from there either does nothing or just goes to a white screen with a green HTC logo and then hangs.
I tried flashing Cyanogenmod by renaming the zip pc10img.zip, this failed. I tried installing an official G2 rom from the SD, this also failed. When I turn the thing on I get a green HTC logo, when I try to go to recovery it's the same story.
Can anyone help me get my phone back to life?
When you get in to recovery are you getting any error messages?
Have you tried restoring a nandroid backup or trying a different sd card?
And re-naming a rom to PC10IMG.zip will never work
I don't get an error message, it just hangs at the HTC logo. Same when I reboot the phone.
I don't have a backup since the last time I tried using one, it didn't work. Besides, I don't have Clockwork so I wouldn't be able to restore it even if I had one
Neko Koneko said:
I don't get an error message, it just hangs at the HTC logo. Same when I reboot the phone.
I don't have a backup since the last time I tried using one, it didn't work. Besides, I don't have Clockwork so I wouldn't be able to restore it even if I had one
Click to expand...
Click to collapse
You cant get in to clockwork. have you tried using adb?
Not yet. Is it possible to flash a rom or even just clockwork through adb?
I'm sorry for being such a n00b about this, I'm just not that experienced yet with android devices. Used to change roms on my WinMo device all the time but Android's... quite different
If you have the ENG Hboot you can flash the recovery from fastboot....
If you have the sdk set up on your computer do the command (after putting the clockwork recovery in your sdk folder):
fastboot flash recovery recovery.img
then go to the recovery, wipe and flash
I now have the issue that ADB won't see the phone. The phone says HBOOT USB PLUG so it knows it's connected through USB, it shows up in my device manager but ADB won't recognise it. Any suggestions?
adb won't work in hboot/fastboot mode, you need to get the fastboot executable.
It might be in your tools folder for adb.
You can make sure its working by running 'fastboot devices'
-Nipqer
Nipqer said:
adb won't work in hboot/fastboot mode, you need to get the fastboot executable.
It might be in your tools folder for adb.
You can make sure its working by running 'fastboot devices'
-Nipqer
Click to expand...
Click to collapse
Thanks! Fastboot detects the device Now I can try to fix stuff.
It worked! I managed to install Clockwork Recovery using Fastboot and after that installing Cyanogenmod was a piece of cake Thanks you guys!
The most important thing I learned from playing with roms is how to read the manual. Be careful out there.
Sent from my HTC Vision using XDA Premium App
Ahem, guys, where can I find fastboot executable? I checked everywhere in the android-sdk directory but I can't find it. I even updated to the latest SDK tools, and yet fastboot is still MIA.
Always and I mean ALWAYS create backups of your working roms, I cannot stress this enough.
You can copy files onto your sdcard using adb then force boot into cwm. Thank goodness for adb
Sent from Space using Tapatalk Pro

I bricked my Nexus S. Please help.

I tried looking around the forums to see if someone has had this problem before. Couldn't find something similar.
I had stock 4.0.3 installed and I saw today that 4.0.4 was being pushed out. Since 4.0.3 wasn't a stock build I tried to downgrade to 2.3.6 in order to keep everything stock. I rooted the phone, installed the ROM Manager and flashed 2.3.6 through Clockworkmod Recovery. Everything went smoothly but when I powered on the phone force quit messages kept popping up and I can't get past the welcome screen. When I go into Fastboot mode and try to go in Recovery mode it just shows the Android symbol and a warning sign. I tried flashing a recovery .zip file I found online through fastboot but couldn't manage to do it (I'm on Mac OSX)
Can someone please help me? I'm completely desperate and wouldn't care about erasing everything (I think I already did, actually).
Thanks in advance.
flash a recovery.img
that multiple fc happened to me when i installed a i9023 rom on my i9020a.
unzip the recovery.zip and flash the .img file through fastboot and make sure you have the right rom for your model
Thank man, but that's what I tried to do. I got confused and wrote that it was a .zip up there. I'm really confused and couldn't flash the .img. Could you walk me through it? or point me to a thread that shows me how to do it?
im not sure how a mac is set up, i can walk you through flashing it on windows through command prompt ...
Please do that. I guess I can try to work it out.
Thanks
http://nexusshacks.com/nexus-s-root/how-to-root-nexus-s-or-nexus-s-4g-on-ics-or-gingerbread/
memorize that lol it saved me.
you can skip the root part, but it explains how to set up the pc so it'll read the nexus with the correct drivers and whatnot, and what commands to run to flash the recovery. then when youre in the recovery, mount as usb, copy over 2.3.6 (the right one!) and install from zip.
I just tried that. I get this message: "error: cannot load 'twrp-crespo-2.0.0RC0.img'" I don't know what to do!
Can you get into boot loader mode?
Have you tried to use Odin?
http://forum.xda-developers.com/showthread.php?t=947950&highlight=odin
Sent from my Nexus S 4G using XDA Premium App
colettamiguel said:
I just tried that. I get this message: "error: cannot load 'twrp-crespo-2.0.0RC0.img'" I don't know what to do!
Click to expand...
Click to collapse
Did you unlock your bootloader?
Code:
fastboot oem unlock

Lg G2 LS980 Will not boot

I had stock android installed. And I had rooted. I tried to use flashify to install TWRP, but every time it rebooted it would go into fastboot mode. well, I didn't think it would be an issue if I decided to just let the stock update run it's course instead of flashing a rom. So I had the OTA for kitkat run. The phone rebooted, and will only boot into fastboot, and download mode. I need help to get back to stock of any form, root or no root. Please? I am quite far from any repair center at a hotel for the next few days, so Wi-Fi is quite slow.
i
eddytheyeti2 said:
I had stock android installed. And I had rooted. I tried to use flashify to install TWRP, but every time it rebooted it would go into fastboot mode. well, I didn't think it would be an issue if I decided to just let the stock update run it's course instead of flashing a rom. So I had the OTA for kitkat run. The phone rebooted, and will only boot into fastboot, and download mode. I need help to get back to stock of any form, root or no root. Please? I am quite far from any repair center at a hotel for the next few days, so Wi-Fi is quite slow.
Click to expand...
Click to collapse
at least u need to download another stock firmware to flash it through recovery
:good:
x102x96x said:
at least u need to download another stock firmware to flash it through recovery
:good:
Click to expand...
Click to collapse
I don't have a recovery. I'm at fastboot or download. No recovery...
i
eddytheyeti2 said:
I don't have a recovery. I'm at fastboot or download. No recovery...
Click to expand...
Click to collapse
so flash recovery by adb and then use recovery to install rom
:good:
Hit Thanks
flash twrp to it, while in fast boot using ADB
http://download1983.mediafire.com/k2ahkbsh07sg/wk6p32jj5hg2px9/twrp_2.6.3.3_loki-ls980.img
Cronic2009 said:
flash twrp to it, while in fast boot using ADB
http://download1983.mediafire.com/k2ahkbsh07sg/wk6p32jj5hg2px9/twrp_2.6.3.3_loki-ls980.img
Click to expand...
Click to collapse
Instructions please?
When I flash twrp, should I flash a nonstock rom, or stock? Can you direct me to stock downloads.
open command prompt in ADB and execute
fastboot flash twrpls980.img
*make sure you put the downloaded image in the adb folder or you will have to include the path to where the file is located.
I was on a stock ROM when I flashed it, here you can find some stock files. http://downloads.codefi.re/autoprime/LG/LG_G2/LS980/Stock_Firmware
Cronic2009 said:
open command prompt in ADB and execute
fastboot flash twrpls980.img
*make sure you put the downloaded image in the adb folder or you will have to include the path to where the file is located.
I was on a stock ROM when I flashed it, here you can find some stock files. http://downloads.codefi.re/autoprime/LG/LG_G2/LS980/Stock_Firmware
Click to expand...
Click to collapse
Can I get a link to download ADB for Windows 8? Is that all I need to type? What if I'm using a different recovery image?
What is the sprint stick rom from that download link?
sorry misread your previous post, those .zips are flashable through TWRP, here is a LS980 ZVA ROM, both odexed/deodexed, http://forum.xda-developers.com/showthread.php?t=2630748
you can flash a custom ROM if you would like, look at the thread in my signature it has tons of custom ROMs and kernels
Cronic2009 said:
sorry misread your previous post, those .zips are flashable through TWRP, here is a LS980 ZVA ROM, both odexed/deodexed, http://forum.xda-developers.com/showthread.php?t=2630748
you can flash a custom ROM if you would like, look at the thread in my signature it has tons of custom ROMs and kernels
Click to expand...
Click to collapse
ADB download?
Download this > http://download1983.mediafire.com/k2...loki-ls980.img
put it in your ADB folder and rename it to recovery.img ( just easier to find it )
plug the phone in
open Command Prompt in ADB folder ( hold shift + windows button in ADB folder )
fastboot flash recovery.img ( if you are using a different recovery image, sub it here, fastboot flash blank.img)
this should give you TWRP recovery, you can the use the .zips to update ROMs
CroI ic2009;518ADB12 said:
Download this > http://download1983.mediafire.com/k2...loki-ls980.img
put it in your ADB folder and rename it to recovery.img ( just easier to find it )
plug the phone in
open Command Prompt in ADB folder ( hold shift + windows button in ADB folder )
fastboot flash recovery.img ( if you are using a different recovery image, sub it here, fastboot flash blank.img)
this should give you TWRP recovery, you can the use the .zips to update ROMs
Click to expand...
Click to collapse
Where do i download adb?
ADB download here http://forum.xda-developers.com/showthread.php?t=2588979
Cronic2009 said:
ADB download here http://forum.xda-developers.com/showthread.php?t=2588979
Click to expand...
Click to collapse
One last question. How do I put ROMs onto the phone in recovery mode?I don't have any rom files for the phone at all yet. Can I flash with ADB?
eddytheyeti2 said:
One last question. How do I put ROMs onto the phone in recovery mode?I don't have any rom files for the phone at all yet. Can I flash with ADB?
Click to expand...
Click to collapse
All these things can be done through ADB yes. Didn't you have to download ADB to root in the first place? You shouldnt have to download again. However if you want to check start up a command prompt and type adb devices. That should pop up something if you have adb installed. I'm not sure if you need to be in a parent folder first though.
Sent from my LG-LS980 using XDA Premium 4 mobile app
Demonlinx said:
All these things can be done through ADB yes. Didn't you have to download ADB to root in the first place? You shouldnt have to download again. However if you want to check start up a command prompt and type adb devices. That should pop up something if you have adb installed. I'm not sure if you need to be in a parent folder first though.
Sent from my LG-LS980 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I used ioroot, so no ADB. I'm also not by my laptop at all. Would the rom install command be flash fastboot **********. Zip?
eddytheyeti2 said:
I used ioroot, so no ADB. I'm also not by my laptop at all. Would the rom install comand be flash fastboot **********. Zip?
Click to expand...
Click to collapse
Not if you don't have ADB installed.
Demonlinx said:
Not if you don't have ADB installed.
Click to expand...
Click to collapse
I'm going to download ADB today.
Cronic2009 said:
ADB download here http://forum.xda-developers.com/showthread.php?t=2588979
Click to expand...
Click to collapse
So, I have ADB installed. I am on windows 8 though, and the shift+windows button are not opening the prompt. Furthermore when I plug my phone in the computer says "windows cannot find 'C:\ Program Files (X86)\Mobogenie\Mobogenie.exe'. Make sure you typed the name correctly, and then try again" I have no clue what Mobogenie is!
Advice? if there is any for me?
Edit: I can get the ADB window open, but when I type the command "fastboot flash twrp_2.6.3.3_loki-ls980"
I get the following:
unknown partition 'twrp_2.6.3.3_loki-ls980'
error: cannot determine image filename for 'twrp_2.6.3.3_loki-ls980'
I am not sure what to do... Is the Mobogenie the issue? I have all of the proper drivers installed. though I don't see my device in computer on the laptop. Help please? I don't think I can take the device into sprint or lg, because it was rooted.

[Q] D801 - Can no longer boot after bad flash

I would really appreciate some help on this one... I attempted to flash the updated Mahdi Rom (09/20 build) this morning. I'm using the latest Philz Recovery if that matters. I performed the normal wipe procedure and when I went to flash the rom it told me the file was invalid. I think I might have tried to use a zip that wasn't fully downloaded.
I didn't have any other recoveries on my phone (I know... not smart) so I need to figure out how to flash a new rom without using recovery. I'm not completely hopeless and I'm willing to do what it takes to get my phone back!
Any help would be great! Thanks.
Have you tried adb? Your phone will be called sideload when you command adb devices.
Sent from my LG-D800 using Tapatalk
I haven't yet been able to since I don't have access to a windows PC at the moment, just a MAC. Can it be performed there?
Rogueharvest said:
I haven't yet been able to since I don't have access to a windows PC at the moment, just a MAC. Can it be performed there?
Click to expand...
Click to collapse
You can load adb on Mac. I believe there's a zip somewhere on xda with only the three files need, or download the package from Android. Place it in whatever your username folder is too make life easier. Also add ./ (dot slash) before every command.
Here's the command order for my setup.
cd Android/platform-tools
./adb devices
./adb sideload **DRAG FILE INTO TERMINAL**
Thank you for your help. I got ADB to load on my mac but it won't accept the prompt to sideload. Am I missing something perhaps?
Update: I think I figured it out. The command prompt needed to be reinitiated.
Thanks again for you help! Moments like that are always a little scary!
Rogueharvest said:
Thank you for your help. I got ADB to load on my mac but it won't accept the prompt to sideload. Am I missing something perhaps?
Click to expand...
Click to collapse
Does it recognize sideload when you type ./adb devices? If not and you're in adb on Philz unplug/replug the charger.

Categories

Resources