Building CM11 for i9300 -> error when breakfast - Galaxy S III Q&A, Help & Troubleshooting

Hello
I try to build cm11 for the i9300 and I do not get very far. The howto on cyanogenmods site does not seem to work.
This is where I end up:
Code:
breakfast i9300
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/samsung/i9300/cm.mk]]: "vendor/samsung/smdk4412-common/common-vendor.mk" does not exist. Schluss.
Device i9300 not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_samsung_i9300
Default revision: cm-11.0
Checking branch info
CyanogenMod/android_device_samsung_i9300 already exists
Syncing repository to retrieve project.
Fetching project CyanogenMod/android_device_samsung_i9300
Fetching projects: 100% (1/1), done.
Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/samsung/i9300/cm.mk]]: "vendor/samsung/smdk4412-common/common-vendor.mk" does not exist. Schluss.
** Don't have a product spec for: 'cm_i9300'
** Do you have the right repo manifest?
But it should get the device-specific code with that command. Any ideas how to solve this?
Thx.

So I got some help from somebody at cyanogenmod-dev channel.
Adding
Code:
<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" />
to roomservice.xml solves the problem.

Related

Missing qcom-common repo for CM10 building

Hey
Thanks to FreeXperiaProject my device (Xperia J) has 100% working CM10.
I'm trying to build CM from source but I can't find proper qcom-common repo,
Code:
[email protected]:~/CM$ lunch
You're building on Linux
Lunch menu... pick a combo:
1. full-eng
2. full_x86-eng
3. vbox_x86-eng
4. mini_armv7a_neon-userdebug
5. mini_armv7a-userdebug
6. cm_jlo-eng
7. full_panda-userdebug
Which would you like? [full-eng] 6
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/jlo/cm.mk]]: "vendor/sony/qcom-common/common-vendor.mk" does not exist. Stop.
Device jlo not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_sony_jlo
CyanogenMod/android_device_sony_jlo already exists
Syncing repository to retrieve project.
Fetching projects: 100% (1/1), done.
Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/jlo/cm.mk]]: "vendor/sony/qcom-common/common-vendor.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_jlo'
** Do you have the right repo manifest?
[email protected]:~/CM$
I've found this (but branch doesn't mach)
Code:
https://github.com/CyanogenMod/android_device_sony_qcom-common
And this
Code:
https://github.com/CustoNexus/vendor_sony/tree/master/qcom-common
but this one doesn't work too. Both give the same error I quoted in 'code' above.
Can anyone help me?
EDIT:
problem solved. I cloned repo to the wrong location. Now I fixed it and I've run compile process.
How I'll notice if there were any errors during compile process?

[Q] nexus 5 building cm problem

im using this
http://wiki.cyanogenmod.org/w/Build_for_hammerhead#Install_the_SDK
i have reached the step where i have to type $ breakfast hammerhead
i have tryed a couple of time but it keeps saying
Code:
[email protected]:~/android/system$ breakfast hammerhead
including vendor/cm/vendorsetup.sh
ls: cannot access device/*/hammerhead/cm.mk: No such file or directory
build/core/product_config.mk:233: *** Can not locate config makefile for product "cm_hammerhead". Stop.
Device hammerhead not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_lge_hammerhead
Default revision: cm-10.2
Checking branch info
Default revision cm-10.2 not found in android_device_lge_hammerhead. Bailing.
Branches found:
cm-11.0
stable/cm-11.0
Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches.
ls: cannot access device/*/hammerhead/cm.mk: No such file or directory
build/core/product_config.mk:233: *** Can not locate config makefile for product "cm_hammerhead". Stop.
** Don't have a product spec for: 'cm_hammerhead'
** Do you have the right repo manifest?
[email protected]:~/android/system$
i have no idea what to do now, i have just finished the repo sync!

[Q] Can't build CWM for most of the devices

I am trying to build CWM for Samsung Note 3 [hlte] and Samasung galaxy note 2 [p3100] but I keep getting this error
Code:
$ breakfast hlte
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/samsung/hlte/cm.mk]]: "device/samsung/qcom-common/qcom-common.mk" does not exist. Stop.
Device hlte not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_samsung_hlte
Default revision: cm-11.0
Checking branch info
CyanogenMod/android_device_samsung_hlte already exists
Syncing repository to retrieve project.
Fetching project CyanogenMod/android_device_samsung_hlte
Fetching projects: 100% (1/1), done.
Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/samsung/hlte/cm.mk]]: "device/samsung/qcom-common/qcom-common.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_hlte'
** Do you have the right repo manifest?
Can any one help me with this code ??

Building CM13 for crespo4g?

I've been trying to build CM13 for my Nexus S 4G, but I've been having problems with breakfast. I get this error:
Code:
[email protected]:~/android/system$ breakfast crespo4g
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:234: *** Can not locate config makefile for product "cm_crespo4g". Stop.
Device crespo4g not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_samsung_crespo4g
Default revision: cm-13.0
Checking branch info
Default revision cm-13.0 not found in android_device_samsung_crespo4g. Bailing.
Branches found:
cm-10.1-staging
cm-10.1
cm-10.2
cm-11.0
gb-release-7.2
gingerbread-release
gingerbread
ics
jellybean-stable
jellybean
mr1-staging
cm-10.1.3
cm-10.1.3-RC2
cm-10.1.3-RC1
cm-10.1.2
cm-10.1.1
cm-10.1.0
cm-10.1.0-RC5
cm-10.1.0-RC4
cm-10.1.0-RC3
cm-10.1.0-RC2
cm-10.1.0-RC1
cm-10.1-M3
cm-10.1-M2
cm-10.1-M1
cm-7.1.0
Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches.
build/core/product_config.mk:234: *** Can not locate config makefile for product "cm_crespo4g". Stop.
** Don't have a product spec for: 'cm_crespo4g'
** Do you have the right repo manifest?
I know I get this error because there is no CM13 branch in crespo4g and it's not supported, but how do I get the config makefile so it can be recognized by
Code:
breakfast
I've tried downloading the crespo4g files into /android/system/vendor/device, but it still couldn't do it. I even did
Code:
git clone https://android.googlesource.com/device/samsung/crespo4g
for the device files, and then ran
Code:
./extract-files.sh
to extract proprietary blobs from my phone, but I still can't perform
Code:
breakfast
How can I set fallback branches to the ROOMSERVICE_BRANCHES environment variable, as the error says? Why isn't breakfast working and what do I do to fix it?
Thanks!

[Q] adding branch tag to local_manifest.xml

Hi everyone,
I'd like to build Resurrection Remix ROM for unsupported device (unofficial build). So I followed some tutorials, synced some repos and got stuck on this part:
when building for treltexx it says
Code:
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/samsung/treltexx/lineage.mk]]: "device/samsung/trelte-common/device-common.mk" does not exist. Stop.
build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/samsung/treltexx/lineage.mk]]: "device/samsung/trelte-common/device-common.mk" does not exist. Stop.
build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/samsung/treltexx/lineage.mk]]: "device/samsung/trelte-common/device-common.mk" does not exist. Stop.
Device treltexx not found. Attempting to retrieve device repository from lineageos Github (http://github.com/LineageOS).
Found repository: android_device_samsung_treltexx
Default revision: cm-14.1
Checking branch info
Default revision cm-14.1 not found in android_device_samsung_treltexx. Bailing.
Branches found:
cm-12.1
cm-13.0-precommon
cm-13.0
Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches.
build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/samsung/treltexx/lineage.mk]]: "device/samsung/trelte-common/device-common.mk" does not exist. Stop.
build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/samsung/treltexx/lineage.mk]]: "device/samsung/trelte-common/device-common.mk" does not exist. Stop.
** Don't have a product spec for: 'lineage_treltexx'
** Do you have the right repo manifest?
despite my local_manifest.xml looking like this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="githubRemote" fetch="https://github.com/" />
<project name="bonuzzz/android_device_samsung_treltexx" path="device/samsung/treltexx" remote="githubRemote" revision="cm-14.1" />
</manifest>
but this setting is not being picked up. So I tried to remove existing android_device_samsung_treltexx reference by adding
Code:
<remove-project name="LineageOS/android_device_samsung_treltexx"/>
but it results in error saying that there is no entry for "LineageOS/android_device_samsung_treltexx", which is true, because it's not present in default manifest.xml
I get that it tries to look for branch cm-14.1 in LineageOS/android_device_samsung_treltexx repo and that branch does not exist.
So my question is how to tell breakfast to look for cm-14.1 branch of device in other project entry - one from my roomservice.xml/local_manifest.xml?
Or how to delete reference to LineageOS/android_device_samsung_treltexx?
EDIT
Looks like there are other problems with missing references in my build method, will need to fix them before coming back to this.

Categories

Resources