[Android Software/Hacking General [Developers Only]] Dblfstr:
Hello,

I am helping -someone- with his Aroma updater script. So far we have worked out he bugs and the script works, but he is now stuck in a bootloop. I do not have all the details at the moment (I was just helping to get the script to run properly). But take a look if you can to see if there are any problems:

ui_print("");
ui_print(" ");
ui_print("PIXELDROID LAST EDITION HD2 ROM ");
ui_print(" Rom Updater ");
ui_print("");
set_progress(0.1);
ui_print(" ");

################### Tmous

if
file_getprop("/tmp/aroma-data/rom.prop","selected.1") == "1"
then
show_progress(0.90, 50);

mount("MTD", "userdata", "/data");
mount("MTD", "system", "/system");

if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "1"
then
ui_print("@- Installiert Pixelfreak fw");
delete("/data/framework/framework-res.apk");
package_extract_dir("accu/pixelfreak/framework", "/data/framework");
endif;

if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "2"
then
ui_print("@- Installiert Cyrcle fw");
delete("/data/framework/framework-res.apk");
package_extract_dir("accu/cyrcle/framework", "/data/framework");
endif;

if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "3"
then
ui_print("@- Installiert Elegancia Glas fw");
delete("/data/framework/framework-res.apk");
package_extract_dir("accu/Elegancia_glas/framework", "/data/framework");
endif;

if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "4"
then
ui_print("@- Installiert Elegancia Speedo fw");
delete("/data/framework/framework-res.apk");
package_extract_dir("accu/Elegancia_blue_speedo/framework", "/data/framework");
endif;

if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "5"
then
ui_print("@- Installiert Stock fw");
delete("/data/framework/framework-res.apk");
package_extract_dir("accu/stock/framework", "/data/framework");
endif;

#################### EU

else

run_program("/sbin/busybox", "mount", "-t", "auto", "/dev/block/mmcblk0p2", "/sd-ext");

set_progress(0.5);

if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "1"
then
ui_print("@- Installiert Pixelfreak fw");
delete("/sd-ext/framework/framework-res.apk");
package_extract_dir("accu/pixelfreak/framework", "/sd-ext/framework");
endif;

if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "2"
then
ui_print("@- Installiert Cyrcle fw");
delete("/sd-ext/framework/framework-res.apk");
package_extract_dir("accu/Cyrcle/framework", "/sd-ext/framework");
endif;

if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "3"
then
ui_print("@- Installiert Elegancia Glas fw");
delete("/sd-ext/framework/framework-res.apk");
package_extract_dir("accu/Elegancia_glas/framework", "/sd-ext/framework");
endif;

if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "4"
then
ui_print("@- Installiert Elegancia Speedo fw");
delete("/sd-ext/framework/framework-res.apk");
package_extract_dir("accu/Elegancia_blue_speedo/framework", "/sd-ext/framework");
endif;

if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "5"
then
ui_print("@- Installiert Stock fw");
delete("/sd-ext/framework/framework-res.apk");
package_extract_dir("accu/stock/framework", "/sd-ext/framework");
endif;

endif;

unmount("/system");
unmount("/data");
unmount("/sd-ext");
ui_print(" ");
ui_print(" ");
ui_print("@FERTIG...");

Layout of the updater.zip

rom_updater/zip
---accu
---------cyrcle
--------------framework
---------Elegancia_blue_speedo
--------------framework
---------Elegancia_glas
--------------framework
---------pixelfreak
--------------framework
---------stock
--------------framework
---meta-inf
---------com
--------------google
--------------------------android
--------------------------------------aroma
------------------------------------------------exec_demo
------------------------------------------------fonts
------------------------------------------------icons
------------------------------------------------langs
------------------------------------------------splash
------------------------------------------------themes
-------------------------------------------------------------Black_blue
------------------------------------------------ttf
------------------------------------------------unicode

In each framework folder there is a different framework-res.apk

android contains aroma-config update-binary update-binary-installer updater-script

Typical file sin the other folders.

Edit:

I figured that, since the bootloop did not start until this script had been ran, it must be a problem with one of the framework.res.apk files.

It seems one of them was not signed.