Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- calibrate("0.9718","4","1.0176","-9");
- ini_set("rom_name", "Miui10");
- ini_set("rom_version", "8.7.19");
- ini_set("rom_author", "Đình Lập");
- ini_set("rom_device", "Redmi Note 3 Pro");
- ini_set("rom_date", "20.07.2018");
- ##
- splash(2000, "a1");
- ##
- splash(
- 1500,
- ini_set("force_colorspace","rgba");
- #-- <AROMA Resource Dir>/sample.png
- "dinhlap"
- );
- #
- loadlang("langs/en.lang");
- #fontresload( "0", "ttf/Roboto-Regular.ttf", "12" );
- #fontresload( "1", "ttf/Roboto-Regular.ttf", "18" );
- fontresload( "0", "ttf/DroidSans.ttf", "12" );
- fontresload( "1", "ttf/DroidSans.ttf", "18" );
- loadlang("langs/en.lang");
- theme("XPERIA");
- viewbox(
- #-- Title
- "Welcome!",
- #-- Text
- "Flashing <b>"+
- #-- Get Config Value
- ini_get("rom_name")+
- "</b> for <b>"+ini_get("rom_device")+"</b>\n\n"+
- " ROM \t: <b><#selectbg_g>"+ini_get("rom_version")+"</#></b>\n"+
- " Date\t\t: <b><#selectbg_g>"+ini_get("rom_date")+"</#></b>\n\n\n"+
- " \n"+
- " Base\t: <b><#selectbg_g> MiuiPro</#></b>\n"+
- " \n"+
- "Press <b>NEXT</b> to install",
- #-- Icon
- "@welcome"
- );
- ###################################################################################################################
- #
- # SELECT MODS
- #
- menubox(
- "Selecting the Installation Menu",
- "Select an option",
- "icons/customize",
- "rom.prop",
- "Restore Menu","<#selectbg_g>Allows you to rollback, change and restore the mod's & system tweaks</#>", "@default1",
- "MiuiPro","<#selectbg_g>Full ROM flashing (choosing tweaks and settings)</#>", "@default1"
- );
- if prop("rom.prop","selected")=="1" then
- viewbox("Rolling back Changes",
- "This item allows you to roll back some modifications\n\n\n Press <b>NEXT</b> to proceed ",
- "@customize1");
- checkbox(
- "Restore Menu",
- "Choose what you want to change",
- "icons/personalize",
- "delete.prop",
- "Uninstall SuperSu","<#selectbg_g>The default kernel will be restored!!!</#>",0,
- "Uninstall Magisk","Uninstalls Magisk",0,
- "Remove additional features of the fingerprint scanner","<#selectbg_g>Lock the phone with a fingerprint scanner, display the reset menu, control the flashlight</#>",0,
- "Remove passwords and keys","Removing paswords after restoring recovery backup",0,
- "Remove passwords in apps","Removes passwords in apps",0,
- "Defreeze the apps","Defreezing all apps",0,
- "Flash stock modem for KENZO","<#selectbg_g>Returns the stock modem for Kenzo</#>",0,
- "Flash stock modem for KATE","<#selectbg_g>Returns the stock modem for Kate</#>",0,
- "Restore the work of sensors","Restores the work of sensors",0,
- "Uninstall Dolby ATMOS","Uninstalls Dolby ATMOS",0
- );
- selectbox(
- "Kernel Selection",
- "Select the required kernel",
- "icons/customize",
- "boot.prop",
- "Don't change","<#selectbg_g>Your kernel will remain if you did not remove SuperSu</#>",1,
- "AGNi 11.6","<#selectbg_g>You need to reinstall the root</#>",0,
- "AGNi 12.2","<#selectbg_g>You need to reinstall the root</#>",0,
- "AGNi 12.5","<#selectbg_g>You need to reinstall the root</#>",0
- );
- checkbox(
- "MIUI Application Removal",
- "Select the apps to remove:",
- "icons/personalize",
- "enhancements1.prop",
- "Remove MIUI trash","YellowPage,Stk1,BugReport,talkback,klobugreport will be deleted",0,
- "Delete Mi Browser","",0,
- "Delete Mi Video","",0,
- "Delete Mi Mail","",0,
- "Delete Mi Explorer","",0,
- "Delete Mi Notes","",0,
- "Delete Mi Search","Googlе will be instead of it",0,
- "Delete Mi Daily Wallpaper","",0,
- "Delete Mi Gallery","",0
- );
- checkbox(
- "System Tweaks",
- "Tick required tweaks:",
- "icons/default",
- "twik.prop",
- "Busybox","Busybox installation",0,
- "Clock located in the lock screen's center","Clock will be displayed in the center",0,
- "To change the picture in the Toolbar","Alternative weather picture in the Toolbar",0,
- "Operators' Logo in the Status Bar","Adds MC operators' logo in the Status Bar",0,
- "Installation Daily Wallpaper","<#selectbg_g>You have to allow access to the device's desktop</#>",0,
- "Modified HOST file","Ad removal from MiuiPro",0,
- "Additional features of the fingerprint scanner","<#selectbg_g>Lock the phone with a fingerprint scanner, display the reset menu, control the flashlight</#>",0,
- "Colored reboot menu","",0,
- "Alternative Icons","A large rounded edges icon pack",0,
- "My Icons","My favorite pack of icons",0,
- "Widgets of clocks","Additional clock widgets",0,
- "To replace the font","GD fonts installation",0,
- "Icon coloring","Mod for picking icons color in Status Bar",0
- );
- selectbox(
- "GPS Modification",
- "Choose one of the variants",
- "icons/customize",
- "gps.prop",
- "Default","Without changing the GPS settings",1,
- "GPS Configuration №1","GPS Mod",0,
- "GPS Configuration №2","GPS Mod",0,
- "GPS Configuration №3","GPS Mod",0
- );
- selectbox(
- "Sound Modification",
- "Choose one of the variants",
- "icons/customize",
- "music.prop",
- "Thanks, not necessary, I’m deaf!!!","Modifications won’t be installed",1,
- "Enable the HI-FI mode","Increase the volume and sound quality in Hi-Fi mode",0,
- "Improve the sound quality in LP","Increase the volume and sound quality",0,
- "Dolby ATMOS","Improving of the sound quality",0,
- "Viper for Android ","<#selectbg_g>Root, Magisk or Super SU’s needed to function</#>",0,
- "SONY SOUND","<#selectbg_g>Stock EQ will be deleted</#>",0
- );
- selectbox(
- "Dialer Modification",
- "Choose one of the variants",
- "icons/customize",
- "incall.prop",
- "Without modification","Modifications will not be installed",1,
- "Minimize the window (incoming and outcoming calls)","Minimize photo by default",0,
- "Stock Miui picture","",0,
- "Ghostbusters","",0,
- "Smiley with a phone","",0,
- "Smile","",0,
- "Winking smiley","",0,
- "Dude in a circle","",0,
- "One more Dude","",0,
- "Nerd with a book","",0,
- "Color circle","",0,
- "Contact in color circle","",0,
- "Minion with a loudspeaker","",0,
- "Fiery Horse","",0,
- "Abstraction","",0,
- "State USSR emblem","",0,
- "A kind minion","",0,
- "Unidentified subscriber 1","",0,
- "Unidentified subscriber 2","",0
- );
- checkbox(
- "Apps Installation",
- "Tick required applications",
- "icons/customize",
- "apps.prop",
- "Total Commander","Advanced Explorer",0,
- "Telegram+","Plus Messenger",0,
- "ES Explorer","File manager",0,
- "Root Explorer","The best Explorer",0,
- "Kernel Adiutor","Customize the kernel",0,
- "MX Player","Video Player",0,
- "Titanium Backup","Backup and Restore",0,
- "True Phone","Advanced application for contacts",0,
- "QuickPic Gallery","",0,
- "Sberbank Online","Sberbank patched version, you need a root SuperSu",0,
- "Google Camera","",0,
- "Snap Camera","Good Camera",0,
- "Mi Browser GD","<#selectbg_g>Browser from Global Developer ROM</#>",0,
- "Mi Music GD","<#selectbg_g>Music Player from Global Developer ROM</#>",0,
- "Mi Explorer GD","<#selectbg_g>Explorer from Global Developer ROM</#>",0,
- "YouTube","<#selectbg_g>YouTube (no ads)</#>",0,
- "AGNi ScreenModes","<#selectbg_g>Controlling the color of the display</#>",0,
- "MTS Music","MTS Music for free",0,
- "Yandex.Music","Yandex.Music for free",0
- );
- selectbox(
- "Root Installing",
- "Choose one of the variants",
- "icons/customize",
- "su.prop",
- "I don’t need ROOT","ROOT won’t be installed",1,
- "Yes, I want to install ROOT","ROOT (Super SU) will be installed",0,
- "Yes, I want to install Magisk","The non-system ROOT will be installed",0
- );
- # INSTALLING
- #
- ini_set("text_next", "Installing");
- viewbox(
- "You’re done!",
- "Everything’s ready for installation\n\n"+
- "Press <b>Install</b> to flash \n\n"+
- "or <b>Back</b> to make some changes",
- "@install"
- );
- ini_set("text_next", "Finish");
- install(
- "Installation",
- "Flashing a ROM <b>"+ini_get("rom_name")+"</b>...\n"+
- "Wait a bit...",
- "icons/install",
- "Hurrah! Press <b>Finish</b>"
- );
- viewbox(
- "Installation’s been completed!",
- "Installed <b>"+ini_get("rom_name")+"</b>.\n\n"+
- "<b>Boot the system!</b>\n\n"+
- "<#selectbg_g><b>Thank you for feedback and suggestions.</b></#>\n\n",
- "@welcome"
- );
- endif;
- if prop("rom.prop","selected")=="2" then
- viewbox("Flashing a ROM",
- "A custom ROM with modifications and selected components will be installed.\n\n\n Press <b>NEXT</b> to proceed",
- "@customize1");
- ###################################################################################################################
- #
- # SELECT ENHANCEMENTS
- #
- selectbox(
- "Device Selection",
- "Select Your Device",
- "icons/customize",
- "device.prop",
- "Redmi Note 3 Pro (Kenzo)","<#selectbg_g>Kenzo</#>",0,
- "Redmi Note 3 Pro SE (Kate)","<#selectbg_g> Kate</#>",0
- );
- selectbox(
- "Kernel Selection",
- "Select the required kernel",
- "icons/customize",
- "boot.prop",
- "AGNi 11.6","Default",1,
- "AGNi 12.2","Custom kernel",0,
- "AGNi 12.5","Custom kernel",0
- );
- checkbox(
- "MIUI Application Removal",
- "Select the apps to remove:",
- "icons/personalize",
- "enhancements1.prop",
- "Remove MIUI trash","YellowPage,Stk1,BugReport,talkback,klobugreport will be deleted",0,
- "Delete Mi Browser","",0,
- "Delete Mi Video","",0,
- "Delete Mi Mail","",0,
- "Delete Mi Explorer","",0,
- "Delete Mi Notes","",0,
- "Delete Mi Search","Googlе will be instead of it",0,
- "Delete Mi Daily Wallpaper","",0,
- "Delete Mi Gallery","",0
- );
- checkbox(
- "System Tweaks",
- "Tick required tweaks:",
- "icons/default",
- "twik.prop",
- "Busybox","Busybox installation",0,
- "Clock located in the lock screen's center","Clock will be displayed in the center",0,
- "To change the picture in the Toolbar","Alternative weather picture in the Toolbar",0,
- "Operators' Logo in the Status Bar","Adds MC operators' logo in the Status Bar",0,
- "Installation Daily Wallpaper","<#selectbg_g>You have to allow access to the device's desktop</#>",0,
- "Modified HOST file","Ad removal from MiuiPro",0,
- "Additional features of the fingerprint scanner","<#selectbg_g>Lock the phone with a fingerprint scanner, display the reset menu, control the flashlight</#>",0,
- "Colored reboot menu","",0,
- "Alternative Icons","A large rounded edges icon pack",0,
- "My Icons","My favorite pack of icons",0,
- "Widgets of clocks","Additional clock widgets",0,
- "To replace the font","GD fonts installation",0,
- "Icon coloring","Mod for picking icons color in Status Bar",0
- );
- selectbox(
- "GPS Modification",
- "Choose one of the variants",
- "icons/customize",
- "gps.prop",
- "Default","Without changing the GPS settings",1,
- "GPS Configuration №1","GPS Mod",0,
- "GPS Configuration №2","GPS Mod",0,
- "GPS Configuration №3","GPS Mod",0
- );
- selectbox(
- "Sound Modification",
- "Choose one of the variants",
- "icons/customize",
- "music.prop",
- "Thanks, not necessary, I’m deaf!!!","Modifications won’t be installed",1,
- "Enable the HI-FI mode","Increase the volume and sound quality in Hi-Fi mode",0,
- "Improve the sound quality in LP","Increase the volume and sound quality",0,
- "Dolby ATMOS","Improving of the sound quality",0,
- "Viper for Android ","<#selectbg_g>Root, Magisk or Super SU’s needed to function</#>",0,
- "SONY SOUND","<#selectbg_g>Stock EQ will be deleted</#>",0
- );
- selectbox(
- "Dialer Modification",
- "Choose one of the variants",
- "icons/customize",
- "incall.prop",
- "Without modification","Modifications will not be installed",1,
- "Minimize the window (incoming and outcoming calls)","Minimize photo by default",0,
- "Stock Miui picture","",0,
- "Ghostbusters","",0,
- "Smiley with a phone","",0,
- "Smile","",0,
- "Winking smiley","",0,
- "Dude in a circle","",0,
- "One more Dude","",0,
- "Nerd with a book","",0,
- "Color circle","",0,
- "Contact in color circle","",0,
- "Minion with a loudspeaker","",0,
- "Fiery Horse","",0,
- "Abstraction","",0,
- "State USSR emblem","",0,
- "A kind minion","",0,
- "Unidentified subscriber 1","",0,
- "Unidentified subscriber 2","",0
- );
- checkbox(
- "Apps Installation",
- "Tick required applications",
- "icons/customize",
- "apps.prop",
- "Total Commander","Advanced Explorer",0,
- "Telegram+","Plus Messenger",0,
- "ES Explorer","File manager",0,
- "Root Explorer","The best Explorer",0,
- "Kernel Adiutor","Customize the kernel",0,
- "MX Player","Video Player",0,
- "Titanium Backup","Backup and Restore",0,
- "True Phone","Advanced application for contacts",0,
- "QuickPic Gallery","",0,
- "Sberbank Online","Sberbank patched version, you need a root SuperSu",0,
- "Google Camera","",0,
- "Snap Camera","Good Camera",0,
- "Mi Browser GD","<#selectbg_g>Browser from Global Developer ROM</#>",0,
- "Mi Music GD","<#selectbg_g>Music Player from Global Developer ROM</#>",0,
- "Mi Explorer GD","<#selectbg_g>Explorer from Global Developer ROM</#>",0,
- "YouTube","<#selectbg_g>YouTube (no ads)</#>",0,
- "AGNi ScreenModes","<#selectbg_g>Controlling the color of the display</#>",0,
- "MTS Music","MTS Music for free",0,
- "Yandex.Music","Yandex.Music for free",0
- );
- selectbox(
- "Root Installing",
- "Choose one of the variants",
- "icons/customize",
- "su.prop",
- "I don’t need ROOT","ROOT won’t be installed",1,
- "Yes, I want to install ROOT","ROOT (Super SU) will be installed",0,
- "Yes, I want to install Magisk","The non-system ROOT will be installed",0
- );
- # INSTALLING
- #
- ini_set("text_next", "Installing");
- viewbox(
- "You’re done!",
- "Everything’s ready for installation\n\n"+
- "Press <b>Install</b> to flash \n\n"+
- "or <b>Back</b> to make some changes",
- "@install"
- );
- ini_set("text_next", "Finish");
- install(
- "Installation",
- "Flashing a ROM <b>"+ini_get("rom_name")+"</b>...\n"+
- "Wait a bit...",
- "icons/install",
- "Hurrah! Press <b>Finish</b>"
- );
- viewbox(
- "Installation’s been completed!",
- "Installed <b>"+ini_get("rom_name")+"</b>.\n\n"+
- "<b>Boot the system!</b>\n\n"+
- "<#selectbg_g><b>Thank you for feedback and suggestions.</b></#>\n\n",
- "@welcome"
- );
- endif;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement