To initialize your local repository using the LineageOS trees, use a command like this: repo init -u git://github.com/tathanhlam66/android.git -b los-15.1 Then to sync up: repo sync Please see the LineageOS Wiki for building instructions.