Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # AROMA Installer - AROMA Configuration
- # (c) 2011 by Ahmad Amarullah
- # amarullz - xda-developers
- # http://www.amarullz.com/
- # Version 1.10
- calibrate("1.70","30","0.90","24");
- calibtool("");
- ini_set("customkeycode_up", "115");
- ini_set("customkeycode_down", "114");
- ini_set("customkeycode_select", "107");
- ini_set("customkeycode_menu", "229");
- ini_set("customkeycode_back", "158");
- ini_set("rom_name","NottachTrix 4G");
- ini_set("rom_version","1.2.8");
- ini_set("rom_author","Nottach");
- ini_set("rom_device","Motorola Atrix 4G");
- splash(1000, "splash");
- theme("darkside");
- agreebox(
- "Welcome",
- "You are about to install NottachTrix.",
- "@license",
- readfile_aroma("agreement.txt"),
- "I get it, lets go...",
- "To Cancel Installation Press the Home Button..."
- );
- textbox(
- "Changelog",
- "Changelog Version 1.2.8",
- "@info",
- readfile_aroma("changelog_en.txt")
- );
- menubox(
- "Install Type",
- "Install NottachTrix",
- "@install",
- "type.prop",
- "Install or Update","Install or Update NottachTrix System.","@apps",
- "Change or Add","Tweak Your Current NottachTrix Setup.","@apps"
- );
- if
- file_getprop("/tmp/aroma-data/type.prop","selected") == "1"
- then
- selectbox(
- "Rom Options",
- "Important Rom Settings:",
- "@personalize",
- "romoption.prop",
- "Installation Type","",2,
- "FULL Wipe","A complete factory reset with format System, Cache and Data",1,
- "NON Wipe","Formats only Cache and Dalvik Cache to avoid errors",0
- );
- else
- writetmpfile(
- "romoption.prop",
- "item.1.1=0\n"+
- "item.1.2=0\n"
- );
- endif;
- checkbox(
- "Customize Installation",
- "Check any Applications, Mods, Services which you want to Install in the list below:",
- "@personalize",
- "applications.prop",
- "Google Apps","",2,
- "GMail","The Gmail app: push, sync, conversations, integration, search, and more",1,
- "Maps","Navigation, Places, Latitude",1,
- "Street View","Add-On for Google Maps",1,
- "Talk","Freeware voice over Internet protocol (VoIP) client application offered by Google Inc",1,
- "Market","Official Google MarketPlace",1,
- "VoiceSearch","Search everything using Voice Actions",1,
- "VoiceCommand","Control your phone with Voice Actions",1,
- "YouTube","Watch millions of videos on YouTube",1,
- "Keyboards","",2,
- "Swype", "Swype.apk",0,
- "GreekIME", "GreekIME.apk",0,
- "Live Wallpapers","",2,
- "Forest Live Wallpaper", "Moto Forest Live Wallpaper",0,
- "Live Wallpapers", "Stock Live Wallpapers",0,
- "Magic Smoke Live Wallpaper", "AOSP Magic Smoke Live Wallpaper",0,
- "Visualization Live Wallpaper", "AOSP Visualization Live Wallpaper",0,
- );
- checkbox(
- "Customize Installation",
- "Check any 3rd Party Applications you want to Install:",
- "@personalize",
- "third.prop",
- "User Apps (Uninstallable)","",2,
- "Titanium Backup","Backup and Restore Apps",0,
- "ROM Manager","Flash Fix Backup and Restore Your ROM",0,
- "DropBox","Access Your Cloud Files at DropBox",0,
- "Es File Explorer","Root File Explorer (Set Root in Options)",0,
- "Box","Access Your Cloud Files at Box",0,
- "NottachTrix","App by Frustratez",0
- );
- selectbox(
- "Camera Options",
- "Choose Your Camera and Gallery Combination:",
- "@apps",
- "camoption.prop",
- "Camera","",2,
- "Stock - Blur","Oringinal Atrix Camera and Blur Gallery",1,
- "Droid 3 - Blur","Droid 3 Camera and Blur Gallery",0,
- );
- checkbox(
- "Select Mods",
- "Select ROM Mods:",
- "@apps",
- "mods.prop",
- "Wake on Volume","",2,
- "Wake on Volume","MOD will cause screen to turn on by pressing either volume button",0,
- "Settings Menu","",2,
- "Black Settings Menu","Black settings menu",0,
- "Homescreen","",2,
- "Landscape BlurHome","Allows landscape on homescreen",0,
- "Media Volume","",2,
- "30 Steps","Finer Media Volume (Default = 15)",0,
- "Data Manager","",2,
- "With Data Meter","Records Data Usage, May Use More Battery",0
- );
- selectbox(
- "Boot Amimations",
- "Choose your boot animation:",
- "@personalize",
- "animation.prop",
- "Bootanimation","",2,
- "NottachTrix Standard","Custom Boot Animation",1,
- "Galaxy Nexus","Samsung Galaxy Nexus Boot Animation",0,
- "3D Droid","3D Android HUD Boot Animation",0,
- "B&W Droid","Black and White Particle Ring",0
- );
- if
- file_getprop("/tmp/aroma-data/type.prop","selected") == "1"
- then
- selectbox(
- "Select Kernel",
- "Choose your kernel:",
- "@apps",
- "ramfix.prop",
- "Kernel Options","",2,
- "Stock AT&T","<#F00>AT&T users only!</#>",1,
- "RamFix","<#F00>Intl users only!</#>",0,
- "Stock D00","<#F00>D00 tegra-part only!</#>",0,
- "Stock 1100","<#F00>1100 tegra-part only!</#>",0,
- "Faux 1.00Ghz","<#F00>All users.</#>",0,
- "Faux 1.00Ghz EXT4","<#F00>All users. Experimental, WILL WIPE ALL DATA!</#>",0,
- "Faux 1.30Ghz","<#F00>All users.</#>",0,
- "Faux 1.30Ghz EXT4","<#F00>All users. Experimental, WILL WIPE ALL DATA!</#>",0,
- "Faux 1.45Ghz","<#F00>All users.</#>",0,
- "Faux 1.45Ghz EXT4","<#F00>All users. Experimental, WILL WIPE ALL DATA!</#>",0
- );
- else
- writetmpfile(
- "ramfix.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"
- );
- endif;
- viewbox(
- "Ready to install",
- "\n\n"+
- "Start the installation?\n\n"+
- "Click on NEXT to start...",
- "@info"
- );
- install(
- "Installation",
- "AROMA Installer started...\nPlease wait...",
- "@install"
- );
- ini_set("text_next","FINISH!");
- checkviewbox(
- "Installation Completed",
- "<b>Congratulations...</b>\n\n"+
- "<#selectbg_g><b>NottachTrix</b></#> has been installed on your device.\n\n"+
- "Attention:\n\n"+
- "<#F00>A (status 0) error after exiting Aroma is normal</#>\n\n",
- "@info",
- "Reboot your device now.",
- "1",
- "reboot_it"
- );
- if
- getvar("reboot_it")=="1"
- then
- reboot("now");
- endif;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement