Skip to content

CyanogenMod/android_device_samsung_epicmtd

 
 

Repository files navigation

Team EpicCM Device Repo

How to build

This is a quick tutorial on building an ota package for Samsung Epic using the CyanogenMod Android repo.

This tutorial begins with a belief that you have already sync'd down CyanogenMod sources and have set up your build environment.

  • First, create a local_manifest.xml for the EpicCM kernel. Since we're merged upstream now, you no longer need to override Cyanogen vendor or add the EpicMTD device tree.
<?xml version="1.0" encoding="UTF-8"?>
  <manifest>
    <project path="kernel/samsung/victory" name="CyanogenMod/android_kernel_samsung_victory" remote="github" revision="gingerbread"/>
  </manifest>
  • To set up the vendor tree, you'll need to cd to device/samsung/epicmtd and:

    1. Run extract-files.sh while phone is connected via usb to pull proprietaries from device. The script will then call setup-makefiles to generate vendor/samsung/epicmtd/ and the necessary makefiles for blob manipulation.

    2. Next, from the root android directory, you'll need to:

repo sync
make clobber
brunch epicmtd

and the build will begin!

At the end of the compile, the generate ota package will be in out/target/product/epicmtd/

Packages

No packages published

Languages

  • C++ 73.3%
  • C 11.9%
  • Java 6.6%
  • Shell 4.6%
  • Python 3.6%