[Sony Xperia S, Acro S, Ion] ch3mn3y:
Yeah. I copied files from Apktool to project/systemui/data and it shows everything like it should, but still no luck with recompiling (both 2.0.0 and 1.5.2 gives similar errors)

Will try with clean systemui only decompiled with other app than vts (now i only edited hex in vts)

EDIT: Stiil. Decompiled it wit apktool, copied to vts, edited and still recompiling errors.

19:08:47.463: [Normal] - TenProjectViewModel.BuildProject: 'Building project: SystemUI'

19:08:47.464: [Debug] - Script.ExecuteScript: 'Got 8 modules to execute'

19:08:47.464: [Normal] - BaseModule.Execute: 'Executing: SystemUI -> Assign variable'

19:08:47.464: [Debug] - VariableModule.ExecuteInternal: 'SystemUI -> Assign variable : Creating variable 'TmpBuildDir' with value '$(NewTmpPath())''

19:08:47.478: [Normal] - BaseModule.Execute: 'Executing: SystemUI -> Copy files'

19:08:48.794: [Normal] - BaseModule.Execute: 'Executing: SystemUI -> Compile resources'

19:08:48.794: [Normal] - ApkTool.CompileApk: 'Compiling apk, path: D:\ADMIN\TEMP\user\BB38E6'

19:08:48.794: [Debug] - ApkTool.CompileApk: 'ApkTool args: -Xmx512m -jar "C:\Program Files (x86)\Virtuous Ten Studio\External\ApkTool\apktool_2.0.0b9.jar" build --output "D:\ADMIN\TEMP\user\1B13FB\C2B1CF.tmp" "D:\ADMIN\TEMP\user\BB38E6"'

19:08:52.230: [Error] - ApkTool.CompileApk: 'ApkTool: I: Using Apktool 2.0.0-Beta9 on BB38E6'

19:08:52.230: [Error] - ApkTool.CompileApk: 'ApkTool: I: Copying classes.dex file...'

19:08:52.230: [Error] - ApkTool.CompileApk: 'ApkTool: I: Checking whether resources has changed...'

19:08:52.230: [Error] - ApkTool.CompileApk: 'ApkTool: I: Building resources...'

19:08:52.230: [Error] - ApkTool.CompileApk: 'ApkTool: D:\ADMIN\TEMP\user\BB38E6\res\values\ids.xml:187: error: Resource entry recent_wipe_app is already defined.'

19:08:52.230: [Error] - ApkTool.CompileApk: 'ApkTool: D:\ADMIN\TEMP\user\BB38E6\res\values\ids.xml:186: Originally defined here.'

19:08:52.230: [Error] - ApkTool.CompileApk: 'ApkTool: D:\ADMIN\TEMP\user\BB38E6\res\values\public.xml:454: error: Multiple entry names declared for public entry identifier 0x2c in type layout (plugin_view vs status_bar_toggle_slider).'

19:08:52.230: [Error] - ApkTool.CompileApk: 'ApkTool: D:\ADMIN\TEMP\user\BB38E6\res\values\public.xml:458: Originally defined here.'

19:08:52.230: [Error] - ApkTool.CompileApk: 'ApkTool: D:\ADMIN\TEMP\user\BB38E6\res\values\public.xml:454: error: Public symbol layout/status_bar_toggle_slider declared here is not defined.'

19:08:52.230: [Error] - ApkTool.CompileApk: 'ApkTool: Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [D:\ADMIN\TEMP\user\brut_util_Jar_5857617915799537024.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-cfea13a0c0, -F, D:\ADMIN\TEMP\user\APKTOOL7688769896686416616.tmp, -I, D:\ADMIN\apktool\framework\1-1.apk, -S, D:\ADMIN\TEMP\user\BB38E6\res, -M, D:\ADMIN\TEMP\user\BB38E6\AndroidManifest.xml]'

19:08:52.230: [Error] - ApkTool.CompileApk: 'ApkTool:	at brut.androlib.Androlib.buildResourcesFull(Androlib.java:435)'

19:08:52.230: [Error] - ApkTool.CompileApk: 'ApkTool:	at brut.androlib.Androlib.buildResources(Androlib.java:363)'

19:08:52.230: [Error] - ApkTool.CompileApk: 'ApkTool:	at brut.androlib.Androlib.build(Androlib.java:286)'

19:08:52.230: [Error] - ApkTool.CompileApk: 'ApkTool:	at brut.androlib.Androlib.build(Androlib.java:258)'

19:08:52.230: [Error] - ApkTool.CompileApk: 'ApkTool:	at brut.apktool.Main.cmdBuild(Main.java:236)'

19:08:52.230: [Error] - ApkTool.CompileApk: 'ApkTool:	at brut.apktool.Main.main(Main.java:88)'

19:08:52.230: [Error] - ApkTool.CompileApk: 'ApkTool: Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [D:\ADMIN\TEMP\user\brut_util_Jar_5857617915799537024.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-cfea13a0c0, -F, D:\ADMIN\TEMP\user\APKTOOL7688769896686416616.tmp, -I, D:\ADMIN\apktool\framework\1-1.apk, -S, D:\ADMIN\TEMP\user\BB38E6\res, -M, D:\ADMIN\TEMP\user\BB38E6\AndroidManifest.xml]'

19:08:52.230: [Error] - ApkTool.CompileApk: 'ApkTool:	at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:470)'

19:08:52.230: [Error] - ApkTool.CompileApk: 'ApkTool:	at brut.androlib.Androlib.buildResourcesFull(Androlib.java:416)'

19:08:52.230: [Error] - ApkTool.CompileApk: 'ApkTool:	... 5 more'

19:08:52.230: [Error] - ApkTool.CompileApk: 'ApkTool: Caused by: brut.common.BrutException: could not exec command: [D:\ADMIN\TEMP\user\brut_util_Jar_5857617915799537024.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-cfea13a0c0, -F, D:\ADMIN\TEMP\user\APKTOOL7688769896686416616.tmp, -I, D:\ADMIN\apktool\framework\1-1.apk, -S, D:\ADMIN\TEMP\user\BB38E6\res, -M, D:\ADMIN\TEMP\user\BB38E6\AndroidManifest.xml]'

19:08:52.230: [Error] - ApkTool.CompileApk: 'ApkTool:	at brut.util.OS.exec(OS.java:89)'

19:08:52.230: [Error] - ApkTool.CompileApk: 'ApkTool:	at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:464)'

19:08:52.230: [Error] - ApkTool.CompileApk: 'ApkTool:	... 6 more'

19:08:52.230: [Debug] - ApkTool.CompileApk: 'ApkTool failed, see log for further details'

19:08:52.230: [Debug] - ApkTool.CompileApk: 'Exitcode: 1'

19:08:52.231: [Error] - ApkToolCompileModule.ExecuteInternal: 'SystemUI -> Compile resources : Compiling resource files failed!'

19:08:52.231: [Error] - Script.ExecuteScript: 'Executing SystemUI -> Compile resources failed!'

19:08:52.231: [Error] - Script.ExecuteScript: 'Failed module is essential, aborting script execution!'

maybe someone who looks into this thread find the problem

EDIT2: I looked into the error logs and as i see (i dont have any knowledge), but the source of the errors are ur files I add to systemui/smali/com/android/recent

Advanced apktool log:

Log For : SystemUI.apk

Log Type : Recompiling

Log Recorded At : 2014-05-09 -- 19:24:53,95

Log Recorded By : Advanced ApkTool v2.0.0 By BDFreak

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

..\3-Out\SystemUI.apk\smali\com\android\systemui\recent\RecentsActivity$1.smali[24,4] Error for input '.parameter': Invalid directive

..\3-Out\SystemUI.apk\smali\com\android\systemui\recent\RecentsActivity$1.smali[39,4] Error for input '.parameter': Invalid directive

..\3-Out\SystemUI.apk\smali\com\android\systemui\recent\RecentsActivity$1.smali[40,4] Error for input '.parameter': Invalid directive

..\3-Out\SystemUI.apk\smali\com\android\systemui\recent\RecentsActivity$1.smali[39,15] mismatched input '"context"' expecting END_METHOD_DIRECTIVE

Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/android/systemui/recent/RecentsActivity$1.smali

at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:72)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:56)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)

at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:338)

at brut.androlib.Androlib.buildSources(Androlib.java:299)

at brut.androlib.Androlib.build(Androlib.java:285)

at brut.androlib.Androlib.build(Androlib.java:258)

at brut.apktool.Main.cmdBuild(Main.java:236)

at brut.apktool.Main.main(Main.java:88)

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

After changing the file to original unmodified one it gives error on next modified file