← Back to team overview

ubuntu-phone team mailing list archive

Porting to Samsung Galaxy Ace 2 GT-I8160

 

Hello.

I am trying to port to Galaxy Ace 2 (codename codina) using this device sources: https://github.com/TeamCanjica.

After the changes described in porting guide I get the error while compilation:

" make: *** No rule to make target `/home/lexar/phablet-saucy/out/target/product/codina/android-boot.img', needed by `/home/lexar/phablet-saucy/out/target/product/codina/obj/PACKAGING/target_files_intermediates/cm_codina-target_files-eng.lexar.zip'. Stop. "

I found it similar to the following problem: https://lists.launchpad.net/ubuntu-phone/msg02999.html. We also have to use BOARD_CUSTOM_BOOTIMG_MK, that invokes https://github.com/TeamCanjica/android_device_samsung_u8500-common/blob/cm-10.1_staging/shbootimg.mk.

After trying changing this line
INSTALLED_BOOTIMAGE_TARGET := $(PRODUCT_OUT)/boot.img
to
INSTALLED_BOOTIMAGE_TARGET := $(PRODUCT_OUT)/android-boot.img
and disabling releasetools the build passes successfully.

Is this a correct workaround?

The other question is about flashing: am I right, that I need to deploy daily build of common part (saucy-preinstalled-touch-armhf.zip) after flashing the main package?

Thanks in advance.


Follow ups