Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### 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.70 - AROMA Installer Test Script Configuration
- # (c) 2011-2012 by Ahmad Amarullah
- # amarullz - xda-developers
- # http://www.amarullz.com/
- #
- # Binary Version : 2.70RC2
- # Binary Codename : Flamboyan
- #
- ### INFO:
- #
- # * AROMA Resource Dir = META-INF/com/google/android/aroma
- #
- # * AROMA Temporary Dir = /tmp/aroma/
- ini_set("rom_name", "Deathly");
- ini_set("rom_version", "1.5");
- ini_set("rom_author", "Deadman96385");
- ini_set("rom_device", "Galaxy s3 (D2lte)");
- ini_set("rom_date", "April 27, 2014");
- ini_set("force_colorspace","rgba");
- fontresload( "0", "ttf/DroidSans.ttf", "12" );
- fontresload( "1", "ttf/DroidSans.ttf", "18" );
- splash(2000, "deathly");
- viewbox(
- "Welcome",
- "You are about to flash <b>"+
- ini_get("rom_name")+
- "</b>\nfor <b>"+ini_get("rom_device")+"</b>.\n\n"+
- " VERSION\t: <b><#selectbg_g>"+ini_get("rom_version")+"</#></b>\n"+
- " AUTHOR \t: <b><#selectbg_g>"+ini_get("rom_author")+"</#></b>\n"+
- " RELEASED\t: <b><#selectbg_g>"+ini_get("rom_date")+"</#></b>\n\n\n"+
- "Press Next to Continue...",
- "@welcome"
- );
- agreebox("Terms Of Use","Please read the ElementalX Terms of Use...","icons/agreement",
- "" + readfile_aroma("agreement.txt"),
- "I Agree with these Terms Of Use...",
- "Please check the box..."
- );
- alert(
- "NOTE:",
- "This kernel will allow you to choose versions of the Deathly Kernel that may not work with your device. If you install this and your device does not boot please reinstall with 4.8 toolchain.",
- "@alert",
- "OK"
- );
- selectbox(
- "Kernel Selection","","","kernel.prop",
- "Select Custom Kernel ToolChain","",2,
- "Yes","Advanced",0,
- "No","Default aka safe",1,
- "Sabermod Toolchain","Select which version of the kernel you want",2,
- "SaberMod 4.8","Works on 100% of all devices still a good experience, You want this one if you want to play it safe",1,
- "SaberMod 4.10","Does not work on all devices, but is smoother and a overall a better experience",0,
- );
- endif;
- menubox(
- "Deathly Installer",
- "Ready to install",
- "@info",
- "menu.prop",
- "Install Deathly","","@install",
- "Abort installation","","@default"
- );
- if prop("menu.prop","selected")=="2"
- then
- exit("");
- endif;
- setvar("retstatus",
- install(
- "Installing",
- "Installing Deathly Kernel...\nPlease wait...",
- "@install")
- );
- ini_set("text_next", "Finish");
- if getvar("retstatus")=="0" then
- viewbox(
- "Installation Completed",
- "<#080>Congratulations...</#>\n\n"+
- "Deathly has been installed successfully!\n\n"+
- "Enjoy!",
- "@info"
- );
- else
- viewbox("Installation Failed","\n\nInstaller Status: "+ getvar("retstatus"),"@alert");
- endif;
Advertisement
Add Comment
Please, Sign In to add comment