ini_set("rom_name", "Mir Rom"); ini_set("rom_version", "BRAVE"); ini_set("rom_author", "Mir"); ini_set("rom_device", "SKY IM-A750K"); ini_set("rom_date", "2012-11-16"); ini_set("dp","2"); loadlang("langs/kr.lang"); fontresload( "0", "ttf/Nanumgodic.ttf;ttf/DroidSans.ttf", "12" ); fontresload( "1", "ttf/Nanumgodic.ttf;ttf/DroidSans.ttf", "18" ); anisplash( #-- Number of Loop 4, #-- Frame 1 [ Image, duration in millisecond ]. /splash/a[1..6].png "splash/a1", 500, "splash/a2", 30, "splash/a3", 30, "splash/a4", 30, "splash/a5", 30, "splash/a6", 30 ); splash( 2000, "Mir" ); alert("경고","만약 방금 공장초기화를 하셨다면 재부팅 하셔서 Market에서 어플하나 설치하신뒤 롬을 설치해 주세요", "@alert"); viewbox( "Welcome To Installer", "\n"+ "안녕하세요 만나게 되어 반갑습니다\n"+ "Mir Rom을 선택해 주셔서 감사드립니다!\n\n"+ "다음 버튼을 누르시면 많은 기능을 선택하여 설치할 수 있습니다\n\n"+ "부디 무사히 설치를 끝내어 새로운 세상을 맞이하기를 바랍니다\n\n", "@welcome" ); selectbox( "Aroma Settings", "지금부터 사용할 아로마 설정을 선택해 주세요", "@confirm", "Theme.prop", "Aroma Theme", "", 2, "기본", "기본 테마를 사용합니다 ", 0, "MIUI", "MIUI 테마를 사용합니다 ", 0, "MIUI 4,ICS", "MIUI 4/ICS 테마를 사용합니다", 0, "ICS", "ICS 테마를 사용합니다 ", 1, "Sense", "HTC Sense 테마를 사용합니다 ", 0 ); if prop("Theme.prop","selected.1")=="2" then theme("miui"); endif; if prop("Theme.prop","selected.1")=="3" then theme("miui4"); endif; if prop("Theme.prop","selected.1")=="4" then theme("ics"); endif; if prop("Theme.prop","selected.1")=="5" then theme("sense"); endif; viewbox( "설치정보", "지금, 당신은 "+ ini_get("rom_name")+ "을 "+ sysprop("ro.product.device")+ "에 설치하려 시도하고 있습니다\n"+ "ef32k(IM-A750K)기종외 설치를 절대 금합니다!\n"+ "아래 블로그에서 원본 배포되고 있습니다\n"+ "(http://whdghks913.blog.me/)\n\n\n"+ " 롬 명\t: <#selectbg_g>"+ini_get("rom_name")+"\n"+ " 버 전\t: <#selectbg_g>"+ini_get("rom_version")+"\n"+ " 재작자\t: <#selectbg_g>Mir\n"+ " 기 기\t: <#selectbg_g>"+ini_get("rom_device")+"\n"+ " 수정일\t: <#selectbg_g>"+ini_get("rom_date")+"", "@info" ); agreebox( "약관 목록", "Mir Rom을 사용하시려면 아래에 대한 동의가 필요합니다", "@agreement", resread("agreeboxkr.txt"), "이 내용을 모두 읽으셨고, 동의하시면 체크해 주세요", "다음으로 넘어가기 위해 동의가 필요합니다!!" ); textbox( "수정한 내용", "더 빠른 미라크A를 위해 수정한 내용 목록 입니다", "@update", resread("logkr.txt") ); textbox( "저작권 목록", "아래 자료의 저작권은 각 개발자분께 있습니다", "@info", resread("Copyrightkr.txt") ); menubox( "선택의 갈림길", "실행할 작업을 선택하세요", "@apps", "demo.prop", "설치 메뉴", "롬을 설치하기 위한 메뉴로 넘어갑니다", "@install", #-- selected = 1 "System 정보", "시스탬 정보와 파티션 정보를 표시합니다", "@info", #-- selected = 2 "버그 신고 안내", "버그를 신고하실때, 주의사항을 표시합니다", "@alert", #-- selected = 3 "추가 설명", "롬의 기능을 설명합니다", "@default" #-- selected = 4 ); if prop("demo.prop","selected")=="2" then pleasewait("잠시만 기다려 주세요 정보를 로딩중 입니다..."); setvar( "sysinfo", "<@center>시스탬 정보 목록\n\n"+ "Model\t\t: <#selectbg_g>"+sysprop("ro.product.model")+"\n"+ "Name\t\t: <#selectbg_g>"+sysprop("ro.product.name")+"\n"+ "Device Name\t: <#selectbg_g>"+sysprop("ro.product.device")+"\n"+ "Board Name\t: <#selectbg_g>"+sysprop("ro.product.board")+"\n"+ "Manufacturer\t: <#selectbg_g>"+sysprop("ro.product.manufacturer")+"\n\n"+ "CPU\t\t\t: <#selectbg_g>"+sysprop("ro.product.cpu.abi")+"\n"+ "LCD Desinty\t: <#selectbg_g>"+sysprop("ro.sf.lcd_density")+"\n\n"+ "System Size\t: <#selectbg_g>"+getdisksize("/system","m")+" MB\n"+ "\tFree\t\t: <#selectbg_g>"+getdiskfree("/system","m")+" MB\n\n"+ "Data Size\t\t: <#selectbg_g>"+getdisksize("/data","m")+" MB\n"+ "\tFree\t\t: <#selectbg_g>"+getdiskfree("/data","m")+" MB\n\n"+ "(/mnt/sdcard)\t: <#selectbg_g>"+getdisksize("/mnt/sdcard","m")+" MB\n"+ "\tFree\t\t: <#selectbg_g>"+getdiskfree("/mnt/sdcard","m")+" MB\n\n"+ "SDCard Size\t: <#selectbg_g>"+getdisksize("/sdcard","m")+" MB\n"+ "\tFree\t\t: <#selectbg_g>"+getdiskfree("/sdcard","m")+" MB\n\n"+ "SD-EXT Size\t: <#selectbg_g>"+getdisksize("/sd-ext","m")+" MB\n"+ "\tFree\t\t: <#selectbg_g>"+getdiskfree("/sd-ext","m")+" MB\n\n"+ "" ); textbox( "시스탬 정보", "현재 시스탬의 상태를 표시합니다", "@info", getvar("sysinfo") ); back("2"); endif; if prop("demo.prop","selected")=="3" then textbox( "버그/오류 신고 방법", "아래 방법과 같이 버그/오류를 신고해 주시면 빠른 처리가 가능합니다", "@alert", resread("bugreport.txt") ); back("2"); endif; if prop("demo.prop","selected")=="4" then menubox( "추가 설명", "알고 싶으신 부분을 터치하세요", "@default", "Explanation.prop", "Boot.img", "Boot.img에 관한 설명을 표시합니다", "@info", #-- selected = 1 "Script", "Script에 관한 설명을 표시합니다", "@info", #-- selected = 2 "Add Patch", "Add Patch에 관한 설명을 표시합니다", "@info" #-- selected = 3 ); if prop("Explanation.prop","selected")=="1" then menubox( "추가 설명", "알고 싶으신 부분을 터치하세요", "@default", "bootE.prop", "Mir Boot.img", "Mir Boot.img에 대한 설명을 표시합니다", "@info", #-- selected = 1 "Cheongang Boot.img", "Cheongang Boot.img에 대한 설명을 표시합니다", "@info" #-- selected = 2 ); if prop("bootE.prop","selected")=="1" then textbox( "Mir Boot.img", "Mir Boot.img에 대한 설명을 표시합니다", "@info", resread("Explanation/Mirboot.txt") ); endif; if prop("bootE.prop","selected")=="2" then textbox( "Cheongang Boot.img", "Cheongang Boot.img에 대한 설명을 표시합니다", "@info", resread("Explanation/Cheongangboot.txt") ); endif; endif; if prop("Explanation.prop","selected")=="2" then menubox( "추가 설명", "알고 싶으신 부분을 터치하세요", "@default", "ScriptE.prop", "Mir Rom 내장 최적화", "Mir Rom 내장 최적화에 대한 설명을 표시합니다", "@info", #-- selected = 1 "LitX v1 스크립트", "LitX v1 스크립트에 대한 설명을 표시합니다", "@info", #-- selected = 2 "Hydrogen Init.d 스크립트","Hydrogen Init.d 스크립트에 대한 설명을 표시합니다", "@info", #-- selected = 3 "2variety 스크립트", "2variety 스크립트에 대한 설명을 표시합니다", "@info", #-- selected = 4 "SOUL Tool 스크립트", "SOUL Tool 스크립트에 대한 설명을 표시합니다", "@info" #-- selected = 5 ); if prop("ScriptE.prop","selected")=="1" then textbox( "Mir Rom 내장 최적화", "Mir Rom 내장 최적화에 대한 설명을 표시합니다", "@info", resread("Explanation/MirScript.txt") ); endif; if prop("ScriptE.prop","selected")=="2" then textbox( "LitX v1", "LitX v1에 대한 설명을 표시합니다", "@info", resread("Explanation/LitScript.txt") ); endif; if prop("ScriptE.prop","selected")=="3" then textbox( "Hydrogen Init.d", "Hydrogen Init.d에 대한 설명을 표시합니다", "@info", resread("Explanation/HydrogenScript.txt") ); endif; if prop("ScriptE.prop","selected")=="4" then textbox( "2variety", "2variety에 대한 설명을 표시합니다", "@info", resread("Explanation/2varietyScript.txt") ); endif; if prop("ScriptE.prop","selected")=="5" then textbox( "SOUL Tool", "SOUL Tool에 대한 설명을 표시합니다", "@info", resread("Explanation/SOULToolScript.txt") ); endif; endif; if prop("Explanation.prop","selected")=="3" then menubox( "추가 설명", "알고 싶으신 부분을 터치하세요", "@default", "AddPatchE.prop", "Bravia", "Bravia에 대한 설명을 표시합니다", "@info", #-- selected = 1 "Adfree", "Adfree에 대한 설명을 표시합니다", "@info", #-- selected = 2 "flash_image", "flash_image에 대한 설명을 표시합니다", "@info" #-- selected = 1 ); if prop("AddPatchE.prop","selected")=="1" then textbox( "Bravia", "Bravia에 대한 설명을 표시합니다", "@info", resread("Explanation/Bravia.txt") ); endif; if prop("AddPatchE.prop","selected")=="2" then textbox( "Adfree", "Adfree에 대한 설명을 표시합니다", "@info", resread("Explanation/Adfree.txt") ); endif; if prop("AddPatchE.prop","selected")=="3" then textbox( "flash_image", "flash_image에 대한 설명을 표시합니다", "@info", resread("Explanation/flashimage.txt") ); endif; endif; back("2"); endif; menubox( "Rom Install", "원하시는 설치 방법을 선택해 주세요!", "@customize", "type.prop", "최소 설치", "최소 어플과 패치를 설치합니다", "@install", #-- selected = 1 "권장 설치", "필수 요소와 권장 요소를 설치합니다", "@default", #-- selected = 2 "사용자 선택 설치", "모든것을 사용자가 선택하여 설치합니다", "@confirm" #-- selected = 3 ); #Auto if (prop("type.prop","selected")=="1") then writetmpfile( "select.prop", "selected.1=1\n"+ "selected.2=3\n"+ "selected.3=1\n"+ "selected.4=1\n"+ "selected.5=1\n" ); endif; if (prop("type.prop","selected")=="1") then writetmpfile( "check.prop", "item.2.3=1\n"+ "item.4.2=1\n" ); endif; #encourage if (prop("type.prop","selected")=="2") then writetmpfile( "select.prop", "selected.1=1\n"+ "selected.2=3\n"+ "selected.3=1\n"+ "selected.4=1\n"+ "selected.5=5\n" ); endif; if (prop("type.prop","selected")=="2") then writetmpfile( "check.prop", "item.1.4=1\n"+ "item.1.7=1\n"+ "item.2.2=1\n"+ "item.2.3=1\n"+ "item.3.3=1\n"+ "item.4.2=1\n" ); endif; #Custom if (prop("type.prop","selected")=="3") then selectbox( "Select Install List", "원하시는 기능을 선택해 주세요", "@customize", "select.prop", "설치할 boot.img를 선택해 주세요", "", 2, "Mir boot.img", "14개 Governor, 5개 Scheduler, Miner patch, Over Clock", 1, "천강 1.1.0 boot.img", "Over Clock, Miner patch, Smartass, Sio", 0, "설치할 테마를 선택해 주세요", "", 2, "HTC 테마", "HTC 테마를 사용합니다 By Rodney", 0, "Black 테마", "Black 테마를 사용합니다 By lewhell", 0, "VegaRacer2 테마", "VegaRacer2 테마를 사용합니다 By Mir", 1, "DarkFire 테마", "DarkFire 테마를 사용합니다 By 카시안", 0, "ICS 테마", "ICS 테마를 사용합니다 By 카시안", 0, "설치할 스크립트를 선택해 주세요", "", 2, "Mir Rom 내장 최적화", "내장되어 있는 패치를 사용합니다", 1, "LitX v1 스크립트", "http://wnstj970715.blog.me/140171889379", 0, "Hydrogen Init.d 스크립트", "http://cafe.naver.com/develoid/94605", 0, "2variety 스크립트", "http://cafe.naver.com/skydevelopers/159936", 0, "SOUL Tool 스크립트", "http://naty04.blog.me/130144310948", 0, "설치할 오디오 패치를 선택해 주세요", "", 2, "설치 안함 [Power Amp사용자 선택 금지]", "Audio Patch를 설치하지 않습니다", 1, "Xloud", "Xloud Audio Patch를 설치합니다", 0, "Beats Audio", "Beats Audio Patch를 설치합니다", 0, "설치할 부팅애니메이션를 선택해 주세요","", 2, "설치 안함", "부팅애니메이션를 설치하지 않습니다", 1, "LTE 부팅애니메이션", "LTE 부팅애니메이션을 설치합니다", 0, "Jelly Bean 부팅애니메이션", "Jelly Bean 부팅애니메이션을 설치합니다", 0, "ICS 부팅애니메이션", "ICS 부팅애니메이션을 설치합니다", 0, "Cm7 부팅애니메이션", "Cm7 부팅애니메이션을 설치합니다", 0, "Cm9 부팅애니메이션", "Cm9 부팅애니메이션을 설치합니다", 0, "Cm10 부팅애니메이션", "Cm10 부팅애니메이션을 설치합니다", 0, "Android 부팅애니메이션", "Android 부팅애니메이션을 설치합니다", 0, "Apple, Android 부팅애니메이션", "Apple,Android 부팅애니메이션을 설치합니다", 0, "Beats Audio 부팅애니메이션", "Beats Audio 부팅애니메이션을 설치합니다", 0, "IPhone 부팅애니메이션", "IPhone 부팅애니메이션을 설치합니다", 0, "Window7 부팅애니메이션", "Window7 부팅애니메이션을 설치합니다", 0, "Nexus7 부팅애니메이션", "Nexus7 부팅애니메이션을 설치합니다", 0 ); endif; if (prop("type.prop","selected")=="3") then checkbox( "Check Install List", "원하시는 기능을 모두 선택해 주세요", "@default", "check.prop", "설치할 어플을 선택해 주세요", "", 2, "Astro", "Astro를 설치합니다", 0, "카카오톡 [Data]", "카카오톡을 설치합니다", 0, "티타늄 백업 [Data]", "티타늄 백업을 설치합니다", 0, "QuickPic [Data]", "QuickPic를 설치합니다", 0, "Molock를 설치합니다", "휴대폰을 분실했을때에 대비하여 보안어플 모락을 시스탬 app으로 설치합니다", 0, "Busybox installer를 설치합니다 [Data]", "각각의 Busybox를 설치할수 있습니다", 0, "돌핀 브라우저 [Data]", "돌핀브라우저를 설치합니다", 0, "Adobe Flash Player ARMv6 [Data]", "Flash Player을 추가합니다(정상작동 확인안됨)", 0, "CpuMaster [Data]", "CpuMaster Free을 설치합니다", 0, "Screen shot [Data]", "Screen Shot을 설치합니다", 0, "Script manager", "Script Manager을 설치합니다", 0, "Zipper7 [Data]", "Zipper7을 설치합니다", 0, "Terminal Emulator", "Terminal Emulator를 설치합니다", 0, "설치할 패치를 선택해 주세요", "", 2, "Bravia 패치", "Bravia 패치를 설치합니다 (색감 향상)", 0, "Adfree 패치", "무료어플등의 구글 광고를 제거해 줍니다", 1, "flash_image추가", "Boot.img, Recovery.img등을 직접 설치할 수 있습니다", 1, "추가할 기본어플을 선택해 주세요", "", 2, "안드로이드 홈", "안드로이드 홈과 바탕화면을 추가합니다", 0, "전자사전", "전자사전을 추가합니다(DB따로 필요)", 0, "DMB", "DMB를 추가합니다", 0, "문서뷰어", "문서뷰어를 추가합니다", 0, "녹음기", "녹음기를 추가합니다", 0, "달력", "SKY플래너와 캘린더 설치", 0, "I-wlan 추가", "I-wlan를 추가 합니다", 0, "olleh market 설치", "olleh market을 설치합니다", 0, "Live Wallpapers", "Live Wallpapers을 추가합니다", 0, "제거할 임시파일을 선택해 주세요", "", 2, "Cache제거", "(dalvik)cache를 삭제합니다.", 0, "SDcard 임시파일 제거", "SDCard의 임시파일(tmp) 삭제합니다.", 0 ); endif; ini_set("text_next", "설치 시작"); ini_set("text_back", "설치 취소"); #테마 if (prop("Theme.prop","selected.1")=="1") then setvar("Theme", "Basic"); endif; if (prop("Theme.prop","selected.1")=="2") then setvar("Theme", "Miui"); endif; if (prop("Theme.prop","selected.1")=="3") then setvar("Theme", "Miui 4"); endif; if (prop("Theme.prop","selected.1")=="4") then setvar("Theme", "ICS"); endif; if (prop("Theme.prop","selected.1")=="5") then setvar("Theme", "Sense"); endif; #설치방식 if (prop("type.prop","selected")=="1") then setvar("type", "자동 설치"); endif; if (prop("type.prop","selected")=="2") then setvar("type", "권장 설치"); endif; if (prop("type.prop","selected")=="3") then setvar("type", "사용자 선택 설치"); endif; #부트이미지 if (prop("select.prop","selected.1")=="1") then setvar("boot", "Mir boot.img"); endif; if (prop("select.prop","selected.1")=="2") then setvar("boot", "천강 boot.img"); endif; #테마 if (prop("select.prop","selected.2")=="1") then setvar("theme", "HTC 테마"); endif; if (prop("select.prop","selected.2")=="2") then setvar("theme", "Black 테마"); endif; if (prop("select.prop","selected.2")=="3") then setvar("theme", "VegaRacer2 테마"); endif; if (prop("select.prop","selected.2")=="4") then setvar("theme", "DarkFire 테마"); endif; if (prop("select.prop","selected.2")=="5") then setvar("theme", "ICS 테마"); endif; #스크립트 if (prop("select.prop","selected.3")=="1") then setvar("script", "설치 안함"); endif; if (prop("select.prop","selected.3")=="2") then setvar("script", "4Dimension 스크립트"); endif; if (prop("select.prop","selected.3")=="3") then setvar("script", "Hydrogen Init.d 스크립트"); endif; if (prop("select.prop","selected.3")=="4") then setvar("script", "2variety 스크립트"); endif; if (prop("select.prop","selected.3")=="5") then setvar("script", "SOUL 스크립트"); endif; #오디오패치 if (prop("select.prop","selected.4")=="1") then setvar("audio", "설치 안함"); endif; if (prop("select.prop","selected.4")=="2") then setvar("audio", "Xloud"); endif; if (prop("select.prop","selected.4")=="3") then setvar("audio", "BeatsAudio"); endif; #부트애니 if (prop("select.prop","selected.5")=="1") then setvar("ani", "설치 안함"); endif; if (prop("select.prop","selected.5")=="2") then setvar("ani", "LTE"); endif; if (prop("select.prop","selected.5")=="3") then setvar("ani", "Jelly Bean"); endif; if (prop("select.prop","selected.5")=="4") then setvar("ani", "ICS"); endif; if (prop("select.prop","selected.5")=="5") then setvar("ani", "Cm7"); endif; if (prop("select.prop","selected.5")=="6") then setvar("ani", "Cm9"); endif; if (prop("select.prop","selected.5")=="7") then setvar("ani", "Cm10"); endif; if (prop("select.prop","selected.5")=="8") then setvar("ani", "Android"); endif; if (prop("select.prop","selected.5")=="9") then setvar("ani", "Apple, Android"); endif; if (prop("select.prop","selected.5")=="10") then setvar("ani", "Beats"); endif; if (prop("select.prop","selected.5")=="11") then setvar("ani", "IPhone"); endif; if (prop("select.prop","selected.5")=="12") then setvar("ani", "Window7"); endif; if (prop("select.prop","selected.5")=="13") then setvar("ani", "Nexus7"); endif; viewbox( "설치 준비 완료", "지금, Rom 설치에 필요한 정보를 모두 입력하셨습니다\n"+ "만약 지금 설치를 원치 않으시면 메뉴-종료를 선택해 주세요\n"+ "\n\n"+ "선택 리스트\n"+ "\n"+ "-----------------------------------\n"+ "Theme : "+getvar("Theme")+"\n"+ "\n"+ "Type : "+getvar("type")+"\n"+ "Boot : "+getvar("boot")+"\n"+ "Theme : "+getvar("theme")+"\n"+ "Script : "+getvar("script")+"\n"+ "Audio : "+getvar("audio")+"\n"+ "Ani : "+getvar("ani")+"\n", "@install" ); ini_set("text_next", "설치 완료"); setvar("retstatus", install( "설치중...", "현재 "+ini_get("rom_name")+" 을(를) 설치하고 있습니다 몇분정도가 소요됩니다...\n\n", "@install", "설치가 완료되었습니다 다음버튼을 눌러주세요." ) ); ini_set("text_next", "설치 종료"); checkviewbox( "설치 성공!!", ""+ini_get("rom_name")+""+ini_get("rom_version")+"버전이 무사히 설치되었습니다\n\n"+ "이제 당신은 극한의 속도를 체감하시게 되실겁니다\n\n"+ "설치 되지 않은 파일 : "+getvar("retstatus")+"\n\n\n"+ "재부팅 옵션\n\n", "@license", "기기를 재부팅하려면 체크하세요", "1", "reboot_it" ); if getvar("reboot_it")=="1" then reboot("onfinish"); endif;