[Android Software Development] yakie996:
Hello,

I'm using LG G3 D855 32gb v20H android 5.0

this i my 'Path:C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Broadcom\Broadcom 802.11 Network Adapter\Driver;;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Users\Yarni\apktool\framework;C:\Program Files\Java\jre1.8.0_31\bin;C:\Android\APK;C:\Android\SDK\platform-tools;'

I installed framework-res.apk

then i tried LGSystemUI.apk but it gave me an error also i tried to install it with the regular apktool, it worked and saved it as C:\Users\Yarni\apktool\framework\127.apk

********************************************************************************
*
*
*
* Make sure SystemUI.apk is in other folder before Continuing
*
*
*
********************************************************************************
*
Press any key to continue . . .
Exception in thread "main" brut.androlib.AndrolibException: java.io.FileNotFound
Exception: SystemUI.apk (The system cannot find the file specified)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:686)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:644)
at brut.androlib.Androlib.installFramework(Androlib.java:636)
at brut.apktool.Main.cmdInstallFramework(Main.java:240)
at brut.apktool.Main.main(Main.java:87)
Caused by: java.io.FileNotFoundException: SystemUI.apk (The system cannot find t
he file specified)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(Unknown Source)
at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java
:203)
at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java
:182)
at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java
:143)
at brut.directory.ZipExtFile.<init>(ZipExtFile.java:28)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:652)
... 4 more

C:\APK-Multi-Tool-WIP-2.0\other>

afterward I tried to decompile LGSystemUI.apk it gave me this error

--------------------------------------------------------------------------
|ma 16/02/2015 -- 17:33:34,12|
--------------------------------------------------------------------------
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
W: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f0901fe
W: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f0201b0
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f0a0015
W: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f09028a
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f0a0014
W: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f09028a
W: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f0902c5
W: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f0901fd
W: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f0902c5
W: Could not decode attr value, using undecoded value instead: ns=android, name=enabled, value=0x7f0f0040
W: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f0902c6
W: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f030001
W: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f0902eb
W: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f0200bf
W: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f0900d1
W: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f0900d1
W: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f0200bf
W: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f090190
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x020a01cb
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:696)
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:83)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:141)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPullStreamDecoder.java:153)
at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecoder.java:134)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:296)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:131)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:101)
at brut.apktool.Main.cmdDecode(Main.java:165)
at brut.apktool.Main.main(Main.java:81)

Ok, by re-reading this I saw the problem the file wasn't named as SystemUI.apk but LGSystemUI.apk, I changed the name installed it but when decompiling it still gave an error

EDIT: If you use LG device you have to install lge-res.apk => 'apktool if lge-res.apk'