yashsingh1/xdaforums huggingface dataset:
[Android] lightwars:
I didn't see that flags in github,but maybe your device tree has changed... Would be good to see how it looks like at the moment.

If you set the flags above, the boot.img will be generated as part of the build process. Do not know if it will work without it... Maybe you have also set kernel page size and starting adresses of ramdisk and so on.
[Android] kosmitchak:
Here's my github: https://github.com/kosmitchak/android_device_huawei_alice/tree/crdroid6.0?files=1
[Android] Ozadroid:
Where is your vendor folder? I am guessing those variables might be in this makefile.

# Inherit some common CM stuff.

$(call inherit-product, vendor/cm/config/common_full_phone.mk)
[Android] qiurigao:
My build. Can code terror

Starting build with ninja

ninja: Entering directory `.'

ninja: error: 'out/target/product/msm8996/obj_arm/SHARED_LIBRARIES/libqct_resampler_intermediates/export_includes', needed by 'out/target/product/msm8996/obj_arm/SHARED_LIBRARIES/libaudioresampler_intermediates/import_includes', missing and no known rule to make it

make: *** [ninja_wrapper] error 1
[Android] lightwars:
A temporary fix to continue building is to create a file export_includes inside out/target/product/msm8996/obj_arm/SHARED_LIBRARIES/libqct_resampler_intermediates/

Then start the build again and it should goes passed this error
[Android] qiurigao:
Thank you very much for your method. It's really good, I hope it doesn't go wrong
[Android] qiurigao:
Hi I have a problem again

Starting build with ninja

ninja: Entering directory `.'

[ 3% 44/1143] target SharedLib: libc (out/target/product/msm8937_32/obj/SHARED_LIBRARIES/libc_intermediates/LINKED/libc.so)

FAILED: /bin/bash -c "prebuilts/misc/linux-x86/ccache/ccache prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -nostdlib -Wl,-soname,libc.so -Wl,--gc-sections -shared -Lout/target/product/msm8937_32/obj/lib out/target/product/msm8937_32/obj/SHARED_LIBRARIES/libc_intermediates/arch-common/bionic/crtbrand.o out/target/product/msm8937_32/obj/SHARED_LIBRARIES/libc_intermediates/arch-common/bionic/crtend_so.o out/target/product/msm8937_32/obj/SHARED_LIBRARIES/libc_intermediates/bionic/malloc_common.o out/target/product/msm8937_32/obj/SHARED_LIBRARIES/libc_intermediates/bionic/libc_init_dynamic.o out/target/product/msm8937_32/obj/SHARED_LIBRARIES/libc_intermediates/bionic/NetdClient.o out/target/product/msm8937_32/obj/SHARED_LIBRARIES/libc_intermediates/arch-common/bionic/crtbegin_so.o out/target/product/msm8937_32/obj/SHARED_LIBRARIES/libc_intermediates/arch-arm/bionic/exidx_dynamic.o out/target/product/msm8937_32/obj/SHARED_LIBRARIES/libc_intermediates/arch-arm/bionic/atexit_legacy.o -Wl,--whole-archive out/target/product/msm8937_32/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a out/target/product/msm8937_32/obj/STATIC_LIBRARIES/libjemalloc_intermediates/libjemalloc.a -Wl,--no-whole-archive out/target/product/msm8937_32/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/libcompiler_rt-extras.a prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/lib/libatomic.a prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/../lib/gcc/arm-linux-androideabi/4.9/libgcc.a -ldl -o out/target/product/msm8937_32/obj/SHARED_LIBRARIES/libc_intermediates/LINKED/libc.so -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--build-id=md5 -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--icf=safe -Wl,--hash-style=gnu -Wl,--no-undefined-version -Wl,--no-fix-cortex-a8 -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -Wl,--hash-style=both -Wl,--version-script,bionic/libc/libc.arm.map -Wl,--no-undefined"

prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin/ld: error: version script assignment of LIBC to symbol __propClientDispatch failed: symbol not defined

prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin/ld: error: version script assignment of LIBC to symbol __propClientDispatchWrite failed: symbol not defined

clang++: error: linker command failed with exit code 1 (use -v to see invocation)

[ 3% 44/1143] target arm C: libm <= bionic/libm/upstream-freebsd/lib/msun/src/s_remquo.c

ninja: build stopped: subcommand failed.

make: *** [ninja_wrapper] error 1

#### make failed to build some targets (45 seconds) ####
[Android] :
Guys someone to help me i'm building LOS 14.1..I'm getting this error

[ 33% 16781/49749] Building with Jack:...l_intermediates/with-local/classes.dex
FAILED: /bin/bash /home/alekdev/out/target/common/obj/JAVA_LIBRARIES/core-all_intermediates/with-local/classes.dex.rsp
Out of memory error (version 1.2-rc4 'Carnac' (298900 f95d7bdecfceb327f9d201a1348397ed8a843843 by android-jack-team@google.com)).
GC overhead limit exceeded.
Try increasing heap size with java option '-Xmx<size>'.
Warning: This may have produced partial or corrupted output.
[ 33% 16781/49749] Building with Jack:...f-java-nano_intermediates/classes.jack
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/alekdev'

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

My Specs:

Intel E7500 3.7 Ghz overclocked

4 GB RAM

500 GB HDD
[Android] spookcity138:
This has been posted many times. At least twice by me. It's an out of memory error. Search the thread. I posted the solution again a few pages back I think.
[Android] :
failed i have 1tb free space error
[Android] spookcity138:
Haha,Please take no offense, as none is intended,and perhaps English is not you're native language,but....That is the most confusing thing I have ever read [emoji2]
[Android] :
sorry but my english weak but please say i tried to build

So I am building AOSP with kernel from source.

But I am getting stuck with this error:

Code:

ninja: error: 'out/target/product/cancro/kernel', needed by 'out/target/product/cancro/boot.img', missing and no known rule to make it

06:01:43 ninja failed with: exit status 1

make: *** [run_soong_ui] Error 1

This is my local_manifest:

Code:

<project path="device/xiaomi/cancro" name="mi3-dev/android_device_xiaomi_cancro" remote="github" revision="mnc-dev"/>

<project path="device/xiaomi/cancro/common" name="mi3-dev/android_device_xiaomi_msm8974-common" remote="github" revision="lollipop-mr1"/>

<project path="vendor/xiaomi/cancro" name="mi3-dev/proprietary_vendor_xiaomi" remote="github" revision="mnc-dev"/>

<project path="kernel/xiaomi/cancro" name="mi3-dev/android_kernel_xiaomi_msm8x74pro" remote="github" revision="lollipop-mr1"/>

When I start make, It calls my 'build/core/main.mk', which then calls my 'config.mk via 'include $(BUILD_SYSTEM)/config.mk which then calls 'envsetup.mk via 'include $(BUILD_SYSTEM)/envsetup.mk'.

Then in envsetup.mk it tries to find the BoardConfig.mk via:

Code:

board_config_mk := \

$(strip $(sort $(wildcard \

$(SRC_TARGET_DIR)/board/$(TARGET_DEVICE)/BoardConfig.mk \

$(shell test -d device && find -L device -maxdepth 4 -path '*/$(TARGET_DEVICE)/BoardConfig.mk') \

$(shell test -d vendor && find -L vendor -maxdepth 4 -path '*/$(TARGET_DEVICE)/BoardConfig.mk') \

)))

ifeq ($(board_config_mk),)

$(error No config file found for TARGET_DEVICE $(TARGET_DEVICE))

endif

ifneq ($(words $(board_config_mk)),1)

$(error Multiple board config files for TARGET_DEVICE $(TARGET_DEVICE): $(board_config_mk))

endif

include $(board_config_mk)

BoardConfig is in /device/xiaomi/cancro/BoardConfig.mk which it should find from the above piece of code and call for BoardConfigCommon.mk from BoardConfig via include device/xiaomi/cancro/common/BoardConfigCommon.mk.

BoardConfigCommon contains the kernel headers:

Code:

COMMON_PATH := device/xiaomi/cancro/common

TARGET_BOARD_KERNEL_HEADERS := $(COMMON_PATH)/kernel-headers

After processing BoardConfigCommon.mk it comes back to BoardConfig.mk and calls include vendor/xiaomi/cancro/cancro/BoardConfigVendor.mk which says the comment and nothing else:

Code:

# This file is generated by device/xiaomi/cancro/setup-makefiles.sh

After this I am lost.

The thing is, I think the error that I am getting is being generated from '/Kernel/xiaomi/cancro/AndroidKernel.mk

Code:

#Android makefile to build kernel as a part of Android Build

PERL= perl

KERNEL_TARGET := $(strip $(INSTALLED_KERNEL_TARGET))

ifeq ($(KERNEL_TARGET),)

INSTALLED_KERNEL_TARGET := $(PRODUCT_OUT)/kernel

endif

But I cannot reference AndroidKernel.mk to called from anywhere after BoardConfig.mk above
[Android] spookcity138:
I certainly didn't mean anything by my post. Was only a joke.I def know English is not spoken by everyone.

Anyway,I'll have a look at this and see if I can tell the problem, but after just a glance, are you sure you have the kernel source? Are you should your BoardConfig has the right path?

Edit:

You could always try to build the kernel "standalone" and call the prebuilt image in your BoardConfig.
[Android] :
fixed now i get new error...

Communication error with Jack server (56). Try 'jack-diagnose'
[ 33% 16784/49749] Building with Jack:...l_intermediates/with-local/classes.dex
FAILED: /bin/bash /home/alekdev/out/target/common/obj/JAVA_LIBRARIES/core-all_intermediates/with-local/classes.dex.rsp
Communication error with Jack server (56). Try 'jack-diagnose'
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/alekdev'
[Android] spookcity138:
Stop jack. Then restart it.Then build again.
[Android] NVDX11:
Deleted
[Android] Juanlu20:
Does anyone know why I'm getting this error? I'm compiling Dirty Unicorns for Huawei G8.

https://pastebin.com/Mffcwhnu
[Android] XTutorials:
Do not use ninja.wrapper .It is too unstable and gives to many errors, at least for me, what I've had developed for Huawei devices too, a P8 Lite and disabling ninja in .bashrc fixed me a lot of errors, but not all, of course.

Can you give me device source links?
[Android] :
please help https://hastebin.com/eyomasulal.scala
[Android] Juanlu20:
Thank you but I solved it! I had an error in local_manifest, wrong repository! However I'll disable Ninja wrapper as well.
[Android] MZO:
Been picking things manually? Revert them
[Android] Juanlu20:
Hi! I've compiled Dirty Unicorns for Huawei G8 but neither mobile data nor bluetooth are working.

Is there any way I can find out what the problem is?
[Android] XTutorials:
Please give link of source code, we can't help you if you don't provide source code links
[Android] Juanlu20:
You're absolutely right :o

Device

Kernel

Vendor

Dirty Unicorns

Sorry if I'm making some stupid mistake but until last week I hadn't compiled any rom.

Edit: I must say that I've had a lot of problems with caf and non-caf folders which I've solved thanks to this thread.
[Android] XTutorials:
Source code is made for LOS, maybe there are some coflicts. I'm not sure
[Android] Juanlu20:
But isn't there any log where I can find out what the problem is?
[Android] Charles IV:
Depending on how they are 'not working', you can take a logcat.

Be warned they can be overly detailed, so have a look at Google's guide to doing them.

But this only works when there is something you can do to make them bot work, for example try to turn on Bluetooth, then Bluetooth share starts crashing (my problem!)

However I think adb logcat logs from boot, or flash, or something like that, so I'm not entirely sure, but it's a good place to start
[Android] kosmitchak:
Can i use LOS kernel,device tree and vendor for building paranoid Android 6?

Thanks
[Android] XTutorials:
Hi! P8Lite community is going to be full of roms if we work In this manner of speed.

If you would've some of my older AOKP thread pages, you would see that I've tried building AOSPA too with OpenKirin source. And it does not work. And it is too much work for succesfully building the rom.

Haky86's source might be an idea, he has AOSP source, but his source are having more bugs(ril, speaker, and microphone), so I'm sure the ROM with his source will succesfully build, but until he doesn't fix the bugs the ROM is not made for daily use.

I tried 1 week sorting out the problem, but every time I click "lunch" then "lineage_alice-userdebug" it will says something about no makefile found or that is a file missing. I tried renaming all .mk files AOSPA instead of lineage, but no luck. I even asked for help from more experienced people and they had no idea what was wrong.

Thanks for understanding!
[Android] Ravi Kumawat:
I'm building a caf rom and when I do lunch, it says device/qcom/sepolicy/sepolicy.mk - no such file or directory . I checked that folder and only sepolicy.mk is missing. Even in caf repos, sepolicy.mk is not there in nougat branch.
[Android] lazybatman123:
Hi,

I'm following the guide and i'm stuck in step running "time brunch <codename> -j#"

I'm using the repo bellow in my manifest file

https://github.com/fortunaFiWn/android_device_samsung_fortuna-common

https://github.com/fortunaFiWn/android_vendor_samsung_fortuna-common

https://github.com/fortunaFiWn/android_kernel_samsung_fortuna-common

After sync repo and then run the "time brunch fortuna3g -j2" i get this error:

"including vendor/cm/vendorsetup.sh

Invalid lunch combo: cm_fortuna3g--j2

No such item in brunch menu. "

Does anyone know what i'm doing wrong?

Thanks
[Android] smart-t78:
try cm_fortuna3g-userdebug

after that

mka bacon
[Android] lazybatman123:
Thanks for the help.

when i run this: time brunch cm_fortuna3g-userdebug

i get this error:

including vendor/cm/vendorsetup.sh

build/core/product_config.mk:234: *** Can not locate config makefile for product "cm_fortuna3g". Pare.

Device fortuna3g not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).

Repository for fortuna3g not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml.

build/core/product_config.mk:234: *** Can not locate config makefile for product "cm_fortuna3g". Pare.
[Android] smart-t78:
add this to your local_manifest https://github.com/fortunaFiWn/android_device_samsung_fortuna3g

its missing
[Android] lazybatman123:
sorry i gave you the wrong links, i don't know if it makes any difference but the ones i used were the following:

https://github.com/ZIM555/android_device_samsung_fortunave3g

https://github.com/ZIM555/android_vendor_samsung_fortunave3g

https://github.com/ZIM555/android_kernel_samsung_fortunaxx3g

again thanks for the help
[Android] smart-t78:
change the name from ZIM555 to Samsung-MSM8916 and resync your source
[Android] aoleary:
Just checking back in to say thanks to [MENTION=6304619]MZO[/MENTION] and [MENTION=6422464]mihran_thalhath[/MENTION] for your help.

Syncing ril-caf to hardware/ril-caf solved the no-SIM issue.

Now I just have to fix an issue where the phone bootloops on trying to enter Display in Settings, but thats an issue for another post :)

Thx guys
[Android] MZO:
Take the logs and see what it says
[Android] aoleary:
Since I dont have a working phone at the moment, I have asked my tester to do so. Waiting on him to provide the logs..
[Android] DiamondJohn:
I am trying to add a device (xt907_jbbl ie JellyBean bootloader) to LineageOS and I am getting the following error. I am starting with a device tree for the KK Bootloader for XT907.

[2017-06-06 21:54:53] Notice file: external/zip/NOTICE -- /home/ubuntu/android/lineage/out/target/product/xt907/obj/NOTICE_FILES/src//system/xbin/zip.txt
[2017-06-06 21:54:53] make: *** No rule to make target `vendor/motorola/xt907/proprietary/etc/firmware/atmxt-r1.tdat', needed by `/home/ubuntu/android/lineage/out/target/product/xt907/system/etc/firmware/atmxt-r1.tdat'. Stop.
[2017-06-06 21:54:53] make: *** Waiting for unfinished jobs....

The only reference to this file is in the "device-proprietary-files.txt" and it is simply an included pre-built binary. However, the build process appears to try to compile it. Any ideas where I should start looking to fix this issue?
[Android] NepoRood:
I can't help but say "look harder", Lineage has this, others should too...
[Android] aoleary:
Hi [MENTION=6304619]MZO[/MENTION]

You mentioned to sync "your SoC specific audio, media, and display HALs too".

That would be the following?

The d855 has a Qualcomm MSM8974AC chipset

https://github.com/LineageOS/android_hardware_qcom_audio/tree/cm-14.1-caf-8974

https://github.com/LineageOS/android_hardware_qcom_display/tree/cm-14.1-caf-8974

https://github.com/LineageOS/android_hardware_qcom_media/tree/cm-14.1-caf-8974

To what path do I sync them within DU/hardware/qcom ??

Do I sync them directly into

DU/hardware/qcom/audio

DU/hardware/qcom/display

DU/hardware/qcom/media

or do I do something like the following:

DU/hardware/qcom/audio/8974

DU/hardware/qcom/display/8974

DU/hardware/qcom/media/8974

Finally, what is https://github.com/LineageOS/android_device_qcom_common used for and is it necessary?

Thanks in advance.
[Android] MZO:
hardware/qcom/media-caf/msm8974

hardware/qcom/audio-caf/msm8974

hardware/qcom/display-caf/msm8974
[Android] Ravi Kumawat:
I built a caf rom through some hard work (still a noob, just learning how thus stuff works). I flashed the zip but it doesn't boot and directly goes to fastboot mode. When I flash a custom kernel on top of it, it boots and bootanimation comes up. So my question is what is wrong with the inbuilt kernel. Does caf needs a prebuilt kernel like aosp to get compiled?
[Android] :
Brothers and brother @jackeagle,

I'm very much new to source development or building a ROM from sources.

Does anyone knows any command line that we need to use to cleanup (Deleting all files) from the ROM folder.

Also, if we cherry pick some feature from some commit, will that be lost if I do "repo sync"..?

Lastly, where do we suppose to sync the OMS repo...? In build root directory like LAOS or AOSP or in "LAOS/frameworks/base" directory.

Will be awaiting guidance for the same.

Best Regards

Bond
[Android] Ravi Kumawat:
For setting up for a new build or cleaning build files use "make clean"

Nope, the changes won't be lost.

The OMS is already merged into ROM's sources if it's written it supports OMS.
[Android] :
Brother,

Thank you for the "make clean" comment. seems like Swach Bharat's Agenda, just need to put India in between...:D

I am still a bit confused because in Lineage sources I can't find anything for OMS. Also for cherry picking it will not get lost, but sources will sync the files which will replace my cherry picking edited files or it will just add the missing lines.

I am asking as I will be picking a lot of commits to be merged in my build.

Thank you brother, once again for the help.

Regards

Bond
[Android] MZO:
If there's a new commit to your repo then yes new checkout will cause you to lose your changes. For this you need to fork the repo and upload your changes to another forked repo.
[Android] Infinity:
Atleast 8gb ram needed dude...

You are running out of memory

Actually, now a days 8gb is also not sufficient

..so if you are thinking to upgrade then go for 16gigs
[Android] XTutorials:
Nope. I have succesufully built AOKP on a laptop with 3GB of ram and a C2D P8600. That are much better specs becuase of full PC CPU, so building is not impossible. Slow, but not impossible
[Android] Ozadroid:
So after so much head bashing and learning hierarchy of makefiles. I figured out what the problem is.

It was a mentioned in /device/common/populate-new-device.sh

ifeq (\$(TARGET_PREBUILT_KERNEL),)
LOCAL_KERNEL := device/$1/$2-kernel/kernel
else
LOCAL_KERNEL := \$(TARGET_PREBUILT_KERNEL)
endif

PRODUCT_COPY_FILES := \\
\$(LOCAL_KERNEL):kernel

where $1=vendor and $2=device-name.

kernel sources are not put in /kernel/<vendor>/<device-name>/

Its building now. Lets see what happens.
[Android] MZO:
Awesome! Good luck
[Android] Markinb66:
Hi, I'm having this error compiling Pure Nexus for D850:

frameworks/base/packages/SystemUI/res/layout/navigation_layout.xml:27: error: No resource identifier found for attribute 'viewLocation' in package 'com.android.systemui'
[Android] pintspin:
getting below error after 5 hours of build time !! please help how to remove this

and once the error is removed do it will take another 5 hours ?? how i can minimize it is there any o0ption so that the time can be reduced by utilizing to extent the build was error less ? below is for togari aosp (xperia z ultra )

dex2oatd W 44791 44791 art/runtime/runtime.cc:217] Current thread not detached in Runtime shutdown
Install: out/target/product/togari/system/priv-app/ExternalStorageProvider/oat/arm/ExternalStorageProvider.odex
target R.java/Manifest.java: FMRadio (out/target/common/obj/APPS/FMRadio_intermediates/src/R.stamp)
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines targetSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
packages/apps/FMRadio/AndroidManifest.xml:44: error: No resource identifier found for attribute 'roundIcon' in package 'android'

build/core/package_internal.mk:243: recipe for target 'out/target/common/obj/APPS/FMRadio_intermediates/src/R.stamp' failed
make: *** [out/target/common/obj/APPS/FMRadio_intermediates/src/R.stamp] Error 1
[Android] lazybatman123:
i looked up the model that you gave me and it was samsung J7 and mine is samsung grand prime does it make any difference?
[Android] smart-t78:
if you have samsung grand prime. look here https://github.com/Samsung-MSM8916?tab=repositories
[Android] Albe96:
Help

fixed
[Android] TimSchumi:
Please share a longer part of your build log on pastebin/hastebin
[Android] Albe96:
fixed
[Android] Albe96:
How to fix this sub-make failed error?

PASTEBIN-->>https://pastebin.com/KigHP6hD
[Android] MZO:
Hastebin.com it
[Android] Albe96:
https://hastebin.com/eragosiyac.sql

Kernel source-->>https://github.com/Alberteno/android_kernel_samsung_j2lte
[Android] MZO:
This seems like the culprit

https://github.com/Alberteno/androi...mmit/0f9c4c20fcc27df9cb869bb8b85fcc9622bb6e6a
[Android] Albe96:
what's wrong and how to fix it?
[Android] MZO:
Revert it for now. :/
[Android] Albe96:
ok

---------- Post added at 03:08 PM ---------- Previous post was at 03:07 PM ----------

then it'll build? i'll try tomorrow!
[Android] Albe96:
hi there.It's not reverting. what now?

alberteno098@instance-6:~/lineage-14/kernel/samsu
ng/j2lte$ git revert 0f9c4c20fcc27df9cb869bb8b85f
cc9622bb6e6a
error: could not revert 0f9c4c2... selinux: exten
ded permissions for ioctls
hint: after resolving the conflicts, mark the cor
rected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'
alberteno098@instance-6:~/lineage-14/kernel/samsu
ng/j2lte$

Edit: Reverted.Now? Start compiling again?
[Android] Albe96:
deleted
[Android] pierg75:
Does anyone knows where I could why the camera app was not built (but the rom was made successfully)?
[Android] NepoRood:
Did you add it? Below is an example from my device make file (Nougat branch)...

# Camera
PRODUCT_PACKAGES += \
camera.apq8084 \
libprotobuf-cpp-full
[Android] pierg75:
Yep, it's there:

# Camera
PRODUCT_PACKAGES += \
libxml2 \
camera.msm8974 \
libshim_camera \
Snap
[Android] NepoRood:
Drop "Snap", it's not the best app anyway. Maybe it will fix, maybe not, but, I've never included that app :p

EDIT:

And, the trailing slash, "/", above it (after libshim_camera), last line should end with nothing...
[Android] pierg75:
Yeap, thanks :good: Let's give it a go

---------- Post added at 03:41 PM ---------- Previous post was at 02:58 PM ----------

It didn't help.

Still no camera app and using another camera app, I get the message to enable camera permissions (already checked and enabled).

Is there any log of the whole build to check?