Hi Guys! I read somewhere that compiling need 4Gb Ram! ! ! ! Is it true? I have very old hardware so I'm going to buy a new hardware for start compiling....
thanks
No but it will take alot longer
I compile with 4gigs ram. A little less than 2 hours for full lunch build for 1 device. That's 2 .zips and kernel pieces on Linux Mint 12 no windows. I think those crazy big numbers are needed when you use a virtual machine.
if you dont know linux well id reccomend using ubuntu 10.04 too otherwise you have to mess around with things to get it to build unless they fixed the problems with newer gcc.
Just install Ubuntu 12.04 and build.
The "needs octo-core processor" and "needs infinite RAM" is all just bull****.
But 64-bits is better for building, as 32 - bits needs more packages to install etc etc. And 64-bits means you have more RAM.
Sent from my Galaxy Nexus using Tapatalk 2
I'm building on these specs:
Intel Core 2 Duo @ 2.2ghz
2gb RAM
Ubuntu 10.04 LTS
It takes around 3 hours to do a fresh build off of a make clobber but to do a rebuild on top on another one it takes around half an hour.
The more ram you have the less time for compilation..plus it also depends on architecture...i.e. i7...
compiling-time mostly depends on the processor.
sent mobile
Ubuntu 12.04 LTS
6GB RAM
2.5Ghz Quad Core.
64bit
Compiling for one device (supersonic) takes about 30-45mins for me.
Sent from my PC36100 using xda premium
I'm using a laptop with an Intel Pentium Dual Core T4200 with 4 GB of RAM. It takes a little over 3 hours to compile 4.0.4_r2.1 maguro (Galaxy Nexus GSM).
Same build time in Ubuntu 10.04 and Kubuntu 12.04. I just get more errors in 12.04 and had to do more tweaks in the makefiles.
GalaxyNexusPH said:
I'm using a laptop with an Intel Pentium Dual Core T4200 with 4 GB of RAM. It takes a little over 3 hours to compile 4.0.4_r2.1 maguro (Galaxy Nexus GSM).
Same build time in Ubuntu 10.04 and Kubuntu 12.04. I just get more errors in 12.04 and had to do more tweaks in the makefiles.
Click to expand...
Click to collapse
A 2.5 quad? I think your slightly exaggerating. When I had a 3.5 quad it was slightly over an hour by a few minutes. You should run time with your build command after a make clobber.
Sent from my Nexus S 4G using xda premium
Quad-Core i5 8GB RAM here, ~47 minutes from a make clobber.
lithid-cm said:
A 2.5 quad? I think your slightly exaggerating. When I had a 3.5 quad it was slightly over an hour by a few minutes. You should run time with your build command after a make clobber.
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
Pentium Dual Core T4200
Its only dual core 2.0 GHZ 800MHZ FSB. Its not even Core I3. Its a low end processor.
$time make CC=gcc-4.4 CXX=g++.4.4 -j4 otapackage
real 167m21.740s
user 283m46.792s
sys 18m27.609
GalaxyNexusPH said:
Pentium Dual Core T4200
Its only dual core 2.0 GHZ 800MHZ FSB. Its not even Core I3. Its a low end processor.
$time make CC=gcc-4.4 CXX=g++.4.4 -j4 otapackage
real 167m21.740s
user 283m46.792s
sys 18m27.609
Click to expand...
Click to collapse
I think he meant me there.
Sent from my PC36100 using xda premium
Related
Hello, my TouchPad has Ubuntu Chroot but I can't manage to install the Android SDK to be able to program on eclipse in my TouchPad, is it possible ? I believe Chroot lacks the ubuntu installer or something
SkynightZ said:
Hello, my TouchPad has Ubuntu Chroot but I can't manage to install the Android SDK to be able to program on eclipse in my TouchPad, is it possible ? I believe Chroot lacks the ubuntu installer or something
Click to expand...
Click to collapse
It is still a _very_ slow computer compared with your PC. Why not do the compiling on your PC and remotely login from your touchpad (if you really like to use touchpad with bluetooth keyboard as a termninal)?
goTouchGo said:
It is still a _very_ slow computer compared with your PC. Why not do the compiling on your PC and remotely login from your touchpad (if you really like to use touchpad with bluetooth keyboard as a termninal)?
Click to expand...
Click to collapse
I wouldn't say very slow, with emphasis. My secondary craptop only has a 1.73 Ghz 1st gen dual core Intel processor w/ a 5 year old video card. I think the Touchpad could def. give it a run for its money. Very slow, with emphasis, to me is a Pentium 4 @ 2 Ghz or less and a GeForce 2 MX.
SpikeyPsyche said:
I wouldn't say very slow, with emphasis. My secondary craptop only has a 1.73 Ghz 1st gen dual core Intel processor w/ a 5 year old video card. I think the Touchpad could def. give it a run for its money. Very slow, with emphasis, to me is a Pentium 4 @ 2 Ghz or less and a GeForce 2 MX.
Click to expand...
Click to collapse
Not a fair comparison at all. Just because an ARM processor and the comparable x86 processor may have the same clock speed, it doesn't mean that they'll compete. The x86 architecture has been much more widely accepted and hence developed over the years. An x86 will beat out an ARM processor clock for clock until there's more development done for ARM.
Are you making sure to use a version of the android sdk that is compiled against ARM? Some of it is java, but there are some compiled native libraries too.
Eclipse is not the fastest IDE even on a PC. I mean my netbook runs it pretty sluggest and it's a higher end atom (2 cores). I think much more than vim or emacs would start to annoy me.
I'm trying to install ubuntu 12.04 on virtualbox but it seems to be running very slow! I don't have a slow computer so I don't understand why its running so slow. I put for it to take up 50 GB and use 1024 MB of ram. I have 4 GB of ram in total and 237 GB of free space. Is there a special way to install it? Also when I choose Ubuntu 64 bit (because I have a 64 bit computer) and than start the vm it shows an error saying I don't have the correct kernel and I need to install x86 bit or x32 bit so thats what im using. Any help would be very appreciated. I also am not a noob at this so please dont call me that. Thanks.
Processor: AMD E-300 APU with Radeon(tm) HD Graphics 1.30 GHz
OS: Windows 7 Home Premium 64 bit
itzdarockz said:
I'm trying to install ubuntu 12.04 on virtualbox but it seems to be running very slow! I don't have a slow computer so I don't understand why its running so slow. I put for it to take up 50 GB and use 1024 MB of ram. I have 4 GB of ram in total and 237 GB of free space. Is there a special way to install it? Also when I choose Ubuntu 64 bit (because I have a 64 bit computer) and than start the vm it shows an error saying I don't have the correct kernel and I need to install x86 bit or x32 bit so thats what im using. Any help would be very appreciated. I also am not a noob at this so please dont call me that. Thanks.
Processor: AMD E-300 APU with Radeon(tm) HD Graphics 1.30 GHz
OS: Windows 7 Home Premium 64 bit
Click to expand...
Click to collapse
It would be slow because you running a 64bit OS with 1GB of RAM, you really should use the 32bit version, it dosnt matter what OS your running as your host OS, thats the whole point of virtualisation you can run either
zacthespack said:
It would be slow because you running a 64bit OS with 1GB of RAM, you really should use the 32bit version, it dosnt matter what OS your running as your host OS, thats the whole point of virtualisation you can run either
Click to expand...
Click to collapse
Actually im using 32 bit not 64 for ubuntu because it wouldnt boot up. How much ram is good eneough for 32 bit?
itzdarockz said:
Actually im using 32 bit not 64 for ubuntu because it wouldnt boot up. How much ram is good eneough for 32 bit?
Click to expand...
Click to collapse
1GB should me move than enough, how much CPU time are you giving it? and have you enabled 2D/3D graphics in virtualboxes settings?
zacthespack said:
1GB should me move than enough, how much CPU time are you giving it? and have you enabled 2D/3D graphics in virtualboxes settings?
Click to expand...
Click to collapse
By cpu time do you mean how long its taking me? Its taken me like 1 hour just to get from the start of the vm to actually installing the files. It took like 20 min to boot up. And 30 min just to finish copying the files. And no i do not have the 3d and 2d accelerator enabled.
itzdarockz said:
By cpu time do you mean how long its taking me? Its taken me like 1 hour just to get from the start of the vm to actually installing the files. It took like 20 min to boot up. And 30 min just to finish copying the files. And no i do not have the 3d and 2d accelerator enabled.
Click to expand...
Click to collapse
No I meant how much of the CPU are you giving to the virtualmachine to use (i.e 50% of the time etc) and you should enabled 3/2D acceleration as I have always found it gives a big speed boost as it takes away the GUI load from the CPU, unless you have a really poor graphics card
zacthespack said:
No I meant how much of the CPU are you giving to the virtualmachine to use (i.e 50% of the time etc) and you should enabled 3/2D acceleration as I have always found it gives a big speed boost as it takes away the GUI load from the CPU, unless you have a really poor graphics card
Click to expand...
Click to collapse
Where do i find the cpu time and i do not have a poor graphics card i have amd Radeon Hd 6310 graphics. And thanks i will check that when i get home and i will tell you if it works good. Also are those times that i put normal?
itzdarockz said:
Where do i find the cpu time and i do not have a poor graphics card i have amd Radeon Hd 6310 graphics. And thanks i will check that when i get home and i will tell you if it works good. Also are those times that i put normal?
Click to expand...
Click to collapse
No not really which is why it sounds like the not enough CPU time it being giving to the virtual machine, I believe these settings are found in the system section of the settings for that virtual machine but I have not used virtualbox for a while so cant be sure. But you need to give it really atleast half maybe more if you dont plan on doing most in the host OS while the virtual machine is running
zacthespack said:
No not really which is why it sounds like the not enough CPU time it being giving to the virtual machine, I believe these settings are found in the system section of the settings for that virtual machine but I have not used virtualbox for a while so cant be sure. But you need to give it really atleast half maybe more if you dont plan on doing most in the host OS while the virtual machine is running
Click to expand...
Click to collapse
I think its called execution cap on system->processor because of the description. Im going to set it to 60% and see what it does.
EDIT: Still no good. I also cant find anything that has CPU time in it.
I've been looking around and i've noticed others are having problems with 12.04. I will try another version (9.04) and I will update on how it runs.
EDIT: I installed 9.04 and it ran perfectly fine with half the settings I used for 12.04. But sadly it cannot install git-core which is what im going for. Im going to try 10.10 now.
itzdarockz said:
I've been looking around and i've noticed others are having problems with 12.04. I will try another version (9.04) and I will update on how it runs.
EDIT: I installed 9.04 and it ran perfectly fine with half the settings I used for 12.04. But sadly it cannot install git-core which is what im going for. Im going to try 10.10 now.
Click to expand...
Click to collapse
Latest Ubuntu comes with the Unity UI which is very graphically intense.
You have two quick options:
- kill the Unity UI (can be disabled during boot/login screen)
- attempt to get the guest tools installed inside Ubuntu so it can tap into the power of the host PC's GPU/graphics card.
I'd try installing the guest tools in Ubuntu, it's usually either easy and a success, or a pointless nightmare.
To kill Unity UI just google for it with the exact version of Ubuntu you've got and the results should be plentiful. It's a common complaint with the latest version.
Lenovo think pad x120e
4GB ram
320 GB HDD
1.6GHz AMD E-350 dual core CPU
Or do I need to sell it and pay more money?
Sent from my One X using xda premium
mmapcpro said:
Lenovo think pad x120e
4GB ram
320 GB HDD
1.6GHz AMD E-350 dual core CPU
Or do I need to sell it and pay more money?
Sent from my One X using xda premium
Click to expand...
Click to collapse
Should be fine with the 4 gigs of ram, use ccache some decent swap, and you might need to shrink the java emulator size, also be sure to use 64 bit ics+
Here is a commit to help with the java emulator while building
https://github.com/CyanogenMod/android_build/commit/28573da93e0332a9b2cbeeb1d204ef9673172b2a
How about 2 gigs of ram ?? Will it work? Thanks in advance.
sent from my Galaxy W using XDA .
UltimHero said:
How about 2 gigs of ram ?? Will it work? Thanks in advance.
sent from my Galaxy W using XDA .
Click to expand...
Click to collapse
It might work. But very less chance of working in machines less than 4gigs of ram. 4gigs of ram would be the minimum configuration.
Sent from my Xperia Mini using xda app-developers app
I can go up to 8 gigs on this box. You think it would be worth throwing another 4gig stick in?
Sent from my One X using xda premium
mmapcpro said:
I can go up to 8 gigs on this box. You think it would be worth throwing another 4gig stick in?
Sent from my One X using xda premium
Click to expand...
Click to collapse
It's always worth maxing your memory you'll notice good performance gains and will speed up compile times significantly. 4 GB should be no more then $20-$40 so it's a great upgrade for the money
Sent from my SCH-I535 using xda premium
Thanks.
sent from my Galaxy W using XDA .
More RAM?
It should he just about enough to make a ROM, but I think you should install more RAM to your laptop, just in case.
RAM should be fairly easy to install...
Good luck on making your ROM!
2 GB RAM
Core i3 2.20 Ghz
500 GB
Win7 and andLinux installed
It should be no problem.
You see i am running Linux on my win7
Sent from my E15i using xda app-developers app
mpoendi said:
2 GB RAM
Core i3 2.20 Ghz
500 GB
Win7 and andLinux installed
It should be no problem.
You see i am running Linux on my win7
Sent from my E15i using xda app-developers app
Click to expand...
Click to collapse
You haven't got any problems cooking roms?
sent from my Galaxy W using XDA .
I have a 3Gb memory,250Gb hard drive Toshiba satellite laptop with home vista windows premium is this laptop good enough to build ROMs,kernels,apps,etc. Thanks in advance!!!
Sent from my HTC Sensation using xda app-developers app
Mesaman2012 said:
I have a 3Gb memory,250Gb hard drive Toshiba satellite laptop with home vista windows premium is this laptop good enough to build ROMs,kernels,apps,etc. Thanks in advance!!!
Sent from my HTC Sensation using xda app-developers app
Click to expand...
Click to collapse
In order to compile ROM's (AOSP from source) and kernels (From source) you will need to use a UNIX based operating system such as OSX or Linux, personally I would recommend dual booting your laptop with Ubuntu 11.10 to maximize compatibility for compiling ROM's and kernels. For making apps you can use either Linux or Windows, and I would recommend using the IDE Eclipse for Android app development. As far as actually building your hard drive is a little small and could run out of space if you intend on building a bunch of different ROM's and kernels (A full set of AOSP builds is 80+ GB), and with 3 GB of memory compile times, will be pretty slow (For example to compile an AOSP build of Android 4.2 for the Nexus 4 would probably take around 5-8 hours, kernels will take anywhere from 1-2 hours probably) also if your laptop only has a single or dual core processor this will also effect compile times.
O.k. thanks for your reply sir.so could you recommend a Linux computer that I should buy as long as what specs should I get as far as how much memory,hard drive,etc.and out of curiosity what would a computer like this cost me.I want to thank you for your time and expertise. Take care!!!
Sent from my HTC Sensation using xda app-developers app
Mesaman2012 said:
O.k. thanks for your reply sir.so could you recommend a Linux computer that I should buy as long as what specs should I get as far as how much memory,hard drive,etc.and out of curiosity what would a computer like this cost me.I want to thank you for your time and expertise. Take care!!!
Sent from my HTC Sensation using xda app-developers app
Click to expand...
Click to collapse
If your going to buy a pre-built computer with Linux pre-installed your options are limited in regards to what manufactures/boutique builders make desktops and laptops with Linux pre-installed. Here are a couple different configurations I came up with from System76 and ZaReason
Desktops
System76
Wild Dog Performance (wilp9)
Ubuntu 12.10 64 bit
5 Free GB of Ubuntu One Online Storage and Sync
3rd Generation Intel Core i5 3570K ( 3.40GHz - 6MB cache - 4 Cores )
16 GB – 4 x 4 GB - Crucial Sport Dual Channel DDR3
1 GB nVidia GeForce GTX 650
2.0 TB SATA III 6 Gb/s 64 MB Cache
2.0 TB SATA III 6 Gb/s 64 MB Cache
CD-RW / DVD-RW Dual Layer
Internal SD, Memory Stick, Compact Flash Card Reader
Internal PCI Express 802.11 bgn Wifi Card
1 Yr. Ltd. Warranty and 1 Yr. Technical Support
Total Cost: $1350
ZaReason
Limbo 5660
Linux Version: Ubuntu 12.04 LTS
CPU: i5-3570K 3.4 GHz
Desktop Memory: 8 GB DDR3-1600
Desktop Hard Drive Bay1: 500GB 7200rpm
Desktop Hard Drive Bay2: 500 GB 7200rpm
Optical Drive: CD-RW/DVD-RW
Sound Card: Intel HD Audio
PCI Networking: Gigabit Ethernet
Video card: Nvidia GT 630
Power Supply: 350 watts
Warranty: 1 year
Total Cost: $1,100
Laptop
ZaReason
Verix 530
Linux Version: Ubuntu 12.04 LTS - Most Popular
Ivy Bridge Processor: i7-3630QM 2.4-3.4 GHz, 4 cores, 8 threads 2.4-3.4 GHz GHz
Laptop Memory: 8 GB DDR3-1600
Video Card: Nvidia GT 650M 2GB
Laptop HD: 750GB, 7200 RPM
Optical Drive: CD-RW / DVD-RW
WiFi #ZWF: Intel® Centrino® Wireless-N
1st Battery: 6-cell
AC Adapters: 1
Card Reader: MMC/SD/MS
Bluetooth: Included
Webcam: 1.3 megapixels
Warranty: 1 year
System76
Lemur Ultra (lemu4)
Ubuntu 12.10 64 bit
5 Free GB of Ubuntu One Online Storage and Sync
14.1" 720p High Definition LED Backlit Display ( 1366 x 768 )
Intel HD Graphics 4000
3rd Generation Intel Core i7-3630QM Processor ( 2.40GHz 6MB L3 Cache - 4 Cores plus Hyperthreading )
8 GB Dual Channel DDR3 SDRAM at 1600MHz
750 GB 7200 RPM SATA II
United States Keyboard Layout
8X DVD±R/RW/4X +DL Super-Multi Drive
Intel Centrino Advanced-N 6235 - 802.11A/B/G/N Wireless LAN + Bluetooth Combo Module +$20.00
1 Yr. Ltd. Warranty and 1 Yr. Technical Support
Total Cost: $840
Now if your want to build your own linux desktop here is a recommended configuration:
PCPartPicker part list / Price breakdown by merchant / Benchmarks
CPU: Intel Core i7-3770K 3.5GHz Quad-Core Processor ($319.99 @ Newegg)
CPU Cooler: Cooler Master Hyper 212 EVO 82.9 CFM Sleeve Bearing CPU Cooler ($25.99 @ Newegg)
Motherboard: Asus Maximus V Gene Micro ATX LGA1155 Motherboard ($199.99 @ Newegg)
Memory: Corsair Vengeance LP 32GB (4 x 8GB) DDR3-1600 Memory ($149.99 @ Newegg)
Storage: Western Digital Caviar Blue 1TB 3.5" 7200RPM Internal Hard Drive ($86.98 @ Newegg)
Storage: Western Digital Caviar Blue 1TB 3.5" 7200RPM Internal Hard Drive ($86.98 @ Newegg)
Video Card: Gigabyte GeForce GTX 660 2GB Video Card ($217.55 @ Newegg)
Case: Antec DF-35 ATX Mid Tower Case
Power Supply: Corsair Builder 750W 80 PLUS Bronze Certified ATX12V / EPS12V Power Supply ($73.98 @ Newegg)
Optical Drive: Asus DRW-24B3ST/BLK/G/AS DVD/CD Writer ($29.98 @ Newegg)
Total: $1191.43
(Prices include shipping, taxes, and discounts when available.)
(Generated by PCPartPicker 2012-11-27 17:49 EST-0500)
With Ubuntu 12.04 LTS 64-bit (Make sure to select 64-bit from the download list). Let me know if you have any more questions.
Hey if I just wanted to build kernels my laptop would be alright wouldn't it.and are there any books,etc that you could recommend on building kernels.I want to start with small things like kernels and maybe apps. Thanks
Sent from my HTC Sensation using xda app-developers app
Mesaman2012 said:
Hey if I just wanted to build kernels my laptop would be alright wouldn't it.and are there any books,etc that you could recommend on building kernels.I want to start with small things like kernels and maybe apps. Thanks
Sent from my HTC Sensation using xda app-developers app
Click to expand...
Click to collapse
If your just building kernels and some apps then yes, your laptop should be fine. For kernel development it's important to at least have a solid understanding of C, the Linux Kernel, and embedded development for that I would recommend the following books:
Practical C Programming: 3rd Edition
Understanding the Linux Kernel Third Edition
Embedded Linux Primer: A Practical Real-World Approach (2nd Edition)
As far as book for app building goes make sure you understand Java and XML, I would check out these books:
Professional Android 4 Application Development
Head First Java (3rd Edition)
gouthamthemostwanted said:
It might work. But very less chance of working in machines less than 4gigs of ram. 4gigs of ram would be the minimum configuration.
Sent from my Xperia Mini using xda app-developers app
Click to expand...
Click to collapse
I do it with 1 gig of RAM and 18 gigs of SWAP. No joke
Enviado desde mi XT912
Guys i tried remix/Phoenix os and also android x86 Lp....
Lollipop roms never booted my pc...
My specs are amd sempron Tm 140 processor,with 3gigs of ram and Ati Radeon HD 3000 graphics..
Sent from my 2014818 using Tapatalk
Android x86 uses codes from the Intel project that happened a few years before. Thats why it has trouble running on anything not intel. Especially ATI and AMD series of CPU/GPU/whatever with these names on it. Even nVidia.
Hi!
I just recently decided to switch my AOSP build server because my old one was getting way too slow at building AOSP (it would take around 3~4 hours to build 6.0.1 with ccache). I upgraded from this:
Intel Core I3 2350M (4 cores, 4 threads)
8GB RAM
5400RPM HDD
To this:
Intel Core I7 6700HQ (4 cores, 8 threads)
16GB DDR4 RAM
5400RPM HDD
Unfortunately, after trying to freshly build CM13 for the oneplus one on my new system, it STILL took 3~4 hours to complete and I feel like this 5400RPM drive is completely bottlenecking my CPU. I wasn't hoping for any miracles to happen but I was aiming for a build time of around 1 hour...
Is this drive really destroying my CPU's performance?
Thanks for your feedback!
noahvt said:
Hi!
I just recently decided to switch my AOSP build server because my old one was getting way too slow at building AOSP (it would take around 3~4 hours to build 6.0.1 with ccache). I upgraded from this:
Intel Core I3 2350M (4 cores, 4 threads)
8GB RAM
5400RPM HDD
To this:
Intel Core I7 6700HQ (4 cores, 8 threads)
16GB DDR4 RAM
5400RPM HDD
Unfortunately, after trying to freshly build CM13 for the oneplus one on my new system, it STILL took 3~4 hours to complete and I feel like this 5400RPM drive is completely bottlenecking my CPU. I wasn't hoping for any miracles to happen but I was aiming for a build time of around 1 hour...
Is this drive really destroying my CPU's performance?
Thanks for your feedback!
Click to expand...
Click to collapse
Yes
Sent from my GT-S7580 using Tapatalk