[myTouch 3G, Magic Android Development] psguardian:
DISCLAIMER

Proceed at your own risk. I am not responsible for ANY outcome (good or bad) as a result of YOUR actions! Even following this guide perfectly (or any other cooked ROM guide) you could (however remote the possibility) BRICK your device. IF you choose to follow this guide READ all the way through as a "dry run" until all the steps make some sense.

GATHER YOUR SUPPLIES

Phone (fully charged)

SD card (in your phone)

Computer (w/internet access)

USB cable (one that fits your phone) OR a card reader + micro SD adapter

Download these files onto your pc:

Android 1.5 base image SAPPIMG.nbh_____________________(33d958062cc02bb2cec157f68621d2ff)

To install ALT recovery flashrec _________________________(try the latest, if it fails work backward)

Alternate Recovery img recovery-RA-sapphire-v1.5.2G.img___(md5sum - 4822fd118867bb2e66a53243a408f40e)

Android 1.6 base image DRC83_base_defanged.zip__________(md5sum - 081379e9b525484bcd1ee42bd0031a4c)

CyanogenMod Rom img CyanogenMod ROM of choice________(4.2.14.1 md5sum - c2a1e549d9296d97566e86a0a1c4bc9c)

Android ring tone pack audio-resources.zip________________(md5sum - 6cbefb897e2fb3b954d19c692d5c6966)

32A users I am researching the right files/steps to get ya'll onto CM, read this page of cyanogenmod wiki in the meantime

[*]32B UK users if my method doesn't work try this post from a user on this thread

(NOTE: If any of these links 'die' Google the file name & pm me so I can update the link)

Md5sum Values

how to check md5sum in windows : MD5summer use this program to make an md5sum file & compare values

how to check md5sum in unix/linux : in terminal type 'md5sum /path/to/file.name' [enter] & compare values

Do this once the files are on your SD card to ensure no device-to-device file transfer corruption​

BACK UP YOUR FILES

Before doing ANY mods you should ALWAYS backup your important files.

Connect phone to pc via USB

On the phone: pull down the notification bar & press ->USB Connected->Mount

On the pc: copy any & all files/folders you want to keep.

On the pc: Close the SD card folder on your pc.

On the phone: pull down the notification bar & press ->USB Connected->Un-mount/Turn off USB storage. Once this is done remove USB cable.

(NOTE: By the end of this guide EVERYTHING on your card will be GONE so don't skip this step!)

FORMAT SD CARD

From the home screen press Menu->Settings->SD card & phone storage->Un-mount SD card.

Once it is un-mounted press ->Format SD card.

Once it is formatted & has re-mounted go back to the home screen and press Menu->Settings->Applications->make sure 'Unknown sources' is checked.

(NOTE: if your phone is already ROOTED & running a Custom/Cooked ROM you can likely skip the SETUP section just check Amon_RA's thread for alternate install options)

SETUP

Find out what version of Android your phone has installed. From the home screen Press Menu->Settings->About phone-> scroll to Firmware Version.

(this is your Android Version)

If you're on Android 1.5 proceed to INSTALL section.

If you're on Android 1.6 re-connect phone to pc.

Copy the sappimg.nbh & place it on your SD card, then close everything & disconnect USB. (I am told this MUST be the only file on your SDcard or the validation will fail)

Turn off phone.

Boot into 'Fast Boot' like this: Press-&-Hold END/Power AND Pres-&-Hold Volume Down until the Fast Boot screen appears.

Press the trackball (action button) and wait for it to flash the sappimg.nbh

Once fully complete reboot phone & proceed to INSTALL section.

INSTALL

Connect phone to pc via USB

On the phone: pull down the notification bar & press ->USB Connected->Mount

On the pc: copy the FlashRec.apk & the Amon RA recovery.img onto your SD card.

If you don’t have a ‘file manager’ or ‘app manager’ go to the market & download one such as: ASTRO, LINDA, AppManager or the like. Then browse to your SD card & open/run the flashrec.apk to install it. (if asked what to open with choose Package Installer)

Open RecoveryFlash (flashrec) & make a backup of your current recovery.img. Flashrec just made "recovery-backup.img" on the root of your SDcard, so now rename Amon Ra's recovery to "recovery-backup.img" (choose replace when the dulpicate file name message appears) then open flashrec again & choose restore recovery. (Credit for this step goes to deb82swearingen Much easier then the orig method I was shone for using flashrec)

Once the flash is complete turn the phone off.

Boot into 'Recovery' like this: Press-&-Hold END/Power AND Pres-&-Hold Home. (this will be a black background with green text options)

Scroll down to ‘partition’ (press trackball to select)->partition SD->follow onscreen steps (HOME=confirm, VOL +/- changes partition size, any other key=cancel).

Once partitioning is complete press BACK to get to partition menu & scroll down to 'SD:ext2 to ext3’ press trackball to select (if you have a class 4 or 6 SD card you can then go for 'SD:ext3 to ext4' but don't try it on class2 cards it will cause system instability & likely FRY your SD card... if you don't know your class stop @ ext3).

go BACK until top says "Android system recovery" ->Connect phone to pc & scroll to 'USB-MS toggle'->HOME to confirm.

Copy the HTC 1.6 BASE & CyanogenMod ROM & Contacts.apk files onto your SD card then close the SD card folder on your PC & toggle USB-MS again, then disconnect from the pc.

Scroll to & select ‘wipe'->wipe data partition->CONFIRM

Scroll to & select ‘Flash update image->Apply sdcard:choose zip & select the HTC BASE file & let it complete (this will take a few min be patient).

DO NOT REBOOT!

Scroll to & select ‘Flash update image->Apply sdcard:choose zip & select the CyanogenMod file & let it complete (this will take a few min be patient).

Once the flash is complete reboot phone (this will take up words of 5-10min+ be patient).

Once up & running on latest CyanogenMod connect to pc again & unzip the audio-resources.zip directly onto your SD card.

**************************Only Applies To CM 4.2.13**************************

Fixed Contacts.apk

Now that you have 4.2.13 installed it's time to fix the bug listed in Cyan's change-log. We will do this by replacing the broken Contacts app with the fixed Contacts.apk that you downloaded. If you get a pop-up asking about giving super user rights just hit the check mark to remember this answer & press 'yes'. This is UNIX & UNIX is unforgiving so pay attention to all punctuation, symbols, UPPER CASE & lower case. They are different & if you don't do it exactly it won't work. (UNIX assumes that you know what you want it to do so it will do whatever you tell it to, even if what you tell it to do breaks it.) So long as you are able to type what you see this is easy :)

Open Terminal Emulator & type these lines (hitting enter at the [E])

su [E]

mount -o rw,remount /system [E]

cp /sdcard/Contacts.apk /system/app/Contacts.apk [E]

mount -o ro,remount /system [E]

reboot [E]

(The reboot is precautionary but generally a good idea anytime you replace /system files.)

**************************************************************************

Themes/Modding

Now for those not fond of the plain Android theme you may enjoy this little app that has a growing movement backing it, read about what MetaMorph is here and then see the fast growing list of 'morphs/themes' available here.

Signatures

Now that you're a part of the modding community please For The Love Of MODDING take a moment to put the specs for your phone/ROM/theme/etc into your sig so that in the future if you have questions those of us who try to answer you don't have to play forum tag to get this basic info from you.

~psguardian