yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] mzebrowski13:
I also have this "issue". Only on Dorimanx kernel. It's not a ROM, it's his kernel. Also when I do something in CWM I get error after every action. This is a part of log. Is it mean that my CWM doesn't work correctly? I'm on 5.0.2.7. With others kernels everything working good.

I:Checking for extendedcommand...

I:Skipping execution of extendedcommand, file not found...

E:Can't open /cache/recovery/log

E:Can't open /cache/recovery/log

E:Can't open /cache/recovery/last_log

E:Can't open /cache/recovery/last_log

mtd: successfully wrote block at 0

I:Set boot command ""

-- Wiping cache...

Formatting /cache...

Cache wipe complete.

mtd: successfully wrote block at 0

I:Set boot command ""

mount: mounting /dev/block/mmcblk0p2 on /sd-ext failed: No such file or directory

rm: can't remove '/cache/dalvik-cache': No such file or directory

rm: can't remove '/sd-ext/dalvik-cache': No such file or directory

Dalvik Cache wiped.
[HD2 Android NAND Development] scariola:
Just to let you know, if you wipe cache and dalvich cache in cwm your cache recovery log errors will disappear. ;)

I'm using 5.0.2.6 though with dorimanx kernel.
[HD2 Android NAND Development] Realalist:
When I try to wipe the dalvice it won't do anything.
[HD2 Android NAND Development] dertester123:
You mean in doenst wipe the cache or the time?

For me it takes a good amount of time before something happens after starting wipe...
[HD2 Android NAND Development] Realalist:
Mine does that but too but now I click it and nothing happens just a screen with the CWR background.
[HD2 Android NAND Development] jasons1004:
question

i figured this would be the place to get an answer

i need to know what size cwr partition i currently have loaded on my phone

i change it so often i forgot how much i have loaded this time

is there any way to find how much i have or do i just have to flash another

cant remember if its 260 or 300mb

please help

future thanks
[HD2 Android NAND Development] arif-ali:
within a terminal or adb, if you do a "cat /proc/mtd", you will get several lines. You should be able to guess from that
[HD2 Android NAND Development] jasons1004:
wow thanks for quickness

its not clear enough for my dum ass ...ha

i see mtd1 003a0000 0020000 "recovery"

i think thats it right but what is that size?? 300mb?
[HD2 Android NAND Development] seadersn:
do a simple "df -h" in terminal emulator or adb, it will show you the sizes of your partitions and how much is left on them.
[HD2 Android NAND Development] mzebrowski13:
Use some file explorer with root access and simply check size of /system.

Something like this
[HD2 Android NAND Development] lan78691:
When I try to flash the new clockwork recovery I get this error:

assert failed: write_raw_image ("/tmp/recovery.img", "recovery")

E:Error in /sdcard/recovery_5.0.2.6_leo_CWR.zip (Status 7)

Installation aborted.

Does anyone know how I can fix this?
[HD2 Android NAND Development] arif-ali:
This could be due to your recovery partition not being the correct size

can you give the output of "cat /proc/mtd" to see how big your recovery size is

If you search this thread, the same answers are available to do this in the thread

plus are you magldr or cLK
[HD2 Android NAND Development] lan78691:
I was trying to install this new recovery for the ICS rom so i edited the flash.cfg to make the recovery size 200. I don't know hot to get the output from cat/proc/mtd... sorry. Ok I will try searching again. Magldr.
[HD2 Android NAND Development] czarsuperstar@gmail.com:
I had a problem like that before and what i did was delete the clockwork folder and reboot than install Rom manager(clockwork) and flash the recovery for clockwork(HD2) which is 3.1.0.0. i believe than reboot into recovery and flash a newer recovery and when you boot back up you should see that even though you flash a newer recovery it will still say 3.1.0.0. it leaves some sort of file and you should be straight. hope this helps.
[HD2 Android NAND Development] rgc_xda_surfer:
Work Around

Get your recovery partition => http://xdaforums.com/showthread.php?t=898913<= i download the 150 partition. Edit the flash.cfg base on your rom requirments.

Open recovery_5.0.2.6_leo_CWR.zip and extract the recovery_leo.img. Rename the recovery_leo.img to recovery-raw.img and replace the img file on the partition that you downloaded and flash it into your leo phone in normal way. Hope this help.
[HD2 Android NAND Development] htccraze:
Hi. Im having the same problem as lan78691. I want to point out im not a noob but i was still a little lost by those steps. I rather ask before my trial and error ends in error. lol. I wanted to update to this since it was a more recent version and i was already planning to try out a new ROM (NexusHD2 ICS 4.0.3 CM9) so i thought now was a good of time as any.

I installed a recovery of 250mb 1st, then i used the instructions "via CWR" and i got: write_raw_image ("/tmp/recovery.img", "recovery")

to solve this all i would need to do is:

1st: i open recovery_5.0.2.6_leo_CWR.zip and extract the recovery_leo.img.

2nd: i rename the recovery_leo.img over to recovery-raw.img replacing the img file that had been downloaded

last: flash it over and enjoy

Is that correct? I know it seems stupid to double check like this but im pretty sleepy and would like to make sure i have it correct before flashing. I would normally leave it be till im more awake but with the ROM im on now i been getting a lot of random reboots as of late and rather just do everything at one time. Thanks in advance.
[HD2 Android NAND Development] :
Can anyone which one is the latest and stable version to-date in dropbox.

This one: recovery_5.0.2.7_leo_CWR.zip

or, recovery_5.0.2.7_leo_CWR (sahang's conflicted copy 2012-01-08).zip
[HD2 Android NAND Development] MarkAtHome:
CWM nightly builds

@arif-ali

Is there a change log (that I might have a chance to understand) to indicate what has been done needing a new nightly? ;)
[HD2 Android NAND Development] arif-ali:
Well, I don't think there have been changes since ICS has come out.

My build bot has just been banging away with builds; and haven't really stopped my automation script. Maybe I should do that, and put in a final 5.0.2.7 build.

I need to start looking at 5.5.X from the ics branch, to see what new features it holds. and then start building from that.
[HD2 Android NAND Development] SubZero5:
Clear Dalvik-Cache is not working... :(
[HD2 Android NAND Development] MarkAtHome:
How might an ICS branch differ, and why would it be needed?

Was also wondering whether the CWR zips always contain the latest dated nightly IMG files (re your Dropbox)?

Thanks again, for your community efforts, arif-ali -- they are certainly appreciated.

----

Sent from my ICS HD2 with XDA Premium
[HD2 Android NAND Development] arif-ali:
The ICS branch may have new features, and features for recovery that only is in the ICS scripting for installing ROMs. After haveing a brief look at the source code, it seems it is being prepped for touch screen, but I could be wrong on that. I will compile and test it soon, and see what is new

CWR zip files are updated weekly, and not daily
[HD2 Android NAND Development] MarkAtHome:
That's exactly what I was looking for. Thanks.

----

Sent from my ICS HD2 with XDA Premium
[HD2 Android NAND Development] arif-ali:
5.5.0.4

So I made a quick compile of the new 5.5.x code, at the moment, all except flashing work, so will try to fix that and get that to the open.

btw, it's not touch screen.

It does seem to be a bit nippier though; and some very slight changes to the images within the recovery
[HD2 Android NAND Development] ShironLive:
Is it possible to get the new (5.0.2.6) CWM, without using an usb ? my usb port dosent work :/

Im using MAGDLR and this rom: http://xdaforums.com/showthread.php?t=1354267
[HD2 Android NAND Development] ogonzuhnina:
Try using Rom Manager: install from market, select "Download Rom", "CWR Unofficial", select CWR of your choice, let id download, while reboot hold down power key (to go to MAGLDR menu), select AD Recovery, when it boots in, it will flash new recovery...

...If I'm not mistaken...

...eventually, it will instal the recovery directly from rom manager while still being in the app.

The bottom line is: Rom Manager will do what you want
[HD2 Android NAND Development] Realalist:
That's what I thought but you just have to wait a really long time.
[HD2 Android NAND Development] arif-ali:
CWM 5.5.0.4

Hey all,

I fixed the issue I had, it was a typo in the source code that I modified (duh!!), so hopefully this should work, let me know if there are any issues.

https://www.dropbox.com/s/xoio3dwcxwe25dj/5.5.0.4/recovery_5.5.0.4-20120113_leo.img

Please be warned, I have not tested this, so any issues with it reformatting/cleaning your partitions, is not my fault. Please back-up any data you have before testing this. I will not be held responsible for any damage caused by this recovery
[HD2 Android NAND Development] NYLimited:
This should be backward compatible with 5.0.2.7 right?
[HD2 Android NAND Development] arif-ali:
Just did a restore from one of my old backups, and it restored without any problems
[HD2 Android NAND Development] NYLimited:
Super! You da man! :-)
[HD2 Android NAND Development] NYLimited:
Updated to 5.5.0.4 via terminal - uneventful. All seems OK on first glance. Did a quick backup but the result seems to be about 3 MB smaller than the one created by 5.0.2.7 not sure exactly why just yet.

This is not a functional issue but I for one would not mind if the progress bar was a little heavier and more visible, perhaps even included some indication of percentage completed. No big deal either way since this does not impact functionality anyway. :)

Need to play more with it when I have more time but so far it looks good.
[HD2 Android NAND Development] carl1961:
been running 5.5.0.4 all day , when I installed my rom and when it get's to the yes/no option to make a choice, you see the errors in the picture (I think it's just a background image missing) but it did not effect the install.

also could not take snapshot with droid explorer or dalvik debugger, ( other recovery's I could) so I took a camera shot of the only error I seen,

thanks arif-ali for hard work
[HD2 Android NAND Development] MarkAtHome:
Would you consider indicating date in the weekly zip's filename? Would be helpful to know which daily is included in the weekly. ;-)

----

Sent from my ICS CM9 HD2 with XDA Premium
[HD2 Android NAND Development] arif-ali:
right, will do
[HD2 Android NAND Development] jjmai:
noob here.

I am trying to flash CWR for MAGLDR 1.13, booting from NAND:

The first step says "Download the file attached".

Which file exactly? Is it "flash_image.zip" or "recovery_5.0.2.6_leo_sd.zip"?

Thanks
[HD2 Android NAND Development] :
Download

this recovery

. Extract the .img file.Make sure it's named recovery-raw.img. Put it in the DAF folder,flash and boot it as usual:)
[HD2 Android NAND Development] jjmai:
Thanks.

I also followed this post before seeing your reply:

http://xdaforums.com/showthread.php?p=20248728#post20248728

Everyone is recommending 5.0.2.7, why is this thread is still stuck at 5.0.2.6?

Even this post suggests a bug prior to 5.0.2.7: http://xdaforums.com/showthread.php?p=19449950#post19449950
[HD2 Android NAND Development] aeropilot:
Hey,

Does anyone have any idea why CWM won't restore my sd-ext backup? It just quits back to the main menu as if nothing happened. All the other parts restore correctly. And I have not changed anything on the SD card. Any help would be appreciated. :)
[HD2 Android NAND Development] carl1961:
Did you try to send error report from cwr advanced menu and go to clockworkmod backup folder and read report.log file for error?
[HD2 Android NAND Development] aeropilot:
The log says:

mount: mounting /dev/block/mmcblk0p2 on /sd-ext failed: Device or resource busy
sd-ext ext3 976 MiB 894.9MB
mount: mounting /dev/block/mmcblk0p1 on /sdcard failed: Device or resource busy
sdcard fat32 4854 MiB 962.6MB

Current Rom: TBD V3.4 EU & Tmo Maglrd

cp: can't stat '/sdcard/4ext/icons/*': No such file or directory
0+1 records in
0+1 records out
140 bytes (140B) copied, 0.000672 seconds, 203.5KB/s
dd: can't open '/tmp/fstypes': No such file or directory
[HD2 Android NAND Development] arif-ali:
5.5.X

Hi all,

My dropbox will now start spitting out the new recovery from the ICS branch from now. Please test and report bugs

Note, I have not tested it, and and any issues you have with your data going or reformatting is not my fault. backup of your data is your responsibility
[HD2 Android NAND Development] :
Will you give more updates in the future because the recovery is in a zip format and the one's you provide like this are the stable ones.
[HD2 Android NAND Development] arif-ali:
This dropbox/nightlies, have been compiling for 4 months, everyday. I have only just switched to the ICS branch now. As all the development is shifted there for CWM.

Just monitor the github from https://github.com/CyanogenMod/android_bootable_recovery, and then see the link for the nightlies in my signature, and you should always find the latest one there.

Once I have suffucient feedback, I will get seadersn to update the thread with a stable version from the 5.5.X version
[HD2 Android NAND Development] MarkAtHome:
Thanks, arif-ali. You forgot to indicate the date in the ZIPs' filenames. No way of knowing whether those two zips contain today's img files. ;)
[HD2 Android NAND Development] arif-ali:
hehe :)

yeah, I will update that as well.

Edit:

DONE
[HD2 Android NAND Development] flywin:
CWM 5.5.0.4 is a Touch Recovery?

when u upload?
[HD2 Android NAND Development] uzi2:
http://xdaforums.com/showpost.php?p=21327081&postcount=1016

http://xdaforums.com/showpost.php?p=21380132&postcount=1020
[HD2 Android NAND Development] arif-ali:
Well, it seems at the moment the Touch Version of the CWM is closed source at the moment while koush irons out the issues. He has already released it for many devices. Hopefully we'll have an offficial one soon from ClockWorkMod/ or when he releases the source code, then we'll have it here.

It is uploaded in my dropbox, check my signature
[HD2 Android NAND Development] MarkAtHome:
Thank you, kind sir. :)
[HD2 Android NAND Development] :
I asked about that. Anyways, thanks.
[HD2 Android NAND Development] NYLimited:
Is the ICS version to be used only with ICS or is it backwards compatible and safe to use with GB ROMs also?

I am currently using the 20120207 GB version without any issues, at least none that I have found.

---

When you get to the point where you really understand & like your phone, it's probably obsolete...
[HD2 Android NAND Development] MarkAtHome:
Hi arif-ali -- was playing with 4EXT (not a good choice by me, when I selected Nexus as the phone... but that was remedied), and vaguely recall something about an issue with some of the SD-EXT scripts having an issue with tar backups.

Do I have any of this right? :confused:

Can you expound upon this?

FWIW, I am using amarullz's alpha01 script modified to move everything to EXT4. Tytung's NexusHD2-ICS-4.0.3-CM9 V1.3 is smooth as silk, but I do have concerns about CWM NAND recoveries.

To update, I simply flash an updated ROM (with the script dropped into init.d) over my existing install. Uneventful.

My concern leans toward a fresh install, then a selective CWR restore choosing DATA/SD-EXT.
[HD2 Android NAND Development] NYLimited:
Not sure what to make of this one but here it goes. I am using MagLdr 1.3 with the 5.5.0.4 20120207 version.

Did a complete backup - no problems.

Went to test the restore and selected the above backup. The process checked the MD5, cleared the cache partition and restored everything (system, data, sd-ext...)

Rebooted system and got the following display:

Booting Android from NAND
ANDROID LOAD at 11800000
from NAND
yaffs2 part is /boot
Load zImage
Load initrd.gz
[b][COLOR="Red"]NAND kernel open failed[/COLOR][/b]
[K]11808000:29600 [I]12200000:0
Load done!

That was it. died at that point. Repeated the process, fixed permissions, rebooted. Same problem.

As I indicated above, I am using MagLdr. Unlike cLK, Magldr uses a boot folder which contains an initd.gz and a zImage. I would expect this error if I installed a new ROM that was meant for cLK but I only tried to restore my own CWR backup. Yet, it sounds like initd.gz was somehow missing after the restore.

Any idea what went wrong?

P.S. I did a ROM "update" and all is working again but unless I missed something I think it should have worked after the restore.. :)
[HD2 Android NAND Development] arif-ali:
Thanks for this bug report, it seems that the postscript is not working, and therefore not able to do anything on magldr;

Edit:

Aah, yes, it's not there; will need to fix that. Will get back when i have a fix
[HD2 Android NAND Development] MarkAtHome:
This has happened to me, too.

I resolved it by going back into recovery, chose advanced restore, and restored boot then system of that same NAND backup.
[HD2 Android NAND Development] NYLimited:
Were you using 5.5.0.4?

---------- Post added at 04:10 PM ---------- Previous post was at 03:48 PM ----------

Is this something missing in 5.5.0.4 recovery itself or on the backup it creates?

I will try to drop back to to 5.0.2.7 and see what it does...

Edit 1: 5.0.2.7 cannot do an "advanced" restore from a set created by 5.5.0.4 - it simply returns a "file not found". A complete restore seems to be running. We'll see what it does. :)

Edit 2: I suspect you already know this but the 5.0.2.7 recovery will have the same final problem when restoring from a 5.5.0.4 created image so the MagLdr files are likely missing from the image. I'll do another ROM update to make it all work now and stop playing for a while.

Happy hunting!
[HD2 Android NAND Development] MarkAtHome:
Yes, I was until I noted arif-ali's post re the missing postscript.

Sent from my HD2 ICS CM9 with XDA Premium
[HD2 Android NAND Development] MarkAtHome:
BTW, this issue also shows itself when selecting backup ROM from ROM Manager.

I normally choose this method to edit the backup filename. With 5.5.0.4, after doing this, rebooting to MAGDLR and selecting recovery does not launch the NAND backup as expected.

-------------------

Sent from my HD2 running Tytung's ICS CM9 with XDA Premium
[HD2 Android NAND Development] cool400:
I NEED HELP!!!

I'm pretty new to Android on HD2, but not to Android itself - I own a HTC Sensation, a ZTE Blade and an Asus Transformer, which are all rooted and running custom-ROMs.

But I don't know how I could bring CWR to my HD2 :confused:

What I have done:

- I installed HardSPL 2.08.HSPL

- I installed MAGLDR 1.13

- I installed the Leo "STOCK" NAND ROM from http://xdaforums.com/showthread.php?t=893620

But now I want to install a custom like NDT MIUI or HDNexus2 ICS, which I downloaded as ZIP-versions.

Before flashing a zipped ROM I need CWR, right?

But how do I install it? Which partition layout do I need (I've got a 512MB HD2)?

Any help from you pros is really much appreciated :D

Best regards and thanks a lot

cool400 :cool:
[HD2 Android NAND Development] :
At first, download this recovery.Unzip it. Open the DAF folder and delete the recovery-raw.img file. Then open flash.cfg with notepad and edit the line that contains "system" and replace the number with "190". Save changes and close it. Then, download this recovery. Put it in the DAF folder. Make sure it's named recovery-raw.img. Run DAF.exe and follow on screen instructions.
[HD2 Android NAND Development] seadersn:
damn, totally forgot to give this thread to arif :( i'm no more a hd2 user and am doing no more hd2 specific stuff; he's the maintainer, since longer time...

i'm doing this now :) so you can update and edit as it's needed, arif! sry ;)
[HD2 Android NAND Development] MarkAtHome:
Incorrect NAND backup date?

I have not seen this mentioned, but if it has been, I apologize in advance.

Yesterday, it was 21 Feb 2012 here in New Jersey when I did a NAND backup.

Afterward, I looked at the backup folder and noticed that the just created backup was dated 22 Feb 2012.

My phone displays the date and time correctly.

Any thoughts as to why the backup was dated a day later than it was created?
[HD2 Android NAND Development] NYLimited:
You did the backup relatively late in the day (say, after 7 or 8 in the eve)?

I *think* it may be recording GMT instead of local time though I could be wrong.

---

When you get to the point where you really understand & like your phone, it's probably obsolete...
[HD2 Android NAND Development] MarkAtHome:
Could be the reason, but I would want that to be configurable -- I have no interest in my phone using GMT.

___________________

Sent from my HD2 ICS CM9 with XDA Premium
[HD2 Android NAND Development] NYLimited:
I understand but I don't know if the phone has any idea of location or local time without the OS running. Keep in mind the timezone is set in Android not at the hardware level. :confused:

---

When you get to the point where you really understand & like your phone, it's probably obsolete...
[HD2 Android NAND Development] MarkAtHome:
If I turn off any/all means to communicate beyond my phone, then reboot, how does the phone access the date/time?

__________________

Sent from my HD2 ICS CM9 with XDA Premium
[HD2 Android NAND Development] NYLimited:
If you have the phone in airplane mode so no communication to the carrier's network takes place, and the phone keeps the correct time, I don't know the answer.

---

When you get to the point where you really understand & like your phone, it's probably obsolete...
[HD2 Android NAND Development] arif-ali:
update on 5.5.0.4

I have just updated the 5.5.0.4 recovery,

See if it works for you guys using MAGLDR
[HD2 Android NAND Development] seadersn:
hmm, i'm woindering when it's happening @ thread owner changing...? arif, maybe you ask a mod, too, as i did on last sunday.
[HD2 Android NAND Development] NYLimited:
Will give it a try when I get home, thanks!

---

When you get to the point where you really understand & like your phone, it's probably obsolete...
[HD2 Android NAND Development] icke:
Nice graphics!:)

But getting boot.img error when trying to restore backup from 5.0.2.6.

Or is that normal behavior?:confused:
[HD2 Android NAND Development] ogonzuhnina:
Arif,

Will you be updating OP and Rom Manager repository?

Appreciate your work,

Cheers
[HD2 Android NAND Development] arif-ali:
Yes, once it has been tested and it works correctly for clk and magldr.
[HD2 Android NAND Development] NYLimited:
I just did a quick restore from a backup made with 5.0.2.7 without any issues. Flashed the 0225 version via terminal, did the restore and rebooted. All seems fine so far.

Did not have enough time to make a new backup with 5.5.0.4 and restore it just yet, sorry.

I did not get this error and I don't think the difference between 5.0.2.6 and 5.0.2.7 is that great.
[HD2 Android NAND Development] NotATreoFan:
OP changed as requested.
[HD2 Android NAND Development] NYLimited:
OK, I had a slow evening at work. :)

Made full backup with the old version.

Flashed the 5.5.0.4 version

Made another backup.

Factory reset. Format boot & system

Restored first backup using 5.5.0.4

Booted without problems.

Factory reset, format boot & system

Restored second backup - created and restored with 5.5.0.4

Booted without any issues.

I hope someone else can confirm this just to be safe.

---

Definition of an update: take old bugs out, put new bugs in.
[HD2 Android NAND Development] clyder:
I did a quick test in magldr but I wasnt so succesfull.

I did a full backup in 5.5.0.4, did a full wipe but failed to restore the boot, either through full or partial restore. Then I reinstalled 5.0.2.6 and failed to restore it also so I had to reflash the kernel to boot.

After looking at boot.img I realized that it appears to be corrupted. File header is different that in earlier backups.

I havent tried to do a restore of a backup done in earlier versions, so dont know if the problem is only in restoring the boot partition.

If noone else comes up with something like this I will test it again after work.