[T-Mobile Samsung Galaxy S II SGH-T989] thederekjay:
I have already implemted this installer with one of my kernels... It gives trouble with TWRP..

here is my config if it helps.. already calibrated..

### LICENSE:
#
# Copyright (C) 2011 Ahmad Amarullah ( http://amarullz.com/ )
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
### FILE INFO:
#
# AROMA Installer 2.00 - AROMA Installer Test Script Configuration
# (c) 2011-2012 by Ahmad Amarullah
# amarullz - xda-developers
# http://www.amarullz.com/
#
# Binary Version : 2.50
# Binary Codename : Edelweis
#
### INFO:
#
# * AROMA Resource Dir = META-INF/com/google/android/aroma
#
# * AROMA Temporary Dir = /tmp/aroma/
#
# * About Icon = @alert - show <AROMA Resource Dir>/icons/alert.png
# or if theme used it will find <themedir>/icon.alert.png
# you can still access it via "icons/alert"
#
# * dp = Device Pixelate. WVGA/QHD = 3, HVGA = 2.
# dp calculated with = round(min(width,height) / 160)
#
###

##
# Fix Colorspace Issue
#
ini_set("force_colorspace","rgba");

##[ REQUIRED ]
# Calibrate Touchscreen - MATRIX METHOD
#
calibrate_matrix(
"47160.00", "-315.00", "-91335.00", "-595.00",
"45730.00", "216632.50", "46981.25", "20"
);

##
# SET THEME
#
theme("ics");

##
# Initializing Rom Information
#
ini_set("rom_name", "D A R K S I D E - V E N O M");
ini_set("rom_version", "05");
ini_set("rom_author", "TDJ [TheDerekJay");
ini_set("rom_device", "SGH-T989/D [hercules]");
ini_set("rom_date", "August, 05 2012");
#

alert (
"Warning: DRAGONS AHEAD!",
"There is important information\n"+
"popping up on the next screens.\n\n\n"+
"READ IT CAREFULLY!\n\n\n"+
"Understood my far too young Padawan?",
"icons/alert",
"Yes, Master."
);

viewbox(
"Welcome to the D A R K S I D E",
" BE AWARE:\n"+
" You're about to flash >>\n"+
" D A R K S I D E . V E N O M"+
"\n\n\n\n\n"+
" AUTHOR: <#33b5e5>TDJ [TheDerekJay]</#>\n"+
" DEVICE: <#33b5e5>SGH-T989/D [hercules]</#>\n"+
" UPDATED: <#33b5e5>Aug, 05 2012</#>\n\n"+
" VERSION: <#800>[06]</#>\n"+
" BUILD: <#800>[#1]</#>"+
"\n\n\n\n\n"+
"Press Next to continue the installation...",
"icons/info"
);

agreebox(
"Important information!",
"Please read this carefully...",
"icons/agreement",
readfile_aroma("agreement.txt"),
"I have read and understood everything...",
"Please tick the checkbox..."
);

textbox(
"Changelog",
"DARKSIDE.VENOM Changelog",
"icons/info",
readfile_aroma("darkside_logs.txt")
);

appendvar("installmsg","\n\nPlease select installation type below:");

selectbox(
"Supported ROM's",
"Choose your setup:\n"+
"<#800>Please make sure you're running a supported ROM!</#>",
"icons/personalize",
"kernel.prop",

"CyanogenMOD 9","[ICS] NTLY 07232012+",0,
"CyanogenMOD 10","[Jellybean] Alpha 1+",0,
"AOKP Milestone 6","[ICS] July 15th",0,
"AOKP Alpha JB","[Jellybean] July 31st+",0
);

viewbox(
"Ready To Install",
"I got everything I need to pull this off!\n\n"+
"Click Next To Start Installation...",
"icons/info"
);

install(
"Installing",
"Installing DARKSIDE.VENOM...\nPlease wait until I am finished...",
"icons/install"
);

# Set Next Text fo Finish
ini_set("text_next", "Finish");

viewbox(
"Installation Completed",
"<#080>Congratulations!...</#>\n\n"+
"DARKSIDE.VENOM has been installed\n\n\n\n\n"+
"Press FINISH to return to recovery",
"icons/info"
);