Last Updated: Aug 09,2016
Building from source for the first time now, oh snap
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.
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?
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
I have 4 gigs of swap as well. I didn't setup ccache, so that could be part of it.
Yeah, I'd recommend setting that up
Its still going, this is getting ridiculous lol
Oh poo, its done!
Don't forget to back up before flashing!
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
Also, another thing: keep /home on a separate partition
Yeah that's what I tried to use the first time
Edit:figured it out
I don't know anything about ccache, so I can't help you there.
No! No, no, no. 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$.
You said you're getting an unresponsive black screen. Can you boot from a live CD?
Ok, so when I reformatted I put /home on its own partition like you suggested. However, I noticed for ccache...
Now how do I know the correct path to use for the partition?
Good! That's the preferred way.
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.
Thanks for holding my hands through this guys
Now I get to download source all over again tomorrow lol :thumbup:.
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.
installation - My computer boots to a black screen, what options do I have to fix it? - Ask Ubuntu
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.
Separate names with a comma.