Tomek Kondrat · May 18, 2014 at 03:00 pm

Potentially Speed up Android with New Compiler Flags

Beginning back in 2007, Android has evolved into quite a mature project. You can learn more about its history by checking out these two articles. Back in 2007, devices weren’t anywhere near as powerful as they are now. They were single core, and had only a few megabytes of RAM. Now it’s 2014, and we are on the verge of seeing the first 64-bit Android devices.

Despite the leaps and bounds that have been made in hardware capabilities, the Android build process has not really been much optimized since then. It involves using GCC 4.7 when 4.8 is available, and some outdated flags. And interestingly, compiling a kernel uses a different sets of flags than compiling the rest of the ROM.

XDA Recognized Contributor JustArchi released a commit, which according to developer, should increase the speed of AOSP-derived Android builds to upwards of 6x current speed. The commit enables a set of flags that are thoughtfully described in the original thread. But before you get too excited and cherry-pick this commit for your own builds, keep in mind that further testing in a wide variety of test scenarios needs to take place before these claims can be validated. Furthermore, you may also find that these flags will result in unexpected issues, as Android has been defaulting to a certain set of flags for quite some time.

You can find the commit and description in the original thread. Have you tried changing these or other flags while compiling? If you end up trying this in your builds, we’re eager to hear your experiences.

 


_________
Want something on the XDA Portal? Send us a tip!
TAGS:
Mario Tomás Serrafero · Feb 28, 2015 at 03:45 pm · no comments

MWC 2015: What Are Your Predictions?

This wonderful Geek-Christmas time of the year is back once more, promising a lot of exciting reveals from big manufacturers such as HTC and Samsung, but also some pretty gems teased by other smaller OEMs. What kind of exciting products will we see? While we've got a lot of leaked information from the highly expected S6 and M9, there is still a lot to learn about both - and about everything else that will be shown. What kind of trends will...

XDA NEWS
Chris Gilliam · Feb 28, 2015 at 03:13 pm · 1 comment

Best Apps To View RAW Images On Android

Last week, I wrote about the best apps to unleash the raw photographic power of your Lollipop smartphone. All four of those cameras generate lossless DNG images with pounds of potential for apps like Photoshop to unlock, but what if you’re looking to edit or view those pics on the go? QuickPic, Google Photos, and the other mainstays treat raw images like they don't exist. This rundown seeks to fill the void and give you full control over your precious pictures....

XDA NEWS
Emil Kako · Feb 28, 2015 at 10:15 am · 1 comment

Which App Is Most Desperately in Need of an Update?

While the majority of the top apps have already incorporated Google's newest design language, there are still very many apps that are in need of some Material Design love. Which apps do you think are most desperately in need of an update?

DISCUSS
Share This