Community Workspace/HTC ACE

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:

    

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

"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 hybris/hybris-boot/fixup-mountpoints and add a section for the ace

HYBRIS_BOOT_PART := /dev/block/mmcblk0p22 HYBRIS_DATA_PART := /dev/block/mmcblk0p26
 * Edit the hybris/hybris-boot/Android.mk to hardcode the partitions used:
 * 1) 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)
 * 2) 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)