[Galaxy S II Themes and Apps] mnaveed:
i m able to decompile the files and edit them as guided but they does not recompile.

i have also tried to recompile them without any change but get the same errors

following is the log, please suggest....

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

[*] Processing framework-res folder...

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

Recompiling framework-res.apk...

W: Could not find sources

I: Building resources...

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/animator

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/drawable-sw600dp-hdpi

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/drawable-xlarge-nodpi

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/interpolator

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/layout-sw600dp

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/layout-w600dp

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/layout-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/mipmap-hdpi

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/mipmap-ldpi

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/mipmap-mdpi

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/mipmap-xhdpi

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-ar-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-bg-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-ca-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-cs-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-da-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-de-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-el-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-en-rGB-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-es-rUS-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-es-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-fa-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-fi-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-fr-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-hi-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-hr-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-hu-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-it-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-iw-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-ja-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-ko-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-lt-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-lv-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-nb-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-nl-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-pl-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-pt-rPT-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-pt-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-ro-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-ru-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-sk-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-sl-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-sr-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-sv-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-th-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-tl-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-tr-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-uk-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-vi-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-zh-rCN-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/raw-zh-rTW-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/values-h720dp

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/values-sw600dp

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/values-sw600dp-land

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/values-sw600dp-w1024dp

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/values-sw600dp-w1280dp

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/values-w360dp

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/values-w480dp

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/values-w500dp

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/values-w600dp

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/values-w720dp

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/values-xlarge

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/values-xlarge-land

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res/xml-xlarge

Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\mna\AppData\Local\Temp\APKTOOL1019771112538791990.tmp, -x, -S, D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res, -M, D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)

at brut.androlib.Androlib.buildResources(Androlib.java:248)

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

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

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

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

Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\mna\AppData\Local\Temp\APKTOOL1019771112538791990.tmp, -x, -S, D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\res, -M, D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\framework-res\AndroidManifest.xml]

at brut.util.OS.exec(OS.java:83)

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)

... 6 more

DONE!

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

[*] Processing SystemUI folder...

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

Recompiling SystemUI.apk...

I: Smaling...

I: Building resources...

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\SystemUI\res/drawable-sw600dp-hdpi

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\SystemUI\res/layout-sw600dp

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\SystemUI\res/values-sw600dp

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\SystemUI\res/values-sw600dp-port

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\SystemUI\res/values-sw720dp

invalid resource directory name: D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\SystemUI\res/values-sw720dp-port

Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\mna\AppData\Local\Temp\APKTOOL3793310012074507062.tmp, -I, C:\Users\mna\apktool\framework\1.apk, -S, D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\SystemUI\res, -M, D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\SystemUI\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)

at brut.androlib.Androlib.buildResources(Androlib.java:248)

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

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

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

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

Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\mna\AppData\Local\Temp\APKTOOL3793310012074507062.tmp, -I, C:\Users\mna\apktool\framework\1.apk, -S, D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\SystemUI\res, -M, D:\Shared\Apktool\xdaAutoTool\_INPUT_APK\SystemUI\AndroidManifest.xml]

at brut.util.OS.exec(OS.java:83)

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)

... 6 more

DONE!