How to use cyanogen's device trees in clean aosp - Android Q&A, Help & Troubleshooting

Hi, i have a problem with android device trees. I want to flash aosp from source to my zte blade 3. Kernel and source code is ready. Also i find a device tree but it is based on cyanogenmod. I copied tree under
HTML:
aosp/device/zte/atlas40
.
with
HTML:
source build/envsetup.sh
i can see device name. But when i call
HTML:
lunch
There is a huge error like this
HTML:
build/core/product_config.mk:222: *** Can not locate config makefile for product "cm_atlas40". Stop.
** Don't have a product spec for: 'cm_atlas40'
** Do you have the right repo manifest?
Can anyone help, how can i import a device tree from cyanogen to aosp.
thank you.

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

Please help me with porting CM13 to my LGE L65 (w55n)

I tried to port Cyanogenmod 13 to my LGE L65. Everything worked fine, till I tried to download specifications with breakfast. Device was unsupported so I had to made file roomservice.xml with links to Github kernel. I tried but I haven't helped. Then I tried this way, but of course with CM 13: "android_device_lge_w55n"(link to github but XDA blocked it). In description is instruction. Even when folder /device/lge/w55n exsisted still I had the same error: "Device w55n not found. Attempting to retrieve device repository from CyanogenMod Github (link here but XDA blocked it).
Repository for w55n 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.
build/core/envsetup.mk:90: *** Unable to determine HOST_ARCH from uname -sm: Linux i686!. Stop.
** Don't have a product spec for: 'cm_w55n'
** Do you have the right repo manifest?
"
Can you help me? PLEASE:crying:

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!

Building AOSP

I am trying to build AOSP. I have followed some instructions and the best are the instructions of Sony. But when I come to the point to clone the local_manifests, I need to have another file because I am trying to build it for the OnePlus One. I have found the AOSP-bacon repo on github where is a local_manifests to clone. So I have done that but when I try to sync the repo with the command 'repo sync' it gives this back:
[email protected]:~/android$ repo sync
fatal: remove-project element specifies non-existent project: platform/build
I have searched but could not find the answer what to do now. Can someone help me or say what I need to do to build AOSP?
You're cluttering your roomservice.xml with too much stuff. You only really need 3 things, device tree, vendor and kernel sources. You don't need to define the github tag since it should already have been defined in your default.xml located in .repo/manifests.

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