[Android Software/Hacking General [Developers Only]] allesand:
have problem

hi :)

im making an flashable zip file. it is an fix for the x10minipro (U20I and jelly bean)

the aroma installer is starting, runs the choosment , delete files but don't copy the folder and files and it doesn't gives an error code.. can somebody help me im desperate.. have tried different variants of extract_dir ; extract_file; copy_dir.. .but any works. I suppose the system and so on is mounted because one of the first runs sais mount system mtd yaffs2 and so on and if i mount it again it comes a message that the mdt0block is busy.. it is the mount point of system ..

please help

for all answers a big thanks =) hope i can solute it=)

im using Aroma installer for choosment menu here are my configs

--------------------------------------------------------------- Aromaconfig-------------------------------------------------------------------------------------------------------

fontresload( "0", "ttf/Roboto-Regular.ttf;ttf/DroidSansArabic.ttf;ttf/DroidSansFallback.ttf;", "18" );

loadlang("langs/en.lang");

fontresload( "0", "ttf/DroidSans.ttf", "18" );

fontresload( "1", "ttf/DroidSans.ttf", "18" );

checkbox(

"Install fixes",

"Choose the Fixes you want to install Below:",

"icons/personalize",

"fixes.prop",

"LED Notification Fix",	"LED Notification FIX", 0,

"Deliting AOKP KEYBOARD", "Deliting AOKP KEYBOARD from android", 0,

"KM Launcher", "Keyboard Chooser Set what you want", 0

);

checkbox(

"Select Keyboard",

"Please Select your prefered Keyboard Below:",

"icons/apps",

"keyboard.prop",

"XPERIA S Keyboard", "XPERIA S Keyboard", 0,

"XPERIA MINICM7 Keyboard", "MINICM 7 Keyboard for HW USE", 0

);

selectbox(

"Select Keyboard layout",

"Please choose your right Keyboard layout for your XPERIA X10 Mini Pro Hardware Keyboard:",

"icons/apps",

"layout.prop",

"azerty",	"azerty Keyboard layout", 0,

"qwertz",	"Qwertz Keyboard layout", 0,

"qwerty-se-fi",	"qwerty-se-fi Keyboard layout", 0,

"qwerty-no-dk",	"qwerty-no-dk Keyboard layout", 0,

"qwerty-en",	"qwerty-en Keyboard layout", 0,

"qwerty-br",	"qwerty-br Keyboard layout", 0,

"latin-on-thai",	"latin-on-thai Keyboard layout", 0,

"latin-on-pinyin",	"latin-on-pinyin Keyboard layout", 0,

"latin-on-greek",	"latin-on-greek Keyboard layout", 0,

"latin-on-cyrillic",	"latin-on-cyrillic Keyboard layout", 0,

"latin-on-bopomofo", "latin-on-bopomofo Keyboard layout", 0,

"latin-on-arabic-azerty", "latin-on-arabic-azerty Keyboard layout", 0

);

ini_set("text_next","Install Now");

ini_set("text_next", "Exit");

install(

"Installing",

"Installing Keyboards and Fixes...\nPlease Wait Until it Finished...",

"icons/install",

"Finished!"

);

----------------------------------------------------------------------------------- updater-script-------------------------------------------------------------------------------------

# updater-script for MiniCM7

# Version 0.3

# Author: allesand&nobodyAtall At xda-developers

unmount ("yaffs2");

unmount ("/dev/block/mtdblock0");

unmount ("system");

unmount ("/system");

#mount("yaffs2", "MTD", "system", "/system");

mount("yaffs2", "MTD", "/dev/block/mtdblock0", "/system");

#mount("/dev/block/mtdblock0");

#mount("yaffs2", "MTD", "system", "/system");

#mount("yaffs2", "/dev/block/mtdblock0", "system", "/system");

#mount("/sbin/busybox", "mount", "/dev/block/mtdblock0", "system", "/system");

if

file_getprop("/tmp/aroma/fixes.prop","item.0.1") == "1"

then

ui_print("Deleting lights.default.so");

delete("/system/lib/hw/lights.default.so");

ui_print("Install Fix");

#package_extract_dir("fixes/system/lib/hw", "/system/lib/hw");

#copy_dir PACKAGE:system SYSTEM:fixes/system;

package_extract_file ("fixes/system/lib/hw/lights.mimmi.so", "/system/lib/hw/lights.mimmi.so");

ui_print("Fix Installed");

endif;

if

file_getprop("/tmp/aroma/fixes.prop","item.0.2") == "1"

then

ui_print("Deleting Android AOKP Keyboard");

delete("/system/app/LatinIME.apk");

endif;

if

file_getprop("/tmp/aroma/fixes.prop","item.0.3") == "1"

then

ui_print("install km launcher");

#run_program("/sbin/busybox", "mount", "/system");

package_extract_dir("fixes/app", "/system/app");

#run_program("/sbin/busybox", "unmount", "/system");

#run_program("/sbin/busybox", "mount", "/data");

#run_program("/sbin/busybox", "unmount", "/data");

#mount("yaffs2", "MTD", "system", "/system");

endif;

if

file_getprop("/tmp/aroma/keyboard.prop","item.0.1") == "1"

then

ui_print(" By allesand & idareyoutoclickthis& nobodyAtall & DaRk_dOg @ xda");

ui_print("");

ui_print("install XPERIA S Keyboard");

#mount("yaffs2", "MTD", "system", "/system");

ui_print("");

ui_print("Keyboard installation ...");

ui_print("-> Copying /system");

package_extract_dir("keyboards/XPERIA_S/system", "/system");

endif;

if

file_getprop("/tmp/aroma/keyboard.prop","item.0.2") == "1"

then

ui_print ("Install XPERIA MINICM7 Keyboard for Harware Use");

#mount("yaffs2", "MTD", "system", "/system");

ui_print("");

ui_print("Keyboard installation ...");

ui_print("-> Copying /system");

package_extract_dir("keyboards/MINICM7/system", "/system");

endif;

if

file_getprop("/tmp/aroma/layout.prop","selected.0") == "1"

then

ui_print("Flashing Azerty keyboard layout for X10 Mini Pro...");

#mount("yaffs2", "MTD", "system", "/system");

package_extract_dir("keyboards/layouts/Azerty/system", "/system");

set_perm(0, 0, 0644, "/system/usr/keyboard-config/keyprint.xml");

endif;

if

file_getprop("/tmp/aroma/layout.prop","selected.0") == "2"

then

ui_print("Flashing qwertz keyboard layout for X10 Mini Pro...");

#mount("yaffs2", "MTD", "system", "/system");

package_extract_dir("keyboards/layouts/qwertz/system", "/system");

set_perm(0, 0, 0644, "/system/usr/keyboard-config/keyprint.xml");

endif;

if

file_getprop("/tmp/aroma/layout.prop","selected.0") == "3"

then

ui_print("Flashing latin-on-bopomofo keyboard layout for X10 Mini Pro...");

#mount("yaffs2", "MTD", "system", "/system");

package_extract_dir("keyboards/layouts/latin-on-bopomofo/system", "/system");

set_perm(0, 0, 0644, "/system/usr/keyboard-config/keyprint.xml");

endif;

if

file_getprop("/tmp/aroma/layout.prop","selected.0") == "4"

then

ui_print("Flashing latin-on-cyrillic keyboard layout for X10 Mini Pro...");

#mount("yaffs2", "MTD", "system", "/system");

package_extract_dir("keyboards/layouts/latin-on-cyrillic/system", "/system");

set_perm(0, 0, 0644, "/system/usr/keyboard-config/keyprint.xml");

endif;

if

file_getprop("/tmp/aroma/layout.prop","selected.0") == "5"

then

ui_print("Flashing latin-on-greek keyboard layout for X10 Mini Pro...");

#mount("yaffs2", "MTD", "system", "/system");

package_extract_dir("keyboards/layouts/latin-on-greek/system", "/system");

set_perm(0, 0, 0644, "/system/usr/keyboard-config/keyprint.xml");

endif;

if

file_getprop("/tmp/aroma/layout.prop","selected.0") == "6"

then

ui_print("Flashing latin-on-pinyin layout for X10 Mini Pro...");

#mount("yaffs2", "MTD", "system", "/system");

package_extract_dir("keyboards/layouts/latin-on-pinyin/system", "/system");

set_perm(0, 0, 0644, "/system/usr/keyboard-config/keyprint.xml");

endif;

if

file_getprop("/tmp/aroma/layout.prop","selected.0") == "7"

then

ui_print("Flashing latin-on-thai keyboard layout for X10 Mini Pro...");

#mount("yaffs2", "MTD", "system", "/system");

package_extract_dir("keyboards/layouts/latin-on-thai/system", "/system");

set_perm(0, 0, 0644, "/system/usr/keyboard-config/keyprint.xml");

endif;

if

file_getprop("/tmp/aroma/layout.prop","selected.0") == "8"

then

ui_print("Flashing qwerty-br keyboard layout for X10 Mini Pro...");

#mount("yaffs2", "MTD", "system", "/system");

package_extract_dir("keyboards/layouts/qwerty-br/system", "/system");

set_perm(0, 0, 0644, "/system/usr/keyboard-config/keyprint.xml");

endif;

if

file_getprop("/tmp/aroma/layout.prop","selected.0") == "9"

then

ui_print("Flashing qwerty-en/latin keyboard layout for X10 Mini Pro...");

#mount("yaffs2", "MTD", "system", "/system");

package_extract_dir("keyboards/layouts/qwerty-en/system", "/system");

set_perm(0, 0, 0644, "/system/usr/keyboard-config/keyprint.xml");

endif;

if

file_getprop("/tmp/aroma/layout.prop","selected.0") == "10"

then

ui_print("Flashing qwerty-no-dk keyboard layout for X10 Mini Pro...");

#mount("yaffs2", "MTD", "system", "/system");

package_extract_dir("keyboards/layouts/qwerty-no-dk/system", "/system");

set_perm(0, 0, 0644, "/system/usr/keyboard-config/keyprint.xml");

endif;

if

file_getprop("/tmp/aroma/layout.prop","selected.0") == "11"

then

ui_print("Flashing qwerty-se-fi keyboard layout for X10 Mini Pro...");

#mount("yaffs2", "MTD", "system", "/system");

package_extract_dir("keyboards/layouts/qwerty-se-fi/system", "/system");

set_perm(0, 0, 0644, "/system/usr/keyboard-config/keyprint.xml");

endif;

if

file_getprop("/tmp/aroma/layout.prop","selected.0") == "12"

then

ui_print("Flashing latin-on-arabic-azerty keyboard layout for X10 Mini Pro...");

#mount("yaffs2", "MTD", "system", "/system");

package_extract_dir("keyboards/layouts/latin-on-arabic-azerty/system", "/system");

set_perm(0, 0, 0644, "/system/usr/keyboard-config/keyprint.xml");

ui_print ("Done ! Press thanks to allesand & idareyoutoclickthis& & nobodyAtall & DaRk_dOg @ xda");

ui_print("Flashing complete!Remember to thank TheMiltos21 @xda and Heronger@xda!");

endif;

#set_perm_recursive(0, 0, 0755, 0644, "/system/app");

unmount("/system");

--------------------------------------------------------------------------------------------------------------------------------------------------------------