[GUIDE] How to build your own ROM from CM7 source

Discussion in 'Steel Droid' started by chevycam94, Feb 1, 2012.

?

Did you find this guide helpful?

  1. Very much!

    0 vote(s)
    0.0%
  2. Somewhat

    0 vote(s)
    0.0%
  3. Not at all

    0 vote(s)
    0.0%
Multiple votes are allowed.
  1. chevycam94
    Offline

    chevycam94 Steel Droid ROM Developer Developer

    Joined:
    May 12, 2010
    Messages:
    1,380
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Central Ohio
    By all means. :)

    Sent from my Droid using DroidForums
  2. 2THEXTRM
    Online

    2THEXTRM Member

    Joined:
    Nov 4, 2011
    Messages:
    523
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    Central New York
    Saved this info offline for reference.

    I have created my share of training manuals and know the amount of work involved, so Thanks!

    Sent from my DROID BIONIC using DroidForums
  3. metalspring
    Offline

    metalspring New Member

    Joined:
    Jan 9, 2011
    Messages:
    2,228
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    hermitage, pa
    has anyone tried this on opensuse? its definitely my favorite distro and seems to work best on my laptop...
    and is my laptop even up to par to build gingerbread or even ics?
    dual core 2.8 GHz, 4 GB ram, 201 GB for a full linux partition, and what file system is best to use on it? ext3, ext4 or other?
  4. jtk15
    Offline

    jtk15 New Member

    Joined:
    Mar 4, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    new york
    i need help when ever i try to do the first command i get an error saying could not open no such file or directory im using ubuntu 9.04
  5. chevycam94
    Offline

    chevycam94 Steel Droid ROM Developer Developer

    Joined:
    May 12, 2010
    Messages:
    1,380
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Central Ohio
    You mean
    cd ~

    ?? lol
  6. metalspring
    Offline

    metalspring New Member

    Joined:
    Jan 9, 2011
    Messages:
    2,228
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    hermitage, pa
    so would this work the same on opensuse linux distro? and how is linuxmint with driver support? thats always the problem i run into with linux distros, they never have the driver support needed for my laptop, especially one of the most important ones- the wifi driver
    also which desktop do you use? GNOME or KDE?
  7. chevycam94
    Offline

    chevycam94 Steel Droid ROM Developer Developer

    Joined:
    May 12, 2010
    Messages:
    1,380
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Central Ohio
    I came from using Ubuntu 10.10 LTE, and moved to Linux Mint 12 (w/ GNOME). Wonders of difference. MUCH better, and now, I have NO driver issues. Everything was there right off the bat, and this laptop is only 3 months old.
  8. Durandgir
    Offline

    Durandgir New Member

    Joined:
    Dec 6, 2011
    Messages:
    438
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Douglas, MA
    I do second this, Mint is much more stable, has much better support for everything. It is also great to build on. It's very fast and just plain works well
  9. metalspring
    Offline

    metalspring New Member

    Joined:
    Jan 9, 2011
    Messages:
    2,228
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    hermitage, pa
    That'll be the one I try then probably later tonight

    btw, how do you use source from other developers (mainly to help build an ics rom) such as this https://github.com/ThePlayground/android_device_moto_sholes
    and how would you go about building a kernel or is that a whole different ballgame here?
  10. alucardx
    Offline

    alucardx New Member

    Joined:
    Dec 18, 2009
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Philly
    i might try my hand at this. i'm interested in converting Froyomod from Milestone to work on Droid (sholes)
  11. cowsquad
    Offline

    cowsquad New Member

    Joined:
    Mar 31, 2010
    Messages:
    276
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    beaverton, Oregon
    can I use this to build cm9 for the droid?
  12. metalspring
    Offline

    metalspring New Member

    Joined:
    Jan 9, 2011
    Messages:
    2,228
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    hermitage, pa
    Yes and no I'm sure, it'll give you a baseline to work from for it but you'll need to add/remove and edit a lot of things
  13. chevycam94
    Offline

    chevycam94 Steel Droid ROM Developer Developer

    Joined:
    May 12, 2010
    Messages:
    1,380
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Central Ohio
    Directly from this guide, no. For example the repo init line would be changed to:
    repo init -u git://github.com/CyanogenMod/android.git -b ics

    There would have to be several other changes, but I'm at work right now, and only have my phone, so I don't have time to type out more...
  14. cowsquad
    Offline

    cowsquad New Member

    Joined:
    Mar 31, 2010
    Messages:
    276
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    beaverton, Oregon
    Don't worry. Type it whenever you can :)

    Sent from my Droid using Tapatalk 2
  15. chevycam94
    Offline

    chevycam94 Steel Droid ROM Developer Developer

    Joined:
    May 12, 2010
    Messages:
    1,380
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Central Ohio
    I know, I need to update the guide. I will get around to it soon. There are a few changes I need to make a point of.
  16. rootofalldroid
    Offline

    rootofalldroid New Member

    Joined:
    Jul 31, 2011
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    I am having a problem finishing compiling I keep getting message " *** No rule to make target 'bacon'. Stop. I am using Ubuntu 12.04 64 bit. and I am using Droid X what am i doing wrong? Thanks in advance
    Screenshot from 2012-07-16 10:06:56.png
  17. chevycam94
    Offline

    chevycam94 Steel Droid ROM Developer Developer

    Joined:
    May 12, 2010
    Messages:
    1,380
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Central Ohio
    We dont build using the "bacon" switch. If you want to do the build all in one step, this is the command:

    Code:
    . build/envsetup.sh && brunch shadow
    "shadow" is the Droid X, which you probably already knew. lol

    Optionally, if you want to see that command line laid out in pieces, it would be slightly different, like this:

    Code:
    . build/envsetup.sh
    brunch        (or "lunch" if you want)
    [COLOR=#ff0000]## This is where you choose which one you want to build[/COLOR]
    make -j6 otapackage
  18. rootofalldroid
    Offline

    rootofalldroid New Member

    Joined:
    Jul 31, 2011
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    Which version of mint lisa are you using. With or without codecs and which desktop?

    Sent from my DROIDX using Tapatalk
  19. chevycam94
    Offline

    chevycam94 Steel Droid ROM Developer Developer

    Joined:
    May 12, 2010
    Messages:
    1,380
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Central Ohio
    Linux Mint 13, MATE desktop, 64bit WITH codecs
  20. rootofalldroid
    Offline

    rootofalldroid New Member

    Joined:
    Jul 31, 2011
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    Thank you will be loading it up in the morning

    Sent from my DROIDX using Tapatalk
Search tags for this page

build cm7

,

build cm7 from source

,
build cm7 rom from source
,
building cm7
,
cm7 build
,
cm7 source code
,

compile cm7

,

compile cm7 from source

,
guide build cm7
,

how to build cm7

,

how to build cm7 from source

,

how to compile cm7