Will Verduzco · Sep 28, 2013 at 04:00 pm

Quickly Optimize APK and Classes.dex with GOptimize

If you’re trying to minimize your load times by lowering I/O time, optimizing your applications’ resources may be worth looking into. Naturally, loading smaller APKs leads to less time spent reading the application data. With any form of compressed data, there eventually becomes a tradeoff in compute versus read time in higher levels of compression, but for the most part application loads and general device performance seems to be limited by I/O rather than compute performance.

For this reason, XDA Senior Member gu5t3r created a simple BASH script to help you quickly optimize your applications. It mainly works by compressing your PNGs more efficiently. However, it skips the pesky NinePatch files in order to prevent potential force closes. For PNG compression, the tool uses a combination of TruePNG, pngout, and DeflOpt, and gu5t3r claims that it will result in a net halving of storage space compared to the more standard OptiPNG compression.

The script comes in the form of a Cygwin-based BASH script, and it comes with all of the executables you need to get started easily. Users in the thread have reported significant decreases in file size with no loss in functionality. Will it make any actual noticeable difference in performance? That depends on a number of variable such as your device’s I/O speed, CPU power, and application size. That said, it can’t hurt to try.

Make your way over to the utility thread to get in on the action.

[Thanks to Senior Member ct_moi for the tip!]


_________
Want something on the XDA Portal? Send us a tip!

Will Verduzco

willverduzco is an editor on XDA-Developers, the largest community for Android users. Will Verduzco is the Portal Administrator for the XDA-Developers Portal. He has been addicted to mobile technology since the HTC Wizard. But starting with the Nexus One, his gadget love affair shifted to Google's little green robot. He is also a Johns Hopkins University graduate in neuroscience and is now currently studying to become a physician. View willverduzco's posts and articles here.
Emil Kako · Apr 24, 2015 at 03:11 pm · 4 comments

What Are the Best Looking Apps on Android?

As more developers are updating their apps with Material Design elements, we're starting to see a plethora of beautiful new apps on the Play Store. But which ones are the best? Let us know what you think the best looking apps on Android are and why.

DISCUSS
Mario Tomás Serrafero · Apr 24, 2015 at 01:24 pm · 3 comments

Cyngn Explained: Who’s Cyanogen, What’s Cyanogen OS?

While Cyanogen, Inc has been the source of many headlines lately, there seems to be a lot of confusion regarding the differences between Cyanogen, Inc and CyanogenMod developers, as well as Cyanogen OS and the CyanogenMod ROM that so many XDA users love. The entities surrounding each of these are sometimes different and sometimes intertwined. We’ve gotten messages and comments requesting for a clearer distinction between these for future reference, which is why we are writing this feature. Let’s start...

XDA NEWS
Jimmy McGee · Apr 24, 2015 at 06:30 am · 3 comments

Android 5.1.1 Released, Google Cell Service – XDA TV

Android Lollipop 5.1.1 has been released. That and much more news is covered by Jordan when he reviews all the important stories from this week. Included in this week's news is the announcement of the new Google Cell Service and what we know about it and be sure to check out the article talking about the release of the Sony Xperia Z4. That's not all that's covered in today's video! Jordan talks about the other videos released this week on...

XDA NEWS
Share This