[Samsung Epic 4G Touch] rachelm920:
Theming framework-res.apk for ICS has been driving me nucking futs to say the very least.

I am trying to decompile the framework from this ROM http://xdaforums.com/showthread.php?t=1342291 which is already deodexed. Using this tool on Windows 7 64bit. ADB and Java are properly installed.

I put the framework-res.apk into _INPUT_APK

Option 1

Result:

W: config flags size> 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected dimen-hdpi-ERR0

And multiple similar codes with different 0x numbers and dimen names

I have no idea what that means...

I press any key since it says "Press any key to continue"

Option 6 - Single Decompile apk

I drag framework-res.apk into the terminal

Result:

C:\_INPUT_APK\framework-res.apk
decompiling C:\_INPUT_APK\framework-res.apk...
I: Loading resource table...
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR0
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR1
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR2
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR3
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR4
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR5
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR6
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR7
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR8
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR9
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR10
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR11
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...

Looks like the same errors....

Close Notepad

Result - The framework-res folder is created with the pngs etc.

I DO NOT make any changes

Option 7

I drag the framework-res folder into the terminal and press enter

Result:

C:\_INPUT_APK\framework-res
recompiling C:\_INPUT_APK\framework-res...
W: Could not find sources
I: Building resources...
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/animator
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/drawable-sw600dp-hdpi
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/drawable-xlarge-nodpi
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/interpolator
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/layout-sw600dp
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/layout-w600dp
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/layout-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/mipmap-hdpi
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/mipmap-ldpi
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/mipmap-mdpi
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/mipmap-xhdpi
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-ar-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-bg-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-ca-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-cs-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-da-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-de-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-el-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-en-rGB-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-es-rUS-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-es-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-fa-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-fi-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-fr-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-hi-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-hr-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-hu-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-id-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-it-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-iw-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-ja-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-ko-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-lt-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-lv-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-nb-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-nl-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-pl-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-pt-rPT-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-pt-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-ro-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-ru-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-sk-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-sl-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-sr-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-sv-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-th-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-tl-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-tr-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-uk-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-vi-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-zh-rCN-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/raw-zh-rTW-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/values-h720dp
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/values-sw600dp
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/values-sw600dp-land
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/values-sw600dp-w1024dp
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/values-sw600dp-w1280dp
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/values-w360dp
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/values-w480dp
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/values-w500dp
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/values-w600dp
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/values-w720dp
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/values-xlarge
invalid resource directory name: C:\\_INPUT_APK\framework-res\res/values-xlarge-land
invalid resource directory name: C:\\_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:\Temp\APKTOOL315252293869259280.tmp, -x, -S, C:\\_INPUT_APK\framework-res\res, -M, C:\\_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:\Temp\APKTOOL315252293869259280.tmp, -x, -S, C:\\_INPUT_APK\framework-res\res, -M, C:\\_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
The system cannot find the drive specified.

It looks like there's a "/" where a "\" should be... is something wrong with the code? I'm confused