Learning to code with Ubuntu

jonny5449

AC Citizen
Dec 14, 2011
2,553
286
0
Hi everyone I'm trying to learn to build from source
As I don't want it permanate I install on my USB thumb drive
How big does it need to be
I'm looking at 64 for 34 dollars
And 32 for 20 what do I need thx

Sent from my LG-LS670 using Tapatalk 2
 
The more the better naturally.. I would say no less than 50 gb for a build environment. Just syncing up to the Android repo is gonna take almost 30 gb of space.

I'm personally running a 500 gb partition for my build environment running a dual boot setup. Ubuntu 12.04/Windows 7 (500gb Ubuntu/500gb Win 7) from a 1 TB harddrive. I have 8 GB RAM on a Dual Core processor. Of course this is complete overkill for harddrive on my part.

RAM is always key for faster build times.
 
Then I'm gonna have to go with 64 flash drive
What about porting cyanogenmod

Sent from my LG-LS670 using Tapatalk 2
 
You can also try installing wubi, which is the windows installer for ubuntu. The max size of the root.disk is 30gb, but you can (if you read the wubi wiki) make a separate home.disk which can also be 30gb. And if you read deeper into the wiki and go to linked info sites, you can learn how to make root and/or home even larger.
 
You can also try installing wubi, which is the windows installer for ubuntu. The max size of the root.disk is 30gb, but you can (if you read the wubi wiki) make a separate home.disk which can also be 30gb. And if you read deeper into the wiki and go to linked info sites, you can learn how to make root and/or home even larger.

Yes but can I sync the repo and work on it off a 64 gb flash drive?

Sent from my LG-LS670 using Tapatalk 2
 
  • Like
Reactions: sellers86
Yes, Ubuntu and build environment will fit on 64GB
I have Ubuntu 64bit 10.04LTS with three separate build environments(gb, ics, and jb) and use 63.8GB

Jerry wrote up a good guide here: http://forums.androidcentral.com/optimus-v-rooting-roms-hacks/104423-building-your-own-rom.html
It's the third post down...post there if you have any issues setting up.

Amazing
Well will prolly get 64 tomorrow then
Time I learn to build from source
Also I have 32 bit cp which is net book will it still work?
Sent from my LG-LS670 using Tapatalk 2
 
Amazing
Well will prolly get 64 tomorrow then
Time I learn to build from source
Also I have 32 bit cp which is net book will it still work?
Sent from my LG-LS670 using Tapatalk 2

Not sure about jellybean, but ics and gingerbread build fine on 32bit.
 
It should but you are going to be looking at many hours to build, maybe overnight.

Sent from my Nexus S 4G using Tapatalk 2
 
It should but you are going to be looking at many hours to build, maybe overnight.

Sent from my Nexus S 4G using Tapatalk 2

I can do overnight I got 155 episodes of American dad
On the guide it just shows syncing and building how do I change code
Asking because I'm going to build off cm9 source
How would I sync that repo and make changes to it

Sent from my LG-LS670 using Tapatalk 2
 
I can do overnight I got 155 episodes of American dad
On the guide it just shows syncing and building how do I change code
Asking because I'm going to build off cm9 source
How would I sync that repo and make changes to it

Sent from my LG-LS670 using Tapatalk 2

Probably should start with gb cm7 then once you feel more comfortable building you can try moving on to cm 9/10

Tapatalk'n it from my VM670 running Kool-Blue_2.3.3_V2.3 on LS670ZVJ Baseband
 
Building with a 32 bit cpu, sure it will probably build it will just be slow and take quite awhile.

The original specs in which Google threw down for requirements to build ICS and JB were far overblown.. So many people have built with much less than they initially required.

Editing from source.. If you ever decompiled an apk or framework-res.apk in Windows to mod or edit using Notepad ++ its not that much different doing so in source/Linux environment. You make your edits using a Linux editor, then attempt a build.. It will error out if things don't gel perfectly and it will give you a basic idea of where to look at for the error or errors. From there its all trial and error and your own skill level of working in source.. Keep trying until it builds successfully, then flash and see if it all works :)
 
Building with a 32 bit cpu, sure it will probably build it will just be slow and take quite awhile.

The original specs in which Google threw down for requirements to build ICS and JB were far overblown.. So many people have built with much less than they initially required.

Editing from source.. If you ever decompiled an apk or framework-res.apk in Windows to mod or edit using Notepad ++ its not that much different doing so in source/Linux environment. You make your edits using a Linux editor, then attempt a build.. It will error out if things don't gel perfectly and it will give you a basic idea of where to look at for the error or errors. From there its all trial and error and your own skill level of working in source.. Keep trying until it builds successfully, then flash and see if it all works :)

The main problem will be that building android from source using 4.0+ requires a 64-bit CPU for some reason.

Jonny, do you know what Atom you have? My netbook has an N450 and it's 64-bit. Also if you're using WUBI it will automatically download the correct architecture.

Sent from my LG-LS670 using Android Central Forums
 
The main problem will be that building android from source using 4.0+ requires a 64-bit CPU for some reason.

Jonny, do you know what Atom you have? My netbook has an N450 and it's 64-bit. Also if you're using WUBI it will automatically download the correct architecture.

Sent from my LG-LS670 using Android Central Forums

Intel? Atom? processor N270 (1.60 GHz, 533 MHz FSB, 512 KB L2 cache)
Does that help

Sent from my LG-LS670 using Tapatalk 2
 
Intel? Atom? processor N270 (1.60 GHz, 533 MHz FSB, 512 KB L2 cache)
Does that help

Sent from my LG-LS670 using Tapatalk 2

Thanks, I looked it up and can confirm 32-bit.. not sure if it's just AOSP that requires the 64-bit so CM10 might be possible on a 32-bit.


Edit: Well according to this, it's a requirement for CM10 as well..
http://www.kernel-xp.net/index.php/en/guide/25-android/32-build-cm10

I would totally build you a CM10 base ROM using the "LG Android Coding" github source if it weren't that for some reason, repo won't finish downloading it for me. (I was gonna try earlier for a ParanoidAndroid 1.95 port.)

Sent from my Nexus 7 using Android Central Forums
 
Thanks, I looked it up and can confirm 32-bit.. not sure if it's just AOSP that requires the 64-bit so CM10 might be possible on a 32-bit.


Edit: Well according to this, it's a requirement for CM10 as well..
http://www.kernel-xp.net/index.php/en/guide/25-android/32-build-cm10

I would totally build you a CM10 base ROM using the "LG Android Coding" github source if it weren't that for some reason, repo won't finish downloading it for me. (I was gonna try earlier for a ParanoidAndroid 1.95 port.)

Sent from my Nexus 7 using Android Central Forums

Ah its OK I'm still confused with all this source build stuff
Today I will set up build enviorment on Ubuntu then sync repo of iho

Sent from my LG-VM670 using Tapatalk 2
 
How should I install Ubuntu to thumb drive and have save all data after reboots?

Sent from my LG-VM670 using Tapatalk 2