[G2 and Desire Z Android Development] blahbl4hblah:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

FAQ

What is apps2ext?

Apps2ext (previously called apps2SD) moved all user installed apps to a secondary ext partition on your sdcard.
This method had the advantage of being straight forward and simple, However, it had the drawback of being difficult to set up.
This method is no longer officially supported by CyanogenMod.
Please see the forum for device specific work-arounds if you really want apps2EXT on CyanogenMod.

Why did I include a apps2ext script to the rom?

Even though we have 1GB space of internal memory and a lot of the G2 users believe that is enough.
The more apps that are installed, the slower our phones can get after time.

Apps2ext takes all of that stress from our internal storage and diverts it to our sd-ext partition if there's any.
This results in our phones never have to worry about slowing down just because of the number of apps that we have installed.

What is swap?

Quoted from Cyanogenmod Wiki

Swap is, in short, virtual RAM. With swap, a small portion of the hard drive is set aside and used like RAM.
The computer will attempt to keep as much information as possible in RAM until the RAM is full.
At that point, the computer will begin moving inactive blocks of memory (called pages) to the hard disk, freeing up RAM for active processes.
If one of the pages on the hard disk needs to be accessed again, it will be moved back into RAM, and a different inactive page in RAM will be moved onto the hard disk ('swapped').
The trade off is disks and SD cards are considerably slower than physical RAM, so when something needs to be swapped, there is a noticeable performance hit.

Unlike traditional swap, Android's Memory Manager kills inactive processes to free up memory.
Android signals to the process, then the process will usually write out a small bit of specific information about its state (for example, Google Maps may write out the map view coordinates; Browser might write the URL of the page being viewed) and then the process exits.
When you next access that application, it is restarted: the application is loaded from storage, and retrieves the state information that it saved when it last closed.
In some applications, this makes it seem as if the application never closed at all.
This is not much different from traditional swap, except that Android apps are specially programed to write out very specific information, making Android's Memory Manager more efficient that swap.

Requirements:

- HTC G2 / HTC Desire Z

- S-OFF

- SDCard

Recommended Requirements:

*Only need this is you plan to use sd-ext and swap*

- Sd-ext partition at least 1024MB

- Swap partition at least 256MB

I DO NOT RECOMMEND USING ANY KIND OF SUPERWIPE

The rom has it's own built in wipe

Installing Process

- Backup your previous rom

- Repartition your sdcard ONLY if you want sd-ext and/or swap enabled

- Download the rom

- Wipe everything (data, cache, dalvik-cache, battery stats)

- Flash the rom

- Once flashing process is complete it will auto reboot!

Working

- Everything should be

Not Working

- Nothing, but tell me if anything is broken

Issues

- None at the moment

REGARDING ISSUES

Post the issues on http://pastebin.com/

- Please give me a logcat if you have an error, I can not help you if there's no logcat of the issue

Credits:

- HTC (Making HTC G2/Desire Z)

- Google (Android OS)

- Cyanogenmod (Source)

- SparksCo (Sd-ext, swap, kernel, cycling bootanimation, symlink scripts and sysctl tweaks)

- SparksCo (Kernel)

- Rambooster script (Credits to Darkky)

- Sdcard increase script (Credits to brainmaster)

If I missed anyone, let me know and I'll add you to here

Download link:

CM7-PyroMod-Stable-V2.3.7

checksums md5: I will provide one later

If you love my roms, donate and hit that thanks button!

Much appreciated!