I have this problem and i cant fix it. I try some tree sources of github but the problem its the same.
The guide i follow is this:
[Guide] How to Build Your Own Custom ROM [athene]
Hello guys. I will show you how to build LineageOS to Moto G4 Plus. You have to build in a Linux system. I prefer Ubuntu 16.04 in this guide. The lines which is starting with $ are commands you should write but you won't write $'s. 1- First...
forum.xda-developers.com
Thanks all!!!
breakfast athene
including vendor/lineage/vendorsetup.sh
build/make/core/product_config.mk:234: error: Can not locate config makefile for product "lineage_athene".
14:18:38 dumpvars failed with: exit status 1
Device athene not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Found repository: android_device_motorola_athene
Default revision: lineage-16.0
Checking branch info
Default revision lineage-16.0 not found in android_device_motorola_athene. Bailing.
Branches found:
cm-13.0
cm-14.1
lineage-15.0
Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches.
build/make/core/product_config.mk:234: error: Can not locate config makefile for product "lineage_athene".
14:18:40 dumpvars failed with: exit status 1
build/make/core/product_config.mk:234: error: Can not locate config makefile for product "lineage_athene".
14:18:40 dumpvars failed with: exit status 1
** Don't have a product spec for: 'lineage_athene'
** Do you have the right repo manifest?
Related
I tried to builld CM12 for Xperia-L. After issuing 'breakfast taoshan', the process apparently got stuck at 66%. I aborted by pressing Ctrl+C. When I am reissuing the command, it's throwing error. Can anybody please help me out?
Code:
[email protected]:~/CM12/build$ breakfast taoshan
ls: cannot access device/*/taoshan/cm.mk: No such file or directory
build/core/product_config.mk:234: *** Can not locate config makefile for product "cm_taoshan". Stop.
Device taoshan not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_sony_taoshan
Default revision: cm-12.0
Checking branch info
Adding dependency: CyanogenMod/android_device_sony_taoshan -> device/sony/taoshan
Using default branch for android_device_sony_taoshan
Syncing repository to retrieve project.
Fetching project CyanogenMod/android_device_sony_taoshan
Fetching projects: 100% (1/1), done.
Repository synced!
Looking for dependencies
Adding dependencies to manifest
Adding dependency: CyanogenMod/android_device_sony_msm8960-common -> device/sony/msm8960-common
Using default branch for android_device_sony_msm8960-common
Adding dependency: CyanogenMod/android_kernel_sony_msm8930 -> kernel/sony/msm8930
Using default branch for android_kernel_sony_msm8930
Adding dependency: CyanogenMod/android_hardware_qcom_fm -> hardware/qcom/fm
Using default branch for android_hardware_qcom_fm
Syncing dependencies
Fetching project CyanogenMod/android_kernel_sony_msm8930
Fetching project CyanogenMod/android_hardware_qcom_fm
Fetching project CyanogenMod/android_device_sony_msm8960-common
Fetching projects: 66% (2/3) ^C
^C^C^C^C^C^C^C^C
error: Cannot fetch CyanogenMod/android_kernel_sony_msm8930
aborted by user
Looking for dependencies
Dependencies file not found, bailing out.
Looking for dependencies
Dependencies file not found, bailing out.
Looking for dependencies
Dependencies file not found, bailing out.
Done
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/sony/taoshan/cm.mk]]: "device/sony/common/resources.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_taoshan'
** Do you have the right repo manifest?
=======================================================
[email protected]:~/CM12/build$
[email protected]:~/CM12/build$ breakfast taoshan
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/sony/taoshan/cm.mk]]: "device/sony/common/resources.mk" does not exist. Stop.
Device taoshan not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_sony_taoshan
Default revision: cm-12.0
Checking branch info
CyanogenMod/android_device_sony_taoshan already exists
Syncing repository to retrieve project.
Fetching project CyanogenMod/android_device_sony_taoshan
Fetching projects: 100% (1/1), done.
Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/sony/taoshan/cm.mk]]: "device/sony/common/resources.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_taoshan'
** Do you have the right repo manifest?
clone this paste RAW Paste Data
Pastebin.com Tools & Applications
iPhone/iPad Windows Firefox Chrome WebOS Android Mac Opera Click.to UNIX WinPhone
create new paste | api | trends | syntax languages | faq | tools | privacy | cookies | contact | dmca | advertise on pastebin | go pro
Follow us: pastebin on facebook | pastebin on twitter | pastebin in the news
Dedicated Server Hosting by Steadfast
Pastebin v3.11 rendered in: 0.008 seconds
Holmes.Sherlock said:
I tried to builld CM12 for Xperia-L. After issuing 'breakfast taoshan', the process apparently got stuck at 66%. I aborted by pressing Ctrl+C. When I am reissuing the command, it's throwing error. Can anybody please help me out?
Click to expand...
Click to collapse
I'm getting the same error, seems like repo couldn't find the device kernel from cyanogenmod's github so I added a local_manifest extracted from android_device_sony_taoshan/blob/cm-12.0/cm.dependencies/ but to no avail. Still getting the error as below.
Code:
[email protected]:~/android/system$ breakfast taoshan
including vendor/cm/vendorsetup.sh
build/core/combo/select.mk:65: build/core/combo/HOST_linux-.mk: No such file or directory
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
build/core/clang/config.mk:76: build/core/clang/HOST_.mk: No such file or directory
make: *** No rule to make target `build/core/clang/HOST_.mk'. Stop.
Device taoshan not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_sony_taoshan
Default revision: cm-12.0
Checking branch info
CyanogenMod/android_device_sony_taoshan already exists
Syncing repository to retrieve project.
fatal: error parsing manifest /home/manu/android/system/.repo/local_manifests/myoldphone.xml: XML or text declaration not at start of entity: line 3, column 0
Repository synced!
Looking for dependencies
Done
build/core/combo/select.mk:65: build/core/combo/HOST_linux-.mk: No such file or directory
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
build/core/clang/config.mk:76: build/core/clang/HOST_.mk: No such file or directory
make: *** No rule to make target `build/core/clang/HOST_.mk'. Stop.
** Don't have a product spec for: 'cm_taoshan'
** Do you have the right repo manifest?
[email protected]:~/android/system$
Any idea how to get past this issue?
manubhargav said:
I'm getting the same error, seems like repo couldn't find the device kernel from cyanogenmod's github so I added a local_manifest extracted from android_device_sony_taoshan/blob/cm-12.0/cm.dependencies/ but to no avail. Still getting the error as below.
Code:
[email protected]:~/android/system$ breakfast taoshan
including vendor/cm/vendorsetup.sh
build/core/combo/select.mk:65: build/core/combo/HOST_linux-.mk: No such file or directory
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
build/core/clang/config.mk:76: build/core/clang/HOST_.mk: No such file or directory
make: *** No rule to make target `build/core/clang/HOST_.mk'. Stop.
Device taoshan not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_sony_taoshan
Default revision: cm-12.0
Checking branch info
CyanogenMod/android_device_sony_taoshan already exists
Syncing repository to retrieve project.
fatal: error parsing manifest /home/manu/android/system/.repo/local_manifests/myoldphone.xml: XML or text declaration not at start of entity: line 3, column 0
Repository synced!
Looking for dependencies
Done
build/core/combo/select.mk:65: build/core/combo/HOST_linux-.mk: No such file or directory
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
build/core/clang/config.mk:76: build/core/clang/HOST_.mk: No such file or directory
make: *** No rule to make target `build/core/clang/HOST_.mk'. Stop.
** Don't have a product spec for: 'cm_taoshan'
** Do you have the right repo manifest?
[email protected]:~/android/system$
Any idea how to get past this issue?
Click to expand...
Click to collapse
your manifest seems broken.... please make a clean sync (delete complete workingfolder and resync)
SdtBarbarossa said:
your manifest seems broken.... please make a clean sync (delete complete workingfolder and resync)
Click to expand...
Click to collapse
Thank you for your reply, I overlooked some requirements for building from source and I had a 32-bit Ubuntu system which gave me the error
Code:
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
Now switching to 64-bit Ubuntu.
Hello. I recently got interested in building a ROM for my old Moto G 4G (peregrine), and followed the official guide from the Lineage wiki, building using the Lineage 18.1 repo.
However, when I run breakfast peregrine to get the device specific code, i get 3 errors.
n file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
build/make/core/product_config.mk:153: error: Can not locate config makefile for product "lineage_peregrine".
12:19:28 dumpvars failed with: exit status 1
Device peregrine not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Found repository: android_device_motorola_peregrine
Default revision: lineage-18.1
Checking branch info
Using fallback branch: stable/cm-13.0-ZNH5Y
Checking if device/motorola/peregrine is fetched from android_device_motorola_peregrine
LineageOS/android_device_motorola_peregrine already fetched to device/motorola/peregrine
Syncing repository to retrieve project.
Fetching: 100% (1/1), done in 0.816s
Garbage collecting: 0% (0/1) started LineageOS/android_device_motorola_peregrine
Garbage collecting: 100% (1/1) finished LineageOS/android_device_motorola_peregrine
Garbage collecting: 100% (1/1), done in 0.005s
repo sync has finished successfully.
Repository synced!
Looking for dependencies in device/motorola/peregrine
Looking for dependencies in device/motorola/msm8226-common
Looking for dependencies in device/qcom/common
device/qcom/common has no additional dependencies.
Looking for dependencies in kernel/motorola/msm8226
kernel/motorola/msm8226 has no additional dependencies.
Looking for dependencies in packages/resources/devicesettings
packages/resources/devicesettings has no additional dependencies.
Done
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
build/make/core/product_config.mk:153: error: Can not locate config makefile for product "lineage_peregrine".
12:19:33 dumpvars failed with: exit status 1
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
build/make/core/product_config.mk:153: error: Can not locate config makefile for product "lineage_peregrine".
12:19:34 dumpvars failed with: exit status 1
** Don't have a product spec for: 'lineage_peregrine'
** Do you have the right repo manifest?
I already extracted the proprietary blobs, and have an AndroidProducts.mk file in my device tree. However, I keep getting the same error. Is there any solution?
bump.
Will we have our Zenfone 6 for LineageOS 18.1?
Pretty sure it's never happening unless someone randomly picks it up.
Almost no development on the Zenfone 7 or Zenfone 8 flip either. People really don't want to have amazing front cameras I guess. Maybe ahead of it's time.
I prefer 9 anyway... no Android cov Build in surveillance!
I would like to build LineageOS 18.1 for Zenfone 6 flip, but i have not done such a build before.
Android 12 looks like crap and also has no SIP client.
Would it be enough to replace
repo init -u https://github.com/LineageOS/android.git -b lineage-17.1 with
repo init -u https://github.com/LineageOS/android.git -b lineage-18.1
and otherwise folow the same steps? Also, can it be done on Manjaro? I could otherwise set up an Ubuntu VM.
Thanks!
fartyfart said:
I would like to build LineageOS 18.1 for Zenfone 6 flip, but i have not done such a build before.
Android 12 looks like crap and also has no SIP client.
Would it be enough to replace
repo init -u https://github.com/LineageOS/android.git -b lineage-17.1 with
repo init -u https://github.com/LineageOS/android.git -b lineage-18.1
and otherwise folow the same steps? Also, can it be done on Manjaro? I could otherwise set up an Ubuntu VM.
Thanks!
Click to expand...
Click to collapse
I can't help you but please doo! Still rocking 17.1 on this thing.
i tried building 18.1 but got stuck at
~/android/lineage$ breakfast I01WD
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
build/make/core/product_config.mk:155: error: Can not locate config makefile for product "lineage_I01WD".
14:29:51 dumpvars failed with: exit status 1
/usr/bin/env: ‘python’: No such file or directory
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
build/make/core/product_config.mk:155: error: Can not locate config makefile for product "lineage_I01WD".
14:29:51 dumpvars failed with: exit status 1
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
build/make/core/product_config.mk:155: error: Can not locate config makefile for product "lineage_I01WD".
14:29:52 dumpvars failed with: exit status 1
** Don't have a product spec for: 'lineage_I01WD'
** Do you have the right repo manifest?
Click to expand...
Click to collapse
So I am building an unofficial copy of crDroid for my OnePlus 9R and I am getting this error:
Code:
error: hardware/oneplus/hidl/fingerprint/inscreen/Android.bp:44:1: "[email protected]" depends on undefined module "vendor.lineage.biometrics.fingerprint.inscree
[email protected]"
12:01:38 soong bootstrap failed with: exit status 1
#### failed to build some targets (01:32 (mm:ss)) ####
This never happened to me while building LineageOS 18.1. I am pretty new to compiling ROMs from source, so please help.
Thank you.
Errors while compiling crDroid 8 for OnePlus 9R
So, I was building crDroid for my phone the OnePlus 9R (codename: lemonades), and I encountered 2 errors.
The first one was after using the lunch command and selecting my device. The error was:
Code:
Which would you like? [aosp_arm-eng] 30
device/oneplus/sm8250-common/BoardConfigCommon.mk:181: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.
Trying dependencies-only mode on a non-existing device tree?
device/oneplus/sm8250-common/BoardConfigCommon.mk:181: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.
Now, I ignored this, and used the brunch command to start building the ROM, when I got this error:
Code:
error: hardware/oneplus/hidl/fingerprint/inscreen/Android.bp:44:1: "lineage.biom
[email protected]" depends on undefined module "ve
[email protected]"
17:03:33 soong bootstrap failed with: exit status 1
#### failed to build some targets (18 seconds) ####
Now, I assume I got this error due to missing files, so I re - downloaded the complete source code, and tried to build again, but I still got the same error.
I am pretty new to ROM development, and have no Idea what to do next, so any help would be appreciated.
Thank You.
(I have also attached Images of the errors.)
KomradeKamarov said:
Errors while compiling crDroid 8 for OnePlus 9R
So, I was building crDroid for my phone the OnePlus 9R (codename: lemonades), and I encountered 2 errors.
The first one was after using the lunch command and selecting my device. The error was:
Code:
Which would you like? [aosp_arm-eng] 30
device/oneplus/sm8250-common/BoardConfigCommon.mk:181: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.
Trying dependencies-only mode on a non-existing device tree?
device/oneplus/sm8250-common/BoardConfigCommon.mk:181: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.
Now, I ignored this, and used the brunch command to start building the ROM, when I got this error:
Code:
error: hardware/oneplus/hidl/fingerprint/inscreen/Android.bp:44:1: "lineage.biom
[email protected]" depends on undefined module "ve
[email protected]"
17:03:33 soong bootstrap failed with: exit status 1
#### failed to build some targets (18 seconds) ####
Now, I assume I got this error due to missing files, so I re - downloaded the complete source code, and tried to build again, but I still got the same error.
I am pretty new to ROM development, and have no Idea what to do next, so any help would be appreciated.
Thank You.
(I have also attached Images of the errors.)View attachment 5567035View attachment 5567037
Click to expand...
Click to collapse
i know this is a old thread but the correct sequence for crDroid buidling is the following:
1. repo sync
2. . build/envsetup.sh
3. brunch (followed by your device codename. I have the 9 Pro so mine would be brunch lemonadep
4. If it errors, then try
mka bacon -j$(nproc --all)
5. If it errors again, try brunch (followed by codename again)
I've gotten my phone to build successfully by doing this after it failed the first two times.
Hello, everyone.
Today i am trying to build my own AOSiP rom from source codes.
I found an interesting thing, it looks like AOSip rom built on the base of Lineage OS. Just like debian is base of some of linux distros.
Right now i am running lineage os17.1 for my huawei GR5, Canadian version.
I want to try AOSip.
Maybe later i will try the other custom rom.
.................................................................................................................................................................................................................................
[email protected]:~/android/AOSip$ lunch kiwi
build/make/core/product_config.mk:243: error: Can not locate config makefile for product "kiwi".
16:29:14 dumpvars failed with: exit status 1
Device kiwi not found. Attempting to retrieve device repository from AOSiP-Devices Github (http://github.com/AOSiP-Devices).
Found repository: device_huawei_kiwi
Checking branch info
Calculated revision: pie
Adding dependency:
Repository: device_huawei_kiwi
Branch: pie
Remote: devices
Path: device/huawei/kiwi
Syncing repository to retrieve project.
Fetching: 100% (1/1), done in 3.363s
Garbage collecting: 100% (1/1), done in 0.008s
repo sync has finished successfully.
Repository synced!
Looking for dependencies
Adding dependencies to manifest
Adding dependency:
Repository: LineageOS/android_kernel_huawei_kiwi
Branch: lineage-16.0
Remote: github
Path: kernel/huawei/kiwi
Adding dependency:
Repository: TheMuppets/proprietary_vendor_huawei
Branch: lineage-16.0
Remote: github
Path: vendor/huawei
Adding dependency:
Repository: LineageOS/android_packages_resources_devicesettings
Branch: lineage-16.0