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!
Mario Tomás Serrafero · Mar 3, 2015 at 11:16 am · 1 comment

Benchmark Results: S6 Obliterates M9, What Happened?

Let's start this with a disclaimer: I do not believe there is significant meaning behind synthetic benchmarks in correlation with real-world use. We've seen, time and again, some high-scoring phones output questionable performance. In this regard, Samsung is one of the usual culprits, and despite having opted for some of the highest spec configurations on each and every one of their flagships, many of them still managed to lag. Other top-tier devices, including the latest Nexus phone and tablet, managed to output...

XDA NEWS
Jimmy McGee · Mar 3, 2015 at 06:00 am · 1 comment

True Silent Mode for Lollipop – XDA Xposed Tuesday

Android 5.0 Lollipop is a great release. It’ has improving usability with material design, given us quick access to our notifications on our home screen, and more. However, there are some very unique idiosyncrasies regarding the notification sounds and silent mode. Basically, it’s not truly silent. In this episode of XDA Xposed Tuesday, XDA TV Producer TK reviews an Xposed Module that helps you truly silence your Lollipop device. XDA Recognized Developer tonyp created the True Silent Mode module. TK shows off...

XDA NEWS
Emil Kako · Mar 2, 2015 at 01:03 pm · 1 comment

How Do You Usually Access the XDA Forums?

There are a number of different apps on the Play Store that make browsing the XDA portal and forums a fun experience on mobile, but we want to know: What's your favorite way to access the XDA forums? Do you prefer browsing on the desktop, mobile app, or mobile browser? If you use a mobile app, which one? Let us know how you connect with our community in the comment section below.

DISCUSS
Share This