Video Tutorial: How to Build Android and Custom Kernels

Praise God! Finally a video tutorial of how to build Android and modify kernels!

I have created a video tutorial and guide for how to compile Android, from Lollipop through Marshmallow, Nougat, and Oreo. The video series covers several different phones, the emulator, kernel and rom editing, app source code editing, and much more! I have two main sections: Beginners and Advanced.

  • This is the beginner video series, which is also on XDA.
  • The intermediate to advanced series can be found on XDA, or here on my site.

Beginner Video Series

!!!Now in HD, with over 20 hours of video!!!

Who is this video series for?

Well, this video tutorial is a step by step guide built primarily for the beginner. This is written for those who already know how to flash TWRP, CWM, or the like, and who have installed a custom rom before. This is designed to help those who are ready to move up from flashing and installing other peoples custom rom to actually start making their own custom roms. I recommend that a beginner watch the entire series in numerical/alphabetical order (the videos are marked).

That said, I believe that an intermediate developer may find a useful trick here and there, and they should just skip ahead to videos of interest. Perhaps kernel development, or something along those lines.

An advanced rom/kernel developer will probably far exceed my feeble abilities, and will not likely find much useful information here. Perhaps if you are an advanced developer, you would consider continuing the tutorial or making an advanced video series! (See further posts for recommendations on contributing videos.)

Why did you put this together?

Well, after building roms for several different devices, I started receiving requests from users who wanted to start building their own roms, but didn’t know how. I didn’t have enough time to answer everyones questions, so I wrote a few guides, pointed others to guides that were available, but there are some things that you just need to see to understand. Hence, the video tutorial. I just hope that someone finds it useful.

This course was written in order! While Lollipop and Marshmallow are old by todays standards, there is still good learning value in building them, and there are topics covered there that really make them worth watching.

What’s in the videos?

During the series, we will be building for the emulator, as well as 5 different phones of various brands, and 5 different roms. I hope that this will give the viewer a good idea of how to build for their own specific phone as they see the differences and similarities across the phones and custom roms.

+ Ubuntu installation
+ Java installations
+ Using Git, GitHub, GitKraken, and the command line
+ Fastboot and ADB
+ Heimdall/Odin
+ QFIL, QPST, SALT, and other tools
+ AOSP, SlimRoms, PACrom, AOKP, AOSCP
+ Lollipop, Marshmallow, Nougat, Oreo
+ Errors
+ Overclocking CPU/GPU
+ Adding Governors and I/O Schedulers
+ Sound modifications
+ Changing app colors, text, and icons
+ Adding prebuilt apps
+ Adding source code
+ Converting device from one rom to another

**** This is an UNOFFICIAL TUTORIAL. Use at your own risk! ****
Download and links:

!!!Now in HD, with over 20 hours of video!!!

New HD Pie videos:
MP4 Video GitLab:
MP4 Video Downloads:

New HD Oreo videos:
MP4 Video GitLab:
MP4 Video Downloads:

New HD Nougat videos:
MP4 Video GitLab:
Clicking on a video in GitLab will allow you to watch it online.
MP4 Video Downloads:

New HD TWRP videos:
MP4 Video GitLab:
MP4 Video Downloads:

New HD GitHub and GitLab videos:
MP4 Video GitLab:
MP4 Video Downloads:

YouTube links:
New HD series (Nougat, Oreo, and Pie) :

New HD TWRP series (Mini Omni, Mini LineageOS) :

New HD GitHub and GitLab series (Web interface, command line, GitKraken) :

Old Material:

Ogg Vorbis Video GitLab:
Clicking on a video in GitLab will allow you to watch it online.

Ogg Vorbis Video Downloads:
This download is rather large due to the multiple videos.

MP4 Video GitLab:
Clicking on a video in GitLab will allow you to watch it online.

MP4 Video Downloads:
This download is rather large due to the multiple videos.

Youtube links: (These YouTube videos are a lower quality than the originals.)

Recording Quality

Just a quick note about the recording quality. I am now recording in HD, however, some of the older material is not HD. I apologize that the quality of those are rather low. Several of the recordings were done over Xvnc, so there is sometimes lag in the video. Also, I have really slow speed and limited data internet (internet is expensive here), so I turned down the recording quality a bit so I could record the several hours of video. That said, the original recordings were done in ogg vorbis, then converted to mp4, and those were uploaded to Youtube. So there is a little bit of loss along the way, but even the ogg vobis recordings were not the highest quality.

Have suggestions or video tutorial requests?

I can’t promise that I will be able to add those videos (for instance, I don’t own every phone on the planet, so I can’t do a video for “how to build for xx phone”, but if you have a generic suggestion that would benefit everyone, please post a comment, or consider uploading a tutorial video yourself.

Considering contributing to the video series?

The GitLab links are available, and the project is licensed under Creative Commons Attribution 4.0, so you are welcome to fork the repository and add more videos, as well as use pull requests! Be sure in your video to add your name (real or xda) so I can give you credit, and others know that you created the video (it will show on GitLab as well). I do ask that you restrain any use of profanity, as that will help create a more professional video that will not be offensive to listeners.

Also, if you would like to make a translation, that would be great! Perhaps we could create another branch for each translation, or another repository or folder to hold them.

If you have more questions about contributing videos, please send me a PM on XDA, or contact me through my website or on GitLab. Thanks!

Linux – keep it simple.