[DEV][WIP]Building ICS for the OV

The Android Central Optimus V Community ICS Build Server is now up and running.
TDM is putting the finishing touches on it. I ended up working a lot last week, and caught a cold this week (yay), so it got delayed a bit.

I think I've got it pretty much ready. Android SDK, NDK, repo script, and most all the trimmings are installed. The default login has the SDK and NDK in the PATH and ccache is setup to be enabled and shared. Initial build of IHO gingerbread otapackage with a cold ccache took 23m44s. Nice! :)

Note: in order to properly share the ccache, users' main group should be "users". This can be done with the the -g option to useradd and verified by running "id" at a prompt.

I saved a snapshot of the IHO tree in /usr/local/src in hopes that it will save time and bandwidth when others setup their repos. I'm not sure how this will work out but I figured it was worth a shot since initial sync sucks down around 4gb of data, takes quite a long time, and can be rather temperamental. Note that gingerbread was the checkout branch so you'll need to switch branches to work on ICS.

Additionally, for those who want to use this box, I would strongly recommend using rsync to pull the files you build to your local machine. It will drastically cut down the time it takes to fetch files and save bandwidth as well. If you aren't familiar with rsync, there should be tons of info available on it, just use google.

For those maintaining their own Linux build machines: the process was made a bit challenging by the removal of the sun-java6-* packages from the official Ubuntu repos (google "ubuntu sun java license" for details). Looks like someone stepped up to the plate and wrote a nice script to automate installing these, see here: Flexion.Org Blog ? Install Sun Java 6 JRE and JDK from .deb packages ? Flexion.Org Blog I've placed the resulting deb packages (and some other goodies) in /usr/local/src on LeslieAnn's box so others won't have to go through that pain.

Finally, i'll let LeslieAnn announce the address of the box once she's satisfied that it's good to go.

Thanks again to LeslieAnn for her generous donation!
 
  • Like
Reactions: Jsadik
Device(s): Optimus V || Nook Color
ROM/Kernel: IHOCM7.2 || CM7 Nightlies
Theme: MIUI || ICS
My Next Device: Optimus Black? GNex?

Go here (Index of /android/Encore/Nightlies/CM9) for the latest CM9 Nightlies for the Nook. I'm running the new. Everything works great. That is where you go if you want to get some of that Ice Cream-y goodness in your Nook (nerd sultriness ;D). Anyways, That is the server hosted by Samiam303 of XDA. He also nightly builds the recovery and in the "Misc" section has GApps, a Boot Animation fix, and a Telephony fix which allows you to download apps that require phone-permission access.
 
So WHEN we get ICS on here is it goinggb to have the on screen soft keys? I haven't seen Amy devices with hard buttons running ICS yet. Not sure if that's a requirement or can be removed depending on device. It would kinda kill or real estate if its there.

Sent from my A100 using Tapatalk
 
So WHEN we get ICS on here is it goinggb to have the on screen soft keys? I haven't seen Amy devices with hard buttons running ICS yet. Not sure if that's a requirement or can be removed depending on device. It would kinda kill or real estate if its there.

Sent from my A100 using Tapatalk

I read those can be removed.
 
Go here (Index of /android/Encore/Nightlies/CM9) for the latest CM9 Nightlies for the Nook. I'm running the new. Everything works great. That is where you go if you want to get some of that Ice Cream-y goodness in your Nook (nerd sultriness ;D). Anyways, That is the server hosted by Samiam303 of XDA. He also nightly builds the recovery and in the "Misc" section has GApps, a Boot Animation fix, and a Telephony fix which allows you to download apps that require phone-permission access.

Ha! I actually built ICS myself for my nook, I just haven't updated that yet. Thanks for pointing that out!
 
Now that I've gotten a few IHO GB builds and tweaks under my belt and LeslieAnn has her awesome build server up and running, I'm ready to dip my toes into building ICS. Could someone bring me up to speed on how to setup, what's been done, what's working and not working, etc?

blarf said he thought his repo built and booted but I am seeing this:

Syncing work tree: 100% (233/233) error: revision refs/heads/ics in inferiorhumanorgans/vendor_lge_thunderc not found
 
I would go through this thread, and concentrate on bigsupersquid's posts. He documented alot of the work, especially early on. Most of the links should at least take you to the right area to find more current info on each project. The main issue is that ICS dropped without armv6 support, the links I mentioned will take you to several attempts at working that out, as well as various libs/binaries compiled for armv6.

I believe Blarf put it on hold till CM works out some of their kinks. Don't know of anyone attempting a vanilla aosp ics build for the OV at this point (I gave up when I found the lack of armv6 support, figure I might have to wait for CM9).
 
I would go through this thread, and concentrate on bigsupersquid's posts. He documented alot of the work, especially early on. Most of the links should at least take you to the right area to find more current info on each project. The main issue is that ICS dropped without armv6 support, the links I mentioned will take you to several attempts at working that out, as well as various libs/binaries compiled for armv6.

I believe Blarf put it on hold till CM works out some of their kinks. Don't know of anyone attempting a vanilla aosp ics build for the OV at this point (I gave up when I found the lack of armv6 support, figure I might have to wait for CM9).

Well, the thing I need first is a working code branch and lunch combo. I don't know what folks were using to start work earlier.

I've initted and synced a fresh copy of iho using ics for the branch name. The sync initially failed because vendor/lge/thunderc doesn't have an ics branch. blarf suggested using the gingerbread branch since it's proprietary binaries anyway, so I added revision="refs/heads/gingerbread" to the entry in .repo/manifests/default.xml.

Now on my lunch menu I don't see any VM670 entries. I do see cm_thunderc-eng but I figured that was unrelated.
 
Well, the thing I need first is a working code branch and lunch combo. I don't know what folks were using to start work earlier.

I've initted and synced a fresh copy of iho using ics for the branch name. The sync initially failed because vendor/lge/thunderc doesn't have an ics branch. blarf suggested using the gingerbread branch since it's proprietary binaries anyway, so I added revision="refs/heads/gingerbread" to the entry in .repo/manifests/default.xml.

Now on my lunch menu I don't see any VM670 entries. I do see cm_thunderc-eng but I figured that was unrelated.

I believe that Blarf was working with an eng build, but I don't think he committed all his changes. You probably should check Bob's repo as well, I believe he pulled in more stuff from various projects.
 
Oh, and a noob git question: when I use repo to checkout a branch, then go into an individual repo and run "git branch" it always says "* (no branch)" instead of showing me the branch that I checked out. And when I run "git status", it says "# Not currently on any branch". But running "git branch -a" shows something like this:

Code:
* (no branch)
  remotes/github/eclair
  remotes/github/froyo
  remotes/github/froyo-stable
  remotes/github/gingerbread
  remotes/github/gingerbread-release
  remotes/github/ics
  remotes/github/master
  remotes/m/gingerbread -> github/gingerbread

I thought that the branch I had checked out would be the current branch. What exactly is going on and what is git trying to tell me?
 
Repo is not perfect, but it's a huge time saver! ;)

Since you never performed an actual git init in that directory, it's not completely set up. Right after initial sync, go into the folder and do git checkout <branchname>, then add remotes, and commit as needed. If you are syncing your own repo, once you do a first push after syncing, you should have branches working properly. It's something to do with the head-master state, but it's beyond me to explain, I just kinda know how to deal with it. ;)
 
  • Like
Reactions: tdm
May need 'git checkout -b ics' since your local repo doesnt have that branch yet. Also 'gingerbread' and 'ics' branch names are case sensitive and has to match the remotes for pushing later. I just encountered this recently too.
 
Don't know if this falls under the cluttering, but what is working so far? I know we've got it booting, judging by the pictures, but do we have touch screen? Hw acceleration? Etc.

Sent from my Amazon Kindle Fire using Tapatalk
 

Trending Posts

Forum statistics

Threads
956,596
Messages
6,969,012
Members
3,163,581
Latest member
Adamsapple