Pocketsoldier
Stamm-User
- 283
Hallo Community,
Wie der Titel schon ahnen lässt bereitet mir dieser Aroma Installer Kopf zerbrechen
Ich komme ins Menü und kann meine ROM konfigurieren... Anber wenn ich dann installiere bekomme ich den succed Bildschirm mit einer Status: 6
Meldung.
Ich bin x mal die Syntax des updater-script durchgegangen und finde einfach den Fehler nicht
Bei xda werde ich ignoriert und suche nun hier jemanden der mir dabei helfen kann.
Status 6 bedeutet ja das die Syntax irgendwo fehlerhaft ist. Zeigt aber keine Hinweise auf den Fehler.
Wäre super wenn sich mal jemand meine Scripte ansehen könnte. Bin mit meinem Latein am Ende
Lg
Pocket
Gesendet von meinem ALCATEL ONE TOUCH 997D
Wie der Titel schon ahnen lässt bereitet mir dieser Aroma Installer Kopf zerbrechen
Ich komme ins Menü und kann meine ROM konfigurieren... Anber wenn ich dann installiere bekomme ich den succed Bildschirm mit einer Status: 6
Meldung.
Ich bin x mal die Syntax des updater-script durchgegangen und finde einfach den Fehler nicht
Bei xda werde ich ignoriert und suche nun hier jemanden der mir dabei helfen kann.
Status 6 bedeutet ja das die Syntax irgendwo fehlerhaft ist. Zeigt aber keine Hinweise auf den Fehler.
Wäre super wenn sich mal jemand meine Scripte ansehen könnte. Bin mit meinem Latein am Ende
##
# Initializing Rom Information
#
ini_set("rom_name", "Martell XP 1.1");
ini_set("rom_version", "1.1 - Aroma Edition");
ini_set("rom_author", "Pocketsoldier");
ini_set("rom_device", "Alcatel OT-997D");
ini_set("rom_date", "April, 2013");
##
# Show Simple Splash
#
splash(3000, "sample");
fontresload( "0", "ttf/Roboto-Regular.ttf;ttf/DroidSansArabic.ttf;ttf/DroidSansFallback.ttf;", "12" ); #-- Use sets of font (Font Family)
theme("miui");
viewbox(
"Welcome",
"You are about to Install <b>"+
ini_get("rom_name")+
"</b> for <b>"+ini_get("rom_device")+"</b>.\n\n"+
"Relevant information of the ROM:\n\n"+
" Rom\t: <b><#selectbg_g>"+ini_get("rom_name")+"</#></b>\n"+
" Version\t: <b><#selectbg_g>"+ini_get("rom_version")+"</#></b>\n"+
"<b><#selectbg_g>Only for Alcatel OT-997D with Dual SIM </#></b>\n\n\n"+
"Press Next to Continue ...",
"@welcome"
);
###################################################################################################################
##SHOW MENUBOX
#
menubox(
#-- Title
"Welcome",
#-- Sub Title
"Please make your selection",
#-- Icon
"@welcome",
#-- Will be saved in /tmp/aroma/demo.prop
"demo.prop",
#-------------------------+-----------------[ Menubox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------+-----------------------------------------------------------+---------------#
"Martel XP Installation", "Start ROM Installation", "@install", #-- selected = 1
"System Info", "Get and show device/partition informations", "@info" #-- selected = 2
);
###################################################################################################################
# #
# AROMA INSTALLER #
# #
###################################################################################################################
##--------------------------------------
#
# System Info Demo
#
if prop("demo.prop","selected")=="2" then
#-- Show Please Wait
pleasewait("Get System Informations...");
#-- Fetch System Information
setvar(
#-- Variable Name
"sysinfo",
#-- Variable Value
"<@center><b>Your Device System Information</b></@>\n\n"+
"Model\t\t\t: <b><#selectbg_g>"+sysprop("ro.product.model")+"</#></b>\n"+
"Board Name\t\t: <b><#selectbg_g>"+sysprop("ro.product.board")+"</#></b>\n"+
"Manufacturer\t\t: <b><#selectbg_g>"+sysprop("ro.product.manufacturer")+"</#></b>\n\n"+
"CPU\t\t\t: <b><#selectbg_g>"+sysprop("ro.product.cpu.abi")+"</#></b>\n"+
"LCD Desinty\t\t: <b><#selectbg_g>"+sysprop("ro.sf.lcd_density")+"</#></b>\n\n"+
"System Size\t\t: <b><#selectbg_g>"+getdisksize("/system","m")+" MB</#></b>\n"+
"\tFree\t\t: <b><#selectbg_g>"+getdiskfree("/system","m")+" MB</#></b>\n\n"+
"Data Size\t\t: <b><#selectbg_g>"+getdisksize("/data","m")+" MB</#></b>\n"+
"\tFree\t\t: <b><#selectbg_g>"+getdiskfree("/data","m")+" MB</#></b>\n\n"+
"SDCard Size\t\t: <b><#selectbg_g>"+getdisksize("/sdcard","m")+" MB</#></b>\n"+
"\tFree\t\t: <b><#selectbg_g>"+getdiskfree("/sdcard","m")+" MB</#></b>\n\n"+
""
);
#-- Show Textbox
textbox(
#-- Title
"System Information",
#-- Subtitle
"System Information",
#-- Icon
"@info",
#-- Text
getvar("sysinfo")
);
#-- Back to Demo Menu ( 2 Wizard UI to Back )
back("2");
endif;
###################################################################################################################
# #
# AROMA INSTALLER - Martell XP Installer #
# #
###################################################################################################################
menubox(
#-- Title
"Martell XP Installer",
#-- Sub Title
"Please select installation method",
#-- Icon
"@install",
#-- Will be saved in /tmp/aroma/type.prop
"type.prop",
#-------------------------+-----------------[ Menubox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------+-----------------------------------------------------------+---------------#
"Default Installation", "Will install default features and configurations", "@install", #-- selected = 1
"Custom Installation", "My rom, my choice!", "@install" #-- selected = 2
);
###################################################################################################################
#
# SELECT MAIN MODS
#
if (prop("type.prop","selected")=="1") then
writetmpfile(
"droid.prop",
"selected.1=1\n"+ #-- Default Launcher
"selected.2=2\n"+ #-- Default Theme
"selected.3=2\n"+ #-- Default Camera
"selected.4=11\n" #-- Default Bootscreen
);
else
selectbox(
"ROM Customization",
"Customize Martell 1.1 by making your selections below. Choose Next when finished.",
"@default",
"droid.prop",
"Launchers", "", 2,#-- Group 1. key = "selected.1"
"Xperia Home", "Xperia home 2.3 by ra3al", 1, #-- selected.1 = 1
"Holo Launcher", "Holo launcher by mobint", 0, #-- selected.1 = 2
"MIUIv5 Launcher", "MIUIv5 Launcher by exynoss", 0, #-- selected.1 = 3
"Theme", "", 2, #-- Group 2. key = "selected.2"
"Stock UI", "Stock Alcatel", 0, #-- selected.2 = 1
"Xperia", "100% transpaerent Xperia UI", 0, #-- selected.2 = 2
"Xperia & grey circle", "77% transpaerent Xperia UI, the best chouce", 1, #-- selected.2 = 3
"Camera", "", 2, #-- Group 3. key = "selected.3"
"Miui 4 Camera", "ported from MIUI v4", 1, #-- selected.3 = 1
"Motorola Camera","Camera from Motorola Blur", 0, #-- selected.3 = 2
"Bootanimations", "", 2, #-- Group 4. key = "selected.4"
"AndroidHQ", "",0, #-- selected.4 = 1
"AOS", "",0, #-- selected.4 = 2
"BlackInf", "",0, #-- selected.4 = 4
"cid", "",0, #-- selected.4 = 5
"Jelly", "",0, #-- selected.4 = 6
"Nexus", "",0, #-- selected.4 = 7
"Rings", "",0, #-- selected.4 = 8
"Simple", "",0, #-- selected.4 = 9
"Slim", "",0, #-- selected.4 = 10
"XperiaZ", "",1 #-- selected.4 = 11
);
endif;
#End Custom Installation
ini_set("text_next", "Install Now");
viewbox(
"Ready to Install",
"The wizard is ready to begin installation.\n\n"+
"Press <b>Install Now</b> to begin the installation.\n\n"+
"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.",
"@install"
);
ini_set("text_next", "Next >");
setvar("retstatus",
install(
"Installing",
"<b>"+ini_get("rom_name")+"</b> is being installed.\n\n"+
"Please wait while installation wizard installs <b>"+ini_get("rom_name")+
"</b>. This may take several minutes.",
"@install",
"The installation wizard has successfully installed <b>"+ini_get("rom_name")+
"</b>. Press Next to continue."
)
);
ini_set("text_next", "Finish");
checkviewbox(
"Installation Completed",
"<#selectbg_g><b>Congratulation...</b></#>\n\n"+
"<b>"+ini_get("rom_name")+"</b> has been installed into your device.\n\n"+
"Installer Status: "+getvar("retstatus")+"\n\n",
"@welcome",
"Reboot your device now.",
"1",
"reboot_it"
);
if
getvar("reboot_it")=="1"
then
reboot("onfinish");
endif;
# Initializing Rom Information
#
ini_set("rom_name", "Martell XP 1.1");
ini_set("rom_version", "1.1 - Aroma Edition");
ini_set("rom_author", "Pocketsoldier");
ini_set("rom_device", "Alcatel OT-997D");
ini_set("rom_date", "April, 2013");
##
# Show Simple Splash
#
splash(3000, "sample");
fontresload( "0", "ttf/Roboto-Regular.ttf;ttf/DroidSansArabic.ttf;ttf/DroidSansFallback.ttf;", "12" ); #-- Use sets of font (Font Family)
theme("miui");
viewbox(
"Welcome",
"You are about to Install <b>"+
ini_get("rom_name")+
"</b> for <b>"+ini_get("rom_device")+"</b>.\n\n"+
"Relevant information of the ROM:\n\n"+
" Rom\t: <b><#selectbg_g>"+ini_get("rom_name")+"</#></b>\n"+
" Version\t: <b><#selectbg_g>"+ini_get("rom_version")+"</#></b>\n"+
"<b><#selectbg_g>Only for Alcatel OT-997D with Dual SIM </#></b>\n\n\n"+
"Press Next to Continue ...",
"@welcome"
);
###################################################################################################################
##SHOW MENUBOX
#
menubox(
#-- Title
"Welcome",
#-- Sub Title
"Please make your selection",
#-- Icon
"@welcome",
#-- Will be saved in /tmp/aroma/demo.prop
"demo.prop",
#-------------------------+-----------------[ Menubox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------+-----------------------------------------------------------+---------------#
"Martel XP Installation", "Start ROM Installation", "@install", #-- selected = 1
"System Info", "Get and show device/partition informations", "@info" #-- selected = 2
);
###################################################################################################################
# #
# AROMA INSTALLER #
# #
###################################################################################################################
##--------------------------------------
#
# System Info Demo
#
if prop("demo.prop","selected")=="2" then
#-- Show Please Wait
pleasewait("Get System Informations...");
#-- Fetch System Information
setvar(
#-- Variable Name
"sysinfo",
#-- Variable Value
"<@center><b>Your Device System Information</b></@>\n\n"+
"Model\t\t\t: <b><#selectbg_g>"+sysprop("ro.product.model")+"</#></b>\n"+
"Board Name\t\t: <b><#selectbg_g>"+sysprop("ro.product.board")+"</#></b>\n"+
"Manufacturer\t\t: <b><#selectbg_g>"+sysprop("ro.product.manufacturer")+"</#></b>\n\n"+
"CPU\t\t\t: <b><#selectbg_g>"+sysprop("ro.product.cpu.abi")+"</#></b>\n"+
"LCD Desinty\t\t: <b><#selectbg_g>"+sysprop("ro.sf.lcd_density")+"</#></b>\n\n"+
"System Size\t\t: <b><#selectbg_g>"+getdisksize("/system","m")+" MB</#></b>\n"+
"\tFree\t\t: <b><#selectbg_g>"+getdiskfree("/system","m")+" MB</#></b>\n\n"+
"Data Size\t\t: <b><#selectbg_g>"+getdisksize("/data","m")+" MB</#></b>\n"+
"\tFree\t\t: <b><#selectbg_g>"+getdiskfree("/data","m")+" MB</#></b>\n\n"+
"SDCard Size\t\t: <b><#selectbg_g>"+getdisksize("/sdcard","m")+" MB</#></b>\n"+
"\tFree\t\t: <b><#selectbg_g>"+getdiskfree("/sdcard","m")+" MB</#></b>\n\n"+
""
);
#-- Show Textbox
textbox(
#-- Title
"System Information",
#-- Subtitle
"System Information",
#-- Icon
"@info",
#-- Text
getvar("sysinfo")
);
#-- Back to Demo Menu ( 2 Wizard UI to Back )
back("2");
endif;
###################################################################################################################
# #
# AROMA INSTALLER - Martell XP Installer #
# #
###################################################################################################################
menubox(
#-- Title
"Martell XP Installer",
#-- Sub Title
"Please select installation method",
#-- Icon
"@install",
#-- Will be saved in /tmp/aroma/type.prop
"type.prop",
#-------------------------+-----------------[ Menubox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------+-----------------------------------------------------------+---------------#
"Default Installation", "Will install default features and configurations", "@install", #-- selected = 1
"Custom Installation", "My rom, my choice!", "@install" #-- selected = 2
);
###################################################################################################################
#
# SELECT MAIN MODS
#
if (prop("type.prop","selected")=="1") then
writetmpfile(
"droid.prop",
"selected.1=1\n"+ #-- Default Launcher
"selected.2=2\n"+ #-- Default Theme
"selected.3=2\n"+ #-- Default Camera
"selected.4=11\n" #-- Default Bootscreen
);
else
selectbox(
"ROM Customization",
"Customize Martell 1.1 by making your selections below. Choose Next when finished.",
"@default",
"droid.prop",
"Launchers", "", 2,#-- Group 1. key = "selected.1"
"Xperia Home", "Xperia home 2.3 by ra3al", 1, #-- selected.1 = 1
"Holo Launcher", "Holo launcher by mobint", 0, #-- selected.1 = 2
"MIUIv5 Launcher", "MIUIv5 Launcher by exynoss", 0, #-- selected.1 = 3
"Theme", "", 2, #-- Group 2. key = "selected.2"
"Stock UI", "Stock Alcatel", 0, #-- selected.2 = 1
"Xperia", "100% transpaerent Xperia UI", 0, #-- selected.2 = 2
"Xperia & grey circle", "77% transpaerent Xperia UI, the best chouce", 1, #-- selected.2 = 3
"Camera", "", 2, #-- Group 3. key = "selected.3"
"Miui 4 Camera", "ported from MIUI v4", 1, #-- selected.3 = 1
"Motorola Camera","Camera from Motorola Blur", 0, #-- selected.3 = 2
"Bootanimations", "", 2, #-- Group 4. key = "selected.4"
"AndroidHQ", "",0, #-- selected.4 = 1
"AOS", "",0, #-- selected.4 = 2
"BlackInf", "",0, #-- selected.4 = 4
"cid", "",0, #-- selected.4 = 5
"Jelly", "",0, #-- selected.4 = 6
"Nexus", "",0, #-- selected.4 = 7
"Rings", "",0, #-- selected.4 = 8
"Simple", "",0, #-- selected.4 = 9
"Slim", "",0, #-- selected.4 = 10
"XperiaZ", "",1 #-- selected.4 = 11
);
endif;
#End Custom Installation
ini_set("text_next", "Install Now");
viewbox(
"Ready to Install",
"The wizard is ready to begin installation.\n\n"+
"Press <b>Install Now</b> to begin the installation.\n\n"+
"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.",
"@install"
);
ini_set("text_next", "Next >");
setvar("retstatus",
install(
"Installing",
"<b>"+ini_get("rom_name")+"</b> is being installed.\n\n"+
"Please wait while installation wizard installs <b>"+ini_get("rom_name")+
"</b>. This may take several minutes.",
"@install",
"The installation wizard has successfully installed <b>"+ini_get("rom_name")+
"</b>. Press Next to continue."
)
);
ini_set("text_next", "Finish");
checkviewbox(
"Installation Completed",
"<#selectbg_g><b>Congratulation...</b></#>\n\n"+
"<b>"+ini_get("rom_name")+"</b> has been installed into your device.\n\n"+
"Installer Status: "+getvar("retstatus")+"\n\n",
"@welcome",
"Reboot your device now.",
"1",
"reboot_it"
);
if
getvar("reboot_it")=="1"
then
reboot("onfinish");
endif;
set_progress(0.1);
ui_print("@Mounting & Formating Devices");
ui_print("Format System");
format("ext4", "EMMC", "/dev/block/mmcblk0p5");
mount("ext4", "EMMC", "/dev/block/mmcblk0p5", "/system");
set_progress(0.2);
ui_print("Format data");
format("ext4", "EMMC", "/dev/block/mmcblk0p7");
mount("ext4", "EMMC", "/dev/block/mmcblk0p7", "/data");
set_progress(0.3);
ui_print("Delete Data");
delete("/data/local");
set_progress(0.4);
ui_print("Format Custpack");
format("ext4", "EMMC", "/dev/block/mmcblk0p3");
mount("ext4", "EMMC", "/dev/block/mmcblk0p3", "/custpack");
set_progress(0.5);
ui_print("Extract Custpack");
package_extract_dir("custpack", "/custpack");
set_progress(0.6);
ui_print("Extract System");
package_extract_dir("system", "/system");
set_progress(0.7);
#--Launchers
ui_print("@Launchers");
#Xperia Home
if file_getprop("/tmp/aroma/droid.prop","selected.1") == "1"
then
ui_print("@ Installing Xperia Launcher");
package_extract_dir("droid/launchers/xperiahome", "/system/app");
endif;
#Holo Launcher
if file_getprop("/tmp/aroma/droid.prop", "selected.1") == "2"
then
ui_print("@ Installing Holo Launcher");
package_extract_dir("droid/launchers/holo", "/system/app");
#MIUIv5 Launcher
if file_getprop("/tmp/aroma/droid.prop", "selected.1") == "3"
then
ui_print("@ Installing MIUIv5 Launcher");
package_extract_dir("droid/launchers/MIUIv5", "/system/app");
endif;
set_progress(0.75);
#--Themes
ui_print("@Themes");
# Xperia theme
if file_getprop("/tmp/aroma/droid.prop","selected.2") == "1"
then
ui_print("@ Installing Stock UI");
package_extract_dir("droid/themes/stock", "/");
endif;
# xperia full transparent
if file_getprop("/tmp/aroma/droid.prop","selected.2") == "2"
then
ui_print("@ Installing Xperia full transparent UI");
package_extract_dir("droid/themes/xperia_full_transparent", "/");
endif;
# xperia full transparent
if file_getprop("/tmp/aroma/droid.prop","selected.2") == "3"
then
ui_print("@ Installing Xperia semi transparent UI");
package_extract_dir("droid/themes/xperia_semi_transparent", "/");
set_progress(0.8);
#--Cameras
ui_print("@Cameras");
# miui 4_camera
if file_getprop("/tmp/aroma/droid.prop","selected.3") == "1"
then
ui_print("@ Installing miui camera");
package_extract_dir("droid/camera/miui_camera", "/");
endif;
# Motorola camera
if file_getprop("/tmp/aroma/droid.prop","selected.3") == "2"
then
ui_print("@ Installing motorola camera");
package_extract_dir("droid/camera/MotCamera", "/");
endif;
set_progress(0.9);
#--Bootscreens
ui_print("@Bootscreens");
if file_getprop("/tmp/aroma/droid.prop","selected.4") == "1"
then
ui_print("AndroidHQ");
package_extract_dir("droid/bootanimations/AndroidHQ", "/");
endif;
if file_getprop("/tmp/aroma/droid.prop","selected.4") == "2"
then
ui_print("AOS");
package_extract_dir("droid/bootanimations/AOS", "/");
endif;
if file_getprop("/tmp/aroma/droid.prop","selected.4") == "3"
then
ui_print("BlackInf");
package_extract_dir("droid/bootanimations/BlackInf", "/");
endif;
if file_getprop("/tmp/aroma/droid.prop","selected.4") == "4"
then
ui_print("cid");
package_extract_dir("droid/bootanimations/cid", "/");
endif;
if file_getprop("/tmp/aroma/droid.prop","selected.4") == "5"
then
ui_print("Jelly");
package_extract_dir("droid/bootanimations/Jelly", "/");
endif;
if file_getprop("/tmp/aroma/droid.prop","selected.4") == "6"
then
ui_print("MinSlim");
package_extract_dir("droid/bootanimations/MinSlim", "/");
endif;
if file_getprop("/tmp/aroma/droid.prop","selected.4") == "7"
then
ui_print("Nexus");
package_extract_dir("droid/bootanimations/Nexus", "/");
endif;
if file_getprop("/tmp/aroma/droid.prop","selected.4") == "8"
then
ui_print("Rings");
package_extract_dir("droid/bootanimations/Rings", "/");
endif;
if file_getprop("/tmp/aroma/droid.prop","selected.4") == "9"
then
ui_print("Simple");
package_extract_dir("droid/bootanimations/Simple", "/");
endif;
if file_getprop("/tmp/aroma/droid.prop","selected.4") == "10"
then
ui_print("Slim");
package_extract_dir("droid/bootanimations/Slim", "/");
endif;
if file_getprop("/tmp/aroma/droid.prop","selected.1") == "11"
then
ui_print("Xperia Z");
package_extract_dir("droid/bootanimations/Xperia", "/s");
endif;
#--- END OF Customize
set_progress(0.95);
ui_print("**********************************************");
ui_print("* Creating system links *");
ui_print("**********************************************");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/adjtimex", "/system/xbin/arp", "/system/xbin/ash",
"/system/xbin/awk", "/system/xbin/base64", "/system/xbin/basename",
"/system/xbin/bbconfig", "/system/xbin/blkid", "/system/xbin/blockdev",
"/system/xbin/brctl", "/system/xbin/bunzip2", "/system/xbin/bzcat",
"/system/xbin/bzip2", "/system/xbin/cal", "/system/xbin/cat",
"/system/xbin/catv", "/system/xbin/chattr", "/system/xbin/chgrp",
"/system/xbin/chmod", "/system/xbin/chown", "/system/xbin/chroot",
"/system/xbin/clear", "/system/xbin/cmp", "/system/xbin/comm",
"/system/xbin/cp", "/system/xbin/cpio", "/system/xbin/crond",
"/system/xbin/crontab", "/system/xbin/cut", "/system/xbin/date",
"/system/xbin/dc", "/system/xbin/dd", "/system/xbin/depmod",
"/system/xbin/devmem", "/system/xbin/df", "/system/xbin/diff",
"/system/xbin/dirname", "/system/xbin/dmesg", "/system/xbin/dnsd",
"/system/xbin/dos2unix", "/system/xbin/du", "/system/xbin/echo",
"/system/xbin/ed", "/system/xbin/egrep", "/system/xbin/env",
"/system/xbin/expand", "/system/xbin/expr", "/system/xbin/false",
"/system/xbin/fdisk", "/system/xbin/fgrep", "/system/xbin/find",
"/system/xbin/flash_lock", "/system/xbin/flash_unlock",
"/system/xbin/flashcp", "/system/xbin/flock", "/system/xbin/fold",
"/system/xbin/free", "/system/xbin/freeramdisk", "/system/xbin/fstrim",
"/system/xbin/fsync", "/system/xbin/ftpget", "/system/xbin/ftpput",
"/system/xbin/fuser", "/system/xbin/getopt", "/system/xbin/grep",
"/system/xbin/groups", "/system/xbin/gunzip", "/system/xbin/gzip",
"/system/xbin/halt", "/system/xbin/head", "/system/xbin/hexdump",
"/system/xbin/id", "/system/xbin/ifconfig", "/system/xbin/inetd",
"/system/xbin/insmod", "/system/xbin/install", "/system/xbin/iostat",
"/system/xbin/ip", "/system/xbin/kill", "/system/xbin/killall",
"/system/xbin/killall5", "/system/xbin/length", "/system/xbin/less",
"/system/xbin/ln", "/system/xbin/losetup", "/system/xbin/ls",
"/system/xbin/lsattr", "/system/xbin/lsmod", "/system/xbin/lsusb",
"/system/xbin/lzcat", "/system/xbin/lzma", "/system/xbin/lzop",
"/system/xbin/lzopcat", "/system/xbin/man", "/system/xbin/md5sum",
"/system/xbin/mesg", "/system/xbin/mkdir", "/system/xbin/mke2fs",
"/system/xbin/mkfifo", "/system/xbin/mkfs.ext2",
"/system/xbin/mkfs.vfat", "/system/xbin/mknod", "/system/xbin/mkswap",
"/system/xbin/mktemp", "/system/xbin/modinfo", "/system/xbin/modprobe",
"/system/xbin/more", "/system/xbin/mount", "/system/xbin/mountpoint",
"/system/xbin/mpstat", "/system/xbin/mv", "/system/xbin/nanddump",
"/system/xbin/nandwrite", "/system/xbin/netstat", "/system/xbin/nice",
"/system/xbin/nohup", "/system/xbin/nslookup", "/system/xbin/ntpd",
"/system/xbin/od", "/system/xbin/patch", "/system/xbin/pgrep",
"/system/xbin/pidof", "/system/xbin/ping", "/system/xbin/pkill",
"/system/xbin/pmap", "/system/xbin/poweroff", "/system/xbin/printenv",
"/system/xbin/printf", "/system/xbin/ps", "/system/xbin/pstree",
"/system/xbin/pwd", "/system/xbin/pwdx", "/system/xbin/rdev",
"/system/xbin/readlink", "/system/xbin/realpath", "/system/xbin/renice",
"/system/xbin/reset", "/system/xbin/resize", "/system/xbin/rev",
"/system/xbin/rm", "/system/xbin/rmdir", "/system/xbin/rmmod",
"/system/xbin/route", "/system/xbin/run-parts", "/system/xbin/rx",
"/system/xbin/sed", "/system/xbin/seq", "/system/xbin/setconsole",
"/system/xbin/setserial", "/system/xbin/setsid", "/system/xbin/sh",
"/system/xbin/sha1sum", "/system/xbin/sha256sum",
"/system/xbin/sha512sum", "/system/xbin/sleep", "/system/xbin/sort",
"/system/xbin/split", "/system/xbin/stat", "/system/xbin/strings",
"/system/xbin/stty", "/system/xbin/sum", "/system/xbin/swapoff",
"/system/xbin/swapon", "/system/xbin/sync", "/system/xbin/sysctl",
"/system/xbin/tac", "/system/xbin/tail", "/system/xbin/tar",
"/system/xbin/taskset", "/system/xbin/tee", "/system/xbin/telnet",
"/system/xbin/telnetd", "/system/xbin/test", "/system/xbin/tftp",
"/system/xbin/tftpd", "/system/xbin/time", "/system/xbin/timeout",
"/system/xbin/top", "/system/xbin/touch", "/system/xbin/tr",
"/system/xbin/traceroute", "/system/xbin/true", "/system/xbin/ttysize",
"/system/xbin/tune2fs", "/system/xbin/umount", "/system/xbin/uname",
"/system/xbin/uncompress", "/system/xbin/unexpand", "/system/xbin/uniq",
"/system/xbin/unix2dos", "/system/xbin/unlzma", "/system/xbin/unlzop",
"/system/xbin/unxz", "/system/xbin/unzip", "/system/xbin/uptime",
"/system/xbin/usleep", "/system/xbin/uudecode", "/system/xbin/uuencode",
"/system/xbin/vi", "/system/xbin/watch", "/system/xbin/wc",
"/system/xbin/wget", "/system/xbin/which", "/system/xbin/whoami",
"/system/xbin/xargs", "/system/xbin/xz", "/system/xbin/xzcat",
"/system/xbin/yes",
"/system/xbin/zcat");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/cat", "/system/bin/chmod",
"/system/bin/chown", "/system/bin/cmp", "/system/bin/cp",
"/system/bin/date", "/system/bin/dd", "/system/bin/df",
"/system/bin/dmesg", "/system/bin/du", "/system/bin/getevent",
"/system/bin/getprop", "/system/bin/grep", "/system/bin/hd",
"/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop",
"/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice",
"/system/bin/kill", "/system/bin/ln", "/system/bin/log",
"/system/bin/ls", "/system/bin/lsmod", "/system/bin/lsof",
"/system/bin/md5", "/system/bin/mkdir", "/system/bin/mount",
"/system/bin/mv", "/system/bin/nandread", "/system/bin/netstat",
"/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv",
"/system/bin/ps", "/system/bin/r", "/system/bin/reboot",
"/system/bin/renice", "/system/bin/restart", "/system/bin/rm",
"/system/bin/rmdir", "/system/bin/rmmod", "/system/bin/route",
"/system/bin/schedtop", "/system/bin/sendevent",
"/system/bin/setconsole", "/system/bin/setprop", "/system/bin/sleep",
"/system/bin/smd", "/system/bin/start", "/system/bin/stop",
"/system/bin/sync", "/system/bin/top", "/system/bin/touch",
"/system/bin/umount", "/system/bin/uptime", "/system/bin/vmstat",
"/system/bin/watchprops",
"/system/bin/wipe");
ui_print("**********************************************");
ui_print(" Set permission ");
ui_print("**********************************************");
set_perm(1000, 1000, 0771, "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0755, "/system/vendor/bin");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 0, 0644, "/system/vendor/firmware/libpn544_fw.so");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/drm");
set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so");
set_perm(0, 2000, 0755, "/system/vendor/lib/egl");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/hw");
set_perm(0, 0, 0644, "/system/vendor/lib/hw/gralloc.mt6577.so");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
set_perm(0, 0, 06755, "/system/xbin/su");
set_progress(0.99);
ui_print("**********************************************");
ui_print("* Install kernel *");
ui_print("**********************************************");
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p8"),
delete("/tmp/boot.img"));
unmount("/data");
unmount("/system");
unmount("/custpack");
set_progress(1.00);
ui_print("**********************************************");
ui_print(" DONE !!! ");
ui_print("**********************************************");
ui_print("@Mounting & Formating Devices");
ui_print("Format System");
format("ext4", "EMMC", "/dev/block/mmcblk0p5");
mount("ext4", "EMMC", "/dev/block/mmcblk0p5", "/system");
set_progress(0.2);
ui_print("Format data");
format("ext4", "EMMC", "/dev/block/mmcblk0p7");
mount("ext4", "EMMC", "/dev/block/mmcblk0p7", "/data");
set_progress(0.3);
ui_print("Delete Data");
delete("/data/local");
set_progress(0.4);
ui_print("Format Custpack");
format("ext4", "EMMC", "/dev/block/mmcblk0p3");
mount("ext4", "EMMC", "/dev/block/mmcblk0p3", "/custpack");
set_progress(0.5);
ui_print("Extract Custpack");
package_extract_dir("custpack", "/custpack");
set_progress(0.6);
ui_print("Extract System");
package_extract_dir("system", "/system");
set_progress(0.7);
#--Launchers
ui_print("@Launchers");
#Xperia Home
if file_getprop("/tmp/aroma/droid.prop","selected.1") == "1"
then
ui_print("@ Installing Xperia Launcher");
package_extract_dir("droid/launchers/xperiahome", "/system/app");
endif;
#Holo Launcher
if file_getprop("/tmp/aroma/droid.prop", "selected.1") == "2"
then
ui_print("@ Installing Holo Launcher");
package_extract_dir("droid/launchers/holo", "/system/app");
#MIUIv5 Launcher
if file_getprop("/tmp/aroma/droid.prop", "selected.1") == "3"
then
ui_print("@ Installing MIUIv5 Launcher");
package_extract_dir("droid/launchers/MIUIv5", "/system/app");
endif;
set_progress(0.75);
#--Themes
ui_print("@Themes");
# Xperia theme
if file_getprop("/tmp/aroma/droid.prop","selected.2") == "1"
then
ui_print("@ Installing Stock UI");
package_extract_dir("droid/themes/stock", "/");
endif;
# xperia full transparent
if file_getprop("/tmp/aroma/droid.prop","selected.2") == "2"
then
ui_print("@ Installing Xperia full transparent UI");
package_extract_dir("droid/themes/xperia_full_transparent", "/");
endif;
# xperia full transparent
if file_getprop("/tmp/aroma/droid.prop","selected.2") == "3"
then
ui_print("@ Installing Xperia semi transparent UI");
package_extract_dir("droid/themes/xperia_semi_transparent", "/");
set_progress(0.8);
#--Cameras
ui_print("@Cameras");
# miui 4_camera
if file_getprop("/tmp/aroma/droid.prop","selected.3") == "1"
then
ui_print("@ Installing miui camera");
package_extract_dir("droid/camera/miui_camera", "/");
endif;
# Motorola camera
if file_getprop("/tmp/aroma/droid.prop","selected.3") == "2"
then
ui_print("@ Installing motorola camera");
package_extract_dir("droid/camera/MotCamera", "/");
endif;
set_progress(0.9);
#--Bootscreens
ui_print("@Bootscreens");
if file_getprop("/tmp/aroma/droid.prop","selected.4") == "1"
then
ui_print("AndroidHQ");
package_extract_dir("droid/bootanimations/AndroidHQ", "/");
endif;
if file_getprop("/tmp/aroma/droid.prop","selected.4") == "2"
then
ui_print("AOS");
package_extract_dir("droid/bootanimations/AOS", "/");
endif;
if file_getprop("/tmp/aroma/droid.prop","selected.4") == "3"
then
ui_print("BlackInf");
package_extract_dir("droid/bootanimations/BlackInf", "/");
endif;
if file_getprop("/tmp/aroma/droid.prop","selected.4") == "4"
then
ui_print("cid");
package_extract_dir("droid/bootanimations/cid", "/");
endif;
if file_getprop("/tmp/aroma/droid.prop","selected.4") == "5"
then
ui_print("Jelly");
package_extract_dir("droid/bootanimations/Jelly", "/");
endif;
if file_getprop("/tmp/aroma/droid.prop","selected.4") == "6"
then
ui_print("MinSlim");
package_extract_dir("droid/bootanimations/MinSlim", "/");
endif;
if file_getprop("/tmp/aroma/droid.prop","selected.4") == "7"
then
ui_print("Nexus");
package_extract_dir("droid/bootanimations/Nexus", "/");
endif;
if file_getprop("/tmp/aroma/droid.prop","selected.4") == "8"
then
ui_print("Rings");
package_extract_dir("droid/bootanimations/Rings", "/");
endif;
if file_getprop("/tmp/aroma/droid.prop","selected.4") == "9"
then
ui_print("Simple");
package_extract_dir("droid/bootanimations/Simple", "/");
endif;
if file_getprop("/tmp/aroma/droid.prop","selected.4") == "10"
then
ui_print("Slim");
package_extract_dir("droid/bootanimations/Slim", "/");
endif;
if file_getprop("/tmp/aroma/droid.prop","selected.1") == "11"
then
ui_print("Xperia Z");
package_extract_dir("droid/bootanimations/Xperia", "/s");
endif;
#--- END OF Customize
set_progress(0.95);
ui_print("**********************************************");
ui_print("* Creating system links *");
ui_print("**********************************************");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/adjtimex", "/system/xbin/arp", "/system/xbin/ash",
"/system/xbin/awk", "/system/xbin/base64", "/system/xbin/basename",
"/system/xbin/bbconfig", "/system/xbin/blkid", "/system/xbin/blockdev",
"/system/xbin/brctl", "/system/xbin/bunzip2", "/system/xbin/bzcat",
"/system/xbin/bzip2", "/system/xbin/cal", "/system/xbin/cat",
"/system/xbin/catv", "/system/xbin/chattr", "/system/xbin/chgrp",
"/system/xbin/chmod", "/system/xbin/chown", "/system/xbin/chroot",
"/system/xbin/clear", "/system/xbin/cmp", "/system/xbin/comm",
"/system/xbin/cp", "/system/xbin/cpio", "/system/xbin/crond",
"/system/xbin/crontab", "/system/xbin/cut", "/system/xbin/date",
"/system/xbin/dc", "/system/xbin/dd", "/system/xbin/depmod",
"/system/xbin/devmem", "/system/xbin/df", "/system/xbin/diff",
"/system/xbin/dirname", "/system/xbin/dmesg", "/system/xbin/dnsd",
"/system/xbin/dos2unix", "/system/xbin/du", "/system/xbin/echo",
"/system/xbin/ed", "/system/xbin/egrep", "/system/xbin/env",
"/system/xbin/expand", "/system/xbin/expr", "/system/xbin/false",
"/system/xbin/fdisk", "/system/xbin/fgrep", "/system/xbin/find",
"/system/xbin/flash_lock", "/system/xbin/flash_unlock",
"/system/xbin/flashcp", "/system/xbin/flock", "/system/xbin/fold",
"/system/xbin/free", "/system/xbin/freeramdisk", "/system/xbin/fstrim",
"/system/xbin/fsync", "/system/xbin/ftpget", "/system/xbin/ftpput",
"/system/xbin/fuser", "/system/xbin/getopt", "/system/xbin/grep",
"/system/xbin/groups", "/system/xbin/gunzip", "/system/xbin/gzip",
"/system/xbin/halt", "/system/xbin/head", "/system/xbin/hexdump",
"/system/xbin/id", "/system/xbin/ifconfig", "/system/xbin/inetd",
"/system/xbin/insmod", "/system/xbin/install", "/system/xbin/iostat",
"/system/xbin/ip", "/system/xbin/kill", "/system/xbin/killall",
"/system/xbin/killall5", "/system/xbin/length", "/system/xbin/less",
"/system/xbin/ln", "/system/xbin/losetup", "/system/xbin/ls",
"/system/xbin/lsattr", "/system/xbin/lsmod", "/system/xbin/lsusb",
"/system/xbin/lzcat", "/system/xbin/lzma", "/system/xbin/lzop",
"/system/xbin/lzopcat", "/system/xbin/man", "/system/xbin/md5sum",
"/system/xbin/mesg", "/system/xbin/mkdir", "/system/xbin/mke2fs",
"/system/xbin/mkfifo", "/system/xbin/mkfs.ext2",
"/system/xbin/mkfs.vfat", "/system/xbin/mknod", "/system/xbin/mkswap",
"/system/xbin/mktemp", "/system/xbin/modinfo", "/system/xbin/modprobe",
"/system/xbin/more", "/system/xbin/mount", "/system/xbin/mountpoint",
"/system/xbin/mpstat", "/system/xbin/mv", "/system/xbin/nanddump",
"/system/xbin/nandwrite", "/system/xbin/netstat", "/system/xbin/nice",
"/system/xbin/nohup", "/system/xbin/nslookup", "/system/xbin/ntpd",
"/system/xbin/od", "/system/xbin/patch", "/system/xbin/pgrep",
"/system/xbin/pidof", "/system/xbin/ping", "/system/xbin/pkill",
"/system/xbin/pmap", "/system/xbin/poweroff", "/system/xbin/printenv",
"/system/xbin/printf", "/system/xbin/ps", "/system/xbin/pstree",
"/system/xbin/pwd", "/system/xbin/pwdx", "/system/xbin/rdev",
"/system/xbin/readlink", "/system/xbin/realpath", "/system/xbin/renice",
"/system/xbin/reset", "/system/xbin/resize", "/system/xbin/rev",
"/system/xbin/rm", "/system/xbin/rmdir", "/system/xbin/rmmod",
"/system/xbin/route", "/system/xbin/run-parts", "/system/xbin/rx",
"/system/xbin/sed", "/system/xbin/seq", "/system/xbin/setconsole",
"/system/xbin/setserial", "/system/xbin/setsid", "/system/xbin/sh",
"/system/xbin/sha1sum", "/system/xbin/sha256sum",
"/system/xbin/sha512sum", "/system/xbin/sleep", "/system/xbin/sort",
"/system/xbin/split", "/system/xbin/stat", "/system/xbin/strings",
"/system/xbin/stty", "/system/xbin/sum", "/system/xbin/swapoff",
"/system/xbin/swapon", "/system/xbin/sync", "/system/xbin/sysctl",
"/system/xbin/tac", "/system/xbin/tail", "/system/xbin/tar",
"/system/xbin/taskset", "/system/xbin/tee", "/system/xbin/telnet",
"/system/xbin/telnetd", "/system/xbin/test", "/system/xbin/tftp",
"/system/xbin/tftpd", "/system/xbin/time", "/system/xbin/timeout",
"/system/xbin/top", "/system/xbin/touch", "/system/xbin/tr",
"/system/xbin/traceroute", "/system/xbin/true", "/system/xbin/ttysize",
"/system/xbin/tune2fs", "/system/xbin/umount", "/system/xbin/uname",
"/system/xbin/uncompress", "/system/xbin/unexpand", "/system/xbin/uniq",
"/system/xbin/unix2dos", "/system/xbin/unlzma", "/system/xbin/unlzop",
"/system/xbin/unxz", "/system/xbin/unzip", "/system/xbin/uptime",
"/system/xbin/usleep", "/system/xbin/uudecode", "/system/xbin/uuencode",
"/system/xbin/vi", "/system/xbin/watch", "/system/xbin/wc",
"/system/xbin/wget", "/system/xbin/which", "/system/xbin/whoami",
"/system/xbin/xargs", "/system/xbin/xz", "/system/xbin/xzcat",
"/system/xbin/yes",
"/system/xbin/zcat");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/cat", "/system/bin/chmod",
"/system/bin/chown", "/system/bin/cmp", "/system/bin/cp",
"/system/bin/date", "/system/bin/dd", "/system/bin/df",
"/system/bin/dmesg", "/system/bin/du", "/system/bin/getevent",
"/system/bin/getprop", "/system/bin/grep", "/system/bin/hd",
"/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop",
"/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice",
"/system/bin/kill", "/system/bin/ln", "/system/bin/log",
"/system/bin/ls", "/system/bin/lsmod", "/system/bin/lsof",
"/system/bin/md5", "/system/bin/mkdir", "/system/bin/mount",
"/system/bin/mv", "/system/bin/nandread", "/system/bin/netstat",
"/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv",
"/system/bin/ps", "/system/bin/r", "/system/bin/reboot",
"/system/bin/renice", "/system/bin/restart", "/system/bin/rm",
"/system/bin/rmdir", "/system/bin/rmmod", "/system/bin/route",
"/system/bin/schedtop", "/system/bin/sendevent",
"/system/bin/setconsole", "/system/bin/setprop", "/system/bin/sleep",
"/system/bin/smd", "/system/bin/start", "/system/bin/stop",
"/system/bin/sync", "/system/bin/top", "/system/bin/touch",
"/system/bin/umount", "/system/bin/uptime", "/system/bin/vmstat",
"/system/bin/watchprops",
"/system/bin/wipe");
ui_print("**********************************************");
ui_print(" Set permission ");
ui_print("**********************************************");
set_perm(1000, 1000, 0771, "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0755, "/system/vendor/bin");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 0, 0644, "/system/vendor/firmware/libpn544_fw.so");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/drm");
set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so");
set_perm(0, 2000, 0755, "/system/vendor/lib/egl");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/hw");
set_perm(0, 0, 0644, "/system/vendor/lib/hw/gralloc.mt6577.so");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
set_perm(0, 0, 06755, "/system/xbin/su");
set_progress(0.99);
ui_print("**********************************************");
ui_print("* Install kernel *");
ui_print("**********************************************");
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p8"),
delete("/tmp/boot.img"));
unmount("/data");
unmount("/system");
unmount("/custpack");
set_progress(1.00);
ui_print("**********************************************");
ui_print(" DONE !!! ");
ui_print("**********************************************");
Lg
Gesendet von meinem ALCATEL ONE TOUCH 997D
Zuletzt bearbeitet: