Project Cyanogenmod for HTC Desire HD: Difference between revisions

From JoBaPedia
Jump to navigation Jump to search
Line 33: Line 33:


Info from Q&A here: http://forum.xda-developers.com/showthread.php?t=2533007
Info from Q&A here: http://forum.xda-developers.com/showthread.php?t=2533007
Info on other inofficial builds here: http://wiki.cyanogenmod.org/w/Unofficial_Ports#HTC_Desire_HD_.2F_Inspire_4G_.28Ace.29


  ssh joachim@job1
  ssh joachim@job1

Revision as of 15:36, 18 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

Prep again

Info from Q&A here: http://forum.xda-developers.com/showthread.php?t=2533007 Info on other inofficial builds here: http://wiki.cyanogenmod.org/w/Unofficial_Ports#HTC_Desire_HD_.2F_Inspire_4G_.28Ace.29

ssh joachim@job1

mkdir -p /dev/shm/cm11/ccache
mkdir /dev/shm/cm11/out

echo "export USE_CCACHE=1" >>~/.bashrc
echo "export CCACHE_DIR=/dev/shm/cm11/ccache" >>~/.bashrc
echo "export OUT_DIR_COMMON_BASE=/dev/shm/cm11/out" >>~/.bashrc

. ~/.bashrc

curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo

mkdir /data3/cm11
cd /data3/cm11

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

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