These are the deodexed apk files(app and framework) of Gingerbread XWJV1.
This is not a ROM so don't download if you are not a developer, wait for the Gingerbread ROM releases.
All the apk files except Email.apk are deodexed, Email.apk just kept throwing errors so I did not want to waste time on it. I have included the Email.apk from XWJS5 which worked fine and I would like to advice using it, however, that is up to you.
Link:
Download (85.4 MB) MD5:066fbbb4b8434e71a9bfd0756ce548ba
Click to expand...
Click to collapse
Click to expand...
Click to collapse
This is a 7zip compressed exe file, so it's extractable on both Windows and Linux.
I wish you all good luck and good night.
Haven't tested it fully but it runs soo....
its this firmware's email.apk
Nothing different from the looks of it.
Wow, most people got errors deodexing, how did you get to deodex it? Got to hand it to you.
@Daneshm90, thanks for the deodexed version of the email.apk.
g00ndu said:
Wow, most people got errors deodexing, how did you get to deodex it? Got to hand it to you.
@Daneshm90, thanks for the deodexed version of the email.apk.
Click to expand...
Click to collapse
A lot of times it looks for proprietary libs that are non existent in the rom but were present at compile time. So in those cases you have to take a risk and ignore those mismatched classpath's and hope its irrelevant to the functionality of the apk (A lot of the time, if a classpath is not found within the jar's in the rom, it is not critical)
perhaps you are working on framework files now,
taha_e said:
perhaps you are working on framework files now,
Click to expand...
Click to collapse
Why ? Whats wrong with those ?
Those deodexed without a hitch.
Thanks Daneshm90 for the Email.apk.
Regarding the uploaded apk files, they include both app and framework apk files, and with the Email.apk file provided by Daneshm90 all are complete and ready for download.
I'm not so exited about this firmware, it does not bring much and I think that in a few days we are going to hear a lot about it not being good especially regarding GPS and Kernel panic!.
It seems that Samsung did bind recovery to boot.bin, boot.bin does check recovery every boot, and if it's a 2e or a modified 3e then it will reinstall the original and the unmodified 3e, what I think is that the unmodified 3e is located in initramfs, so this needs to be removed or replaced.
The phone runs fine without flashing boot.bin that is included in the firmware, but that does give a screen corruption in every boot and GPS will not pick a signal.
My opinion is not to get so exited about this release and maybe not for the next release either..
Daneshm90,
Seems like I can't decompile Settings.apk, even after I chose option [10] and selected twframework-res.apk as the dependency apk.
Errors shown were as follows:
Code:
--------------------------------------------------------------------------
|01/03/2011 Tue -- 11:51:29.61|
--------------------------------------------------------------------------
java version "1.6.0_23"
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) Client VM (build 19.0-b09, mixed mode, sharing)
I: Framework installed to: C:\Users\Wynsh\apktool\framework\2.apk
I: Baksmaling...
I: Loading resource table...
W: Skipping "android" package group
I: Decoding resources...
I: Loading resource table from file: C:\Users\Wynsh\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
I: Loading resource table from file: C:\Users\Wynsh\apktool\framework\2.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=id, value=0x01020236
W: Could not decode attr value, using undecoded value instead: ns=android, name=id, value=0x01020236
W: Could not decode attr value, using undecoded value instead: ns=android, name=id, value=0x01020236
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010300a3
at brut.androlib.res.data.ResPackage.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(Unknown Source)
at brut.androlib.res.data.value.ResReferenceValue.toResXmlFormat(Unknown Source)
at brut.androlib.res.data.value.ResAttr.convertToResXmlFormat(Unknown Source)
at brut.androlib.res.decoder.ResAttrDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(Unknown Source)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Unknown Source)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(Unknown Source)
at brut.androlib.res.decoder.ResFileDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.decode(Unknown Source)
at brut.androlib.Androlib.decodeResourcesFull(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Any ideas?
g00ndu said:
Daneshm90,
Seems like I can't decompile Settings.apk, even after I chose option [10] and selected twframework-res.apk as the dependency apk.
Errors shown were as follows:
Code:
--------------------------------------------------------------------------
|01/03/2011 Tue -- 11:51:29.61|
--------------------------------------------------------------------------
java version "1.6.0_23"
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) Client VM (build 19.0-b09, mixed mode, sharing)
I: Framework installed to: C:\Users\Wynsh\apktool\framework\2.apk
I: Baksmaling...
I: Loading resource table...
W: Skipping "android" package group
I: Decoding resources...
I: Loading resource table from file: C:\Users\Wynsh\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
I: Loading resource table from file: C:\Users\Wynsh\apktool\framework\2.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=id, value=0x01020236
W: Could not decode attr value, using undecoded value instead: ns=android, name=id, value=0x01020236
W: Could not decode attr value, using undecoded value instead: ns=android, name=id, value=0x01020236
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010300a3
at brut.androlib.res.data.ResPackage.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(Unknown Source)
at brut.androlib.res.data.value.ResReferenceValue.toResXmlFormat(Unknown Source)
at brut.androlib.res.data.value.ResAttr.convertToResXmlFormat(Unknown Source)
at brut.androlib.res.decoder.ResAttrDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(Unknown Source)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Unknown Source)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(Unknown Source)
at brut.androlib.res.decoder.ResFileDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.decode(Unknown Source)
at brut.androlib.Androlib.decodeResourcesFull(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Any ideas?
Click to expand...
Click to collapse
I havent kept up with apktool revisions.
Upon checking his site seems his latest one is still using baksmali 1.2.4 which did not have gingerbread support if i recall.
You can always if urgent extract -> use baksmali to decompile -> make changes ....etc (ofcourse xml's will still remain in binary)
@g00ndu
You will need 1.2.6, try it.
Daneshm90 said:
A lot of times it looks for proprietary libs that are non existent in the rom but were present at compile time. So in those cases you have to take a risk and ignore those mismatched classpath's and hope its irrelevant to the functionality of the apk (A lot of the time, if a classpath is not found within the jar's in the rom, it is not critical)
Click to expand...
Click to collapse
Hi Daneshm90
how exactly we can deodexed Email.apk ignoring the mistmatched classpaths?
I'm bored with this error :/
regards
intronauta said:
Hi Daneshm90
how exactly we can deodexed Email.apk ignoring the mistmatched classpaths?
I'm bored with that :/
regards
Click to expand...
Click to collapse
Im still using my old school deodexer script.
But upon looking up the syntax its, -I added
[Ramad] said:
@g00ndu
You will need 1.2.6, try it.
Click to expand...
Click to collapse
I have 1.2.6, I can baksmali and smali. It's the value folder which I'm interested in actually.
Guess i'll have to do it differently.
Sent from my GT-I9000 using XDA App
Would it be possible to post just the browser.apk? Keen to try it on 2.2.1...
I think a lot of others are too
Sent from my GT-I9000 using XDA App
[Ramad] said:
Thanks Daneshm90 for the Email.apk.
Regarding the uploaded apk files, they include both app and framework apk files, and with the Email.apk file provided by Daneshm90 all are complete and ready for download.
I'm not so exited about this firmware, it does not bring much and I think that in a few days we are going to hear a lot about it not being good especially regarding GPS and Kernel panic!.
It seems that Samsung did bind recovery to boot.bin, boot.bin does check recovery every boot, and if it's a 2e or a modified 3e then it will reinstall the original and the unmodified 3e, what I think is that the unmodified 3e is located in initramfs, so this needs to be removed or replaced.
The phone runs fine without flashing boot.bin that is included in the firmware, but that does give a screen corruption in every boot and GPS will not pick a signal.
My opinion is not to get so exited about this release and maybe not for the next release either..
Click to expand...
Click to collapse
Does it mean that even if you got cwm installed, it won't boot into cwm recovery, and reverts back to 3e recovery?
Did you try to replace the boot.bin with an older version?
rlorange said:
Would it be possible to post just the browser.apk? Keen to try it on 2.2.1...
I think a lot of others are too
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Here you go.
Not sure if it will work on 2.2.1 though
Thanks... Didn't work with a simple system app transplant... Oh well worth a try
Sent from my GT-I9000 using XDA App
g00ndu said:
Does it mean that even if you got cwm installed, it won't boot into cwm recovery, and reverts back to 3e recovery?
Did you try to replace the boot.bin with an older version?
Click to expand...
Click to collapse
Yes, the new boot.bin will prevent using CWM, after I have flashed the whole firmware I did replace boot.bin and Sbl.bin with those I have from JPJPA and XWJS3, the device boots fine with the modified 3e and CWM can be used too, but I get graphical corruption in every boot and GPS does not work.
[Ramad] said:
Yes, the new boot.bin will prevent using CWM, after I have flashed the whole firmware I did replace boot.bin and Sbl.bin with those I have from JPJPA and XWJS3, the device boots fine with the modified 3e and CWM can be used too, but I get graphical corruption in every boot and GPS does not work.
Click to expand...
Click to collapse
I reverted back to XWJS5, using ulfk (speedmod) kernel. Everything seems to be fine, and I can get back to cwm recovery.
Sent from my GT-I9000 using XDA App
SteelBlue v3 themed ui files
Anyone who likes the SteelBlue v3 Theme from Team Carbon.... i have created the following themed apk's
framework-res.apk (includes the shutdown aimation from Daneshm90)
twframework-res.apk
SystemUI.apk
the 2 framework files can replace the ones in the /system/framework directory
and SystemUI.apk needs to go into the /system/app directory.
hope you like.
PLEASE NOTE, THIS IS LIKELY TO BE A LITTLE BUGGY IN PLACES, AND I CAN'T GET THE EVIL ANDROID GUY ONTO THE NOTIFICATION BACKGROUND YET,... BUT I HAVE ONLY DONE A QUICK TRIAL AND THOUGHT I WOULD SHARE IT
Please note, this not a FLASHABLE ZIP... just unpack the apk's replace them using root explorer, and reboot your phone.
I wanted to decompile my Jelly Bean's SystemUI.apk so i started apktool but i have some errors, why?
[[email protected] ~]$ apktool d SystemUI.apk SystemUI
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: /home/nicuz/apktool/framework/1.apk
I: Loaded.
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x010805f7
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=snapMargin, value=0x7f0b0023
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=feedbackCount, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=alwaysTrackFinger, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=snapMargin, value=0x7f0b0023
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=feedbackCount, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=alwaysTrackFinger, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=snapMargin, value=0x7f0b0023
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=feedbackCount, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=alwaysTrackFinger, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x010805f7
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x010805f8
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=snapMargin, value=0x7f0b0023
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=feedbackCount, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=alwaysTrackFinger, value=0xffffffff
I: Decoding values*/* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010404cc
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.encodeAsResXmlValue(ResScalarValue.java:54)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlItemValue(ResScalarValue.java:47)
at brut.androlib.res.data.value.ResArrayValue.serializeToResValuesXml(ResArrayValue.java:55)
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
Because APK tool isn't optimized for JB yet? Perhaps ask one of the themers around here and check how they're doing it... I recommend using these tools and looking at this thread
anton2009 said:
Because APK tool isn't optimized for JB yet? Perhaps ask one of the themers around here and check how they're doing it... I recommend using these tools and looking at this thread
Click to expand...
Click to collapse
Thanks man, I'll take a look!
Sorry to pull up this quite old thread but missing optimization for JB is not the reason for your problem.
The apktool works great with all versions of Android, but one have to know how to use if properly.
As explained in apktool's wiki under the title 'FrameworkFiles' you have to grab and install the framework resources before decompiling, so the correct proceeding is
Code:
adb pull /system/app/SystemUI.apk
adb pull /system/framework/framework-res.apk
apktool if framework-res.apk
apktool d SystemUI.apk SystemUI
Nicuz95 said:
I wanted to decompile my Jelly Bean's SystemUI.apk so i started apktool but i have some errors, why?
Click to expand...
Click to collapse
The best tool is Virtuous Ten Studio.
I did decompile right now my SystemUI.apk :victory:
Can anyone please port the good old lidroid toggles for Xperia ZL 4.2.2 .244 .
The ones that slide sideways like in gingerbread which also redirects to corresponding settings upon long press.
I came across THIS tutorial which was the closest i could find to my requirement.
I tried decompiling the systemui.apk from .244 rom but i was getting the following error
Code:
D:\Android\Tools\APK Tool>java -jar apktool.jar d SystemUI.apk SystemUI
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Windows\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=androidprv, na
me=primaryUserOnly, value=0xffffffff
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080812
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080747
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080813
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080770
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080812
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawableTop, value=0x0108071e
I: Decoding values */* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x01010459
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.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:3
5)
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.XmlPullStreamDecoder.decodeManifest(XmlPull
StreamDecoder.java:144)
at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecode
r.java:131)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:218
)
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)
D:\Android\Tools\APK Tool>
So if anyone could guide me or port it all over it would be greatly appreciated.
Thanks in advance.
post in the z forums ...might get u more help
Can anybody please port 20 Lidroid Toggles For Xperia P to Xperia ZL
Help Plase.
As I resolve this error when I try to disassembly the LGSysteUI.apk, LG-E975 Android 4.4.2.
PHP:
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\User\apktool\framework
\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=androidprv, na
me=primaryUserOnly, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cb
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cb
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cb
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cb
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cb
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cb
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01c4
W: Could not decode attr value, using undecoded value instead: ns=androidprv, na
me=primaryUserOnly, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cb
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cb
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=targetDrawables, value=0x7f070000
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=outerRadius, value=0x7f0d0030
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=vibrationDuration, value=0x7f0c0002
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=snapMargin, value=0x7f0d002e
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=feedbackCount, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=alwaysTrackFinger, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080684
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=targetDrawables, value=0x7f070000
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=outerRadius, value=0x7f0d0030
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=vibrationDuration, value=0x7f0c0002
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=snapMargin, value=0x7f0d002e
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=feedbackCount, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=alwaysTrackFinger, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=targetDrawables, value=0x7f070000
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=outerRadius, value=0x7f0d0030
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=vibrationDuration, value=0x7f0c0002
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=snapMargin, value=0x7f0d002e
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=feedbackCount, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=alwaysTrackFinger, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=targetDrawables, value=0x7f070000
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=outerRadius, value=0x7f0d0030
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=vibrationDuration, value=0x7f0c0002
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=snapMargin, value=0x7f0d002e
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=feedbackCount, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=alwaysTrackFinger, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080685
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layout_height, value=0x020c0052
I: Decoding values */* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x01010484
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.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:3
5)
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.XmlPullStreamDecoder.decodeManifest(XmlPull
StreamDecoder.java:144)
at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecode
r.java:131)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:218
)
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)
An error has occured.
Thanks for everything.
Have you deoxd those apk file... I.e have you merged both .apk nd .odex file to single .apk file....??
Sent from my LG-E975 powering Stock 4.4.2 & SOLID Kernel
hasan4791 said:
Have you deoxd those apk file... I.e have you merged both .apk nd .odex file to single .apk file....??
Sent from my LG-E975 powering Stock 4.4.2 & SOLID Kernel
Click to expand...
Click to collapse
Install the Framework-res because I read that I had to do that with apktool.
Code:
apktool if framework-res.apk
I want to unpack the LGSystemUI.apk then modify it.
What I have to do to unpack and then re-edit it to use package.
Someone could give me a guide 100% for this device.
Thanks for answering greetings.
pOsHoBeLloxD said:
Install the Framework-res because I read that I had to do that with apktool.
Code:
apktool if framework-res.apk
I want to unpack the LGSystemUI.apk then modify it.
What I have to do to unpack and then re-edit it to use package.
Someone could give me a guide 100% for this device.
Thanks for answering greetings.
Click to expand...
Click to collapse
If you didn't deodex it, yu need to follow this guide
http://forum.xda-developers.com/showthread.php?t=2766474
Then for decompiling app you need to load 2 framework/resource files... Google it for those files... Then ly it will decompile app without error...
Sent from my LG-E975 powering Stock 4.4.2 & SOLID Kernel
pOsHoBeLloxD said:
Install the Framework-res because I read that I had to do that with apktool.
Code:
apktool if framework-res.apk
I want to unpack the LGSystemUI.apk then modify it.
What I have to do to unpack and then re-edit it to use package.
Someone could give me a guide 100% for this device.
Thanks for answering greetings.
Click to expand...
Click to collapse
1. Deodex your framework (pull these files from your phone) and apps (framework-res.apk, lge-res.apk, LGSystemUI.apk) as @hasan4791 said
2. Install all resource files by
> apktool if framework-res.apk
> apktool if lge-res.apk
3. Decompile
## If you want smali code and resources
> apktool d LGSystemUI.apk
## If you want to edit only resources
> apktool d -s LGSystemUI.apk
4. Edit/Replace resource files or whatever you want to do
5. Re compile it back
> apktool b LGSystemUI
6. Use 7zip to open both original and new LGSystemUI.apk then copy META-INF and AndroidManifest.xml from original apk to new one.
7. Done