[Sprint HTC EVO 4G LTE] grayn0de:
I'm using apktool 1.4.9 (http://xdaforums.com/showthread.php?t=1755243) and am attempting to do a simple test de/recompile of framework-res.apk to make sure I have everything set up properly on a new dev rig (64-bit CrunchBang Linux), but I am getting errors referring me to AndroidManifest.xml:

grayn0de@chaos:~/apktool$ ./apktool d framework-res.apk
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
grayn0de@chaos:~/apktool$ ./apktool b framework-res framework-res-new.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-w600dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-sw600dp-land
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/layout-w600dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/drawable-sw600dp-mdpi
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-sw600dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-w500dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-w720dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-w360dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/drawable-sw600dp-hdpi
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-h720dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/drawable-sw600dp-xhdpi
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-sw600dp-w1280dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/drawable-sw600dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/layout-sw600dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-w480dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-sw600dp-w1024dp
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL5963956700589881063.tmp, -x, -S, /home/grayn0de/apktool/framework-res/res, -M, /home/grayn0de/apktool/framework-res/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:251)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:325)
at brut.androlib.Androlib.buildResources(Androlib.java:270)
at brut.androlib.Androlib.build(Androlib.java:193)
at brut.androlib.Androlib.build(Androlib.java:175)
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, /tmp/APKTOOL5963956700589881063.tmp, -x, -S, /home/grayn0de/apktool/framework-res/res, -M, /home/grayn0de/apktool/framework-res/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:249)
... 6 more

I'm using the patched aapt from the above linked thread and was able to successfully de/recompile com.htc.resources.apk without issue, using fernando sor's tutorial (http://xdaforums.com/showthread.php?t=1651074), but I'm not getting any love with framework-res.apk. I've attempted another one of fernando sor's tutorials (http://xdaforums.com/showthread.php?t=1601511), without luck.

Would like to get this new machine set up properly for this device, but despite numerous attempts (and various versions of apktool/aapt) and hours of searching the forums, I have been unsuccessful. I have the machine set up for GB ROM & source development just fine, but ICS/JB is becoming a headache. Any and all help is greatly appreciated. TIA