android_device_samsung_mond.../README.md

67 lines
1.9 KiB
Markdown
Raw Normal View History

2019-10-28 10:00:21 +01:00
Device configuration for the Samsung Tab Pro 8.4
2016-01-10 15:51:48 +01:00
2019-10-28 10:00:21 +01:00
Copyright (C) 2019 The LineageOS Project
Copyright (C) 2019 Valera Chigir <valera1978@tut.by>
2017-03-24 14:17:50 +01:00
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
------------------------------------------------------------------
* Description
2019-10-28 10:00:21 +01:00
This repository is for LineageOS on Samsung Tab Pro 8.4 (mondrianwifi)
2017-03-24 14:17:50 +01:00
2019-10-28 10:00:21 +01:00
* How To Build LineageOS for Samsung Tab Pro 8.4
2017-03-24 14:17:50 +01:00
- Make a workspace
2020-05-26 10:28:57 +02:00
mkdir cm17
cd cm17
2017-03-24 14:17:50 +01:00
- Do repo init & sync
2020-05-26 10:28:57 +02:00
repo init -u git://github.com/LineageOS/android.git -b lineage-17.1
2017-03-24 14:17:50 +01:00
- Create .repo/local_manifests/roomservice.xml with the following content:
2017-07-17 10:23:35 +02:00
```
2017-03-24 14:17:50 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
2019-10-28 10:00:21 +01:00
<project name="Valera1978/android_device_samsung_mondrianwifi" path="device/samsung/mondrianwifi" remote="github" />
2020-05-26 10:28:57 +02:00
<project name="Valera1978/android_kernel_samsung_msm8974" path="kernel/samsung/msm8974_tab" remote="github" revision="lineage-17.1_pro" />
2019-10-28 10:00:21 +01:00
<project name="Valera1978/android_vendor_samsung_mondrianwifi" path="vendor/samsung/mondrianwifi" remote="github" />
2017-03-24 14:17:50 +01:00
<project name="LineageOS/android_device_samsung_qcom-common" path="device/samsung/qcom-common" remote="github" />
2020-05-26 10:28:57 +02:00
<project name="LineageOS/android_hardware_samsung" path="hardware/samsung" remote="github" />
2017-03-24 14:17:50 +01:00
</manifest>
2017-07-17 10:23:35 +02:00
```
2017-03-24 14:17:50 +01:00
repo sync
- Copy proprietary vendor files
There are two options to to that. Connect your device with adb enabled and run:
./extract-files.sh
Or if you have the system image unpacked on your disk, then simply run:
STOCK_ROM_DIR=/path/to/system ./extract-files.sh
- Setup environment
. build/envsetup.sh
2020-05-26 10:28:57 +02:00
- Build cm17
2017-03-24 14:17:50 +01:00
2019-10-28 10:00:21 +01:00
brunch mondrianwifi
2017-03-24 14:17:50 +01:00
or another way:
2019-10-28 10:00:21 +01:00
lunch lineage_mondrianwifi-userdebug
2017-03-24 14:17:50 +01:00
export USE_CCACHE=1
2019-02-17 09:43:20 +01:00
make -j16 bacon