How to build LineageOS 15.1 on a Windows 10 PC
LineageOS is the most popular custom AOSP-based ROM out there. The latest version, LineageOS 15.1, is based on Android 8.1 Oreo and the official roster has grown significantly since release. The team is always looking for more help whether it’s by adding new features or supporting more devices. If you are interested in contributing to the project but don’t want to switch your PC’s operating system to a GNU/Linux distribution, XDA Senior Member Uldiniad has put together a step by step guide that shows you how to build LineageOS 15.1 on Windows 10.
The process requires that you set up the Windows Subsystem for Linux (WSL) so while you technically can’t avoid using Linux, at least this allows you to keep Windows without reserving space for dual-booting. Just like building on Linux, your machine should have an SSD of at least 256GB in size and at least 16GB of RAM. You’ll also need to be on the latest Skip Ahead Insider Preview builds so you can take advantage of all the latest WSL features. If you’re looking to upgrade your PC hardware so it’ll be capable of building at an adequate speed, check out XDA’s PC hardware reviews by Daniel Moran to get a sense of what you should consider.
How to build LineageOS 15.1 on Windows 10