yashsingh1/xdaforums huggingface dataset:
[Android] Angel_666:
Hi! Thanks for answer! Same result with brunch..

[1/1] /home/angel666_ib/android/out/soong/.minibootstrap/minibp /home/angel666_ib/android/out/soong/.bootstrap/build.ninja
[55/56] glob prebuilts/ndk/cpufeatures.bp
[80/80] /home/angel666_ib/android/out/soong/.bootstrap/bin/soong_build /home/angel666_ib/android/out/soong/build.ninja
/home/angel666_ib/android/out/build-lineage_u3-cleanspec.ninja is missing, regenerating...
/home/angel666_ib/android/out/build-lineage_u3.ninja is missing, regenerating...
[267/1038] including frameworks/av/camera/Android.mk ...
frameworks/av/camera/cameraserver/Android.mk:18: warning: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
[625/1038] including system/sepolicy/Android.mk ...
system/sepolicy/Android.mk:88: warning: Be careful when using the SELINUX_IGNORE_NEVERALLOWS flag. It does not work in user builds and using it will not stop you from failing CTS.
[1038/1038] including vendor/qcom/opensource/dataservices/Android.mk ...
[ 99% 795/796] glob bionic/libc/include/**/*.h
ninja: no work to do.

#### build completed successfully (01:26 (mm:ss)) ####

I can't figure out what's wrong. The device tree is the same as in "bacon" from the LineageOS 16 repository exept device name. If I build the kernel separately with the "make bootimage" command, the build process works successfully. If I try to build a system or "mka bcon", the process reports a successful completion but do nothing..
[Android] :
Im trying to build Bootleggers for my angler but getting this error at 67%. Anyone can help me?

https://del.dog/homidawebo
[Android] AmirHRC:
hello everyone iam building posp rom i get this while building help me please

its my firs try to build custom rom
[Android] AmirHRC:
[MENTION=7237874]NepoRood[/MENTION]

help me with this sir iam trying to build posp rom iget this I think iam at the last step of build

help me please

sorry for the screenshot idont know how to get log from terminal with debian os
[Android] AmirHRC:
[MENTION=5366380]quake73[/MENTION] help me siir

help me with this iam trying to build posp rom iget this I think iam at the last step of build

help me please

sorry for the screenshot idont know how to get log from terminal with debian os
[Android] quake73:
These are warnings. For the actual error, find the line that says "FAILED". What I do to find the error is search backwards in terminal for "FAILED" (with 'case sensistive' checked). The first line found is the one you need.
[Android] AmirHRC:
the build is done

after i flashed the build the phone stay on google logo what ishould do
[Android] :
See here. Finished my build but after I flash it on my Nexus it's stuck at the Google Logo. Pretty sure it's a bootloop. But how can I fix it

Soo. Phone boots. But Camera is broken.

https://del.dog/homidawebo

Can anyone help me with this?
[Android] DiamondJohn:
Try highlightng and selecting the text with your mouse, then right-click and select "copy" then open your text editor (eg gedit) paste in the text, save that file, and post that somewhere like del.dog, haste.bin etc etc and place the link here.
[Android] quake73:
Try changing the %ld to %d in those 3 lines indicated in the errors. (in the file device/huawei/angler/camera/QCamera2/HAL3/QCamera3Channel.cpp)
[Android] skoar:
hey I;m getting the following error while buildinf lineageos 16.

[ 69% 65628/93948] //vendor/lineage/build/soong:generated_kernel_includes generate

FAILED: /home/skoar/android/lineageos/out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/.dummy_dep

/home/skoar/android/lineageos/out/soong/host/linux-x86/bin/sbox --sandbox-path /home/skoar/android/lineageos/out/soong/.temp --output-root /home/skoar/android/lineageos/out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen --copy-all-output -c 'make -j CFLAGS_MODULE="-fno-pic" -C O=__SBOX_OUT_DIR__ ARCH=arm64 CROSS_COMPILE="/usr/bin/ccache aarch64-linux-androidkernel-" CROSS_COMPILE_ARM32="arm-linux-androideabi-" headers_install' && touch /home/skoar/android/lineageos/out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/.dummy_dep

make: *** O=/home/skoar/android/lineageos/out/soong/.temp/sbox985711399: No such file or directory. Stop.

sbox command (make -j CFLAGS_MODULE="-fno-pic" -C O=/home/skoar/android/lineageos/out/soong/.temp/sbox985711399 ARCH=arm64 CROSS_COMPILE="/usr/bin/ccache aarch64-linux-androidkernel-" CROSS_COMPILE_ARM32="arm-linux-androideabi-" headers_install) failed with err "exit status 2"

[ 69% 65635/93948] //frameworks/base:gen-platform-proto-constants generate

ninja: build stopped: subcommand failed.

11:35:26 ninja failed with: exit status 1

Any ideas ???

p.s. I'm using prebuilt kernel
[Android] AmirHRC:
I finished building posp rom for shamu (nexus6) but after flashing my build iget bootloop stuck at google logo - after 1 min the phone vibrate normaly when press power button but the google logo is still volume button also work fine and the led when plug the charger cable work the only probleme is the google logo is still

here is my logcat

https://gist.github.com/RinGooDz/f9d9a265d66381249b97614dac3b2fd9
[Android] mamarama9904:
I would build RR from other project's repositories. how should I configure them?

the device tree looks like that it is for mokee OS. I want configure for RR.

https://github.com/lihonglinglory/android_device_coolpad_c106

https://github.com/lihonglinglory/android_kernel_coolpad_c106

https://github.com/smustfa147/proprietary_vendor_coolpad_C106

how to port from mokee device tree to RR device tree?
[Android] Qiangong2:
I'm trying to build lineage 15.1 but ninja is so slow.

Using export USE_NINJA=false doesn't work, is there another to build without ninja?
[Android] Exodusnick:
someone can help me I'm trying to create a build with microg

these sources i used to microg in addition to

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<project name="lineageos4microg/android_prebuilts_prebuiltapks" path="prebuilts/prebuiltapks" remote="github" revision="master" />

</manifest>

and

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<project name="LineageOS/android_device_oneplus_bacon" path="device/oneplus/bacon" remote="github" revision="lineage-16.0" />

<project name="LineageOS/android_device_oppo_common" path="device/oppo/common" remote="github" revision="lineage-16.0" />

<project name="LineageOS/android_device_oppo_msm8974-common" path="device/oppo/msm8974-common" remote="github" revision="lineage-16.0" />

<project name="LineageOS/android_kernel_google_msm" path="kernel/google/msm" remote="github" revision="lineage-16.0" />

<project name="LineageOS/android_kernel_oppo_msm8974" path="kernel/oppo/msm8974" remote="github" revision="lineage-16.0" />

<project name="TheMuppets/proprietary_vendor_oneplus" path="vendor/oneplus" remote="github" revision="lineage-16.0" />

<project name="TheMuppets/proprietary_vendor_oppo" path="vendor/oppo" remote="github" revision="lineage-16.0" />

<project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" />

</manifest>

can i know how to fix this ?

see Attach Files.

I thank you in advance for your help.

Edit:with android 15.1 microg i had no problems
[Android] quake73:
Try adding LOCAL_SDK_VERSION := current to your Android.mk file (it has helped me in the past).
[Android] srgrusso:
I'm running into this error trying to build XenonHD for my device.

FAILED: /mnt/UserData/Projects/Android-Source/XenonHD-9.0/out/soong/build.ninja
/mnt/UserData/Projects/Android-Source/XenonHD-9.0/out/soong/.bootstrap/bin/soong_build -t -l /mnt/UserData/Projects/Android-Source/XenonHD-9.0/out/.module_paths/Android.bp.list -b /mnt/UserData/Projects/Android-Source/XenonHD-9.0/out/soong -n /mnt/UserData/Projects/Android-Source/XenonHD-9.0/out -d /mnt/UserData/Projects/Android-Source/XenonHD-9.0/out/soong/build.ninja.d -o /mnt/UserData/Projects/Android-Source/XenonHD-9.0/out/soong/build.ninja Android.bp
error: vendor/xenonhd/build/soong/Android.bp:31:8: module "generated_kernel_includes": cmd: unknown variable '$(KERNEL_MAKE_FLAGS)'

I built this once before without any problems. I just did a repo sync and now I'm having this issue. I'm building with command "brunch aosp_gtaxlwifi-userdebug | tee t580-build-log"

Here is the link to my device tree https://github.com/srgrusso/android_device_samsung_gtaxlwifi/tree/xenonhd-9.0_64-bsp

Maybe someone can point out the obvious.

Thanks
[Android] DiamondJohn:
Sorry I can't help you with your actual problem,and I hope i don't dilute the query with this OT post, but when I saw you using "tee" it caught my interest, as I am really surprised more people aren't posting that they also do so.

I personally use something like the following to give me a time stamp for each step as well.

brunch aosp_gtaxlwifi-userdebug [B][COLOR="Blue"] |& ts '[%Y-%m-%d %H:%M:%S]' | tee -a $HOME/brunch_out.log; [/COLOR][/B]

NB: I do it for nearly every step of the build process, and hence the "-a"

=========Edit============

PS: I think someone who is trying to help will also need the link to your kernel source.
[Android] quake73:
Insert this line: XENONHD_BUILD := true in your boardconfig.mk or aosp_gtaxlwifi.mk file (i'm not sure which one will work).

The problem is here:

There are these lines in build/core/config.mk file:

ifneq ($(XENONHD_BUILD),)

include vendor/xenonhd/config/BoardConfigLineage.mk

endif

and BoardConfigLineage.mk needs to be included. You can also add XENONHD_BUILD := true right above those 3 lines :D
[Android] srgrusso:
Thanks! Worked great! I put the line in aosp_gtaxlwifi.mk. I don't know how you figured it out but I have a few other roms I want to try and build with the same error. Can you give me a few pointers or what to look for. Are there specific files I want to look at to figure out if i'm missing some needed includes.

Thank you again. :)
[Android] mamarama9904:
build error.

[1/1] /home/mamarama9904/RR/out/soong/...04/RR/out/soong/.bootstrap/build.ninja

[55/56] glob prebuilts/ndk/stl.bp

[80/80] /home/mamarama9904/RR/out/soon.../mamarama9904/RR/out/soong/build.ninja

/home/mamarama9904/RR/out/build-rr_s2-cleanspec.ninja is missing, regenerating...

/home/mamarama9904/RR/out/build-rr_s2.ninja is missing, regenerating...

[414/1039] including hardware/qcom/media-caf/msm8952/Android.mk ...

hardware/qcom/media-caf/msm8952/Android.mk:4: warning: target list is : msm8952

[624/1039] including system/sepolicy/Android.mk ...

system/sepolicy/Android.mk:88: warning: Be careful when using the SELINUX_IGNORE_NEVERALLOWS flag. It does not work in user builds and using it will not stop you from failing CTS.

[1039/1039] including vendor/rr/prebuilt/common/Android.mk ...

[ 99% 5353/5354] glob vendor/rr/overlay/common/**/*

ninja: error: unknown target 'build', did you mean 'rild'?

11:35:10 ninja failed with: exit status 1
[Android] ArcherTanu:
Guyzz i hv got same error for latest rr 7.0.2 last night
[Android] quake73:
Reverse engineering :)

First i searched where the KERNEL_MAKE_FLAGS is modified. It was in BoardConfigKernel.mk. Then i searched where BoardConfigKernel.mk is included. Turned out to be in BoardConfigLineage.mk. And finally i found that BoardConfigLineage.mk is getting included in build/core/config.mk but it is surrounded by IF/ENDIF.
[Android] srgrusso:
Usually I can trace them buy looking at the file that called the command.

Thanks for your help.
[Android] AmirHRC:
who can tell me what is this probleme and how to fix it

i finished building aosip for shamu and the build stuck at the bootanimation idid : adb shell dmesg to capture the probleme ifind this :

[ 2.770511] init: Command 'start configstore-hal-1-0' action=late-fs (/init.shamu.rc:72) took 0ms and failed: service configstore-hal-1-0 not found

[ 2.770577] init: Command 'start gralloc-2-0' action=late-fs (/init.shamu.rc:73) took 0ms and failed: service gralloc-2-0 not found

help me please
[Android] ArcherTanu:
I think this is a vendor source problem.. Coz it happens in Los16 to when i change the vendor tree source..

This is the vendor tree im using for merlin..

https://github.com/chil360/proprietary_vendor_motorola_old/tree/lineage-16.0

Compilation error log attached.. Please help me Make this vensor tree problem solved...

Thnx
[Android] skoar:
Getting the following build error

Ubuntu 18, lineageos 16, Oracle java 9

https://hastebin.com/maditoziqa.coffeescript
[Android] NepoRood:
Do you have this repo:

https://github.com/LineageOS/android_hardware_lineage_lineagehw
[Android] skoar:
Yes and also added in Boardconfig as

BOARD_HARDWARE_CLASS += \

hardware/lineage/lineagehw
[Android] NepoRood:
Which device are you building for?

Link to tree?
[Android] skoar:
Lenovo tab4 10 (TB-X304L)

I'm trying to do a bringup

device tree - https://github.com/skoar/android_device_lenovo_TBX304

I've been going at this for days but to no avail
[Android] NepoRood:
I think this is your issue, try a clean build with this line commented/removed

I could be wrong too, someone will come along to correct me if that's the case.

LOS HW is usually set in the device tree, called when needed, so to speak. Booting or not, is another issue, lol, you may need to add some HW configs later.
[Android] legendstarspro:
It's because of the rom source, not because of your device tree

You can fix it by:

Open file at path: external/e2fsprogs/misc/tune2fs.c

Find these line:

#ifndef BUILD_AS_LIB

const char *program_name = "tune2fs";

#else

extern const char *program_name;

#endif

Then keep only this line:

const char *program_name = "tune2fs";

And delete or make comment to 4 other lines.
[Android] AmirHRC:
please help

i cant make any call after flashing my havoc os build ifinished building it but when try to make a call the phone reboot and tell me CallManagement keep stoping

+

ihave no bootanimation

help please
[Android] AmirHRC:
[MENTION=5366380]quake73[/MENTION]

sir can you help me with this

iam trying to make call the phone reboot here is the logcat :

https://gist.github.com/RinGooDz/48c745ad5eb5b3bae541ccd165c535d1

ithink the probleme is here how ican fix it please sir

07-01 21:48:15.210 665 665 I Telecom : DefaultDialerCache: Refreshing default dialer for user 0: now com.android.dialer: DDC.oR@ADw

07-01 21:48:15.211 665 665 I Telecom : MissedCallNotifierImpl: reloadAfterBootComplete: user=0: TSBCR.oR@AD0

07-01 21:48:15.310 665 665 I Telecom : PhoneAccountRegistrar: SimCallManager queried, returning: null: TSI.gSCMFU@AD8

07-01 21:48:15.452 1594 1594 I TelecomFramework: : Carrier-config changed, checking for phone account updates.

07-01 21:48:15.493 1594 1594 I TelecomFramework: AccountEntry: reRegisterPstnPhoneAccount: subId: 1 - no change

07-01 21:48:15.519 1594 1594 I TelecomFramework: PstnIncomingCallNotifier: Unregistering: Handler (com.android.internal.telephony.GsmCdmaPhone) {53a6f62}

07-01 21:48:15.605 665 1786 I Telecom : PhoneAccountRegistrar: Modify account: [ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, ***, UserHandle{0}]: TSI.rPA@AEI

07-01 21:48:15.611 1594 1594 I TelecomFramework: AccountEntry: Registered phoneAccount: [[ ] PhoneAccount: ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, ***, UserHandle{0} Capabilities: CallProvider MultiUser PlaceEmerg SimSub Audio Routes: BESW Schemes: tel voicemail Extras: Bundle[{android.telecom.extra.SUPPORTS_VIDEO_CALLING_FALLBACK=true}] GroupId: ***] with handle: ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, ***, UserHandle{0}

07-01 21:48:15.612 1594 1594 I TelecomFramework: PstnIncomingCallNotifier: Registering: Handler (com.android.internal.telephony.GsmCdmaPhone) {53a6f62}

07-01 21:48:15.625 1594 1594 I TelecomFramework: PstnPhoneCapabilitiesNotifier: handleVideoCapabilitesChanged. Video capability - false

07-01 21:48:15.647 665 1835 I Telecom : PhoneAccountRegistrar: Modify account: [ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, ***, UserHandle{0}]: TSI.rPA@AEU
[Android] srgrusso:
Thanks worked great. Is this a problem how the build calls e2fsprogs? Maybe something that will clear in a future repo sync.
[Android] DiamondJohn:
Totally by chance, I had started to attempt a build of LiquidRemix and had a build failure which I didn't know how to resolve. I started to type out my problem, saved my log off to del.dog, when it occurred to me that something similar had been posted only recently :o, so I re-read the last few posts. Low-and behold it was exactly the same error.

Applied the change as suggested by [MENTION=8923154]legendstarspro[/MENTION] (when the thanks button just isn't enough:good:), and now I am only <1000 steps (<2%) from completion.:fingers-crossed:
[Android] DiamondJohn:
So it built Pie LiquidRemix, and it boots into the boot animation, but stays there for 30+ minutes. :mad:

I got the last_kmsg on a couple of my boot attempts, and they are below.

https://del.dog/arerexuhot

https://del.dog/uyehuxibih.sql

I looks as if its in a boot-loop on the lines:

...loop...
[ 182.182563] audit: rate limit exceeded
[ 182.182768] init: File /vendor/bin/hw/android.hardware.usb@1.0-service.basic(labeled "u:object_r:vendor_file:s0") has incorrect label or no domain transition from u:r:init:s0 to another SELinux domain defined. Have you configured your service correctly? https://source.android.com/security/selinux/device-policy#label_new_services_and_address_denials
[ 182.182778] init: cannot execve('/vendor/bin/hw/android.hardware.power@1.1-service-qti'): Permission denied
[ 182.184224] init: cannot execve('/vendor/bin/hw/android.hardware.usb@1.0-service.basic'): Permission denied
[ 182.184289] init: File /vendor/bin/hw/vendor.lineage.touch@1.0-service.samsung(labeled "u:object_r:vendor_file:s0") has incorrect label or no domain transition from u:r:init:s0 to another SELinux domain defined. Have you configured your service correctly? https://source.android.com/security/selinux/device-policy#label_new_services_and_address_denials
[ 182.185273] init: cannot execve('/vendor/bin/hw/vendor.lineage.touch@1.0-service.samsung'): Permission denied
[ 182.185366] init: File /vendor/bin/hw/vendor.lineage.trust@1.0-service(labeled "u:object_r:vendor_file:s0") has incorrect label or no domain transition from u:r:init:s0 to another SELinux domain defined. Have you configured your service correctly? https://source.android.com/security/selinux/device-policy#label_new_services_and_address_denials
[ 182.186335] init: cannot execve('/vendor/bin/hw/vendor.lineage.trust@1.0-service'): Permission denied
[ 182.703152] init: File /vendor/bin/hw/vendor.lineage.livedisplay@2.0-service.samsung-qcom(labeled "u:object_r:vendor_file:s0") has incorrect label or no domain transition from u:r:init:s0 to another SELinux domain defined. Have you configured your service correctly? https://source.android.com/security/selinux/device-policy#label_new_services_and_address_denials
[ 182.704527] init: cannot execve('/vendor/bin/hw/vendor.lineage.livedisplay@2.0-service.samsung-qcom'): Permission denied
[ 187.187525] init: File /vendor/bin/hw/android.hardware.power@1.1-service-qti(labeled "u:object_r:vendor_file:s0") has incorrect label or no domain transition from u:r:init:s0 to another SELinux domain defined. Have you configured your service correctly? https://source.android.com/security/selinux/device-policy#label_new_services_and_address_denials
[ 187.188786] audit: rate limit exceeded
...loop...

I have tried setting the permissions to all the files in the path "/system/vendor/bin/hw/" to 755 from within TWRP, to no-avail.

I have just kicked off another build with a permissive kernel to give that a try as there are a lot of references to selinux in the above text. But even if that works, its not the fix.

Anyone have any ideas what I could be doing wrong or how to resolve this issue?
[Android] DiamondJohn:
The permissive build boots. Now to fix it so it can run enforcing.
[Android] legendstarspro:
Because e2fsprogs is from LineageOS. If you build LineageOS, it works perfectly. But when you build other roms, it may let to some mismatch code between LineageOS and that rom.
[Android] Albert Tross:
Hi there!

I am using Lubuntu 18.04 and the Lineage 15.1 git to build for the gts210ltexx aka Galaxy Tab S2 T819

This guide was my main source of info as this is my first attempt.

https://bgcngm.github.io/lineage_wiki/devices/gts210ltexx/build

I cloned the necessary blobs from "TheMuppets" git and made the required entry in the roomservice.xml

After syncing and executing the breakfast command I got an error and was forced to create /cm/config in /vendor, which had to contain "common_full_phone.mk" , "common_full.mk" and "common.mk".

I got all these files from github and was able to continue afterwards.

At this point I am getting an error while running brunch gts210ltexx

I have googled it and tried to find the file, but I am kinda lost.

Any input would be greatly appreciated, thanks guys.

[ 99% 1276/1277] glob vendor/qcom/opensource/interfaces/wifi/supplicant/1.0/Android.bp
ninja: error: 'kernel/samsung/gts2/arch/arm/configs/cm_exynos5433-gts210lte_defconfig', needed by '/home/jackson/android/lineage/out/target/product/gts210ltexx/obj/KERNEL_OBJ/.config', missing and no known rule to make it
22:14:38 ninja failed with: exit status 1
[Android] srgrusso:
If you could please post a link to your device tree and roomservice.xml Also did you download the kernel sources for your device? If you did got to the kernel/samsung/gts2/arch/arm/configs/ directory and see if a file named "cm_exynos5433-gts210lte_defconfig" is there.

Basically the error is telling you that it can't find the kernel config file. My guess is that you don't have the kernel source or the wrong kernel source.
[Android] tripLr:
Wrong kernel.

The chipset your building for is what were working on the tab s2 t710 715 810 815 exynos chipset also common to the note 4 and note 5 exynos models

You have a Qualcomm chipset.

Kernel Source code is available from 2 main sources

Samsung developers site

Qualcomm CAF (Code Aurora)

Search your exact chipset for kernel sources on github.

Github.com/triplr

Github.com/triplr-dev

Telegram [MENTION=5624167]tripLr[/MENTION]
[Android] tripLr:
Here is your device
[Android] srgrusso:
I'm guessing this is the device tree he is using https://github.com/LineageOS/android_device_samsung_gts210ltexx. Which would be the wrong device tree.

Edit verify that you have a SM-T819. If you do this is your device tree https://github.com/LineageOS/android_device_samsung_gts210velte and it looks like this would be your kernel https://github.com/LineageOS/android_kernel_samsung_msm8976 Here is the Muppets folder https://github.com/TheMuppets/proprietary_vendor_samsung/tree/lineage-16.0/gts210velte
[Android] tripLr:
So noob dev question.

The muppets extract blobs from Samsung system images from stock ROMs ?
[Android] ripee:
Your device, SM-T819 (gts210velte), would have official LineageOS 16.0 support of the in-call audio worked properly, but everything else works as it should. I took the liberty of making a roomservice for it with the official Lineage repos, which is where luk1337 pushes his work. I also repopicked the necessary proposed changes from Gerrit that improve RIL functionality as much as possible.

In order to build gts210velte, copy and paste each line individually into your terminal:

cd ~/android/lineage/.repo/local_manifests
rm *
wget -O roomservice.xml https://raw.githubusercontent.com/ripee/local_manifests/lineage-16.0/gts210velte.xml
repo sync -c --force-sync --no-clone-bundle --no-tags
. build/envsetup.sh
repopick 226756 226757 226758 226759 226760 226761 226762 226763 226764 226765 226766 226767 226768 232034
brunch gts210velte