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 and kernel hacks 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)

change do_mount_devprocsys
 * Follow the remaining instructions in the HADK to build any missing packages and make the boot and root images
 * Installation requires a modern recovery. I used 4ext
 * When the root image is installed, adb shell into recovery and edit /data/.stowaways/sailfish/init-debug

to do_mount_devprocsys echo 1 > /sys/class/android_usb/f_rndis/on
 * 1) Activate usb0 for HTC ACE

This will enable the usb0 network device to enable you to telnet into the system


 * Follow the instructions on https://wiki.merproject.org/wiki/Nemo/USBNetworking to enable networking to the outside world