Tomek Kondrat · Apr 24, 2014 at 09:30 pm

Speed up the ROM or Kernel Build Process

Creating a kernel, ROM, or any other development project requires knowledge and tools. While this knowledge can be obtained from books and other resources, tools must be created from scratch. Well, not all of them, as here on XDA there are plenty of interesting projects that are shared with the community.

When you are building a ROM, you need to execute a few commands to get the build process started. Manually entering lines takes time, and there is a great chance of making a typo and having to repeat the process. XDA Forum Moderator and Recognized Developer laufersteppenwolf decided to share his solution by presenting a set of scripts that will allow you to speed up the preparation process of almost every project.

The provided scripts are designed to build a CyanogenMod-based ROM, kernel, and anykernel (a zImage replacement without touching the ramdisk) for the LG Optimus 4X HD. However, it can be easily modified to build your ROM of choice for your target device. The scripts work with every Linux distribution and have a proper documentation, which can be executed by appending the “-h” flag.

If you are a kernel or ROM developer or simply want to see how to automate the build process, check out the provided scripts in the original thread.


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

Tomek Kondrat

eagleeyetom is an editor on XDA-Developers, the largest community for Android users. Tomek is the only Polish moderator on XDA Developers. He graduated from the University of Warmia and Mazury in Olsztyn with a degree in journalism and public communication in 2013. He's a big fan of football (not hand egg), post rock and cooking. A total addict of mobile technology, especially Android. Currently flashes dozens of custom ROMs on his OPO. View eagleeyetom's posts and articles here.
Mathew Brack · May 28, 2015 at 09:59 pm · 5 comments

I/O Summary: How Android M Handles Power And Charging

In the spirit of improving the core Android experience, Google is changing Android M to be smarter about managing power. Their new Doze feature comprises of two primary roles which allow Android to use motion detection in order to predict activity, and go into deep sleep at the right time based on accelerometer readings.   In order to extend your screen off battery life, Android M will now monitor your activity levels and if it detects that your device has...

XDA NEWS
Mario Tomás Serrafero · May 28, 2015 at 09:51 pm · 3 comments

I/O Summary: Google Photos App

At I/O 2015, Google tackled the information problem in mobile once more, this time through pictures: “how incredible is it that we all have a camera in our pockets at any moment? (...) These moments tell your story (...)[but] taking more pictures and videos makes it harder to relieve memories due to the sheer volume”. This is why they are revamping Google Photos and centering it around 3 big ideas:   Creating a home for all photos and videos that is...

XDA NEWS
Mario Tomás Serrafero · May 28, 2015 at 09:26 pm · 4 comments

I/O Summary: Development, Play Store, The Next Billion

VP of Engineering Jen Fitzpatrick began talking about what Google is doing to help “the next billion” come online. More and more people are getting their first smartphone, and for many people this first phone will be their first computer.   The majority of the next billion will be Android users and they “want to remove the barriers of smartphone adoption”. While there are huge displays of phones on sale, not all are able to run the latest and greatest...

XDA NEWS
Share This