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

Root [MetroPCS] Do-odexing system files and theme kitchens?

LoopyD

Android Enthusiast
Okay, so I've got 12b firmware here, and installed freedom kernel. I want to de-odex it so I can theme it out. I downloaded SystemCleanup from the Google Play Store, but it doesn't allow you to de-odex the system files. On this device, which system files are okay to de-odex, and how do I do it? And what would be the best method for optimal performance? Don't .odex's have to deal with the dalvik cache in some way? I also want to zipalign them, but don't know how either.

I'd like exact image dimensions of all of the status bar stock icons too, if that helps...and instructions on how to pull apart the framework...I know LG is a bit different.

Screenshot_2014-12-01-19-19-01[1].png
 
Deodexing / Zipaligning

I am not sure if it's possible (or safe) to Deodex with your phone.

The way I've been doing is

1) make CWM nandroid backup
2) install & setup Android Kitchen
3) extract set up working folder & environment with your nandroid backup
4) set the APK version (Jellybean)
5) then do the deodexing and zipaligning

This XDA link has some useful information.
http://forum.xda-developers.com/showthread.php?t=2200349

Statusbar / StockIcons

Those are 38x38

To replace them go to system/app and find LGSystemUI.apk

Inside res/drawable-hdpi you will see most of its icons and backgrounds.

Most of the names are standard so you can replace them easily but some icons are intended for different carriers and nations, you have to use the Metro PCS / Tmobile ones.

For example in order to edit 4G/LTE icon, the matching icon is stat_sys_data_connected_4g_usc_tmus.png not the ATnT or other general ones.

The easiest way to replace / edit them is use the archive manager pgm (7zip is the most famous one), simply drag out from the zip file, edit the icon with photo editor, drag it back to the original place. What I meant is don't unzip the file, simply replace it on the go.

Again DO NOT UNZIP. If you unzip, edit the file then zip it back, you will have an error during the boot.


There's a way to unzip, edit, sign APK and zip it back... but just for replacing icon this is not necessary and very hard to do...
 
Thank you! I'll go and try this today and just do a simple edit. I wonder why it fails if you unzip?
 
Back
Top Bottom