CyanogenMod device tree for Moto 4G (first gen)
Go to file
Samir Mehta 3332fcbd60 peregrine: add extra padding for encryption
Provide 16K for footer region of data partition
   /data should have 16K data for the encryption footer.
   In "fstab.qcom" we specify this by adding
   "encryptable=footer" option for the /data parition.
   However after factory reset these paritions will
   be wiped out and mounted using the parition tables
   mentioned in "recovery.fstab".
   In this case the /data should again leave the 16K for
   the encryption footer. So "length=-16384" needs to be
   added for the /data parition for the encryption to
   work after factory reset is done. Similarly BoardConfig
   is changed for userdata partition by reducing it by
   16kb.

   Change-ID I188ee4ea959bb8eb791b9387fc6adf299ffdc498

Change-Id: I0d58b350e96f1c57190759e2cd8c71aec99efdf2
2015-02-01 20:47:25 +00:00
configs peregrine: Fix reverse stereo on speakers/earphones 2015-01-27 04:59:21 +00:00
init peregrine: commonize based on network type and fix uscc (xt1042) calling 2014-08-24 02:14:22 -04:00
overlay peregrine: Correctly set storage overlay 2014-08-13 16:36:08 -07:00
rootdir peregrine: Label firmware partitions 2014-12-22 18:59:12 -08:00
wifi peregrine: Use msm8226-common repo 2014-08-13 16:36:08 -07:00
Android.mk peregrine: Use msm8226-common repo 2014-08-13 16:36:08 -07:00
AndroidProducts.mk peregrine: Use msm8226-common repo 2014-08-13 16:36:08 -07:00
BoardConfig.mk peregrine: add extra padding for encryption 2015-02-01 20:47:25 +00:00
README.mkdn Update README.mkdn 2014-08-04 00:01:36 -04:00
cm.dependencies peregrine: Use msm8226-common repo 2014-08-13 16:36:08 -07:00
cm.mk peregrine: Use msm8226-common repo 2014-08-13 16:36:08 -07:00
device.mk peregrine: Move mixer_paths.xml to device 2015-01-23 16:08:52 -08:00
extract-files.sh peregrine: Use msm8226-common repo 2014-08-13 16:36:08 -07:00
full_peregrine.mk peregrine: Use msm8226-common repo 2014-08-13 16:36:08 -07:00
mkbootimg.mk Switch from prebuilt dtb 2014-06-17 10:18:17 -04:00
proprietary-files.txt peregrine: Move camera files to device 2015-01-24 00:26:03 +00:00
setup-makefiles.sh peregrine: Use msm8226-common repo 2014-08-13 16:36:08 -07:00
system.prop peregrine: commonize based on network type and fix uscc (xt1042) calling 2014-08-24 02:14:22 -04:00

README.mkdn

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