DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!

View Poll Results: Did you find this guide helpful?

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

    12 92.31%
  • Somewhat

    1 7.69%
  • Not at all

    0 0%
Multiple Choice Poll.
Page 2 of 8 FirstFirst 1234 ... LastLast
Results 11 to 20 of 74
Like Tree6Likes

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,396
    Liked
    202 times
    Phone
    Droid 1, Galaxy Nexus, LG G2
    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...
    ! NEW DEVICE ! (as of 01-05-2014)
    LG G2 VS980 (VZW) (32GB)
    Stock VS98024A KitKat (rooted)
    TWRP 2.7.0.0


    Motorola Droid 1

    Steel Droid v12.0 (GB WIP)
    RZ's 2.0.3 Recovery

    Galaxy Nexus (32GB)

    If you like my work, please donate!
  2. Master Droid
    Durandgir's Avatar
    Member #
    239627
    Join Date
    Dec 2011
    Location
    Douglas, MA
    Posts
    440
    Liked
    1 times
    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,396
    Liked
    202 times
    Phone
    Droid 1, Galaxy Nexus, LG G2
    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.
    ! NEW DEVICE ! (as of 01-05-2014)
    LG G2 VS980 (VZW) (32GB)
    Stock VS98024A KitKat (rooted)
    TWRP 2.7.0.0


    Motorola Droid 1

    Steel Droid v12.0 (GB WIP)
    RZ's 2.0.3 Recovery

    Galaxy Nexus (32GB)

    If you like my work, please donate!
  5. Master Droid
    Durandgir's Avatar
    Member #
    239627
    Join Date
    Dec 2011
    Location
    Douglas, MA
    Posts
    440
    Liked
    1 times
    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,396
    Liked
    202 times
    Phone
    Droid 1, Galaxy Nexus, LG G2
    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.
    ! NEW DEVICE ! (as of 01-05-2014)
    LG G2 VS980 (VZW) (32GB)
    Stock VS98024A KitKat (rooted)
    TWRP 2.7.0.0


    Motorola Droid 1

    Steel Droid v12.0 (GB WIP)
    RZ's 2.0.3 Recovery

    Galaxy Nexus (32GB)

    If you like my work, please 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
    2,231
    Liked
    99 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?
    My cMetal 11.0 rom for the verizon galaxy nexus

    Phone- The GALAXY NEXUS LTE a​ll the
    Rom- My own cMetal 11.0 rom (linaro enhanced cm-11.0)
    Kernel- ASKP or my modified mpokang v10 superram kernel
    previous phone the trusty ol' droid 1
Page 2 of 8 FirstFirst 1234 ... LastLast

Links

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 Android Hacks and Help
    Replies: 0
    Last Post: 05-27-2010, 01:07 PM

Search tags for this page

build cm7

,

build cm7 from source

,
building cm7
,
cm7 build
,

compile cm7

,

compile cm7 from source

,

how to build cm7

,

how to build cm7 from source

,
how to build rom from source
,

how to compile cm7

Click on a term to search our site for related topics.
Find us on Google+