[Galaxy Grand Prime Android Development] Zippy Dufus:
More questions

[MENTION=7569388]vince2678[/MENTION]

I have some questions:

I'm still getting some issues attempting to build. Below is the end of the output as well as my script. Do you see anything obvious? Am I supposed to init the CM repo? I have another script which deletes everything but .repo from my build directory. Similar scripts are used to build my other devices.

Do you know for a fact that Heimdall doesn't work with our device or is it just not one of the devices that the Heimdall devs test with? I don't have ready access to a Windows machine. I'm planning on doing the initial rooting with my Windows employer's machine and Odin, though. I haven't been successful of passing thru the USB in "downloading" mode to a virtual machine but I'm still investigating.

Have you successfully flashed the resultant ROM produced by this build? If so, what recovery did you use. I hope to use TWRP and saw a site where it was flashed via Odin on a variant.

I've been keenly monitoring both your thread but I'm not in any hurry to resolve and flash this because I see that your ROM is not quite there yet for a daily driver. But it is very close and I appreciate your hard work!

Thanks.

...

...

...

Invalid lunch combo: cm_gprimeltecan_userdebug

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=5.1.1

CM_VERSION=

TARGET_PRODUCT=full

TARGET_BUILD_VARIANT=eng

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a

TARGET_CPU_VARIANT=generic

TARGET_2ND_ARCH=

TARGET_2ND_ARCH_VARIANT=

TARGET_2ND_CPU_VARIANT=

HOST_ARCH=x86_64

HOST_OS=linux

HOST_OS_EXTRA=Linux-4.6.4-301.fc24.x86_64-x86_64-with-fedora-24-Twenty_Four

HOST_BUILD_TYPE=release

BUILD_ID=LMY49J

OUT_DIR=/home/android/out

============================================

Checking build tools versions...

"ebtables is disabled on this build"

find: ‘dummy’: No such file or directory

build/core/base_rules.mk:154: *** platform_testing/tests/jank/webview: MODULE.TARGET.APPS.UbWebViewJankTests already defined by frameworks/webview/chromium/tests/UbWebViewJankTests. Stop.

#### make failed to build some targets (03:44 (mm:ss)) ####

real	16m20.874s

user	3m43.500s

sys	3m30.562s

​

!/bin/sh

export PATH=$HOME/bin:$PATH

CROOT=/home/android

LOGFILE=$CROOT/Logs/sync_build_prime.$(date +'%y%m%d-%H%M').log

time (

#set -x

export USE_CCACHE=0

java -version

# Set up local manifest

rm -f $CROOT/.repo/local_manifest.xml

echo '<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<remove-project name="device/generic/mini-emulator-arm64"/>

<remove-project name="device/generic/mini-emulator-mips"/>

<remove-project name="device/generic/mini-emulator-x86"/>

<remove-project name="device/generic/mini-emulator-x86_64"/>

<remove-project name="device/generic/qemu"/>

<remove-project name="device/generic/x86"/>

<remove-project name="device/generic/x86_64"/>

<remove-project name="device/google/accessory/arduino"/>

<remove-project name="device/google/accessory/demokit"/>

<remove-project name="platform/prebuilts/android-emulator"/>

<remove-project name="platform/prebuilts/eclipse"/>

<remove-project name="platform/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.8"/>

<remove-project name="platform/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1"/>

<remove-project name="platform/prebuilts/gcc/darwin-x86/mips/mips64el-linux-android-4.9"/>

<remove-project name="platform/prebuilts/gcc/darwin-x86/x86/x86_64-linux-android-4.9"/>

<remove-project name="platform/prebuilts/python/darwin-x86/2.7.5"/>

<remove-project name="platform/prebuilts/gradle-plugin"/>

<remove-project name="platform/prebuilts/libs/libedit"/>

<remove-project name="platform/prebuilts/maven_repo/android"/>

<remove-project name="platform/sdk"/>

<project path="device/samsung/gprimeltecan" name="vince2678/android_device_samsung_gprimeltecan" groups="device" remote="github" revision="cm-12.1"/>

<project path="device/qcom-common" name="vince2678/android_device_qcom-common" remote="github" revision="cm-12.1"/>

<project path="kernel/gprimeltecan" name="vince2678/android_kernel_gprimeltecan" remote="github" revision="cm-12.1"/>

<project path="vendor/samsung/gprimeltecan" name="vince2678/android_vendor_samsung_gprimeltecan" remote="github" revision="cm-12.1"/>

<project path="device/samsung/qcom-common" name="CyanogenMod/android_device_samsung_qcom-common" groups="device"/>

</manifest>' > $CROOT/.repo/local_manifest.xml

cd $CROOT

repo init -u git://github.com/CyanogenMod/android.git -b cm-12.1

repo sync --force-sync

. build/envsetup.sh && lunch cm_gprimeltecan_userdebug

make otapackage

sync

) 2>&1 | tee -a $LOGFILE

​