LineageOS
LineageOS was formerly called as CynogenMod OS. Version 16 of LineageOS is the latest release and is based on Android 9 Pie from Google. Many devices are currently supported by it. The main reason that people tend to install LineageOS is because it provides a Stock Android experience without any custom skin. This is liked and admired by a lot of people. This is the reason many Power users on Samsung or Xiaomi devices go-ahead to install LineagoOS just to get rid of the custom skin like Samsung Experience and MIUI respectively. I can confirm that because I have a custom operating system on my Xiaomi phone. Anyway, let dig into the main thing here.
Build LineageOS 16.0 on Windows 10 using Windows Subsystem for Linux
First of all, we will check out the system requirements for this task. System Requirements You should at least have 16 Gigabytes of RAM on your computer. It should be running Windows 10 (64-bit only). And for storage, it is recommended for you to have 256 Gigabytes or more space free where having an SSD is preferred. Some things to take care of As mentioned by the original developer, here are the main things that you need to keep in mind while carrying out this task. Building LineageOS 16 The following steps should be taken one by one to get this task working. First of all, start by downloading WSL & Ubuntu 18.04 LTS from the Microsoft Store and setting it up. Now, let us get the latest required files for our BASH shell. For that, enter the following command in the shell,
It will take some time to download the required files. So until then, you can just sit back and relax. You should now create a custom directory to store all the downloaded files from the LineageOS Github repository. For that, enter this command, Let us start working with the Github repository for LineageOS. For that, enter this command, Finally, sync the repository.
There is an optional yet recommended step that you can take to speed up the process. You can read more about it here.
Then you need to run the script file to prepare to build the project.
For that, enter this command,
Then prepare the code for a specific device. To do that, you need to know the codename of that device. You can search the internet by entering
We are now done with the tedious part, Just starting the build is left. To start the build, enter the following code, In case you wish to build a newer build of LineageOS, you need to just sync the repository, run the script and then directly start the build.It will save you a lot of time and Internet Data. You can read more about this task and building LineageOS 15.1 based on Google’s Android Oreo 8.1 here on XDA Developers.