Building CM 10.1 for Odin/ZL - Sony Xperia ZL

I am following the CyanogenMod guide to get the source code ready for building my own CM nightlies, but I am running into an issue. Throwing it out here in case someone has figured this out (and to put a solution when I do figure it out).
Here's the guide http://wiki.cyanogenmod.org/w/Build_for_odin
It's auto-generated and everything has been right so far, but when trying to prepare the device-specific code, it fails to find the qualcom-common files:
Code:
[email protected]:~/android/system$ breakfast odin
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/sony/odin/cm.mk]]: "vendor/sony/qcom-common/qcom-common-vendor.mk" does not exist. Stop.
Device odin not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_sony_odin
Default revision: cm-10.1
Checking branch info
CyanogenMod/android_device_sony_odin already exists
Syncing repository to retrieve project.
Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/sony/odin/cm.mk]]: "vendor/sony/qcom-common/qcom-common-vendor.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_odin'
** Do you have the right repo manifest?
I get the same error if I try to get the source code for yuga (Xperia Z), so I am definitely missing something that is not specific to the ZL, but might be Sony specific.

I have the same problem

Related

Havine trouble building CM.

Alrighty, been having this problem all night last night. How can I get this fixed? I got everything done up until "Prepare the device-specific code". Followed the instructions on here.http://wiki.cyanogenmod.org/w/Build_for_hercules
Code:
[email protected]:~/android/system/build$ breakfast hercules
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/hercules/cm.mk]]: "device/*/hercules/cm.mk" does not exist. Stop.
Device hercules not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_samsung_hercules
CyanogenMod/android_device_samsung_hercules already exists
Syncing repository to retrieve project.
error: project device/samsung/hercules not found
Repository synced!
Looking for dependencies
Dependencies file not found, bailing out.
Done
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/hercules/cm.mk]]: "device/*/hercules/cm.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_hercules'
** Do you have the right repo manifest?
Did you figure this out yet?
I havent had this problem till now .. it is driving me crazy to...Let me know if you figured it out

[Q] Building CM for GN II (N7100): breakfast issue

Hi,
Using Ubuntu I am following the wiki steps to build CyanogenMod for n7100. repo sync completes, proprietary blobs extract, but breakfast n7100 fails like this:
Code:
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/samsung/n7100/cm.mk]]: "vendor/samsung/smdk4412-common/common-vendor.mk" does not exist. Stop.
Device n7100 not found. Attempting to retrieve device repository from CyanogenMod Github.
Found repository: android_device_samsung_n7100
Default revision: cm-11.0
Checking branch info
CyanogenMod/android_device_samsung_n7100 already exists
Syncing repository to retrieve project.
Fetching project CyanogenMod/android_device_samsung_n7100
Fetching projects: 100% (1/1), done.
Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/samsung/n7100/cm.mk]]: "vendor/samsung/smdk4412-common/common-vendor.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_n7100'
** Do you have the right repo manifest?
I noticed that roomservice.xml mentions more repos than just android_device_samsung_n7100. Maybe the sync with android_device_samsung_smdk4412-common is not taking place?
What am I doing wrong here?
many thanks for your help!
KM

[Q] build cm11 error:"device/qcom/msm7x27/msm7x27.mk" does not exist. Stop.

[Q] build cm11 error:"device/qcom/msm7x27/msm7x27.mk" does not exist. Stop.
I want build gt-s5660 rom ,get source from ht/tps://github.com/HerroYou/android/tree/cm-11.0
after those cmds:
repo init -u git://github.com/androidarmv6/android.git -b cm-11.0
repo sync
sh vendor/cm/get-prebuilts
source build/envsetup.sh
brunch gio
I got the error:
[email protected]:/works/cyanogenmod/cm11_armv6$ brunch gio
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/samsung/gio/cm.mk]]: "device/qcom/msm7x27/msm7x27.mk" does not exist. Stop.
Device gio not found. Attempting to retrieve device repository from androidarmv6 Github (h/ttp://github.com/androidarmv6).
Found repository: android_device_samsung_gio
Default revision: cm-11.0
Checking branch info
androidarmv6/android_device_samsung_gio already exists
Syncing repository to retrieve project.
Fetching project androidarmv6/android_device_samsung_gio
Fetching projects: 100% (1/1), done.
Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/samsung/gio/cm.mk]]: "device/qcom/msm7x27/msm7x27.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_gio'
** Do you have the right repo manifest?
No such item in brunch menu. Try 'breakfast'
Please help me
xyyangkun said:
I want build gt-s5660 rom ,get source from ht/tps://github.com/HerroYou/android/tree/cm-11.0
after those cmds:
repo init -u git://github.com/androidarmv6/android.git -b cm-11.0
repo sync
sh vendor/cm/get-prebuilts
source build/envsetup.sh
brunch gio
I got the error:
[email protected]:/works/cyanogenmod/cm11_armv6$ brunch gio
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/samsung/gio/cm.mk]]: "device/qcom/msm7x27/msm7x27.mk" does not exist. Stop.
Device gio not found. Attempting to retrieve device repository from androidarmv6 Github (h/ttp://github.com/androidarmv6).
Found repository: android_device_samsung_gio
Default revision: cm-11.0
Checking branch info
androidarmv6/android_device_samsung_gio already exists
Syncing repository to retrieve project.
Fetching project androidarmv6/android_device_samsung_gio
Fetching projects: 100% (1/1), done.
Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/samsung/gio/cm.mk]]: "device/qcom/msm7x27/msm7x27.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_gio'
** Do you have the right repo manifest?
No such item in brunch menu. Try 'breakfast'
Please help me
Click to expand...
Click to collapse
I commented on github, but again.
After you run "source build/envsetup.sh"
run "breakfast gio"
then "brunch gio"
Research before syncing sources

Trying to build CM13 for M8

I've been following along with the instructions on the cyanogenmod wiki on building for M8.
(I'd post the link, but the system won't let me since I'm new)
I'm doing this on Ubuntu 16.04 LTS.
I managed to get all the way to the command: breakfast m8
But here I'm stuck. It's throwing an error, and I can't seem to figure out what to do about it.
I'd very much appreciate a hint. The response from the command is below:
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:234: *** Can not locate config makefile for product "cm_m8". Stop.
Device m8 not found. Attempting to retrieve device repository from CyanogenMod Github
Found repository: android_device_htc_m8
Default revision: cm-13.0
Checking branch info
Checking if device/htc/m8 is fetched from android_device_htc_m8
CyanogenMod/android_device_htc_m8 already fetched to device/htc/m8
Syncing repository to retrieve project.
sh: 1: repo: not found
Repository synced!
Looking for dependencies
Dependencies file not found, bailing out.
Done
build/core/product_config.mk:234: *** Can not locate config makefile for product "cm_m8". Stop.
** Don't have a product spec for: 'cm_m8'
** Do you have the right repo manifest?

How do I build LineageOs 14.1 for serranoltexx [I9195]?

Hey,
what do I have to do to build the latest LineageOs for my I9195?
I know the following guide:
https://forum.xda-developers.com/chef-central/android/how-to-build-lineageos-14-1-t3551484
But when running
Code:
breakfast serranoltexx
I got following error.
Code:
** Don't have a product spec for: 'lineage_serranoltexx'
** Do you have the right repo manifest?
Does someone of you have some infos for me?
Thanks
Dominik
Uups. Think reading the manual not complete. It seems that extracting proprietary blobs does not work.
Got error:
Code:
build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/samsung/serranoltexx/lineage.mk]]: "vendor/samsung/serrano-common/serrano-common-vendor.mk" does not exist. Stop.
Does the extracting work through VirtualBox? Currently I have some issues.

Categories

Resources