dimanche 25 janvier 2015

[HELP] Building CM12 'No ~/android/system/vendor/cm' topic






Hi there, I'm extremely new to building a ROM or even to git and other stuff and am now trying to learn to build ROM. I have downloaded the cm12 sources for now, and trying to learn how it works, but seems to have stuck at a location.
I have been following the cm build page instructions for now from this page, and have done following stuff until now:
  1. Make folders:

    Code:


    mkdir -p ~/bin
    $ mkdir -p ~/android/system



  2. Installed the repo command and entered the following to download the "repo" binary and make it executable (runnable):

    Code:


    $ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
    $ chmod a+x ~/bin/repo



  3. Put the ~/bin directory in your path of execution

  4. Initialize the CyanogenMod source repository and initialized the repository:

    Code:


    $ cd ~/android/system/
    $ repo init -u https://github.com/CyanogenMod/android.git -b ics



  5. Downloaded the source code

    Code:


    $ repo sync -j4 -f -c


  6. Get prebuilt apps

    Code:


    $ cd ~/android/system/vendor/cm



Now when I get to the get prebuilt apps, and I run cd ~/android/system/vendor/cm, I get the


Code:


cd ~/android/system/vendor/cm bash:  No such file or directory

I tried opening the location manually, but I find no "vendor" folder under the "android/system" folder. However, there is a "vendor" folder under "android" and that "vendor" consists of folders like "cm", "cyngn" and "sony", where "sony" is related to My phone.
Under system I have folders like "core", "extras", "keymaster", "media", "netd", "qcom", "security" and "vold".

Before You say that I might have not done repo sync properly, it did complete properly. I have attached the image of completion of first time the repo sync was complete. Then a log of second time when the repo sync was done to get the device specific related stuff. I used the -f since the download of source had been interrupted due to the error "error: Exited sync due to fetch errors".

Also, don't know if it matters, but I have built a ROM before on the same system, but it was by following the instructions as posted to do. The sources were all coded to suit My phone, and all I was doing was "repo sync" and building the ROM via source with commands build/envsetup.sh
and breakfast nozomi and used to get a working build.

So please help Me out where I went wrong as I do want to learn to how to build a ROM.








Attached Thumbnails


Click image for larger version<br/><br/>Name:	Screenshot from 2015-01-25 13:55:57.jpg<br/>Views:	N/A<br/>Size:	259.9 KB<br/>ID:	3132799
 











Attached Files








File Type: txt cm12_log.txt -
[Click for QR Code]
(33.6 KB)
File Type: txt local_manifest.txt -
[Click for QR Code]
(413 Bytes)










Aucun commentaire:

Enregistrer un commentaire