How I Port Roms
PREREQUISITES :
* Base rom(CM7/CM9)
*Rom you want to port(Must be MDPI I believe)
*7-zip or Winrar
OPTIONAL: APKtool if you want to fix MMS
STEP 1:
Open Base Rom,
If CM7: Delete Apps, Framework, and Media
if CM9: Delete Apps, Framework, and go INTO the media folder, delete everything but the EMD files.
STEP 2:
IF CM7:Copy Apps, Framework, and Media from Port, to Base
IF CM9:Copy Apps, Framework, And audio folder.
MIUI: Copy Everything in the media folder except EMD files
STEP 3:
Go into bin of both roms, Copy EVERYTHING from Base, to Port. Next, copy everything in Port to Base. This will fill in missing files.
STEP 4:
Go into etc/Init.d/ in both roms. Copy EVERYTHING from Base, to Port. Next, Copy everything in Port to Base.
STEP 5:
Go into etc/Permissions in both roms. Copy EVERYTHING from Base to Port, then Port to Base
STEP 6:
Go into etc of both roms. Copy other files(NOT FOLDERS) from Base to Port, then Port to base.
STEP 7:
Go to Lib of both roms. Copy all Lib files from Base to Port, then Port to Base.
IF it's a special rom, you need some other files. (Search XDA if you get problems)
STEP 8:
Go into Xbin of both roms. Copy all from Base, to port. Then Port to Base.
After those are done, you should be able to flash the BASE rom with no problem, and enjoy the ported rom.
Post #2 will be Hotfixes(MMS, How to include Tweaks properly, etc)
I'll add screenshots when I get a chance.