This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Step 1: Installing prerequisites | |
| sudo apt install gcc git repo libncurses5 | |
| # Step 2: Getting the source code | |
| # Initialize and clone source code (this requires ~150GB) | |
| repo init -u https://android.googlesource.com/platform/manifest -b android-12.1.0_r27 --partial-clone --clone-filter=blob:limit=10M | |
| repo sync -cq -j8 | |
| # Wait several hours depending on internet speed and proximity to Google's servers |