[T-Mobile Samsung Galaxy S 4] seawolf823:
I have tried a ton of different ways and been googleing for days and no matter what way I try I get errors everytime I decompile.

This is what I end up with:

C:\APKTool>apktool d systemui.apk

I: Baksmaling...

I: Loading resource table...

I: Loaded.

I: Decoding AndroidManifest.xml with resources...

I: Loading resource table from file: C:\Users\ken\apktool\framework\1.apk

I: Loaded.

W: Could not decode attr value, using undecoded value instead: ns=androidprv, na

me=primaryUserOnly, value=0xffffffff

W: Could not decode attr value, using undecoded value instead: ns=android, name=

label, value=0x01040627

W: Could not decode attr value, using undecoded value instead: ns=android, name=

theme, value=0x01030315

W: Could not decode attr value, using undecoded value instead: ns=android, name=

theme, value=0x01030325

W: Could not decode attr value, using undecoded value instead: ns=android, name=

theme, value=0x01030325

W: Could not decode attr value, using undecoded value instead: ns=android, name=

theme, value=0x01030325

W: Could not decode attr value, using undecoded value instead: ns=android, name=

theme, value=0x01030325

W: Could not decode attr value, using undecoded value instead: ns=android, name=

theme, value=0x01030325

I: Regular manifest package...

I: Decoding file-resources...

W: Could not decode attr value, using undecoded value instead: ns=android, name=

drawableTop, value=0x01080707

W: Could not decode attr value, using undecoded value instead: ns=android, name=

drawable, value=0x01080c91

W: Could not decode attr value, using undecoded value instead: ns=android, name=

drawable, value=0x010809ba

W: Could not decode attr value, using undecoded value instead: ns=android, name=

drawable, value=0x010809d2

W: Could not decode attr value, using undecoded value instead: ns=android, name=

drawable, value=0x01080c92

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na

me=outerRingDrawable, value=0x7f020083

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na

me=pointDrawable, value=0x0108035a

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na

me=glowRadius, value=0x01050020

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na

me=targetDrawables, value=0x7f080000

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na

me=outerRadius, value=0x7f0e0030

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na

me=vibrationDuration, value=0x7f0d0002

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na

me=snapMargin, value=0x7f0e002e

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na

me=feedbackCount, value=0x00000000

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na

me=alwaysTrackFinger, value=0xffffffff

W: Could not decode attr value, using undecoded value instead: ns=android, name=

drawable, value=0x01080c91

W: Could not decode attr value, using undecoded value instead: ns=android, name=

drawable, value=0x0108067e

W: Could not decode attr value, using undecoded value instead: ns=android, name=

drawable, value=0x01080682

W: Could not decode attr value, using undecoded value instead: ns=android, name=

drawable, value=0x01080682

W: Could not decode attr value, using undecoded value instead: ns=android, name=

drawable, value=0x01080682

W: Could not decode attr value, using undecoded value instead: ns=android, name=

drawable, value=0x01080682

W: Could not decode attr value, using undecoded value instead: ns=android, name=

drawable, value=0x0108072f

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na

me=outerRingDrawable, value=0x7f020083

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na

me=pointDrawable, value=0x0108035a

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na

me=glowRadius, value=0x01050020

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na

me=targetDrawables, value=0x7f080000

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na

me=outerRadius, value=0x7f0e0030

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na

me=vibrationDuration, value=0x7f0d0002

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na

me=snapMargin, value=0x7f0e002e

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na

me=feedbackCount, value=0x00000000

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na

me=alwaysTrackFinger, value=0xffffffff

I: Decoding values */* XMLs...

Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:

0x01040715

at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)

at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)

at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)

at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferen

ceValue.java:62)

at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResRefe

renceValue.java:46)

at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlValueExt(Re

sScalarValue.java:86)

at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlValue(ResSc

alarValue.java:55)

at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlItemValue(R

esScalarValue.java:48)

at brut.androlib.res.data.value.ResArrayValue.serializeToResValuesXml(Re

sArrayValue.java:61)

at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResour

ces.java:440)

at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:243

)

at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)

at brut.apktool.Main.cmdDecode(Main.java:146)

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