• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root (Tut)How to decompile and recompile SystemUI.

TheDemon

Android Enthusiast
Alright everyone's having trouble recompiling. This is what I did.
I'm using APK Multi-Tool.

Make sure you have framework.apk, lge-res.apk, and SystemUI(of course) pulled.

[(PART1)]
If you want to edit images for a theme do this first.

Download 7zip.
Place systemui.apk to your desktop.
Extract it with 7zip
Open the extracted SystemUI folder and go to res>drawable-mdpi
Do your image editing.
Go back to desktop, right click systemui.apk. 7-zip>open archive.
Go to res and drag and drop drawable-mdpi folder from your extracted systemui with your edited images to the apk opened with 7zip. It will replace the images with yours. Now you're done you can now use that themed apk.


[(PART2)]
(If you want to edit xml's WITH your edited images)
Note: You will get an error if you replace any of the decompiled images this way. You NEED to do the first part first)


1.Make sure you have framework.apk, lge-res.apk, and your themed Systemui(of course).
2.First copy framework.apk to "place-apk-here-for-modding" folder. (Only one apk at a time in this folder)
3.Run Script.bat
4.Enter 9.
5.After it's done decompling. Remove it from that folder. And close the tool.
6.Repeat steps 2 to 5 for the other two apks.
7.Decompile systemui last. After it's done enter 2 to optimize the images.
8.In the projects folder you should now all three.

Edit the xml's you want changed.
Note: projects>SystemUI.apk>res>values>styles.xml to change font color and size.

After you're done open the Script.bat enter 11 it will say building apk and when it says something about copying unedited stuff for less error enter "y" for yes.

Now it will tell you to go into the "keep" folder. Just open it and delete the resources.arsc file.

Go back and hit enter.

Done :D

It will be named unsignedsystemui.apk in place-apk-here-for-modding folder.
Just rename it to SystemUI


(Screenshots/Video coming soon :p)
 
i keep getting "Java was not found,you will not be able to sign apks or use apktool
Pressany key to continue..." I have Java installed,any help?
 
Back
Top Bottom