yashsingh1/xdaforums huggingface dataset:
[Android] DiamondJohn:
Include file location

I am getting include file missing errors. They all appear to be similar to:

...snip...
[2017-12-30 09:37:34] In file included from hardware/qcom/media/msm8974/mm-video-legacy/vidc/common/src/extra_data_handler.cpp:29:
[2017-12-30 09:37:34] hardware/qcom/media/msm8974/mm-video-legacy/vidc/common/inc/extra_data_handler.h:37:9: fatal error: 'linux/msm_vidc_dec.h' file not found
[2017-12-30 09:37:34] #include<linux/msm_vidc_dec.h>
[2017-12-30 09:37:34] ^
[2017-12-30 09:37:34] 1 error generated.

...snip...
[2017-12-30 09:37:34] In file included from hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:33:
[2017-12-30 09:37:34] In file included from hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/inc/video_encoder_device.h:35:
[2017-12-30 09:37:34] hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/inc/omx_video_common.h:38:10: fatal error: 'linux/msm_ion.h' file not found
[2017-12-30 09:37:34] #include <linux/msm_ion.h>
[2017-12-30 09:37:34] ^
[2017-12-30 09:37:34] 1 error generated.

...snip...

I think I can find what the file(s) should contain, but I am not sure of where to put it. Anyone know where these file(s) are expected to be located?

Below is a more complete log of the errors on hastebin.

https://hastebin.com/qakoyudapa.sql

Thanks in advance. FYI: I am trying to compile OmniROM (AOSP) using the device/kernel/vendor trees from LOS. I don't expect it to boot (had boot loop on DirtyUnicorns), but I would like to try. My builds of numerous LOS based ROMs (eg RR, crDroid, AICP, AOKP) build and work pretty well.
[Android] quake73:
Try adding $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include to the LOCAL_C_INCLUDES in the android.mk file in hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc.
[Android] DiamondJohn:
It sounds like the right direction, but it failed :(

So I tried a few other paths for LOCAL_C_INCLUDES and they also failed.

The file is present at

hardware/qcom/msm8960/kernel-headers/linux/msm_vidc_enc.h

its also at:

KERNEL_OBJ/usr/include/linux/msm_vidc_enc.h

The include is

#include <linux/msm_vidc_enc.h>

I tried:

LOCAL_C_INCLUDES := hardware/qcom/msm8960/kernel-headers

LOCAL_C_INCLUDES := hardware/qcom/msm8960/kernel-headers/linux

LOCAL_C_INCLUDES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr

LOCAL_C_INCLUDES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include

LOCAL_C_INCLUDES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include/linux

All with the same results.

I would of thought that would of been correct to map the path? but obviously not. Any other ideas?
[Android] quake73:
No, I meant ADD $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include ..........not ":=", but "+=".

Try, in venc.mk:

find:

LOCAL_C_INCLUDES := $(libmm-venc-inc)

make it look like this:

LOCAL_C_INCLUDES := $(libmm-venc-inc) $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include

(similar for vdec.mk)
[Android] KeTuRr74:
Do the same thing in your device common and it should work

https://github.com/TeamNexus/androi...mmit/3bdcd92c6138341e094ef7f23d37e63531462127
[Android] DiamondJohn:
Thanks that fixed it :good: Now just working through the next errors, which appear to be simpler, at least for me.
[Android] Lucchetto00:
Another error.... What I can do ?

target C++: libsurfaceflinger <= frameworks/native/services/surfaceflinger/DisplayHardware/FramebufferSurface.cpp
frameworks/native/services/surfaceflinger/DisplayHardware/FramebufferSurface.cpp:172:14: error: unused variable 'result' [-Werror,-Wunused-variable]
status_t result = 0;
[Android] KeTuRr74:
Try to erase the unused variable line 172
[Android] DiamondJohn:
Another includes issue for me.

I am getting the following pattern of errors:

[2017-12-31 09:35:46] In file included from hardware/ril/libril/ril.cpp:361:
[2017-12-31 09:35:46] hardware/ril/libril/ril_commands.h:155:6: error: use of undeclared identifier 'RIL_REQUEST_SIM_GET_ATR'
[2017-12-31 09:35:46] {RIL_REQUEST_SIM_GET_ATR, dispatchInts, responseString},
[2017-12-31 09:35:46] ^

a more complete log can be found at:

https://www.hastebin.com/opeyomaral.cs

However, I checked the make file for libril

hardware/ril/libril/Android.mk

Which has the following for the includes

LOCAL_C_INCLUDES += $(LOCAL_PATH)/../include
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/../include

So in

hardware/ril/libril/ril.cpp

it has on line 21

#include <telephony/ril.h>

and in

hardware/ril/include/telephony/ril.h

on line 5241 it has

#define RIL_REQUEST_SIM_GET_ATR 138

and on line 359 of ril.cpp, it has:

/** Index == requestNumber */
static CommandInfo s_commands[] = {
#include "ril_commands.h"
};

There is a file in (ie the same path as ril.cpp)

hardware/ril/libril/ril_commands.h

Anyone have any ideas on what is going wrong? The paths all look like they are mapped correctly and therefore should find the files; at least to me :o. I am building OMNI ROM
[Android] quake73:
perhaps...try syncing RIL from another source....in your local_manifest, put, remove "<--! remove-project 'EXISTING_RIL_IN_MANIFEST'" ..........-->

For example: add RIL from GZOSP/hardware_ril (ril or ril-caf, whichever you need for your device)
[Android] ahmed gamal 1m:
Can I use Samsung stock kitkat kernel source to build AOSP 7.1.2

I have the device tree /vendor tree I made it myself

But I'm stuck at using kernel source :highfive:

Please someone help I'm new in building roms
[Android] xenreon:
You'll have to commit necessary changes to get the kernel to boot nougat, or any newer version of Android. No direct guide for that, check sources of devices with similar hardware to the one you have and try.
[Android] ahmed gamal 1m:
So can I use this kernel

https://github.com/remilia15/android_kernel_samsung_coreprimeve3g/tree/cm-14.1

source to compare it to my kernel source
[Android] antariksh:
I have compiled Resurrection Remix with Lineage Device and Kernel Tree. The ROM was compiled successfully and it was booted successfully.

But the Lineage Camera is missing from launcher. (It is installed, but can't get it to open)

So I tried OpenCamera app from Play Store. And it is throwing error: "Failed to Open Camera, Camera may be in use by another application?"

Here's the Partial Logcat

Full logcat attached

solved.
[Android] antariksh:
I am trying to compile Nuclea ROM based on Lineage OS. And stuck on this error. Google isn't helping.

Please guide me.

Log
[Android] qiurigao:
make: *** No rule to make target 'out/target/common/obj/JAVA_LIBRARIES/com.qti.dpmframewortjars/system/framework/arm/boot.art'。stop

---------- Post added at 11:18 PM ---------- Previous post was at 11:01 PM ----------

PRODUCT_BOOT_JARS += qcmediaplayer \

vcard #\

com.qti.dpmframework

ifneq ($(strip $(QCPATH)),)

PRODUCT_BOOT_JARS += qcom.fmradio

PRODUCT_BOOT_JARS += WfdCommon

PRODUCT_BOOT_JARS += oem-services

PRODUCT_BOOT_JARS += tcmiface

PRODUCT_BOOT_JARS += dpmapi

PRODUCT_BOOT_JARS += com.qti.location.sdk

endif

---------- Post added at 11:25 PM ---------- Previous post was at 11:18 PM ----------

make: *** No rule to make target 'out/target/product/msm8937_32/obj/SHARED_LIBRARIES/libMp8937_32/obj/SHARED_LIBRARIES/libOmxSwVencMpeg4_intermediates/import_includes'。 stop

make: ***
[Android] xenreon:
Are the hardware components similar? If you're sure enough then try.

Possibly a derp on the ROM side, check previous commits for the file where the errors are coming from.

Yes...? The context of these?
[Android] karthik km:
I have the same error

How did you fixed this error?

Could you please help me?
[Android] antariksh:
It was this two commits to the Device tree and Vendor tree.

Check and compare your Vendor tree for correct camera lib path.
[Android] Akash durai:
ninja: error: '/home/akashdurai700/aim/out/target/product/z2_plus/obj_arm/SHARED_LIBRARIES/libmemalloc_intermediates/export_includes', needed by '/home/akashdurai700/aim/out/target/product/z2_plus/obj_arm/SHARED_LIBRARIES/copybit.msm8996_intermediates/import_includes', missing and no known rule to make it
08:22:47 ninja failed with: exit status 1

I'm getting this errror while building AIM ROM.....

Device: ZUK Z2

Device tree used: https://github.com/DD3Boh/android_device_zuk_z2_plus.git

https://github.com/DD3Boh/android_device_zuk_msm8996-common.git
[Android] antariksh:
Provide a big bigger log. Upto 10-15 lines. There should be a keyword Error/Fatal and path to the original file where the error occurred.
[Android] antariksh:
am not expert in this, but seems like some your dependencies are missing. Check your device tree for .dependencies file. and Compare it to other builds or trees.
[Android] DiamondJohn:
Can I somehow flash the kernel.img file?

I have successfully built and run a nougat ROM of RR (based on LineageOS). A number of the changes I make are in the Kernel (OC, UC and add a number of CPU & IO Governors). The ROM boots and runs fine, but I have noticed some problems with the CPU locking on the highest CPU freq when and only when the battery drops below about 20%. Because of this behavior, I want to try flashing just the Kernel, I tried to build the kernel only (based on a thread here at XDA) and that failed to complete.

However, I also notice that the build process for the ROM also produces a file called "kernel.img" (in addition to the zip and recovery files). Is there any method/process of flashing this IMG file to apply only the kernel? I make a lot of system changes so dirty flashing the ROM would leave a lot of work to restore my setup and foresee at least a number of attempts before I find what is causing the behavior.

FYI I am building a LOS based RR ROM for the XT907
[Android] mosimchah:
You want the boot.img not that other thing, mka bootimage should work
[Android] KeTuRr74:
Delete
[Android] DiamondJohn:
I also have the boot.img file by default. So to be clear (sorry to be simply restating what you already told me :o) , if i flash the boot.img file, I will replace the kernel? Getting the file is no issue, its the actual what to do to get my result; ie replace only the kernel on a running ROM.
[Android] antariksh:
What are the chances of getting this at 99% compile :D :D :D

ERROR: couldn't find ro.product.name in build.prop
ninja: build stopped: subcommand failed.
make: *** [build/core/ninja.mk:152: ninja_wrapper] Error 1
make: Leaving directory '/home/antarikshc/nu'
#### make failed to build some targets (02:13:01 (hh:mm:ss)) ####
[Android] KeTuRr74:
Wich device repo are you using ?
[Android] antariksh:
Am using Device Tree for porting NucleaRom

I think it's because of the custom Nuclea script added in ota_target_files.py at line 726

Am hesitant to try because I have to wait till 99% to see if the error is fixed or not.

Just in case, Full build error log
[Android] karthik km:
Thanks bro
[Android] quake73:
You are not the only one :)

I don't exactly remember (it was maybe a year ago) but, try adding in system.prop: "ro.product.name := [YOUR DEVICE]"
[Android] antariksh:
Not really an optimal solution. But I'll try to edit the ota_target_files first otherwise harcoding it to system.prop.

Surely, it will fix. :D Thanks
[Android] Akash durai:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=aim_z2_plus
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=kryo
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-1002-gcp-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=OPM1.171019.011
OUT_DIR=/home/akashdurai700/aim/out
============================================
[44/44] bootstrap /home/akashdurai700/aim/out/soong/.minibootstrap/build.ninja.in
[4/4] cp /home/akashdurai700/aim/out/soong/.bootstrap/bin/bpglob
[862/863] glob vendor/qcom/opensource/interfaces/camera/device/1.0/Android.bp
[55/55] /home/akashdurai700/aim/out/soong/.bootstrap/bin/soong_build /home/akashdurai700/aim/out/soong/build.ninja
/home/akashdurai700/aim/out/build-aim_z2_plus.ninja is missing, regenerating...
[484/986] including ./hardware/qcom/wlan-caf/Android.mk ...
build/core/binary.mk:40: warning: libwifi-hal-qcom uses kernel headers, but does not depend on them!
build/core/binary.mk:40: warning: libwifi-hal-qcom uses kernel headers, but does not depend on them!
[663/986] including ./system/sepolicy/Android.mk ...
./system/sepolicy/Android.mk:99: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version
[986/986] including ./vendor/zuk/z2_plus/Android.mk ...
PRODUCT_COPY_FILES vendor/aim/prebuilt/etc/sysconfig/dialer_experience.xml:system/etc/sysconfig/dialer_experience.xml ignored.
build/core/Makefile:66: warning: Duplicate header copy: /home/akashdurai700/aim/out/target/product/z2_plus/obj/include/cld80211-lib/cld80211_lib.h
build/core/Makefile:66: warning: Defined in: hardware/qcom/wlan-caf/cld80211-lib/Android.mk hardware/qcom/wlan-caf/cld80211-lib/Android.mk
[ 99% 1584/1585] glob vendor/qcom/opensource/interfaces/display/config/1.0/Android.bp
ninja: error: '/home/akashdurai700/aim/out/target/product/z2_plus/obj_arm/SHARED_LIBRARIES/libmemalloc_intermediates/export_includes', needed by '/home/akashdurai700/aim/out/target/product/z2_plus/obj_arm/SHARED_LIBRARIES/copybit.msm8996_intermediates/import_includes', missing and no known rule to make it
16:14:07 ninja failed with: exit status 1

Anyone please help me with it......
[Android] Lucchetto00:
Successfully built PixelExperience oreo-mr1 with their default sources, but the rom doesn't end the boot, anyone could help to find the problems ? Thanks !

Logcat: https://pastebin.com/VUSAaLJW
[Android] mosimchah:
Yes, flashing the boot.img replaces the kernel
[Android] KeTuRr74:
Into your lineage.mk

Add this at the end and build again

PRODUCT_BUILD_PROP_OVERRIDES += \

Such as this file : https://github.com/KeTuRr74/android_device_samsung_zenltexx/blob/master/lineage.mk

Dont forget to replace your device name
[Android] antariksh:
Thank you so much, will add this for the next build.
[Android] KeTuRr74:
Hi guys facing this error building NexusOS 8.1 based on LOS15.1 repo's, i cant find the folder "media/Audiosession.h"

https://hastebin.com/waviwageja.cs

Thanks

Edit : Fixed updating NexusOS repos
[Android] majorkid:
Hey Guys am facing this error when compiling this ROM any help will be appreciated Thanks

make: *** No rule to make target 'android/lineage/frameworks/base/../../system/update_engine/binder_bindings/android/os/IUpdateEngine.aidl', needed by '/home/MajorKid/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/../../system/update_engine/binder_bindings/android/os/IUpdateEngine.java'. Stop.

make: *** Waiting for unfinished jobs....

warning: [options] bootstrap class path not set in conjunction with -source 1.7

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.

1 warning

make: Leaving directory '/home/MajorKid'

#### make failed to build some targets (09:47 (mm:ss)) ####
[Android] ZVNexus:
Could I have some help fixing errors like this?

16:32:36 Entire build directory removed.

#### build completed successfully ####

Using 64 threads for build.

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

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=8.1.0

TARGET_PRODUCT=XOS_oneplus3

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_ARCH=arm64

TARGET_ARCH_VARIANT=armv8-a

TARGET_CPU_VARIANT=kryo

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.14.8-041408-generic-x86_64-with-Ubuntu-18.04-bionic

HOST_CROSS_OS=windows

HOST_CROSS_ARCH=x86

HOST_CROSS_2ND_ARCH=x86_64

HOST_BUILD_TYPE=release

BUILD_ID=OPM2.171019.012

OUT_DIR=/home/nexus/Halogen/out

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

[44/44] bootstrap /home/nexus/Halogen/out/soong/.minibootstrap/build.ninja.in

[4/4] cp /home/nexus/Halogen/out/soong/.bootstrap/bin/bpglob

[862/863] glob vendor/*/*/*/*/*/Android.bp

[38/55] test android/soong/cc/config

Processed makevar file /home/nexus/Halogen/device/oneplus/oneplus3/BoardConfig.mk

PASS

[51/55] test android/soong/cc

Processed makevar file /home/nexus/Halogen/device/oneplus/oneplus3/BoardConfig.mk

PASS

[54/55] soong_build docs /home/nexus/H...soong/.bootstrap/docs/soong_build.html

Processed makevar file /home/nexus/Halogen/device/oneplus/oneplus3/BoardConfig.mk

[55/55] /home/nexus/Halogen/out/soong/...me/nexus/Halogen/out/soong/build.ninja

Processed makevar file /home/nexus/Halogen/device/oneplus/oneplus3/BoardConfig.mk

/home/nexus/Halogen/out/build-XOS_oneplus3.ninja is missing, regenerating...

[500/992] including ./hardware/qcom/wlan-caf/Android.mk ...

build/core/binary.mk:40: warning: libwifi-hal-qcom uses kernel headers, but does not depend on them!

[503/992] including ./hardware/ril/libril/Android.mk ...

build/core/base_rules.mk:238: error: hardware/ril/libril: MODULE.TARGET.SHARED_LIBRARIES.libril already defined by hardware/ril-caf/libril.

16:33:07 ckati failed with: exit status 1

#### failed to build some targets (31 seconds) ####

nexus@X370-F:~/Halogen$

Forgot how to fix errors like these, just need a quick refresher.
[Android] quake73:
Remove the folder ril from hardware, leave only ril-caf.
[Android] ZVNexus:
Ah ok lol I actually did the opposite after posting, I removed ril-caf :/ Thats probaly why it doesnt boot haha
[Android] qiurigao:
target thumb C++: healthd <= system/core/healthd/BatteryMonitor.cpp

system/core/healthd/BatteryMonitor.cpp: In member function 'bool android::BatteryMonitor::update()':

system/core/healthd/BatteryMonitor.cpp:189:11: error: 'struct android::BatteryProperties' has no member named 'maxChargingCurrent'

props.maxChargingCurrent = 0;

^

system/core/healthd/BatteryMonitor.cpp:277:43: error: 'struct android::BatteryProperties' has no member named 'maxChargingCurrent'

if (props.maxChargingCurrent < maxChargingCurrent) {

^

system/core/healthd/BatteryMonitor.cpp:278:43: error: 'struct android::BatteryProperties' has no member named 'maxChargingCurrent'

props.maxChargingCurrent = maxChargingCurrent;

^

system/core/healthd/BatteryMonitor.cpp: In member function 'void android::BatteryMonitor::dumpState(int)':

system/core/healthd/BatteryMonitor.cpp:416:49: error: 'struct android::BatteryProperties' has no member named 'maxChargingCurrent'

props.chargerWirelessOnline, props.maxChargingCurrent);

^

build/core/binary.mk:706: recipe for target '/home/lenovo/twrp6/out/target/product/karate/obj/EXECUTABLES/healthd_intermediates/BatteryMonitor.o' failed

make: *** [/home/lenovo/twrp6/out/target/product/karate/obj/EXECUTABLES/healthd_intermediates/BatteryMonitor.o] Error 1

#### make failed to build some targets (06:12 (mm:ss)) ####
[Android] jgcaap:
thanks! :)

---------- Post added at 09:55 AM ---------- Previous post was at 09:39 AM ----------

this common.mk is where exacly? i find that file inside all packages. and outside on other folders is on some places. Thanks
[Android] jgcaap:
what did you add ?
[Android] ivankolev:
Hi guys,

any advice of how to remove all ringtones. notification tones and alarms and add custom ones?
[Android] saintxseiya:
vendor/cm/config/common.mk
[Android] jgcaap:
ah big thanks! I was really lost with this xD i still didnt understood where exacly to change but i'll read the code at the end of the day .
[Android] katinatez:
[MENTION=2040569]jgcaap[/MENTION]

This is a reply to pm, I posted here because many would benefit from it. The question asked was

"How to change name of rom?" & "How to add SuperSU to rom?"

1) To change name of zip file of rom you can do it two different ways.

A)https://github.com/CyanogenMod/android_vendor_cm/commit/b2d2ac6bbd509a216686dbac15de526db00bb6d6

B)https://github.com/CyanogenMod/android_device_oneplus_bacon/commit/babbcd12185f5a7a8f44c042b95d7f931b6fdc47

2) To change name of rom in Settings

https://github.com/temasek/android_packages_apps_Settings/blob/cm-12.0/res/values/cr_strings.xml

3) To add SuperSU, cherry-pick this

https://github.com/CyanogenMod/android_build/commit/d554ea75126f82e430bf0266d0dc436932e4143d

https://github.com/CyanogenMod/android_vendor_cm/commit/6698de715aaf729229202e22081a3b3bbf4d4543
[Android] jgcaap:
Perfect! Thank you. I'm taking notes, and will make a tutorial with this info. Is very helpful! Thanks katinez for your patience on teaching me!

---------- Post added at 12:18 AM ---------- Previous post was at 12:13 AM ----------

Would do this tomorrow. Today was alot of studying for my exams. Have you ever used pngquant? Seems to be very effective to improve roms performance. Is hardly noticeable diferences in colors. I'll post a rom build soon for you guys to see :)
[Android] jgcaap:
Just hope to ask last question as I do not find the answers on Google. Could you point me on the right direction to know exactly how to configure

CLANG_CONFIG_EXTRA_CFLAGS

And the flags itself.

I ask this because I tried to add just archi flags and gave me an error saying processor was not compatible.

O3 vs ofast, ofast from what I read is above o3. Is it correct?

Thank you
[Android] ##W4TCH0UT##:
JustArchi's optimizations don't work on lollipop.

Regards
[Android] jgcaap:
thank you , that was usefull to know... do you know where i can check documentation about flags? thanks

btw i noticed a commit:

https://github.com/CyanHacker-Lollipop/build/commit/1601f864d7faeda3c8c62d7f6be129839bac307e

where has all flags from archi. why is possible for him?
[Android] jgcaap:
btw when building is possible to include a percentage to know where he is at?
[Android] jgcaap:
Created filesystem with 11/32768 inodes and 4206/131072 blocks

done.

Package OTA: /home/jgcaap/cm/out/target/product/bacon/cm_bacon-ota-ebf91b6bdb.zip

File "./build/tools/releasetools/ota_from_target_files", line 677

script.Print("Flashing SuperSU...")

^

IndentationError: unexpected indent

build/core/Makefile:1659: recipe for target '/home/jgcaap/cm/out/target/product/bacon/cm_bacon-ota-ebf91b6bdb.zip' failed

make: *** [/home/jgcaap/cm/out/target/product/bacon/cm_bacon-ota-ebf91b6bdb.zip] Error 1

anyone know how to fix this?
[Android] tobitege:
As it says: that script must have the lines indented correctly to build "blocks" of code. Take a closer look at the rest of the script on how it looks. ;)
[Android] jgcaap:
thanks, it seems this is "space" sensitive. i putted on same outline as the others. Worked fine after words.

Building Roms is really addictive!
[Android] kogone:
how do you integrate CAF to build hammerheadcaf cm-12? i keep getting getting the error "vendor/lge/hammerheadcaf/hammerheadcaf-vendor.mk" does not exist" even after i've downloaded those files from TheMuppets github and placed them in the proper directory...
[Android] Lordvid:
Thank you for your amazing guide!

I've got a question:

Imagine that now a company releases its kernel for lollipop for a concrete device. But I hate his personalized user interface. Following this tutorial Will I be able of taking the android stock rom, adding this mobile kernel and build an stock android ROM for it? Is It as simple as that? there are no bugs or incompatibilities?

What are the kind of changes that companies make over the original android kernel? Is It difficult to adapt the oficial Android lollipop kernel to a device which didn't received this versión?

Thank you very much!