Results 1 to 10 of 10
  1. #1
    offline Itty Bitty Modder
    Join Date
    Dec 2010
    Posts
    19
    Thanks
    4
    Thanked 3 Times in 3 Posts
    Downloads
    12
    Uploads
    0

    Can we build the latest CM nightly from Source?

    Okay so I've been looking at the CyanogenMod Nightly changelog page for months now, and it keeps getting updated, and from what I can tell from the Gerritt page. The source is constantly updated even though we on't have new downloadable nightlies.

    So my question is how do we build the nightly from source, if anyone can let me know, I'd be glad to do it and try.

  2. #2
    phoenixsong6's Avatar
    offline Moderator
    Join Date
    Dec 2010
    Location
    Seattle
    Posts
    731
    Thanks
    44
    Thanked 272 Times in 200 Posts
    Downloads
    17
    Uploads
    0
    Start here: Initializing a Build Environment | Android Open Source
    When downloading the source, use the CyanogenMod Github url (git://github.com/CyanogenMod/android.git) and the gingerbread branch.
    The rest of the instructions are available at the AOSP website linked above, and no changes are necessary.

    Things to note:
    - Either use Ubuntu or a Mac, windows is not supported.
    - The Backflip's project name is 'Motus'
    - 'repo sync' will take a lot of time initially
    - So will 'make'

  3. #3
    offline Itty Bitty Modder
    Join Date
    Dec 2010
    Posts
    19
    Thanks
    4
    Thanked 3 Times in 3 Posts
    Downloads
    12
    Uploads
    0
    Okay wow, I can't wait! Thanks so much! I have exams to square away for now, but this weekend is going to be fun!

  4. The Following User Says Thank You to Kryptyle For This Useful Post:

    drhun (01-23-2012)

  5. #4
    offline Maybe Modder
    Join Date
    Aug 2010
    Posts
    22
    Thanks
    5
    Thanked 15 Times in 6 Posts
    Downloads
    0
    Uploads
    0
    Following the tips of "phoenixsong6", i've managed to compile a 7.2.0-RC0-BACKFLIP-KANG update for the motus.. It's very fast and responsive.. BUT! right from the first boot, it's showing randomly a complete green screen that stuck the entire phone forcing you to remove the battery:/ And the camera is completely unusable! I don't know if the 32bit architecture that i've used for the build may affect.. Or if i've broken something:/ But it's not really working:/
    Buy me a beer!

  6. #5
    phoenixsong6's Avatar
    offline Moderator
    Join Date
    Dec 2010
    Location
    Seattle
    Posts
    731
    Thanks
    44
    Thanked 272 Times in 200 Posts
    Downloads
    17
    Uploads
    0
    That, of course, is the reason why android development is difficult. When something like this happens, devs usually have to track down the problem and fix/recompile it. In this particular case, though, I'm pretty sure I know what's wrong. You were probably missing the proprietary vendor blobs from the phone itself. There are 2 ways to fix it, and here is the preferred solution.

    Run this command from the root android directory:
    Code:
    git clone git://github.com/koush/proprietary_vendor_motorola vendor/motorola
    To recompile run this before `make -j4` or equivalent:
    Code:
    make installclean

  7. #6
    padula's Avatar
    offline Of Mice and Modders
    Join Date
    Sep 2010
    Location
    São Bernardo do Campo - SP
    Posts
    89
    Thanks
    11
    Thanked 10 Times in 7 Posts
    Downloads
    3
    Uploads
    0
    well, if you get it right, would you mind post a link to your compiled rom?
    Backflip CM7 Nightlies
    Galaxy 5 CM7 madteam
    Revue

  8. #7
    offline Moderator
    Join Date
    Dec 2010
    Posts
    603
    Thanks
    114
    Thanked 760 Times in 236 Posts
    Downloads
    2
    Uploads
    0
    The green screen and reboot was due to the new rotation animation that was included; it should be fixed by now. If you "repo sync" and then do a new clean build it should be fine

    @padula: I posted a build on the CM7 thread, see [ROM] Official CM7 for the Motus/Backflip 9.25.11
    Last edited by turl; 01-27-2012 at 10:28 AM.

  9. 3 Users Say Thank You to turl For This Useful Post

    drhun (01-30-2012), phoenixsong6 (01-27-2012), Slyon (01-27-2012)

  10. #8
    offline Itty Bitty Modder
    Join Date
    Nov 2009
    Location
    orlando fl
    Posts
    18
    Thanks
    0
    Thanked 8 Times in 4 Posts
    Downloads
    8
    Uploads
    0
    i am trying to compile a newer nightly build but compiling stops here for some reason..
    " make: *** No rule to make target `vendor/motorola/motus/proprietary/01_pvplayer_mot.cfg',
    needed by `out/target/product/motus/system/etc/01_pvplayer_mot.cfg'. Stop." help anyone?

  11. #9
    phoenixsong6's Avatar
    offline Moderator
    Join Date
    Dec 2010
    Location
    Seattle
    Posts
    731
    Thanks
    44
    Thanked 272 Times in 200 Posts
    Downloads
    17
    Uploads
    0
    On your phone, find 01_pvplayer_mot.cfg, and put it in the vendor/motorola/motus/proprietary folder.
    OR
    Open up one of the makefiles in vendor/motorola/motus and comment out the line that refers to the missing file.

  12. #10
    offline Itty Bitty Modder
    Join Date
    Nov 2009
    Location
    orlando fl
    Posts
    18
    Thanks
    0
    Thanked 8 Times in 4 Posts
    Downloads
    8
    Uploads
    0
    i found the file on my phone and put it in the proper spot im running the compiler again and will keep you posted. looks like when i ran the part were i copy the proprietary files that one didn't get copped over

    UPDATE:
    compiling went well it created a zip file im now flahsing to test it out and depending on the result i will post it it for whoever wants to try it out.
    Last edited by gabeiscooler; 02-07-2012 at 05:23 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •