• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

The "Linux questions (and other stuff)" thread

What device and did it finish?

Still building. Maybe I should switch to kernels so I don't blow up my poor laptop lol

Plain aosp for my nexus 7 right now just to make sure its all kosher and I have the process down.

Eventually I want to try to port it to the s3 or evo 4g lte for my own personal use. Will probably rely on much of cms work for that.
 
Still building. Maybe I should switch to kernels so I don't blow up my poor laptop lol

Plain aosp for my nexus 7 right now just to make sure its all kosher and I have the process down.

Eventually I want to try to port it to the s3 or evo 4g lte for my own personal use. Will probably rely on much of cms work for that.

Hmm, what's the specs of the computer?
 
Bought it a few years ago. Intel i5 @2.53 GHz x4

4 gigs of ram is what I thinks holding it back. Don't they recommend like 16gb for building ICS?
 
Bought it a few years ago. Intel i5 @2.53 GHz x4

4 gigs of ram is what I thinks holding it back. Don't they recommend like 16gb for building ICS?

That's about what I have. Takes about 2 hours or so to build, I believe. I'm also using ccache and I have a 4GB swapfile
 
OK so when I try to enable ccache anytime i reboot I get an unresponsive black screen. Clearly I'm not doing it right here.

What's the proper way to enable it, and how do I get Ubuntu to boot again?

Still mostly a Ubuntu noob here. I learn by messing up and figuring it out, but last time I couldn't figure it out and reinstalled the os

12.04 LTS
 
OK so when I try to enable ccache anytime i reboot I get an unresponsive black screen. Clearly I'm not doing it right here.

What's the proper way to enable it, and how do I get Ubuntu to boot again?
I don't know anything about ccache, so I can't help you there.

Still mostly a Ubuntu noob here. I learn by messing up and figuring it out, but last time I couldn't figure it out and reinstalled the os
:eek: No! No, no, no. :eek: With rare exceptions, no Linux distro should ever need to be reinstalled in order to fix problems. About the only time I ever suggest reinstalling is when a brand new installation is hopelessly screwed up, and the user has nothing to lose by just wiping the drive and starting over again. Other than that, it just shouldn't need to happen. This isn't window$. :D

You said you're getting an unresponsive black screen. Can you boot from a live CD?
 
Also, another thing: keep /home on a separate partition
Ok, so when I reformatted I put /home on its own partition like you suggested. However, I noticed for ccache...

Put the following in your .bashrc or equivalent.
export USE_CCACHE=1 By default the cache will be stored in ~/.ccache. If your home directory is on NFS or some other non-local filesystem, you will want to specify the directory in your .bashrc as well.
export CCACHE_DIR=<path-to-your-cache-directory>
Now how do I know the correct path to use for the partition? :confused:
 
Ok, so when I reformatted I put /home on its own partition
Good! That's the preferred way.

However, I noticed for ccache...
Put the following in your .bashrc or equivalent.
export USE_CCACHE=1 By default the cache will be stored in ~/.ccache. If your home directory is on NFS or some other non-local filesystem, you will want to specify the directory in your .bashrc as well.
export CCACHE_DIR=<path-to-your-cache-directory>
Now how do I know the correct path to use for the partition? :confused:
Assuming your home directory is in the default location, i.e., /home/YOUR_USER_NAME, then you don't need to specify anything, as you'll have /home/YOUR_USER_NAME/.ccache. It's only if you stuck your home directory in some other location, such as on a hard drive in another computer on your network [which would be REALLY weird!], would you need to specify its location. So just add the export USE_CCACHE=1 line to your ~/.bashrc file and you'll be good to go.
 
Awesome :)

Thanks for holding my hands through this guys ;)

Now I get to download source all over again tomorrow lol :thumbup:.
 
Alright guys,

I have 2 harddrives in my computer on with unbuntu and one with windows. and i cant for hell figure out how to get them both to boots and i choose witch one i want to boot into ?.. any help ?
 
Found this thread over on the Ubuntu forums that may be helpful. I don't really have experience with this particular situation as I really haven't dealt with desktops

Look at this too
 
Ok, turns out I wasn't using ccache when I did that two hour build. This time around, it's been building for about 35 minutes so far
 
When I rebooted this morning I got the black screen again. I donno what the deal is. If I hit the arrow key while its trying to boot itll show the command prompt and itll prompt me with a login, and after successfully logging in I can cd to all of my different directories and things but I think its having problems booting the actual graphics?

This is really starting to get on my nerves. I've reinstalled this thing twice now and it keeps happening.
 
Alright guys,

I have 2 harddrives in my computer on with unbuntu and one with windows. and i cant for hell figure out how to get them both to boots and i choose witch one i want to boot into ?.. any help ?
Just an FYI: You might want to add posts like this to the Linux questions thread. It helps keep all Linux-oriented stuff organized, plus it's more likely that certain people (like me!) will see your question. :D
 
Back
Top Bottom