64 lines
1.8 KiB
Plaintext
Executable File
64 lines
1.8 KiB
Plaintext
Executable File
Device configuration for the Samsung Galaxy Note Pro 12.2
|
|
|
|
Copyright (C) 2015 The CyanogenMod Project
|
|
Copyright (C) 2015 Valera Chigir <valera1978@tut.by>
|
|
|
|
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
|
|
|
|
This repository is for CyanogenMod on Samsung Galaxy Note Pro 12.2 (viennalte)
|
|
|
|
* How To Build CyanogenMod for Samsung Galaxy Note Pro 12.2
|
|
|
|
- Make a workspace
|
|
|
|
mkdir cm12
|
|
cd cm12
|
|
|
|
- Do repo init & sync
|
|
|
|
repo init -u git://github.com/CyanogenMod/android.git -b cm-12.1
|
|
|
|
- Create .repo/local_manifests/roomservice.xml with the following content:
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<manifest>
|
|
<project name="CyanogenMod/android_device_samsung_msm8974-common" path="device/samsung/msm8974-common" remote="github" />
|
|
<project name="CyanogenMod/android_device_samsung_qcom-common" path="device/samsung/qcom-common" remote="github" />
|
|
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
|
|
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" />
|
|
</manifest>
|
|
|
|
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
|
|
|
|
- Build cm12
|
|
|
|
brunch viennalte
|
|
|
|
or another way:
|
|
|
|
lunch cm_viennalte-userdebug
|
|
export USE_CCACHE=1
|
|
make -j10 bacon
|