• [Guide] - How To Set up a Kernel Build Environment and Build Your First Kernel!

    I found the process of setting up a build environment to be a bit challenging when I first tried. I had to enlist the help of dsb9938 and sbryan12144. They helped me get set up so I wanted to share that knowledge with everyone!

    Preface: This guide will show you how to set up a kernel build environment in Ubuntu Linux. This guide will show you how to do it on a pre-installed Ubuntu machine or a ViurtualBox install. The steps are the same but some people may prefer the VirtualBox method so part one will be setting up Ubuntu in VirtualBox. If you already have a functioning VirtualBox with Ubuntu or a physical Ubuntu machine then you can skip step one.

    NOTE: This guide is not intended to teach you how to change the kernel as that is beyond the scope if the guide.

    This guide will focus on the HTC Evo 4G LTE Kernel as I know some of the Admins want to know how to do this....


    Prerequisites:
    1. Windows 64bit 7 PC with VirtualBox or an Ubuntu system already installed. Alternately you can use almost any Debian variant of Linux. My favorite is Linux Mint. But for the purpose of this guide we will use Ubuntu as it is probably the most popular version of linux.
    2. A basic understanding of computing in general, like copy and pasting, moving folders, etc...





    Table of Contents:
    • Part 1: Setting up the VirtualBox
    • Part 2: Installing the required packages and proper toolchains for building the kernel.
    • Part 3: Building your first kernel.
    • Part 4: Bonus!
    • Part 5: References
    This article was originally published in forum thread: [Guide] - How To Set up a Kernel Build Environment and Build Your First Kernel! started by Scott View original post
    Comments 4 Comments
    1. ezgoing2406's Avatar
      ezgoing2406 -
      hands down on the write up bro. I am going try this tonight. Thanks a bunch. I been reading how to build kernels book for the past year. I got board of them. You just put hole new Window in my face. Now I can start tearing files apart and learning more about this phone. Donation is coming ur way... I will email you con# once I am done.

      Sent from my SCH-i705
    1. Newboyx's Avatar
      Newboyx -
      Excellent write up!

      This signature will default back to the stock signature after the next flash.
      Why do I bother changing it in Tapatalk?
    1. ezgoing2406's Avatar
      ezgoing2406 -
      Quote Originally Posted by Newboyx View Post
      Excellent write up!

      This signature will default back to the stock signature after the next flash.
      Why do I bother changing it in Tapatalk?
      Clear your cache. Or delete then reinstall. It should fix your problem

      Sent from my SCH-I535 using Xparent SkyBlue Tapatalk 2
    1. Scott's Avatar
      Scott -
      Quote Originally Posted by ezgoing2406 View Post
      Clear your cache. Or delete then reinstall. It should fix your problem

      Sent from my SCH-I535 using Xparent SkyBlue Tapatalk 2
      His sig block is sarcasm man.