[HTC Vivid, Raider, Velocity] ChunD.K:
Hi!I tried to Decode framework-res.apk with APKTool 1.4.3

decode will back the wrong value

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

then I tried to code back to apk file。It failed,and apktool give me the same wrong value

C:\Users\ChunD.K\Desktop\framework-res\res\values\anims.xml:3: error: Found tag
anim where item is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values\plurals.xml:79: error: Multipl
e substitutions specified in non-positional format; did you mean to add the form
atted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values\plurals.xml:79: error: Found t
ag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-af\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-af\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-am\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-am\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-ar\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-ar\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-be\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-be\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-bg\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-bg\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-ca\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-ca\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-cs\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-cs\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-da\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-da\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-de\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-de\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-el\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-el\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-en-rGB\plurals.xml:79: error:
Multiple substitutions specified in non-positional format; did you mean to add t
he formatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-en-rGB\plurals.xml:79: error:
Found tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-es\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-es\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-es-rUS\plurals.xml:79: error:
Multiple substitutions specified in non-positional format; did you mean to add t
he formatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-es-rUS\plurals.xml:79: error:
Found tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-et\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-et\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-fa\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-fa\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-fi\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-fi\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-fr\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-fr\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-hi\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-hi\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-hr\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-hr\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-hu\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-hu\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-in\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-in\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-it\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-it\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-iw\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-iw\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-ja\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-ja\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-ko\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-ko\pluralException in thread "
main" s.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-lt\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-lt\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-lv\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-lv\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-ms\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-ms\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-nb\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-nb\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-nl\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-nl\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-pl\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-pl\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-pt\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-pt\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-pt-rPT\plurals.xml:79: error:
Multiple substitutions specified in non-positional format; did you mean to add t
he formatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-pt-rPT\plurals.xml:79: error:
Found tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-ro\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-ro\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-ru\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-ru\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-sk\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-sk\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-sl\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-sl\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-sr\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-sr\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-sv\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-sv\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-sw\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-sw\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-th\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-th\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-tl\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-tl\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-tr\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-tr\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-uk\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-uk\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-vi\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-vi\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-zh-rCN\plurals.xml:79: error:
Multiple substitutions specified in non-positional format; did you mean to add t
he formatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-zh-rCN\plurals.xml:79: error:
Found tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-zh-rTW\plurals.xml:79: error:
Multiple substitutions specified in non-positional format; did you mean to add t
he formatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-zh-rTW\plurals.xml:79: error:
Found tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values-zu\plurals.xml:79: error: Mult
iple substitutions specified in non-positional format; did you mean to add the f
ormatted="false" attribute?
C:\Users\ChunD.K\Desktop\framework-res\res\values-zu\plurals.xml:79: error: Foun
d tag </item> where </plurals> is expected
C:\Users\ChunD.K\Desktop\framework-res\res\values\public.xml:6577: error: Public
symbol anim/htc_ime_decelerate_interpolator declared here is not defined.
C:\Users\ChunD.K\Desktop\framework-res\res\values\public.xml:6754: error: Public
symbol plurals/wimax_available declared here is not defined.
C:\Users\ChunD.K\Desktop\framework-res\res\values\public.xml:6755: error: Public
symbol plurals/wimax_available_detailed declared here is not defined.
brut.androlib.AndrolibException: brut.common.BrutException: could not exec comma
nd: [aapt, p, -F, C:\Users\ChunD.K\AppData\Local\Temp\APKTOOL6942381833607674626
.tmp, -x, -S, C:\Users\ChunD.K\Desktop\framework-res\res, -M, C:\Users\ChunD.K\D
esktop\framework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a: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:\U
sers\ChunD.K\AppData\Local\Temp\APKTOOL6942381833607674626.tmp, -x, -S, C:\Users
\ChunD.K\Desktop\framework-res\res, -M, C:\Users\ChunD.K\Desktop\framework-res\A
ndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more