Skip to content

Goldflame09/android_device_samsung_ypg1

 
 

Repository files navigation

CM10.2 for YP-G1/YP-GB1

How to build

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 to device/samsung/ypg1 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/ypg1/ and the necessary makefiles for blob manipulation.

    2. 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/

About

Device tree for samsung YP-G1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 73.4%
  • C 13.8%
  • Java 5.6%
  • Python 3.8%
  • Shell 3.4%