Skip to content

Instantly share code, notes, and snippets.

@chiehmin
Last active March 19, 2019 08:59
Show Gist options
  • Save chiehmin/559055f83832c62210d836cc1805d6cd to your computer and use it in GitHub Desktop.
Save chiehmin/559055f83832c62210d836cc1805d6cd to your computer and use it in GitHub Desktop.
Initialize repo `repo init -u https://github.com/LineageOS/android.git -b lineage-16.0`
create local_manifest in `.repo/local_manifests/htc_oce.xml`
```xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="TARKZiM/device_htc_oce" path="device/htc/oce" remote="github" revision="lineage-16.0" />
<project name="TARKZiM/android_kernel_htc_oce" path="kernel/htc/oce" remote="github" revision="lineage-16.0" />
<project name="TARKZiM/proprietary_vendor_htc" path="vendor/htc" remote="github" revision="lineage-16.0" />
<project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" revision="lineage-16.0" />
</manifest>
```
Then
```
repo sync
source build/envsetup.sh
add_lunch_combo oce-userdebug
croot
brunch oce
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment