[Touch Pro2, Tilt 2 Android Development] arrrghhh:
Hey all,

Wanted to post CM7 here for everyone to enjoy.

Neopeek has been working hard to get this build up and running, he's been doing great work!

Neopeek's Original Post - if you wish to see Neopeek's original post about the CM7 topic.

Also, since now I am using his new ClockWordMod method - CWM Recovery thread

As is stated in the title, this is mainly for devs/testers. Lots of things are broken, and there will be frequent updates.

There are two methods to using this build:

1) ClockWorkMod (requires 3 separate ext2 partitions)

2) Loop'd system.ext2 image (like XDAndroid) [In progress]

The benefit of #1 is a dedicated system/data partition, and *partial* USB mass storage support.

The benefit of #2 is, it's easier :p.

I still have to work to get #2 up, but I wanted to post #1 ASAP. Lots of work to flesh out the post to, be patient!

I've been holding off on releasing this CWM version of CM7, because I'm still having a lot of bugs with it. Still needs quite a bit of work, but it's getting late for me tonight - I am going to release it, let me know if you guys make improvements, I'd love to incorporate them!

Main issues seem to be related to my durn CDMA device. Need to break into some logs to see what's goin on, it may be a little while! I think GSM folk will be fine. Let me know!

Downloads

Download #1

How-to

Method #1 (ClockWorkMod)

****WARNING****

If you setup dedicated partitions using this method, normal XDAndroid builds will think that you want to use dedicated partitions. I had to modify the init to get it to work correctly (I basically broke the partition detection in the init). It's not pretty, but I don't know of a better way to resolve that issue - let me know what ideas you guys have!

Setup:

You will need to create three (3) ext2 partitions on your SD card. This is not extremely simple, but by no means impossible :p.

If you're using Windows, I like the Mini Partition Tool. If you're in Linux, I usually use gparted.

This takes a little bit of planning - but in total, I would say you need a minimum of 450mb of space for all three ext2 partitions. So work out how much free space is left (if you want a bigger data partiton, or system partition account for it!) and make that the first partition - FAT32. Make sure all the partitions are "primary", not "logical"! See the partition layout below:

1 - FAT32 Primary (remainder of card)

2 - ext2 Primary (at least 150mb, system partition)

3 - ext2 Primary (at least 250mb, data partition - I wouldn't go over 1gb here)

4 - ext2 Primary (at least 50mb, cache partition)

Don't worry about putting anything in these ext2 partitions, everything is populated by Android and CWM. The FAT32 partition is used to kick off Android, while system, data and cache are all ext2 partitions. Reason for this is, hopefully if things go haywire we can blast out cache, not data ;). Also, it should be easier to update using this method than previously.

Extract the file. Look at the folder it created (npkboot). Copy the entire npkboot folder to the root of your SD (for now this is required - the init assumes there's a /sdcard/npkboot/tmp folder). There will also be an update.zip, in this case update-cm-7.0.0-neopeek.zip. Put this at the root of your SD card (this makes finding it in the menu much easier!)

Copy the appropriate startup.txt from the STARTUPS folder.

Find haret.exe in th npkboot folder. Run it, and watch the boot process carefully! It will ask you to hold the vol down button to enter recovery, and you have 10 seconds to do so.

Assuming you manage to do this correctly (I had some trouble at first :p) you should see an icon like a hat. Wait for the menu.

Buttons:

End key - back (back button seems to do this as well...)

Send key - enter

Vol up - up

Vol down - down (menu button seems to do this as well...)

If this is the first install, go to "install zip from sdcard". Then "choose zip from sdcard" This will install the system image to the system partition from the update.zip.

If you need to wipe the data partition, you can do that under "mounts and storage". You shouldn't need to do this unless you're going from gb -> froyo or visa-versa. Froyo -> froyo should 'just work', as always YMMV.

There are A LOT of options in replimenu. The only ones I have used are install, format /data, /system or /cache and Reboot. According to Neopeek, there are several things that should not be used:

Once you've installed Android, go back to the main menu and "reboot system now" There are some bugs, for example "reboot recovery" and "power off" all just reboot the phone to WinMo.

Boot haret again, but this time don't hold the vol down to enter recovery - boot as normal!

#2: Much simpler method, similar to XDAndroid builds.

Extract the file to your desktop. Go into the CM7 folder, look for the STARTUPS folder - grab the appropriate startup.txt, move it to where haret.exe is.

Copy everything in the CM7 folder to the root of your SD card - if you want to run it from a folder, create a rel_path=CM7 statement in your startup.txt after the set cmdline (if you want a different folder, change the CM7.)

Grab the ts-calibration file attached to this post (for RHOD), or go to this post for a list of ts-calib's. You can also create your own on boot, but may have to revert to an older kernel to do so.

Run haret.exe!