[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!
-
Somewhat
-
Not at all
-
Steel Droid ROM Developer

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 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!
-
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
-
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 ?
-
Steel Droid ROM Developer

Originally Posted by
Durandgir
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.

Originally Posted by
OsiMood
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!
-
[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
-

Originally Posted by
chevycam94
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...
-
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.
-
Steel Droid ROM Developer

Originally Posted by
ma700c
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!
-
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
-
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
all
the 
stock-for now...

previous phone the trusty ol' droid 1
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Similar Threads
-
By DarkNet in forum Android App Developers
Replies: 1
Last Post: 12-28-2011, 09:09 AM
-
By davros in forum Project GimpSource
Replies: 311
Last Post: 06-12-2011, 12:56 PM
-
By webcenter in forum Droid X General Discussions
Replies: 0
Last Post: 09-12-2010, 08:51 AM
-
By montyboy in forum cvpcs
Replies: 9
Last Post: 07-25-2010, 06:59 PM
-
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.