This is a quick tutorial on building an ota package for Samsung Galaxy S Wifi/Player 4.0 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 Palladio (YP-G1 kernel). Since we're merged upstream now, you no longer need to override Cyanogen vendor or add the ypg1 device tree.
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="kernel/samsung/ypg13.0" name="bbelos/android_kernel_samsung_aries" remote="github" revision="cm-10.2-ypg1-dev"/>
</manifest>
-
To set up the vendor tree, you'll need to
cd
todevice/samsung/ypg1
and:-
Run
extract-files.sh
while phone is connected via usb to pull proprietaries from device. The script will then callsetup-makefiles
to generatevendor/samsung/ypg1/
and the necessary makefiles for blob manipulation. -
Next, from the root android directory, you'll need to:
-
repo sync
make clobber
brunch ypg1
Or
repo sync
. build/envsetup.sh && brunch ypg1
and the build will begin!
At the end of the compile, the generate ota package will be in out/target/product/ypg1/