The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)


Community Workspace/HTC ACE

From Mer Wiki
< Community Workspace
Revision as of 18:35, 10 August 2014 by Piggz (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Notes on building Sailfish for the HTC Desire HD (ACE)

  • Follow the instructions in the Sailfish OS HADK
  • When setting up the repos, edit manifest.xml to include the repos for the HTC ACE:
<project path="device/htc/ace" name="AceEnablementProject/android_device_htc_ace" revision="cm-11.0" />
<project path="device/htc/msm7x30-common" name="piggz/android_device_htc_msm7x30-common" revision="cm-11.0" />
<project path="vendor/htc/ace" name="AceEnablementProject/android_vendor_htc_ace" revision="cm-11.0" />
<project path="vendor/qcom/proprietary" name="AceEnablementProject/android_vendor_qcom_proprietary" revision="cm-11.0" />
<project path="kernel/htc/htc7x30-3.0" name="AceEnablementProject/android_kernel_htc_msm7x30" revision="cm-11.0" />

The piggz repo above contains the kernel config changes for Sailfish, the remaining repos are from the AceEnablementProject

  • Edit hybris/hybris-boot/fixup-mountpoints and add a section for the ace
   "ace")
      sed -i \
           -e 's block/platform/msm_sdcc.2/by-num/p25 mmcblk0p25 ' \
           -e 's block/platform/msm_sdcc.2/by-num/p26 mmcblk0p26 ' \
           -e 's block/platform/msm_sdcc.2/by-num/p27 mmcblk0p27 ' \
           -e 's block/platform/msm_sdcc.2/by-num/p28 mmcblk0p28 ' \
           "$@"
       ;;
  • Edit the hybris/hybris-boot/Android.mk to hardcode the partitions used:
#HYBRIS_BOOT_PART := $(shell /usr/bin/perl -w -e '$$fs=shift; while (<>) { next unless /^$$fs\s|\s$$fs\s/;for (split) {next unless m(^/dev); print "$$_\n"; }}' /boot $(HYBRIS_FSTABS) | sort -u)
#HYBRIS_DATA_PART := $(shell /usr/bin/perl -w -e '$$fs=shift; while (<>) { next unless /^$$fs\s|\s$$fs\s/;for (split) {next unless m(^/dev); print "$$_\n"; }}' /data $(HYBRIS_FSTABS) | sort -u)
HYBRIS_BOOT_PART := /dev/block/mmcblk0p22
HYBRIS_DATA_PART := /dev/block/mmcblk0p26
Personal tools