Flash ClockwordMod Recovery *ERROR* - G2 and Desire Z Q&A, Help & Troubleshooting

My phone is rooted, Super User is running for ROM manager. I get an error every time i click "Flash ClockwordMod Recovery" HTC G2 is clicked, then i get the error "An error occured while flashing your recovery"
Help please, Im rooted and SU is running fine. I also have busybox.. not that it has anything to do with it. I just want to install a custom rom. thanks

i am having the exact same problem as well. could it be a problem with the server side?

Could be the download.
You could always use the manual method.

I all ready have CWM 3.0.0.5 installed i've just gone in to rom manager and tried to flash and older recovery and I'm getting the same error. There is a manual method, trying to find it now and will post here when I do
Sent from my HTC Vision using XDA App

Same issue, if someone can post the latest recovery file. It lives somewhere in the clockworkmod directory on the sd card. If you can also tell us what the directory is, we should be able to place the recovery in the same directory. That way rom manager will not try to download. thanks.

OK download recovery image from here http://mrcellphoneunlocker.com/recovery.img you will need to do this from your pc not your phone then transfer to your sdcard don't put in a file though and rename to recovery.img
I then open termianl emulator and type in
su
flash_image recovery /sdcard/recovery.img
I don't think this version of CWM is up todays though
Sent from my HTC Vision using XDA App

Quoted my self instead of editing

Thanks, but to get latest recovery image, can you do as I suggest and get the recovery image from the clockword mod directory on the sd card? If can also tell us what the full directory path is, we can 'trick' rom manager into not needing to download. Thanks.

I
saquib said:
Thanks, but to get latest recovery image, can you do as I suggest and get the recovery image from the clockword mod directory on the sd card? If can also tell us what the full directory path is, we can 'trick' rom manager into not needing to download. Thanks.
Click to expand...
Click to collapse
I've looked but I can't find it. I've searched the forums and I can't find a direct download for the latest recovery ill keep looking though. If not I'm sure I have a copy on my pc.
Sent from my HTC Vision using XDA App

Recoveries are here:
http://mirror.kanged.net/recoveries/
Anyone got the flash_image script?

saquib said:
Anyone got the flash_image script?
Click to expand...
Click to collapse
flash_image is a binary not a script, in any case you can get it here:
http://forum.xda-developers.com/showthread.php?t=902493

Related

[Q] Returning HTC Vision to Stock

Hey Guys,
So I've been playing around with SDK using adb commands.
I been successful replacing stock ROM with a custom ROM.
Rooting and Unrooting.
Semi-bricking and getting it back.
Extracting a ROM file from an RUU and flashing it successfully.
Problem: the closest I can get to stock is a stock system with clockwork mod recovery flashed. Or Android system 3e recovery with the Superuser app installed on the system.
I've read posts that say to mount the system/ folder using
mount /system, mount -o remount, rw system/ , etc
all give me permission denied when I: rm /system/app/Superuser.apk
I've read that you must be recovery mode to mount system/ folder but when in recovery mode I cannot get connected with running: adb shell. error device not found.
So can anyone help me either remove Superuser.apk from my system/app folder or flash "Android recovery system 3e" without Superuser being installed?
I wish there was an RUU for Bell Mobility 1.34.666.5 floating around.
Thanks guys
HTC Vision
1.34.666.5
I'm driving and just skimmed through your post, but have you installed a pc10img through the booatloader? That is suppost to bring everything back to stock.
Sent from my HTC Vision using XDA Premium App
I did try using a PC10IMG.zip file using bootloader. But the only PC10IMG file that I could find was software version 1.34.666.1. I actually used this method to recover from a semi-brick state. (phone would not move past HTC boot screen)
I tried replacing the system.img file from the PC10IMG.zip that worked. But I believe that having S-ON prevented the new PC10IMG file to proceed. Which was probably a good thing as substituting the system.img file probably wasn't smart.
I've read that flash PC10IMG files with S-OFF is risky. If this is my best option. Can anyone give me a heads up as to what to double check for?
Thanks again for anyones input.
did you try this?http://forum.xda-developers.com/showthread.php?t=835971
Thanks for your reply.
Not sure this will help. If I had the files that corresponds to a
Bell Mobility 1.34.666.5 Stock Factory Bootloader / Recovery / ROM / Kernel I could get it no problem.
The hex editor I believe would be something new for me to try. But I believe this would only help if I am trying to apply software that is older then the software currently installed. This is not the case here.
Has anyone ever used clockwork mod recovery files to make a working PC10IMG.zip file that I could flash at startup using hboot?
I think you need to downgrade use the hex editor n flash the PC10Img
Sent from my SGH-T959 using XDA Premium App
Flashed my own PC10IMG.zip file with the new system.img file inserted. Only had to have S-OFF to do.
Unfortunately, this did not work. Phone boots to HTC screen and freezes.
Back to my original problem. Anyway to remove Clockwork recovery without installing Superuser.apk. or Anyway to uninstall Superuser.apk

[Q] ADB & Rooting to load clockwork mod

Hi,
I'm following the tutorial here: http://forum.xda-developers.com/showthread.php?t=1739426
I am on the 3rd option and am trying to load the latest clockworkmod on my GS3, I have it downloaded, but it is an .img file.
The tutorial says:
if you download this recovery you will need to extract this file (if you have issues extracting try removing the .md5 extension first) to get a recovery.img file and copy to your phone's internal /sdcard
connect your phone to computer and use adb
type adb shell
once in the shell run su
then
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p18
Can someone please explain this in more detail? I am looking for links to the ADB program I need as-well as how to use it to apply those commands.
Also I am having a hit-or-miss issues with Windows reading my phone as an external device, the phone reads as an established MTP connection but Windows sometimes reads it, or does not. What am I doing wrong here?
Thank you.
Info:
Phone: Samsung-SGH-I747
Carrier: AT&T
Andriod Version: 4.1.1
OS: Windows 8 64Bit
Samsung Software: Kies 2.5.0.12114_1
Here is how I done it. It's in a zip file if you already have the non-touch version installed. All you need to do with this is install from SD from CWM recovery. None of the adb stuff has to be messed with. 7th post.
http://forum.xda-developers.com/showthread.php?t=1877761
Edit: This was on down in the post you quoted. If you don't have any CWM recovery installed, then do the below, then install the above touch version zip from sd in CWM recovery.
Third, alternate #3 if unfamiliar with adb commands and uncomfortable using any command line
Decide if you want to use TWRP or CWM.
If you would like to install ClockworkMod recovery then grab Rom Manager from the Play store and in the menu select to install ClockworkMod Recovery.
I am no expert by any means but you have to run those commands in the command prompt (DOS) system. Hit the start menu and find the run and type in cmd and that will open up command line or it should be in the Accessories folder as well.
If Windows sometimes doesn't recognize your phone I would uninstall and re install the drivers to see if that helps.
I have a heck of a time to get ADB and everything working when I first started so I know how you feel. Just keep reading the forums and everything and you will get it to work.
bo.benson said:
Here is how I done it. It's in a zip file if you already have the non-touch version installed. All you need to do with this is install from SD from CWM recovery. None of the adb stuff has to be messed with. 7th post.
http://forum.xda-developers.com/showthread.php?t=1877761
Edit: This was on down in the post you quoted. If you don't have any CWM recovery installed, then do the below, then install the above touch version zip from sd in CWM recovery.
Third, alternate #3 if unfamiliar with adb commands and uncomfortable using any command line
Decide if you want to use TWRP or CWM.
If you would like to install ClockworkMod recovery then grab Rom Manager from the Play store and in the menu select to install ClockworkMod Recovery.
Click to expand...
Click to collapse
Currently my phone has NO clockwork Mod installed, I am wanting to install the latest version ( recovery-clockwork-6.0.1.2-d2att ) I have this file in .img format, I am trying to figure out how to install it on my phone -- the tutorial says add it to your sdcard, I have done that, then it says connect to your phone and use ADB commands, that is the part where I need more information, also do I wipe cache/reset settings/dalvick cache during any of this process? Should my phone be in download mode when doing ADB commands or what specifically is where I do not understand.
I would like to understand the process more in-depth and ADB as well - opposed to going the RomManager route, from my research it seems that updates/versions are available first with that method.
Thanks
Kweli87 said:
Currently my phone has NO clockwork Mod installed, I am wanting to install the latest version ( recovery-clockwork-6.0.1.2-d2att ) I have this file in .img format, I am trying to figure out how to install it on my phone -- the tutorial says add it to your sdcard, I have done that, then it says connect to your phone and use ADB commands, that is the part where I need more information, also do I wipe cache/reset settings/dalvick cache during any of this process? Should my phone be in download mode when doing ADB commands or what specifically is where I do not understand.
Thanks
Click to expand...
Click to collapse
He gave you the link to the play store app in the post. It's android terminal emulator..type terminal emulator in play store its the top app.
I just merely gave you a second option which I did and functioned flawlessly. Grab Rom Manager from the play store and select the top option to flash CWM Recovery. It will ask you your phone type and carrier and then will give you the option to install it. Easier than the whole adb thing.
Ok that route did work, thanks.
Now I installed the latest CM10 Nightly - cm-10-20121206-NIGHTLY-d2att
And then rebooted and installed the latest Gapps - gapps-jb-20121011-signed
It does not seem that any of the google apps are in my apps
Also the Play Store no longer works....just "Connection Timed Out"
Specifically I am looking to use Google Now/G-Mail/Drive/Voice/etc...
Did I do something wrong? CWM said the Gapps installed successfully. Was I supposed to wipe cache somewhere?
Thanks for the help.
bo.benson said:
He gave you the link to the play store app in the post. It's android terminal emulator..type terminal emulator in play store its the top app.
I just merely gave you a second option which I did and functioned flawlessly. Grab Rom Manager from the play store and select the top option to flash CWM Recovery. It will ask you your phone type and carrier and then will give you the option to install it. Easier than the whole adb thing.
Click to expand...
Click to collapse
Kweli87 said:
Ok that route did work, thanks.
Now I installed the latest CM10 Nightly - cm-10-20121206-NIGHTLY-d2att
And then rebooted and installed the latest Gapps - gapps-jb-20121011-signed
It does not seem that any of the google apps are in my apps
Also the Play Store no longer works....just "Connection Timed Out"
Specifically I am looking to use Google Now/G-Mail/Drive/Voice/etc...
Did I do something wrong? CWM said the Gapps installed successfully. Was I supposed to wipe cache somewhere?
Thanks for the help.
Click to expand...
Click to collapse
I have not noticed that. I used the same Gapps file to do mine and everything worked fine on I believe the 11-30 NIGHTLY, no wiping that I remember. Now this was before I got on Official JB, was still back on stock ICS. Haven't flashed CM since upgrading. I will after today as battery life sucks on the Official, if it does the same to me I will let you know.
Touch version of CWM is pretty sweet, no accidental clicks too far with the volume keys, works right from your screen. That was the link in the first post I gave you. Download it to your SD, go into recovery and install it from SD.
Looks like mine had no problems with the gapps 11-30 nightly coming from LK3. Haven't got around to downloading the latest nightly yet. Will do today. Let me know if you got it resolved.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app

How to update TWRP?

I have been looking how to update TWRP from an older version on my phone. I haven't found a set of instructions. Could someone please tell me how ?
bfranc said:
I have been looking how to update TWRP from an older version on my phone. I haven't found a set of instructions. Could someone please tell me how ?
Click to expand...
Click to collapse
If you want the latest use goomanager in the play store.... if you want a different version than the latest go here http://forum.xda-developers.com/showthread.php?t=1639673
pottyvick said:
If you want the latest use goomanager in the play store.... if you want a different version than the latest go here http://forum.xda-developers.com/showthread.php?t=1639673
Click to expand...
Click to collapse
So do I use goo manager and just install the newer version over the old version using install script?
bfranc said:
So do I use goo manager and just install the newer version over the old version using install script?
Click to expand...
Click to collapse
Yes
socal-trucker said:
Yes
Click to expand...
Click to collapse
Thanks I wasn't sure
I installed the new image file using Install Open Recovery Script but now I have two image files in the goomanager directory. One is for the older recovery and the other is for 2.3.3.3.0. When I reboot into recovery it goes into the old recovery. Is it ok to delete the image file for the old recovery? I won't do any harm in doing this?
Following these instructions would be the easiest way to avoid any damage or trouble
1. http:// teamw . in/ project / twrp2 /101
2. Download the .img file for your phone and save it on your computer.
3. Rename the .img file to recovery.img and save it to your internal sd card of your phone. For example: recovery-clockwork-6.0.1.4-hercules.img ------> recovery.img
4. Open up Terminal Emulator on your phone and type the following 2 commands:
su
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p22
(please note the second command is a one line command with spaces between "dd & if=" and ".img & of=")
If your Rom identifies your internal sdcard as /emmc instead of /sdcard, then make the adjustment to command line (dd if=/emmc/recovery.img) instead of what is posted above.
(i cant do direct links sorry)

[RECOVERY] ClockworkMod Recovery 6.0.3.2

ClockworkMod Recovery Version 6.0.3.2 is now available officially for your T-Mobile Samsung Galaxy S 4. You can install ClockworkMod Recovery on your rooted T-Mobile Samsung Galaxy S 4 by installing ROM Manager. ROM Manager is available on the Google Play Store at:
https://play.google.com/store/apps/details?id=com.koushikdutta.rommanager
Alternatively you can download the ROM Manager APK directly from ClockworkMod.com at:
http://download.clockworkmod.com/recoveries/RomManager.apk
Once installed use the "Recovery Setup" section to install or update your recovery installation.
You can also install the latest version of ClockworkMod Recovery manually. The images for both the touch and non-touch version are available directly at:
http://www.clockworkmod.com/rommanager
Simply locate your device (T-Mobile Samsung Galaxy S 4) and download the linked image to the right. You can than flash it manually or with any tool designed to manually flash recovery images.
CHANGES-
Version 6.0.3.2 - Initial version listed here
We are picking up. Nice
How do I install a .IMG file (the CWM recovery download file) onto the S4? There is no FASTBOOT mode (or I can't access it for some reason).
Yes, I know I can use rom manager to install CWM, but that isn't my question.
I can confirm - it does work.
Thanks for the quick posting of this!
Oh boy! i'm getting my S4 sooner then i thought now lol. Monday? i sure hope so if not i'll have to wait til the weekend i think but oh man, CM10.1 here we come
Nice recovery I downloaded rom manager and installed the touch recovery and it's very good but the only problem is that the space between the text is really close to each other I mean you have a really big screen and it only uses less than a third u know what I mean? Just saying so far I like it but that's the only thing I find annoying
Sent from a phone better than yours!
lagunas11 said:
Nice recovery I downloaded rom manager and installed the touch recovery and it's very good but the only problem is that the space between the text is really close to each other I mean you have a really big screen and it only uses less than a third u know what I mean? Just saying so far I like it but that's the only thing I find annoying
Sent from a phone better than yours!
Click to expand...
Click to collapse
Exactly the problem I am having. I am wondering if R.M. is installing the proper version of touch. It's almost impossible to use. It also doesn't support gestures which makes it more difficult.
gweedo767 said:
ClockworkMod Recovery Version 6.0.3.2 is now available officially for your T-Mobile Samsung Galaxy S 4. You can install ClockworkMod Recovery on your rooted T-Mobile Samsung Galaxy S 4 by installing ROM Manager. ROM Manager is available on the Google Play Store at:
https://play.google.com/store/apps/details?id=com.koushikdutta.rommanager
Alternatively you can download the ROM Manager APK directly from ClockworkMod.com at:
http://download.clockworkmod.com/recoveries/RomManager.apk
Once installed use the "Recovery Setup" section to install or update your recovery installation.
You can also install the latest version of ClockworkMod Recovery manually. The images for both the touch and non-touch version are available directly at:
http://www.clockworkmod.com/rommanager
Simply locate your device (T-Mobile Samsung Galaxy S 4) and download the linked image to the right. You can than flash it manually or with any tool designed to manually flash recovery images.
CHANGES-
Version 6.0.3.2 - Initial version listed here
Click to expand...
Click to collapse
-1 i would prefer if you didnt submit this
not enough rainbows
Does anyone have instructions how to install the IMG. Via terminal emulator?
jbats said:
Does anyone have instructions how to install the IMG. Via terminal emulator?
Click to expand...
Click to collapse
Use Odin dude its way easier to install.. It takes less than 15 seconds to do it
Sent from a phone better than yours!
How do u flash IMG. In Odin? All I need to know is where the IMG. Goes in /system ?? That way you can manually install any IMG. Via terminal. @shabbypenguin any ideas? Your a wiz with this stuff :good:
jbats said:
How do u flash IMG. In Odin? All I need to know is where the IMG. Goes in /system ?? That way you can manually install any IMG. Via terminal. @shabbypenguin any ideas? Your a wiz with this stuff :good:
Click to expand...
Click to collapse
if you use adb sehll then be sure to follow these commands as well:
adb shell
su
then once in a rooted shell (or terminal emulator) be sure you know the exact location and name of clockworkmod recovery.img
dd if=/sdcard/cwmrecovery.img of=/dev/block/platform/msm.sdcc.1/by-name/recovery
replace the bold part with the name of the file
replace teh underlined with where it is located
Thx shabby, I'll use this when mine arrives on Monday. Might be a good idea to create a thread with these how to's. Love your work, used your methods when I got my t769.
Works like a charm! now waiting for some good ROMs im tired of this crappy STOCK boring Rom!
shabbypenguin said:
if you use adb sehll then be sure to follow these commands as well:
adb shell
su
then once in a rooted shell (or terminal emulator) be sure you know the exact location and name of clockworkmod recovery.img
dd if=/sdcard/cwmrecovery.img of=/dev/block/platform/msm.sdcc.1/by-name/recovery
replace the bold part with the name of the file
replace teh underlined with where it is located
Click to expand...
Click to collapse
I'm running this with files and locations set exactly as in your example and getting "no such directory or file." Must be missing something obvious.
hmmm try on external sd and change the path to match that then?
How do you switch between TWRP and CWM? The WICKED ROM requires TWRP, but I've always used CWM... I'd like to be able to switch without much trouble if needed.
shabbypenguin said:
hmmm try on external sd and change the path to match that then?
Click to expand...
Click to collapse
Tried that as well with same result. Triple checked path and spelling & case (if case even matters). Can you double check your command line and make sure there is no typo? Thanks
MisterEdF said:
Tried that as well with same result. Triple checked path and spelling & case (if case even matters).
Click to expand...
Click to collapse
it does
try teh direct mmcblk then
dd if=/sdcard/cwmrecovery.img of=/dev/block/mmcblk0p21
and see if that works for ya, before you try using the command "ls -l /path/to/cwmrecovery.img" without the quotes and make sure teh phone sees it
shabbypenguin said:
it does
try teh direct mmcblk then
dd if=/sdcard/cwmrecovery.img of=/dev/block/mmcblk0p21
and see if that works for ya, before you try using the command "ls -l /path/to/cwmrecovery.img" without the quotes and make sure teh phone sees it
Click to expand...
Click to collapse
Turns out the path to the extSdCard is actually /storage/extSdCard. Couldn't see the directory of the sdcard noway nohow. Can't figure out why. /storage/extSdCard worked.
Thanks.

Speed bump in Rooting process...

Hey guys, I am in the process of rooting my evo 4g using this method http://htcevohacks.com/htc-evo-hacks/how-to-root-htc-evo-4g-on-hboot-2-18-with-s-off/ since I have 2.18 hboot version. I have unzipped all the files from RootEvo4GNew, and the file recovery-RA-supersonic-v2.3.img does not have the .img extension on it when I unzip it to the correct folder, and when I try to flash that in the cmd prompt it says
unknown partition 'recovery-RA-supersonic-v2.3.img'
error: cannot determine image filename for 'recovery-RA-supersonic-v2.3.img
I am assuming it can't find the file because it doesn't have the extendion .img on it once extracted. Any ideas? The icon next to the file looks like a zip file and can't be opened by 7zip
See it looks like a winzip file instead of a image file
Ok so I uninstalled winzip and now just have 7zip and it now shows the file as an .img file but I am still getting the same error message when in the command prompt. What am I doing wrong? Here's another image to show you what I mean
furrycnorm said:
Ok so I uninstalled winzip and now just have 7zip and it now shows the file as an .img file but I am still getting the same error message when in the command prompt. What am I doing wrong? Here's another image to show you what I mean
Click to expand...
Click to collapse
Download one of these,it has install instructions and a few different custom recoveries to choose from,creds to Smelkus of course..... http://forum.xda-developers.com/showthread.php?t=2171460
Diablo67 said:
Download one of these,it has install instructions and a few different custom recoveries to choose from,creds to Smelkus of course..... http://forum.xda-developers.com/showthread.php?t=2171460
Click to expand...
Click to collapse
I downloaded and followed instructions, isn't working for me. It looks like the phone doesn't see the file when in bootloader, not sure if I renamed it right.
furrycnorm said:
I downloaded and followed instructions, isn't working for me. It looks like the phone doesn't see the file when in bootloader, not sure if I renamed it right.
Click to expand...
Click to collapse
Follow this http://windows.microsoft.com/en-US/windows-vista/show-or-hide-file-name-extensions to make sure the file extensions show correctly, and make sure you didn't dupe the extension.
sent from a jb ROM..... cause I'm likely testing.
Wambo_Bomb said:
Follow this http://windows.microsoft.com/en-US/windows-vista/show-or-hide-file-name-extensions to make sure the file extensions show correctly, and make sure you didn't dupe the extension.
sent from a jb ROM..... cause I'm likely testing.
Click to expand...
Click to collapse
Thanks for the advice, I think this may work as I did have one extension duped. Problem is when I run the recovery it says it's an older version than what I already have installed and asks if I want to restart the device. I also still can't get the phone to flashboot recovery recovery-RA-supersonic-v2.3.img and it still says unrecognized partition in the command prompt. Is there a way to flash this from the sc card or anything else you can think of to try?
furrycnorm said:
Thanks for the advice, I think this may work as I did have one extension duped. Problem is when I run the recovery it says it's an older version than what I already have installed and asks if I want to restart the device. I also still can't get the phone to flashboot recovery recovery-RA-supersonic-v2.3.img and it still says unrecognized partition in the command prompt. Is there a way to flash this from the sc card or anything else you can think of to try?
Click to expand...
Click to collapse
Are you trying to fastboot flash the recovery .img file to your phone? If so you need to use the command "fastboot flash recovery *insert file name here*" (without quotation marks or asterisks). The recovery img file has to be in your ADB tools folder, alstherwise, put the recovery PC36IMG.zip file in the root folder of your SD card, make sure it's named PC36IMG.zip with no extra .zip extension, and reboot your bootloader. Follow the on-screen prompts to update your recovery.
Sent from my EVO using xda premium
FinZ28 said:
Are you trying to fastboot flash the recovery .img file to your phone? If so you need to use the command "fastboot flash recovery *insert file name here*" (without quotation marks or asterisks). The recovery img file has to be in your ADB tools folder, alstherwise, put the recovery PC36IMG.zip file in the root folder of your SD card, make sure it's named PC36IMG.zip with no extra .zip extension, and reboot your bootloader. Follow the on-screen prompts to update your recovery.
Sent from my EVO using xda premium
Click to expand...
Click to collapse
wow I am retarded, my problem the whole time was that I was typing this:
fastboot flash recovery-RA-supersonic-v2.3.img
when I should have typed this:
fastboot flash recovery recovery-RA-supersonic-v2.3.img
Thank you so much for the help, on to the next step and hopefully this works!
Ok, successfully rooted with s-off! I have read through all the guides, and am still a bit confused because most of them are from 2010 and 2011. I need to flash a rom that will work with metro-pcs. Can you guys help me with which steps I need to take? I tried to download metrodroid v4 but the download link isn't working. Will aall of the roms in this thread work with metro pcs or do I need a specific one? http://forum.xda-developers.com/showthread.php?t=2318070
Also, once I have a rom flashed, do I have to go in to a metro pcs store to get it activated (I do not currently have a metro pcs account or other metro phone) or can I get the esn activated online or by calling there 800 number?

Categories

Resources