Project Cyanogenmod for HTC Desire HD: Difference between revisions

From JoBaPedia
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Cyanogenmod for HTC Desire HD =
= Cyanogenmod for HTC Desire HD =


== Original documentation ==
== Infos ==


http://wiki.cyanogenmod.org/w/Build_for_ace
Detailed description with even more followup links http://wiki.cyanogenmod.org/w/Build_for_ace
 
== Build 1st time ==
 
A lot of steps may be missing (since already done)
 
* Install dev packages


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
Line 18: Line 12:


Info on Build tool "repo" (download, sha sum): http://source.android.com/source/initializing.html
Info on Build tool "repo" (download, sha sum): http://source.android.com/source/initializing.html
== Build 1st time ==
A lot of steps (like installing dev packages and android sdk) may be missing (since already done)


  ssh joachim@job1
  ssh joachim@job1
Line 61: Line 59:
  lunch cm_ace-userdebug
  lunch cm_ace-userdebug
  make bacon
  make bacon
== Not sure this is needed ==
cd /suse-11.0/mspr/cyanogenmod/
repo init -u https://android.googlesource.com/platform/manifest
repo sync

Latest revision as of 10:28, 19 June 2014

Cyanogenmod for HTC Desire HD

Infos

Detailed description with even more followup links http://wiki.cyanogenmod.org/w/Build_for_ace

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

Info on android initializing an android build environment: http://source.android.com/source/initializing.html

Info on Build tool "repo" (download, sha sum): http://source.android.com/source/initializing.html

Build 1st time

A lot of steps (like installing dev packages and android sdk) may be missing (since already done)

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 ../../
# not sure about this. Needed once for ccache speedup according to http://source.android.com/source/initializing.html
prebuilts/misc/linux-x86/ccache/ccache -M 50G
. build/envsetup.sh
lunch cm_ace-userdebug
make bacon

Build 2nd time

cd /data3/cm11

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