Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] [HELP] Can't build Cyanogenmod

OP CW03

30th March 2014, 04:56 AM   |  #1  
OP Junior Member
Thanks Meter: 0
 
5 posts
Join Date:Joined: May 2013
Hey everyone, hope someone can help

When I run the command "breakfast hlte"

I get:
Quote:

Syncing repository to retrieve project.
Fetching project CyanogenMod/android_device_samsung_hlte

Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/samsung/hlte/cm.mk]]: "device/samsung/msm8960-common/msm8960.mk" does not exist. Stop.

** Don't have a product spec for: 'cm_hlte'
** Do you have the right repo manifest?

chris@chris-VirtualBox:~/android/system$

Also, if I proceed and try to extract the proprietry blobs with "extract-files.sh" I get:

Quote:

Extracting /system/etc/firmware/a330_pfp.fw ...
37 KB/s (2212 bytes in 0.058s)
Extracting /system/etc/firmware/a330_pm4.fw ...
91 KB/s (9220 bytes in 0.098s)
Extracting /system/vendor/lib/libmm-color-convertor.so ...
87 KB/s (9308 bytes in 0.103s)
Extracting /system/lib/cdma/libsec-ril.so ...
remote object '/system/lib/cdma/libsec-ril.so' does not exist



Any help would be appreciated


EDIT: the line where it fails is pointing the wrong place :/ I found it in root explorer so I'll see what I can do
EDIT: fixed the cdma/libsec-ril.so
but now it's complaining it can't find a gsm version...
Last edited by CW03; 30th March 2014 at 05:29 AM.
19th April 2014, 03:07 AM   |  #2  
Junior Member
Thanks Meter: 2
 
3 posts
Join Date:Joined: Apr 2014
Use the blobs from the GitHub repo TheMuppets/proprietary_vendor_samsung/tree/cm-11.0/hlte. Unfortunately I can't post a direct link due to onerous XDA restrictions on new user's posts. I am having the same problem with not being able to extract all the propietary blobs from my Note 3 device.

Quote:
Originally Posted by CW03

Hey everyone, hope someone can help

When I run the command "breakfast hlte"

I get:


Also, if I proceed and try to extract the proprietry blobs with "extract-files.sh" I get:





Any help would be appreciated


EDIT: the line where it fails is pointing the wrong place :/ I found it in root explorer so I'll see what I can do
EDIT: fixed the cdma/libsec-ril.so
but now it's complaining it can't find a gsm version...

The Following User Says Thank You to jk49fm49dfk For This Useful Post: [ View ]
2nd May 2014, 07:19 AM   |  #3  
Junior Member
Thanks Meter: 5
 
13 posts
Join Date:Joined: Apr 2014
Did you ever get this figured out? I am trying to build right now and am having the same problem. I got the blobs from that github repository, and am still running into this same error.

Quote:

daniel@dungeon:~/android/system$ breakfast hlte
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/samsung/hlte/cm.mk]]: "device/samsung/msm8960-common/msm8960.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

Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/samsung/hlte/cm.mk]]: "device/samsung/msm8960-common/msm8960.mk" does not exist. Stop.

** Don't have a product spec for: 'cm_hlte'
** Do you have the right repo manifest?

daniel@dungeon:~/android/system$

2nd May 2014, 07:46 AM   |  #4  
Senior Member
Thanks Meter: 313
 
326 posts
Join Date:Joined: Jul 2013
Quote:
Originally Posted by iamdanhenry

Did you ever get this figured out? I am trying to build right now and am having the same problem. I got the blobs from that github repository, and am still running into this same error.

Do you have device/samsung/msm8960-common/msm8960.mk? If you did used "lunch", it should add this repo (and a few others) to your .repo/local_manifests/roomservice.xml. The repos are defined in device/samsung/hlte/cm.dependencies, which should already be there.

If it doesn't fetch the repos automatically, you can do this with "repo sync".

For the proprietary blobs, you only need to add the samsung repo from TheMuppets github to your .repo/local_manifests/whatever.xml and "repo sync" to pull it in. No need to try to extract anything from your device.
The Following User Says Thank You to jisoo For This Useful Post: [ View ]
2nd May 2014, 03:32 PM   |  #5  
Junior Member
Thanks Meter: 5
 
13 posts
Join Date:Joined: Apr 2014
Quote:
Originally Posted by jisoo

Do you have device/samsung/msm8960-common/msm8960.mk? If you did used "lunch", it should add this repo (and a few others) to your .repo/local_manifests/roomservice.xml. The repos are defined in device/samsung/hlte/cm.dependencies, which should already be there.

If it doesn't fetch the repos automatically, you can do this with "repo sync".

For the proprietary blobs, you only need to add the samsung repo from TheMuppets github to your .repo/local_manifests/whatever.xml and "repo sync" to pull it in. No need to try to extract anything from your device.

After I posted I went and downloaded msm8960-common repository and extracted it into the build directory, it then got the same error for some qualcomm libraries that were missing so I downloaded those as well. I then added the proprietary files from the "TheMuppets" repo.

It would appear things are going better now, but still can't build because of some errors with the kernel not being there. I am going to go download the kernel source and try to get it figured out. If I can't I will make a new thread.

Thank you for your help!
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes