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

This is a discussion on [GUIDE] How to build your own ROM from CM7 source within the Steel Droid forums, part of the Custom Roms category; Originally Posted by Durandgir Now I am running into a new one. brendan@brendan-Inspiron-1545:~$ sudo apt-get install git-core gnupg flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential ...

View Poll Results: Did you find this guide helpful?

Voters
10. You may not vote on this poll
  • Very much!

    9 90.00%
  • Somewhat

    1 10.00%
  • Not at all

    0 0%
Multiple Choice Poll.
+ Reply to Thread
Page 2 of 4 FirstFirst 1 2 3 4 LastLast
Results 11 to 20 of 34

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

  1. Steel Droid ROM Developer
    chevycam94's Avatar
    Member #
    67883
    Join Date
    May 2010
    Location
    Central Ohio
    Posts
    1,035
    Liked
    91 times
    Twitter
    chevycam94
    Phone
    Droid 1, Droid 3, Galaxy Nexus
    DroidForums.net Developer
    #11
    Quote Originally Posted by Durandgir View Post
    Now I am running into a new one.

    brendan@brendan-Inspiron-1545:~$ sudo apt-get install git-core gnupg flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev valgrind lib32readline-gplv2-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev pngcrush schedtool
    [sudo] password for brendan:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Note, selecting 'libsdl1.2-dev' instead of 'libsdl-dev'
    Note, selecting 'lib32z1-dev' instead of 'lib32z-dev'
    Package lib32readline5-dev is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    However the following packages replace it:
    lib32readline-gplv2-dev


    E: Package 'lib32readline5-dev' has no installation candidate

    Sorry for all the issues :/
    Use this line:

    sudo apt-get install git-core gnupg flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev valgrind lib32readline-gplv2-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32z-dev pngcrush schedtool
    You had lib32readline-dev still in there...
    Motorola Droid 1
    Steel Droid v10.6 (GB)
    Stock CM7 2.3.7 kernel
    RZ's 2.0.3 Recovery
    32GB MicroSD (class 4)

    Droid 3
    v4.7 (GB 5.7.906)
    v5.5 (ICS 4.0.4)

    Rick#2's 1.08e SafeStrap

    Galaxy Nexus (32GB)
    Steel Droid GNex v3.85 (ICS 4.0.4)
    Steel Droid GNex v4.0 (ICS 4.0.4 WIP)
    Faux 17u 4.0.x kernel

    TWRP 2.1.2 Recovery
    IMM76K bootloader and radios

    If you like my work, feel free to donate!
  2. Master Droid
    Durandgir's Avatar
    Member #
    239627
    Join Date
    Dec 2011
    Location
    Douglas, MA
    Posts
    377
    Phone
    Galaxy Nexus
    #12
    Wow do I feel stupid now...thank you!

    so I got everything all up and running only to get this error

    Checking build tools versions...
    ************************************************** **********
    You are attempting to build with the incorrect version
    of javac.

    Your version is: /bin/bash: javac: command not found.
    The correct version is: 1.6.

    Please follow the machine setup instructions at
    http://source.android.com/download
    ************************************************** **********
    build/core/main.mk:134: *** stop. Stop.

    I for the life of me can not figure it out, and even googled around too no avail
    Last edited by Durandgir; 02-01-2012 at 08:02 PM. Reason: new road block
  3. Droid Newbie
    OsiMood's Avatar
    Member #
    250523
    Join Date
    Feb 2012
    Posts
    2
    Phone
    Enter Current Phone Model Here
    #13
    thanks for the post but I have a problem here, this guide is perfect when you want to compile for a phone that is supported but how do you do this for an phone that is not in the list ? and how do you determine the mandatory files ?
  4. Steel Droid ROM Developer
    chevycam94's Avatar
    Member #
    67883
    Join Date
    May 2010
    Location
    Central Ohio
    Posts
    1,035
    Liked
    91 times
    Twitter
    chevycam94
    Phone
    Droid 1, Droid 3, Galaxy Nexus
    DroidForums.net Developer
    #14
    Quote Originally Posted by Durandgir View Post
    Wow do I feel stupid now...thank you!

    so I got everything all up and running only to get this error

    Checking build tools versions...
    ************************************************** **********
    You are attempting to build with the incorrect version
    of javac.

    Your version is: /bin/bash: javac: command not found.
    The correct version is: 1.6.

    Please follow the machine setup instructions at
    http://source.android.com/download
    ************************************************** **********
    build/core/main.mk:134: *** stop. Stop.

    I for the life of me can not figure it out, and even googled around too no avail
    OK, I know this one, but I will have to log back into my Linux install to show you what to change. It was a simple fix.

    Quote Originally Posted by OsiMood View Post
    thanks for the post but I have a problem here, this guide is perfect when you want to compile for a phone that is supported but how do you do this for an phone that is not in the list ? and how do you determine the mandatory files ?
    You will have to get a device setup from a developer who has put one together for the device you want to build for. Included in that device setup will also be the extract-file.sh script needed to pull the necessary proprietary files from the device.
    Motorola Droid 1
    Steel Droid v10.6 (GB)
    Stock CM7 2.3.7 kernel
    RZ's 2.0.3 Recovery
    32GB MicroSD (class 4)

    Droid 3
    v4.7 (GB 5.7.906)
    v5.5 (ICS 4.0.4)

    Rick#2's 1.08e SafeStrap

    Galaxy Nexus (32GB)
    Steel Droid GNex v3.85 (ICS 4.0.4)
    Steel Droid GNex v4.0 (ICS 4.0.4 WIP)
    Faux 17u 4.0.x kernel

    TWRP 2.1.2 Recovery
    IMM76K bootloader and radios

    If you like my work, feel free to donate!
  5. Master Droid
    Durandgir's Avatar
    Member #
    239627
    Join Date
    Dec 2011
    Location
    Douglas, MA
    Posts
    377
    Phone
    Galaxy Nexus
    #15
    [QUOTE=chevycam94;2005559]OK, I know this one, but I will have to log back into my Linux install to show you what to change. It was a simple fix.

    this was an old issue I experienced, It was because I had the wrong java, I got sun java through a repository for it. but I didn't even run into this problem with mint
  6. Droid Newbie
    OsiMood's Avatar
    Member #
    250523
    Join Date
    Feb 2012
    Posts
    2
    Phone
    Enter Current Phone Model Here
    #16
    Quote Originally Posted by chevycam94 View Post
    OK, I know this one, but I will have to log back into my Linux install to show you what to change. It was a simple fix.

    You will have to get a device setup from a developer who has put one together for the device you want to build for. Included in that device setup will also be the extract-file.sh script needed to pull the necessary proprietary files from the device.
    Who you know anybody who could help me on that ?
    This is the first time I am trying to build CM and it seems my phone does not have a lot of love...
  7. Droid Newbie
    ma700c's Avatar
    Member #
    224825
    Join Date
    Sep 2011
    Posts
    2
    Phone
    Enter Current Phone Model Here
    #17
    Slightly off topic, but have you ever successfully compiled the WiFi driver for the Droid-1? I have successfully rebuilt the Android framework and the kernel, but have not been able to recompile tiwlan_drv.ko and have it load successfully. The closest I have come is being able to do a clean build and then load the module using "insmod". But in that case as soon as I turn on WiFi, the whole system crashes. I have followed a variety of tutorials for building this, but they all seem to be oriented for one of TI's development boards.

    If you have a suggested source code link and any pointers for creating a useable WiFi driver, I would really appreciate it.

    Thanks in advance.
  8. Steel Droid ROM Developer
    chevycam94's Avatar
    Member #
    67883
    Join Date
    May 2010
    Location
    Central Ohio
    Posts
    1,035
    Liked
    91 times
    Twitter
    chevycam94
    Phone
    Droid 1, Droid 3, Galaxy Nexus
    DroidForums.net Developer
    #18
    Quote Originally Posted by ma700c View Post
    Slightly off topic, but have you ever successfully compiled the WiFi driver for the Droid-1? I have successfully rebuilt the Android framework and the kernel, but have not been able to recompile tiwlan_drv.ko and have it load successfully. The closest I have come is being able to do a clean build and then load the module using "insmod". But in that case as soon as I turn on WiFi, the whole system crashes. I have followed a variety of tutorials for building this, but they all seem to be oriented for one of TI's development boards.

    If you have a suggested source code link and any pointers for creating a useable WiFi driver, I would really appreciate it.

    Thanks in advance.
    Thats another thing I have never touched on. I might look up how that works, just so I can cover more areas.
    Motorola Droid 1
    Steel Droid v10.6 (GB)
    Stock CM7 2.3.7 kernel
    RZ's 2.0.3 Recovery
    32GB MicroSD (class 4)

    Droid 3
    v4.7 (GB 5.7.906)
    v5.5 (ICS 4.0.4)

    Rick#2's 1.08e SafeStrap

    Galaxy Nexus (32GB)
    Steel Droid GNex v3.85 (ICS 4.0.4)
    Steel Droid GNex v4.0 (ICS 4.0.4 WIP)
    Faux 17u 4.0.x kernel

    TWRP 2.1.2 Recovery
    IMM76K bootloader and radios

    If you like my work, feel free to donate!
  9. Droid Newbie
    ma700c's Avatar
    Member #
    224825
    Join Date
    Sep 2011
    Posts
    2
    Phone
    Enter Current Phone Model Here
    #19
    Thats another thing I have never touched on. I might look up how that works, just so I can cover more areas.
    Great, and I'll keep following your posts on this. I've been able to successfully rebuild the module for the Broadcom bcm4329 and the Atheros AR6003, but this TI driver seems to have so many variations. I assume it is dependent on other modules (such as sdio drivers), looking at what gets loaded, I can't tell.

    Thanks again
  10. Droid Ninja
    metalspring's Avatar
    Member #
    158915
    Join Date
    Jan 2011
    Location
    hermitage, pa
    Posts
    1,922
    Liked
    60 times
    Phone
    Galaxy Nexus LTE
    #20
    hey chevy, mind if i add a link to this thread in my tweaks thread, giving you proper credit of course?
    tweaks, hacks, and other goodies here
    current phone The GALAXY NEXUS LTE a​ll the
    stock-for now...
    previous phone the trusty ol' droid 1

Sponsors

Posting Permissions

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

Similar Threads

  1. ICS Calendar source build issues.
    By DarkNet in forum Android App Developers
    Replies: 1
    Last Post: 12-28-2011, 09:09 AM
  2. Replies: 311
    Last Post: 06-12-2011, 12:56 PM
  3. who can try Droid X full source build?
    By webcenter in forum Droid X General Discussions
    Replies: 0
    Last Post: 09-12-2010, 08:51 AM
  4. Build Sapphire From Source
    By montyboy in forum cvpcs
    Replies: 9
    Last Post: 07-25-2010, 06:59 PM
  5. Guide to Build/Modify roms?
    By reynzard in forum Droid Development
    Replies: 0
    Last Post: 05-27-2010, 01:07 PM

Search tags for this page

build cm7

,
build cm7 from source
,

build cm7 rom

,

building cm7 from source

,

cm7 source

,

compile cm7

,

compile cm7 from source

,

e: package lib32readline5-dev has no installation candidate

,

how to build cm7

,

how to build cm7 from source

,

how to compile cm7

,

how to compile cm7 from source

,
how to make your own android rom
,

how to make your own rom

,

package lib32readline5-dev has no installation candidate

Click on a term to search our site for related topics.