[myTouch 3G, Magic General] TyFactor:
For:

USA MyTouch 3g 32B (Possibly Others, would need help specifying)

SAPPHIRE PVT 32B SHIP S-ON G

HBOOT-1.33.0006 (SAPP30000)

CPLD-10

RADIO-2.22.19.26I

(This is just my experience and the way I've interpreted things I've read.)

Lessons Learned:

I assumed Swappyness, Swap, 10MB Hack, compcahe etc all came up and running on most roms. I would flash them and still, things were SLLLOOWWW.

I found out about user.conf etc. These need to be pushed to the OS to work. (I know compcache is included in builds, but I never really felt it was doing anything, possibly not starting correctly)

10MB hack gets over-written sometimes when I am hacking and flashin' all these different roms. :)

Cyanogen Recovery "Wipe" wasn't really clearing out things like I thought it would.

Recreating Partitions in ADB Shell were most likely unsuccessful because of user error, unix newb.

Getting Amon Ra's Recovery on was a pain to read about. Nothing seemed catered to my situation. I couldn't get clarification on Radio/SPL etc.

Notes:

I'm a 'new guy' like many other readers here. I'm just trying to help out someone that may have been in the same position as me. Steps in this guide may not make sense to the "Pro's" but I'm not a pro and am learning that decernment myself.

I'm sure I've configured something in such a way that isn't "Best Practice" but I will boldly state that after performing the steps listed below, my phone became fun and snappy again.

I take no credit for anything listed here other then the time I spent writing this compilation. Props to the developers noted in the referenced links.

This Guide is Applicable to:

USA MyTouch 3g 32B (Possibly Others, would need help specifying)

SAPPHIRE PVT 32B SHIP S-ON G

HBOOT-1.33.0006 (SAPP30000)

CPLD-10

RADIO-2.22.19.26I

Tested on ROM:

Super D Rom 1.5.1 [STABLE]

http://xdaforums.com/showthread.php?t=613809

CyanogenMod 4.2.13

http://xdaforums.com/showthread.php?t=567610

Files Needed:

recovery-RA-sapphire-v1.5.2H.img

http://www.androidspin.com/downloads.php?dir=amon_ra/RECOVERY/&file=recovery-RA-sapphire-v1.5.2G.img

From: http://xdaforums.com/showpost.php?p=4029315&postcount=1

COC10 build of Cupcake from

http://www.megaupload.com/?d=BLM4EDGE (sappimg.nbh)

md5sum: 33d958062cc02bb2cec157f68621d2ff

FlashRec from

http://g1files.webs.com/Zinx/flashrec-20090815.apk

md5sum: 7e3f43760783348c02130f26e25df486

After Downloading, rename to .apk so the app installer can see it.

Configuration Steps:

From CyanogenMod's Wiki And PSGuardian "[How-To] Flash Your MT3G/Magic/Sapphire {32A/32B} w/ CM 4.2.13 + Amon RA Rec v1.5.2" http://xdaforums.com/showthread.php?t=579328 -- I Just found this guide and it does cover some of the things I am but It does differ in some areas.

1. Format your SD card to FAT32

* Windows: Right-click on SD icon and select format

* Mac users: Start Disk Utility, Partition the card

* Linux: Use gparted (it's in the repositories of your favorite distro)

2. Copy the COC10 build (sappimg.nbh) file (and no others!!) to your SD card.

3. Shut down your phone.

4. Reboot into fastboot by holding Volume Down + Power (you should see three Androids on skateboards)

5. Follow the on-screen instructions to flash the image. On some handsets it may require pressing the action button (trackball), while on others it may require pressing the power button.

* If you get an error saying "Main version is older" or "Incorrect Model ID" you'll need to create a goldcard. Follow goldcard instructions and the continue with the next step.

6. Reboot when phone is done updating. You now have the one-click vulnerable version of the firmware.

7. Connect phone to pc via USB

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

8. On the pc:

Erase sappimg.nbh from your SD card.

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)

9. 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).

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

11. Copy the Super D Rom 1.5.1 [STABLE] ROM .ZIP or CyanogenMod Rom, or whatever rom your wanting to use, 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

Wipe Data/factory reset

Wipe Devlik-cache

Wipe SD:ext partition

Scroll to & select ‘Flash zip from sdcard.

choose rom image filename and posh "Home" to confirm.

Be patient. DO NOT REBOOT!

When completed select "Reboot System Now"

You now have AmonRA Image recovery and your rom loaded.

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

Time to speed up your rom.

10MB hack

Taken from: http://xdaforums.com/showthread.php?t=566410

[MOD] 10MB RAM Increase kernels/boot.img for Dream and Magic 32B[01/13]

Boot.Img file: http://www.sendspace.com/file/9dvmvi

Put on SD card root

Unmount sd card from phone

C:\android-sdk_r04-windows\android-sdk-windows\tools>adb devices

*Confirm device is listed

C:\android-sdk_r04-windows\android-sdk-windows\tools>adb shell

# mount -o remount,rw /dev/block/mtdblock3 /system

mount -o remount,rw /dev/block/mtdblock3 /system

# flash_image boot /sdcard/boot.img

flash_image boot /sdcard/boot.img

# flash_image boot /sdcard/boot.img

flash_image boot /sdcard/boot.img

# reboot

reboot

reboot returned

#

C:\android-sdk_r04-windows\android-sdk-windows\tools>

After reboot: (Confirm new Mem total: ~107324)

C:\android-sdk_r04-windows\android-sdk-windows\tools>adb shell

# free

free

total used free shared buffers

Mem: 107324 104376 2948 0 8

Swap: 32760 11148 21612

Total: 140084 115524 24560

#

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

Setup Swap manually.

From:

http://xdaforums.com/showthread.php?t=542899

[MOD]user configurable userinit.sh V0.1.5.3 for CM. [UPDATED 9/05]

Copy attached userinit.zip files,user.conf and userinit.sh to SD card root.

Install using ADB:

*Turn Off USB Storage

C:\android-sdk_r04-windows\android-sdk-windows\tools>adb devices

*Confirm device is listed

C:\android-sdk_r04-windows\android-sdk-windows\tools>adb shell

# mount -o remount,rw /dev/block/mtdblock3 /system

mount -o remount,rw /dev/block/mtdblock3 /system

# cp /sdcard/userinit.sh /system/sd

cp /sdcard/userinit.sh /system/sd

# cp /sdcard/user.conf /system/sd

cp /sdcard/user.conf /system/sd

# chmod 755 /system/sd/user.conf

chmod 755 /system/sd/user.conf

# chmod 755 /system/sd/userinit.sh

chmod 755 /system/sd/userinit.sh

# reboot

reboot

reboot returned

#

C:\android-sdk_r04-windows\android-sdk-windows\tools>

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

After reboot, execute userinit.sh shell script.

C:\android-sdk_r04-windows\android-sdk-windows\tools>adb shell

# sh /system/sd/userinit.sh -s

sh /system/sd/userinit.sh -s

=== user.conf ===

*** CompCache ***

compcache_en=0

cc_memlimit=18

cc_disksize=96

cc_backingswap_en=0

cc_backingswap=/dev/block/mmcblk0p3

cc_swappiness=60

*** Swap File ***

swap_file_en=0

linux_swap_file_size=0

linux_swap_file=/system/sd/swap.file

*** Linux Swap ***

linux_swap_en=1

linux_swap_partition=/dev/block/mmcblk0p3

swappiness=30

*** VM ***

sys_vm_en=0

page_cluster=0

laptop_mode=0

dirty_expire_centisecs=3000

dirty_writeback_centisecs=500

dirty_background_ratio=5

dirty_ratio=10

*** CPU ***

proc_cpu_en=1

scaling_min_freq=384000

scaling_max_freq=528000

sampling_rate=2000000

powersave_bias=0

up_threshold=25

=== Linux Swap status ===

Linux SWAP enabled on /dev/block/mmcblk0p3

Linux Swap: swappiness - 30(system) 30(user)

=== CPU status ===

Set CPU: scaling_min_freq - 384000(system) 384000(user)

Set CPU: scaling_max_freq - 528000(system) 528000(user)

Set CPU: sampling_rate - 2000000(system) 2000000(user)

Set CPU: powersave_bias - 0(system) 0(user)

Set CPU: up_threshold - 25(system) 25(user)

# reboot

reboot

reboot returned

#

C:\android-sdk_r04-windows\android-sdk-windows\tools>

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

I'm sure there are plenty of things that can be tweaked, done differently but this worked for me. :)

Will add pretty formatting etc if the post becomes beneficial or used by anyone.

Hope it's helpful to atleast somebody.