Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,813,477 Members 41,645 Now Online
XDA Developers Android and Mobile Development Forum

[Tool]Advanced ApkTool v3.0.0[Windows][02/09/2014]

Tip us?
 
BDFreak
Old
#171  
BDFreak's Avatar
Recognized Themer - OP
Thanks Meter 1,506
Posts: 415
Join Date: Jan 2013
Location: Mymensingh
Quote:
Originally Posted by Netuser View Post
Hi, @BDFreak,

First thanks for this tool, it is really very userfreindly

I dont have sony phone but Samsung Galaxy S4 as your tool is very nice i wanted to try it as you said it should work with other brands too. But I am having an error when i try to decompile a SystemUI file (i ahve same error with other tools and also with Command line apktool guide too) As this topic is very active i am posting my issue here if you can help Please.

I uploaded the files and franmewroks in a zip ( installed both frameworks)

http://www.mediafire.com/download/4t...zvg76/2-In.zip

and here is the error I get :

Thanks a lot for your help

 
Code:
 Log For : SystemUIGF1.2.apk 

 Log Type : Decompiling 

 Log Recorded At : 2014-09-06 -- 18:52:22.73 

 Log Recorded By : Advanced ApkTool v3.0.0 By BDFreak 

------------------------------------------------------ 

W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01081099
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01081099
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x0108109a
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x01081099
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:59)
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(ResReferenceValue.java:60)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:47)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:45)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:40)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:340)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamDecoder.java:83)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:141)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:33)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:107)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:91)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:307)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:119)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:115)
at brut.apktool.Main.cmdDecode(Main.java:169)
at brut.apktool.Main.main(Main.java:85)

I don't have any idea about it.



Quote:
Originally Posted by winamp26 View Post
help me
i decompile SYSTEMUI.apk and add clear recent buttun and when recompile not succes.
see attach file.
sorry for bad english
I think you have done something wrong with smali files. It's not related to this tool.
Having problem deodexing files? Or want a user friendly deodexer?
Download : Ultimate Deodexer

Do you have lots of apps scattered all over your pc?
Download : Apk File Manager

Are you having problem in Decompiling/Recompiling framework-res.apk?
Download : Advanced ApkTool
 
Marionette
Old
#172  
Marionette's Avatar
Senior Member
Thanks Meter 724
Posts: 2,664
Join Date: Jun 2011
Location: Next to you
Can someone help me?
I tried to edit a theme(change nav bar icons and scrubbers pngs).
I replaced them with pngs of same size and name...

I dont have SDK installed,could that be the cause??

Here is the log
Attached Files
File Type: txt BlueTheme.apk_2014-09-20-_16-03.txt - [Click for QR Code] (4.8 KB, 6 views)




 
Want to donate?

Bitcoin adress


1CcNMFvYgtCJLf3UHDv1TdjDZtAHYx9Y9t
 
KkdGab
Old
#173  
KkdGab's Avatar
Senior Member
Thanks Meter 26
Posts: 178
Join Date: Jun 2014
Location: Auckland
Quote:
Originally Posted by Marionette View Post
Can someone help me?
I tried to edit a theme(change nav bar icons and scrubbers pngs).
I replaced them with pngs of same size and name...

I dont have SDK installed,could that be the cause??

Here is the log
No, it is that some of the XML files don't relate properly to some pngs

Sent from my HUAWEI Y210-0100
Part of my sig is blurred, it was intentional
 
"What would be the purpose of fishing for thanks? Having one thank you as opposed to 10,000 makes no difference does it? It's just an ego thing I suppose. I don't and have never focused on someone's thank meter to judge their expertise and knowledge." - edfunkycold
My Device
 
Huawei Ascend Y210-0100
ROM:ics rom v1 by A&A
CWM 5.0.2.8
ALWAYS use Quote me or use @KkdGab if you want your reply to be heard
The Following User Says Thank You to KkdGab For This Useful Post: [ Click to Expand ]
 
chauhanjayc
Old
#174  
chauhanjayc's Avatar
Senior Member
Thanks Meter 360
Posts: 888
Join Date: Feb 2011
Location: Ahmedabad - India
dont know why but i am unable to extract entire zip


i have tried RAR and 7Zip both still 1st BD folder is missing decompile and recompile exe and some other file

any help?
Phone Used:

Previous Phone: Xperia x10, Xperia x10 min; Xperia x10 mini pro; Xperia Arc S; Xperia J; Sony Xperia C

Current Phone: Sony Xperia T2 Ultra; Sony Xperia Z
 
anagramgenius
Old
(Last edited by anagramgenius; Yesterday at 01:01 PM.)
#175  
Senior Member
Thanks Meter 109
Posts: 355
Join Date: Mar 2014
Location: Mysore
Quote:
Originally Posted by chauhanjayc View Post
dont know why but i am unable to extract entire zip


i have tried RAR and 7Zip both still 1st BD folder is missing decompile and recompile exe and some other file

any help?
Antivirus detects decompile.exe and recompile.exe files as malware. Dunno why. Disable antivirus while using this tool.
Xperia ZL
The Following User Says Thank You to anagramgenius For This Useful Post: [ Click to Expand ]
 
anagramgenius
Old
(Last edited by anagramgenius; Yesterday at 01:03 PM.)
#176  
Senior Member
Thanks Meter 109
Posts: 355
Join Date: Mar 2014
Location: Mysore
xda app error. Deleted comment.
Xperia ZL
 
anagramgenius
Old
(Last edited by anagramgenius; Yesterday at 01:03 PM.)
#177  
Senior Member
Thanks Meter 109
Posts: 355
Join Date: Mar 2014
Location: Mysore
xda app error. Deleted comment.
Xperia ZL

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes