aboutsummaryrefslogtreecommitdiff
path: root/README.mkdn
blob: cf00b869a2320141339a9e5ac1f9250c8b750f97 (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
HOW-TO for building CyanogenMod
_______________________________

- First, follow http://source.android.com/source to figure out how to get your build environment running, etc
- Make a directory for your build source, then sync CyanogenMod: repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
- Then you need to add this to .repo/local_manifests/roomservice.xml (if you dont have it then create it and put this in):

<?xml version="1.0" encoding="UTF-8"?>
< manifest>
  <project name="OUDhs/proprietary_vendor_motorola" path="vendor/motorola" remote="github" />
  <project name="OUDhs/android_device_motorola_peregrine" path="device/motorola/peregrine" remote="github" />
  <project name="OUDhs/android_device_motorola_msm8226-common" path="device/motorola/msm8226-common" remote="github" />
  <project name="OUDhs/android_kernel_motorola_msm8226" path="kernel/motorola/msm8226" remote="github" />
  <project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
  <project name="CyanogenMod/android_device_motorola_qcom-common" path="device/motorola/qcom-common" remote="github" />
  <project name="CyanogenMod/android_hardware_qcom_fm" path="hardware/qcom/fm" remote="github" />
  <project name="CyanogenMod/android_hardware_qcom_display-caf-new" path="hardware/qcom/display-caf-new" remote="github" />
  <project name="CyanogenMod/android_hardware_qcom_media-caf-new" path="hardware/qcom/media-caf-new" remote="github" />
< /manifest>

- Do a repo sync and it should grab everything you need
- Plug in your phone, and run the extract files script against a working cyanogenmod build
- Change directory to the top, and source the build environment setup: . build/envsetup.sh
- Use the command brunch peregrine, and wait as your meal cooks. 
- It should output an update.zip in out/target/product/peregrine/... you've made CyanogenMod. Congratulations. 



List of Contributers to the device tree
___________________________________________________________________________

- DHacker
- Shabbypenguin
- somcom3x

A full CHANGELOG for CyanogenMod can be found in its vendor:  https://github.com/CyanogenMod/android_vendor_cm/blob/cm-11.0/CHANGELOG.mkdn 

Keep in mind guys, CyanogenMod is open source, and a community project. Get involved, and help us code for a better future :D