[HD2 Android NAND Development] ironheart:
Hi Imilka!

First I want to thank you for your Desire-Z builds - they are quite stable and fast... you did a pretty amazing work there!

I had few issues using your last build (v1.1) with CWM-Recovery, so I want to share my knowledge with the other users. If you think that my informations are useful I would be honored if you include them to your OP.

Ok, let's start.

IMPORTANT INFO!

(1) The following procedures are for EUROPE LEOs (512MB Storage) only!

(2) I will not be held responsable if your your system renders unresponsable or your data get's lost. You should know what you're doing!

(3) Backup your data

(4) BACKUP YOUR DATA!!

(5) You should have an already partitioned SDCARD

- I recommend a 1GB-ext4-partition

- make sure that it is a primary partition and placed as the 2nd partition after your fat32 partition

- Tutorial: http://xdaforums.com/showthread.php?t=910000​

PROCEDURE:

(1) Download imilka's latest build and extract it to a folder - http://www.multiupload.com/5QJ2I5ACZZ

(2) Download the latest CMW-Build and copy the contant of the "SDCARD"-folder to a folder to your SD-Card

- I prefer the folder "Clockworkmod", because CMW will create this folder anyway)

- You HAVE TO put CMW's "zImage" and "initrd.gz" to a subfolder of your SD-Card-root because

MAGLDR still cannot load SD-builds from SDCARD-root

!

- DO NOT FLASH CMW, SIMPLY COPY THE FILES AND YOU'RE DONE HERE!

- ORGINAL THREAD: http://xdaforums.com/showthread.php?t=898913

(2) Rename the orginal "flash.cfg" from imilka's build to "flash_IMILKA.cfg" (be aware - do not accidently rename the "flash.cfg.txt"!!)

(3) Put "flash.cfg" from the ZIP attached to this post to the NAND-ROM-Folder and/or modify the orginal flash.cfg by yourself

- if you modify the "flash.cfg" by yourself make sure to keep the correct order of partitions - Otherwise imilka's initrd.gz will not be able to initialize the system-partition!

- correct

order

of partitions:

1. boot (filesize+2M ok)

2. cache (size between 10M to 24M is ok, 32M functional in imilka's v1.0 build)

3. userdata (as small as possible beause we use SD-ext4 for userdata, 10M ok - 3M functional in imilka's v1.0 build)

4. system (filesize+2M ok) - HAS TO BE THE 4TH PARTITION!

5. misc (1M)

6. recovery (3M ok, I'm not sure if CWM takes use of it anyway...)​

(4) Take your Leo into MAGLDR's USB-flash-mode (Power Down - Power Up - keep pressing red power-button until MAGLDR-menu appears - select USB-flash - make sure that your LEO is connected correctly to your PC).

- Usage of the last 24M (via MAGLDR) is not needed,

i do not recommend this setting

(5) Flash imilka's ROM via DAF MAGLDR (run "ANDR_INSTALL.exe" as admin!)

- if you get error-messages ("to many bad blocks", etc) your partition sizes probably don't mach the LEO's storage size. Try to reduce size of the cache- and/or userdata-partition in "flash.cfg" and restart DAF-Flasher.

(6) Do not touch the phone until the flashing process has finished!

(7) YOU'RE DONE! Now you can choose to boot into CWM-Recovery by selecting "SD-BOOT" in MAGLDR-menu.

ISSUES / QUESTIONS:

- if your phone get's stuck on green HTC-logo for more than 15min it's very likely that you didn't edit the partition-table ("flash.cfg") correctly. Look over it and try again!

- your CMW-backups will be created in "SDCARD-root\Clockworkmod\backup\date\.."

- to update CWM-Recovery simply replace "initrd.gz" and "zImage" in your CMW-folder with the corresponding files of the newer CMW-build.

- Does imilka's build benefit from the cache-partition? If not we could reduce the size of cache-partition to 3M (needed by CWM)... I think Imilka could answer this.

I hope I could help.

Ironheart

EDIT: Imilka tould us that a bigger cache-partition isn't useful for this build - so you could reduce its size to 3M. I uploaded another "flash.cfg" with altered parameters - try out with care!

I made some UPDATE.ZIPs for CWM in combination with Imilka's 1.1 build (save&easy installation procedure). You can find them HERE