Guest User

Untitled

a guest
Aug 7th, 2012
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.22 KB | None | 0 0
  1. ### LICENSE:
  2. #
  3. # Copyright (C) 2011 Ahmad Amarullah ( http://amarullz.com/ )
  4. #
  5. # Licensed under the Apache License, Version 2.0 (the "License");
  6. # you may not use this file except in compliance with the License.
  7. # You may obtain a copy of the License at
  8. #
  9. # http://www.apache.org/licenses/LICENSE-2.0
  10. #
  11. # Unless required by applicable law or agreed to in writing, software
  12. # distributed under the License is distributed on an "AS IS" BASIS,
  13. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. # See the License for the specific language governing permissions and
  15. # limitations under the License.
  16. #
  17. ### FILE INFO:
  18. #
  19. # AROMA Installer 2.50 - AROMA Installer Test Script Configuration
  20. # (c) 2011-2012 by Ahmad Amarullah
  21. # amarullz - xda-developers
  22. # http://www.amarullz.com/
  23. #
  24. # Binary Version : 2.50
  25. # Binary Codename : Edelweis
  26.  
  27. ini_set("force_colorspace","argb");
  28.  
  29. ini_set("rom_name", "SDesign");
  30. ini_set("rom_version", "V1.0.0");
  31. ini_set("rom_date", "August 6th");
  32. ini_set("rom_author", "PureMotive");
  33. ini_set("rom_device", "Samsung Galaxy SIII");
  34.  
  35. #calibrate("0.8429","51","0.9658", "9", "yes");
  36.  
  37. calibrate_matrix(
  38. "116130.00", "280.00", "-290885.00", "-2940.00",
  39. "117880.00", "-228410.00", "116413.50", "12"
  40. );
  41.  
  42. splash(2000, "splash");
  43.  
  44. theme("ics");
  45.  
  46. viewbox(
  47. "Welcome",
  48. "You are about to Install <b>"+
  49. ini_get("rom_name")+
  50. "</b> for <b>"+ini_get("rom_device")+"</b>.\n\n"+
  51. "ROM Information:\n\n"+
  52. " VERSION\t: <b><#selectbg_g>"+ini_get("rom_version")+"</#></b>\n"+
  53. " UPDATED\t: <b><#selectbg_g>"+ini_get("rom_date")+"</#></b>\n\n\n"+
  54. "Press Next to Continue the Installation...",
  55. "@welcome"
  56. );
  57.  
  58. textbox(
  59. "<~Changelog>",
  60.  
  61. "<~v1.0.0>",
  62.  
  63. "@update",
  64.  
  65. resread("changelog.txt")
  66. );
  67.  
  68. selectbox(
  69. "---- Full Wipe ----",
  70. "Please Select:",
  71. "icons/apps",
  72. "wipe.prop",
  73.  
  74. "Install w/out wiping","If you face any issues, try again with a full wipe",1,
  75. "Perform a full wipe","All user data will be lost, your SD will remain in tact",0
  76. );
  77.  
  78. menubox(
  79. "-----Installation Mode-----",
  80. "Please select installation method for FreeGS3",
  81. "@install",
  82. "type.prop",
  83. "-----Custom Installation-----", "Advanced. Select the mods you want to install","@personalize"
  84. );
  85.  
  86. selectbox(
  87. "---- Bootanimation ----",
  88. "Select the desired bootanimation you want to use",
  89. "@addons",
  90. "boot.prop",
  91.  
  92. "-----Bootanimation Installation-----", "",2,#-- Group 1. key = "selected.1"
  93. "Stock","Install the stock bootanimation",1#-- selected.1 = 1
  94. );
  95.  
  96. selectbox(
  97. "---- Video & Image ----",
  98. "Select the desired mod you want to use",
  99. "@addons",
  100. "image.prop",
  101.  
  102.  
  103. "-----Engine Installation-----", "",2,#-- Group 1. key = "selected.1"
  104. "Sony Bravia Engine","Enhanced image & video quality",1#-- selected.1 = 1
  105. );
  106.  
  107. selectbox(
  108. "---- Audio ----",
  109. "Select the desired mod you want to use",
  110. "@addons",
  111. "audio.prop",
  112.  
  113.  
  114. "-----Engine Installation-----", "",2,#-- Group 1. key = "selected.1"
  115. "Sony XLoud Engine","Enhanced audio quality",1#-- selected.1 = 1
  116. );
  117.  
  118. selectbox(
  119. "-----Launchers-----",
  120. "Select the Launcher you want to use",
  121. "@addons",
  122. "launcher.prop",
  123.  
  124. "-----Launcher Installation-----", "",2, #-- Group 1. key = "selected.1"
  125. "Apex Launcher","Use Apex Launcher 1.2.5 as default in your rom",0, #-- selected.1 = 1
  126. "TouchWiz GS3 5x6 Launcher","Use TouchWiz 5x6 Launcher as default in your rom",0, #-- selected.1 = 2
  127. "TouchWiz GS3 Original Launcher","Use TouchWiz Launcher as default in your rom",1, #-- selected.1 = 3
  128. "TouchWiz GS3 Launcher Enable Wallpaper Scrolling","Enable wallpaper scrolling on Homescreen",0, #-- selected.1 = 4
  129. "Nova Launcher","Install Nova Launcher",0, #-- selected.1 = 5
  130. "Trebuchet Launcher","Install Stock Cyanogenmod Launcher",0 #-- selected.1 = 6
  131. );
  132.  
  133. selectbox(
  134. "-----Addons-----",
  135. "Select the desired Addons you want to use",
  136. "@addons",
  137. "mods.prop",
  138.  
  139. "-----Home Button Lag Hack-----","",2, #-- Group 1. key = "selected.1"
  140. "Yes","Fix the lag",0, #-- selected.1 = 1
  141. "No","Keep it stock",1, #-- selected.1 = 2
  142.  
  143. "-----Camera Shutter Sounds----","",2, #-- Group 2. key = "selected.2"
  144. "Yes","Install Camera shutter Sounds",0, #-- selected.2 = 1
  145. "No","Mute the camera",1, #-- selected.2 = 2
  146.  
  147. "-----AM PM In Status Bar-----","",2, #-- Group 2. key = "selected.3"
  148. "Yes","Keep AM/PM in status bar",0, #-- selected.3 = 1
  149. "No","Remove AM/PM in status bar",1, #-- selected.3 = 2
  150.  
  151. "-----Input Notification-----", "", 2, #-- Group 2. key = "selected.4"
  152. "Yes","Keep Input Notification in status bar",0, #-- selected.4 = 1
  153. "No","Remove Input Notification from status bar",1, #-- selected.4 = 2
  154.  
  155. "-----Awesome Beats-----", "", 2, #-- Group 2. key = "selected.5"
  156. "Yes","Install AwesomeBeats V3",0, #-- selected.5 = 1
  157. "No","Dont Install AwesomeBeats V3",1 #-- selected.5 = 2
  158. );
  159.  
  160. writetmpfile(
  161. "customize.prop",
  162. "item.1.1=0\n"+
  163. "item.1.2=0\n"+
  164. "item.1.3=0\n"+
  165. "item.1.4=0\n"+
  166. "item.1.5=0\n"+
  167. "item.1.6=0\n"+
  168. "item.1.7=0\n"+
  169. "item.1.8=0\n"+
  170. "item.1.9=0\n"+
  171. "item.1.10=0\n"+
  172. "item.1.11=0\n"+
  173. "item.1.12=0\n"+
  174. "item.1.13=0\n"+
  175. "item.1.14=0\n"+
  176. "item.1.15=0\n"+
  177. "item.1.16=0\n"+
  178. "item.1.17=0\n"+
  179. "item.1.18=0\n"+
  180. "item.1.19=0\n"+
  181. "item.1.20=0\n"+
  182. "item.1.21=0\n"+
  183. "item.1.22=0\n"+
  184. "item.1.23=0\n"+
  185. "item.1.24=0\n"+
  186. "item.1.25=0\n"+
  187. "item.1.26=0\n"+
  188. "item.1.27=0\n"+
  189. "item.1.28=0\n"+
  190. "item.1.29=0\n"
  191. );
  192.  
  193. checkbox(
  194. "-----Applications-----",
  195. "Select the apps and mods you want to use: ",
  196. "@personalize",
  197. "customize.prop",
  198.  
  199. "","",2,
  200. "Color","Colorize your Facebook",0,
  201. "All Share Play","Instant file access from anywhere",0,
  202. "Kies Air","Share your WiFi with other devices",0,
  203. "Facebook","The social networking standard",0,
  204. "Gmail","Google mail",0,
  205. "Twitter","Social networking by status updates",0,
  206. "Amazon Kindle","Mobile reader",0,
  207. "ICS Messaging","Google now is the top competitor against Siri for iPhone. And now it works on ICS.",0,
  208. "VPN Client","Puts Multiple Widgets into seperate Groups based on that specific app.",0,
  209. "VZ Navigator","Verizon's navigation tool",0,
  210. "VZ Apps","Verizonspecific applications",0,
  211. "My Verizon","Mobile Verizon app",0
  212. );
  213.  
  214. ini_set("text_next", "Install Now");
  215.  
  216. viewbox(
  217. "-----Ready to Install-----",
  218. "The wizard is ready to begin installation.\n\n"+
  219. "Press <b>Install Now</b> to begin the installation.\n\n"+
  220. "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.",
  221. "@install"
  222. );
  223.  
  224. ini_set("text_next", "Next >");
  225.  
  226. setvar("retstatus",
  227. install(
  228. "Installing",
  229.  
  230. "<b>"+ini_get("rom_name")+"</b> is being installed.\n\n"+
  231. "Please wait while installation wizard installs <b>"+ini_get("rom_name")+
  232. "</b>. This may take several minutes.",
  233.  
  234. "@install",
  235.  
  236. "The installation wizard has successfully installed <b>"+ini_get("rom_name")+
  237. "</b>. Press Next to continue."
  238. )
  239. );
  240.  
  241. ini_set("text_next", "Finish");
  242.  
  243. checkviewbox(
  244. "Installation Completed",
  245. "<#selectbg_g><b>Congratulations...</b></#>\n\n"+
  246. "<b>"+ini_get("rom_name")+"</b> has been installed into your device.\n\n"+
  247. "Installer Status: "+getvar("retstatus")+"\n\n",
  248. "@welcome",
  249. "Reboot your device now.",
  250. "1",
  251. "reboot_it"
  252. );
  253.  
  254. if
  255. getvar("reboot_it")=="1"
  256. then
  257. reboot("onfinish");
  258. endif;
Advertisement
Add Comment
Please, Sign In to add comment