p350: build libomxcore from main source

Change-Id: I9cb2eca034dfca0866ac45d65c348893be439a3f
https://github.com/PecanCM/android_vendor_qcom_opensource_omx_mm-core/commit/e6277f334954eeceecdcdbde007795cbd304627b
25 files changed
tree: 268274953ac7c80438bb2fb86622e6f1a0d75a6d
  1. Android.mk
  2. AndroidBoard.mk
  3. AndroidProducts.mk
  4. BoardConfig.mk
  5. README.md
  6. apversion/
  7. cm.mk
  8. configs/
  9. extract-files.sh
  10. hwaddrs/
  11. include/
  12. libaudio/
  13. libcamera/
  14. libcopybit/
  15. libgralloc/
  16. liblights/
  17. librpc/
  18. libstagefrighthw/
  19. overlay/
  20. p350.mk
  21. proprietary-files.txt
  22. recovery.fstab
  23. releasetools/
  24. root/
  25. setup-makefiles.sh
  26. system.prop
  27. vendorsetup.sh
README.md

PecanCM Project

Here LG Optimus Me device folder for build Cyanogenmod 9, Android 4.0.4

  1. Operating System:

First step is having a fully functional linux distro. You can choose what you prefer, I'm using ubuntu and I write commands for it. You can use OSX too, as I know, but I've completely no idea how, I never had a Mac. Well, talking about linux, you need a 64bit distribution, so if you have an old 32 bit processor youn cannot go ahead.

To check which version do you have, type in a shell

  • uname -a

If the results include "x86_64" you're ok.

  1. Installing Packages:

You need to install some little packages, to be able to proceed, you can do this with your favorite package manager: sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-dev:i386 g++-multilib mingw32 openjdk-6-jdk pngcrush schedtool tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386 Some systems need some trick to install all this package, is your care to check this process completed correctly and fix eventually problems.

  1. Install "repo":

Repo is the program that handles synchronization between our pc and the repository, in this case Cyanogen's one. To install do:

  1. Download source codes:

  1. Download Prebuilt files:

There are some others files needed.

  • . ~/CM9/vendor/cm/get-prebuilts

Another small wait time and we're ready!

  1. Build ROM:

  • cd CM9
  • source build/envsetup.sh && brunch cm_p350-userdebug
  1. Installing:

  • Grab new file named cm-9-(DATE)-UNOFFICIAL-p350 from CM9/out/target/product/p350
  • Push ZIP to SD Card and install
  • Install Google Apps
  1. Update Source:

If you want to update your build, you have to do only this:

  • cd CM9
  • repo sync -j16

and build again :D