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.xmlfor 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
extract-files.shwhile phone is connected via usb to pull proprietaries from device. The script will then call
vendor/samsung/epicmtd/and the necessary makefiles for blob manipulation.
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