[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. metalspring
    Offline

    metalspring New Member

    Joined:
    Jan 9, 2011
    Messages:
    2,228
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    hermitage, pa
    how different are these instructions for building from jb source for the galaxy nexus on ubuntu 12?
  2. chevycam94
    Offline

    chevycam94 Steel Droid ROM Developer Developer

    Joined:
    May 12, 2010
    Messages:
    1,380
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Central Ohio
    Basically the same. Just in the beginning use "jellybean" instead of "gingerbread"
  3. rootofalldroid
    Offline

    rootofalldroid New Member

    Joined:
    Jul 31, 2011
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    Now since we are on JB is it possible to build from source for DX. I did not see the files for the Dx in the source? Again I am a noob and I tried running first before crawling.Lol

    Sent from my DROIDX using Tapatalk
  4. 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 don't believe so. I'm not sure what all is planning on being supported.
  5. rootofalldroid
    Offline

    rootofalldroid New Member

    Joined:
    Jul 31, 2011
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    In your guide its states to pull the proprietary files for phone is it possible to pull those in terminal on phone and save to SD card using the . extract-files.sh command?

    Sent from my DROIDX using Tapatalk
  6. chevycam94
    Offline

    chevycam94 Steel Droid ROM Developer Developer

    Joined:
    May 12, 2010
    Messages:
    1,380
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Central Ohio
    Never really tried that. I'm guessing that it WONT work that way. Alternatively, you can open a stock OTA zip for your phone, and manually pull all the files needed manually. I've done it that way a time or two, especially to get the props for a phone which I couldn't physically get my hands on, but wanted to build for.
  7. rootofalldroid
    Offline

    rootofalldroid New Member

    Joined:
    Jul 31, 2011
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    I am having problems I have installed Linux Mint and when i input the sudo gedit .bashrc I keep getting this error message. I am doing alot of copy and paste to make it go faster will that make a difference?

    (gedit:16382): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.WOPKHW': No such file or directory
  8. chevycam94
    Offline

    chevycam94 Steel Droid ROM Developer Developer

    Joined:
    May 12, 2010
    Messages:
    1,380
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Central Ohio
    Dont worry about that error. It actually doesnt matter. The changes are being saved anyway. It happened to my system for a little while, but seems to have disappeared now. No biggie.

    Also, open up gedit and goto Edit -> Preferences -> [Editor tab] (File Saving section), and UNCHECK "Create a backup copy of files before saving". I say this, because when you go to edit, say, your build.prop file, when you go to zip up the files into a flashable zip, you will have both build.prop, AND the backup copy of build.prop. It just makes things look ugly, and MAY cause problems when flashing.
  9. rootofalldroid
    Offline

    rootofalldroid New Member

    Joined:
    Jul 31, 2011
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    OK thank you I have another issue but at work right now will post in morning

    Sent from my DROIDX using Tapatalk
  10. rootofalldroid
    Offline

    rootofalldroid New Member

    Joined:
    Jul 31, 2011
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    after i copy and paste this

    deb Index of /ubuntu jaunty multiverse
    deb Index of /ubuntu jaunty-updates multiverse

    I get this

    mike@mike ~ $ sudo apt-get install sun-java6-jdk
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    sun-java6-jdk is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 378 not upgraded.
    E: Malformed line 11 in source list /etc/apt/sources.list (URI parse)
    E: The list of sources could not be read.
  11. 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 see what happened. lol Go back to that step. I corrected the lines to work right. It was copying the text of the target URL header, but if you copy the lines as they show in the guide now, it will work correctly. I completely missed that. Oops. lol

  12. rootofalldroid
    Offline

    rootofalldroid New Member

    Joined:
    Jul 31, 2011
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
  13. Durandgir
    Offline

    Durandgir New Member

    Joined:
    Dec 6, 2011
    Messages:
    438
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Douglas, MA
    So that explains why those never worked way back when I was setting everything up.
  14. 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 never realized that the forum would automatically parse links. That's an option in advanced editor, I just never thought about it. I figured what I typed in, is what would show. Lol. My bad.
  15. rootofalldroid
    Offline

    rootofalldroid New Member

    Joined:
    Jul 31, 2011
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    I think I got it but where does it put the finish product I looked in out file but there is no zip
  16. chevycam94
    Offline

    chevycam94 Steel Droid ROM Developer Developer

    Joined:
    May 12, 2010
    Messages:
    1,380
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Central Ohio
    out/target/product/{your-device-name}
  17. rootofalldroid
    Offline

    rootofalldroid New Member

    Joined:
    Jul 31, 2011
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    I am getting closer but this is what I am getting and i have compiled 3 times and get same terminal output and no zip

    Screenshot at 2012-07-21 19:30:59.png
  18. rootofalldroid
    Offline

    rootofalldroid New Member

    Joined:
    Jul 31, 2011
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    Screenshot at 2012-07-21 19:32:09.png

    Attached Files:

  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
    Build is failing with CameraService.cpp I'm not in a great place to really help this minute. Anyone else want to lend a hand until I can get back to him?
  20. rootofalldroid
    Offline

    rootofalldroid New Member

    Joined:
    Jul 31, 2011
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    I have done a report sync and used a different proprietary file and still get the same code I have googled the error but nothing has come up to help
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