Skip to content

qkdxorjs1002/android_device_samsung_slteskt

Repository files navigation

Device configuration for the Samsung Galaxy Alpha

Copyright (C) 2014 The CyanogenMod Project
Copyright (C) 2014 Andreas Schneider <asn@cryptomilk.org>
Copyright (C) 2015 Bang, TaeGeon <qkdxorjs1002@naver.com>

 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 CM12.1 on Samsung Galaxy Alpha KOR (slteskt)

    THIS IS WORK IN PROGRESS.


* How To Build CM12.1 for Samsung Galaxy Alpha KOR

  - Make a workspace

  $ mkdir -p ~/cyanogenmod/system
  $ cd ~/cyanogenmod/system


  - 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>
      <remote  name="cryptomilk" fetch="git://git.cryptomilk.org/" />

      <remove-project name="CyanogenMod/android_bootable_recovery" />
      <project name="omnirom/android_bootable_recovery" path="bootable/recovery" remote="github" revision="android-5.1" />

      <project name="CyanogenMod/android_hardware_samsung_slsi_exynos" path="hardware/samsung_slsi/exynos" remote="github" revision="cm-12.1" />
      <project name="CyanogenMod/android_hardware_samsung_slsi_exynos5-insignal" path="hardware/samsung_slsi/exynos5-insignal" remote="github" revision="cm-12.1" />
      <project name="CyanogenMod/android_hardware_samsung_slsi_openmax" path="hardware/samsung_slsi/openmax" remote="github" revision="cm-12.1" />
      <project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" revision="cm-12.1" />
      <project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" />
      <project name="projects/android/android_hardware_samsung_slsi_exynos5430" path="hardware/samsung_slsi/exynos5430" remote="cryptomilk" revision="cm-12.1" />

      <project name="qkdxorjs1002/android_kernel_samsung_slteskt.git" path="kernel/samsung/slteskt" remote="github" revision="cm-12.1-ref" />
      <project name="qkdxorjs1002/android_device_samsung_slteskt.git" path="device/samsung/slteskt" remote="github" revision="cm-12.1" />
  </manifest>

  $ repo sync -f -j8

  - 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 vendor

  $ ./vendor/cm/get-prebuilts


  - Setup environment

  $ source build/envsetup.sh
  $ lunch cm_slteskt-eng


  - Build CM

  $ export USE_CCACHE=1
  $ make -j8 bacon


* Thanks

  CyanogenMod
  TeamWin

----
EOF