hi
I was trying to compile CM10 for the sony xperia s (nozomi) ... I sync the CM repo for the jb branch ,then I used this local manifest to get the device's code
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="TheMuppets/proprietary_vendor_sony" path="vendor/sony" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_packages_apps_FMRadio" path="packages/apps/FmRadio" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_device_sony_nozomi" path="device/sony/nozomi" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_device_sony_fuji-common" path="device/sony/fuji-common" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_kernel_sony_msm8x60" path="kernel/sony/msm8x60" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_hardware_sony_DASH" path="hardware/sony/DASH" remote="github" revision="jellybean" />
</manifest>
and sync it with repo sync ,every thing goes right ... but when I type the commande
Code:
brunch nozomi
it say device not found !!
my question is : am I using the right repositories ? is this local_manifest valide ? WHERE can I get the CM10 code sources for the nozomi device ?
thank you .
I wanted to build a CM rom with HALO, so I fetched the additional things of roomservice.xml from https://github.com/cristianomatos/manifests/blob/mako/roomservice.xml . Of course, I did not even tried to download mako's device tree, so my roomservice.xml goes like this;
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_htc_enrc2b" path="device/htc/enrc2b" remote="github" />
<project name="CyanogenMod/android_device_htc_tegra3-common" path="device/htc/tegra3-common" remote="github" />
<project name="CyanogenMod/android_kernel_htc_enrc2b" path="kernel/htc/enrc2b" remote="github" />
<project name="HoxPlusCMOfficial/proprietary_vendor_htc.git" path="vendor/htc" remote="github" revision="cm10-2" />
<remove-project name="CyanogenMod/android_vendor_cm" />
<project name="cristianomatos/android_vendor_cm" path="vendor/cm" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_packages_apps_Calculator" />
<project name="cristianomatos/android_packages_apps_Calculator" path="packages/apps/Calculator" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_packages_apps_Contacts" />
<project name="cristianomatos/android_packages_apps_Contacts" path="packages/apps/Contacts" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_packages_apps_ContactsCommon" />
<project name="cristianomatos/android_packages_apps_ContactsCommon" path="packages/apps/ContactsCommon" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_packages_apps_Dialer" />
<project name="cristianomatos/android_packages_apps_Dialer" path="packages/apps/Dialer" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_packages_apps_Email" />
<project name="cristianomatos/android_packages_apps_Email" path="packages/apps/Email" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_packages_apps_Gallery2" />
<project name="cristianomatos/android_packages_apps_Gallery2" path="packages/apps/Gallery2" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_packages_inputmethods_LatinIME" />
<project name="cristianomatos/android_packages_inputmethods_LatinIME" path="packages/inputmethods/LatinIME" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_packages_apps_Mms" />
<project name="cristianomatos/android_packages_apps_Mms" path="packages/apps/Mms" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_packages_apps_Nfc" />
<project name="cristianomatos/android_packages_apps_Nfc" path="packages/apps/Nfc" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_packages_apps_Phone" />
<project name="cristianomatos/android_packages_apps_Phone" path="packages/apps/Phone" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_packages_providers_MediaProvider" />
<project name="cristianomatos/android_packages_providers_MediaProvider" path="packages/providers/MediaProvider" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_frameworks_native" />
<project name="cristianomatos/android_frameworks_native" path="frameworks/native" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_frameworks_base" />
<project name="cristianomatos/android_frameworks_base" path="frameworks/base" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_packages_apps_Settings" />
<project name="cristianomatos/android_packages_apps_Settings" path="packages/apps/Settings" remote="github" revision="cr-main-10.2" />
</manifest>
However, when building CM 10.2 with HALO was going in a smooth progress, it was stuck for a few times after such error was shown;
Code:
target Java: Phone (out/target/common/obj/APPS/Phone_intermediates/classes)
packages/apps/Phone/src/com/android/phone/PhoneInterfaceManager.java:60: com.android.phone.PhoneInterfaceManager is not abstract and does not override abstract method toggle2G(boolean) in com.android.internal.telephony.ITelephony
public class PhoneInterfaceManager extends ITelephony.Stub {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
make: *** [out/target/common/obj/APPS/Phone_intermediates/classes-full-debug.jar] Error 41
So, I just modified the problematic line to the line which starts with; 'abstract class blahblahblah.'
However, Even if there are a complete set of vendor files and device tree, it shows another error;
Code:
-bash: build/tools/roomservice.py: No such file or directory
** Don't have a product spec for: 'cm_enrc2b'
** Do you have the right repo manifest?
I tried breakfast command but it only shows me 1. full-eng not enrc2b. Of course, even if I choose the number 1, it shows me the same message.
I am deleting whole folder and trying to build another rom because of this.
I don't see any erroneous things as far as I know, and it should have been built already, right?
So, I need helps from gurus of build. Is there anything that I did wrong? Could there any suggestions for me?
i assume you've run
repo sync
and then done
. build/envsetup.sh
which all you will have to do after is :
brunch enrc2b
Lloir said:
i assume you've run
repo sync
and then done
. build/envsetup.sh
which all you will have to do after is :
brunch enrc2b
Click to expand...
Click to collapse
Thanks for your comment, I'll try once again. I was still suffering from that damn "cannot find right spec" thungy.
Sent from my One X+ using Tapatalk
Lloir said:
i assume you've run
repo sync
and then done
. build/envsetup.sh
which all you will have to do after is :
brunch enrc2b
Click to expand...
Click to collapse
OK, I am sorry, but I gotta ask you about the procedure from the scratch.
I decided to build the pure CM 10.2 before I use roomservice.xml, so I did the following steps;
0. I am on someone else's server, and everything including JDK were already set up.
1. I made a directory by using mkdir, and I ran 'repo init -u git://github.com/CyanogenMod/android.git -b cm-10.2.' Of course, I did not forget to run './get-prebuilts.'
2. After it was done, I ran repo sync and I saw every files were got in.
3. I ran 'source envsetup.sh' and 'breakfast enrc2b.'
4. After it asked for me to put vendor files into the vendor folder, I ran 'git clone git://github.com/TheMuppets/proprietary_vendor_htc htc' and I found out enrc2b folder is inside of /vendor/htc/ folder.
5. However, when I tried to run brunch enrc2b, the error was shown, and everything got stuck.
Code:
[email protected]:~/cm/build$ cd ../
[email protected]:~/cm$ cd vendor
[email protected]:~/cm/vendor$ ls
cm qcom tmobile
[email protected]:~/cm/vendor$ git clone git://github.com/TheMuppets/proprietary_vendor_htc htc
Cloning into 'htc'...
remote: Counting objects: 5613, done.
remote: Compressing objects: 100% (2454/2454), done.
remote: Total 5613 (delta 3167), reused 5282 (delta 2934)
Receiving objects: 100% (5613/5613), 284.98 MiB | 3.53 MiB/s, done.
Resolving deltas: 100% (3167/3167), done.
Checking out files: 100% (755/755), done.
[email protected]:~/cm/vendor$ cd htc
[email protected]:~/cm/vendor/htc$ ls
endeavoru evita jewel m7-common m7tmo s4-common
enrc2b fireball m7att m7spr m7ul ville
[email protected]:~/cm/vendor/htc$ brunch enrc2b
-bash: build/tools/roomservice.py: No such file or directory
** Don't have a product spec for: 'cm_enrc2b'
** Do you have the right repo manifest?
No such item in brunch menu. Try 'breakfast'
[email protected]:~/cm/vendor/htc$ breakfast enrc2b
-bash: build/tools/roomservice.py: No such file or directory
** Don't have a product spec for: 'cm_enrc2b'
** Do you have the right repo manifest?
Do you think there is anything wrong with my procedure?
Sent from my One X+ using Tapatalk
run .build/envsetup.sh
not source/envsetup
do ls device/htc
do you see enrc2b?
also just easier if you add it all into a local_manifest.xml then you can repo sync them down with the main source
I compiled CM12 successfully, but i keep getting fetch errors while trying to download the lolipop tree.
When i do repo sync, i get stuck at
Code:
Fetching project platform/external/google-tv-pairing-protocol
for ~5 mins, then i get
Code:
error: Cannot fetch platform/external/freetype
error: Cannot fetch CyanogenMod/android_device_common
error: Cannot fetch CyanogenMod/android_external_tcpdump
error: Cannot fetch platform/prebuilts/tools
error: Exited sync due to fetch errors
I'm using a Ubuntu 14.04 VM.
My local_manifest.xml is as follows -
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_oneplus_bacon" path="device/oneplus/bacon" remote="github" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="CyanogenMod/android_device_oppo_msm8974-common" path="device/oppo/msm8974-common" remote="github" />
<project name="CyanogenMod/android_device_oppo_common" path="device/oppo/common" remote="github" revision="cm-12.0" />
<project name="CyanogenMod/android_kernel_oneplus_msm8974" path="kernel/oneplus/msm8974" remote="github" />
<project name="TheMuppets/proprietary_vendor_oppo" path="vendor/oppo" remote="github" />
<project name="TheMuppets/proprietary_vendor_oneplus" path="vendor/oneplus" remote="github" />
<project name="CyanogenMod/android_frameworks_opt_connectivity" path="frameworks/opt/connectivity" remote="github" revision="cm-11.0" />
</manifest>
Hi, I'm building a ROM for my device and I was wondering if i needed to download all the devices mentioned in the manifest . So to compile lollipop (5.1.1), manifest would be here and inside the manifest (part of it), needs these devices
Code:
<project path="developers/docs" name="platform/developers/docs" />
<project path="developers/samples/android" name="platform/developers/samples/android" />
<project path="development" name="platform/development" groups="pdk-cw-fs" />
<project path="[COLOR="DeepSkyBlue"]device/asus/deb[/COLOR]" name="device/asus/deb" groups="device,flo" />
<project path="[COLOR="DeepSkyBlue"]device/asus/flo[/COLOR]" name="device/asus/flo" groups="device,flo" />
<project path="[COLOR="DeepSkyBlue"]"]device/asus/flo-kernel[/COLOR]" name="device/asus/flo-kernel" groups="device,flo" clone-depth="1" />
<project path="[COLOR="DeepSkyBlue"]device/asus/fugu[/COLOR]" name="device/asus/fugu" groups="device,fugu" />
<project path="device/asus/fugu-kernel" name="device/asus/fugu-kernel" groups="device,fugu" clone-depth="1" />
<project path="[COLOR="DeepSkyBlue"]device/asus/grouper[/COLOR]" name="device/asus/grouper" groups="device,grouper" />
<project path="device/asus/tilapia" name="device/asus/tilapia" groups="device,grouper" />
<project path="device/common" name="device/common" groups="pdk-cw-fs" />
So i was wondering if I must include all the devices or can i skip some to save disk space if I'm compiling for a device not mentioned in the manifest? (PS: I have a 1.5TB HDD)
NEVER touch default.xml
If you need additional repositories, there is a place to do this that is safe to the rest of the ROM structure...
.repo/local_manifests/roomservice.xml
Yes you need to leave the default xml intact, completely. But the roomservice.xml tells repo what devices to grab.
example for flo:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="arter97/android_device_asus_flo" path="device/asus/flo" remote="github" />
<project name="arter97/android_kernel_google_msm" path="kernel/google/msm" remote="github" />
<project name="TheMuppets/proprietary_vendor_asus" path="vendor/asus" remote="github" />
</manifest>
How do I solve the "nfc_enchanced.mk is missing" when building lineage-14.1?
After trying the rom for zerofltexx with the name NexusXXXX in it (didn't boot past the Lineage setup guide) I decided to build cm-14.1 for it since https://github.com/LineageOS/android_device_samsung_zerofltexx/branches shows that the cm-14.1 branch exist (even though it's not updated).
I know that SM-G925F is not officially supported by either Cyanogenmod or Lineage, and my build fails to find nfc_enhanced.mk even though all the repos are correct in my local manifest:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="LineageOS/android_device_samsung_zerofltexx" path="device/samsung/zerofltexx" remote="github" />
<project name="LineageOS/android_device_samsung_zero-common" path="device/samsung/zero-common" remote="github" />
<project name="LineageOS/android_external_stlport" path="external/stlport" remote="github" />
<project name="LineageOS/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" />
<project name="LineageOS/android_hardware_samsung" path="hardware/samsung" remote="github" />
<project name="LineageOS/android_hardware_samsung_slsi-cm_exynos" path="hardware/samsung_slsi-cm/exynos" remote="github" />
<project name="LineageOS/android_hardware_samsung_slsi-cm_exynos5" path="hardware/samsung_slsi-cm/exynos5" remote="github" />
<project name="LineageOS/android_hardware_samsung_slsi-cm_exynos7420" path="hardware/samsung_slsi-cm/exynos7420" remote="github" />
<project name="LineageOS/android_hardware_samsung_slsi-cm_openmax" path="hardware/samsung_slsi-cm/openmax" remote="github" />
<project name="LineageOS/android_kernel_samsung_exynos7420" path="kernel/samsung/exynos7420" remote="github" />
<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" />
</manifest>
How can I fix this so that cm-14.1 will build for this model?
I intend to make a working manifest to start porting to Sailfish OS.
I'm having the same problem. I have a similar local manifest as you do. I'm trying to port Halium. If you PM me we can try and help each other out.
I have found a working solution to build cm-14.1 for zerolte so I'll upload it to my mega repo soon.
This thread and it's issue can therefor be closed as fixed.