[Q] Compiling CM9 from source - Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl

I am trying to compile CM9 from source.
using vendor and device from WhiteXP github http://forum.xda-developers.com/showthread.php?t=1890107
I end up with
Code:
[email protected]:system $
[22:43:29] → . build/envsetup.sh && brunch totoro
including device/samsung/totoro-bak/vendorsetup.sh
including device/samsung/totoro/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/vendorsetup.sh
Couldn't locate the top of the tree. Try setting TOP.
Trying dependencies-only mode on a non-existing device tree?
Couldn't locate the top of the tree. Try setting TOP.
Couldn't locate the top of the tree. Try setting TOP.
Makefile:2: build/core/main.mk: No such file or directory
make: *** No rule to make target `build/core/main.mk'. Stop.
does any body know why main.mk is missing if I am using CM9 source ?

Related

[Q] Compiling CM for my d802

Hi all,
I'm trying to build CyanogenMod for intl G2 (the only change I've made is to add halo)
for the repo init I've done:
Code:
repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0 -g all,-notdefault,d802,lge
And then repo sync -j8
After that, like I've said, I've added halo.
And now I'm trying to build by doing:
Code:
$ source build/envsetup.sh
$ breakfast d802
but the only things I get is:
Code:
[email protected]:~/CM/G2# breakfast d802
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/lge/d802/cm.mk]]: "device/lge/g2-common/g2.mk" does not exist. Arrêt.
Device d802 not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Traceback (most recent call last):
File "build/tools/roomservice.py", line 76, in <module>
result = json.loads(urllib.request.urlopen(githubreq).read().decode())
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: Forbidden
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/lge/d802/cm.mk]]: "device/lge/g2-common/g2.mk" does not exist. Arrêt.
** Don't have a product spec for: 'cm_d802'
** Do you have the right repo manifest?
I don't understand because when I take a look to device, there is no lge/d802 directory. By doing the init command, I would have to download specific files
also lunch and breakfast command gave me the same error...
Do you have an idea where I'm wrong and what can I do ? I think I've to download device specific files but how can I do this (if this is the error), normally before building, the files are downloaded ? I don't see...
Thanks in advance !
Up, if someone can help me :fingers-crossed:
I have the same problem, someone can help?

[Q] No zip outputted when building from scratch

Hello,
I'm working on a new device and building OmniROM.
The command I using is:
Code:
lunch omni_mx4pro(device)-userdebug && mka
but it only output system.img (and other images) and doesn't make zip for me.
When I execute
Code:
make bacon
or
Code:
make otapackage
It fails saying 'no rule to make target bacon/otapackage. stop'
I don't have dependencies since the device is a minor device/manufacturer.
My repository:
gitlab.com/i****atsuyuki/android_device_meizu_mx4pro
What's my wrong?
Try
. build/envsetup.sh && brunch <device>
If that doesn't work - look in detail through your build logs and device trees, likely something is bombing out somewhere.
Entropy512 said:
Try
. build/envsetup.sh && brunch <device>
If that doesn't work - look in detail through your build logs and device trees, likely something is bombing out somewhere.
Click to expand...
Click to collapse
I got "no rule to make target bacon". What I did was wrong?
Also, change my link when you visit since it contains [S**T] in my name.
Solved. You need recovery.fstab for bacon.
Sent from my MX4 Pro using Tapatalk

Making of Ubuntu Touch For Yureka kitkat -CM11

Hi XDA devs,
Building Ubuntu touch for Yureka so far
Yureka has Official cyanogenmod Rom.
Passed many errors, (Many to come ) but now i am stuck here
Code:
device/yu/tomato/charger/charger.c:49:25: fatal error: minui/minui.h: No such file or directory
compilation terminated.
cc1: warning: command line option ‘-Wsign-promo’ is valid for C++/ObjC++ but not for C [enabled by default]
host C: libsepol <= external/libsepol/src/avtab.c
build/core/binary.mk:512: recipe for target '/home/sheikh/touch/phablet/out/target/product/tomato/obj/EXECUTABLES/charger_mmx_intermediates/charger.o' failed
what i have
Code:
ubuntu system 14.10 64bit
Ubuntu touch phablet-4.4.2_r1 source code (with .repo folder 15GB)
android_kernel_yu_msm8916-cm-11.0
android_device_yu_tomato-cm-11.0
android_device_qcom_common-cm-11.0
if someone can tell me which file is supposed to be in 'vendorsetup.sh' (lunch menu)
i added this-:
add_lunch_combo full_tomato-userdebug (is this right file to be here ? )
and compilation started (with doubt )
HERE is
sources for Yureka are for 4.4.4 kitkat based cyanogenmod
but Ubuntu touch sources are like phablet-4.4.2_r1 !
Code:
repo init -u https://code-review.phablet.ubuntu.com/p/aosp/platform/manifest.git -b phablet-4.4.2_r1
sheikhrr said:
Hi XDA devs,
Building Ubuntu touch for Yureka so far
Yureka has Official cyanogenmod Rom.
Passed many errors, (Many to come ) but now i am stuck here
Code:
device/yu/tomato/charger/charger.c:49:25: fatal error: minui/minui.h: No such file or directory
compilation terminated.
cc1: warning: command line option ‘-Wsign-promo’ is valid for C++/ObjC++ but not for C [enabled by default]
host C: libsepol <= external/libsepol/src/avtab.c
build/core/binary.mk:512: recipe for target '/home/sheikh/touch/phablet/out/target/product/tomato/obj/EXECUTABLES/charger_mmx_intermediates/charger.o' failed
what i have
Code:
ubuntu system 14.10 64bit
Ubuntu touch phablet-4.4.2_r1 source code (with .repo folder 15GB)
android_kernel_yu_msm8916-cm-11.0
android_device_yu_tomato-cm-11.0
android_device_qcom_common-cm-11.0
if someone can tell me which file is supposed to be in 'vendorsetup.sh' (lunch menu)
i added this-:
add_lunch_combo full_tomato-userdebug (is this right file to be here ? )
and compilation started (with doubt )
HERE is
sources for Yureka are for 4.4.4 kitkat based cyanogenmod
but Ubuntu touch sources are like phablet-4.4.2_r1 !
Code:
repo init -u https://code-review.phablet.ubuntu.com/p/aosp/platform/manifest.git -b phablet-4.4.2_r1
Click to expand...
Click to collapse
lol ill also start my work when ill get replacement device

build/core/product_config.mk:234: Can not locate config makefile for product

build/core/product_config.mk:234: *** Can not locate config makefile for product "mk_ha3g"。 stop。
Device ha3g not found. Attempting to retrieve device repository from MoKee OpenSource Github (github. com/MoKee ).
Repository for ha3g not found in the MoKee OpenSource 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:234: *** Can not locate config makefile for product "mk_ha3g"。 stop。
** Don't have a product spec for: 'mk_ha3g'
** Do you have the right repo manifest?
I ask how to add local_manifests / roomservice.xml
How did you fix this issue?
OP last post 2016.

remote: Repository not found. when trying to build cm14.1 for OP5

Hello,
Im currently trying to build CM14.1 for the OP5 for a school project.
Sadly i've already gone through so many errors, so Icouldn't even make my first build yet.-
My current problem is, that when I repo sync it wants me to give them my password and email, I ensured myself 10 times and
typed the data in correctly, but I still get this error:
Password for 'https://github.com':
remote: Repository not found.
fatal: Authentication failed for 'https://github.com/LineageOS/android_vendor_oneplus_cheeseburger/'
error: Cannot fetch LineageOS/android_vendor_oneplus_cheeseburger
Breakfast doesn't work either, it gives me this:
breakfast android_device_oneplus_cheeseburger
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:249: *** Can not locate config makefile for product "lineage_android_device_oneplus_cheeseburger". Stop.
build/core/product_config.mk:249: *** Can not locate config makefile for product "cm_android_device_oneplus_cheeseburger". Stop.
build/core/product_config.mk:249: *** Can not locate config makefile for product "lineage_android_device_oneplus_cheeseburger". Stop.
Device android_device_oneplus_cheeseburger not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Repository for android_device_oneplus_cheeseburger not found in the LineageOS 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:249: *** Can not locate config makefile for product "lineage_android_device_oneplus_cheeseburger". Stop.
build/core/product_config.mk:249: *** Can not locate config makefile for product "lineage_android_device_oneplus_cheeseburger". Stop.
** Don't have a product spec for: 'lineage_android_device_oneplus_cheeseburger'
** Do you have the right repo manifest?
what could be the problem?
thanks for replies
I don't think your git pull worked

Categories

Resources