I am trying to edit Conversation.apk in apktool but when i try to decompile it i have this output:
Code:
--------------------------------------------------------------------------
|25/05/2013 -- 21.41.37,84|
--------------------------------------------------------------------------
--------------------------------------------------------------------------
|25/05/2013 -- 21.41.54,04|
--------------------------------------------------------------------------
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Emerald\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
hardwareAccelerated, value=0xffffffff
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layerType, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
directionality, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
showAsAction, value=0x00000002
W: Could not decode attr value, using undecoded value instead: ns=android, name=
directionality, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
ordering, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
valueFrom, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
valueTo, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
propertyName, value=0x0000000b
Exception in thread "main" java.lang.NullPointerException
at java.io.Writer.write(Unknown Source)
at brut.androlib.res.util.ExtMXSerializer.writeAttributeValue(ExtMXSeria
lizer.java:38)
at org.xmlpull.mxp1_serializer.MXSerializer.attribute(MXSerializer.java:
673)
at org.xmlpull.v1.wrapper.classic.XmlSerializerDelegate.attribute(XmlSer
ializerDelegate.java:106)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stati
cXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamD
ecoder.java:87)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
coder.java:141)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD
ecoderContainer.java:33)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:1
07)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:9
1)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:285
)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:113)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:116)
at brut.apktool.Main.cmdDecode(Main.java:148)
at brut.apktool.Main.main(Main.java:77)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Emerald\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
hardwareAccelerated, value=0xffffffff
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
ordering, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
valueFrom, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
valueTo, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
propertyName, value=0x0000000b
Exception in thread "main" java.lang.NullPointerException
at java.io.Writer.write(Unknown Source)
at brut.androlib.res.util.ExtMXSerializer.writeAttributeValue(ExtMXSeria
lizer.java:38)
at org.xmlpull.mxp1_serializer.MXSerializer.attribute(MXSerializer.java:
673)
at org.xmlpull.v1.wrapper.classic.XmlSerializerDelegate.attribute(XmlSer
ializerDelegate.java:106)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stati
cXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamD
ecoder.java:87)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
coder.java:141)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD
ecoderContainer.java:33)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:1
07)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:9
1)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:285
)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:113)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:116)
at brut.apktool.Main.cmdDecode(Main.java:148)
at brut.apktool.Main.main(Main.java:77)
--------------------------------------------------------------------------
|25/05/2013 -- 21.49.34,26|
--------------------------------------------------------------------------
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Emerald\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
hardwareAccelerated, value=0xffffffff
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layerType, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
directionality, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x01010305
W: Could not decode attr value, using undecoded value instead: ns=android, name=
measureWithLargestChild, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layerType, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
directionality, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
directionality, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
showAsAction, value=0x0000000a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
actionViewClass, value=0x0000000b
Exception in thread "main" java.lang.NullPointerException
at java.io.Writer.write(Unknown Source)
at brut.androlib.res.util.ExtMXSerializer.writeAttributeValue(ExtMXSeria
lizer.java:38)
at org.xmlpull.mxp1_serializer.MXSerializer.attribute(MXSerializer.java:
673)
at org.xmlpull.v1.wrapper.classic.XmlSerializerDelegate.attribute(XmlSer
ializerDelegate.java:106)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stati
cXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamD
ecoder.java:87)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
coder.java:141)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD
ecoderContainer.java:33)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:1
07)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:9
1)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:285
)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:113)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:116)
at brut.apktool.Main.cmdDecode(Main.java:148)
at brut.apktool.Main.main(Main.java:77)
Premere un tasto per continuare . . .
I have this versions of Java
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
what can i do?
Up <.<
Hi,
I have heard that 32bit Java bytecode gets along fine with a 64bit VM, however, if the APK tools depend on their own 32bit native library calls or JNI then issues could arise.
You may want to install the 32bit JRE. I'm under the impression that they coexist well. It may well be that the APK tools need a 32bit Java environment.
Just a guess, since I was using APK Multi-Tools today with no problems on a 32bit Java installation.
Stackoverflow has a number of threads talking about this.
http://stackoverflow.com/questions/783662/java-32-bit-vs-64-bit-compatibility
Best of luck.
Sent from my PLOYER-MOMO using XDA Premium HD app
have you decompiled anything before?
if nt check the framework.apk in apk tool folder in 'my documents ' .
put tw-framework.apk in same folder with renaming - 2.apk and this wud help with some apps.
hit thanks button if it worked
www.dadabhagwan.org
mjp93 said:
have you decompiled anything before?
if nt check the framework.apk in apk tool folder in 'my documents ' .
put tw-framework.apk in same folder with renaming - 2.apk and this wud help with some apps.
hit thanks button if it worked
www.dadabhagwan.org
Click to expand...
Click to collapse
Can i extract framework-res.apk frommy Xperia Z and rename it in tw-framework-2.apk?
I m not having knowledge about Sony but search xda - how to instal framework in apk Multi tool in Sony devices.
there,are three or for apk files in framework folder any one of them is needed for particular task.
use one by one and try which is helping you to decompile..
click thanks...
www.dadabhagwan.org
EmeraldTimer said:
Can i extract framework-res.apk frommy Xperia Z and rename it in tw-framework-2.apk?
Click to expand...
Click to collapse
No they are very different frameworks. You will need to install the proper frameworks. There are plenty of tut about how to do this.
Wayne Tech Nexus
Try to contact any Xperia dev via PM. I am sure they will be glad to help you. I would have helped you but I dunno much about Xperia phones
Sent from my GT-S5570 using xda app-developers app
I tryed to decompile floating notification (just a try) and the output is:
Code:
--------------------------------------------------------------------------
|30/05/2013 -- 7.36.49,93|
--------------------------------------------------------------------------
"mode" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
"java" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
--------------------------------------------------------------------------
|30/05/2013 -- 9.31.46,33|
--------------------------------------------------------------------------
"mode" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
"java" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
--------------------------------------------------------------------------
|30/05/2013 -- 9.32.24,91|
--------------------------------------------------------------------------
"mode" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
"java" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
--------------------------------------------------------------------------
|30/05/2013 -- 9.33.35,98|
--------------------------------------------------------------------------
"mode" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
"java" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
--------------------------------------------------------------------------
|30/05/2013 -- 15.17.56,26|
--------------------------------------------------------------------------
"mode" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
--------------------------------------------------------------------------
|30/05/2013 -- 15.19.00,79|
--------------------------------------------------------------------------
"mode" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Emerald\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
hardwareAccelerated, value=0xffffffff
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
showAsAction, value=0x00000002
W: Could not decode attr value, using undecoded value instead: ns=android, name=
ordering, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
valueFrom, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
valueTo, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
propertyName, value=0x0000000b
Exception in thread "main" java.lang.NullPointerException
at java.io.Writer.write(Unknown Source)
at brut.androlib.res.util.ExtMXSerializer.writeAttributeValue(ExtMXSeria
lizer.java:38)
at org.xmlpull.mxp1_serializer.MXSerializer.attribute(MXSerializer.java:
673)
at org.xmlpull.v1.wrapper.classic.XmlSerializerDelegate.attribute(XmlSer
ializerDelegate.java:106)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stati
cXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamD
ecoder.java:80)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
coder.java:130)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD
ecoderContainer.java:34)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:1
07)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:9
1)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:238
)
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)
--------------------------------------------------------------------------
|30/05/2013 -- 15.21.00,46|
--------------------------------------------------------------------------
"mode" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
--------------------------------------------------------------------------
|30/05/2013 -- 15.21.25,53|
--------------------------------------------------------------------------
"mode" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Emerald\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
hardwareAccelerated, value=0xffffffff
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
showAsAction, value=0x00000002
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x01010305
W: Could not decode attr value, using undecoded value instead: ns=android, name=
measureWithLargestChild, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=
directionality, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
showAsAction, value=0x0000000a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
actionViewClass, value=0x0000000b
Exception in thread "main" java.lang.NullPointerException
at java.io.Writer.write(Unknown Source)
at brut.androlib.res.util.ExtMXSerializer.writeAttributeValue(ExtMXSeria
lizer.java:38)
at org.xmlpull.mxp1_serializer.MXSerializer.attribute(MXSerializer.java:
673)
at org.xmlpull.v1.wrapper.classic.XmlSerializerDelegate.attribute(XmlSer
ializerDelegate.java:106)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stati
cXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamD
ecoder.java:80)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
coder.java:130)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD
ecoderContainer.java:34)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:1
07)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:9
1)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:238
)
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)
--------------------------------------------------------------------------
|30/05/2013 -- 15.27.06,94|
--------------------------------------------------------------------------
"mode" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Emerald\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
hardwareAccelerated, value=0xffffffff
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
ordering, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
valueFrom, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
valueTo, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
propertyName, value=0x0000000b
Exception in thread "main" java.lang.NullPointerException
at java.io.Writer.write(Unknown Source)
at brut.androlib.res.util.ExtMXSerializer.writeAttributeValue(ExtMXSeria
lizer.java:38)
at org.xmlpull.mxp1_serializer.MXSerializer.attribute(MXSerializer.java:
673)
at org.xmlpull.v1.wrapper.classic.XmlSerializerDelegate.attribute(XmlSer
ializerDelegate.java:106)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stati
cXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamD
ecoder.java:80)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
coder.java:130)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD
ecoderContainer.java:34)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:1
07)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:9
1)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:238
)
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)
--------------------------------------------------------------------------
|01/06/2013 -- 19.55.27,77|
--------------------------------------------------------------------------
"mode" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
--------------------------------------------------------------------------
|01/06/2013 -- 20.02.22,09|
--------------------------------------------------------------------------
"mode" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
Plus non atteso.
--------------------------------------------------------------------------
|01/06/2013 -- 20.17.01,90|
--------------------------------------------------------------------------
"mode" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
--------------------------------------------------------------------------
|01/06/2013 -- 20.18.41,33|
--------------------------------------------------------------------------
"mode" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
--------------------------------------------------------------------------
|02/06/2013 -- 12.58.26,85|
--------------------------------------------------------------------------
"mode" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
"java" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
"java" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
Premere un tasto per continuare . . .
Related
i' m trying to use apktool to decompile apk, but don't work. I have pull framework from my phone with this command: apktool if. then when i want to decompil BlurDialer.apk cmd command say:
HTML:
C:\Documents and Settings\Administrateur>apktool d -f D:\Defy+\Themed\BlurDialer
.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Documents and Settings\Administrateur\ap
ktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
icon, value=0x0302017b
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
src, value=0x030203f9
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0302009a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
src, value=0x030203f9
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0302009c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
src, value=0x0302009a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
src, value=0x0302009a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0302009a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
src, value=0x030201b4
W: Could not decode attr value, using undecoded value instead: ns=android, name=
src, value=0x0302009a
I: Decoding values*/* XMLs...
Can't find framework resources for package of id: 3. You must install proper fra
mework files, see project website for more info.
.
When i want to decompile framework.apk, it's run.
Can somewone tell me how to to?
thx
BlurDialer and many other blur apk are dependent on framework-res, blur-res and moto-res, I use apk manager for decompiling and I have to install those 3 with apk tool and then I was able to decompile. In the log it says Can't find framework resources for package of id: 3, I think it's the moto-res.
NITRO_100 said:
BlurDialer and many other blur apk are dependent on framework-res, blur-res and moto-res, I use apk manager for decompiling and I have to install those 3 with apk tool and then I was able to decompile. In the log it says Can't find framework resources for package of id: 3, I think it's the moto-res.
Click to expand...
Click to collapse
awesome ! Thank you Nitro_100. i have try and all is fine
blurPhone and no network
After decompile, changing png file, recompile, signed with signapktic, put right permissions and install BlurPhone.apk in system/app, i have no network , so i have to reinstall original file.
Where is the problem?
thx
manoutch said:
After decompile, changing png file, recompile, signed with signapktic, put right permissions and install BlurPhone.apk in system/app, i have no network , so i have to reinstall original file.
Where is the problem?
thx
Click to expand...
Click to collapse
Hmm, I never sign system apks, so maybe there's the problem ?
when I change something in frameworkres.apk i do this:
-change the name in frameworkres.apk.zip
-extract all what it contain and made any changes what i whant to do
-then with "Total comander"(it help me to modified without afect the signature) opend frameworkres.apk.zip in a part and in the other (files extracted and modified)
-now in Total comander with copy/paste or drop/drag put the modified files in
xxx.zip archive
-when i finished close Total comander
-rename frameworkres.apk(delete.zip)
and thats it
ATENTION!!! all files what you whant to modified must have the same name
like original file
Enjoy!!!
i will try. thx for your help vaserbanix
Hi guys, go to
http://forum.xda-developers.com/showthread.php?p=23644305 to get yours. it's ray home.apk but should be compatible with arc or neo
Now with Xperia S style of home launcher
Added Xperia S mirror effect on Lower Dock..
REQ: Edit Home.apk of Xperia-s
hansip87,
I was trying to decompile the xperia s home.apk, which i have got it from one of your link. i'm running into the below issue. could you please help me out, what is wrong that i'm doing?
-----------------------------------------------------------------------------------------------------------
error
-----------------------------------------------------------------------------------------------------------
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\admroot\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x02090045
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x02090048
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x02090045
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x02090048
I: Decoding values*/* XMLs...
-----------------------------------------------------------------------------------------------------------
Note: Before editing, i have downloaded framework-res.apk of xperia s and did an 'apktool if framework-res.apk' as well. I'm also using the apktool recommended by you in one of your reply.
-Thanks
please update the apktool.jar to at least version 1.4.1. Don't have any link now unfortunately. the old download link is expired Or you can update by searching @ google "apktool"
hansip,
I have managed it to decompile by including the other resource file of xperia-s.
-Thanks.
I've updated this guide for the simpler method ever..
Here I'm using lidroid's modified SystemUI (from Real ICS ROM), should work on other stock based SystemUI
First you need to decompile your SystemUI.apk
Open res/values/drawable.xml with any good xml editor (here I'm using NP++)
Delete this line:
Code:
<item type="drawable" name="notification_tracking_bg">#xxxxxxxx</item>
the #xxxxxxxx value maybe vary in each ROM, just delete the whole line )
Save
Prepare your desired .png file, can be opaque or transparent, and can be in any size/dimension (the system will resize it to match the screen)
Rename it to notification_tracking_bg.png and put it in res/drawable-mdpi
Recompile your SystemUI.apk, push to your phone and you are.......
Done !!
The result will be looked like these :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Remember to
ALWAYS MAKE BACKUP !!
before doing anything above..
I don't responsible of any negative things like bootloop, bricked device, burned SD card, you late to go to school, or the third world war caused by the guide above..
You have been warned !!
Click to expand...
Click to collapse
Good luck..
[off topic sorry]Is there any way to make statusbar transparent in ICS stock Rom?
Sudanminipro said:
[off topic sorry]Is there any way to make statusbar transparent in ICS stock Rom?
Click to expand...
Click to collapse
Yes, i only want a transparent status bar
Is there any way? Plz make it possible
i've tried to make my statusbar transparent..
it's imposible cuz my systemui have double layer, so the back layer will be visible if i make the front one transparent..
it can be seen on the lockscreen, the front layer is covering the back layer and make the icons (battery, signal, etc) looked so worse..
i don't have the original/stock 4.0.4 systemui,
maybe i'll try to make it transparent if someone could upload it..
leloiboi said:
Yes, i only want a transparent status bar
Is there any way? Plz make it possible
Click to expand...
Click to collapse
Not for ICS, sadly.
iiandskater said:
i've tried to make my statusbar transparent..
it's imposible cuz my systemui have double layer, so the back layer will be visible if i make the front one transparent..
it can be seen on the lockscreen, the front layer is covering the back layer and make the icons (battery, signal, etc) looked so worse..
i don't have the original/stock 4.0.4 systemui,
maybe i'll try to make it transparent if someone could upload it..
Click to expand...
Click to collapse
You can find it here. http://forum.xda-developers.com/showthread.php?t=1709056
Sorry i'm using my phone so i can't upload that file. Tks
Sorry for my bad english!
thanks for the tutorial.
i get dis error when i try to decompile... am using Apk_Manager_5.02_ICS_APKTool!!!
--------------------------------------------------------------------------
|qua 11/07/2012 -- 17:48:07,82|
--------------------------------------------------------------------------
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02, mixed mode)
--------------------------------------------------------------------------
|22/07/2012 -- 5:45:25.67|
--------------------------------------------------------------------------
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
Could Not Find C:\Users\LaLa\Downloads\Compressed\Apk_Manager_5.0.2_ICS_APKTool\place-apk-here-for-modding\../place-apk-here-for-modding/signedSystemUI.apk
Could Not Find C:\Users\LaLa\Downloads\Compressed\Apk_Manager_5.0.2_ICS_APKTool\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\LaLa\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x01040421
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010302ee
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010302fc
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010302fc
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010302fc
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010302fc
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x010806ff
W: Could not decode attr value, using undecoded value instead: ns=android, name=opacity, value=0xfffffffd
W: Could not decode attr value, using undecoded value instead: ns=android, name=state_activated, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=animateLayoutChanges, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=animateLayoutChanges, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=exitFadeDuration, value=0x010e0001
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x0108073f
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0101030e
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0101030e
W: Could not decode attr value, using undecoded value instead: ns=android, name=opacity, value=0xfffffffd
W: Could not decode attr value, using undecoded value instead: ns=android, name=exitFadeDuration, value=0x010e0001
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x010301ea
W: Could not decode attr value, using undecoded value instead: ns=android, name=interpolator, value=0x010c0008
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x010102f0
W: Could not decode attr value, using undecoded value instead: ns=android, name=alpha, value=0x3ecccccd
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0101030e
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0101030e
I: Decoding values*/* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010301e9
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:55)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:51)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:59)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:43)
at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:48)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:264)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:137)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
leloiboi said:
You can find it here. http://forum.xda-developers.com/showthread.php?t=1709056
Sorry i'm using my phone so i can't upload that file. Tks
Sorry for my bad english!
Click to expand...
Click to collapse
thanks for the link..
but i'm on limited bandwith so can't download whole zip,
i'll be thankful if someone could upload systemui.apk only..
whalesplaho said:
i get dis error when i try to decompile... am using Apk_Manager_5.02_ICS_APKTool!!!
--------------------------------------------------------------------------
|qua 11/07/2012 -- 17:48:07,82|
--------------------------------------------------------------------------
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02, mixed mode)
--------------------------------------------------------------------------
|22/07/2012 -- 5:45:25.67|
--------------------------------------------------------------------------
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
Could Not Find C:\Users\LaLa\Downloads\Compressed\Apk_Manager_5.0.2_ICS_APKTool\place-apk-here-for-modding\../place-apk-here-for-modding/signedSystemUI.apk
Could Not Find C:\Users\LaLa\Downloads\Compressed\Apk_Manager_5.0.2_ICS_APKTool\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\LaLa\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x01040421
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010302ee
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010302fc
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010302fc
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010302fc
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010302fc
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x010806ff
W: Could not decode attr value, using undecoded value instead: ns=android, name=opacity, value=0xfffffffd
W: Could not decode attr value, using undecoded value instead: ns=android, name=state_activated, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=animateLayoutChanges, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=animateLayoutChanges, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=exitFadeDuration, value=0x010e0001
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x0108073f
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0101030e
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0101030e
W: Could not decode attr value, using undecoded value instead: ns=android, name=opacity, value=0xfffffffd
W: Could not decode attr value, using undecoded value instead: ns=android, name=exitFadeDuration, value=0x010e0001
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x010301ea
W: Could not decode attr value, using undecoded value instead: ns=android, name=interpolator, value=0x010c0008
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x010102f0
W: Could not decode attr value, using undecoded value instead: ns=android, name=alpha, value=0x3ecccccd
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0101030e
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0101030e
I: Decoding values*/* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010301e9
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:55)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:51)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:59)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:43)
at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:48)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:264)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:137)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
Click to expand...
Click to collapse
which systemui do u want to decompile ??
maybe u need to install the secondary framework to ur apktool (SemcGenericResUxp.apk) ..
iiandskater said:
which systemui do u want to decompile ??
maybe u need to install the secondary framework to ur apktool (SemcGenericResUxp.apk) ..
Click to expand...
Click to collapse
i copied tha SystemUI.apk from my phone [/system/app/] den send to PC.... how do i install secondary framework to apktool (SemcGenericResUxp.apk) please?
whalesplaho said:
i copied tha SystemUI.apk from my phone [/system/app/] den send to PC.... how do i install secondary framework to apktool (SemcGenericResUxp.apk) please?
Click to expand...
Click to collapse
pull it from ur phone (in /system/framework),
then install it like u install ur framework-res apk earlier..
Code:
apktool if your/path/to/SemcGenericResUxp.apk
iiandskater said:
pull it from ur phone (in /system/framework),
then install it like u install ur framework-res apk earlier..
Code:
apktool if your/path/to/SemcGenericResUxp.apk
Click to expand...
Click to collapse
i havent install tha framework-res.apk brov.. dat means i will need to install SemcGenericResUxp.apk & framework-res.apk!!! but will i just open command prompt & type dose codes or what?? please be more comprehensive, i really need to do dis!
is dis tha real code:- apktool if your/path/to/SemcGenericResUxp.apk?
whalesplaho said:
i havent install tha framework-res.apk brov.. dat means i will need to install SemcGenericResUxp.apk & framework-res.apk!!! but will i just open command prompt & type dose codes or what?? please be more comprehensive, i really need to do dis!
is dis tha real code:- apktool if your/path/to/SemcGenericResUxp.apk?
Click to expand...
Click to collapse
hey.. what tool are u using ??
i'm using native apktool here..
which everything is done by cmd command,
it's more comfortable and flexible for me..
yes, u need to install both apk..
no,
i mean that is path where u extract the SemcGenericResUxp.apk
here's a reference for u:
http://forum.xda-developers.com/showthread.php?t=1760133
don't forget to always using latest apktool stuffs,
good luck..
iiandskater said:
hey.. what tool are u using ??
i'm using native apktool here..
which everything is done by cmd command,
it's more comfortable and flexible for me..
yes, u need to install both apk..
no,
i mean that is path where u extract the SemcGenericResUxp.apk
here's a reference for u:
http://forum.xda-developers.com/showthread.php?t=1760133
don't forget to always using latest apktool stuffs,
good luck..
Click to expand...
Click to collapse
thanks so much buddy... Gracias!!!
am using ApkManager_5.0.2_Apktoopl for ICS...
Help please
Hey Bro iiandskater
Help me please....
How can i change background in this part?? (part of date)
Please man.
AxelGom said:
Hey Bro iiandskater
Help me please....
How can i change background in this part?? (part of date)
View attachment 1215123
Please man.
Click to expand...
Click to collapse
that's color related, not an image..
you can modify it in /res/values/drawable.xml and the string is some like notification_header_bg or what (sorry i don't remember),
and change the color value..
you can use custom image by using the method based on my 1st post above,
still you need creativity and improvements..
WT19i ICS systemUI.apk
Here is stock ICS Wt19i systemUI.apk , please make for me a transparent status bar. And i'll be very happy if you show me how to do it .TKS
hi !!!!
i don't have res/value/public.xlm
iiandskater said:
that's color related, not an image..
you can modify it in /res/values/drawable.xml and the string is some like notification_header_bg or what (sorry i don't remember),
and change the color value..
you can use custom image by using the method based on my 1st post above,
still you need creativity and improvements..
Click to expand...
Click to collapse
yeeeii! thank u so much bro! my mod now is complete see this!
:good:
leloiboi said:
Here is stock ICS Wt19i systemUI.apk , please make for me a transparent status bar. And i'll be very happy if you show me how to do it .TKS
Click to expand...
Click to collapse
too bad,
I've tried the case is just same with my SystemUI (see my earlier post)..
but i think that's NOT the stock SysUI,
stock SysUI don't have quick panel and the statusbar clock is not disapearing in lockscreen..
royal-kingzzz said:
hi !!!!
i don't have res/value/public.xlm
Click to expand...
Click to collapse
i've updated the tut,
playing with public.xml is not needed anymore.. :laugh:
AxelGom said:
yeeeii! thank u so much bro! my mod now is complete see this!
:good:
Click to expand...
Click to collapse
good job my bro,
keep ur creativity..
Hi guys, i use Cyanogenmod 10.1 with a theme, and i would decompile/edit and compile SystemUI.apk but when i try with apktool show me this error
Code:
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\lucry\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080666
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080665
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080665
S: Could not decode file, replacing by FALSE value: layout/status_bar.xml
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080666
I: Decoding values */* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x01080666
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.encodeAsResXmlAttr(ResSca
larValue.java:44)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:4
0)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlRe
sourceParser.java:313)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu
e(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stati
cXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamD
ecoder.java:80)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
coder.java:130)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD
ecoderContainer.java:34)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:1
07)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:9
1)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:238
)
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)
how can i fix this problem??
bump
I want to decompile systemui.apk to remove clock from status bar
For decompiling I use elesbb's GUI APK Tool. I installed custom framework (both frameworks from /system/framework folder) when i decompile I get this log:
Code:
16.09.2013
17:55:45,08
Decompiling..
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Mihai\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x02030057
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x02030057
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingTop, value=0x02050059
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050001
W: Cant find 9patch chunk in file: "drawable-hdpi/qp_brightness_bg.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/qp_bg.9.png". Renaming it to *.png.
I: Decoding values */* XMLs...
I: Done.
then I open the decompiled folder i find in res/layout the status bar.xml and I make my changes.
I removed this from the xml:
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
So far so good. But then I go to recompile and I get this error (btw I searched all on google first no luck there so I really need your help):
Code:
16.09.2013
17:57:06,37
Re-compiling...
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:164)
at brut.androlib.Androlib.build(Androlib.java:181)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:214)
at brut.apktool.Main.main(Main.java:74)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:160)
... 4 more
I don't know how to solve this I try everything that crossed my mind and...nothing!
My OS: Windows 7 64-bit, JDK, JRE, .NET 3.5,4.0,4.5 installed
Also all security is disabled when using this files (I don't want avast to interfere with my work)
What and where is the apktool.yml I don't know...
PLEASE HELP ME to solve this:crying:
apktool.yml doesn't exist, this means it wasn't decompiled correctly.
I suggest you to use APK Manager and read here: http://forum.xda-developers.com/showthread.php?t=2158816 it will help you decompiling correctly.
xpirt
---------- Post added at 05:13 PM ---------- Previous post was at 05:12 PM ----------
And another thing, install as a framework also SystemUI.apk (apktool if SystemUI.apk)
xpirt
xpirt said:
apktool.yml doesn't exist, this means it wasn't decompiled correctly.
I suggest you to use APK Manager and read here: http://forum.xda-developers.com/showthread.php?t=2158816 it will help you decompiling correctly.
xpirt
---------- Post added at 05:13 PM ---------- Previous post was at 05:12 PM ----------
And another thing, install as a framework also SystemUI.apk (apktool if SystemUI.apk)
xpirt
Click to expand...
Click to collapse
if everything works with your help after I'll test the mod I'll add it to apps thread with versions for stock sensedx+ and so on...with the apropriate credits and thanks of course
same problem: it decompiles framework-res no problem (apktool.yml is there) but again error and no apktool.yml in systemui
MihaiA7X said:
same problem: it decompiles framework-res no problem (apktool.yml is there) but again error and no apktool.yml in systemui
Click to expand...
Click to collapse
Three ways remaining:
1. Did you install as framework all 3 files? framework-res.apk, com.htc.resources.apk and SystemUI.apk? If not, install all of them.
2. Update apktool.jar with newest one from here, decompress tar.bz2 downloaded and replace apktool.jar to /others folder if you use ApkManager.
xpirt
xpirt said:
Three ways remaining:
1. Did you install as framework all 3 files? framework-res.apk, com.htc.resources.apk and SystemUI.apk? If not, install all of them.
2. Update apktool.jar with newest one from here, decompress tar.bz2 downloaded and replace apktool.jar to /others folder if you use ApkManager.
xpirt
Click to expand...
Click to collapse
when decompiling com.htc.resources:
Code:
--------------------------------------------------------------------------
|16.09.2013 -- 18:47:12,97|
--------------------------------------------------------------------------
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars
c file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:54)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes
ources.java:540)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav
a:76)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav
a:68)
at brut.androlib.Androlib.getResTable(Androlib.java:51)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:191)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:116)
at brut.apktool.Main.cmdDecode(Main.java:148)
at brut.apktool.Main.main(Main.java:77)
Caused by: java.io.IOException: Expected: 0x00000008, got: 0x00000000
at brut.util.ExtDataInput.skipCheckShort(ExtDataInput.java:56)
at brut.androlib.res.decoder.ARSCDecoder.readValue(ARSCDecoder.java:219)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:179)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:167
)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:133)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10
8)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:81)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 8 more
i switched to apk manager and followed the tutorial that you suggested
1. Extract APK Manager from the .zip file.
2. Run Setup.bat
3. Grab the untouched framework-res.apk and SystemUI.apk from the Base ROM.
4. Place them both in "place-apk-here-for-modding" folder
5. Double click on Script.bat
6. type in 24 and type the corresponding number for framework-res.apk
7. type 9 and it should decompile (If you don't decompile framework-res.apk first you'll have serious problems.)
8. Now type in 24 again and type in the corresponding number for SystemUI.apk
--------Everything fine until step 9--------------
9 Type in 9 and decompile.
10. Now make your modifications in "projects folder"
Removed
---------- Post added at 05:58 PM ---------- Previous post was at 05:55 PM ----------
MihaiA7X said:
when decompiling com.htc.resources:
Code:
--------------------------------------------------------------------------
|16.09.2013 -- 18:47:12,97|
--------------------------------------------------------------------------
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars
c file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:54)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes
ources.java:540)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav
a:76)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav
a:68)
at brut.androlib.Androlib.getResTable(Androlib.java:51)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:191)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:116)
at brut.apktool.Main.cmdDecode(Main.java:148)
at brut.apktool.Main.main(Main.java:77)
Caused by: java.io.IOException: Expected: 0x00000008, got: 0x00000000
at brut.util.ExtDataInput.skipCheckShort(ExtDataInput.java:56)
at brut.androlib.res.decoder.ARSCDecoder.readValue(ARSCDecoder.java:219)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:179)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:167
)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:133)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10
8)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:81)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 8 more
i switched to apk manager and followed the tutorial that you suggested
1. Extract APK Manager from the .zip file.
2. Run Setup.bat
3. Grab the untouched framework-res.apk and SystemUI.apk from the Base ROM.
4. Place them both in "place-apk-here-for-modding" folder
5. Double click on Script.bat
6. type in 24 and type the corresponding number for framework-res.apk
7. type 9 and it should decompile (If you don't decompile framework-res.apk first you'll have serious problems.)
8. Now type in 24 again and type in the corresponding number for SystemUI.apk
--------Everything fine until step 9--------------
9 Type in 9 and decompile.
10. Now make your modifications in "projects folder"
Click to expand...
Click to collapse
So... first of all open Setup.bat (not Script.bat) -> Option 2 (Install framework files) -> Option 5 (Pull dependiencias from phone) -> Wait until all are completed.
Now open Script.bat and after you put SystemUI.apk into place-for-modding folder, select option 9 and wait.
xpirt
xpirt said:
Removed
---------- Post added at 05:58 PM ---------- Previous post was at 05:55 PM ----------
So... first of all open Setup.bat (not Script.bat) -> Option 2 (Install framework files) -> Option 5 (Pull dependiencias from phone) -> Wait until all are completed.
Now open Script.bat and after you put SystemUI.apk into place-for-modding folder, select option 9 and wait.
xpirt
Click to expand...
Click to collapse
done exactly what you said and:
Code:
|16.09.2013 -- 18:59:09,72|
--------------------------------------------------------------------------
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Mihai\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingTop, value=0x02050059
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x02030057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x02030057
W: Cant find 9patch chunk in file: "drawable-hdpi/qp_bg.9.png". Renaming it to *
.png.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050001
I: Decoding values */* XMLs...
I: Done.
i fell like I'm going insane here:laugh: thanks for helping me
MihaiA7X said:
done exactly what you said and:
Code:
|16.09.2013 -- 18:59:09,72|
--------------------------------------------------------------------------
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Mihai\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingTop, value=0x02050059
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x02030057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x02030057
W: Cant find 9patch chunk in file: "drawable-hdpi/qp_bg.9.png". Renaming it to *
.png.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050001
I: Decoding values */* XMLs...
I: Done.
i fell like I'm going insane here:laugh: thanks for helping me
Click to expand...
Click to collapse
So did you work, right?
xpirt
xpirt said:
So did you work, right?
xpirt
Click to expand...
Click to collapse
well it didn't although I pulled the dependencies from the phone placed the systemui in its modding folder applied the commands and the damn thing doesn't decompile correctly
Code:
Please make your decision:9
Decompiling Apk Sources and Resources Files
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.
"An Error Occurred, Please Check The Log (option 26)"
Press any key to continue . . .
Code:
--------------------------------------------------------------------------
|16.09.2013 -- 19:00:19,52|
--------------------------------------------------------------------------
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Mihai\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-hdpi/qp_bg.9.png". Renaming it to *
.png.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x02030057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x02030057
W: Cant find 9patch chunk in file: "drawable-hdpi/qp_brightness_bg.9.png". Renam
ing it to *.png.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingTop, value=0x02050059
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050001
I: Decoding values */* XMLs...
I: Done.
Press any key to continue . . .
MihaiA7X said:
well it didn't although I pulled the dependencies from the phone placed the systemui in its modding folder applied the commands and the damn thing doesn't decompile correctly
Click to expand...
Click to collapse
Same error? See apktool-log.txt and give me last part.
xpirt
xpirt said:
Same error? See apktool-log.txt and give me last part.
xpirt
Click to expand...
Click to collapse
Code:
--------------------------------------------------------------------------
|16.09.2013 -- 19:00:19,52|
--------------------------------------------------------------------------
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Mihai\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-hdpi/qp_bg.9.png". Renaming it to *.png.
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x02030057
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x02030057
W: Cant find 9patch chunk in file: "drawable-hdpi/qp_brightness_bg.9.png". Renaming it to *.png.
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingTop, value=0x02050059
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050001
I: Decoding values */* XMLs...
I: Done.
that is the last part
MihaiA7X said:
Code:
--------------------------------------------------------------------------
|16.09.2013 -- 19:00:19,52|
--------------------------------------------------------------------------
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Mihai\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-hdpi/qp_bg.9.png". Renaming it to *.png.
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x02030057
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x02030057
W: Cant find 9patch chunk in file: "drawable-hdpi/qp_brightness_bg.9.png". Renaming it to *.png.
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingTop, value=0x02050059
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050001
I: Decoding values */* XMLs...
I: Done.
that is the last part
Click to expand...
Click to collapse
Look at /projects folder lol it should be a folder called /SystemUI.apk.
xpirt
xpirt said:
Look at /projects folder lol it should be a folder called /SystemUI.apk.
xpirt
Click to expand...
Click to collapse
it is but it is not complete and it doesn't have a apktool.yml file so the recompiling its impossible
ok i think i know why it fails: i have the systemui modded with lidroid so that might be the problem...
Try Ibotpeaches Apktool http://forum.xda-developers.com/showthread.php?t=1755243
Sent from my HTC Desire X
MihaiA7X said:
it is but it is not complete and it doesn't have a apktool.yml file so the recompiling its impossible
ok i think i know why it fails: i have the systemui modded with lidroid so that might be the problem...
Click to expand...
Click to collapse
So last.. go here: https://code.google.com/p/android-apktool/downloads/list
Download .tar.bz2 file and extract apktool.jar to Desktop.
Replace apktool.jar into /APK-Manager/other/ folder.
Now redo option 9 to decompile.
xpirt
xpirt said:
So last.. go here: https://code.google.com/p/android-apktool/downloads/list
Download .tar.bz2 file and extract apktool.jar to Desktop.
Replace apktool.jar into /APK-Manager/other/ folder.
Now redo option 9 to decompile.
xpirt
Click to expand...
Click to collapse
done that but still...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
In the end it worked with elesbb's GUI APK Tool v1.2.4.5 loaded all apps xpirt said as framework than the decompilation of SystemUI.apk completed
it is builded but it doesnt work on phone i tried both signed and unsigned something is missing (well the META-INF folder is missing from mine
EDIT: IT WORKS FINALLY!!! The last problem was the AndroidManifest.xml but it's fixed now. Thank you xpirt for all your help.