No more recovery - Desire Q&A, Help & Troubleshooting

Hello! First of all sorry for my explanations but i'm not English. I'm S-off and tried to flash a new recovery through Android Flasher but since I can't acces the recovery anymore ! Please help me I would be grateful

Try it via fastboot.
1.Download the desired recovery .img file from the site.
2. Download android SDK from official site, and run SDK Manager. When it is running, then install the platform-tools (revision 3 ATM), too.
3. Copy the file (.img) you downloaded into the android SDK folder, where fastboot.exe is located.
4. Reboot your phone into fastboot (holding down BACK+POWER keys when the phone is switched off) - it should show FASTBOOT USB.
4a. Make sure you have the USB drivers installed (for me HTC sync is not needed, i used the UNREVOKED USB drivers instead)
5. Fastboot flash. navigate to your android SDK directory in Command Promt (CMD.EXE) then run these commands:
a, fastboot flash recovery clockworkmod2518.img (or whatever is the name of the file)
b, fastboot reboot-bootloader
c, fastboot erase cache
6. You have now the recovery installed.

You don't have to have access to the recovery to flash anything that uses fastboot. For fastboot do what davebugyi said, if you want to use the Android Flasher, just boot into the rom or even better, boot into the bootloader. It works a charm. Fastboot has never worked for me for some weird reason, never have gotten it to work but the Android Flasher works.

Related

[Q] Can't flash img-files. Need tips!

I want to update radio and clockwork mod recovery but I can't flash image files. I tried two ways the below one being the first:
"1. Extract the contents of the radio zip package. You should have radio.img file in it.
2. Copy/move the radio.img file to “Tools” directory of the Android SDK setup. Fastboot.exe will also be located in the same folder.
3. Connect the Phone to computer via USB cable.
5. Open the command prompt and run the following command:
adb reboot bootloader
fastboot flash radio radio.img
6. Wait for the radio flash to complete.
After flashing is completed, reboot your Android phone. It should boot with the new Radio ROM! That’s it. You have successfully installed Radio.img on your Android Phone."
I couldn't run the fastboot command. After reboot to bootloader I couldn't connect to the desire. All I got was an error message saying "device not found". What's up with that? I do have the right drivers (at least i think so). Before the reboot the device was found all right. I rebooted via the command prompt and it worked just fine. USB debugging was activated all the time.
The second method I tried was using android terminal (trying to flash the new recovery) like this:
su
flash_image recovery /sdcard/recovery.img
The super user command worked fine but the next one didn't. Another error message "flash_image not found"
This has nothing to do with the recovery image not being in the right place or me misspelling. Tried it many times belive me. What seems to be the case is that I don't have flash_image on my phone.
Am I missing something here. I'm new to rooting and installing ROMs so I figure I might
Background:
I just recently rooted my Desire. I wanted more space for apps and to get rid of many apps included in the stock ROM.
I searched all over the place and figured Redux to be the ROM for me. I used the unrevoked method too root and Alpharev 1.8 to S-off. I use the Oxygen HBOOT flashed via the zip-file from Alpharev. I don't think I've ever used adb to flash images since I never had to.
Any ideas?
1. Install the HBOOT drivers form unrevoked site (From here.)
2. Download android SDK from their site and install it + platform tools, revision 3 (from SDK MANAGER).
3. Reboot the phone into fastboot (POWER + BACK key). Should say FASTBOOT USB.
4. Run CMD.EXE and navigate to your folder where is fastboot.exe is located (android-sdk-\tools) on your hard drive.
5. run command (e.g. fastboot flash radio xyz.img)
6. run command reboot-bootloader
Sorry, for the noobish instructions, but this should work, I just did it yesterday.
Don't worry, I'm a noob
I have already done 1 and 2. All drivers are up to date. I do get to FASTBOOT USB when doing 3 but then I can't execute any adb commands due to my device not being found.
Weirdly I can see Android Phone 1 on my laptop where you unmount en externel drive.
I might just do steps 1 and 2 over again.
For now I managed flashing the new Clockwork Mod Recovery using a guide suggesting to download a flash_image file extracted from one of the cyanogenmod ROMs and pushing it to the system/bin directory on the phone. adb commands works fine when the phone is completely rebooted so I could do that. Then I just used Terminal Emulator to flash the recovery image.
Thanks for your instructions!

Help with Android Flasher

I am trying to change my recovery with this tool but have come up against problems. I open up the program and then select recovery. The phone then reboots into fastboot usb as expected and then it say can not find recovery.img. I obviously have put the recovery img in the data folder and have also tried renaming it recovery.img. I am sure I am being thick but I have spent a bit of time and thought someone must have a quick answer?
Thanks in advance
You have to put the recovery.img in some place on your computer, not on the phone.
Swyped from my HTC Desire using XDA App
The recovery image is on the computer in the date folder that is created by unzipping andriod flasher, all the drivers are installed and I am s off etc.
I hope the recovery you want to flash is for your phone?!
I would give up android flasher, and do it directly via fastboot:
Copy recovery.img in the folder of android sdk, open command line, go to tools folder of android sdk, boot your phone into fastboot, connect it to your computer via usb and enter:
Code:
fastboot flash recovery recovery.img
Swyped from my HTC Desire using XDA App
I am simply trying to flash CWM 3.2.0.1 I think it is, think I might just leave it with the alpha rev recovery that came as part of the s off procedure
hi,
to do what mattdroid says, you need adb sdk install or brwse to your android flasher with cmd line.
best is to declare variable environnement into win.
quiet simple:
1/righ click onto my computer sekect property
2/select adnvanced tab
3/ hit environment varaiables button
4/first part [user environment variable for (users)]
===> select new - a popup come up into variable name write [path] whitout bracket
==============================>variable value write [c:\the path\whereandroidflasheris] whitout bracket.
now just log off and log in.
open dos prompt and just type:
Code:
fastboot erase recovery
fastboot flash recovery c:\wheretherecoveryis\recovery.img
fastboot reboot
should do the trick
hope this help

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.

How do I use Fastboot?

Hello, I have my HTC Desire running the following:
AlphaRev Oxygen r2
Oxygen 2.1.6
S-Off
HBOOT 6.93.1002
Radio: 32_54_00.32U_5.14.05.17
Now, I have always flashed radios, ROMS, HBOOT etc... inside of my phone, so using images in recovery and so on. But, now, apparently you can no longer flash radios inside of Clockwork Recovery because apparently the cache memory isn't large enough to handle them.
As such, you have to use Fastboot and "fastboot flash radio radio.img". How do I do this? Has anyone got a guide on how to do this? I want to update my radio to 5.17.05.23 but cannot at the moment.
Any advice?
you need to connect your phone to the computer and reboot into fastboot mode (hold down Vol down + back button).
you'll need to have the android SDK installed prior.
navigate to fastboot mode.
head on to CMD on your pc, navigate to C:\program files\android\android-sdk\[i think its tools or platform-tools, use the command dir to list the directory. make sure fastboot.exe is in tht folder].
once in there, type "fastboot flash radio radio.img". (radio.img can be the name of the .img file you downloaded)
make sure your img is in the same folder too.
do0b said:
you need to connect your phone to the computer and reboot into fastboot mode (hold down Vol down + back button).
you'll need to have the android SDK installed prior.
navigate to fastboot mode.
head on to CMD on your pc, navigate to C:\program files\android\android-sdk\[i think its tools or platform-tools, use the command dir to list the directory. make sure fastboot.exe is in tht folder].
once in there, type "fastboot flash radio radio.img". (radio.img can be the name of the .img file you downloaded)
make sure your img is in the same folder too.
Click to expand...
Click to collapse
Excellent. So I need to get the SDK first. Is that something I can grab from Google's site or... ?
everything you need to know here for sdk
Nice guide about adb and fastboot by suroot:
http://androidforums.com/desire-all...fastboot-windows-updated-1st-june-2011-a.html
Sent from Oxygen
Or you can use the Android Flasher tool:
http://forum.xda-developers.com/showthread.php?t=794638
So... I installed the Java SE JDK in order to run the Android SDK... but... when ever I try and run the latter it just won't recognise that I have the JDK installed. Any ideas?
I'm wondering if it is because I installed the 64bit JDK, not the 32bit.
Works great now. Had to install the 32bit JDK and then took me a while to work out where adbwinapi.dll was
i had problem with fastboot.exe not able to find adbwinapi.dll so i moved fastboot.exe into the folder where adbwinapi.dll was (platform-tools i think). and it worked.

help rooting?

I have the latest driver's installed.
I have tried multiple adb drivers and multiple windows 10 computers with no luck
I have downloaded latest firmware. I extracted it. I got the boot img. I loaded it on my phone.
I patched it with magisk.
When I open up cmd promo and type fastboot devices I'm given an id
But when I go to flash the boot img cmd says partion not there. Can someone please help?
Jmcarls20 said:
I have the latest driver's installed.
I have tried multiple adb drivers and multiple windows 10 computers with no luck
I have downloaded latest firmware. I extracted it. I got the boot img. I loaded it on my phone.
I patched it with magisk.
When I open up cmd promo and type fastboot devices I'm given an id
But when I go to flash the boot img cmd says partion not there. Can someone please help?
Click to expand...
Click to collapse
I patched it with magisk. , This file need to be in adb folder .
Are you trying to adb sideliad or fastboot it?
Personally i would use the following command:
Fastboot flash boot magisk_patched.img
This of course assumes a few things:
1) that you have put the phone in bootloader mode
2) that you are connected via usb cable to a pc
3) that the adb devices command shows your device
4) that you didn't rename the patched boot image file magisk created for you
5) that the fastboot, adb and patched magisk file are all in the same location and that you issued that command from that same location.
Not trying to ignore the topic of this thread, but shouldn't this be under discussions? It's currently under ROMs and Kernels and Development, which is reserved for new projects rather than questions about rooting..

Categories

Resources