User-agent: Mediapartners-Google Disallow: User-agent: * Disallow: /search Allow: / Sitemap: http://nano7mobile.blogspot.com/sitemap.xml Nano Mobile: Compiling CM12 for G2 topic

Compiling CM12 for G2 topic






Hi guys! I've worked in several stock ROM projects, but I never learned how to build roms from source, I dont know why. Yesterday, I read some threads, and installed Ubuntu 14.04 in my lap. I am following the following threads to compile CM12:

I started the first one, which I think is very clear, but when I arrive to this I have to stop:


Quote:









Once all that stuff's over, create a folder called

Code:


local_manifests

in the .repo folder, and then make a new file in that folder called

Code:


roomservice.xml

open roomservice.xml using gedit, and add the following:

Code:


<?xml version="1.0" encoding="UTF-8"?>
<manifest>
 <project name="CyanogenMod/android_device_motorola_falcon" path="device/motorola/falcon" remote="github" revision="cm-12.0"/>
 <project name="CyanogenMod/android_device_motorola_msm8226-common" path="device/motorola/msm8226-common" remote="github" revision="cm-12.0"/>
 <project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" revision="cm-12.0"/>
 <project name="CyanogenMod/android_kernel_motorola_msm8226" path="kernel/motorola/msm8226" remote="github" revision="cm-12.0"/>
 <project name="TheMuppets/proprietary_vendor_motorola" path="vendor/motorola" remote="github" revision="cm-12.0"/>
</manifest>







Obviously, that code is for Moto G, but I don't know what should I write in that file. I found a thread in G2 section with the same question, but the OP had no answer.

Then I switched to the official thread trying to find some information. About local manifests it says:


Quote:









After the source downloads, ensure you are in the root of the source code (cd ~/android/system), then type:


Code:


$ source build/envsetup.sh
$ breakfast d802


This will download the device specific configuration and kernel source for your device. An alternative to using the breakfast command is to build your own local manifest. To do this, you will need to locate your device on CyanogenMod's GitHub and list all of the repositories defined in cm.dependencies in your local manifest.




Then I went to d802 github and located the cm.dependencies. Is that what I have to copy into the roomservice.xml file? Is this another way of preparing specific-device code?

If u know any other more comprehensive guide for d802 I would thank u so much if u could share with me. Any help is thanked.






Aucun commentaire:

Enregistrer un commentaire