[OnePlus 3 Guides, News, & Discussion] MarcoLK:
Ok guys i have found the error.

if you following the guide you can not change the ram size for jack server.

only after running brunch oneplus3 for f*cking 2 hours there is installing the jack server for you.

and then you can change it.

so i have to wait 4 hours and 40 minutes instead of 2 hours and 40 minutes because after 2 hours there is an error with the heap size :D

and then you can change it

someone should find a way to install the jack server before building.

i will build tomorrow the final build.

i read in the log that it says that you should be sure that you have installed jack server.

and then he is installing it: installing jack server (or so) BUT then the jack server is running on low ram

can someone look at this? https://developer.android.com/guide/platform/j8-jack.html#configuration

i do not have any knowledge of this :)

now i have a .jack-server folder in my personal folder of ubuntu.

edit: the ninja wrapper error again. subcommand failed

[ 55% 23472/42372] target C++: libril <= hardware/ril-caf/libril/RilSocket.cpp
FAILED: /bin/bash -c "(PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -I device/oneplus/oneplus3/include -I external/nanopb-c -I hardware/ril-caf/libril/../include -I hardware/ril-caf/libril -I /home/marcoj/android/system/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libril_intermediates -I /home/marcoj/android/system/out/target/product/oneplus3/gen/SHARED_LIBRARIES/libril_intermediates -I libnativehelper/include/nativehelper \$(cat /home/marcoj/android/system/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libril_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem hardware/ril-caf/include -isystem /home/marcoj/android/system/out/target/product/oneplus3/obj/include -isystem bionic/libc/arch-arm64/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/uapi/asm-arm64 -isystem bionic/libm/include -isystem bionic/libm/include/arm64 -c -fno-exceptions -Wno-multichar -fno-strict-aliasing -fstack-protector-strong -ffunction-sections -fdata-sections -funwind-tables -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -Werror=pointer-to-int-cast -Werror=int-to-pointer-cast -Werror=implicit-function-declaration -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -DNDEBUG -O2 -g -Wstrict-aliasing=2 -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -nostdlibinc -target aarch64-linux-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -fvisibility-inlines-hidden -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -Wsign-promo -Wno-inconsistent-missing-override -nostdlibinc -fno-rtti -fPIC -D_USING_LIBCXX -fsanitize=integer -fsanitize-trap=all -ftrap-function=abort -std=gnu++14 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF /home/marcoj/android/system/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libril_intermediates/RilSocket.d -o /home/marcoj/android/system/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libril_intermediates/RilSocket.o hardware/ril-caf/libril/RilSocket.cpp ) && (cp /home/marcoj/android/system/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libril_intermediates/RilSocket.d /home/marcoj/android/system/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libril_intermediates/RilSocket.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /home/marcoj/android/system/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libril_intermediates/RilSocket.d >> /home/marcoj/android/system/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libril_intermediates/RilSocket.P; rm -f /home/marcoj/android/system/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libril_intermediates/RilSocket.d )"
In file included from hardware/ril-caf/libril/RilSocket.cpp:20:
In file included from hardware/ril-caf/libril/RilSocket.h:20:
hardware/ril-caf/libril/rilSocketQueue.h:19:10: fatal error: 'hardware/ril/librilutils/proto/sap-api.pb.h' file not found
#include <hardware/ril/librilutils/proto/sap-api.pb.h>
^
1 error generated.
[ 55% 23472/42372] target C++: libril <= hardware/ril-caf/libril/RilSapSocket.cpp
FAILED: /bin/bash -c "(PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -I device/oneplus/oneplus3/include -I external/nanopb-c -I hardware/ril-caf/libril/../include -I hardware/ril-caf/libril -I /home/marcoj/android/system/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libril_intermediates -I /home/marcoj/android/system/out/target/product/oneplus3/gen/SHARED_LIBRARIES/libril_intermediates -I libnativehelper/include/nativehelper \$(cat /home/marcoj/android/system/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libril_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem hardware/ril-caf/include -isystem /home/marcoj/android/system/out/target/product/oneplus3/obj/include -isystem bionic/libc/arch-arm64/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/uapi/asm-arm64 -isystem bionic/libm/include -isystem bionic/libm/include/arm64 -c -fno-exceptions -Wno-multichar -fno-strict-aliasing -fstack-protector-strong -ffunction-sections -fdata-sections -funwind-tables -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -Werror=pointer-to-int-cast -Werror=int-to-pointer-cast -Werror=implicit-function-declaration -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -DNDEBUG -O2 -g -Wstrict-aliasing=2 -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -nostdlibinc -target aarch64-linux-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -fvisibility-inlines-hidden -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -Wsign-promo -Wno-inconsistent-missing-override -nostdlibinc -fno-rtti -fPIC -D_USING_LIBCXX -fsanitize=integer -fsanitize-trap=all -ftrap-function=abort -std=gnu++14 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF /home/marcoj/android/system/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libril_intermediates/RilSapSocket.d -o /home/marcoj/android/system/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libril_intermediates/RilSapSocket.o hardware/ril-caf/libril/RilSapSocket.cpp ) && (cp /home/marcoj/android/system/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libril_intermediates/RilSapSocket.d /home/marcoj/android/system/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libril_intermediates/RilSapSocket.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /home/marcoj/android/system/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libril_intermediates/RilSapSocket.d >> /home/marcoj/android/system/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libril_intermediates/RilSapSocket.P; rm -f /home/marcoj/android/system/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libril_intermediates/RilSapSocket.d )"
In file included from hardware/ril-caf/libril/RilSapSocket.cpp:21:
In file included from hardware/ril-caf/libril/RilSapSocket.h:21:
In file included from hardware/ril-caf/libril/RilSocket.h:20:
hardware/ril-caf/libril/rilSocketQueue.h:19:10: fatal error: 'hardware/ril/librilutils/proto/sap-api.pb.h' file not found
#include <hardware/ril/librilutils/proto/sap-api.pb.h>
^
1 error generated.
[ 55% 23472/42372] target C++: libril <= hardware/ril-caf/libril/ril.cpp
FAILED: /bin/bash -c "(PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -I device/oneplus/oneplus3/include -I external/nanopb-c -I hardware/ril-caf/libril/../include -I hardware/ril-caf/libril -I /home/marcoj/android/system/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libril_intermediates -I /home/marcoj/android/system/out/target/product/oneplus3/gen/SHARED_LIBRARIES/libril_intermediates -I libnativehelper/include/nativehelper \$(cat /home/marcoj/android/system/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libril_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem hardware/ril-caf/include -isystem /home/marcoj/android/system/out/target/product/oneplus3/obj/include -isystem bionic/libc/arch-arm64/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/uapi/asm-arm64 -isystem bionic/libm/include -isystem bionic/libm/include/arm64 -c -fno-exceptions -Wno-multichar -fno-strict-aliasing -fstack-protector-strong -ffunction-sections -fdata-sections -funwind-tables -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -Werror=pointer-to-int-cast -Werror=int-to-pointer-cast -Werror=implicit-function-declaration -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -DNDEBUG -O2 -g -Wstrict-aliasing=2 -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -nostdlibinc -target aarch64-linux-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -fvisibility-inlines-hidden -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -Wsign-promo -Wno-inconsistent-missing-override -nostdlibinc -fno-rtti -fPIC -D_USING_LIBCXX -fsanitize=integer -fsanitize-trap=all -ftrap-function=abort -std=gnu++14 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF /home/marcoj/android/system/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libril_intermediates/ril.d -o /home/marcoj/android/system/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libril_intermediates/ril.o hardware/ril-caf/libril/ril.cpp ) && (cp /home/marcoj/android/system/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libril_intermediates/ril.d /home/marcoj/android/system/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libril_intermediates/ril.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /home/marcoj/android/system/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libril_intermediates/ril.d >> /home/marcoj/android/system/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libril_intermediates/ril.P; rm -f /home/marcoj/android/system/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libril_intermediates/ril.d )"
In file included from hardware/ril-caf/libril/ril.cpp:49:
In file included from hardware/ril-caf/libril/RilSapSocket.h:21:
In file included from hardware/ril-caf/libril/RilSocket.h:20:
hardware/ril-caf/libril/rilSocketQueue.h:19:10: fatal error: 'hardware/ril/librilutils/proto/sap-api.pb.h' file not found
#include <hardware/ril/librilutils/proto/sap-api.pb.h>
^
1 error generated.
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: die Regel für Ziel „ninja_wrapper“ scheiterte
make: *** [ninja_wrapper] Fehler 1
make: Verzeichnis „/home/marcoj/android/system“ wird verlassen

#### make failed to build some targets (01:36:33 (hh:mm:ss)) ####

marcoj@marcoj-desktop:~/android/system$

it is so annoying.... the ninja wrapper error was something with the manifest first but what is this now?

Ok I read on the cm Wiki and typed "repo init roomservice.xml" after that repo Sync and then Brunch oneplus3 and now I am on 71% and before it crashed at 55

Build successful