summaryrefslogtreecommitdiff
path: root/README
blob: 2ed8cb28ea04192d80e6d04c1d56fcf7c47365f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
Device configuration for the Samsung Galaxy Alpha

Copyright (C) 2014-2015 The LineageOS Project
Copyright (C) 2017      The LineageOS Project
Copyright (C) 2014-2017 Andreas Schneider <asn@cryptomilk.org>

 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 LineageOS 14.1 on Samsung Galaxy Alpha (slte)

    THIS IS WORK IN PROGRESS.


* How To Build LineageOS 14.1 for Samsung Galaxy Alpha

  - Make a workspace

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


  - Do repo init & sync

  $ repo init -u git://github.com/LineageOS/android.git -b cm-14.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/" />

      <project name="omnirom/android_bootable_recovery" path="bootable/recovery-twrp" remote="github" revision="android-7.1" />

      <project name="LineageOS/android_external_stlport" path="external/stlport" remote="github" />

      <project name="LineageOS/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" />
      <project name="LineageOS/android_hardware_samsung" path="hardware/samsung" remote="github" />

      <project name="LineageOS/android_hardware_samsung_slsi-cm_exynos" path="hardware/samsung_slsi-cm/exynos" />
      <project name="LineageOS/android_hardware_samsung_slsi-cm_exynos5" path="hardware/samsung_slsi-cm/exynos5" />
      <project name="LineageOS/android_hardware_samsung_slsi-cm_openmax" path="hardware/samsung_slsi-cm/openmax" />
      <project name="projects/android/android_hardware_samsung_slsi_exynos5430" path="hardware/samsung_slsi-cm/exynos5430" remote="cryptomilk" />

      <project name="projects/android/android_kernel_samsung_slte.git" path="kernel/samsung/slte" remote="cryptomilk" />
      <project name="projects/android/android_device_samsung_sltexx.git" path="device/samsung/sltexx" remote="cryptomilk" />
  </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

  $ source build/envsetup.sh
  $ lunch lineage_sltexx-userdebug


  - Build LineageOS

  $ export USE_CCACHE=1
  $ make -j10 bacon


* Thanks to

  LineageOS
  TeamWin

----
EOF