[Q] Decompiling SystemUI.apk - Galaxy S 4 Q&A, Help & Troubleshooting

Do you guys had luck with decompiling S4's SystemUI.apk ??
Ive tried 3 times over and over but still the same error:
--------------------------------------------------------------------------
|vr 10/05/2013 -- 11:58:48,99|
--------------------------------------------------------------------------
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\ROMEO\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=0x01080c61
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080c61
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080c62
I: Decoding values */* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x01010488
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)
Press any key to continue . . .
edit: I can decompile any other phone's SystemUI.apk except S4's
im using apk multi-tool

AskinSavascisi said:
Do you guys had luck with decompiling S4's SystemUI.apk ??
Ive tried 3 times over and over but still the same error:
--------------------------------------------------------------------------
|vr 10/05/2013 -- 11:58:48,99|
--------------------------------------------------------------------------
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\ROMEO\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=0x01080c61
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080c61
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080c62
I: Decoding values */* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x01010488
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)
Press any key to continue . . .
edit: I can decompile any other phone's SystemUI.apk except S4's
im using apk multi-tool
Click to expand...
Click to collapse
have u got any solution for it still now plz tell

you can rename the file to .zip then modify it after that sign the apk
look what I found
{
"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"
}

RubbaBand said:
you can rename the file to .zip then modify it after that sign the apk
look what I found
View attachment 2763734
Click to expand...
Click to collapse
no
@op - it looks like you havent installed your framework for the apk
what version of apktool/java are you using
is java path set up

Related

how can i compilation and decompilation the file ''blur-res.apk''?

how can i compilation and decompilation the file ''blur-res.apk''?? no matter how i compilation the file ''blur-res.apk'',it turned out the APK cannot work properly,why???
G:\Android\MOTO A4G\tools\apktool132>java -jar apktool.jar b blur-res-02
.............
ERROR display
G:\Android\MOTO A4G\tools\apktool132>java -jar apktool.jar d blur-res-02.apk
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\Mapleshadow-Office\apktool\framewo
rk\1.apk
I: Loading resource table from file: C:\Users\Mapleshadow-Office\apktool\framewo
rk\3.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x030201d5
I: Loading resource table from file: C:\Users\Mapleshadow-Office\apktool\framewo
rk\3.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x030201d3
I: Loading resource table from file: C:\Users\Mapleshadow-Office\apktool\framewo
rk\3.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x030201d3
mapleshadow said:
how can i compilation and decompilation the file ''blur-res.apk''?? no matter how i compilation the file ''blur-res.apk'',it turned out the APK cannot work properly,why???
G:\Android\MOTO A4G\tools\apktool132>java -jar apktool.jar b blur-res-02
.............
ERROR display
G:\Android\MOTO A4G\tools\apktool132>java -jar apktool.jar d blur-res-02.apk
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\Mapleshadow-Office\apktool\framewo
rk\1.apk
I: Loading resource table from file: C:\Users\Mapleshadow-Office\apktool\framewo
rk\3.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x030201d5
I: Loading resource table from file: C:\Users\Mapleshadow-Office\apktool\framewo
rk\3.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x030201d3
I: Loading resource table from file: C:\Users\Mapleshadow-Office\apktool\framewo
rk\3.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x030201d3
Click to expand...
Click to collapse
Please use the search function. There are several dozen threads on XDA about how to edit apk's.
nope,the blur-res.apk is very special,just as special as file blurphone.apk.for example,using apktool. blurphone.apk need to reverse 2.apk and 3.apk ,which come from library file of framework,only by doing this,compilation and descompilation can work properly.so far,blue-res.apk make me no progress.
UP................

[Q] Problem seeing text when picking folder for an app

The app in question is comicrack free. When I try to pick a folder from the options the text where the folders shows up is empty/blank. I have no refresh but running that and changing the contrast doesn't help it. I also tried looking at the screen from my computer but it shows up exactly as it does on my device. I am unsure where to go from here. Any ideas on how to get the text to be seen?
RustyMongoose said:
The app in question is comicrack free. When I try to pick a folder from the options the text where the folders shows up is empty/blank. I have no refresh but running that and changing the contrast doesn't help it. I also tried looking at the screen from my computer but it shows up exactly as it does on my device. I am unsure where to go from here. Any ideas on how to get the text to be seen?
Click to expand...
Click to collapse
http://goldendict.org/forum/viewtopic.php?f=12&t=2082
decompile package using 'ApkTool' modify the source according to info in this thread, compile it , post results.
howto :
http://www.blindndumb.com/2012/04/android-tutorial-how-to.html
If you don't want to fiddle with the package just write to the main dev of this apk and ask him to make these changes in the main branch.
osowiecki said:
http://goldendict.org/forum/viewtopic.php?f=12&t=2082
decompile package using 'ApkTool' modify the source according to info in this thread, compile it , post results.
howto :
http://www.blindndumb.com/2012/04/android-tutorial-how-to.html
If you don't want to fiddle with the package just write to the main dev of this apk and ask him to make these changes in the main branch.
Click to expand...
Click to collapse
I wish I checked here before messing with the framework-res.apk with ninjamorph. I'll give it a go once I restore my nook (relaunch stopped working).
When I try to decompile the app I get these errors. Which I assume shouldn't be popping up.
Code:
C:\Apktool 4.2.2>apktool d ComicRack.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Alberto\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=largeHeap, value=0xffffffff
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=resizeMode, value=0x00000003
W: Could not decode attr value, using undecoded value instead: ns=android, name=minResizeWidth, value=0x00007801
W: Could not decode attr value, using undecoded value instead: ns=android, name=minResizeHeight, value=0x00007801
W: Could not decode attr value, using undecoded value instead: ns=android, name=widgetCategory, value=0x00000003
W: Could not decode attr value, using undecoded value instead: ns=android, name=textIsSelectable, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=widgetCategory, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=widgetCategory, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=alpha, value=0x3f000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=widgetCategory, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=widgetCategory, value=0x00000001
I: Decoding values */* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x0101035a
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:35)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:313)
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:77)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:127)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPullStreamDecoder.java:141)
at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecoder.java:126)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:216)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:99)
at brut.apktool.Main.cmdDecode(Main.java:141)
at brut.apktool.Main.main(Main.java:72)
I'm using apktools from here. http://forum.xda-developers.com/showthread.php?t=2195680
Also tried to use the ones from osowiecki's post with the same error.
Since I'm a noob at this I don't really know what's next. Anymore Ideas?
RustyMongoose said:
When I try to decompile the app I get these errors. Which I assume shouldn't be popping up.
Code:
C:\Apktool 4.2.2>apktool d ComicRack.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Alberto\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=largeHeap, value=0xffffffff
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=resizeMode, value=0x00000003
W: Could not decode attr value, using undecoded value instead: ns=android, name=minResizeWidth, value=0x00007801
W: Could not decode attr value, using undecoded value instead: ns=android, name=minResizeHeight, value=0x00007801
W: Could not decode attr value, using undecoded value instead: ns=android, name=widgetCategory, value=0x00000003
W: Could not decode attr value, using undecoded value instead: ns=android, name=textIsSelectable, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=widgetCategory, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=widgetCategory, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=alpha, value=0x3f000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=widgetCategory, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=widgetCategory, value=0x00000001
I: Decoding values */* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x0101035a
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:35)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:313)
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:77)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:127)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPullStreamDecoder.java:141)
at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecoder.java:126)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:216)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:99)
at brut.apktool.Main.cmdDecode(Main.java:141)
at brut.apktool.Main.main(Main.java:72)
I'm using apktools from here. http://forum.xda-developers.com/showthread.php?t=2195680
Also tried to use the ones from osowiecki's post with the same error.
Since I'm a noob at this I don't really know what's next. Anymore Ideas?
Click to expand...
Click to collapse
https://code.google.com/p/android-apktool/wiki/FrameworkFiles
it seems that nooks 'framework' does not contain needed values.
The only option I can see is to modify framework-res-apk
http://forum.xda-developers.com/showthread.php?t=1343484
I don't have time to risk bricking my NST right now and if you are a "noob" you also shouldn't try.
Try to find some older versions of CR and see if any of them work correctly.
Edit :
before you try to do something silly
- read this thread
http://forum.xda-developers.com/showthread.php?t=1480398
- talk to the devs from this thread
- "lurk moar"
good luck
osowiecki said:
https://code.google.com/p/android-apktool/wiki/FrameworkFiles
it seems that nooks 'framework' does not contain needed values.
The only option I can see is to modify framework-res-apk
http://forum.xda-developers.com/showthread.php?t=1343484
I don't have time to risk bricking my NST right now and if you are a "noob" you also shouldn't try.
Try to find some older versions of CR and see if any of them work correctly.
Edit :
before you try to do something silly
- read this thread
http://forum.xda-developers.com/showthread.php?t=1480398
- talk to the devs from this thread
- "lurk moar"
good luck
Click to expand...
Click to collapse
I actually saw that webpage but couldn't find any resources in the nook.
Anyways seeing as this is somewhat over my head. I'm just going to copy over the mangas over to the default folder. Which is sdcard/DCIM/100ANDRO for anyone following this thread. Just found out about it. Thanks for your time.

Apk tool problem ... My fellow themers pleez help

ok using apk tool now...
decompiling went well
editing went well
but i have problem building it...
PHP:
D:\APKTool Tutorial - V2\APKTool\APKs>cmd
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
D:\APKTool Tutorial - V2\APKTool\APKs>apktool if "D:\APKTool Tutorial - V2\APKTo
ol\APKs\SystemUI.apk"
I: Framework installed to: C:\Documents and Settings\Intel\apktool\framework\127
.apk
D:\APKTool Tutorial - V2\APKTool\APKs>apktool d "D:\APKTool Tutorial - V2\APKToo
l\APKs\SystemUI.apk"
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Documents and Settings\Intel\apktool\fra
mework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x010300a9
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x010300a9
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x010300a9
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x010300a9
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x010300a9
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x010300a9
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(ResReferen
ceValue.java:59)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResRefe
renceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResSca
larValue.java:43)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:4
0)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlRe
sourceParser.java:315)
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.decode(XmlPullStreamDe
coder.java:46)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD
ecoderContainer.java:34)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:1
00)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:114
)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:94)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:101)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
D:\APKTool Tutorial - V2\APKTool\APKs>apktool b "D:\APKTool Tutorial - V2\APKToo
l\APKs\SystemUI"
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:143)
at brut.androlib.Androlib.build(Androlib.java:160)
at brut.androlib.Androlib.build(Androlib.java:155)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:139)
... 4 more
D:\APKTool Tutorial - V2\APKTool\APKs>apktool b systemui
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:143)
at brut.androlib.Androlib.build(Androlib.java:160)
at brut.androlib.Androlib.build(Androlib.java:155)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:139)
... 4 more
D:\APKTool Tutorial - V2\APKTool\APKs>
oh wait there is no apktool.yml that shoud have been there in the decompiled apk... why is it??
that is causing the problem...
ok i know the problem now but what is causing it???
{
"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"
}
=========HOLO-UBUNTU========theme
problem not solve... problems recompinilg...
this is the new problem... and now there is apktool.yml
http://forum.xda-developers.com/show....php?t=2236091
Why don't you use APK Multitool instead?
iamareebjamal said:
Why don't you use APK Multitool instead?
Click to expand...
Click to collapse
i was using apk manager but i had to format system... dont want to download android sdk again..
added-
forget it i used vts as deathnotice suggested and that is just so awesome and works perfectly...
so problem solved...
u rock man deathnotice
mods pleez close this

Help Needed to Decompile Superuser.apk

I want to decompile Superuser.apk Because
I want to edit the AndroidManifest.xml so that I can hide it from the App Launcher.
But I am Getting the following Errors while Decompiling.
Decompiling Apk Sources and Resources Files
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Anik3t\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=uiOptions, value=0x00000001
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=exitFadeDuration, value=0x000001f4
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAllCaps, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=exitFadeDuration, value=0x000001f4
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=exitFadeDuration, value=0x00000190
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=dividerPadding, value=0x00000c01
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x010102fd
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x010102fd
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=fragment, value=0x0000000a
Exception in thread "main" java.lang.NullPointerException
at java.io.Writer.write(Unknown Source)
at brut.androlib.res.util.ExtMXSerializer.writeAttributeValue(ExtMXSerializer.java:38)
at org.xmlpull.mxp1_serializer.MXSerializer.attribute(MXSerializer.java:673)
at org.xmlpull.v1.wrapper.classic.XmlSerializerDelegate.attribute(XmlSerializerDelegate.java:106)
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:80)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:130)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:34)
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: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)
"An Error Occured, Please Check The Log (option 23)"
Press any key to continue . . .
Please Some One Help me.
My Rom Development is Stuck Because of this
and I am more or less a noob.
umm why are you decompiling superuser app in the first place
as far as i know , its not needed
Sent from my GT-S5670 using xda premium
Looks like u installed frameworks while decompiling...dont install anything..and decompile straight away..3rd party apps dont need frameworks to be installed..
EatHeat said:
Looks like u installed frameworks while decompiling...dont install anything..and decompile straight away..3rd party apps dont need frameworks to be installed..
Click to expand...
Click to collapse
Thank You Very Much EatHeat.
You are Great.
It Worked for me.
AniketRane said:
Thank You Very Much EatHeat.
You are Great.
It Worked for me.
Click to expand...
Click to collapse
You are welcome bro.
oh so that is problem when decompiling 3rd party apps.. thanks for this.
Zius said:
oh so that is problem when decompiling 3rd party apps.. thanks for this.
Click to expand...
Click to collapse
Yes. You need frameworks installed when decompiling stock apps because they are based on the stock framework. Third party apps are not made phone dependent. So they will give errors with the frameworks installed as you are forcing them to decompile with something that it doesnt need.
You have the solution?
Hi! I have the same problem is a identic message in cmd on windows
I want to decompile System UI
and the cmd I capture this:
apktool if SystemUI.apk
apktool d SystemUI.apk-------> In this part I get the message (same you show in this post)
Who can help me.... Thanks
p95870 said:
Hi! I have the same problem is a identic message in cmd on windows
I want to decompile System UI
and the cmd I capture this:
apktool if SystemUI.apk
apktool d SystemUI.apk-------> In this part I get the message (same you show in this post)
Who can help me.... Thanks
Click to expand...
Click to collapse
For decompiling systemui.apk, u have to install the frameworks first. Type:
Code:
apktool if framework-res.apk
apktool if twframework-res.apk
After that type:
Code:
apktool d systemui.apk

[Q] lidroid-res.apk problem

whenever I decompile lidroid-res.apk it fails and show me
[*] "C:\Documents and Settings\Copy Center\Desktop\AutoAPKTool2.0.4\_INPUT_APK\ubuntu-res.apk"
decompiling "C:\Documents and Settings\Copy Center\Desktop\AutoAPKTool2.0.4\_INPUT_APK\ubuntu-res.apk"...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Documents and Settings\Copy Center\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=0x020200a0
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020200a1
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020200a2
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020200a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020200a4
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020200a5
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020200a6
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020200a0
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020200a1
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020200a2
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020200a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020200a4
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020200a5
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x020200a6
W: Cant find 9patch chunk in file: "drawable-hdpi/jmklist.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/a_bolong.9.png". Renaming it to *.png.
I: Decoding values*/* XMLs...
I: Done.
Click to expand...
Click to collapse
help please?
First of all u r deompiling my lidroid resources :sly:
I hope u don't have any intensions of posting it
Second install frameworks
Tw frameworks
And system ui before decompiling
problem?? @Tezlastorme problem ??
sanny5 said:
First of all u r deompiling my lidroid resources :sly:
I hope u don't have any intensions of posting it
Second install frameworks
Tw frameworks
And system ui before decompiling
problem?? @Tezlastorme problem ??
Click to expand...
Click to collapse
u misunderstood this it is a pure un themed lidroid-res file but I renamed it to ubuntu
and thanks for the advice

Categories

Resources