- ### LICENSE:
- #
- # 2012 Resurrection Remix By Westcrip
- #
- # 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:
- #
- # Resurrection Remix Jelly Bean
- #
- #
- calibrate("0.8429","51","0.9658", "9", "yes");
- ini_set("rom_name", "Resurrection Remix");
- ini_set("rom_version", "3.0.5 jellybean");
- ini_set("rom_author", "neerajganga");
- ini_set("rom_device", "Samsung GalaxyS2G");
- ini_set("rom_date", "");
- splash(
- 5000,
- "RR"
- );
- anisplash(
- 4,
- "splash/a1", 500,
- "splash/a2", 30,
- "splash/a3", 30,
- "splash/a4", 30,
- "splash/a5", 30,
- "splash/a6", 30
- );
- theme("ics");
- viewbox(
- "Welcome",
- "Installing Resurrection Remix<b>"+
- ini_get("Resurrection Remix JB")+
- "</b> for <b>"+ini_get("")+"</b>SGS2G\n\n"+
- "Relevant information of the ROM:\n\n"+
- " Version\t: <b><#selectbg_g>"+ini_get("RR 3.0.5")+"</#>RR 3.0.5 JB</b>\n"+
- " Rom Name\t: <b><#selectbg_g>Resurrection Remix</#></b>\n"+
- " Rom author\t: <b><#selectbg_g>"+ini_get("rom_date")+"</#>neerajganga</b>\n\n\n"+
- "Press Next to Continue the Installation...",
- "@welcome"
- );
- menubox(
- "Installation Mode",
- "AROMA Installer for Resurrection Remix",
- "@install",
- "type.prop",
- "Default Installation", "","@default",
- "Light Installation", "","@install",
- " Custom Installation (Recommended)", "","@personalize"
- );
- ###################################################################################################################
- # #
- # Resurrection Remix Jelly Bean by westcrip #
- # #
- ###################################################################################################################
- selectbox(
- "Kernels And Modems",
- "Select Kernel",
- "@addons",
- "kernelm.prop",
- "**Kernel**", "", 2, #-- Group 1. key = "selected.1"
- "CM10", "Install Stock CM10 Kernel", 0, #-- selected.1 = 1
- "Horse Power", "Install Horse Power v2.1.5 Kernel", 1, #-- selected.1 = 2
- );
- checkbox(
- "Themes",
- "",
- "@themes",
- "themes.prop",
- "Select Themes", "", 2, #-- Group 1. key = "selected.1"
- "Inverted GApps", "Untick To install default gapps", 1, #-- selected.1 = 1
- "Red holo Theme", "", 1 #-- selected.1 = 2
- );
- checkbox(
- "Launchers",
- "",
- "@launcher",
- "launcher.prop",
- "Select launchers", "", 2, #-- Group 1. key = "selected.1"
- "Experia Launcher", "", 1, #-- selected.1 = 1
- "NOVA Launcher", "", 1 #-- selected.1 = 2
- );
- selectbox(
- "GTalk",
- "",
- "@gtalk",
- "gtalk.prop",
- "Select GTalk", "", 2, #-- Group 1. key = "selected.1"
- "Inverted GTalk", "install black gtalk", 0, #-- selected.1 = 1
- "Default GTalk", "install Default gtalk", 1 #-- selected.1 = 2
- );
- if (prop("type.prop","selected")=="1") then
- writetmpfile(
- "customize.prop",
- "item.1.1=0\n"+
- "item.1.2=0\n"+
- "item.1.3=0\n"+
- "item.1.4=0\n"+
- "item.1.5=0\n"+
- "item.1.6=0\n"+
- "item.1.7=0\n"+
- "item.1.8=0\n"+
- "item.1.9=0\n"+
- "item.1.10=0\n"+
- "item.1.11=0\n"
- );
- endif;
- if (prop("type.prop","selected")=="2") then
- writetmpfile(
- "customize.prop",
- "item.1.1=0\n"+
- "item.1.2=0\n"+
- "item.1.3=0\n"+
- "item.1.4=0\n"+
- "item.1.5=0\n"+
- "item.1.6=0\n"+
- "item.1.7=0\n"+
- "item.1.8=0\n"+
- "item.1.9=0\n"+
- "item.1.10=0\n"+
- "item.1.11=0\n"
- );
- endif;
- if (prop("type.prop","selected")=="3") then
- checkbox(
- "RR Custom Installation Mode",
- "**Select Applications** ",
- "@personalize",
- "customize.prop",
- "--Applications--", "", 2,
- "Apollo","new cm10 music app",0,
- "ES explorer","file explorer",1,
- "RR music player","default rr Music player",0,
- "Samsung Apps","TW task manager & samsung market",0
- );
- endif;
- ini_set("text_next", "install RR");
- viewbox(
- "Ready to Install",
- "The wizard is ready to begin installation.\n\n"+
- "Press <b>Install Now</b> to begin the installation.\n\n"+
- "If you want to review or change any of your installation settings, press <b>Back</b>. Press Menu Key -> Quit Installation to exit the wizard.",
- "@install"
- );
- ini_set("text_next", "Next >");
- setvar("retstatus",
- install(
- "Installing RR",
- "<b>"+ini_get("RR")+"</b>RR is being installed.\n\n"+
- "Please wait while installation wizard installs <b>"+ini_get("Resurrection Remix JB")+
- "</b>. This may take several minutes.",
- "@install",
- "The installation wizard has successfully installed <b>"+ini_get("Resurrection Remix ics")+
- "</b>. Press Next to continue."
- )
- );
- ini_set("text_next", "Finish");
- checkviewbox(
- "Installation Completed",
- "<#selectbg_g><b>Installation is Done...</b></#>\n\n"+
- "<#selectbg_g><b>Thanks For Installing Resurrection Remix</b></#>\n\n"+
- "<b>"+ini_get("RR")+"</b>RR has been installed into your device.\n\n"+
- "Installer Status: "+getvar("retstatus")+"\n\n",
- "@welcome",
- "Reboot your device now.",
- "1",
- "reboot_it"
- );
- if
- getvar("reboot_it")=="1"
- then
- reboot("onfinish");
- endif;