Maguro errors while building AOSP - Samsung Galaxy Nexus

Hello Everyone ...
I have downloaded the source of AOSP and wanted to compile Galaxy Nexus Maguro ..
I modified the device trees and started compiling ...
After a few minutes i get this error error and build stops ... The error is related to d repo external_llvm i think so and this repo has been synced from android git ...
So please help me to solve this error .. i have been struggling ..
Thank You
smartAgent47

Related

CM10.1 Repo Sync Error - "fatal: duplicate project"

Hi all,
I'm trying to compile CM10.1 from source, but when trying to do a new repo sync I get this error:
Code:
fatal: duplicate project CyanogenMod/android_device_samsung_maguro in /home/nickamina/android/cm10.1/.repo/manifest.xml
Can anybody suggest what the problem is here? Thanks
Final bump.

Need Device tree

Hey people ,
Can someone provide a relevant Xiaomi Redmi 1s device tree so I can start building customs ROM's for this device....
hackerzrulez007 said:
Hey people ,
Can someone provide a relevant Xiaomi Redmi 1s device tree so I can start building customs ROM's for this device....
Click to expand...
Click to collapse
Here is The Device tree :
https://github.com/armani-dev/android_device_xiaomi_armani
and here vender tree :
https://github.com/armani-dev/proprietary_vendor_xiaomi
Getting error while compiling AOSP with the armani device tree
I cloned these repos in device/ and vendor/ directories respectively.
I then ran . build/envsetup.sh which ran but gave this.
including device/android_device_xiaomi_armani/vendorsetup.sh
sh: 0: Can't open device/xiaomi/armani/patches/apply.sh
I anyways went ahead and hit lunch and then this happened when i passed cm_armani-userdebug as the selection.
Which would you like? [aosp_arm-eng] cm_armani-userdebug
build/core/product_config.mk:222: *** Can not locate config makefile for product "cm_armani". Stop.
** Don't have a product spec for: 'cm_armani'
** Do you have the right repo manifest?
I am trying to compile android lollipop with this device tree. Will this work? and if it can then where am I doing wrong?
praveenpuglia said:
I cloned these repos in device/ and vendor/ directories respectively.
I then ran . build/envsetup.sh which ran but gave this.
including device/android_device_xiaomi_armani/vendorsetup.sh
sh: 0: Can't open device/xiaomi/armani/patches/apply.sh
I anyways went ahead and hit lunch and then this happened when i passed cm_armani-userdebug as the selection.
Which would you like? [aosp_arm-eng] cm_armani-userdebug
build/core/product_config.mk:222: *** Can not locate config makefile for product "cm_armani". Stop.
** Don't have a product spec for: 'cm_armani'
** Do you have the right repo manifest?
I am trying to compile android lollipop with this device tree. Will this work? and if it can then where am I doing wrong?
Click to expand...
Click to collapse
these device tree won't work for cm12 ie lolipop
there are patch, which should be done before compiling rom
Can you tell me more ? I am not trying to build cm lollipop..i am trying to build AOSP stock rom. I just want to know if the cm 11 device tree can be used to conpile AOSP rom!
praveenpuglia said:
Can you tell me more ? I am not trying to build cm lollipop..i am trying to build AOSP stock rom. I just want to know if the cm 11 device tree can be used to conpile AOSP rom!
Click to expand...
Click to collapse
Won't work. Will need heck loads of patches and dirty hacks and display and media repos should be taken from armani-dev.
kD said:
Won't work. Will need heck loads of patches and dirty hacks and display and media repos should be taken from armani-dev.
Click to expand...
Click to collapse
What about using those device trees for cm12?
praveenpuglia said:
What about using those device trees for cm12?
Click to expand...
Click to collapse
As said earlier won't work
Actually OP need 1st step guide with current repo .... I think

Compiling Rom from GITHUB

Hi all!
I'm trying for days to compile some of the Lollipop roms for the T800 and T700 available on Github.
Tried a lot of tutorials, downloaded the CM12 source on ubuntu, but I can't, for the life of me, integrate the files from github into the cyanogen downloaded source and do a "breakfast chagallwifi".
Could anyone give me some pointers?
Thanks!
Update, got it to start compiling, found another clue on local_manifests that is working! Let's see if it compiles...

Feel like a Noob.. How to build Cyanogenmod <nightly> for d850

OK. I thought this would be easy.
I've built for TI based platforms and know a bit about the process..
So I went to the site of sites https://wiki.cyanogenmod.org/w/Build_for_d855 though for the d855 and thought that I could glean enough to get things runing using the manifest stored in the current cm-12.1 that is in my d850..
Got a sweet build environment.. 16 core/32hypercore with 48GB ram and 1TB SDD RAID.
Got the code downloaded using
repo init -u https://github.com/CyanogenMod/android.git -b cm-12.0 << Maybe I should have used 12.1 but ignore for now
repo sync << Waited a long time and it loaded up a ton of stuff so that looks good..
Now I try to do something I've done on TI platforms
source build/envsetup.sh << but I get an error
The error is
bash: build/envsetup.sh: line 1: syntax error near unexpected tokin '{'
bash: build/envsetup.sh: line 1: function hmm() {
Ive looked and I cant figure out why this doesnt work...
ARGH!!!
Update
Well the only update I have now is that I got the manifest out of my d850 and placed it into the repo and did a repo sync and I saw that the repo updated the branches to 5.1.1 stuff..
Still cant get the source build/envsetup.sh to work... same error...
did you update all the repos to 5.1.1?
try ". build/envsetup.sh" (yeah it's a period before build ) instead of "source build/envsetup.sh"
i also need to know what OS are you using on your environment.. i advice UBUNTU 14.04 64bit to build android since is the most compatible try to use that maybe it can help..
http://forum.xda-developers.com/lg-g3/development/guide-how-to-build-cyanogenmod-12-t2953132 this is my old guide to build cyanogenmod (it's referred for cm12 since it's old but might still help)

[Q] error building since yesterday morning

Hello Guys,
I've been building find7 for one year (for crdroid tteam mainly) and since yesterday i'm facing a strange issue building:
error message:
----- Making boot image ------
error: could not load device tree image '/home/jejecule/crdroid2/out/target/product/find7/dt.img'
make: *** [/home/jejecule/crdroid2/out/target/product/find7/boot.img] Error 1
I downloaded pure cm12.1 source, made the same test and exactly the same error
Reverted last sepolicy cm-vendor commits, same issue, changed kernel, same issue...
Anyone facing the same with cm based rom with this device?
Thanks guys
cm is changing a lot of things right now. they seperated the oneplus one from msm8974-common,
and the find7 has a new kernel too..
suraj.das said:
cm is changing a lot of things right now. they seperated the oneplus one from msm8974-common,
and the find7 has a new kernel too..
Click to expand...
Click to collapse
Hey my friend, did not notice that Find7 had his own kernel...maybe it's why...
How are you? and you tipsy builds?
See U soon.
Cheers
Jerome
Oppo find7 can running cm ROM based use caf kernel and caf ROM?
Sorry for my English.

Categories

Resources