Error building CM10.1 from source - Galaxy S II Q&A, Help & Troubleshooting

Hey guys,
I ran into a problem while trying to build CM10.1 for the i9100 from source.
this is the tutorial I am following http://wiki.cyanogenmod.org/w/Build_for_i9100
I managed to sync the sources, but when I try to run
Code:
breakfast i9100
I get the following EError Messages
Code:
[email protected]:~/android/system/cyanogenmod/cm-10.1_source$ breakfast i900
including vendor/cm/vendorsetup.sh
ls: cannot access device/*/i900/cm.mk: No such file or directory
build/core/product_config.mk:234: *** Cannot locate config makefile for product "cm_i900". Stop.
Device i900 not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Repository for i900 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.
ls: cannot access device/*/i900/cm.mk: No such file or directory
build/core/product_config.mk:234: *** Cannot locate config makefile for product "cm_i900". Stop.
** Don't have a product spec for: 'cm_i900'
** Do you have the right repo manifest?
I attached my "manifest.xml" from .repo
Is there anyone who had the same problem? I think I'm missing something.
Best regards mofeywalker

Related

Unable to build CM 10.1 with Android 4.2.2

Hi to all.
I'm trying to build the latest version of CyanogenMod, with android 4.2.2. I sync the repo with
Code:
repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1
and now I'm in the breakfast phase. The result is:
Code:
[email protected]:~/cyanogen_p4/system$ breakfast p4
including vendor/cm/vendorsetup.sh
ls: impossibile accedere a device/*/p4/cm.mk: File o directory non esistente
build/core/product_config.mk:234: *** Cannot locate config makefile for product "cm_p4". Arresto.
Device p4 not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_samsung_p4
Default revision: cm-10.1
Checking branch info
CyanogenMod/android_device_samsung_p4 already exists
Syncing repository to retrieve project.
error: project device/samsung/p4 not found
Repository synced!
Looking for dependencies
Dependencies file not found, bailing out.
Done
ls: impossibile accedere a device/*/p4/cm.mk: File o directory non esistente
build/core/product_config.mk:234: *** Cannot locate config makefile for product "cm_p4". Arresto.
** Don't have a product spec for: 'cm_p4'
** Do you have the right repo manifest?
I have a nightly build installed with Android 4.2.2, so I think that build the newest android version for samsung p4 is possible.
What is wrong?
I think that there is something broken in the build system for P4 device. I tried also to git-clone manually the android_device_samsung_p4 project and android_device_samsung_p4-common project in the right path (/device/samsung/) but the breakfast give me another error.
Sorry but my poor knowledge of CM build system does not help me
Has anybody build from scratch a cyanogenmod with android 4.2.2?
(BTW ...I don't understand why my topic was moved here...)
Update
Hey sarbyn,
I stumbled upon the same error today. Did you find any fixes or further information about that?
Best regards
el manu
elmanuel said:
Hey sarbyn,
I stumbled upon the same error today. Did you find any fixes or further information about that?
Best regards
el manu
Click to expand...
Click to collapse
Sorry but I don't remember how I fixed it. The last time I did a build for P4 was in february...if I remember correctly it was only a temporary issue, after some days a simple "repo sync" fixed it

CM10.1 build error

I am having trouble building a new checkout of the CM10.1 sources. I built CM10 successfully some months ago, but somehow, things have changed... I've checked out a completely fresh copy from git, into a fresh VM, just to eliminate chances I could've borked things on the previous CM build VM.
Code:
ls: cannot access device/*/i9100/cm.mk: No such file or directory
build/core/product_config.mk:234: *** Cannot locate config makefile for product "cm_i9100". Stop.
Device i9100 not found. Attempting to retrieve device repository from CyanogenMod Github (...).
Found repository: android_device_samsung_i9100
Default revision: cm-10.1
Checking branch info
CyanogenMod/android_device_samsung_i9100 already exists
Syncing repository to retrieve project.
error: project device/samsung/i9100 not found
Repository synced!
Looking for dependencies
Dependencies file not found, bailing out.
Done
ls: cannot access device/*/i9100/cm.mk: No such file or directory
build/core/product_config.mk:234: *** Cannot locate config makefile for product "cm_i9100". Stop.
** Don't have a product spec for: 'cm_i9100'
** Do you have the right repo manifest?
since i saw other guys (in the dev forum, where i can't post to at the moment) having the exact same issue:
do a "repo selfupdate" before you run breakfast!
after the selfupdate, do "repo sync"... and then try again with breakfast, all will be well

[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!

How to build for Samsung Note III - Sprint version using Cyanogenmod tutorial

I am using this linkhttp://wiki.cyanogenmod.org/w/Build_for_hlte to build an image for a Samsung Note 3 on Sprint network. This i the multiband version. My question is if I am using the right link. I downloaded the source successfully, but I run into this issue:
#:~/android/system# breakfast hlte
including vendor/cm/vendorsetup.sh
ls: cannot access device/*/hlte/cm.mk: No such file or directory
build/core/product_config.mk:233: *** Can not locate config makefile for product "cm_hlte". 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-10.2
Checking branch info
Default revision cm-10.2 not found in android_device_samsung_hlte. 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/*/hlte/cm.mk: No such file or directory
build/core/product_config.mk:233: *** Can not locate config makefile for product "cm_hlte". Stop.
** Don't have a product spec for: 'cm_hlte'
** Do you have the right repo manifest?
I don't know if I understand what is going on above. Even though I asked for cm-10.5 when I initialized the repo, I see messages about cm-11.0. How can I fix this?

Any AICP gurus out there?

Hi everyone!
I am trying to build AICP for the Samsung S5 klte and I'm running into a problam. I have synced the repo, but when I enter " breakfast device_samsung_klte
"
[email protected]:~/AICP$ breakfast device_samsung_klte
including vendor/aicp/vendorsetup.sh
build/core/product_config.mk:238: *** Can not locate config makefile for product "aicp_device_samsung_klte". Stop.
Device device_samsung_klte not found. Attempting to retrieve device repository from AICP Github (http://github.com/AICP).
Repository for device_samsung_klte not found in the AICP 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:238: *** Can not locate config makefile for product "aicp_device_samsung_klte". Stop.
build/core/product_config.mk:238: *** Can not locate config makefile for product "aicp_device_samsung_klte". Stop.
** Don't have a product spec for: 'aicp_device_samsung_klte'
** Do you have the right repo manifest?
I'm assuming that I need to make a aicp_klte.xml file in the ~/AICP/.repo/local_manifests/ like I did for the S5 Neo. Does anyone have a link for the .xml information that I need?
Thanks
zog
(EDIT)
I tried running "breakfast klte" and I got this:
[email protected]:~/AICP$ breakfast klte
including vendor/aicp/vendorsetup.sh
build/core/product_config.mk:238: *** Can not locate config makefile for product "aicp_klte". Stop.
Device klte not found. Attempting to retrieve device repository from AICP Github (http://github.com/AICP).
Found repository: device_samsung_klte
Default revision: o8.1
Checking branch info
Default revision o8.1 not found in device_samsung_klte. Bailing.
Branches found:
kitkat
lp5.0
lp5.1
mm6.0
n7.0
n7.1
Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches.
build/core/product_config.mk:238: *** Can not locate config makefile for product "aicp_klte". Stop.
build/core/product_config.mk:238: *** Can not locate config makefile for product "aicp_klte". Stop.
** Don't have a product spec for: 'aicp_klte'
** Do you have the right repo manifest?
So it's not finding for Android 8.1. However, I know that LineageOS has an official ROM for the klte.

Categories

Resources