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
+ AND MORE!

**** 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:
https://gitlab.com/alaskalinuxuser/HD_compile_android_pie_videos
MP4 Video Downloads:
https://gitlab.com/alaskalinuxuser/HD_compile_android_pie_videos/-/archive/master/HD_compile_android_pie_videos-master.zip

New HD Oreo videos:
MP4 Video GitLab:
https://gitlab.com/alaskalinuxuser/HD_Compile_Android_Oreo_Videos
MP4 Video Downloads:
https://gitlab.com/alaskalinuxuser/HD_Compile_Android_Oreo_Videos/-/archive/master/HD_Compile_Android_Oreo_Videos-master.zip

New HD Nougat videos:
MP4 Video GitLab:
https://gitlab.com/alaskalinuxuser/HD_compile_android_nougat_videos
Clicking on a video in GitLab will allow you to watch it online.
MP4 Video Downloads:
https://gitlab.com/alaskalinuxuser/HD_compile_android_nougat_videos/-/archive/master/HD_compile_android_nougat_videos-master.zip

New HD TWRP videos:
MP4 Video GitLab:
https://gitlab.com/alaskalinuxuser/HD_Compile_TWRP
MP4 Video Downloads:
https://gitlab.com/alaskalinuxuser/HD_Compile_TWRP/-/archive/master/HD_Compile_TWRP-master.zip

New HD GitHub and GitLab videos:
MP4 Video GitLab:
https://gitlab.com/alaskalinuxuser/HD_GitHub_GitLab
MP4 Video Downloads:
https://gitlab.com/alaskalinuxuser/HD_GitHub_GitLab/-/archive/master/HD_GitHub_GitLab-master.zip

YouTube links:
New HD series (Nougat, Oreo, and Pie) :
https://www.youtube.com/playlist?list=PLRJ9-cX1yE1m8k9gztsQnnXDg1G4X1f6z

New HD TWRP series (Mini Omni, Mini LineageOS) :
https://www.youtube.com/playlist?list=PLRJ9-cX1yE1kzxSkdZSG_h_f-GDNmSmAl

New HD GitHub and GitLab series (Web interface, command line, GitKraken) :
https://www.youtube.com/playlist?list=PLRJ9-cX1yE1mm6avXq9ZxehWsb4gYuRb9

Old Material:

Ogg Vorbis Video GitLab:
https://gitlab.com/alaskalinuxuser/course_android_developer_guide
Clicking on a video in GitLab will allow you to watch it online.

Ogg Vorbis Video Downloads:
https://gitlab.com/alaskalinuxuser/course_android_developer_guide/-/archive/master/course_android_developer_guide-master.zip
This download is rather large due to the multiple videos.

MP4 Video GitLab:
https://gitlab.com/alaskalinuxuser/course_android_developer_guide_mp4
Clicking on a video in GitLab will allow you to watch it online.

MP4 Video Downloads:
https://gitlab.com/alaskalinuxuser/course_android_developer_guide_mp4/-/archive/master/course_android_developer_guide_mp4-master.zip
This download is rather large due to the multiple videos.

Youtube links: (These YouTube videos are a lower quality than the originals.)
https://www.youtube.com/playlist?list=PLRJ9-cX1yE1l6eu-vkgsj61U-Zv3fjzwZ

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.

Advertisements