FORUMS

Nexus & Cookies: A More Focused Direction?

It is that time of the year again, and we are approaching the day where Android fans all over … more

LG G4 US Carrier Release Dates

The LG G4 was announced on April 29th with its Snapdragon 808 SoC, a welcomed change from its higher-end … more

Microsoft Reaches Pre-Install Agreement With New OEMs

As of late, Microsoft has been making a subtle but widespread play into the … more

Discover XDA: Discover Greater

We’ve all been there at some point in our XDA lives; we used to spend hours browsing over the … more
Post Reply Subscribe to Thread Email Thread

[Tool]Advanced ApkTool v4.1.0[Windows][02/12/2014]

18th May 2015, 04:15 PM |#371  
Senior Member
Thanks Meter: 202
 
More
Please check apktool updates here
http://forum.xda-developers.com/show....php?t=1755243
 
 
20th May 2015, 02:31 PM |#372  
TechXero's Avatar
Senior Member
Flag Ain Saadeh
Thanks Meter: 1,279
 
More
I am not a coder or dev so didn't understand the following :

Quote:

Copy your framework files to the "2-In" folder & also the apk files you want to decompile
Install Framework first (Install OEM specfic framework also)

I just want to decompile SystemUI.apk edit it then recompile it.

Thanks
20th May 2015, 02:40 PM |#373  
4aces's Avatar
Senior Member
Thanks Meter: 3,102
 
More
Quote:
Originally Posted by TechXero

I am not a coder or dev so didn't understand the following :



I just want to decompile SystemUI.apk edit it then recompile it.

Thanks

Without installing the framework decompiling doesn't make much sense. To put it easy: you tell the tool which phone you are using.

Just copy the framework-res and twFrameworkRes.apk(for samy devices) As well as the systemui in the 2.in folder and choose option nr one in the tool and install both frameworks after another. Then you can go ahead and decompile the systemui
Last edited by 4aces; 20th May 2015 at 02:43 PM.
20th May 2015, 02:57 PM |#374  
TechXero's Avatar
Senior Member
Flag Ain Saadeh
Thanks Meter: 1,279
 
More
Quote:
Originally Posted by 4aces

Without installing the framework decompiling doesn't make much sense. To put it easy: you tell the tool which phone you are using.

Just copy the framework-res and twFrameworkRes.apk(for samy devices) As well as the systemui in the 2.in folder and choose option nr one in the tool and install both frameworks after another. Then you can go ahead and decompile the systemui



Just done that now getting :

Quote:

Log For : SystemUI.apk

Log Type : Decompiling

Log Recorded At : Wed 20-05-2015 17:55:56.46

Log Recorded By : Advanced ApkTool v4.1.0 By BDFreak

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

W: Could not decode attr value, using undecoded value instead: ns=androidprv, name=primaryUserOnly, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01080793
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01080799
W: Could not decode attr value, using undecoded value instead: ns=android, name=src, value=0x01080794
W: Could not decode attr value, using undecoded value instead: ns=android, name=src, value=0x01080786
W: Could not decode attr value, using undecoded value instead: ns=android, name=src, value=0x01080792
W: Could not decode attr value, using undecoded value instead: ns=android, name=src, value=0x0108078d
W: Could not decode attr value, using undecoded value instead: ns=android, name=src, value=0x0108078d
W: Could not decode attr value, using undecoded value instead: ns=android, name=src, value=0x0108078e
W: Could not decode attr value, using undecoded value instead: ns=android, name=src, value=0x0108078f
W: Could not decode attr value, using undecoded value instead: ns=android, name=src, value=0x01080790
W: Could not decode attr value, using undecoded value instead: ns=android, name=src, value=0x01080791
W: Could not decode attr value, using undecoded value instead: ns=android, name=src, value=0x01080792
W: Could not decode attr value, using undecoded value instead: ns=android, name=src, value=0x0108077e
W: Could not decode attr value, using undecoded value instead: ns=android, name=src, value=0x0108077f
W: Could not decode attr value, using undecoded value instead: ns=android, name=src, value=0x01080780
W: Could not decode attr value, using undecoded value instead: ns=android, name=src, value=0x01080781
W: Could not decode attr value, using undecoded value instead: ns=android, name=src, value=0x01080782
W: Could not decode attr value, using undecoded value instead: ns=android, name=src, value=0x01080783
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=handleDrawable, value=0x7f0200e2
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=outerRingDrawable, value=0x7f0200e6
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=pointDrawable, value=0x7f0200e1
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=outerRadius, value=0x7f0b0037
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=glowRadius, value=0x7f0b0038
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=vibrationDuration, value=0x00000014
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=snapMargin, value=0x7f0b0039
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=feedbackCount, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=firstItemOffset, value=0x7f0e0006
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=magneticTargets, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=allowScaling, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=internal, name=layout_maxHeight, value=0x00004001
W: Could not decode attr value, using undecoded value instead: ns=internal, name=layout_minHeight, value=0x00004001
W: Could not decode attr value, using undecoded value instead: ns=android, name=src, value=0x01080794
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x010808ca
W: Could not decode attr value, using undecoded value instead: ns=android, name=src, value=0x01080b46
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01080799
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01080799
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01080799
W: Could not decode attr value, using undecoded value instead: ns=android, name=src, value=0x01080794
W: Could not decode attr value, using undecoded value instead: ns=android, name=src, value=0x01080794
W: Could not decode attr value, using undecoded value instead: ns=android, name=src, value=0x01080794
W: Could not decode attr value, using undecoded value instead: ns=android, name=src, value=0x01080794
W: Could not decode attr value, using undecoded value instead: ns=android, name=src, value=0x01080794
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010a00a0
at brut.androlib.res.data.ResPackage.getResSpec(ResPa ckage.java:59)
at brut.androlib.res.data.ResTable.getResSpec(ResTabl e.java:65)
at brut.androlib.res.data.ResTable.getResSpec(ResTabl e.java:61)
at brut.androlib.res.data.value.ResReferenceValue.get Referent(ResReferenceValue.java:57)
at brut.androlib.res.data.value.ResReferenceValue.enc odeAsResXml(ResReferenceValue.java:47)
at brut.androlib.res.data.value.ResScalarValue.encode AsResXmlValue(ResScalarValue.java:57)
at brut.androlib.res.data.value.ResStyleValue.seriali zeToResValuesXml(ResStyleValue.java:71)
at brut.androlib.res.AndrolibResources.generateValues File(AndrolibResources.java:496)
at brut.androlib.res.AndrolibResources.decode(Androli bResources.java:252)
at brut.androlib.Androlib.decodeResourcesFull(Androli b.java:134)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:10 4)
at brut.apktool.Main.cmdDecode(Main.java:165)
at brut.apktool.Main.main(Main.java:81)

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

and upon recompiling :

Quote:

Log For : SystemUI.apk

Log Type : Recompiling

Log Recorded At : Wed 20-05-2015 18:04:20.23

Log Recorded By : Advanced ApkTool v4.1.0 By BDFreak

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

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java: 251)
at brut.androlib.Androlib.build(Androlib.java:263)
at brut.androlib.Androlib.build(Androlib.java:256)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(Abst ractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java: 246)
... 4 more

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

Last edited by TechXero; 20th May 2015 at 03:40 PM.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes