[HD2 Android NAND Development] Johev:
Instructions to install MIUI using CWM

Dear lionhart1001987, I too was in the same boat as you are, and let me try to help you as others did for me.

So if you have done task29, now you are ready for a clean installation of this ROM.

I presume that you have HSPL 2.08 installed, and that you have flashed the RADIO version 2.15.xxxx

As you have said that you have already installed MALGDR 1.13 that I'll skip that step too.

Now you are more than half way through.

For this part you'll need a microsd. If I were you I would back the information in it on a computer, as I will suggest formatting in the steps below.

So lets start:

1)	Download clockwork mod 1.3, 150M version is ok.

2)	Uzip the file>open the flash.cfg with notepad and edit the content with the values below and SAVE.

Misc ya 1M

recovery rrecov|ro|nospr filesize recovery-raw.img

boot yboot|ro 8M

system ya 120M

cache ya 30M

userdata ya|asize|hr allsize

3)	After you do that, put the SD card in your phone and reboot into MAGLDR. Now select option 4 in MALGDR (USB flasher) and connect the phone to your PC.

4)	On PC, click DAF.exe and follow on screen instruction. (this will install clockwork mod on your phone)

Note: Now that you have CWM on your phone, you can use it to partition your microsd card. It is very simple and works very well.

5)	Just boot into MALGDR and select "Boot AD SD" option lockworkMod recovery should load

6)	Now once you have done this:

> GO to advance and then partition SD card

> Remember this will wipe the sd card so back everything up if need be

> Choose how much space you want on the partition then then choose 0MB for swap

>PLEASE NOTE PARTITIONING WILL WIPE THE SD CARD SO YOU WILL NEED TO GO INTO USB STORAGE MODE IN MAGDLER AND COPY THE 2 FILES FOR THE SD CARD FROM THE CWM DOWNLOAD

>and hey presto your done

> Remember you need to use an APPS2SD+ rom for this to work!

Now for the actual flashing.

1)	Boot into MALGDR and select mass storage

2)	Transfer the zip file ROM, the language pack and the app2sd to the microsd

3)	You now should have 3 zip files in there

4)	Create .data folder

- Connect sdcard to PC, on xp window, click START>RUN>CMD

- Type the drive# of your sd card, eg D:

- Type mkdir .data

4.1) Open notepad > create a config.txt with below contain and save this file to /sdcard/.data folder. DO NOT enter the those Note in bracket

data_img=1

data_ext=0

sd_boost=0

nand_data=0

data_size=1024 (note: default is 512M)

ppp_mode=# (note: #=0 will enable the rmnet and #=1 will let it stay on ppp.

gps_zone=’countryid’ (note: countryid such as us, eu, sg, jp etc) If you live in Europe put (gps_zone=europe.pool.ntp.org)

5)	Now again boot into MALGDR and select "Boot AD SD" option lockworkMod

6)	Flash the ROM (select the "Boot AD SD" > select the "install zip from sdcard-> choose zip rom file name)

7)	When it finishes just install the language pack and the app2sd zip too

8)	Reboot the phone and wait for a while

9)	If the Android is not loading, take out the battery wait 30 sec, put it back in and boot up the phone (not sure why but I need to do this after I flash the rom).

Congratulations you now have MIUI and CWM running on your phone.

Good luck.

Useful links

CWM

Create partition on microsd using CWM

App2SD MIUI can be found on post 2 here