yashsingh1/xdaforums huggingface dataset:
[Android] androcraze:
The "security patch" that you're pointing to (or rather patches) was already included in the early October 2016 release. By the time your link is updated for the November patches, the AOSP code will be "in the wild". There's nothing to patch. You're trying to get a jump on security fixes, of which many or most are internal until release.
[Android] roshan2989:
im not trying to patch the marsmallow build for n5,its for moto g aosp 5.1.1 build made by devs last year.
[Android] hamsam:
getting these errors on compiling

device/samsung/coreprimeve3g/ril/SamsungSPRDRIL.java:276: error: method does not override or implement a method from a supertype
@Override
^
device/samsung/coreprimeve3g/ril/SamsungSPRDRIL.java:314: error: method processSolicited in class RIL cannot be applied to given types;
return super.processSolicited(p);
^
required: Parcel,int
found: Parcel
reason: actual and formal argument lists differ in length
device/samsung/coreprimeve3g/ril/SamsungSPRDRIL.java:366: error: method does not override or implement a method from a supertype
@Override
^
device/samsung/coreprimeve3g/ril/SamsungSPRDRIL.java:422: error: method processUnsolicited in class RIL cannot be applied to given types;
super.processUnsolicited(p);
^
required: Parcel,int
found: Parcel
reason: actual and formal argument lists differ in length
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
[ 3% 1018/28725] host C++: libLLVMCor...2 <= external/llvm/lib/IR/Function.cpp
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/hamza/cm14'

#### make failed to build some targets (27:37 (mm:ss)) ####

---------- Post added at 04:55 PM ---------- Previous post was at 04:45 PM ----------

how you fixed it?
[Android] androcraze:
Ah, that makes sense.
[Android] yshalsager:
Good morning

I have some questions, How can i know what is display and touchscreen drivers used by my mobile (Nokia XL)?

And is it possible to make a source for kernel (New kernel) for Nokia XL, but there is no offical sources only stock boot.img and Nokia X Sources (A Patch to make stock kernel from scratch) https://github.com/dhacker29/android_kernel_nokia_normandy

i built nokia x kernel and booted on XL, there was some problems like Wi-Fi don't open, the back button is not working and the main problem: Display won't work after screen of, it made white lines in the black screen, but after restating it works untill i lock the screen.

Thanks
[Android] arvinquilao:
Cherry-pick this to your kernel source: https://github.com/CyanogenMod/andr...mmit/7b506595284dc6124c5db8db0e66b00546a7af93
[Android] Markinb66:
Thank you for responding, is already solved. But now I have this error a few days ago and I could not solve http://hastebin.com/joyobawivu.sql, there is no solution but it works for me. When I run make update-api i get this error http://hastebin.com/aliliqozuv.sql
[Android] noobsgs2:
Hello guys,

can anyone state what are the main reasons why a compiled rom could mess up completely the phone?

Which are the values (like partitions size and so on) which i have to be 100% sure of in order to avoid a brick?

For example

BOARD_BOOTIMAGE_PARTITION_SIZE := 67108864
BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 67108864
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2684354560
BOARD_USERDATAIMAGE_PARTITION_SIZE := 59047394304
BOARD_PERSISTIMAGE_PARTITION_SIZE := 33554432
BOARD_PERSISTIMAGE_FILE_SYSTEM_TYPE := ext4
BOARD_FLASH_BLOCK_SIZE := 262144
TARGET_USERIMAGES_USE_EXT4 := true
TARGET_USERIMAGES_USE_F2FS := true

or

fstab.qcom

Regards,
[Android] TimSchumi:
The most important is the fstab, because if it's wrong, the stuff could be written to the wrong partitions. The stuff from BoardConfig is just there to check at the end of the building process, if the image would fit on the device. I'm not sure how important the USES_*Some file system* lines are. Also, your flash block size seems very weird. Sure it's correct?
[Android] noobsgs2:
My recovery.fstab is the following

/dev/block/bootdevice/by-name/system /system ext4 ro,barrier=1 wait
/dev/block/bootdevice/by-name/cache /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered wait,check
/dev/block/bootdevice/by-name/cust /cust ext4 noatime,nosuid,nodev,barrier=1,data=ordered wait,check
/dev/block/bootdevice/by-name/userdata /data ext4 noatime,nosuid,nodev,barrier=1,data=ordered,noauto_da_alloc wait,check,length=-16384
/dev/block/mmcblk1p1 /sdcard vfat nosuid,nodev wait
/dev/block/bootdevice/by-name/boot /boot emmc defaults defaults
/dev/block/bootdevice/by-name/recovery /recovery emmc defaults defaults
/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults
#splash.img dupeiyu.wt add 20150210
/dev/block/bootdevice/by-name/splash /splash emmc defaults defaults

While /rootdir/etc/fstab.qcom is

/dev/block/bootdevice/by-name/boot /boot emmc defaults defaults
/dev/block/bootdevice/by-name/recovery /recovery emmc defaults defaults
/dev/block/bootdevice/by-name/system /system ext4 ro,barrier=1 wait
/dev/block/bootdevice/by-name/userdata /data ext4 nosuid,nodev,barrier=1 wait,check,encryptable=footer
/dev/block/bootdevice/by-name/userdata /data f2fs rw,discard,nosuid,nodev,noatime,inline_xattr wait,check,encryptable=footer
/dev/block/bootdevice/by-name/cache /cache ext4 nosuid,nodev,barrier=1 wait
/dev/block/bootdevice/by-name/cache /cache f2fs rw,discard,nosuid,nodev,noatime,inline_xattr wait
/dev/block/bootdevice/by-name/persist /persist ext4 nosuid,nodev,barrier=1 wait
/dev/block/bootdevice/by-name/modem /firmware vfat ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait
/dev/block/bootdevice/by-name/bluetooth /bt_firmware vfat ro,shortname=lower,uid=1002,gid=3002,dmask=222,fmask=333,context=u:object_r:bt_firmware_file:s0 wait

/devices/soc.0/f9200000.ssusb/f9200000.dwc3/xhci-hcd* auto auto defaults voldmanaged=usbdisk:auto
/dev/block/zram0 none swap defaults zramsize=536870912,zramstreams=4,notrim

I'm wondering what can be wrong since everything is "infer" and not "hard coded".

BOARD_FLASH_BLOCK_SIZE := 262144 is the value that all the msm8994 has from what i see on github
[Android] apknl:
[MENTION=6262655]Garv Maggu[/MENTION] ..Can you please share how did you manage finally to fix this error issue ? I am also facing the same error issue

1 warning generated.

[ 54% 6590/12112] build /home/android/...covery_intermediates/sepolicy.recovery

FAILED: /bin/bash -c "(/home/android/aosipn7/out/host/linux-x86/bin/checkpolicy -M -c 30 -o /home/android/aosipn7/out/target/product/m7/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.tmp /home/android/aosipn7/out/target/product/m7/obj/ETC/sepolicy.recovery_intermediates/policy_recovery.conf ) && (/home/android/aosipn7/out/host/linux-x86/bin/sepolicy-analyze /home/android/aosipn7/out/target/product/m7/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.tmp permissive > /home/android/aosipn7/out/target/product/m7/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.permissivedomains ) && (if [ "userdebug" = "user" -a -s /home/android/aosipn7/out/target/product/m7/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.permissivedomains ]; then echo "==========" 1>&2; echo "ERROR: permissive domains not allowed in user builds" 1>&2; echo "List of invalid domains:" 1>&2; cat /home/android/aosipn7/out/target/product/m7/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.permissivedomains 1>&2; exit 1; fi ) && (mv /home/android/aosipn7/out/target/product/m7/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.tmp /home/android/aosipn7/out/target/product/m7/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery )"

device/qcom/sepolicy/common/audioserver.te:39:ERROR 'attribute qti_debugfs_domain is not declared' at token ';' on line 21656:

typeattribute audioserver qti_debugfs_domain;

#line 39

checkpolicy: error(s) encountered while parsing configuration

/home/android/aosipn7/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/android/aosipn7/out/target/product/m7/obj/ETC/sepolicy.recovery_intermediates/policy_recovery.conf

[ 54% 6590/12112] MDM Firmware link: /...ct/m7/system/vendor/firmware/htc63.mbn

ninja: build stopped: subcommand failed.

build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed

make: *** [ninja_wrapper] Error 1
[Android] #Vangreen:
HI

I know simple error but i don't have no idea how to fix it

Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/devg3pl/a/out/host/linux-x86/bin/dtbToolCM', needed by '/home/devg3pl/a/out/target/product/d855/dt.img', missing and no known rule to make it
make: *** [ninja_wrapper] Error 1
#### make failed to build some targets (40 seconds) ####

Fixed

device/qcom/common ;)
[Android] mike2587:
Hi all, I'm trying to build an aosp rom (pure nexus 7.0) for my Lenovo Zuk Z1 (ham), using cm14 trees. I repo synced from pure nexus git, added cm trees in the local manifest and removed some not needed device trees of th PN. I ran the command ". build/envsetup.sh" and I see this:

including device/zuk/ham/vendorsetup.sh
including vendor/custom/vendorsetup.sh
including sdk/bash_completion/adb.bash

So I used "lunch" and obtained this:

Lunch menu... pick a combo:

1. cm_ham-user
2. cm_ham-userdebug
3. cm_ham-eng
4. angler-userdebug
5. bullhead-userdebug
6. shamu-userdebug

So I used "breakfast cm_ham-userdebug" and the result was this:

including vendor/custom/vendorsetup.sh
ls: can't access to 'vendor/custom/products/cm_ham.mk': File or directory missing
build/core/product_config.mk:245: *** Can not locate config makefile for product "cm_ham". Stop.
ls: can't access to 'vendor/custom/products/cm_ham.mk': File or directory missing
build/core/product_config.mk:245: *** Can not locate config makefile for product "cm_ham". Stop.

** Don't have a product spec for: 'cm_ham'
** Do you have the right repo manifest?

I know that using cm trees on aosp ROMs is difficult, but can you say me if I can solve this issue? Renaming some files maybe. I searched for a solution everywhere, with no luck. Can someone help me? This is my local manifest http://pastebin.com/0U3sWtKt
[Android] Garv Maggu:
Sorry, but I coudn't solve it. :(
[Android] DevUt:
Link your device tree I can help I think i know what's wrong
[Android] apknl:
Thanks for your response. Here you go..I have attached the device tree . Please advise and if you need more information please do let me know and you can also pm me...:)
[Android] apknl:
Thanks for your response. But I am surprised at the error . Error says for user build whereas I am building userdebug.. Hope the experts in this forum will guide and advise to overcome this build error .Fingers crossed.

Error:

1 warning generated.

[ 54% 6590/12112] build /home/android/...covery_intermediates/sepolicy.recovery

FAILED: /bin/bash -c "(/home/android/aosipn7/out/host/linux-x86/bin/checkpolicy -M -c 30 -o /home/android/aosipn7/out/target/product/m7/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.tmp /home/android/aosipn7/out/target/product/m7/obj/ETC/sepolicy.recovery_intermediates/policy_recovery.conf ) && (/home/android/aosipn7/out/host/linux-x86/bin/sepolicy-analyze /home/android/aosipn7/out/target/product/m7/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.tmp permissive > /home/android/aosipn7/out/target/product/m7/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.permissivedomains ) && (if [ "userdebug" = "user" -a -s /home/android/aosipn7/out/target/product/m7/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.permissivedomains ]; then echo "==========" 1>&2; echo "ERROR: permissive domains not allowed in user builds" 1>&2; echo "List of invalid domains:" 1>&2; cat /home/android/aosipn7/out/target/product/m7/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.permissivedomains 1>&2; exit 1; fi ) && (mv /home/android/aosipn7/out/target/product/m7/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.tmp /home/android/aosipn7/out/target/product/m7/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery )"

device/qcom/sepolicy/common/audioserver.te:39:ERROR 'attribute qti_debugfs_domain is not declared' at token ';' on line 21656:

typeattribute audioserver qti_debugfs_domain;

#line 39

checkpolicy: error(s) encountered while parsing configuration

/home/android/aosipn7/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/android/aosipn7/out/target/product/m7/obj/ETC/sepolicy.recovery_intermediates/policy_recovery.conf

[ 54% 6590/12112] MDM Firmware link: /...ct/m7/system/vendor/firmware/htc63.mbn

ninja: build stopped: subcommand failed.

build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed

make: *** [ninja_wrapper] Error 1
[Android] Dr_DjEnder:
Building Cm14.1 ninja_wrapper error

I'm having an error building cm14.1 for my oneplus 2 I've used the guide on CyanogenMod's website to download source and get files for my op2 everything is fine until it hits

Starting build with ninja

ninja: Entering directory `.'

ninja: error: '/home/ubuntu/cm14.1/out/target/product/oneplus2/obj/SHARED_LIBRARIES/libwpa_qmi_eap_proxy_intermediates/export_includes', needed by '/home/ubuntu/cm14.1/out/target/product/oneplus2/obj/EXECUTABLES/wpa_supplicant_intermediates/import_includes', missing and no known rule to make it

build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed

make: *** [ninja_wrapper] Error 1

#### make failed to build some targets (02:41 (mm:ss)) ####

it appears to be missing something..

after checking im missing the folders after /oneplus2/obj/...

aka /EXECUTABLES/wpa_supplicant_intermediates/import_includes

how do i fix this ?

fixed
[Android] TimSchumi:
No, the part which looks like an error is just the command 'echo "Permissive domains not allowed in user builds"'. But it stands behind an if expression which is saying "if ("user" = "userdebug")", so the echo part won't be called.

The real error seems to be this one:

device/qcom/sepolicy/common/audioserver.te:39:ERROR 'attribute qti_debugfs_domain is not declared' at token ';' on line 21656:

typeattribute audioserver qti_debugfs_domain;

#line 39

checkpolicy: error(s) encountered while parsing configuration
[Android] adityaupreti:
u should use hide or pastebin

to fix that error do

cd frameworks/base
git fetch http://review.blissroms.com/platform_frameworks_base refs/changes/97/4497/1 && git cherry-pick FETCH_HEAD
[Android] Swp1996:
Thankxxxzzx for Help But I Fixed That Error Now Im Getting This Error

target Java: services.core (/mnt/pop/out/target/common/obj/JAVA_LIBRARIES/services.core_intermediates/classes)

javadoc: warning - Multiple sources of package comments found for package "android.media.effect"

javadoc: warning - Multiple sources of package comments found for package "android.media.effect"

frameworks/base/services/core/java/com/android/server/notification/ZenModeHelper.java:448: error: cannot find symbol

?* ?* ?* ?* ?* ?* ?* ?*? CMSettings.System.getInt(cr, CMSettings.System.ZEN_PRIORITY_VIBRATION_MODE, 0)

?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?*^

?*symbol: ?* variable ZEN_PRIORITY_VIBRATION_MODE

?*location: class System

frameworks/base/services/core/java/com/android/server/notification/ZenModeHelper.java:743: error: cannot find symbol

?* ?* ?* ?* ?* ?* ?* ?*CMSettings.System.ZEN_PRIORITY_VIBRATION_MODE);

?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ?* ^

?*symbol: ?* variable ZEN_PRIORITY_VIBRATION_MODE

?*location: class System

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

2 errors

make: *** [/mnt/pop/out/target/common/obj/JAVA_LIBRARIES/services.core_intermediates/classes-full-debug.jar] Error 41

make: *** Waiting for unfinished jobs....
[Android] apknl:
I also thought so and then remove that line 39 but then again I got stuch at 52% with the same error message , but the weird thing is boot.img and zimage gets created in output folder and immediately after that same error comes. both times..
[Android] DevUt:
Are you sure this is the complete tree ?

i dont find any selinux policy files in there ?
[Android] apknl:
Selinux files are in common tree which is referenced in aosip_m7.mk and attached here.
[Android] noobsgs2:
Is there a way to extract device and vendor tree from a working CM Rom?
[Android] Dr_DjEnder:
make: Leaving directory '/home/ubuntu/cm14.1/kernel/oneplus/msm8994'

Building DTBs

make: Entering directory '/home/ubuntu/cm14.1/kernel/oneplus/msm8994'

CC scripts/mod/devicetable-offsets.s

GEN scripts/mod/devicetable-offsets.h

HOSTCC scripts/mod/file2alias.o

HOSTLD scripts/mod/modpost

make[2]: Nothing to be done for 'dtbs'.

make[2]: Nothing to be done for 'dtbs'.

make: Leaving directory '/home/ubuntu/cm14.1/kernel/oneplus/msm8994'

Building Kernel Modules

make: Entering directory '/home/ubuntu/cm14.1/kernel/oneplus/msm8994'

GEN /home/ubuntu/cm14.1/out/target/product/oneplus2/obj/KERNEL_OBJ/Makefile

CHK include/generated/uapi/linux/version.h

Using /home/ubuntu/cm14.1/kernel/oneplus/msm8994 as source for kernel

CHK include/generated/utsrelease.h

CC scripts/mod/devicetable-offsets.s

GEN scripts/mod/devicetable-offsets.h

HOSTCC scripts/mod/file2alias.o

HOSTLD scripts/mod/modpost

CALL /home/ubuntu/cm14.1/kernel/oneplus/msm8994/scripts/checksyscalls.sh

SHIPPED drivers/soc/qcom/oneplus_hcube.o

LD [M] drivers/soc/qcom/hcube.o

Building modules, stage 2.

MODPOST 1 modules

CC drivers/soc/qcom/hcube.mod.o

LD [M] drivers/soc/qcom/hcube.ko

make: Leaving directory '/home/ubuntu/cm14.1/kernel/oneplus/msm8994'

make: Entering directory '/home/ubuntu/cm14.1/kernel/oneplus/msm8994'

INSTALL drivers/soc/qcom/hcube.ko

DEPMOD 3.10.84-perf+

make: Leaving directory '/home/ubuntu/cm14.1/kernel/oneplus/msm8994'

ninja: build stopped: subcommand failed.

build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed

make: *** [ninja_wrapper] Error 1

make: Leaving directory '/home/ubuntu/cm14.1'

cant tell why its failing it seems to finish kernel then stop..
[Android] umuturunc:
https://wiki.cyanogenmod.org/w/Build_for_serrano3gxx#Extract_proprietary_blobs

Hope it will help
[Android] noobsgs2:
This extracts only the vendor, i need the device tree mainly
[Android] Startrek852:
There's no error there, you need to upload the full build log.
[Android] Dr_DjEnder:
Ok here's a more complete log

Also ill explain the situation a bit better I'm building cm14.1 and patching it according to a patch by daktak on his github that allows the use of signature spoofing for a gapps alternative micro g

entire log:

http://pastebin.com/G5cYFEfd
[Android] noobsgs2:
What is the difference between

/dev/block/platform/soc.0/f9824900.sdhci/by-name/system/

and

/dev/block/bootdevice/by-name/system

Moreover if i use this command in BoardConfig.mk

TARGET_RECOVERY_FSTAB := $(PLATFORM_PATH)/rootdir/etc/fstab.qcom

Does it mean it will use fstab.qcom and rename it to twrp.fstab so that it uses those partition table when flashing?
[Android] heisenberg33:
hi can someone help with this error (its cm 13)

hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.h:137:3: error: unknown type name 'mdp_frc_info'

hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_primary.h:38:7: error: 'sdm::HWPrimary' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor]

http://hastebin.com/ukawozupeq.pas
[Android] XxInSaNeClOwNxX:
--- I get that error when I ran repo sync. What should I do?
[Android] TimSchumi:
You are inside the .repo folder. Try switching to the parent folder and run repo sync again
[Android] hemantbeast:
Can anybody tell me, fetching cm14.1 source over cm14 will work? Or need to resync the whole cm14.1 from scratch?
[Android] spookcity138:
Need to resync as its a different branch.
[Android] XxInSaNeClOwNxX:
Help please

How do I setup the environment to build SLIM for the alcatel onetouch idol 3 5.5
[Android] jneto3000:
Guys... How to add Camera2?

Snap is not recording on 7.1.0_r7 so I want to use Camera2. How to do that?

EDIT: Already find out. I just had to remove Snap line in PRODUCT_PACKAGES for camera in device tree.

Like this: http://review.cyanogenmod.org/#/c/168710/2/device.mk
[Android] martinusbe:
1. second is a symlink, first a direct path to same partition

2. no it tells twrp to use that fstab, thats all
[Android] noobsgs2:
And what is the command to build a ROM with twrp rather than CWM? Do i just need to have the appropriate recovery inside the recovery folder in the device tree?

Moreover what do these two commands mean?

BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 ... androidboot.selinux=permissive

For the first i've found:

Are they really needed for a build?

Does the second mean to use permissive as default selinux during boot?
[Android] Sniperboy1:
How to enable headset ?
[Android] princesaska:
I am getting this error when I give make bacon cmd.

cc1: some warnings being treated as errors

/home/rohit/android/AOKP-mm-no-repo-20160811/aokp_kenzo/kernel/xiaomi/kenzo/scripts/Makefile.build:308: recipe for target 'drivers/power/qpnp-smbcharger.o' failed

make[4]: *** [drivers/power/qpnp-smbcharger.o] Error 1

/home/rohit/android/AOKP-mm-no-repo-20160811/aokp_kenzo/kernel/xiaomi/kenzo/scripts/Makefile.build:455: recipe for target 'drivers/power' failed

make[3]: *** [drivers/power] Error 2

/home/rohit/android/AOKP-mm-no-repo-20160811/aokp_kenzo/kernel/xiaomi/kenzo/Makefile:825: recipe for target 'drivers' failed

make[2]: *** [drivers] Error 2

Makefile:130: recipe for target 'sub-make' failed

make[1]: *** [sub-make] Error 2

make[1]: Leaving directory '/home/rohit/android/AOKP-mm-no-repo-20160811/aokp_kenzo/kernel/xiaomi/kenzo'

build/core/tasks/kernel.mk:289: recipe for target 'TARGET_KERNEL_BINARIES' failed

make: *** [TARGET_KERNEL_BINARIES] Error 2

#### make failed to build some targets (06:42 (mm:ss)) ####

*
[Android] SlimShady's:
The error should be above. Use hastebin.com or pastebin.com and paste the full log :)
[Android] princesaska:
Thanks for your reply,

Here is my log :http://hastebin.com/opokofijub.lua
[Android] opticyclic:
How does changing the device name fix this?

How can you even start the build if the device name is wrong?
[Android] Frostyagent:
Guys I need your help !! I am getting this error while compiling Marshmallow AOSP for Nexus 5

frameworks/native/include/ui/GraphicBuffer.h:150:13: internal compiler error: Segmentation fault

uint8_t mOwner;

^

Please submit a full bug report,

with preprocessed source if appropriate.

See <http://source.android.com/source/report-bugs.html> for instructions.

build/core/binary.mk:706: recipe for target 'out/target/product/hammerhead/obj/EXECUTABLES/screenrecord_intermediates/FrameOutput.o' failed

make: *** [out/target/product/hammerhead/obj/EXECUTABLES/screenrecord_intermediates/FrameOutput.o] Error 1

I am using Ubuntu 16.10
[Android] nikkali25:
http://pastebin.com/MG77vAbs

help me in error 41.im using ubuntu 16.04.1