[Galaxy S II Android Development] Troubadour666:
i quote myself :)

in updater-script, i replace like you said by :

run_program("/sbin/sh", "/sdcard/vrtheme/installtheme.sh");

run_program("/sbin/sh", "/sdcard/vrtheme/cleanup.sh");

in installtheme.sh, i add :

exec /sdcard/vrtheme/zip -r /sdcard/vrtheme/apply/preload/symlink/system/app/$f *

in all lines with "zip" process.

the same for all lines with zipalign process like :

exec /sdcard/vrtheme/zipalign -f 4 $f ./aligned/$f

in updater-script , i have :

package_extract_dir("vrtheme", "/sdcard/vrtheme");

package_extract_file("dbtools/symlink_preload", "/tmp/create_preload_symlinks");

package_extract_file("dbtools/installtheme.sh", "/sdcard/vrtheme/installtheme.sh");

if file_getprop("/tmp/aroma/type.prop","selected.1") == "2" then

package_extract_file("dbtools/symlink_dualboot", "/tmp/create_preload_symlinks");

package_extract_file("dbtools/dbinstalltheme.sh", "/sdcard/vrtheme/installtheme.sh");

endif;

set_perm(0, 0, 0777, "/tmp/create_preload_symlinks");

set_perm(0, 0, 0777, "/sdcard/vrtheme/installtheme.sh");

set_perm(0, 0, 0777, "/sdcard/vrtheme/zip");

set_perm(0, 0, 0777, "/sdcard/vrtheme/cleanup.sh");

set_perm(0, 0, 0777, "/sdcard/vrtheme/zipalign");

and in aroma log , at end , i have error about zip and i imagine zipalign process

Extract: /sdcard/vrtheme/cleanup.sh
Extract: /sdcard/vrtheme/zip
Extract: /sdcard/vrtheme/zipalign
about to run program [/sbin/sh] with 2 args
Processing /preload/symlink/system/app/
Processing ClockPackage.apk
Processing FmRadio.apk
Processing Phonesky.apk
Processing SamsungCamera.apk
Processing SecBrowser.apk
Processing SecCalendar.apk
Processing SecContacts.apk
Processing SecDownloadProviderUi.apk
Processing SecEmail.apk
cp: can't stat '/data/sec_data/SecEmail.apk': No such file or directory
cp: can't stat '/data/sec_data/SecEmail.apk': No such file or directory
Processing SecLauncher2.apk
Processing SecMms.apk
Processing SecSettings.apk
Processing SystemUI.apk
Backups done for sec_data apps
Processing /system/framework
Processing framework-res.apk
Backups done for frameworks
Working on ClockPackage.apk
[COLOR="Red"]/sdcard/vrtheme/installtheme.sh: exec: line 83: /sdcard/vrtheme/zip: Permission denied[/COLOR]
run_program: child exited with status 2
about to run program [/sbin/sh] with 2 args
Cleanup complete
about to run program [/tmp/create_preload_symlinks] with 1 args
ln: /system/app/AccuweatherDaemon.apk: File exists
ln: /system/app/AccuweatherWidget.apk: File exists
ln: /system/app/AccuweatherWidget_Main.apk: File exists
ln: /system/app/AnalogClockSimple.apk: File exists
ln: /system/app/AnalogClockUnique.apk: File exists
ln: /system/app/ApplicationsProvider.apk: File exists
ln: /system/app/BCService.apk: File exists
ln: /system/app/BackupRestoreConfirmation.apk: File exists
ln: /system/app/BadgeProvider.apk: File exists
ln: /system/app/BluetoothAvrcp.apk: File exists
ln: /system/app/BluetoothMap.apk: File exists
ln: /system/app/BluetoothTest.apk: File exists
ln: /system/app/CapabilityManagerService.apk: File exists
ln: /system/app/CertInstaller.apk: File exists
ln: /system/app/ChocoEUKor.apk: File exists
ln: /system/app/ChromeBookmarksSyncAdapter.apk: File exists
ln: /system/app/ClipboardSaveService.apk: File exists
ln: /system/app/ClockPackage.apk: File exists
ln: /system/app/ColorControl.apk: File exists
ln: /system/app/ContextAwareService.apk: File exists
ln: /system/app/CoolEUKor.apk: File exists
ln: /system/app/DefaultContainerService.apk: File exists
ln: /system/app/DigitalClock.apk: File exists
ln: /system/app/Divx.apk: File exists
ln: /system/app/DrmProvider.apk: File exists
ln: /system/app/DualClockAnalog.apk: File exists
ln: /system/app/DualClockDigital.apk: File exists
ln: /system/app/EdmSysScopeService.apk: File exists
ln: /system/app/EdmVpnServices.apk: File exists
ln: /system/app/Email.apk: File exists
ln: /system/app/EnterprisePermissions.apk: File exists
ln: /system/app/Exchange2.apk: File exists
ln: /system/app/FaceLock.apk: File exists
ln: /system/app/FmRadio.apk: File exists
ln: /system/app/FmmDM.apk: File exists
ln: /system/app/FmmDS.apk: File exists
ln: /system/app/Gmail.apk: File exists
ln: /system/app/GmsCore.apk: File exists
ln: /system/app/GoogleCalendarSyncAdapter.apk: File exists
ln: /system/app/GoogleContactsSyncAdapter.apk: File exists
ln: /system/app/GoogleFeedback.apk: File exists
ln: /system/app/GoogleLoginService.apk: File exists
ln: /system/app/GooglePartnerSetup.apk: File exists
ln: /system/app/GoogleSearchWidget.apk: File exists
ln: /system/app/GoogleServicesFramework.apk: File exists
ln: /system/app/HelvNeueLT.apk: File exists
ln: /system/app/InputDevices.apk: File exists
ln: /system/app/InputEventApp_U1_EUR_OPEN.apk: File exists
ln: /system/app/JobManager.apk: File exists
ln: /system/app/KeyChain.apk: File exists
ln: /system/app/Keystring_factory_JBUP.apk: File exists
ln: /system/app/LatinImeGoogle.apk: File exists
ln: /system/app/LockClock.apk: File exists
ln: /system/app/LogsProvider.apk: File exists
ln: /system/app/MediaUploader.apk: File exists
ln: /system/app/MobilePrint.apk: File exists
ln: /system/app/MobileTrackerEngineTwo.apk: File exists
ln: /system/app/MtpApplication.apk: File exists
ln: /system/app/MusicPlayer.apk: File exists
ln: /system/app/NetworkLocation.apk: File exists
ln: /system/app/OceanWeather.apk: File exists
ln: /system/app/OmaCP.apk: File exists
ln: /system/app/OmaDrmPopup.apk: File exists
ln: /system/app/PRUI.apk: File exists
ln: /system/app/PackageInstaller.apk: File exists
ln: /system/app/PanningTryActually.apk: File exists
ln: /system/app/Phonesky.apk: File exists
ln: /system/app/PickUpTutorial.apk: File exists
ln: /system/app/PopupuiReceiver.apk: File exists
ln: /system/app/Preconfig.apk: File exists
ln: /system/app/PreloadInstaller.apk: File exists
ln: /system/app/RoseEUKor.apk: File exists
ln: /system/app/SamsungCamera.apk: File exists
ln: /system/app/SamsungIME.apk: File exists
ln: /system/app/SamsungTTS.apk: File exists
ln: /system/app/SecBluetooth.apk: File exists
ln: /system/app/SecBrowser.apk: File exists
ln: /system/app/SecCalculator2.apk: File exists
ln: /system/app/SecCalendar.apk: File exists
ln: /system/app/SecCalendarProvider.apk: File exists
ln: /system/app/SecContacts.apk: File exists
ln: /system/app/SecContactsProvider.apk: File exists
ln: /system/app/SecDownloadProvider.apk: File exists
ln: /system/app/SecDownloadProviderUi.apk: File exists
ln: /system/app/SecFactoryPhoneTest.apk: File exists
ln: /system/app/SecFileShareClient.apk: File exists
ln: /system/app/SecFileShareServer.apk: File exists
ln: /system/app/SecGallery2.apk: File exists
ln: /system/app/SecHTMLViewer.apk: File exists
ln: /system/app/SecLauncher2.apk: File exists
ln: /system/app/SecLiveWallpapersPicker.apk: File exists
ln: /system/app/SecMediaProvider.apk: File exists
ln: /system/app/SecMemo.apk: File exists
ln: /system/app/SecMemoWidget.apk: File exists
ln: /system/app/SecMms.apk: File exists
ln: /system/app/SecNoteMyFiles.apk: File exists
ln: /system/app/SecOmaDownloadProvider.apk: File exists
ln: /system/app/SecPhone.apk: File exists
ln: /system/app/SecSettings.apk: File exists
ln: /system/app/SecSettingsProvider.apk: File exists
ln: /system/app/SecSetupWizard.apk: File exists
ln: /system/app/SecTelephonyProvider.apk: File exists
ln: /system/app/SecWallpaperChooser.apk: File exists
ln: /system/app/SecurityProvider.apk: File exists
ln: /system/app/SetupWizard.apk: File exists
ln: /system/app/SharedStorageBackup.apk: File exists
ln: /system/app/SimpleAlarmClock.apk: File exists
ln: /system/app/SimpleFavoritesWidget.apk: File exists
ln: /system/app/SmartcardService.apk: File exists
ln: /system/app/Stk.apk: File exists
ln: /system/app/Street.apk: File exists
ln: /system/app/SystemUI.apk: File exists
ln: /system/app/TrimApp_phone.apk: File exists
ln: /system/app/TwDVFSApp.apk: File exists
ln: /system/app/UserDictionaryProvider.apk: File exists
ln: /system/app/Velvet.apk: File exists
ln: /system/app/VideoPlayer.apk: File exists
ln: /system/app/VoiceSearchStub.apk: File exists
ln: /system/app/VpnDialogs.apk: File exists
ln: /system/app/WAPPushManager.apk: File exists
ln: /system/app/WeatherWall.apk: File exists
ln: /system/app/WlanTest.apk: File exists
ln: /system/app/minimode-res.apk: File exists
ln: /system/app/serviceModeApp_U1_EUR_OPEN.apk: File exists
ln: /system/app/shutdown_JBUP.apk: File exists
ln: /system/app/voice_talk_U1.apk: File exists
ln: /system/app/wssyncmlnps.apk: File exists
run_program: child exited with status 1
about to run program [/sbin/rm] with 3 args
about to run program [/sbin/busybox] with 3 args
about to run program [/sbin/busybox] with 3 args
about to run program [/sbin/busybox] with 3 args
umount: can't umount /preload: Invalid argument
run_program: child exited with status 1
*=========================================*

NeatRom AROMA By JEETU

*=========================================*
*=========================================*
Done
*=========================================*
script result was [*=========================================*]

Installer Sucessfull (Status 0)

End at : Tue Apr 22 15:53:42 2014

i have error with zip process, in red.

all files have been well copied in /sdcard/vrtheme/ folder

at end of flash, /sdcard/vrtheme-backup/ folder is still present in /sdcard/ and its normal in case we want to restore apks themed.

i flash from int card so i have aroma log, if i flash from ext card, log has been write in ext card but size is 0 kb

i use 8.43v108 last, and flash aroma on 2nd rom.

anw, [MENTION=5074262]StanTRC[/MENTION], did you sort out with 2nd rom man ?