Skip to content

Commit

Permalink
LOS 17.1 bringup
Browse files Browse the repository at this point in the history
  • Loading branch information
ChronoMonochrome committed Apr 4, 2020
1 parent 0f627f4 commit 9706ce4
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 42 deletions.
20 changes: 5 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,18 @@ Getting started
---------------

```
1. mkdir -p LOS16 && cd LOS16
1. mkdir -p LOS17 && cd LOS17
2. Initialize your local repository using the LineageOS trees with a command
repo init -u git://github.com/LineageOS/android.git -b lineage-16.0
repo init -u git://github.com/LineageOS/android.git -b lineage-17.1
3. Clone this repo:
git clone https://github.com/CustomROMs/android_local_manifests_i9300 .repo/local_manifests -b lineage-16.0
git clone https://github.com/CustomROMs/android_local_manifests_i9300 .repo/local_manifests -b lineage-17.1
4. Sync LineageOS trees:
repo sync --no-tags --no-clone-bundle --force-sync -c -j8
5. Generate the keys used for ROM signing:
From the root of your Android tree, run these commands, altering the subject line to reflect your information:
subject='/C=US/ST=California/L=Mountain View/O=Android/OU=Android/CN=Android/[email protected]'
mkdir .android-certs
for x in releasekey platform shared media testkey; do \
./development/tools/make_key .android-certs/$x "$subject"; \
done
6. To build:
5. To build:
. build/envsetup.sh
lunch lineage_i9300-userdebug
make -j8 bacon
Expand Down
4 changes: 2 additions & 2 deletions fetch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ fetch() {
proj=$(echo $line | cut -d " " -f1)
echo -e $CL_BLU"Fetching patches for $proj"$CL_RST
echo
echo "git -C $ANDROID_BUILD_TOP/$proj fetch https://github.com/CustomROMS/$(path2name $proj) lineage-16.0"
git -C $ANDROID_BUILD_TOP/$proj fetch https://github.com/CustomROMS/$(path2name $proj) lineage-16.0
echo "git -C $ANDROID_BUILD_TOP/$proj fetch https://github.com/CustomROMS/$(path2name $proj) lineage-17.1"
git -C $ANDROID_BUILD_TOP/$proj fetch https://github.com/CustomROMS/$(path2name $proj) lineage-17.1
echo ""; echo "";
done < $ANDROID_BUILD_TOP/android_local_manifests_i9300/patches.txt
}
Expand Down
40 changes: 19 additions & 21 deletions local_manifest.xml
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remove-project groups="qcom,qcom_audio,pdk-qcom" name="LineageOS/android_hardware_qcom_audio" revision="lineage-16.0-caf-8084" />
<remove-project groups="qcom,pdk-qcom" name="LineageOS/android_hardware_qcom_bt" revision="lineage-16.0-caf" />
<remove-project groups="pdk-qcom,qcom,qcom_display" name="LineageOS/android_hardware_qcom_display" revision="lineage-16.0-caf-8084" />
<remove-project groups="qcom,qcom_fm" name="LineageOS/android_hardware_qcom_fm" />
<remove-project groups="qcom,pdk-qcom" name="LineageOS/android_hardware_qcom_media" revision="lineage-16.0-caf-8084" />
<remove-project groups="qcom,pdk-qcom" name="LineageOS/android_hardware_qcom_power" />
<remove-project groups="qcom,pdk-qcom" name="LineageOS/android_hardware_qcom_thermal" />
<remove-project groups="qcom,pdk-qcom" name="LineageOS/android_hardware_qcom_vr" />
<remove-project groups="qcom_wlan,pdk-qcom" name="LineageOS/android_hardware_qcom_wlan" revision="lineage-16.0-caf" />
<remote name="omnirom"
review="gerrit.omnirom.org"
fetch="https://github.com/omnirom" />

<project name="LineageOS/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" />
<project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" revision="lineage-16.0" />
<remote name="bb"
fetch="https://bitbucket.org/" />

<project name="CustomROMs/android_local_manifests_i9300" path="android_local_manifests_i9300" revision="lineage-16.0" />
<project name="CustomROMs/android_device_samsung_smdk4412-common" path="device/samsung/smdk4412-common" revision="lineage-16.0" />
<project name="CustomROMs/android_device_samsung_smdk4412-qcom-common" path="device/samsung/smdk4412-qcom-common" remote="github" revision="lineage-16.0" />
<project name="CustomROMs/android_device_samsung_i9300" path="device/samsung/i9300" revision="lineage-16.0" />
<project name="CustomROMs/android_device_samsung_i9305" path="device/samsung/i9305" revision="lineage-16.0" />
<project name="CustomROMs/android_device_samsung_n7100" path="device/samsung/n7100" revision="lineage-16.0" />
<project name="CustomROMs/android_device_samsung_t0lte" path="device/samsung/t0lte" revision="lineage-16.0" />
<project name="CustomROMs/android_hardware_samsung" path="hardware/samsung" revision="lineage-16.0" />
<project clone-depth="1" name="ChronoMonochrome/android_kernel_samsung_smdk4412" path="kernel/samsung/smdk4412" revision="lineage-16.0-i9100-rebase" />
<remote name="substratum"
fetch="https://github.com/"
review="http://substratum.review" />

<project clone-depth="1" path="vendor/samsung" name="CustomROMs/android_vendor_samsung" revision="lineage-16.0" />
<remote name="chrono"
fetch="https://github.com/ChronoMonochrome"
revision="refs/heads/master" />

<project path="hardware/samsung" name="CustomROMs/android_hardware_samsung" remote="github" revision="lineage-17.1" />
<project path="kernel/samsung/smdk4412" name="CustomROMs/android_kernel_samsung_smdk4412" remote="github" revision="lineage-17.1" clone-depth="1" />
<project path="device/samsung/smdk4412-common" name="CustomROMs/android_device_samsung_smdk4412-common" remote="github" revision="lineage-17.1" />
<project name="CustomROMs/android_device_samsung_smdk4412-qcom-common" path="device/samsung/smdk4412-qcom-common" remote="github" revision="lineage-17.1" />
<project path="device/samsung/i9300" name="CustomROMs/android_device_samsung_i9300" remote="github" revision="lineage-17.1" />
<project name="CustomROMs/android_device_samsung_t0lte" path="device/samsung/t0lte" revision="lineage-17.1" />
<project path="vendor/samsung" name="CustomROMs/android_vendor_samsung" remote="github" revision="lineage-17.1" />
</manifest>
9 changes: 5 additions & 4 deletions patches.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
bionic cherry-pick 3064d343b df4549105
frameworks/base cherry-pick 491a0e660b9 6cfc420b027 a98d7c0eb3b
frameworks/native cherry-pick ae70edfb
frameworks/opt/telephony cherry-pick f04741a53 d5cea3265
bionic cherry-pick bfdbce73b c0ed61114
frameworks/base cherry-pick 32f59b27f18 84e5dc72572 5ac519a787a
frameworks/opt/telephony cherry-pick 0e758d537 801956d04
system/core cherry-pick 5355cba5b
system/libhwbinder cherry-pick 7e5174e

0 comments on commit 9706ce4

Please sign in to comment.