Project Cyanogenmod for HTC Desire HD: Difference between revisions

From JoBaPedia
Jump to navigation Jump to search
Line 28: Line 28:
  repo sync
  repo sync


== Step by step ==
== Preparation ==
  cd /suse-11.0/mspr/cyanogenmod/
  cd /suse-11.0/mspr/cyanogenmod/
  mkdir -p cm11
  mkdir -p cm11
Line 35: Line 35:
  cd ..
  cd ..
  mkdir -p .repo/local_manifests
  mkdir -p .repo/local_manifests
== 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
  wget https://github.com/AceEnablementProject/android/raw/cm-11.0/local_manifest.xml -O .repo/local_manifests/cm_ace.xml
  repo sync
  repo sync

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

Preparation

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

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