Project Cyanogenmod for HTC Desire HD: Difference between revisions

From JoBaPedia
Jump to navigation Jump to search
Line 22: Line 22:
  chmod a+x ~/bin/repo
  chmod a+x ~/bin/repo
  sha1sum ~/bin/repo
  sha1sum ~/bin/repo
* Init repo
cd /suse-11.0/mspr/cyanogenmod/
mkdir -p cm11
cd cm11
repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
cd ..
mkdir -p .repo/local_manifests


== Not sure this is needed ==
== Not sure this is needed ==

Revision as of 20:14, 11 June 2014

Cyanogenmod for HTC Desire HD

Original documentation

http://wiki.cyanogenmod.org/w/Build_for_ace

Preparation

A lot of steps missing (since already done)

  • Install dev packages
  • Activate ccache and define separate build output
sudo mkdir -p /backup/cyanogenmod/ccache
sudo mkdir -p /backup/cyanogenmod/out
sudo chown -R joachim:users /backup/cyanogenmod
  • edit ~/.bashrc
export USE_CCACHE=1
export CCACHE_DIR=/backup/cyanogenmod/ccache
export OUT_DIR_COMMON_BASE=/backup/cyanogenmod/out
  • Get repo script
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
sha1sum ~/bin/repo
  • Init repo
cd /suse-11.0/mspr/cyanogenmod/
mkdir -p cm11
cd cm11
repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
cd ..
mkdir -p .repo/local_manifests

Not sure this is needed

cd /suse-11.0/mspr/cyanogenmod/
repo init -u https://android.googlesource.com/platform/manifest
repo sync

Step by step

cd /suse-11.0/mspr/cyanogenmod/
wget https://github.com/AceEnablementProject/android/raw/cm-11.0/local_manifest.xml -O .repo/local_manifests/cm_ace.xml
repo sync
cd vendor/cm/
./get-prebuilts
cd ../../
. build/envsetup.sh
lunch cm_ace-userdebug
make bacon