[G3 Themes and Apps] LastStandingDroid:
Since i got not much time and people want to get the G4 style on their devices

Here's a step by step tutorial how you can port it over to your device ​

Tools Needed

JAVA!

Winmerge

*Any ZIP Utility to add the Original META-INF if the tool doesn't doing it automatically

BDFreaks Apktool It's Highly Recommended

*Apktool Apktool This isn't an official Build from Ibotpeaches but the tool is built from his sources Replace it with the apktool in BDFreaks tool since it's outdated and might give you errors on android 5.1 related files

1. Download the needed files and extract the content to 2-in in BDFreaks Avanced APKtool. as in pic

[IMG="movehere"]http://xdaforums.com/attachment.php?attachmentid=3397257&stc=1&d=1436441196[/IMG]

G4-SystemUI & G4-Frameworks

This are what you are going to "look at the differences and merge the code from"

2. Open up the AAT (AdvancedApkTool) and select 1. to install the frameworks (as seen in picture)

[IMG="SelectLoadFramework"]http://xdaforums.com/attachment.php?attachmentid=3397258&stc=1&d=1436441196[/IMG]

*Make sure to load correct framework for correct device else you'll end up with a total decompiling failure (if unlucky)

You need to load both lge-res & framework-res!

3. Press 2. to select what file you wan't to decompile

[IMG="select"]http://xdaforums.com/attachment.php?attachmentid=3397264&stc=1&d=1436441454[/IMG]

4. Once Decompiled (both G4 apps and G3 apps) Open Up Winmerge And Select The Files you wan't to compare (Select The Icon Folder on the Top Left)

[IMG="compare"]http://xdaforums.com/attachment.php?attachmentid=3371086&stc=1&d=1434803642[/IMG]

5. Now start looking at the files and their differences (There might be some huge change in layout and more, i'd rather say don't touch them from the beginning, you might end up in FC and then you might say CRAP i quit!) See this example Pic of how it look like

[IMG="Compare"]http://dl-1.va.us.xda-developers.com/thumbs/3/3/7/1/0/8/7/3371087.png[/IMG]

6. Once done *Some Changes* Press 3. and you will get a window similar to option 2.

[IMG="recompile"]http://xdaforums.com/attachment.php?attachmentid=3397265&stc=1&d=1436441744[/IMG] Select the file you made changes in and see if it succeed, IF NOT, Read Post 6.1 if it does go to 6.2

6.1

If you get this window

[IMG="RecompileFail"]http://xdaforums.com/attachment.php?attachmentid=3397280&stc=1&d=1436442004[/IMG]

Press Y to open up the log Once Open you'll get some detailed info like

[IMG="log"]http://xdaforums.com/attachment.php?attachmentid=3397281&stc=1&d=1436442091[/IMG]

In this case i got this

[IMG="logread"]http://xdaforums.com/attachment.php?attachmentid=3397284&stc=1&d=1436442151[/IMG]

It tells me that the android:actionBarSize' with value (@)dimen/titlebr_height isn't declared in the dimen.xml *Note that this is an example, the name of the style was originally titlebar_height but you'll face similar issues.

Now you navigate to dimen.xml with winmerge and press CTRL+F and copy the text after (@)dimen/ and paste it in the search window, You'll most likely end up to the "missing declaration". Note sometimes there is similar codes like a titlebar_height

titlebar_height_max this can be confusing sometimes since you might not know if it's needed or if you already have it,

i'd say if you only got one value in the log that is either missing or not defined. just copy over that info and then recompile again, if you got a new recompile failure, just read the logs. This will be happening over and over again unless you don't study the XML files and then add the lines where they are referring to before compiling.

6.2

If it recompiles without issues you're good to go to copy over the apk to your device. *i preffer to always open the new created apk to check if the app has the META-INF (at least after 1.st successful compilation) in this way you won't get the corrupt package if you add the original META-INF before pushing it to your device.

Now i hope i covered up most of the basics, there might be logs that is coming that you might not understand, you can feel free to post them on this thread.

Regards