Guys currently i am downloading the cm10 sources and its 91% done after the completion i will start the development, so the thing is to post this thread is that i want some dev's who are ready to help me in this project. See i am not doing this for me its for all of us...I am not forcing anyone here to join me and all.. i just want some interested ppls who are ready to help ..
jus comment if you are willing to join and make it a success ... thank you.
I am not a DEV and dont have that much knowledge but i would be very glad to help u and those people who hav a lil'bit concerne for our device.....!!!
I AM THERE WITH U BR:angel:
download of JB source completed
Guys good news i ve just now completed the JB source download
Good luck bro
Sent from my GT-S5670 using xda premium
got like this now ...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.1
TARGET_PRODUCT=cm_beni
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv6-vfp
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-2.6.32-42-generic-i686-with-Ubuntu-10.04-lucid
HOST_BUILD_TYPE=release
BUILD_ID=JRO03L
OUT_DIR=out
============================================
what cmd ive to use to make a flashable zip file ??... pls help ....
Ravi H Basawa said:
got like this now ...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.1
TARGET_PRODUCT=cm_beni
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv6-vfp
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-2.6.32-42-generic-i686-with-Ubuntu-10.04-lucid
HOST_BUILD_TYPE=release
BUILD_ID=JRO03L
OUT_DIR=out
============================================
what cmd ive to use to make a flashable zip file ??... pls help ....
Click to expand...
Click to collapse
Try this:
Code:
$ make -j# otapackage
- Via xda premium
i got the following
[email protected]:~/android/system$ make -j# otapackage
make: the `-j' option requires a positive integral argument
Usage: make [options] [target] ...
Options:
-b, -m Ignored for compatibility.
-B, --always-make Unconditionally make all targets.
-C DIRECTORY, --directory=DIRECTORY
Change to DIRECTORY before doing anything.
-d Print lots of debugging information.
--debug[=FLAGS] Print various types of debugging information.
-e, --environment-overrides
Environment variables override makefiles.
-f FILE, --file=FILE, --makefile=FILE
Read FILE as a makefile.
-h, --help Print this message and exit.
-i, --ignore-errors Ignore errors from commands.
-I DIRECTORY, --include-dir=DIRECTORY
Search DIRECTORY for included makefiles.
-j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg.
-k, --keep-going Keep going when some targets can't be made.
-l [N], --load-average[=N], --max-load[=N]
Don't start multiple jobs unless load is below N.
-L, --check-symlink-times Use the latest mtime between symlinks and target.
-n, --just-print, --dry-run, --recon
Don't actually run any commands; just print them.
-o FILE, --old-file=FILE, --assume-old=FILE
Consider FILE to be very old and don't remake it.
-p, --print-data-base Print make's internal database.
-q, --question Run no commands; exit status says if up to date.
-r, --no-builtin-rules Disable the built-in implicit rules.
-R, --no-builtin-variables Disable the built-in variable settings.
-s, --silent, --quiet Don't echo commands.
-S, --no-keep-going, --stop
Turns off -k.
-t, --touch Touch targets instead of remaking them.
-v, --version Print the version number of make and exit.
-w, --print-directory Print the current directory.
--no-print-directory Turn off -w, even if it was turned on implicitly.
-W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
Consider FILE to be infinitely new.
--warn-undefined-variables Warn when an undefined variable is referenced.
This program built for i486-pc-linux-gnu
Report bugs to <[email protected]>
how much progress bro????
is all things goin good???
i am trying to contact some dev's to help us out in this project and if they agree i will let u know 1st as soon as possible. ..
till then carry on with jb and do as much a u can bro coz we hav to make this a success..
maybe this can help...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
---------- Post added at 04:35 PM ---------- Previous post was at 04:13 PM ----------
noypi_101 said:
maybe this can help...
Click to expand...
Click to collapse
http://www.kernel-xp.net/index.php/en/guide/25-android/32-compilare-cm10
sudarshan_mehta said:
how much progress bro????
is all things goin good???
i am trying to contact some dev's to help us out in this project and if they agree i will let u know 1st as soon as possible. ..
till then carry on with jb and do as much a u can bro coz we hav to make this a success..
Click to expand...
Click to collapse
ya everything is fine the only thing is i left out with a kernel now i am building kernel for it. After the completion of kernel building only the real battle starts
which version ??
Ravi H Basawa said:
ya everything is fine the only thing is i left out with a kernel now i am building kernel for it. After the completion of kernel building only the real battle starts
Click to expand...
Click to collapse
Which version are you building ?? is it the 2.6 one with certain addons and work arounds or your own one from scratch like the one hillbeast is making 3.4.x ?
oh and what file system are you gonna use mtd OR flash.
Dark Passenger said:
Which version are you building ?? is it the 2.6 one with certain addons and work arounds or your own one from scratch like the one hillbeast is making 3.4.x ?
oh and what file system are you gonna use mtd OR flash.
Click to expand...
Click to collapse
i m building on 2.6.xx and file system m using is flash
help me with this
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.1
TARGET_PRODUCT=cm_beni
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv6-vfp
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-2.6.32-42-generic-i686-with-Ubuntu-10.04-lucid
HOST_BUILD_TYPE=release
BUILD_ID=JRO03L
OUT_DIR=out
============================================
[email protected]:~/android/system$ make -j12 otapackage
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.1
TARGET_PRODUCT=cm_beni
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv6-vfp
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-2.6.32-42-generic-i686-with-Ubuntu-10.04-lucid
HOST_BUILD_TYPE=release
BUILD_ID=JRO03L
OUT_DIR=out
============================================
external/v8/Android.mk:22: WARNING: Building on ARM with non-ARMv7 variant. On ARM, V8 is well tested only on ARMv7.
find: `src': No such file or directory
build/core/Makefile:38: warning: overriding commands for target `out/target/product/beni/system/etc/mkshrc'
build/core/base_rules.mk:530: warning: ignoring old commands for target `out/target/product/beni/system/etc/mkshrc'
build/core/Makefile:38: warning: overriding commands for target `out/target/product/beni/system/lib/hw/gps.msm7x27.so'
build/core/base_rules.mk:530: warning: ignoring old commands for target `out/target/product/beni/system/lib/hw/gps.msm7x27.so'
build/core/Makefile:38: warning: overriding commands for target `out/target/product/beni/system/lib/egl/egl.cfg'
build/core/base_rules.mk:530: warning: ignoring old commands for target `out/target/product/beni/system/lib/egl/egl.cfg'
build/core/Makefile:38: warning: overriding commands for target `out/target/product/beni/system/lib/egl/libGLES_android.so'
build/core/base_rules.mk:530: warning: ignoring old commands for target `out/target/product/beni/system/lib/egl/libGLES_android.so'
build/core/Makefile:38: warning: overriding commands for target `out/target/product/beni/system/etc/permissions/platform.xml'
build/core/base_rules.mk:530: warning: ignoring old commands for target `out/target/product/beni/system/etc/permissions/platform.xml'
PRODUCT_COPY_FILES frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml ignored.
PRODUCT_COPY_FILES device/samsung/msm7x27-common/prebuilt/lib/hw/gps.msm7x27.so:system/lib/hw/gps.msm7x27.so ignored.
PRODUCT_COPY_FILES frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf ignored.
PRODUCT_COPY_FILES frameworks/base/data/keyboards/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES frameworks/base/data/keyboards/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES frameworks/base/data/keyboards/qwerty.kl:system/usr/keylayout/qwerty.kl ignored.
No private recovery resources for TARGET_DEVICE beni
build/core/tasks/kernel.mk:44: ***************************************************************
build/core/tasks/kernel.mk:45: * Using prebuilt kernel binary instead of source *
build/core/tasks/kernel.mk:46: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
build/core/tasks/kernel.mk:47: * Please configure your device to download the kernel *
build/core/tasks/kernel.mk:48: * source repository to kernel/samsung/msm7x27
build/core/tasks/kernel.mk:49: * See http://wiki.cyanogenmod.com/wiki/Integrated_kernel_building
build/core/tasks/kernel.mk:50: * for more information *
build/core/tasks/kernel.mk:51: ***************************************************************
make: *** No rule to make target `out/target/product/beni/kernel', needed by `out/target/product/beni/boot.img'. Stop.
make: *** Waiting for unfinished jobs....
Install: /home/ravihbasawa/android/system/out/host/linux-x86/bin/mkbootimg
can any one help me with this
[email protected]:~/android/system$ make -j12 otapackage
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.1
TARGET_PRODUCT=cm_beni
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv6-vfp
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-2.6.32-42-generic-i686-with-Ubuntu-10.04-lucid
HOST_BUILD_TYPE=release
BUILD_ID=JRO03L
OUT_DIR=out
============================================
external/v8/Android.mk:22: WARNING: Building on ARM with non-ARMv7 variant. On ARM, V8 is well tested only on ARMv7.
find: `src': No such file or directory
build/core/Makefile:38: warning: overriding commands for target `out/target/product/beni/system/etc/mkshrc'
build/core/base_rules.mk:530: warning: ignoring old commands for target `out/target/product/beni/system/etc/mkshrc'
build/core/Makefile:38: warning: overriding commands for target `out/target/product/beni/system/lib/hw/gps.msm7x27.so'
build/core/base_rules.mk:530: warning: ignoring old commands for target `out/target/product/beni/system/lib/hw/gps.msm7x27.so'
build/core/Makefile:38: warning: overriding commands for target `out/target/product/beni/system/lib/egl/egl.cfg'
build/core/base_rules.mk:530: warning: ignoring old commands for target `out/target/product/beni/system/lib/egl/egl.cfg'
build/core/Makefile:38: warning: overriding commands for target `out/target/product/beni/system/lib/egl/libGLES_android.so'
build/core/base_rules.mk:530: warning: ignoring old commands for target `out/target/product/beni/system/lib/egl/libGLES_android.so'
build/core/Makefile:38: warning: overriding commands for target `out/target/product/beni/system/etc/permissions/platform.xml'
build/core/base_rules.mk:530: warning: ignoring old commands for target `out/target/product/beni/system/etc/permissions/platform.xml'
PRODUCT_COPY_FILES frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml ignored.
PRODUCT_COPY_FILES device/samsung/msm7x27-common/prebuilt/lib/hw/gps.msm7x27.so:system/lib/hw/gps.msm7x27.so ignored.
PRODUCT_COPY_FILES frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf ignored.
PRODUCT_COPY_FILES frameworks/base/data/keyboards/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES frameworks/base/data/keyboards/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES frameworks/base/data/keyboards/qwerty.kl:system/usr/keylayout/qwerty.kl ignored.
No private recovery resources for TARGET_DEVICE beni
make -C kernel/samsung/msm7x27 O=/home/ravihbasawa/android/system/out/target/product/beni/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/ravihbasawa/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" cyanogenmod_beni_defconfig
make[1]: Entering directory `/home/ravihbasawa/android/system/kernel/samsung/msm7x27'
host C: mkbootfs <= system/core/cpio/mkbootfs.c
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc -mthumb-interwork -Ibionic/libc/private -DCRT_LEGACY_WORKAROUND -Ibionic/libc/private -Ibionic/libc/arch-arm/include -o out/target/product/beni/obj/lib/crtbegin_static.o -c bionic/libc/arch-arm/bionic/crtbegin_static.S
Export includes file: system/core/libcutils/Android.mk -- out/target/product/beni/obj/STATIC_LIBRARIES/libcutils_intermediates/export_includes
Export includes file: system/core/liblog/Android.mk -- out/target/product/beni/obj/STATIC_LIBRARIES/liblog_intermediates/export_includes
Export includes file: bionic/libc/Android.mk -- out/target/product/beni/obj/STATIC_LIBRARIES/libc_intermediates/export_includes
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
make: *** [out/target/product/beni/obj/lib/crtbegin_static.o] Error 126
make: *** Waiting for unfinished jobs....
HOSTCC scripts/basic/fixdep
GEN /home/ravihbasawa/android/system/out/target/product/beni/obj/KERNEL_OBJ/Makefile
HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
HOSTCC scripts/kconfig/kxgettext.o
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
drivers/usb/gadget/Kconfig:849:warning: defaults for choice values not supported
drivers/usb/gadget/Kconfig:1089:warning: defaults for choice values not supported
arch/arm/configs/cyanogenmod_beni_defconfig:670:warning: override: reassigning to symbol NETFILTER_TPROXY
arch/arm/configs/cyanogenmod_beni_defconfig:1298:warning: override: reassigning to symbol ECOMPASS
#
# configuration written to .config
#
make[1]: Leaving directory `/home/ravihbasawa/android/system/kernel/samsung/msm7x27'
Ravi H Basawa said:
ya everything is fine the only thing is i left out with a kernel now i am building kernel for it. After the completion of kernel building only the real battle starts
Click to expand...
Click to collapse
Why are you building karnel use karnel from that tjstyle made it works with jb (TheWhisp, Squadzone, erikcas did some changes to it ) it works great
https://github.com/TheWhisp/android_kernel_samsung_msm7x27
hdiablo said:
Why are you building karnel use karnel from that tjstyle made it works with jb (TheWhisp, Squadzone, erikcas did some changes to it ) it works great
https://github.com/TheWhisp/android_kernel_samsung_msm7x27
Click to expand...
Click to collapse
i tried the above but still i am not getting a flashable zip file as output ..! .. can u help me with this ? i made a folder in android/system as kernel/samsung/msm7x27 .. but im not getting so ...
Ravi H Basawa said:
i tried the above but still i am not getting a flashable zip file as output ..! .. can u help me with this ? i made a folder in android/system as kernel/samsung/msm7x27 .. but im not getting so ...
Click to expand...
Click to collapse
Going to collage i have exams these days only 3 left and i am finished finaly so i really dont have time you can take finished one from whisps build and just put it in your rom it should work great
http://androtransfer.com/?developer=thewhisp&folder=beni
Thanks a lot bro for developing cm 10 for our galfit..i don't think the whisp is much interested in developing for fit..
But you are really dedicated one..
But being a commerce student ,can't help even if want to
Sent from my GT-S5670 using xda app-developers app
---------- Post added at 03:32 AM ---------- Previous post was at 03:28 AM ----------
One suggestion ,you should start a thread in dev section ...if you want helpers and testers..
Bcoz hardly 10 percent people visit gen thread compared to the dev one..
Just a suggestion
Sent from my GT-S5670 using xda app-developers app
cm10 for galaxy fit ??
Hi man great work you are doing a suggestion why dont you try and work with thewisp and built a full working bug free cm10 for galaxy fit as he is very close to a perfect release and since you are a dev for fit it just might benifit all involved just asking.
Any news ??
Hello all!
I have recently started to get my system ready for some android software and kernel programming. I am following the guide from the cyanogenmod website. I am unable to post an exact link due to my low post count, apologies. If you really need to see which guide I am using, message me and ill get it to you.
I am stuck on the last step of "Configure the Build."
When I send "make ARCH=arm CROSS_COMPILE=$CCOMPILER oldconfig" to terminal, the following is my output.
Code:
[email protected]:~/android/system# make ARCH=arm CROSS_COMPILE=$CCOMPILER oldconfig
/bin/bash: bison: command not found
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.2
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.8.0-19-generic-x86_64-with-Ubuntu-13.04-raring
HOST_BUILD_TYPE=release
BUILD_ID=JZO54K
OUT_DIR=/root/android/system/out
============================================
grep: build/target/board/generic/recovery.fstab: No such file or directory
find: `src': No such file or directory
build/core/tasks/kernel.mk:82: **********************************************************
build/core/tasks/kernel.mk:83: * Kernel source found, but no configuration was defined *
build/core/tasks/kernel.mk:84: * Please add the TARGET_KERNEL_CONFIG variable to your *
build/core/tasks/kernel.mk:85: * BoardConfig.mk file *
build/core/tasks/kernel.mk:86: **********************************************************
make: *** No rule to make target `oldconfig'. Stop.
[email protected]:~/android/system#
I am unable to locate BoardConfig.mk for an unknown reason. Also, I dont know why the GREP returned no such file or directory, and why src wasnt found either.
Please help, I am almost completely set up to start helping the community!
Thanks,
Azraelpwnz
Hey Guys,
im trying to build CM14 for the galaxy S6 (g920f/i).
I 'm on Ubuntu 16.04 64bit with virtaulbox. I already done with the most steps like setting up git and syncing the repo. Now i have to repo sync device specific files, but it fails every time with a fetching error:
Code:
Fetching projects: 99% (581/586) error: Cannot fetch CyanogenMod/android_device_samsung_zerofltexx
Warn: --force-broken, continuing to sync
Fatal: couldn't find remote ref refs/heads/cm-14
error: cannot fetch bmc08gt/kernel_samsung_exynos7420
Warn: --force-broken, continuing to sync
Fetching projects: 100% (586/586)
Error: exited sync due to fetch errors
I tryed to sync like 10000000 times with commands like:
repo sync -j4
repo sync -j4 -f
repo sync -j4 -f --force-broken
Any ideas?
The "couldn't find remote ref refs/heads/cm-14" part shows the actual error.
There's no such branch "cm-14". Check your xml files.
OK, i got all thing together, but now i have a new problem
Code:
[email protected]:~/android/system$ source build/envsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/bash_completion/git.bash
including vendor/cm/bash_completion/repo.bash
[email protected]:~/android/system$ brunch zerofltexx
including vendor/cm/vendorsetup.sh
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.0
CM_VERSION=14.0-20161220-UNOFFICIAL-zerofltexx
TARGET_PRODUCT=cm_zerofltexx
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-31-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NBD90Z
OUT_DIR=/home/spongebob/android/system/out
============================================
make: Verzeichnis „/home/spongebob/android/system“ wird betreten
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.0
CM_VERSION=14.0-20161220-UNOFFICIAL-zerofltexx
TARGET_PRODUCT=cm_zerofltexx
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-31-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NBD90Z
OUT_DIR=/home/spongebob/android/system/out
============================================
Running kati to generate build-cm_zerofltexx.ninja...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.0
CM_VERSION=14.0-20161220-UNOFFICIAL-zerofltexx
TARGET_PRODUCT=cm_zerofltexx
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-31-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NBD90Z
OUT_DIR=/home/spongebob/android/system/out
============================================
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
build/core/binary.mk:1236: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1236: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1236: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
build/core/binary.mk:1236: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
./external/speex/Android.mk:56: TODOArm64: enable neon in libspeex
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: "/home/spongebob/android/system/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates": Datei oder Verzeichnis nicht gefunden
No private recovery resources for TARGET_DEVICE zerofltexx
vendor/cm/build/tasks/kernel.mk:160: ***************************************************************
vendor/cm/build/tasks/kernel.mk:161: * Using prebuilt kernel binary instead of source *
vendor/cm/build/tasks/kernel.mk:162: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
vendor/cm/build/tasks/kernel.mk:163: * Please configure your device to download the kernel *
vendor/cm/build/tasks/kernel.mk:164: * source repository to kernel/samsung/exynos7420
vendor/cm/build/tasks/kernel.mk:165: * See http://wiki.cyanogenmod.org/w/Doc:_integrated_kernel_building
vendor/cm/build/tasks/kernel.mk:166: * for more information *
vendor/cm/build/tasks/kernel.mk:167: ***************************************************************
build/core/binary.mk:703: warning: overriding commands for target `/home/spongebob/android/system/out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.cc'
build/core/binary.mk:703: warning: ignoring old commands for target `/home/spongebob/android/system/out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.cc'
build/core/binary.mk:708: warning: overriding commands for target `/home/spongebob/android/system/out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.h'
build/core/binary.mk:708: warning: ignoring old commands for target `/home/spongebob/android/system/out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.h'
build/core/base_rules.mk:316: warning: overriding commands for target `/home/spongebob/android/system/out/target/product/zerofltexx/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/spongebob/android/system/out/target/product/zerofltexx/root/res/images/charger/battery_fail.png'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/spongebob/android/system/out/target/product/zerofltexx/kernel', needed by '/home/spongebob/android/system/out/target/product/zerofltexx/boot.img', missing and no known rule to make it
build/core/ninja.mk:151: die Regel für Ziel „ninja_wrapper“ scheiterte
make: *** [ninja_wrapper] Fehler 1
make: Verzeichnis „/home/spongebob/android/system“ wird verlassen
#### make failed to build some targets (21:13 (mm:ss)) ####
[email protected]:~/android/system$
i think my laptop trolls like a boss.
Code:
vendor/cm/build/tasks/kernel.mk:160: ***************************************************************
vendor/cm/build/tasks/kernel.mk:161: * Using prebuilt kernel binary instead of source *
vendor/cm/build/tasks/kernel.mk:162: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
vendor/cm/build/tasks/kernel.mk:163: * Please configure your device to download the kernel *
vendor/cm/build/tasks/kernel.mk:164: * source repository to kernel/samsung/exynos7420
vendor/cm/build/tasks/kernel.mk:165: * See http://wiki.cyanogenmod.org/w/Doc:_integrated_kernel_building
vendor/cm/build/tasks/kernel.mk:166: * for more information *
vendor/cm/build/tasks/kernel.mk:167: ***************************************************************
Console output says everything
Sry i'm so stupid? its my first try to build from source.
ItzTazzy said:
Sry i'm so stupid its my first try to build from source.
Click to expand...
Click to collapse
hey bro can you share when is done? thx
When its done i will share it ?
ItzTazzy said:
When its done i will share it
Click to expand...
Click to collapse
Yes. Please
module "generated_kernel_includes": cmd: unknown variable '$(KERNEL_MAKE_FLAGS)'
Os-Ubuntu 18.10
android os-lineage os 16
download the lineage os 16 code using git
cd lineage_16
repo sync
make clobber
output
----------
15:09:36 Entire build directory removed.
source build/envsetup.sh
o/p
------------
including device/generic/car/vendorsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/generic/uml/vendorsetup.sh
including device/huawei/angler/vendorsetup.sh
including vendor/lineage/vendorsetup.sh
including sdk/bash_completion/adb.bash
lunch
o/p
-------
You're building on Linux
Lunch menu... pick a combo:
1. aosp_arm-eng
2. aosp_arm64-eng
3. aosp_mips-eng
4. aosp_mips64-eng
5. aosp_x86-eng
6. aosp_x86_64-eng
7. aosp_car_arm-userdebug
8. aosp_car_arm64-userdebug
9. aosp_car_x86-userdebug
10. aosp_car_x86_64-userdebug
11. mini_emulator_arm64-userdebug
12. m_e_arm-userdebug
13. mini_emulator_x86_64-userdebug
14. mini_emulator_x86-userdebug
15. uml-userdebug
16. aosp_angler-userdebug
Which would you like? [aosp_arm-eng] :11
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=mini_emulator_arm64
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a15
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.18.0-10-generic-x86_64-Ubuntu-18.10
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PPR2.181005.003
OUT_DIR=/home/taqi/Documents/android-lineage-16.0/out
============================================
$make -j4
o/p
--------------
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=mini_emulator_arm64
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a15
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.18.0-10-generic-x86_64-Ubuntu-18.10
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PPR2.181005.003
OUT_DIR=/home/taqi/Documents/android-lineage-16.0/out
============================================
[1/1] /home/taqi/Documents/android-lineage-16.0/out/soong/.mi...cuments/android-lineage-16.0/out/soong/.bootstrap/build.ninja
[55/56] glob prebuilts/ndk/stl.bp
[80/80] /home/taqi/Documents/android-lineage-16.0/out/soong/....ome/taqi/Documents/android-lineage-16.0/out/soong/build.ninja
FAILED: /home/taqi/Documents/android-lineage-16.0/out/soong/build.ninja
/home/taqi/Documents/android-lineage-16.0/out/soong/.bootstrap/bin/soong_build -t -l /home/taqi/Documents/android-lineage-16.0/out/.module_paths/Android.bp.list -b /home/taqi/Documents/android-lineage-16.0/out/soong -n /home/taqi/Documents/android-lineage-16.0/out -d /home/taqi/Documents/android-lineage-16.0/out/soong/build.ninja.d -o /home/taqi/Documents/android-lineage-16.0/out/soong/build.ninja Android.bp
error: vendor/lineage/build/soong/Android.bp:31:8: module "generated_kernel_includes": cmd: unknown variable '$(KERNEL_MAKE_FLAGS)'
ninja: build stopped: subcommand failed.
15:49:16 soong bootstrap failed with: exit status 1
#### failed to build some targets (03:03 (mm:ss)) ####
Please conduct "repo sync" again. This issue will solve.
I've got the same issue. Unfortunately repo sync did not fix it. What is the patch/commit that fixes this?
SaburoSiro said:
Please conduct "repo sync" again. This issue will solve.
Click to expand...
Click to collapse
Could you please link the commit?
[email protected] said:
Os-Ubuntu 18.10
android os-lineage os 16
download the lineage os 16 code using git
cd lineage_16
repo sync
make clobber
output
----------
15:09:36 Entire build directory removed.
source build/envsetup.sh
o/p
------------
including device/generic/car/vendorsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/generic/uml/vendorsetup.sh
including device/huawei/angler/vendorsetup.sh
including vendor/lineage/vendorsetup.sh
including sdk/bash_completion/adb.bash
lunch
o/p
-------
You're building on Linux
Lunch menu... pick a combo:
1. aosp_arm-eng
2. aosp_arm64-eng
3. aosp_mips-eng
4. aosp_mips64-eng
5. aosp_x86-eng
6. aosp_x86_64-eng
7. aosp_car_arm-userdebug
8. aosp_car_arm64-userdebug
9. aosp_car_x86-userdebug
10. aosp_car_x86_64-userdebug
11. mini_emulator_arm64-userdebug
12. m_e_arm-userdebug
13. mini_emulator_x86_64-userdebug
14. mini_emulator_x86-userdebug
15. uml-userdebug
16. aosp_angler-userdebug
Which would you like? [aosp_arm-eng] :11
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=mini_emulator_arm64
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a15
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.18.0-10-generic-x86_64-Ubuntu-18.10
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PPR2.181005.003
OUT_DIR=/home/taqi/Documents/android-lineage-16.0/out
============================================
$make -j4
o/p
--------------
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=mini_emulator_arm64
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a15
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.18.0-10-generic-x86_64-Ubuntu-18.10
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PPR2.181005.003
OUT_DIR=/home/taqi/Documents/android-lineage-16.0/out
============================================
[1/1] /home/taqi/Documents/android-lineage-16.0/out/soong/.mi...cuments/android-lineage-16.0/out/soong/.bootstrap/build.ninja
[55/56] glob prebuilts/ndk/stl.bp
[80/80] /home/taqi/Documents/android-lineage-16.0/out/soong/....ome/taqi/Documents/android-lineage-16.0/out/soong/build.ninja
FAILED: /home/taqi/Documents/android-lineage-16.0/out/soong/build.ninja
/home/taqi/Documents/android-lineage-16.0/out/soong/.bootstrap/bin/soong_build -t -l /home/taqi/Documents/android-lineage-16.0/out/.module_paths/Android.bp.list -b /home/taqi/Documents/android-lineage-16.0/out/soong -n /home/taqi/Documents/android-lineage-16.0/out -d /home/taqi/Documents/android-lineage-16.0/out/soong/build.ninja.d -o /home/taqi/Documents/android-lineage-16.0/out/soong/build.ninja Android.bp
error: vendor/lineage/build/soong/Android.bp:31:8: module "generated_kernel_includes": cmd: unknown variable '$(KERNEL_MAKE_FLAGS)'
ninja: build stopped: subcommand failed.
15:49:16 soong bootstrap failed with: exit status 1
Click to expand...
Click to collapse
[email protected] said:
#### failed to build some targets (03:03 (mm:ss)) ####
Click to expand...
Click to collapse
your command make -j4 is wrong. Just use 'mka bacon -j4' if you are building a rom.
Im having the same issue building for flounder.
Hi. A am having the same issue.
Dut found solution, may be.
This link can be helpful.
This is a device tree adaptation problem. You just need to do a "breakfast <device_code>", and the error that it throws will automatically tell you what filename that your aosp_device.mk should have...
In my case, I had the same problem, when I'm trying with xpe_sunny.mk, but the actual string I should have was xperience_sunny.mk
After adapting my device tree (Android.mk, common lunch choices, rom.dependencies, etc,) then PRODUCT_SOONG_NAMESPACES successfully took all the directories that it needed.