Unable to build CM 10.1 with Android 4.2.2 - Galaxy Tab 10.1 Q&A, Help & Troubleshooting

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

Related

Error building CM10.1 from source

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

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?

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!

Categories

Resources