[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] BorkenStyler:
Hey [MENTION=7112923]p.a.n[/MENTION]

thanks for this cm13 rom.

have been using it for about 1 week with just 2 issues:

-wlan disconnects if screen isnt turned on for couple of minutes

-battery lasts not very long

otherwise its very nice and smooth, almost perfect.

So i have a lot of free time as of this week and since everyday a new nightly comes out

i want to be able to make my own cm13 rom.

After following your guide 1:1 literally copy and paste i cant get the brunch to work.

This is the terminal log:

PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0.1
CM_VERSION=13.0-20160306-UNOFFICIAL-i9305
TARGET_PRODUCT=cm_i9305
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.2.0-30-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=MMB29U
OUT_DIR=/home/max/android/system/out
============================================

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0.1
CM_VERSION=13.0-20160306-UNOFFICIAL-i9305
TARGET_PRODUCT=cm_i9305
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.2.0-30-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=MMB29U
OUT_DIR=/home/max/android/system/out
============================================
"ebtables is disabled on this build"
find: `dummy': No such file or directory
find: `dummy': No such file or directory
find: `dummy': No such file or directory
find: `dummy': No such file or directory
find: `dummy': No such file or directory
find: `dummy': No such file or directory
find: `dummy': No such file or directory
make: Entering directory `/home/max/android/system'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/max/android/system/out/target/product/i9305/obj/include/libsecmm/mfc_errno.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/max/android/system/out/target/product/i9305/obj/include/libsecmm/mfc_errno.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/max/android/system/out/target/product/i9305/obj/include/libsecmm/mfc_interface.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/max/android/system/out/target/product/i9305/obj/include/libsecmm/mfc_interface.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/max/android/system/out/target/product/i9305/obj/include/libsecmm/SsbSipMfcApi.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/max/android/system/out/target/product/i9305/obj/include/libsecmm/SsbSipMfcApi.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/max/android/system/out/target/product/i9305/obj/include/libsecmm/mfc_errno.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/max/android/system/out/target/product/i9305/obj/include/libsecmm/mfc_errno.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/max/android/system/out/target/product/i9305/obj/include/libsecmm/mfc_interface.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/max/android/system/out/target/product/i9305/obj/include/libsecmm/mfc_interface.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/max/android/system/out/target/product/i9305/obj/include/libsecmm/SsbSipMfcApi.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/max/android/system/out/target/product/i9305/obj/include/libsecmm/SsbSipMfcApi.h'
PRODUCT_COPY_FILES device/samsung/smdk4412-common/rootdir/init.trace.rc:root/init.trace.rc ignored.
PRODUCT_COPY_FILES device/samsung/smdk4412-common/rootdir/ueventd.smdk4x12.rc:root/ueventd.smdk4x12.rc ignored.
PRODUCT_COPY_FILES device/samsung/smdk4412-common/configs/audio_effects.conf:system/etc/audio_effects.conf ignored.
PRODUCT_COPY_FILES device/samsung/smdk4412-common/configs/gps.conf:system/etc/gps.conf ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/max/android/system/out/target/product/i9305/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:559: warning: ignoring old commands for target `/home/max/android/system/out/target/product/i9305/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:46: warning: overriding commands for target `/home/max/android/system/out/target/product/i9305/system/lib/libfimc.so'
build/core/base_rules.mk:559: warning: ignoring old commands for target `/home/max/android/system/out/target/product/i9305/system/lib/libfimc.so'
build/core/Makefile:46: warning: overriding commands for target `/home/max/android/system/out/target/product/i9305/system/lib/libfimg.so'
build/core/base_rules.mk:559: warning: ignoring old commands for target `/home/max/android/system/out/target/product/i9305/system/lib/libfimg.so'
build/core/Makefile:46: warning: overriding commands for target `/home/max/android/system/out/target/product/i9305/system/lib/libhwconverter.so'
build/core/base_rules.mk:559: warning: ignoring old commands for target `/home/max/android/system/out/target/product/i9305/system/lib/libhwconverter.so'
build/core/Makefile:46: warning: overriding commands for target `/home/max/android/system/out/target/product/i9305/system/lib/libhwjpeg.so'
build/core/base_rules.mk:559: warning: ignoring old commands for target `/home/max/android/system/out/target/product/i9305/system/lib/libhwjpeg.so'
build/core/Makefile:46: warning: overriding commands for target `/home/max/android/system/out/target/product/i9305/system/lib/libUMP.so'
build/core/base_rules.mk:559: warning: ignoring old commands for target `/home/max/android/system/out/target/product/i9305/system/lib/libUMP.so'
build/core/Makefile:46: warning: overriding commands for target `/home/max/android/system/out/target/product/i9305/system/lib/libTVOut.so'
build/core/base_rules.mk:559: warning: ignoring old commands for target `/home/max/android/system/out/target/product/i9305/system/lib/libTVOut.so'
build/core/Makefile:46: warning: overriding commands for target `/home/max/android/system/out/target/product/i9305/system/etc/gps.conf'
build/core/Makefile:46: warning: ignoring old commands for target `/home/max/android/system/out/target/product/i9305/system/etc/gps.conf'
build/core/Makefile:46: warning: overriding commands for target `/home/max/android/system/out/target/product/i9305/system/lib/libril.so'
build/core/base_rules.mk:559: warning: ignoring old commands for target `/home/max/android/system/out/target/product/i9305/system/lib/libril.so'
PRODUCT_COPY_FILES vendor/samsung/i9305/proprietary/system/lib/libsecnativefeature.so:system/lib/libsecnativefeature.so ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/max/android/system/out/target/product/i9305/system/lib/libsecril-client.so'
build/core/base_rules.mk:559: warning: ignoring old commands for target `/home/max/android/system/out/target/product/i9305/system/lib/libsecril-client.so'
build/core/Makefile:46: warning: overriding commands for target `/home/max/android/system/out/target/product/i9305/system/lib/libloc_eng.so'
build/core/base_rules.mk:559: warning: ignoring old commands for target `/home/max/android/system/out/target/product/i9305/system/lib/libloc_eng.so'
build/core/Makefile:46: warning: overriding commands for target `/home/max/android/system/out/target/product/i9305/system/lib/libgps.utils.so'
build/core/base_rules.mk:559: warning: ignoring old commands for target `/home/max/android/system/out/target/product/i9305/system/lib/libgps.utils.so'
build/core/Makefile:46: warning: overriding commands for target `/home/max/android/system/out/target/product/i9305/system/lib/hw/gps.default.so'
build/core/base_rules.mk:559: warning: ignoring old commands for target `/home/max/android/system/out/target/product/i9305/system/lib/hw/gps.default.so'
PRODUCT_COPY_FILES vendor/samsung/i9305/proprietary/system/lib/libTVOut.so:system/lib/libTVOut.so ignored.
No private recovery resources for TARGET_DEVICE i9305
host Executable: acp (/home/max/android/system/out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp)
preparing StaticLib: libc++_static [including /home/max/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libc++abi_intermediates/libc++abi.a]
host StaticLib: libc++_static (/home/max/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libc++_static_intermediates/libc++_static.a)
preparing StaticLib: libselinux [including /home/max/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libpcre_intermediates/libpcre.a]
host StaticLib: libselinux (/home/max/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libselinux_intermediates/libselinux.a)
target StaticLib: libcompiler_rt-extras (/home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/libcompiler_rt-extras.a)
preparing StaticLib: libc_common [including /home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libc_aeabi_intermediates/libc_aeabi.a]
preparing StaticLib: libc_common [including /home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libc_bionic_intermediates/libc_bionic.a]
preparing StaticLib: libc++_static [including /home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libc++abi_intermediates/libc++abi.a]
target StaticLib: liblogwrap (/home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/liblogwrap_intermediates/liblogwrap.a)
target StaticLib: libc++_static (/home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libc++_static_intermediates/libc++_static.a)
target StaticLib: libutils (/home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libutils_intermediates/libutils.a)
preparing StaticLib: libselinux [including /home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libpcre_intermediates/libpcre.a]
target StaticLib: libadbd (/home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libadbd_intermediates/libadbd.a)
target StaticLib: libselinux (/home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libselinux_intermediates/libselinux.a)
preparing StaticLib: libc_common [including /home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libc_bionic_ndk_intermediates/libc_bionic_ndk.a]
make: *** No rule to make target `vendor/samsung/smdk4412-common/proprietary/sbin/cbd', needed by `/home/max/android/system/out/target/product/i9305/root/sbin/cbd'. Stop.
make: *** Waiting for unfinished jobs....
preparing StaticLib: libminui [including /home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libadf_intermediates/libadf.a]
preparing StaticLib: libminui [including /home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libdrm_intermediates/libdrm.a]
target StaticLib: libpng (/home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a)
target StaticLib: libminui (/home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libminui_intermediates/libminui.a)
preparing StaticLib: libc_common [including /home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libc_cxa_intermediates/libc_cxa.a]
preparing StaticLib: libc_common [including /home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libc_dns_intermediates/libc_dns.a]
preparing StaticLib: libc_common [including /home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libc_freebsd_intermediates/libc_freebsd.a]
preparing StaticLib: libc_common [including /home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libc_gdtoa_intermediates/libc_gdtoa.a]
preparing StaticLib: libc_common [including /home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libc_malloc_intermediates/libc_malloc.a]
preparing StaticLib: libc_common [including /home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libc_netbsd_intermediates/libc_netbsd.a]
preparing StaticLib: libc_common [including /home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libc_openbsd_intermediates/libc_openbsd.a]
preparing StaticLib: libc_common [including /home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libc_openbsd_ndk_intermediates/libc_openbsd_ndk.a]
preparing StaticLib: libc_common [including /home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libc_pthread_intermediates/libc_pthread.a]
preparing StaticLib: libc_common [including /home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libc_stack_protector_intermediates/libc_stack_protector.a]
preparing StaticLib: libc_common [including /home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libc_syscalls_intermediates/libc_syscalls.a]
preparing StaticLib: libc_common [including /home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libc_thread_atexit_impl_intermediates/libc_thread_atexit_impl.a]
preparing StaticLib: libc_common [including /home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libc_tzcode_intermediates/libc_tzcode.a]
target StaticLib: libc_common (/home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a)
make: Leaving directory `/home/max/android/system'
#### make failed to build some targets (35 seconds) ####

Strangely it gives me each time a different type of error, this was the attempt before:

target StaticLib: libadf (/home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libadf_intermediates/libadf.a)
target StaticLib: libdrm (/home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libdrm_intermediates/libdrm.a)
target asm: libpng <= external/libpng/arm/filter_neon.S
target thumb C: libpng <= external/libpng/png.c
target thumb C: libpng <= external/libpng/pngerror.c
target thumb C: libpng <= external/libpng/pngget.c
target thumb C: libpng <= external/libpng/pngmem.c
target thumb C: libpng <= external/libpng/pngpread.c
target thumb C: libpng <= external/libpng/pngread.c
target thumb C: libpng <= external/libpng/pngrio.c
target thumb C: libpng <= external/libpng/pngrtran.c
target thumb C: libpng <= external/libpng/pngrutil.c
target thumb C: libpng <= external/libpng/pngset.c
target thumb C: libpng <= external/libpng/pngtrans.c
target thumb C: libpng <= external/libpng/pngwio.c
target thumb C: libpng <= external/libpng/pngwrite.c
target thumb C: libpng <= external/libpng/pngwtran.c
target thumb C: libpng <= external/libpng/pngwutil.c
target thumb C: libpng <= external/libpng/arm/arm_init.c
target thumb C: libpng <= external/libpng/arm/filter_neon_intrinsics.c
target StaticLib: libstdc++ (/home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libstdc++_intermediates/libstdc++.a)
target StaticLib: libsuspend (/home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libsuspend_intermediates/libsuspend.a)
target StaticLib: libhealthd.exynos4 (/home/max/android/system/out/target/product/i9305/obj/STATIC_LIBRARIES/libhealthd.exynos4_intermediates/libhealthd.exynos4.a)
make: *** No rule to make target `vendor/samsung/smdk4412-common/proprietary/sbin/cbd', needed by `/home/max/android/system/out/target/product/i9305/root/sbin/cbd'. Stop.
make: *** Waiting for unfinished jobs....
host Executable: checkseapp (/home/max/android/system/out/host/linux-x86/obj/EXECUTABLES/checkseapp_intermediates/checkseapp)
make: Leaving directory `/home/max/android/system'

The only thing from your tutorial i wasnt able to follow was this:

"$ repo_patch cm-13.0-20160217-UNOFFICIAL-i9305.diff"

I was hoping you can help me here a litte.

Thank you in advance.