yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] dnlilas:
Eureka!

Finally I think I found an important bug of ClockWorkMod causing the problem mentioned in my above post (#316) and

described below. With this bug my nandroid backup files are useless regardless of CWM version (2.x, 3.x, 4.x) or the type

(Froyo/ext3, Gingebread/ext4) system to be restored.

History:

- At the beginning, I was at ROM Froyo-based (LeeDroid 2.2.3) with CWM 2.5.1.3 and few applications.

Nandroid backup/restore worked flawlessly, so I could experiment easily other ROMs.

- Later, I got more experience and my number of applications grewed up to 270+.

In the mean time, I observed that all my nandroid restore resulted in boot loop (or many force close

at OS start + force reboot). So to try other ROM, each time I had to reinstall my LeeDroid 2.2.3 and

restored my Titanium Backup + redid several system/user setups, which was very painful and time-consuming.

- I decide to take a look at CWM source code, nandroid part (file nandroid.c).

From the code, I deduce that during nandroid restore I should see the following messages:

Checking MD5 sums...

Restoring boot image...

Restoring system...

Restoring data...

Restoring sdcard/.android_secure...

Restoring cache...

Restoring sd-ext...

Restore complete!

But by observing my several failed nandroid restores, during "Restoring /data..." message where the dynamic filename being

restored are displayed (in fact it is an archive tar extraction from backuped data.img), suddenly CWM clears the screens

and returns back to its menu. So it looks like the /data restoration is not complete, also I do not see the other messages

that should follow such as:

Restoring sdcard/.android_secure...

Restoring cache...

Restoring sd-ext...

Restore complete!

Since my .android_secure is about 70 MB, I doubt that the nandroid restore is so fast that the corresponding message

could not be seen.

My conclusion: all my nandroid restore problems were due to incomplete restore by CWM of /data without any visible error message

displayed to the user. The situation could be worse if the restore is triggered from ROM manager since the phone will

reboot automatically. Without using ROM manager, one could make immediately some corrective action like reflashing the ROM etc...

The incomplete restore is related somehow with the big size of data.img (mine is 770+ MB) since at the beginning (smaller size of data.img) even with CWM 2.5.1.3

the restores were successful.

I have also confirmation of the big data.img size problem by trying to manually flash the data.img in fastboot mode with the command:

fastboot flash data data.img

It gives the error message

sending 'data' (795623 KB)... FAILED (remote: data length is too large)

finished. total time: 0.016s

So now I have a good, big nandroid backup but it is useless since nandroid restore could not handle it.

It is time to reflash the original ROM, restore from Titanium Backup Pro backup, make settings...: 2 hours lost :-(.

Hope that ClockWorkMod developement team is listening...
[Desire HD Android Development] PDub11:
I havent flashed it via CWM. I done as the OP suggests.

How do you know its been flashed or use CWM 3.2.0.0 etc...?

*EDIT*

It has worked, i just hadnt noticed the CWM version at the bottom whilst in recovery. :)
[Desire HD Android Development] preacher65:
Sorry, that came out on the screen different to what I meant to say. Stressful day at work and my brain was all over the place. ;) What I meant to say was the version number won't show correctly in ROM Manager, but as you've realised it will show in CWM itself. :)
[Desire HD Android Development] rdhanjal:
Hi

First of all, a big thank you for all the free help/advice given on these forums.

Right, now that's out of the way... my question/problem is that I followed the instructions to install this version of CM but when i go into ROM manager and select 'reboot in to recovery' my DHD just boots as normal.

I have a new ROM which i want to flash but just can't seem to get to the recovery menus...

any help would be really appreciated

cheers

Rob
[Desire HD Android Development] HC4Life:
It works!

Thanx gongoscho ;)
[Desire HD Android Development] Nilu23:
Is 3.2.0.0 still latest version of cwm recovery? Cause i read here somewhere something about 4.0.0.0?
[Desire HD Android Development] preacher65:
There's another unofficial build here:

http://xdaforums.com/showthread.php?t=1118865
[Desire HD Android Development] gaeilgeganeagla:
hey for me i tried following your guide but the install-recovery-mac.sh failed and would not flash as it could not find the fastboot-mac file or directory so i followed the flashing a radio guide for mac easy just changing flash radio to flash recovery and drag file across and worked first time
[Desire HD Android Development] c0de_junkie:
first of all thanks for the CWM updates.... I just have a small question.....is it possible at all to have the back lights for the HW keys at the bottom of the screen light up while in CWM Recovery and add it to the next update?? thanks guys
[Desire HD Android Development] Niralax:
hi guys. Tell me please. I exec install-recovery in windows, my phone was in Fastboot. Phone reboot after that. But then i try to boot in Recovery i only see a Joker's face (why so serious?) and nothing going on till reboot phone. what i do wrong?
[Desire HD Android Development] baltazar.nilsson:
No idea mate, doesn't sound good. Have you tried to flash it again??
[Desire HD Android Development] LorD ClockaN:
Lol.. joker face is AlphaRev's hboot and recovery for normal Desire. Not Desire HD!! So which phone do you have??

Sent from Desire HD with CyanogenLordMod!!!
[Desire HD Android Development] LinoX:
Hey udk, I need to talk you.

we (all) need a fixed clockworkmod recovery (this one has a bug in the restore backup part) and you already have the build environment

take a look at this post:

http://xdaforums.com/showthread.php?t=1154892
[Desire HD Android Development] dnlilas:
@LinoX

Maybe you need to talk also with zyonee?

http://xdaforums.com/showthread.php?t=1118865
[Desire HD Android Development] LinoX:
that recovery is still in a development stage and has problems with sdcard mounting this was the main reason why I didn't contact zyonee.

this one seems to be much more stable but you're right...

every recovery should have this patched while we wait for the official commit.

Thank you for suggesting.
[Desire HD Android Development] kugelblitz:
Hi there - tried both methods (editing the files, copy from zip over the existing files) - checked the files twice - all content is correct - but the ROM-Manager (4.3.2.4 Premium) shows only 3.0.2.6 as current and 3.0.2.6 as last avialable version. Reinstalling ROM Manager did not help either.

Is there another location, where ROM Manager looks for its configuration?
[Desire HD Android Development] LorD ClockaN:
Rom manager doesn't work well with cwm update.

Just download newest cwm and flash via cwm

Sent from Desire HD with CyanogenLordMod!!!
[Desire HD Android Development] ghostofcain:
ROM manager wont recognise unofficial versions of CWR so it doesn't recognise your installed version or any potentially newer versions.
[Desire HD Android Development] ykcam:
GooooooooooooooooooooooooooooooooooD!!!!!

Thank you!!!!!!!
[Desire HD Android Development] Dacoco:
Hi,

could you please review this thread? I have a SERIOUS problem with CWM!

http://xdaforums.com/showthread.php?p=15801649#post15801649

Thank you very much!

Daniel
[Desire HD Android Development] P00t:
this works for INSPIRE 4G as well?

And this doesn't affect the rom behaves?
[Desire HD Android Development] LinoX:
http://xdaforums.com/showthread.php?t=1154892
[Desire HD Android Development] udK:
Ok, after long time, first post updated!
[Desire HD Android Development] DubelBoom:
is there a way to flash the recovery via device? as rom manager and ARHD does?

thanks!

EDIT:

never mind, got my USB cable :)
[Desire HD Android Development] fshami:
Guys, followed the installation procedure as mentioned in the first post.

Tried flashing latest version on my DHD which is rooted & S-OFF.

Got these errors during installation:

C:\Users\xxx\CMWR\HTC_Ace>install-recovery-windows.bat

C:\Users\xxx\CMWR\HTC_Ace>tools\fastboot-windows.exe erase recovery

erasing 'recovery'... FAILED (remote: not allowed)

C:\Users\xxx\CMWR\HTC_Ace>tools\fastboot-windows.exe flash recovery tools\recovery.img

sending 'recovery' (4286 KB)... OKAY

writing 'recovery'... FAILED (remote: not allowed)

C:\Users\xxx\CMWR\HTC_Ace>tools\fastboot-windows.exe reboot

rebooting...

C:\Users\xxx\CMWR\HTC_Ace>

Any idea?
[Desire HD Android Development] udK:
@fshami: Your DHD is SHIP S-OFF, you must have it ENG S-OFF, check the first post.
[Desire HD Android Development] LorD ClockaN:
Or you don't have correct drivers installed in windows
[Desire HD Android Development] P00t:
Am i suppose to run the program as administrator?? Because it didn't work on mine. Still says 3.0.2.6 not 4
[Desire HD Android Development] doomsdaybg:
No problem with update from v3.2.0.0 > v4.0.1.4 for me, checked drivers :)
[Desire HD Android Development] Andrbek:
no probems with update, 6 secs ... thanks ;)
[Desire HD Android Development] vatvedt:
Whats the difference from the 3.x.x.x to 4.x.x.x versions?

Is the menu changed? any more/less features?

Just wondering. Thanks though! :)
[Desire HD Android Development] pradeepd:
Can I use this recovery on Inspire 4G?
[Desire HD Android Development] spdrosin:
Me too. ~ 1" ;)
[Desire HD Android Development] onesolo:
Anyone can clear us?!? I'm on 3.0.2.8 but if there is no new features or major bugs crush I think there's no need to update...

Changelog is too technical to understand...
[Desire HD Android Development] wojtek_pl:
Hi.

I tried to install Recovery but it failed...

I have S-OFF and downgraded from 2.50.405.2 to 2.36.405.8 with root. But I can't install ClockworkMod Recovery.

Though I have the new radio 12.54.60.25U_26.09.04.11_M2

C:\android-sdk-windows\platform-tools\recovery>install-recovery-windows.bat

C:\android-sdk-windows\platform-tools\recovery>tools\fastboot-windows.exe erase recovery

erasing 'recovery'... FAILED (remote: not allowed)

C:\android-sdk-windows\platform-tools\recovery>tools\fastboot-windows.exe flash recovery tools\recovery.img

sending 'recovery' (4286 KB)... OKAY

writing 'recovery'... FAILED (remote: not allowed)

I wonder what this "not allowed" means... Lack of permissions probably. I wonder if I should downgrade radio too...

Any thoughts ?
[Desire HD Android Development] g3ismeee:
You have ENG Off or Radio S-Off? Front page indicates ENG S-Off required.
[Desire HD Android Development] wojtek_pl:
I had both OFF after I rooted Gingerbread but after I got latest update from HTC to version 2.50.405.2 version I'm not sure any more. Still I was able to flash RUU 2.36.405.8 without problems.

I have

ACE PVT SHIP S-OFF RL

HBOOT-0.85.0024

MICROP-0438

RADIO-26.09.04.11_m2

eMMC-boot

Apr 12 2011,00:55:45
[Desire HD Android Development] Doo Doo:
you need eng s-off in order to flash this recovery which can be found here -->http://xdaforums.com/showthread.php?t=855403
[Desire HD Android Development] McBeaker:
No problems here! Thanks :)
[Desire HD Android Development] fshami:
Dude, you are saying you had ENG S-OFF with 2.36.405.8? Wow, i am looking for a way to ENG S-OFF my 2.36.405.8 too. Any idea how to do it?
[Desire HD Android Development] TDQuiksilver:
This will work with the Inspire 4G (GSM) I am assuming? Nobody seems to be answering any of the previous questions.
[Desire HD Android Development] zachs_xda:
Do we truly need ENG S-OFF for this?

Using 'dd' like Rom Manager to flash the raw image into mmcblk0p21 doesn't require ENG S-OFF right?

i.e.

dd if=%s of=/dev/block/mmcblk0p21 bs=262144

where %s is your recovery file (recovery.img from the zip).

I've got ENG S-OFF but my USB drivers were stuffed, so I did a 'dd' and it worked fine. Those who've got ENG S-ON might want to give it a try (I don't remember requiring ENG S-OFF when I first flashed recovery via Rom Manager back when I was going through the hack-kit by attn1).
[Desire HD Android Development] specialkey69:
stuck

I am truing to flash this but cmd command prompt is stuck on writing recovery...please help.

Thanks
[Desire HD Android Development] silvake:
CWM recovery 5.0.1.0 is already available in ROM Manager.

Or you can download it from the ClockworkMod website.
[Desire HD Android Development] substance12:
What are the latest cwm bringing to the table? I'm still using v3 with success.
[Desire HD Android Development] gabor977:
Massive help needed

Hello, please if you have an advice, help me.

I'v just killed my Galaxy S. :((((

I wanted to downgrade to 2e recovery from 3e... I downloaded something from here:

darkyrom.com/community/index.php?threads/how-to-downgrade-to-2e-recovery.576

I've done the instructions (copied everything to xbin and bin folders) - (I've done a backup from original files)

after reboot, the Glaxy S GT-I9000 label stays on the screen. I cannot reboot into recovery mode too... I'v tried to put off and put back the battery but didn't helped.

Is there ANY SOLUTION to boot the phone to copy back the original recovery??

THANK YOU VERY MUCH FOR THE HELP!!! I' will donate you if your advice works!
[Desire HD Android Development] gabor977:
:))))))

Oh I fixed the problem with a friend...

I downloaded Odin and flashed a Clockwork kernel with it... now it reboots. :))))
[Desire HD Android Development] claude96:
now it's 5.0.2.0
[Desire HD Android Development] clickclickpc:
Also available is 5.0.2.3.

http://download.clockworkmod.com/recoveries/recovery-clockwork-5.0.2.3-ace.zip

Anyone notice any differences between v5, v4, or v3?
[Desire HD Android Development] sagarjawaress:
Hello, is it safe to update CWM from Rommanager???
[Desire HD Android Development] neuropass:
can I flash this file here with odin on my Samsung galaxy tab 10.1? I just don't understand how to get the right and latest version. any suggestion?
[Desire HD Android Development] nowseewhatudid:
U need a PC running windows or Linux read the forum if needed
[Desire HD Android Development] azzajess:
Using the Img file you have proivded i have got my desire hd in the recovery using the htcdev bootloader unlocker with S-ON. Thankyou. For the instructions in how i did it here is the website link: http://www.addictivetips.com/mobile/how-to-install-a-custom-recovery-to-an-android-phone-device/

From there i can now put a custom rom!
[Desire HD Android Development] maddler:
It's not a bug. It's a feature. :)

It'll ensure you'll be able to access recovery menu even on broken hardware (e.g.).

Cheers
[Desire HD Android Development] vtec303:
Flashed and working fine with no problems............thanks for the upload, nice one.
[Desire HD Android Development] -Ho-:
i'm using 3.0.0.6 before

i backup ARHD rom before

but after restore, it will cause force close problem

i'll try this one to see any problem with it=]

THANKS
[Desire HD Android Development] udK:
As I already wrote; Amend scripting (update-script) is no longer supported, was deprecated by Google in Android 1.5. Please switch to Edify scripting (updater-script and update-binary) to create working update zip packages.
[Desire HD Android Development] cmaguss:
Sorry I do not understand you, you tell me if this is compatible with CWM rom 2.2. or 2.3
[Desire HD Android Development] Krzysiec:
He told U that all CWM recoveries above 3.0.0.x uses different update script ... And old .zips won`t work with newer CWM Recoveries. U still can use those zips u have (ROM zips, mods zips and so on) but first U must update the updatder script inside the zip (u can find tool for that reading my signature). All newer zips are CWM 3.0.0.x comaptible.
[Desire HD Android Development] spdrosin:
Same question here: should't it be updated via Market ? :confused:
[Desire HD Android Development] udK:
Because the last version released through ROM Manager it's (if I'm not wrong) v3.0.0.6.
[Desire HD Android Development] kuceens007:
its easier to update it from market ;)
[Desire HD Android Development] CitizenLee:
I'll stick with CWM 2.X.X.X for now... little to no benefit for us sticking with Froyo based ROMs ;)
[Desire HD Android Development] udK:
From Market you can update ROM Manager not the CWM.
[Desire HD Android Development] onesolo:
lol, yes we know that....

We just want to know why 3.0.1.9 doesn't appear on Rom Manager...
[Desire HD Android Development] KeyperOS:
That is correct, however shouldn't the ROM Manager itself be able to see the update and install it just like it does 3.0.0.6 and bellow?

(I'm talking about ROM Manager 3.0.1.3).

I am asking because the ROM Manager did not require ENG OFF, just the good-ol' S-OFF...
[Desire HD Android Development] udK:
CWM supports a lot of devices and the main developer not always compile and release the last version for all the devices.
[Desire HD Android Development] -Ho-:
Just try to restore ARHD 3.2=]

Succesfully restore

While 3.0.0.6 is failed to restored=]
[Desire HD Android Development] hav0c:
Don't forget chmod +x the files for linux :)
[Desire HD Android Development] spdrosin:
I installed this new Recovery version. Just keep us updated whenever there is something new again.

Thanx.

P.S.: Did not use it for ROM flashing yet. Everything works fine with ROMs like ARHD, LeeDroid, RCMix, right?
[Desire HD Android Development] udK:
Yes, if zip are built with Edify script.
[Desire HD Android Development] Choque:
isn't that the same? from my understand ENG OFF just means "Engineering hboot" which is the same as "S-OFF"

correct me if I'm wrong there
[Desire HD Android Development] robE9:
^^ That`s correct.

Anyway looks like 3.0.1.9 has a problem formating system, 3.0.2.4 is out.
[Desire HD Android Development] alain57:
^^

i really don't know what to think

it is thruth, that i go in the recovy that way when my android system is nucked

so i don't wish this feature to disapear ^^ (cause the key combination don't work very well.. or does not work at all lol)

but i also wish to charge my device when it is turned off ... so it could charge faster ^^
[Desire HD Android Development] udK:
Kali- said me that this "feature" could be related to the ENG hboot.
[Desire HD Android Development] tatsit:
where can i get it? i'm not using rom manager
[Desire HD Android Development] Krzysiec:
I think udK must compile it for us first :P
[Desire HD Android Development] jkoljo:
It is not related to ENG hboot, it is just because of the fact that HTC Desire HD uses recovery to show the charging icon. CWM does not support that, so it just fires up normally instead of showing a picture of a battery being charged.
[Desire HD Android Development] kuailan:
hmmmm ....really?? I have full wipe and install a new ROM, it look fine though?? can you tell me what's the problem??
[Desire HD Android Development] spdrosin:
And are they by default? :confused:

I am anxious and confused: If I download for example ARHD v.4.x will I be able to flash the default downloaded ROM file or not?
[Desire HD Android Development] Slig06:
Not really wrong, btw... when you are charging at 600/800mA, do you think that 3/7mA (or 1/3mA in airplane mode) in standby will increase so much the charging time ? ;)

Btw, i agree that, if it is really not a problem to have the phone starts when connecting to a computer usb, it would be be nice to be able to keep the phone off when connecting to a pure charger.
[Desire HD Android Development] Nilu23:
Does anyone know when 3.0.2.4 is compiled or is it already downloadable somewhere?

Sent from my Desire HD
[Desire HD Android Development] udK:
Don't know, you have to ask this to the rom developer not to me ;)
[Desire HD Android Development] kuceens007:
after flash it have 3.0.0.6 anyway
[Desire HD Android Development] robE9:
http://xdaforums.com/showpost.php?p=12342027&postcount=2770
[Desire HD Android Development] udK:
v3.0.2.4 released! Check the first post.
[Desire HD Android Development] jkoljo:
Sorry for quoting myself, but have you talked to Kali or Koush about this?
[Desire HD Android Development] cmaguss:
a question that the CWM 3.0.2.4 tine problems with the new rom based on 3.0.0.6
[Desire HD Android Development] ghostofcain:
S-OFF, doesn't require the installation of the engineering hboot.
[Desire HD Android Development] I'm TheQuest:
Hi jkoljo

Or if Recovery Screen showing on charge is such a upset to some people, they can always just press the Home Button and switch to CWM Image screen instead, which IMO is better then a battery. :D

Take Care

TheQuest :cool:
[Desire HD Android Development] luzhuwang:
The real point

I think for these people (myself, too), the real problem is not that Recovery automatically boot on charge, as someone said it's an advantage under certain circumstances. The point is that we can't turn off the screen in Recovery. So I suggest an option to manually turn off screen in next version would be a great improvement :D
[Desire HD Android Development] kshting:
Isn't there an option to power off in recovery laready? I thought I saw that in 3.0.0.6 and also 3.0.2.4.
[Desire HD Android Development] kuceens007:
There is but it works only when when cable is unplugged!
[Desire HD Android Development] kshting:
I see, never gave it a try as I am not very particular about it.
[Desire HD Android Development] luzhuwang:
Yes, when on charge, after you select that option, it will power off for a sec then back on again:(
[Desire HD Android Development] kuceens007:
Yeah,for calibrating it would be nice to have a real power off when charging!

Its suggestion for next version ;)
[Desire HD Android Development] ghostofcain:
Unnecessary, it charges just fine in recovery and you need to enter CWR to wipe battery stats anyhow
[Desire HD Android Development] kuceens007:
I have orange led more than hour when i m trying to charge in recovery
[Desire HD Android Development] luzhuwang:
I agree but a screen turn-off option is recommended for screen's life and a whole night's keeping on is a little boring, though. thx.
[Desire HD Android Development] Diamondback:
It won't turn green at all. Just charge it some time (an hour should be enough) and then battery stats.
[Desire HD Android Development] cmaguss:
Hello CWM is compatible with the rom and can become the CWM 3.0.2.4 to 3.0.0.6
[Desire HD Android Development] udK:
eh?! I don't understand what you mean.
[Desire HD Android Development] BumAround:
he was probably asking whether the latest cwm is downgrade-able back to the previous 3.0.0.6...
[Desire HD Android Development] ButtonBoy:
I get a FAIL on the process:

<code>

erasing 'recovery' ... FAILED (remote: not allowed)

sending 'recovery' (3288 KB)... OKAY

writing 'recovery'... FAILED (remote: not allowed)

rebooting...

</code>

so what did I do wrong?
[Desire HD Android Development] jkoljo:
You do not have ENG S-OFF. Link in my signature :)
[Desire HD Android Development] ButtonBoy:
Thank you! Now I have ENG-OFF and it wrote my recovery just fine.

However, a sanity check of the ROM Manager shows that I still have CWM 3.0.0.6- huh?
[Desire HD Android Development] :
You have to place the .img file in the folder in your SD card. I don't know what folder it is. I can remember so sorry.
[Desire HD Android Development] ghostofcain:
install QtADB and you can monitor charging whilst in recovery if you must.
[Desire HD Android Development] DubelBoom:
if i have a zip that workes with CWM2 zip, how can i make it work with CMW3??
[Desire HD Android Development] 160bpm:
Hi All,

I have (maybe) a studid question but still i going to ask it :)

Will there be a possibility to give a name to the backup you want make?

Now it is genereting something, ok date is easy. But if you can change it to something you will remember better....

Beside: GREAT WORK... save lots of time to do a restore insteed reflash it all over again.
[Desire HD Android Development] Krzysiec:
U can make it manually after :P ;)

Use great tool i mentioned in my thread (take a look at my signature signature)
[Desire HD Android Development] 160bpm:
I have done that already, but got a MD5 mismatch after that..

the MD5 is not looking to the folder name as well?