Edit: IMPORTANT !
Latest version of glibc, the entire C library (2.22-3 on Arch Linux), seems to brakes things for android build: as reported in this other thread by @Poesini (and many others in same thread), previous version of glibc should be right, but the newest isn't OK on Arch. So please, when you updating your system, DO NOT UPDATE GLIBC!. (Downgrading still possible, but isn't the funniest part: -> https://bbs.archlinux.org/viewtopic.php?id=200845). Others Linux Distros (like Ubuntu for example) should be good, as they have not update glibc yet, but PLEASE be aware about this problem!
Thanks @Trafalgar Square for taking the time to help me !
HI all!
Well, have a little problem over here. I'm trying to compile from sources Temasek (6.0.1) for OnePlus Two, with this repo:
Code:
repo init -u https://github.com/temasek/android.git -b cm-13.0
(thanks @temasek)
and this roomservice.xml :
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="Trafalgar-Square/android_device_oneplus_oneplus2" path="device/oneplus/oneplus2" remote="github" revision="temasek-mm6.0" />
<project name="benschhold/android_vendor_oneplus" path="vendor/oneplus" remote="github" revision="cm-13.0" />
<project name="benschhold/android_kernel_oneplus_msm8994" path="kernel/oneplus/msm8994" remote="github" revision="cm-13.0" />
<project name="CyanogenMod/android_external_stlport" path="external/stlport" remote="github" revision="cm-13.0" />
<project name="CyanogenMod/android_external_sony_boringssl-compat" path="external/sony/boringssl-compat" remote="github" revision="cm-13.0" />
<project name="benschhold/android_device_oppo_common" path="device/oppo/common" remote="github" revision="cm-13.0" />
</manifest>
(Thanks @Trafalgar Square by the way).
Well, every time I execute "lunch cm_oneplus2-userdebug" followed by "breakfast cm_oneplus2-userdebug", it's end in:
Code:
flex-2.5.39: loadlocale.c:131: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_COLLATE) / sizeof (_nl_value_type_LC_COLLATE[0]))' failed.
touch /home/bertac_t/android/temasek/out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/policy_parse.hpp
build/core/binary.mk:662: recipe for target '/home/bertac_t/android/temasek/out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/policy_scan.cpp' failed
[COLOR="Red"]make: *** [/home/bertac_t/android/temasek/out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/policy_scan.cpp] Aborted (core dumped)[/COLOR]
make: *** Waiting for unfinished jobs....
echo '#ifndef 'policy_parse_h > /home/bertac_t/android/temasek/out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/policy_parse.h
Lex: libsepol <= external/selinux/libsepol/cil/src/cil_lexer.l
echo '#define 'policy_parse_h >> /home/bertac_t/android/temasek/out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/policy_parse.h
flex-2.5.39: loadlocale.c:131: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_COLLATE) / sizeof (_nl_value_type_LC_COLLATE[0]))' failed.
build/core/binary.mk:662: recipe for target '/home/bertac_t/android/temasek/out/host/linux-x86/obj/STATIC_LIBRARIES/libsepol_intermediates/cil/src/cil_lexer.cpp' failed
[COLOR="Red"]make: *** [/home/bertac_t/android/temasek/out/host/linux-x86/obj/STATIC_LIBRARIES/libsepol_intermediates/cil/src/cil_lexer.cpp] Aborted (core dumped)[/COLOR]
cat /home/bertac_t/android/temasek/out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/policy_parse.hpp >> /home/bertac_t/android/temasek/out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/policy_parse.h
echo '#endif' >> /home/bertac_t/android/temasek/out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/policy_parse.h
make: Leaving directory '/home/bertac_t/android/temasek'
where sentences highlight in red seems to be the problem.
I found THIS on XDA, which seems to be a glibc problem. But, well, I've tried to follow the "fix" gave by @martinoff, but no sign of a build_rom script in my directories...
Thanks to all who will help me !
Instructions
Hello and thank you for using Q/A,
. build/envsetup.sh
make clobber
breakfast oneplus2
brunch oneplus2
Kind regards
Trafalgar Square
Trafalgar Square said:
Hello and thank you for using Q/A,
. build/envsetup.sh
make clobber
breakfast oneplus2
brunch oneplus2
Kind regards
Trafalgar Square
Click to expand...
Click to collapse
First, thanks for your answer mate, but still the same error...
New
Hi again,
please try this:
https://raw.githubusercontent.com/Trafalgar-Square/roomservice/temasek-mm6.0/oneplus2.xml
Add this to the end of your cm.mk:
Code:
# Custom unofficial build tag
TARGET_UNOFFICIAL_BUILD_ID := temasek
repo sync --force-sync
make clean
. build/envsetup.sh
breakfast oneplus2
brunch oneplus2
Kind regards
Trafalgar Square
AICP, CyanPop and Temasek maintainer
Up ! Read first post PLEASE !
@Darth, you can close this thread, I just up so people can be informed about this problem.
Thanks man !
Thread closed per OP request. :good:
Related
So I have followed the guides here http://docs.omnirom.org/Setting_Up_A_Compile_Environment and here http://docs.omnirom.org/Build_for_mako.
I have synced up everything and when I execute the cd ~/android/omni; . build/envsetup.sh; brunch mako command I do not get a .zip file created. Is there an extra step I need to do to have the .zip created so I can flash to my device?
Thank you all in advance.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="TheMuppets/proprietary_vendor_lge" path="vendor/lge" remote="github" revision="cm-10.2" />
<project name="omnirom/android_kernel_google_msm" path="kernel/google/msm" remote="github" revision="android-msm-mako-3.4-jb-mr2" />
<project name="omnirom/android_device_lge_mako" path="device/lge/mako" remote="github" revision="android-4.3" />
</manifest>
u add these to ~/android/omni/.repo/local_manifests/roomservice.xml
i believe this should get you a build, but u should w8 for someone more experienced to confirm those.
E: also remenber to sync after adding those lines
Code:
repo sync -j4
I don't get a zip file either. Mine terminal output just says Notice File blabla
Code:
Notice file: external/noto-fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/NotoSansMalayalamUI-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/NotoSansTelugu-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/NotoSansTelugu-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/NotoSansTeluguUI-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/NotoSansTeluguUI-Regular.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/Roboto-BoldItalic.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/Roboto-Italic.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/Roboto-Light.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/Roboto-LightItalic.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/Roboto-Thin.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/Roboto-ThinItalic.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/RobotoCondensed-Bold.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/RobotoCondensed-BoldItalic.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/RobotoCondensed-Italic.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/RobotoCondensed-Regular.ttf.txt
Notice file: frameworks/base/cmds/am/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/am.jar.txt
Notice file: external/apache-xml/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/apache-xml.jar.txt
Notice file: frameworks/base/cmds/bmgr/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/bmgr.jar.txt
Notice file: external/bouncycastle/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/bouncycastle.jar.txt
Notice file: frameworks/base/cmds/bu/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/bu.jar.txt
Notice file: frameworks/base/cmds/content/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/content.jar.txt
Notice file: external/junit/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/core-junit.jar.txt
Notice file: libcore/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/core.jar.txt
Notice file: frameworks/base/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/ext.jar.txt
Notice file: frameworks/base/core/res/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/framework-res.apk.txt
Notice file: frameworks/base/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/framework.jar.txt
Notice file: frameworks/base/cmds/ime/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/ime.jar.txt
Notice file: frameworks/base/cmds/input/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/input.jar.txt
Notice file: frameworks/base/obex/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/javax.obex.jar.txt
Notice file: frameworks/base/cmds/media/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/media_cmd.jar.txt
Notice file: development/cmds/monkey/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/monkey.jar.txt
Notice file: frameworks/base/cmds/pm/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/pm.jar.txt
Notice file: frameworks/base/cmds/requestsync/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/requestsync.jar.txt
Notice file: frameworks/base/cmds/svc/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/svc.jar.txt
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/librtp_jni_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libstagefright_amrnb_common_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/STATIC_LIBRARIES/libgsm_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/STATIC_LIBRARIES/libstagefright_amrnbdec_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/STATIC_LIBRARIES/libstagefright_amrnbenc_intermediates/import_includes
Notice file: external/libgsm/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/lib/libgsm.a.txt
Notice file: frameworks/av/media/libstagefright/codecs/amrnb/dec/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/lib/libstagefright_amrnbdec.a.txt
Notice file: frameworks/av/media/libstagefright/codecs/amrnb/enc/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/lib/libstagefright_amrnbenc.a.txt
Notice file: frameworks/av/media/libstagefright/codecs/amrnb/common/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/lib/libstagefright_amrnb_common.so.txt
Notice file: frameworks/base/cmds/wm/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/wm.jar.txt
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libfwdlockengine_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/STATIC_LIBRARIES/libdrmutility_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/STATIC_LIBRARIES/libfwdlock-common_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/STATIC_LIBRARIES/libfwdlock-converter_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/STATIC_LIBRARIES/libfwdlock-decoder_intermediates/import_includes
Notice file: frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/lib/drm/libfwdlockengine.so.txt
Notice file: frameworks/av/drm/libdrmframework/plugins/common/util/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/lib/libdrmutility.a.txt
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libGLES_android_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libpixelflinger_intermediates/import_includes
Export includes file: frameworks/native/opengl/libagl/Android.mk -- /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libGLES_android_intermediates/export_includes
Notice file: system/core/libpixelflinger/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/lib/libpixelflinger.so.txt
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/audio.a2dp.default_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/audio.primary.default_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/audio.primary.msm8960_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libtinyalsa_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libaudioroute_intermediates/import_includes
Notice file: system/media/audio_route/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/lib/libaudioroute.so.txt
Notice file: external/tinyalsa/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/lib/libtinyalsa.so.txt
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/audio.r_submix.default_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/audio.usb.default_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/audio_policy.default_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/STATIC_LIBRARIES/libaudiopolicy_legacy_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/camera.mako_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libmmcamera_interface2_intermediates/import_includes
make: *** No rule to make target `/home/parker/android/omni/out/target/product/mako/obj/KERNEL_OBJ/usr', needed by `/home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libgenlock_intermediates/genlock.o'. Stop.
make: *** Waiting for unfinished jobs....
real 1m55.515s
user 5m41.412s
sys 0m16.200s
[email protected]:~/android/omni$
parker09 said:
I don't get a zip file either. Mine terminal output just says Notice File blabla
Code:
Notice file: external/noto-fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/NotoSansMalayalamUI-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/NotoSansTelugu-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/NotoSansTelugu-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/NotoSansTeluguUI-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/NotoSansTeluguUI-Regular.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/Roboto-BoldItalic.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/Roboto-Italic.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/Roboto-Light.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/Roboto-LightItalic.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/Roboto-Thin.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/Roboto-ThinItalic.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/RobotoCondensed-Bold.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/RobotoCondensed-BoldItalic.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/RobotoCondensed-Italic.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/fonts/RobotoCondensed-Regular.ttf.txt
Notice file: frameworks/base/cmds/am/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/am.jar.txt
Notice file: external/apache-xml/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/apache-xml.jar.txt
Notice file: frameworks/base/cmds/bmgr/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/bmgr.jar.txt
Notice file: external/bouncycastle/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/bouncycastle.jar.txt
Notice file: frameworks/base/cmds/bu/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/bu.jar.txt
Notice file: frameworks/base/cmds/content/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/content.jar.txt
Notice file: external/junit/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/core-junit.jar.txt
Notice file: libcore/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/core.jar.txt
Notice file: frameworks/base/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/ext.jar.txt
Notice file: frameworks/base/core/res/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/framework-res.apk.txt
Notice file: frameworks/base/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/framework.jar.txt
Notice file: frameworks/base/cmds/ime/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/ime.jar.txt
Notice file: frameworks/base/cmds/input/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/input.jar.txt
Notice file: frameworks/base/obex/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/javax.obex.jar.txt
Notice file: frameworks/base/cmds/media/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/media_cmd.jar.txt
Notice file: development/cmds/monkey/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/monkey.jar.txt
Notice file: frameworks/base/cmds/pm/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/pm.jar.txt
Notice file: frameworks/base/cmds/requestsync/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/requestsync.jar.txt
Notice file: frameworks/base/cmds/svc/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/svc.jar.txt
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/librtp_jni_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libstagefright_amrnb_common_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/STATIC_LIBRARIES/libgsm_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/STATIC_LIBRARIES/libstagefright_amrnbdec_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/STATIC_LIBRARIES/libstagefright_amrnbenc_intermediates/import_includes
Notice file: external/libgsm/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/lib/libgsm.a.txt
Notice file: frameworks/av/media/libstagefright/codecs/amrnb/dec/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/lib/libstagefright_amrnbdec.a.txt
Notice file: frameworks/av/media/libstagefright/codecs/amrnb/enc/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/lib/libstagefright_amrnbenc.a.txt
Notice file: frameworks/av/media/libstagefright/codecs/amrnb/common/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/lib/libstagefright_amrnb_common.so.txt
Notice file: frameworks/base/cmds/wm/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/framework/wm.jar.txt
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libfwdlockengine_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/STATIC_LIBRARIES/libdrmutility_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/STATIC_LIBRARIES/libfwdlock-common_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/STATIC_LIBRARIES/libfwdlock-converter_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/STATIC_LIBRARIES/libfwdlock-decoder_intermediates/import_includes
Notice file: frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/lib/drm/libfwdlockengine.so.txt
Notice file: frameworks/av/drm/libdrmframework/plugins/common/util/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/lib/libdrmutility.a.txt
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libGLES_android_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libpixelflinger_intermediates/import_includes
Export includes file: frameworks/native/opengl/libagl/Android.mk -- /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libGLES_android_intermediates/export_includes
Notice file: system/core/libpixelflinger/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/lib/libpixelflinger.so.txt
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/audio.a2dp.default_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/audio.primary.default_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/audio.primary.msm8960_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libtinyalsa_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libaudioroute_intermediates/import_includes
Notice file: system/media/audio_route/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/lib/libaudioroute.so.txt
Notice file: external/tinyalsa/NOTICE -- /home/parker/android/omni/out/target/product/mako/obj/NOTICE_FILES/src//system/lib/libtinyalsa.so.txt
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/audio.r_submix.default_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/audio.usb.default_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/audio_policy.default_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/STATIC_LIBRARIES/libaudiopolicy_legacy_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/camera.mako_intermediates/import_includes
Import includes file: /home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libmmcamera_interface2_intermediates/import_includes
make: *** No rule to make target `/home/parker/android/omni/out/target/product/mako/obj/KERNEL_OBJ/usr', needed by `/home/parker/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libgenlock_intermediates/genlock.o'. Stop.
make: *** Waiting for unfinished jobs....
real 1m55.515s
user 5m41.412s
sys 0m16.200s
[email protected]:~/android/omni$
Click to expand...
Click to collapse
You made sure to have a local_manifest folder under ~/android/omni/.repo/ ?
Inside my local_manifest.xml (Or really whatever you want to name it .xml) is
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="TheMuppets/proprietary_vendor_lge.git" path="vendor/lge" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_broadcom.git" path="vendor/broadcom" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_nvidia.git" path="vendor/nvidia" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_elan.git" path="vendor/elan" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_invensense.git" path="vendor/invensense" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_widevine.git" path="vendor/widevine" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_nxp.git" path="vendor/nxp" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_asus.git" path="vendor/asus" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_imgtec.git" path="vendor/imgtec" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_samsung.git" path="vendor/samsung" remote="github" revision="cm-10.2" />
<project name="omnirom/android_device_asus_flo" path="device/asus/flo" remote="github" revision="android-4.3" />
<project name="omnirom/android_kernel_google_msm" path="kernel/google/msm" remote="github" revision="android-msm-mako-3.4-jb-mr2" />
<project name="omnirom/android_device_lge_mako" path="device/lge/mako" remote="github" revision="android-4.3" />
<project name="omnirom/android_kernel_lge_mako" path="kernel/lge/mako" remote="github" revision="android-4.3" />
</manifest>
TheMuppets repo is where CM team keeps their blobs for all devices they build for. (I have most of them because I build for quite a couple) You're going to need the lge one. Then the omnirom ones are device specific for mako and flo and then subsequently mako's kernel.
Using this I have made working builds for my N4.
These are the steps I do first to build (and get the same errors as OP)
Code:
[email protected]:~$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 23618 100 23618 0 0 54252 0 --:--:-- --:--:-- --:--:-- 57604
[email protected]:~$ chmod a+x ~/bin/repo
[email protected]:~$ echo "export PATH=${PATH}:~/android/sdk/platform-tools/:~/bin" >> ~/.bashrc
[email protected]:~$ export PATH=${PATH}:~/android/sdk/platform-tools/:~/bin
[email protected]:~$ git config --global user.email "[email protected][B]EMAILREMOVED[/B]"
[email protected]:~$ git config --global user.name "ejparker"
[email protected]:~$ cd ~/android/omni
[email protected]:~/android/omni$ repo init -u https://github.com/omnirom/android.git -b android-4.3
remote: Counting objects: 16, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 12 (delta 4), reused 11 (delta 3)
Unpacking objects: 100% (12/12), done.
From https://github.com/omnirom/android
68adae3..4a32d1c android-4.3 -> origin/android-4.3
Your identity is: ejparker <[email protected][B]EMAILREMOVED[/B]>
If you want to change this, please re-run 'repo init' with --config-name
repo has been initialized in /home/parker/android/omni
[email protected]:~/android/omni$
That seems to go all fine.
I then sync the repo and that goes well as far as I can tell
Code:
repo sync -j4
Does the fetching of the project and sync'ing the work tree and I get
Code:
Fetching projects: 100% (378/378), done.
Syncing work tree: 100% (378/378), done.
Which seems like its worked - so all good up to this point I'm guessing.
I then do the
Code:
cd ~/android/omni; . build/envsetup.sh; brunch mako
and then when it's finished I don't get a build.
(terminal output too many characters for XDA so put it in pastebin
http://pastebin.com/439iaqtm
-----
Nburnes said:
You made sure to have a local_manifest folder under ~/android/omni/.repo/ ?
Click to expand...
Click to collapse
My local manifest is under: ~/android/.repo
Nburnes said:
Inside my local_manifest.xml (Or really whatever you want to name it .xml) is
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="TheMuppets/proprietary_vendor_lge.git" path="vendor/lge" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_broadcom.git" path="vendor/broadcom" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_nvidia.git" path="vendor/nvidia" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_elan.git" path="vendor/elan" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_invensense.git" path="vendor/invensense" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_widevine.git" path="vendor/widevine" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_nxp.git" path="vendor/nxp" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_asus.git" path="vendor/asus" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_imgtec.git" path="vendor/imgtec" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_samsung.git" path="vendor/samsung" remote="github" revision="cm-10.2" />
<project name="omnirom/android_device_asus_flo" path="device/asus/flo" remote="github" revision="android-4.3" />
<project name="omnirom/android_kernel_google_msm" path="kernel/google/msm" remote="github" revision="android-msm-mako-3.4-jb-mr2" />
<project name="omnirom/android_device_lge_mako" path="device/lge/mako" remote="github" revision="android-4.3" />
<project name="omnirom/android_kernel_lge_mako" path="kernel/lge/mako" remote="github" revision="android-4.3" />
</manifest>
TheMuppets repo is where CM team keeps their blobs for all devices they build for. (I have most of them because I build for quite a couple) You're going to need the lge one. Then the omnirom ones are device specific for mako and flo and then subsequently mako's kernel. [/code]
Click to expand...
Click to collapse
Yeah I have in my local_manifest.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="TheMuppets/proprietary_vendor_lge" path="vendor/lge" remote="github" revision="cm-10.2" />
<project name="omnirom/android_kernel_google_msm" path="kernel/google/msm" remote="github" revision="android-msm-mako-3.4-jb-mr2" />
<project name="omnirom/android_device_lge_mako" path="device/lge/mako" remote="github" revision="android-4.3" />
</manifest>
parker09 said:
These are the steps I do first to build (and get the same errors as OP)
Code:
[email protected]:~$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 23618 100 23618 0 0 54252 0 --:--:-- --:--:-- --:--:-- 57604
[email protected]:~$ chmod a+x ~/bin/repo
[email protected]:~$ echo "export PATH=${PATH}:~/android/sdk/platform-tools/:~/bin" >> ~/.bashrc
[email protected]:~$ export PATH=${PATH}:~/android/sdk/platform-tools/:~/bin
[email protected]:~$ git config --global user.email "[email protected][B]EMAILREMOVED[/B]"
[email protected]:~$ git config --global user.name "ejparker"
[email protected]:~$ cd ~/android/omni
[email protected]:~/android/omni$ repo init -u https://github.com/omnirom/android.git -b android-4.3
remote: Counting objects: 16, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 12 (delta 4), reused 11 (delta 3)
Unpacking objects: 100% (12/12), done.
From https://github.com/omnirom/android
68adae3..4a32d1c android-4.3 -> origin/android-4.3
Your identity is: ejparker <[email protected][B]EMAILREMOVED[/B]>
If you want to change this, please re-run 'repo init' with --config-name
repo has been initialized in /home/parker/android/omni
[email protected]:~/android/omni$
That seems to go all fine.
I then sync the repo and that goes well as far as I can tell
Code:
repo sync -j4
Does the fetching of the project and sync'ing the work tree and I get
Code:
Fetching projects: 100% (378/378), done.
Syncing work tree: 100% (378/378), done.
Which seems like its worked - so all good up to this point I'm guessing.
I then do the
Code:
cd ~/android/omni; . build/envsetup.sh; brunch mako
and then when it's finished I don't get a build.
(terminal output too many characters for XDA so put it in pastebin
http://pastebin.com/439iaqtm
-----
My local manifest is under: ~/android/.repo
Yeah I have in my local_manifest.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="TheMuppets/proprietary_vendor_lge" path="vendor/lge" remote="github" revision="cm-10.2" />
<project name="omnirom/android_kernel_google_msm" path="kernel/google/msm" remote="github" revision="android-msm-mako-3.4-jb-mr2" />
<project name="omnirom/android_device_lge_mako" path="device/lge/mako" remote="github" revision="android-4.3" />
</manifest>
Click to expand...
Click to collapse
You have the .repo folder in the wrong place
From your own terminal you have
Code:
[email protected]:~/android/omni$
as your build location
But .repo in
Code:
~/android/.repo
It needs to be in
Code:
~/android/omni/.repo/
and then a local_manifests folder as I said. (The period means it is a hidden folder if you didn't know, so CTRL+H in your file manager to view/access it)
dkflint723 said:
So I have followed the guides here http://docs.omnirom.org/Setting_Up_A_Compile_Environment and here http://docs.omnirom.org/Build_for_mako.
I have synced up everything and when I execute the cd ~/android/omni; . build/envsetup.sh; brunch mako command I do not get a .zip file created. Is there an extra step I need to do to have the .zip created so I can flash to my device?
Thank you all in advance.
Click to expand...
Click to collapse
try:
Code:
.build/envsetup.sh && lunch 16 && make otapackage
Nburnes said:
You made sure to have a local_manifest folder under ~/android/omni/.repo/ ?
Inside my local_manifest.xml (Or really whatever you want to name it .xml) is
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="TheMuppets/proprietary_vendor_lge.git" path="vendor/lge" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_broadcom.git" path="vendor/broadcom" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_nvidia.git" path="vendor/nvidia" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_elan.git" path="vendor/elan" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_invensense.git" path="vendor/invensense" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_widevine.git" path="vendor/widevine" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_nxp.git" path="vendor/nxp" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_asus.git" path="vendor/asus" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_imgtec.git" path="vendor/imgtec" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_samsung.git" path="vendor/samsung" remote="github" revision="cm-10.2" />
<project name="omnirom/android_device_asus_flo" path="device/asus/flo" remote="github" revision="android-4.3" />
<project name="omnirom/android_kernel_google_msm" path="kernel/google/msm" remote="github" revision="android-msm-mako-3.4-jb-mr2" />
<project name="omnirom/android_device_lge_mako" path="device/lge/mako" remote="github" revision="android-4.3" />
<project name="omnirom/android_kernel_lge_mako" path="kernel/lge/mako" remote="github" revision="android-4.3" />
</manifest>
TheMuppets repo is where CM team keeps their blobs for all devices they build for. (I have most of them because I build for quite a couple) You're going to need the lge one. Then the omnirom ones are device specific for mako and flo and then subsequently mako's kernel.
Using this I have made working builds for my N4.
Click to expand...
Click to collapse
Nburnes said:
You have the .repo folder in the wrong place
From your own terminal you have
Code:
[email protected]:~/android/omni$
as your build location
But .repo in
Code:
~/android/.repo
It needs to be in
Code:
~/android/omni/.repo/
and then a local_manifests folder as I said. (The period means it is a hidden folder if you didn't know, so CTRL+H in your file manager to view/access it)
Click to expand...
Click to collapse
Ah okay.
I moved it, I'll try build it now.
Does that mean the Wiki article on docs.omnirom.org is wrong? http://docs.omnirom.org/Build_for_mako
Code:
mkdir -p ~/.repo/local_manifests/
shouldn't it be
Code:
mkdir -p ~/android/omni/.repo/local_manifests/
parker09 said:
Ah okay.
I moved it, I'll try build it now.
Does that mean the Wiki article on docs.omnirom.org is wrong? http://docs.omnirom.org/Build_for_mako
Code:
mkdir -p ~/.repo/local_manifests/
shouldn't it be
Code:
mkdir -p ~/android/omni/.repo/local_manifests/
Click to expand...
Click to collapse
It's not wrong, it means that you should be inside your source folder to do that command.
Code:
mkdir -p ~/.repo/local_manifests/
parker09 said:
Ah okay.
I moved it, I'll try build it now.
Does that mean the Wiki article on docs.omnirom.org is wrong? http://docs.omnirom.org/Build_for_mako
Code:
mkdir -p ~/.repo/local_manifests/
shouldn't it be
Code:
mkdir -p ~/android/omni/.repo/local_manifests/
Click to expand...
Click to collapse
You also seem to have
Code:
<project name="omnirom/android_kernel_lge_mako" path="kernel/lge/mako" remote="github" revision="android-4.3" />
Missing from your manifest, else it won't actually pull (all) the mako kernel source.
Gn0m3 said:
It's not wrong, it means that you should be inside your source folder to do that command.
Code:
mkdir -p ~/.repo/local_manifests/
Click to expand...
Click to collapse
Ah okay, I get you.
Nburnes said:
You also seem to have
Code:
<project name="omnirom/android_kernel_lge_mako" path="kernel/lge/mako" remote="github" revision="android-4.3" />
Missing from your manifest, else it won't actually pull (all) the mako kernel source.
Click to expand...
Click to collapse
Ah thanks.
Doing another sync and I'll try again.
Gn0m3 said:
It's not wrong, it means that you should be inside your source folder to do that command.
Code:
mkdir -p ~/.repo/local_manifests/
Click to expand...
Click to collapse
Isn't wrong if you want the .repo folder in ~/android/omni? The ~ qualifies the command to start at the user's home directory. it doesn't matter what folder you are in when the command is executed. I agree that this is misleading.
MOD please delete
gyrene2083 said:
MOD please delete
Click to expand...
Click to collapse
Correct - you would want to follow instructions for your specific phone. The previous posts mention adding binaries/blobs for the Nexus 4 specifically. Sorry I can't be more help than that.
caspian154 said:
Correct - you would want to follow instructions for your specific phone. The previous posts mention adding binaries/blobs for the Nexus 4 specifically. Sorry I can't be more help than that.
Click to expand...
Click to collapse
It was when I read that, that I totally realized it was specific to the Nexus 4. It's my own fault for reading while be up for 18 hours....lol. I suppose I'm going to have to try to figure this one out....but thanks for the answer.
Actually, i did modify a bit omni's wiki toward mako's build, local_manifest isn't needed anymore for the kernel since roomservice got merged, it will get synced when you launch brunch. Themuppets should be declared in local_manifest.xml
Do not edit roomservice.xml, as it is generated by roomservice.
Sent from my Nexus 4 using xda app-developers app
Hi, I'm trying to compile omni for this device, I'm in ubuntu 13.04 64 bits but, when I try to put this:
repo init -u https://github.com/omnirom/android.git -b android-4.3
It says me this error:
[email protected]:~/android/omni$ repo init -u https://github.com/omnirom/android.git -b android-4.3
/home/javierd/bin/repo: línea 1: error sintáctico cerca del elemento inesperado `newline'
/home/javierd/bin/repo: línea 1: `<!DOCTYPE html>'
[email protected]:~/android/omni$
Does somebody know how can I patch this error, it says me with all the roms, but i don't know why :,,(
Javier.D said:
Hi, I'm trying to compile omni for this device, I'm in ubuntu 13.04 64 bits but, when I try to put this:
repo init -u https://github.com/omnirom/android.git -b android-4.3
It says me this error:
[email protected]:~/android/omni$ repo init -u https://github.com/omnirom/android.git -b android-4.3
/home/javierd/bin/repo: línea 1: error sintáctico cerca del elemento inesperado `newline'
/home/javierd/bin/repo: línea 1: `<!DOCTYPE html>'
[email protected]:~/android/omni$
Does somebody know how can I patch this error, it says me with all the roms, but i don't know why :,,(
Click to expand...
Click to collapse
Hi delete ~/bin/repo
&
Code:
$curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$chmod a+x ~/bin/repo
If you have key error delete
Code:
~/.repoconfig
I'm with this error
Code:
target SharedLib: libril (/home/assis/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libril_intermediates/LINKED/libril.so)
/home/assis/android/omni/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: /home/assis/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libril_intermediates/ril.o: file is empty
collect2: error: ld returned 1 exit status
make: ** [/home/assis/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libril_intermediates/LINKED/libril.so] Erro 1
Assis Brandão said:
I'm with this error
Code:
target SharedLib: libril (/home/assis/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libril_intermediates/LINKED/libril.so)
/home/assis/android/omni/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: /home/assis/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libril_intermediates/ril.o: file is empty
collect2: error: ld returned 1 exit status
make: ** [/home/assis/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libril_intermediates/LINKED/libril.so] Erro 1
Click to expand...
Click to collapse
Please provide a full logcat as an attachment.
There is insufficient information to determine what went wrong, although my first guess based on the limited information provided is that something weird happened like you running out of hard drive space. It's rare for "file is empty" to occur instead of "file not found" unless there was an issue related to running out of disk space.
Alright so I've got the whole repo synced, now I need to get the blobs for my device right? I'm building on the evo lte codenamed Jewel
Made an xml file in android/omni/.repo/local_manifest called roomservice.xml
This is what I put inside:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="Jewel/proprietary_vendor_HTC" path="vendor/HTC" remote="github" revision="cm-10.2" />
</manifest>
Am I doing everything correctly thus far? Miss anything inbetween repo sync and extracting the proprietary blobs?
numel007 said:
Alright so I've got the whole repo synced, now I need to get the blobs for my device right? I'm building on the evo lte codenamed Jewel
Made an xml file in android/omni/.repo/local_manifest called roomservice.xml
This is what I put inside:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="Jewel/proprietary_vendor_HTC" path="vendor/HTC" remote="github" revision="cm-10.2" />
</manifest>
Am I doing everything correctly thus far? Miss anything inbetween repo sync and extracting the proprietary blobs?
Click to expand...
Click to collapse
Not sure what's required for HTC, but I would recommend AGAINST making any manual edits to roomservice.xml - use a different XML file in local_manifests for your own stuff
Entropy512 said:
Not sure what's required for HTC, but I would recommend AGAINST making any manual edits to roomservice.xml - use a different XML file in local_manifests for your own stuff
Click to expand...
Click to collapse
Actually when I checked the file after repo sync, the file didn't even exist. Come to think of it local_manifest wasn't there, so I made it manually. Did I miss something?
Sent from a non-i****
numel007 said:
Actually when I checked the file after repo sync, the file didn't even exist. Come to think of it local_manifest wasn't there, so I made it manually. Did I miss something?
Sent from a non-i****
Click to expand...
Click to collapse
Nope. Although I would change roomservice.xml to your_device_name.xml to stop any potential conflicts. And Entropy512 probably thought you were editing the roomservice.xml referenced here: https://github.com/omnirom/android_build/blob/android-4.3/tools/roomservice.py#L161
numel007 said:
Alright so I've got the whole repo synced, now I need to get the blobs for my device right? I'm building on the evo lte codenamed Jewel
Made an xml file in android/omni/.repo/local_manifest called roomservice.xml
This is what I put inside:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="Jewel/proprietary_vendor_HTC" path="vendor/HTC" remote="github" revision="cm-10.2" />
</manifest>
Am I doing everything correctly thus far? Miss anything inbetween repo sync and extracting the proprietary blobs?
Click to expand...
Click to collapse
In order to build an unofficial device, as I have gathered it:
First(after setting up the build environment, of course, which is easily demonstrated with a quick google search), you must create a local_manifest. Basically, when you repo sync, it downloads all of the files included in the manifest, which you received when you did repo init. However, your device files are not included in the manifest because it's unofficial (not supported). In order to get your device files to download with the repo sync, you create the local_manifest. To create a local_manifest,
in cmd,
cd omni (so you get into your rom directory)
mkdir .repo/local_manifests (creates a folder to put your local manifest in)
touch .repo/local_manifests/local_manifest.xml (creates the local manifest.xml)
Now go to your file explorer. open omni directory. there should be nothing, unless you've already repo synced. If you have already repo synced, no worries. press control+h. a hidden folder called .repo will appear. double click it. then >local_manifests> open local_manifest.xml. In this xml, you will need to put your device tree, your kernel tree, and your vendor tree. Additionally, you will need trees that contain common files with other devices. These are all able to be found by looking on your device forum. It looks as though you may have the vendor tree in your local_manifest right now. I have found the items that you need to add to your local_manifest. simply add this:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="github"
fetch="git://github.com/" />
<!-- CyanogenMod -->
<project name="CyanogenMod/android_device_htc_jewel" path="device/htc/jewel" remote="github" revision="cm-10.2" />
<project name="CyanogenMod/android_device_htc_s4-common" path="device/htc/s4-common" remote="github" revision="cm-10.2" />
<project name="CyanogenMod/android_device_htc_msm8960-common" path="device/htc/msm8960-common" remote="github" revision="cm-10.2" />
<project name="CyanogenMod/android_kernel_htc_msm8960" path="kernel/htc/msm8960" remote="github" revision="cm-10.2" />
<!-- Add HTC Proprietary Files -->
<project name="TheMuppets/proprietary_vendor_htc" path="vendor/htc" remote="github" revision="cm-10.2" />
<!-- Add qcom-caf source for our phone -->
<project path="hardware/qcom/media-caf" name="SlimRoms/hardware_qcom_media-caf" remote="github" revision="jb4.3" />
<project path="hardware/qcom/display-caf" name="SlimRoms/hardware_qcom_display-caf" remote="github" revision="jb4.3" />
<project path="hardware/qcom/audio-caf" name="SlimRoms/hardware_qcom_audio-caf" remote="github" revision="jb4.3" />
</manifest>
(end)
Save.
Now you repo sync. If you have never repo synced, it'll take a while. If you've already repo synced and just added the local_manifest, it shouldn't take long at all.
Next you have to edit the device tree in order to get it to build and add a line to vendorsetup.sh. However, I have not been able to look at what changes need to be made in order to get it to work. I was gonna take a look at it all on sunday. Maybe someone else can step in here to tell him what he needs to do?
Sent from my TF300T using xda app-developers app
andrewnelson23 said:
In order to build an unofficial device, as I have gathered it:
Sent from my TF300T using xda app-developers app
Click to expand...
Click to collapse
Well gee thanks!
Sent from a non-i****
Alright repo sync with the new local_manifest.xml comes up with this error:
remote: Counting objects: 8, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 6 (delta 2), reused 5 (delta 1)
Unpacking objects: 100% (6/6), done.
From https://github.com/omnirom/android
4a32d1c..f246d15 android-4.3 -> origin/android-4.3
project .repo/manifests/
Updating 4a32d1c..f246d15
Fast-forward
default.xml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
fatal: remote github already exists with different attributes
andrewnelson23 said:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="github"
fetch="git://github.com/" />
<!-- CyanogenMod -->
<project name="CyanogenMod/android_device_htc_jewel" path="device/htc/jewel" remote="github" revision="cm-10.2" />
<project name="CyanogenMod/android_device_htc_s4-common" path="device/htc/s4-common" remote="github" revision="cm-10.2" />
<project name="CyanogenMod/android_device_htc_msm8960-common" path="device/htc/msm8960-common" remote="github" revision="cm-10.2" />
<project name="CyanogenMod/android_kernel_htc_msm8960" path="kernel/htc/msm8960" remote="github" revision="cm-10.2" />
<!-- Add HTC Proprietary Files -->
<project name="TheMuppets/proprietary_vendor_htc" path="vendor/htc" remote="github" revision="cm-10.2" />
<!-- Add qcom-caf source for our phone -->
<project path="hardware/qcom/media-caf" name="SlimRoms/hardware_qcom_media-caf" remote="github" revision="jb4.3" />
<project path="hardware/qcom/display-caf" name="SlimRoms/hardware_qcom_display-caf" remote="github" revision="jb4.3" />
<project path="hardware/qcom/audio-caf" name="SlimRoms/hardware_qcom_audio-caf" remote="github" revision="jb4.3" />
</manifest>
Click to expand...
Click to collapse
Why SlimRoms qcom-caf when all those projects exist at OmniRom Github? The same goes for android_device_htc_msm8960-common.
These projects should be OmnRom's, because he's going to have enough problems as it is setting up the correct device and vendor trees.
numel007 said:
Alright repo sync with the new local_manifest.xml comes up with this error:
remote: Counting objects: 8, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 6 (delta 2), reused 5 (delta 1)
Unpacking objects: 100% (6/6), done.
From https://github.com/omnirom/android
4a32d1c..f246d15 android-4.3 -> origin/android-4.3
project .repo/manifests/
Updating 4a32d1c..f246d15
Fast-forward
default.xml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
fatal: remote github already exists with different attributes
Click to expand...
Click to collapse
Hmm so this either means that you edited something in the default.XML, but that error talks about the remote github existing with different attributes. So when you defined the remote in the local manifest, might be clashing with the manifest remote for github. Hopefully to fix you can just rrmove the <remote> line in the local manifest. I think. I'm not terribly experienced with all of this. Perhaps chasmodo can shed some light on that I know he's much more experience with all of this.
chasmodo said:
Why SlimRoms qcom-caf when all those projects exist at OmniRom Github? The same goes for android_device_htc_msm8960-common.
These projects should be OmnRom's, because he's going to have enough problems as it is setting up the correct device and vendor trees.
Click to expand...
Click to collapse
Oh I wasnt aware of that. I just found the sources of a ROM on his forums and put those in there, didn't even think about looking for the same trees on the omni GH. Again I'm not super experienced. So numel007, if there is a git in the omni GH matching any of the ones listed in the local manifest, put the omni one in instead. So as chasmodo said all of the qcom caf stuff and the device-msm8960.
Sent from my SGH-T999 using xda app-developers app
andrewnelson23 said:
Hmm so this either means that you edited something in the default.XML, but that error talks about the remote github existing with different attributes.
Click to expand...
Click to collapse
It doesn't mean he edited anything in the default.xml or manifest.xml. It probably means that the same qcom projects etc are already defined in the default/manifest, but he has added the different ones with the same attributes (project name and path) to his local_manifest.xm following your advice.
andrewnelson23 said:
Oh I wasnt aware of that.
Click to expand...
Click to collapse
Always check the target Rom Github before offering porting advice.
andrewnelson23 said:
In order to build an unofficial device, as I have gathered it:
First(after setting up the build environment, of course, which is easily demonstrated with a quick google search), you must create a local_manifest. Basically, when you repo sync, it downloads all of the files included in the manifest, which you received when you did repo init. However, your device files are not included in the manifest because it's unofficial (not supported). In order to get your device files to download with the repo sync, you create the local_manifest. To create a local_manifest,
in cmd,
cd omni (so you get into your rom directory)
mkdir .repo/local_manifests (creates a folder to put your local manifest in)
touch .repo/local_manifests/local_manifest.xml (creates the local manifest.xml)
Now go to your file explorer. open omni directory. there should be nothing, unless you've already repo synced. If you have already repo synced, no worries. press control+h. a hidden folder called .repo will appear. double click it. then >local_manifests> open local_manifest.xml. In this xml, you will need to put your device tree, your kernel tree, and your vendor tree. Additionally, you will need trees that contain common files with other devices. These are all able to be found by looking on your device forum. It looks as though you may have the vendor tree in your local_manifest right now. I have found the items that you need to add to your local_manifest. simply add this:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="github"
fetch="git://github.com/" />
<!-- CyanogenMod -->
<project name="CyanogenMod/android_device_htc_jewel" path="device/htc/jewel" remote="github" revision="cm-10.2" />
<project name="CyanogenMod/android_device_htc_s4-common" path="device/htc/s4-common" remote="github" revision="cm-10.2" />
<project name="CyanogenMod/android_device_htc_msm8960-common" path="device/htc/msm8960-common" remote="github" revision="cm-10.2" />
<project name="CyanogenMod/android_kernel_htc_msm8960" path="kernel/htc/msm8960" remote="github" revision="cm-10.2" />
<!-- Add HTC Proprietary Files -->
<project name="TheMuppets/proprietary_vendor_htc" path="vendor/htc" remote="github" revision="cm-10.2" />
<!-- Add qcom-caf source for our phone -->
<project path="hardware/qcom/media-caf" name="SlimRoms/hardware_qcom_media-caf" remote="github" revision="jb4.3" />
<project path="hardware/qcom/display-caf" name="SlimRoms/hardware_qcom_display-caf" remote="github" revision="jb4.3" />
<project path="hardware/qcom/audio-caf" name="SlimRoms/hardware_qcom_audio-caf" remote="github" revision="jb4.3" />
</manifest>
(end)
Save.
Now you repo sync. If you have never repo synced, it'll take a while. If you've already repo synced and just added the local_manifest, it shouldn't take long at all.
Next you have to edit the device tree in order to get it to build and add a line to vendorsetup.sh. However, I have not been able to look at what changes need to be made in order to get it to work. I was gonna take a look at it all on sunday. Maybe someone else can step in here to tell him what he needs to do?
Sent from my TF300T using xda app-developers app
Click to expand...
Click to collapse
Hey Thanks for working on this I am going through trying to get a build out for the One S and running into all sorts of build errors when I have some time over the weekend I will compare local_manifests and see what I missed.
numel007 said:
Alright repo sync with the new local_manifest.xml comes up with this error:
remote: Counting objects: 8, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 6 (delta 2), reused 5 (delta 1)
Unpacking objects: 100% (6/6), done.
From https://github.com/omnirom/android
4a32d1c..f246d15 android-4.3 -> origin/android-4.3
project .repo/manifests/
Updating 4a32d1c..f246d15
Fast-forward
default.xml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
fatal: remote github already exists with different attributes
Click to expand...
Click to collapse
Remove
<remote name="github"
fetch="https://github.com/" />
From all your local manifests. (Or rename it from github to something else)
1. these steps, I can follow them for my lg g2 to hookup cm10.2 source with Omnirom?
2. Also I got propriatory blobs from the cm10.2 rom, However I notice many more on stock rom, anybody know if I can use all of these or explicitly the ones from the cm10.2 rom?
3. There are also more in the cm rom, can I use all the blobs in the folders or only the ones on the propriatory blob txt?
4. what about the symlinked propriatary files in stock rom folders? Ignore those?
Sent from my LG-D802
This is what I get guess I will have to go through it and sort out the missing things....
Which would you like? [aosp_arm-eng] 16
build/core/product_config.mk:222: *** Can not locate config makefile for product "omni_ville". Stop.
Traceback (most recent call last):
File "build/tools/roomservice.py", line 287, in
fetch_device(device)
File "build/tools/roomservice.py", line 255, in fetch_device
git_data = search_github_for_device(device)
File "build/tools/roomservice.py", line 68, in search_github_for_device
check_repo_exists(git_data)
File "build/tools/roomservice.py", line 52, in check_repo_exists
"roomservice".format(device, android_team))
Exception: ville not found in omnirom Github, exiting roomservice
build/core/product_config.mk:222: *** Can not locate config makefile for product "omni_ville". Stop.
** Don't have a product spec for: 'omni_ville'
** Do you have the right repo manifest?
mo976 said:
This is what I get guess I will have to go through it and sort out the missing things....
Which would you like? [aosp_arm-eng] 16
build/core/product_config.mk:222: *** Can not locate config makefile for product "omni_ville". Stop.
Traceback (most recent call last):
File "build/tools/roomservice.py", line 287, in
fetch_device(device)
File "build/tools/roomservice.py", line 255, in fetch_device
git_data = search_github_for_device(device)
File "build/tools/roomservice.py", line 68, in search_github_for_device
check_repo_exists(git_data)
File "build/tools/roomservice.py", line 52, in check_repo_exists
"roomservice".format(device, android_team))
Exception: ville not found in omnirom Github, exiting roomservice
build/core/product_config.mk:222: *** Can not locate config makefile for product "omni_ville". Stop.
** Don't have a product spec for: 'omni_ville'
** Do you have the right repo manifest?
Click to expand...
Click to collapse
Sounds like you have not added the omni_ville.mk in the vendor/omini/products folder. Add it by copying one that is already in their and edit it for your device
Sent from my Blade III using xda app-developers app
robt77 said:
Sounds like you have not added the omni_ville.mk in the vendor/omini/products folder. Add it by copying one that is already in their and edit it for your device
Click to expand...
Click to collapse
Vendor/omni/products folder does not exist. Device.mk files belong in /device/manufacturer/device folder.
chasmodo said:
Vendor/omni/products folder does not exist. Device.mk files belong in /device/manufacturer/device folder.
Click to expand...
Click to collapse
Do i need to create the above path? For me no manifacturer folder under device
matrixzone said:
Do i need to create the above path? For me no manifacturer folder under device
Click to expand...
Click to collapse
It SHOULD create it when you brunch your device. Mine auto-downloaded and created grouper, tilapia, and manta.
dibblebill said:
It SHOULD create it when you brunch your device. Mine auto-downloaded and created grouper, tilapia, and manta.
Click to expand...
Click to collapse
I am creating for d2att which is not currently supported
Sent from my SAMSUNG-SGH-I747 using Tapatalk
Now model vs985 and d850 can get official version at download.cyanogenmod.com
Support model for this method are d850/d851/d852/d855/vs985/ls990
Thank you for source code from @invisiblek (https://github.com/invisiblek)
Thank you for original thread from @Raum1807 (http://forum.xda-developers.com/nexus-4/general/guide-cm11-how-to-build-cyanogenmod-11-t2515305)
Thank you for original manifest from @Skin1980 (https://github.com/Skin1980/local_manifests)
Overview
I. Preparation
II. Installation of the required packages
III. Installing Java
IV. The sources
V. Building the ROM
VI. Rebuilding with newest sources
I. Preparation
Things you need for building:
A computer
An internet connection
An open mind
Time
Patience
First of all, you need a running up-to-date Ubuntu/Linux system. I am using Ubuntu 14.04 64-bit.
Use the terminal to make the steps. A terminal window can be opened by pressing Ctrl+Alt+T. Every single command for the terminal is marked with a $ sign. Just paste every command (without the $ sign) to your terminal window and there shouldn't be any problem.
IMPORTANT: INSTALL EVERYTHING AS A NORMAL USER. DON'T INSTALL AS ROOT!
II. Installation of the required packages (Ubuntu 14.04 64-bit)
Install packages:
Code:
$ sudo apt-get install bison build-essential curl flex \
g++-multilib gcc-multilib git-core gnupg gperf \
lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev \
libesd0-dev libncurses5-dev libsdl1.2-dev \
libwxgtk2.8-dev libxml2 libxml2-utils lzop \
openjdk-6-jdk openjdk-6-jre pngcrush schedtool \
squashfs-tools xsltproc zip zlib1g-dev
III. Installing Java
You need a version 6 Java Development Kit for building CM11.0. Usually, the SUN JDK 6 is recommended. But there is another way: you can use the OpenJDK 6. When you installed the required packages as described above, you will just need to configure your Java installation.
Check your Java version:
Code:
$ java -version
Verify the symlinks. Javac, Java, Javaws, Javadoc, Javah, Javap and Jar should all point to the right Java location and version:
Code:
$ ls -la /etc/alternatives/java* && ls -la /etc/alternatives/jar
If they are pointing to the wrong versions you have to change that to OpenJDK6.
Select the default Java version for your system:
Code:
$ sudo update-alternatives --config javac
$ sudo update-alternatives --config java
$ sudo update-alternatives --config javaws
$ sudo update-alternatives --config javadoc
$ sudo update-alternatives --config javah
$ sudo update-alternatives --config javap
$ sudo update-alternatives --config jar
That's it.
IV. The sources
Install repo:
Repo is a tool that makes it quite easy to download and maintain the sources of Cyanogenmod.
Code:
$ mkdir ~/bin
$ PATH=~/bin:$PATH
$ cd ~/bin
$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
Create the working directory:
Code:
$ mkdir ~/cm11
$ cd ~/cm11
Initialize Repo:
Code:
$ repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
and enter your credentials.
Download the sources:
Code:
$ repo sync
Wait until it's finished - takes some time to download the hefty 12 GB of source code!
Have a break, have a KitKat!
If the process hangs use Ctrl+C to break out of it and resume the download with another
Code:
$ repo sync
If you are running into a lot of syncing errors the reason might be that the 'repo sync' command is establishing four threads automatically. This might be too much. So try to change the command to run with one thread only by using
Code:
$ repo sync -j1
Initialize the environment
Code:
$ . build/envsetup.sh
Obtain the proprietary files:
First get two missing repositories for the Nexus 4 by running
Code:
$ breakfast <your model>
Then create a file with the name local_manifest.xml in the local_manifests directory. To see this directory, you have to press Ctrl-H in your file manager.
Use this code
Code:
$ gedit ~/cm11/.repo/local_manifests/local_manifest.xml
Please make sure you copy and paste code with your correct model
Paste the following lines to the editor
D850
Code:
<manifest>
<!-- D850 -->
<project path="device/lge/d850" name="invisiblek/android_device_lge_d850" remote="github" revision="cm-11.0" />
<project path="device/lge/g3-common" name="invisiblek/android_device_lge_g3-common" remote="github" revision="cm-11.0" />
<project path="kernel/lge/g3" name="invisiblek/android_kernel_lge_g3" remote="github" revision="cm-11.0" />
<project path="vendor/lge" name="invisiblek/proprietary_vendor_lge" remote="github" revision="cm-11.0" />
<!-- CyanogenMod -->
<project path="device/qcom/common" name="CyanogenMod/android_device_qcom_common" remote="github" revision="cm-11.0" />
<project path="hardware/qcom/display-caf-new" name="CyanogenMod/android_hardware_qcom_display-caf-new" remote="github" revision="cm-11.0" />
<project path="hardware/qcom/media-caf-new" name="CyanogenMod/android_hardware_qcom_media-caf-new" remote="github" revision="cm-11.0" />
</manifest>
D851
Code:
<manifest>
<!-- D851 -->
<project path="device/lge/d851" name="invisiblek/android_device_lge_d851" remote="github" revision="cm-11.0" />
<project path="device/lge/g3-common" name="invisiblek/android_device_lge_g3-common" remote="github" revision="cm-11.0" />
<project path="kernel/lge/g3" name="invisiblek/android_kernel_lge_g3" remote="github" revision="cm-11.0" />
<project path="vendor/lge" name="invisiblek/proprietary_vendor_lge" remote="github" revision="cm-11.0" />
<!-- CyanogenMod -->
<project path="device/qcom/common" name="CyanogenMod/android_device_qcom_common" remote="github" revision="cm-11.0" />
<project path="hardware/qcom/display-caf-new" name="CyanogenMod/android_hardware_qcom_display-caf-new" remote="github" revision="cm-11.0" />
<project path="hardware/qcom/media-caf-new" name="CyanogenMod/android_hardware_qcom_media-caf-new" remote="github" revision="cm-11.0" />
</manifest>
D852
Code:
<manifest>
<!-- D852 -->
<project path="device/lge/d852" name="invisiblek/android_device_lge_d852" remote="github" revision="cm-11.0" />
<project path="device/lge/g3-common" name="invisiblek/android_device_lge_g3-common" remote="github" revision="cm-11.0" />
<project path="kernel/lge/g3" name="invisiblek/android_kernel_lge_g3" remote="github" revision="cm-11.0" />
<project path="vendor/lge" name="invisiblek/proprietary_vendor_lge" remote="github" revision="cm-11.0" />
<!-- CyanogenMod -->
<project path="device/qcom/common" name="CyanogenMod/android_device_qcom_common" remote="github" revision="cm-11.0" />
<project path="hardware/qcom/display-caf-new" name="CyanogenMod/android_hardware_qcom_display-caf-new" remote="github" revision="cm-11.0" />
<project path="hardware/qcom/media-caf-new" name="CyanogenMod/android_hardware_qcom_media-caf-new" remote="github" revision="cm-11.0" />
</manifest>
D855
Code:
<manifest>
<!-- D855 -->
<project path="device/lge/d855" name="invisiblek/android_device_lge_d855" remote="github" revision="cm-11.0" />
<project path="device/lge/g3-common" name="invisiblek/android_device_lge_g3-common" remote="github" revision="cm-11.0" />
<project path="kernel/lge/g3" name="invisiblek/android_kernel_lge_g3" remote="github" revision="cm-11.0" />
<project path="vendor/lge" name="invisiblek/proprietary_vendor_lge" remote="github" revision="cm-11.0" />
<!-- CyanogenMod -->
<project path="device/qcom/common" name="CyanogenMod/android_device_qcom_common" remote="github" revision="cm-11.0" />
<project path="hardware/qcom/display-caf-new" name="CyanogenMod/android_hardware_qcom_display-caf-new" remote="github" revision="cm-11.0" />
<project path="hardware/qcom/media-caf-new" name="CyanogenMod/android_hardware_qcom_media-caf-new" remote="github" revision="cm-11.0" />
</manifest>
VS985
Code:
<manifest>
<!--VS985 -->
<project path="device/lge/vs985" name="invisiblek/android_device_lge_vs985" remote="github" revision="cm-11.0" />
<project path="device/lge/g3-common" name="invisiblek/android_device_lge_g3-common" remote="github" revision="cm-11.0" />
<project path="kernel/lge/g3" name="invisiblek/android_kernel_lge_g3" remote="github" revision="cm-11.0" />
<project path="vendor/lge" name="invisiblek/proprietary_vendor_lge" remote="github" revision="cm-11.0" />
<!-- CyanogenMod -->
<project path="device/qcom/common" name="CyanogenMod/android_device_qcom_common" remote="github" revision="cm-11.0" />
<project path="hardware/qcom/display-caf-new" name="CyanogenMod/android_hardware_qcom_display-caf-new" remote="github" revision="cm-11.0" />
<project path="hardware/qcom/media-caf-new" name="CyanogenMod/android_hardware_qcom_media-caf-new" remote="github" revision="cm-11.0" />
</manifest>
LS990
Code:
<manifest>
<!--LS990 -->
<project path="device/lge/ls990" name="invisiblek/android_device_lge_ls990" remote="github" revision="cm-11.0" />
<project path="device/lge/g3-common" name="invisiblek/android_device_lge_g3-common" remote="github" revision="cm-11.0" />
<project path="kernel/lge/g3" name="invisiblek/android_kernel_lge_g3" remote="github" revision="cm-11.0" />
<project path="vendor/lge" name="invisiblek/proprietary_vendor_lge" remote="github" revision="cm-11.0" />
<!-- CyanogenMod -->
<project path="device/qcom/common" name="CyanogenMod/android_device_qcom_common" remote="github" revision="cm-11.0" />
<project path="hardware/qcom/display-caf-new" name="CyanogenMod/android_hardware_qcom_display-caf-new" remote="github" revision="cm-11.0" />
<project path="hardware/qcom/media-caf-new" name="CyanogenMod/android_hardware_qcom_media-caf-new" remote="github" revision="cm-11.0" />
</manifest>
Save the file.
Run
Code:
$ repo sync
again to get the files needed.
Download the necessary prebuilts from cyanogenmod by running
Code:
$ cd ~/cm11/vendor/cm
$ . get-prebuilts
$ croot
And you're done!
V. Building the ROM
Now build it:
Code:
$ brunch <your model>
change <your model> to d850/d851/d852/d855/vs985/ls990
And the building process starts. Now have patience. Building takes around half an hour on fast systems and a lot more on older and slower machines.
When everything worked as it should you will find your new ROM-image in ~/cm11/out/target/product/<your model>
It is called cm-11-DATE-UNOFFICIAL-<your model>-zip.
Before you flash you need to bump it first!
you can get bump from https://github.com/CyboLabs/Open_Bump
go to /cm11/out/target/product/<your model>/
copy boot.img and open_bump in same folder and run
Code:
python open_bump.py boot.img
you will get boot_bumped.img rename it to boot.img and push into "cm-11-DATE-UNOFFICIAL-<your model>-zip"
Now You can flash it via CWM/TWRP as usual.
VI. Rebuilding with newest sources
Whenever you like to update your sources and build a new version you have to run these four simple commands:
Code:
$ cd ~/cm11
$ repo sync
$ . build/envsetup.sh
$ brunch <your model>
Compiling takes less time than it took for creating the ROM the first time because it's only building new parts while reusing old parts that haven't changed.
and don't forgot bump boot.img
Happy building!
CM11 is not support for F400 korean models. Can you port it to F400 korean models? Thanks!
error
cant breakfast or brunch for D852
EDIT....
in the manifest copy paste for d852 there is a typo change the 851 to 852
LS990 issues
I am trying to compile for ls990 sprint g3
Can someone explain this part of the instructions to me? It says to get repositories for nexus 4, but then says "breakfast <your model>. I have tried entering my model "ls990" and it fetches a bunch of stuff. However, then when I "gedit ~/cm11/.repo/local_manifests/local_manifest.xml" and add the ls990 entries, it gives me a duplication error when I try to repo sync. I believe meaning that it already has downloaded the ls990 code from my "breakfast ls990" command.
Am I supposed to be doing a "breakfast mako" for the nexus 4? Please help. Been trying to compile this for a couple of days now.
----------
First get two missing repositories for the Nexus 4 by running
Code:
$ breakfast <your model>
-------------
Won't Compile - LS990
Ok, so after some research I realize that my above question was probably a typo. The problem is that when I create the local_manifest.xml file and add the ls990 info into it, when I do a repo sync I get fatal: duplicate path device/lge/ls990 in /home/mo1991/cm11/.repo/manifest.xml
I am not sure why this happens, perhaps the stuff in the manifest has now been officially added to the cyanogen repo - guessing here - and perhaps is not needed??? Or incorrect
Here is the edit command for the file I am talking about:
gedit ~/cm11/.repo/local_manifests/local_manifest.xml
Anyway, if I get rid of the manifest.xml file and brunch ls990 compile fails with
-------------------
make: *** No rule to make target `/home/mo1991/cm11/out/target/product/ls990/obj/lib/libtime_genoff.so', needed by `/home/mo1991/cm11/out/target/product/ls990/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/LINKED/libandroid_runtime.so'. Stop.
-----------------
Any help would be appreciated. Thanks.
You're correct that most repos in the local_manifest are now no longer necessary because it's officially supported. However, in order to get the proprietary blobs (which is what it's failing on) you still need to inlcude:
<project path="vendor/lge" name="invisiblek/proprietary_vendor_lge" remote="github" revision="cm-11.0" />
Or the one from TheMuppets. Alternatively, you could extract your own, but getting it from someone else is much easier
cre4per said:
cant breakfast or brunch for D852
EDIT....
in the manifest copy paste for d852 there is a typo change the 851 to 852
Click to expand...
Click to collapse
I have the same issue for d852
Any idea ?
Compiled but no sim card / bluetooth
Ok, I got it to compile by simply changing the ~/cm11/.repo/local_manifests/local_manifest.xml file to only include the proprietary blobs in the local_manifest.xml as per below.
<manifest>
<!--LS990 -->
<project path="vendor/lge" name="invisiblek/proprietary_vendor_lge" remote="github" revision="cm-11.0" />
</manifest>
Now it compiles. But I get no sim card thus no network. Also bluetooth appears to be broken. I know that jholtom at least had radio working, so I'm rying to manually add his changes to my source tree and recompile, but I'm really not sure if this is the right way to do it. On the bright side, I did get the rom to compile, bump, and boot up, so I"m further along than before
Thanks for the help.
Okay so, i have a small problem, let me explain.
The first time i did everything accordingly and everything worked as planned, booted, everything works fine. In fact, i'm running it right now, very stable and so on.
But when i'm trying to update the zip with all the new stuff, i get a very annoying error that i can't get rid of. And i don't know why it does that.
make: *** No rule to make target `device/lge/g3-common/configs/mixer_paths_qcwcn.xml', needed by `/home/android/cm11/out/target/product/d855/system/etc/mixer_paths.xml'. Stop.
make: *** Waiting for unfinished jobs..
Click to expand...
Click to collapse
It never did that when i first compiled it. Bear in mind that my linux knowledge is really limited, but i'm trying as hard as possible to understand where the errors comes from and stuff, but right now i'm stumped, can't get it to update it.
This happens when i "brunch d855", dunno why.
Thanks in advance.
PS: I'm running Builduntu inside of a VM, if that might help.
If you have previously successfully built, then try running "repo sync" again and then build. If that fails, try
Code:
repo forall -vc "git reset --hard"
Hi,
I was following this tutorial " http://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763" and I am having trouble in building CM-12.1.
I created a directory "local_manifests" under ".repo" folder with "local_manifest.xml file". The file includes the below:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/samsung/s3ve3g" name="MSM8226-Samsung/android_device_samsung_s3ve3g" remote="github" revision="cm-12.1" />
<project path="vendor/samsung/s3ve3g" name="MSM8226-Samsung/android_vendor_samsung_s3ve3g" remote="github" revision="cm-12.1" />
<project path="kernel/samsung/s3ve3g" name="MSM8226-Samsung/android_kernel_samsung_s3ve3g" remote="github" revision="cm-12.1" />
</manifest>
Once I did that, I ran "repo sync" and everything went fine. After that I wrote ". build /envsetup.sh" and ran fine too. When I ran "brunch s3ve3g" I am getting the below error:
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/samsung/s3ve3g/cm.mk]]: "device/samsung/msm8226-common/msm8226.mk" does not exist. Stop.
Device s3ve3g not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_samsung_s3ve3g
Default revision: cm-12.1
Checking branch info
Default revision cm-12.1 not found in android_device_samsung_s3ve3g. Bailing.
Branches found:
cm-12.0
Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches.
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/samsung/s3ve3g/cm.mk]]: "device/samsung/msm8226-common/msm8226.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_s3ve3g'
** Do you have the right repo manifest?
Can someone point me to the right direction please? Thank you
Yeah I can help you contact me on Hangouts or Telegram
Hey there everyone!
I am trying to build PAC ROM for my A500F
I am having some build error and need a little bit of help from the devs (coz of their experience in this sort of stuff)
Below r the steps I followed
The steps below r very boring
-Synced with PAC 6.0 GitHub successfully
-Synced with vendor, kernel and device tree
Here r my sources for these
Kernel:https://github.com/emceethemouth/kernel_a5ltexx
Device Tree: https://github.com/MSM8916-Samsung/android_device_samsung_a5ltexx
Vendor: https://github.com/MSM8916-Samsung/proprietary_vendor_samsung
And here is the code for my local_manifests.xml file
PHP:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/samsung/a5ltex" name="MSM8916-Samsung/android_device_samsung_a5ltexx" remote="github" revision="cm-12.1" />
<project path="vendor/samsung/a5ltex" name="TheWhisp/proprietary_vendor_samsung" remote="github" revision="cm-12.1" />
<project path="kernel/samsung/a5ltex" name="emceethemouth/kernel_a5ltexx" remote="github" revision="master" />
</manifest>
-Device tree, kernel and vendor sync successful
-Navigated to PAC-ROM/device/samsung/a5lte (note: PAC-ROM is the folder where I download the PAC sources)
-renamed cm.mk to pac_a5ltexx.mk and changed inherit file path and enhanced NFC file path
-Renamed cm.dependencies to pac.dependencies
-Ran the following in terminal
Code:
cd
Code:
cd PAC-ROM
Code:
. build/envsetup.sh
Code:
brunch a5ltexx
This is where my problems started :crying:
I keep getting the message:
Code:
build/core/product_config.mk:234: *** Can not locate config makefile for product "pac_a5ltexx". Stop.
Device a5ltexx not found. Attempting to retrieve device repository from Split-Screen Github (http://github.com/Split-Screen).
Repository for a5ltexx not found in the Split-Screen 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 "pac_a5ltexx". Stop.
** Don't have a product spec for: 'pac_a5ltexx'
** Do you have the right repo manifest?
No such item in brunch menu. Try 'breakfast'
Can any devs please provide some assistance?