[Android Software/Hacking General [Developers Only]] franzyroy:
Like it's a backup on the sdcard, Aroma checks if the file is in the SD card.

Do not bother with the red part! The reason is that I moved the backup location. So it's for to people with older backup.

####################################################################################################################
#
# RESTORE YOUR BACKUPS
if exec("/sbin/busybox","test","-d","/sdcard/.HB2_Config")=="1" then
exec("/sbin/busybox","mkdir","-p","/sdcard/.HB2_Config");
[COLOR="Red"]	setvar("sdcard_location","/sdcard");
setvar("franzy_mods_presistent_prop",read(getvar("sdcard_location")+"/HB2franzy_mods_presistent.prop"));
setvar("franzy_customize_presistent_prop",read(getvar("sdcard_location")+"/HB2franzy_customize_presistent.prop"));
setvar("franzy_appsystem_presistent_prop",read(getvar("sdcard_location")+"/HB2franzy_appsystem_presistent.prop"));
if (getvar("franzy_mods_presistent_prop")!="") then
writetmpfile("mods.prop",getvar("franzy_mods_presistent_prop"));
if (getvar("franzy_customize_presistent_prop")!="") then
writetmpfile("customize.prop",getvar("franzy_customize_presistent_prop"));
writetmpfile("comparison.prop",getvar("franzy_customize_presistent_prop"));
endif;
if (getvar("franzy_appsystem_presistent_prop")!="") then
writetmpfile("appsystem.prop",getvar("franzy_appsystem_presistent_prop"));
endif;
setvar("sdcard_location","/sdcard/.HB2_Config");
write(getvar("sdcard_location")+"/HB2franzy_mods_presistent.prop",readtmpfile("mods.prop"));
if (getvar("franzy_customize_presistent_prop")!="") then
write(getvar("sdcard_location")+"/HB2franzy_customize_presistent.prop",readtmpfile("customize.prop"));
endif;
if (getvar("franzy_appsystem_presistent_prop")!="") then
write(getvar("sdcard_location")+"/HB2franzy_appsystem_presistent.prop",readtmpfile("appsystem.prop"));
endif;
exec("/sbin/busybox","rm","-f","/sdcard/HB2franzy_mods_presistent.prop");
exec("/sbin/busybox","rm","-f","/sdcard/HB2franzy_customize_presistent.prop");
exec("/sbin/busybox","rm","-f","/sdcard/HB2franzy_appsystem_presistent.prop");[/COLOR]
endif;
else
setvar("sdcard_location","/sdcard/.HB2_Config");
setvar("franzy_mods_presistent_prop",read(getvar("sdcard_location")+"/HB2franzy_mods_presistent.prop"));
setvar("franzy_customize_presistent_prop",read(getvar("sdcard_location")+"/HB2franzy_customize_presistent.prop"));
setvar("franzy_appsystem_presistent_prop",read(getvar("sdcard_location")+"/HB2franzy_appsystem_presistent.prop"));
if (getvar("franzy_mods_presistent_prop")!="") then
writetmpfile("mods.prop",getvar("franzy_mods_presistent_prop"));
if (getvar("franzy_customize_presistent_prop")!="") then
writetmpfile("customize.prop",getvar("franzy_customize_presistent_prop"));
writetmpfile("comparison.prop",getvar("franzy_customize_presistent_prop"));
endif;
if (getvar("franzy_appsystem_presistent_prop")!="") then
writetmpfile("appsystem.prop",getvar("franzy_appsystem_presistent_prop"));
endif;
endif;
endif;
###################################################################################################################
#
# COMEBACK IF NO BACKUP AND MODIFY
#
if (prop("type.prop","selected")=="3") then
if (getvar("franzy_mods_presistent_prop")=="") || (getvar("franzy_customize_presistent_prop")=="") || (getvar("franzy_appsystem_presistent_prop")=="") then
alert(
#-- Alert Title
"<~aromaconfig.nofound1>",

#-- Alert Text1
"<~aromaconfig.nofound2>",

#-- Alert Icon
"@alert"
);
back("1");
endif;
endif;
###################################################################################################################
#
# COMEBACK IF NO BACKUP AND SYSTEM UPDATE
#
if (prop("type.prop","selected")=="5") then
if (getvar("franzy_mods_presistent_prop")=="") || (getvar("franzy_customize_presistent_prop")=="") || (getvar("franzy_appsystem_presistent_prop")=="") then
alert(
#-- Alert Title
"<~aromaconfig.nofound1>",

#-- Alert Text1
"<~aromaconfig.nofound2>",

#-- Alert Icon
"@alert"
);
back("1");
endif;
endif;
###################################################################################################################
#
# COMEBACK IF NO BACKUP AND SYSTEM APPS
#
if (prop("type.prop","selected")=="6") then
if (getvar("franzy_appsystem_presistent_prop")=="") then
alert(
#-- Alert Title
"<~aromaconfig.nofound1>",

#-- Alert Text2
"<~aromaconfig.nofound3>",

#-- Alert Icon
"@alert"
);
back("1");
endif;
endif;