Project Cyanogenmod for HTC Desire HD: Difference between revisions

From JoBaPedia
Jump to navigation Jump to search
(Created page with "= Cyanogenmod for HTC Desire HD = == Original documentation == http://wiki.cyanogenmod.org/w/Build_for_ace == Preparation == A lot of steps missing (since already done) *...")
 
Line 30: Line 30:
== Step by step ==
== Step by step ==
  cd /suse-11.0/mspr/cyanogenmod/
  cd /suse-11.0/mspr/cyanogenmod/
  mkdir cm11
  mkdir -p cm11
  cd cm11
  cd cm11
  repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
  repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0

Revision as of 20:02, 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

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/
mkdir -p cm11
cd cm11
repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
cd ..
mkdir -p .repo/local_manifests
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