• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Problem with instaling stock ROM

bojan995

Newbie
My HTC has Android 2.3 over a 2 years, then phone start turning off and on itself.
I realised that i need to install new Android so i installed Cyanogen Mod 7.2.0.1 it worked few days and phone started turning of and on every time when i turn it on :(

I bring it to service and they said that i just need new Android so i downloaded from developer site Android 2.2 and when i try to install it my recovery said:
Installing update...
Amend scripting (update-script) is no longer supported.
Amend scripting was deprecated by Google in Android 1.5.
It was necessary to remove it when upgrading to ClockworkMod 3.0 Gingerbread based recovery.
Please switch to Edify scripting (updater-script and update-binary) to create working update zip packages.
Installation aborted.


I have Revolutionary CWM v4.0.1.4.
I would like to install stock 2.3.4
 
Welcome to the forum :)

OK, I can explain those error messages. When you flash a custom ROM the ROM zip contains a simple script which instructs the recovery what to install where. The scripting language changed a few years ago. An old recovery like ClockWorkMod 2.5.0.7 would understand the old scripting language (Amend) and the new one (Edify), but CWM 3.0 and later, and most other recent recoveries (such as 4Ext Touch, which I used with my Desire) only support the newer language.

So your options are basically either to choose a newer ROM or to flash the old recovery in order to install the old ROM.

To be honest I'm not certain that installing a different ROM will fix it, since you've tried that already. But I guess it's worth a try. When you say "stock 2.3.4" do you mean the official Gingerbread (which I thought was 2.3.3) or a particular custom ROM based on stock GB?

If it's the official, unrooted software you can install that using a ROM Upgrade Utility (a Windows executable which will reflash the phone with stock software). This won't remove S-Off (the revolutionary hboot won't be replaced) but will wipe the phone completely and remove your custom recovery. You can find that software at shipped-ROMs, near the bottom of the page. Unpack the HTC_Desire_Android_2.3_Upgrade.zip to get the RUU .exe, connect the phone via USB when in fastboot mode and run the exe.

If you want to install an older custom ROM I can probably find a CWM 2.5.0.7 image for the Desire.
 
Thank you very much.
I dont know what is the last Android version for Desire so i was thinked to try older Cyanogen Mod or Miui or smth.
I already tried that .exe 2.3 update and this give me error 170, usb conection error.
But if that dont work, how i can flash older recovery?

Any suggestions for roms?
 
The last official release for the Desire was the 2.3 upgrade that I linked above. Of course there are custom ROMs based on 4.4 now, but I personally think that 2.3 was about as stable as it got on the Desire.

To flash a different recovery you download the image to a computer, put the phone in fastboot mode, connect via usb then use the fastboot command on the computer to flash the image. The command you need is:

fastboot flash recovery recovery.img

where "recovery.img" should be replaced by the name of the actual recovery file.

I'm assuming that you have fastboot set up on a computer already if you've been using revolutionary. Otherwise you can find instructions for installing on Windows here, or a multi-platform setup package here.

The download links for CWM 2.5.0.7 that I've used previously are no longer working, so I've sent you a link to a copy in my Dropbox in a private message.
 
I flashed Miui_Desire-MULTI-2.4.6 WIUI_MODV2 and still have the same problem.
Now i only can try to flash stock with that older recovery.

I have a problem with SDK i dont know how to use it, this tutorial dont help me on my PC to make it work.
 
Does the second of those posts I linked not explain?

If you use the official HTC stock ROM you don't need any particular recovery. You only need a custom recovery for flashing custom ROMs. I outlined how to use the ROM Upgrade Utility in my first post (put phone in fastboot mode, connect via usb, run the RUU .exe on a PC).

There are 2.3 ROMs that work with recent recoveries though. It's only those which haven't been updated in the last 3 years which will still be using the older scripting.
 
I bring it to service, its look like not just software problem.
They said there is moisture on processor or something... :/

Thank you for recovery, but can i flash Cyanogen mod 7 or Miui_Desire-MULTI-2.4.6 WIUI_MODV2 with this recovery, because it's old?
 
You should be able to. CWM 2.5.0.7 supported both Amend and Edify scripting as I recall (I switched to 4Ext Touch because it had other advantages, but that only works with newer ROMs).

But then if you were able to flash those with your current recovery and the problem is hardware then there's not so much reason to change recovery, unless there is an older ROM you want to try. Unfortunately if it's moisture damage then no ROM is going to help. :(
 
Back
Top Bottom