[Desire Themes and Apps] midgar1973:
Hi, I'm trying to mod only the battery but using framework-res from darky's rom 7.6 or 7.7 produces this error above..

The phone is samsung galaxy s.

Tried with 2-3 different battery type. Using framework from 7.5 - will have no error and all works fine.

Any ideas?

Thanks

+ WORKING_DIR=UOT-ZC-12-31-09-48-2

+ java -Xmx64m -jar ./tools/apktool.jar d data/working_dir/UOT-ZC-12-31-09-48-2/framework/framework-res.apk data/working_dir/UOT-ZC-12-31-09-48-2/temp/fw_dec

I: Loading resource table...

I: Decoding resources...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

S: Could not decode file "drawable-hdpi/status_bar_item_app_background_normal.9.png" to "drawable-hdpi-v4/status_bar_item_app_background_normal.9.png"

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

at brut.androlib.res.data.ResPackage.getResSpec(Unknown Source)

at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)

at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)

at brut.androlib.res.data.value.ResReferenceValue.getReferent(Unknown Source)

at brut.androlib.res.data.value.ResReferenceValue.toResXmlFormat(Unknown Source)

at brut.androlib.res.data.value.ResAttr.convertToResXmlFormat(Unknown Source)

at brut.androlib.res.decoder.ResAttrDecoder.decode(Unknown Source)

at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(Unknown Source)

at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(Unknown Source)

at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(Unknown Source)

at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Unknown Source)

at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(Unknown Source)

at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(Unknown Source)

at brut.androlib.res.decoder.ResFileDecoder.decode(Unknown Source)

at brut.androlib.res.decoder.ResFileDecoder.decode(Unknown Source)

at brut.androlib.res.AndrolibResources.decode(Unknown Source)

at brut.androlib.Androlib.decodeResourcesFull(Unknown Source)

at brut.androlib.ApkDecoder.decode(Unknown Source)

at brut.apktool.Main.cmdDecode(Unknown Source)

at brut.apktool.Main.main(Unknown Source)