[HTC One X] kibaa12:
Updated current AAPT and have ApkTool 1.4.3

CM10 Framework-res.apk decompiled fine but i am unable to recompile after doing a small edit

(trying to enable onscreen buttons while disabling Physical button Backlights, Mainly Practice for modding and Theming)

When i try to recompile i get this

E:\Desktop\APK TOOL>apktool b CM10 framework-res-new.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
E:\Desktop\APK TOOL\CM10\res\values\plurals.xml:79: error: Multiple substitution
s specified in non-positional format; did you mean to add the formatted="false"
attribute?
E:\Desktop\APK TOOL\CM10\res\values\plurals.xml:79: error: Found tag </item> whe
re </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-af\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-af\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-am\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-am\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-ar\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-ar\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-bg\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-bg\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-ca\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-ca\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-cs\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-cs\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-da\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-da\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-de\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-de\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-el\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-el\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-en-rGB\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
E:\Desktop\APK TOOL\CM10\res\values-en-rGB\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-es\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-es\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-es-rUS\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
E:\Desktop\APK TOOL\CM10\res\values-es-rUS\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-fa\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-fa\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-fi\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-fi\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-fr\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-fr\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-hi\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-hi\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-hr\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-hr\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-hu\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-hu\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-in\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-in\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-it\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-it\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-iw\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-iw\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-ja\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-ja\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-ko\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-ko\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-lt\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-lt\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-lv\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-lv\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-ms\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-ms\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-nb\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-nb\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-nl\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\reException in thread "main" aapt: warning: string 'pow
erwidget_screen_timeout_toast' has no default translation in E:\Desktop\APK TOOL
\CM10\res; found: ru
s\values-nl\plurals.xml:79: error: Found tag </item> where </plurals> is expecte
d
E:\Desktop\APK TOOL\CM10\res\values-pl\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-pl\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-pt\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-pt\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-pt-rPT\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
E:\Desktop\APK TOOL\CM10\res\values-pt-rPT\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-ro\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-ro\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-ru\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-ru\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-sk\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-sk\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-sl\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-sl\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-sr\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-sr\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-sv\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-sv\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-sw\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-sw\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-th\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-th\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-tl\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-tl\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-tr\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-tr\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-uk\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-uk\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-vi\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-vi\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-zh-rCN\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
E:\Desktop\APK TOOL\CM10\res\values-zh-rCN\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-zh-rTW\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
E:\Desktop\APK TOOL\CM10\res\values-zh-rTW\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
E:\Desktop\APK TOOL\CM10\res\values-zu\plurals.xml:79: error: Multiple substitut
ions specified in non-positional format; did you mean to add the formatted="fals
e" attribute?
E:\Desktop\APK TOOL\CM10\res\values-zu\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
brut.androlib.AndrolibException: brut.common.BrutException: could not exec comma
nd: [aapt, p, -F, C:\Users\Brendan\AppData\Local\Temp\APKTOOL8585504733547534617
.tmp, -x, -S, E:\Desktop\APK TOOL\CM10\res, -M, E:\Desktop\APK TOOL\CM10\Android
Manifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:302)
at brut.androlib.Androlib.buildResources(Androlib.java:249)
at brut.androlib.Androlib.build(Androlib.java:172)
at brut.androlib.Androlib.build(Androlib.java:155)
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:\U
sers\Brendan\AppData\Local\Temp\APKTOOL8585504733547534617.tmp, -x, -S, E:\Deskt
op\APK TOOL\CM10\res, -M, E:\Desktop\APK TOOL\CM10\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more

sorry kinda new to the scene been a small mod with a clock but want to go more indepth now but am unable to find anything online for JB or evne if i have updated the aapt properly (i got it from android sdk with 4.1 update)

Sorry if its in the wrong spot