09-24-2012 02:05 AM
56 123
tools
  1. mczimi's Avatar
    thats a known issue, a couple of posts down the OP is a link to a possible fix.

    Sent from my DROIDX using Tapatalk
    Thanks! My Ubuntu partition has just failed on me but when I get it back up ill give it a shot
    01-05-2012 03:29 PM
  2. Snylter's Avatar
    for the life of me, I can't figure out how to get the repo to sync on my macbook... no matter what version of ubuntu is running, it errors out or freezes.... so its building on my core i7 now... started 7:28pm eastern.

    I had the same problem with my virtual Ubuntu running in Windows..
    It was because of NAT, when I switched the Network card to Brigded, this worked just fine!
    01-06-2012 03:26 PM
  3. makeotapackage-j4's Avatar
    Jerry- First of all, this guide is really phenomenal. No joke. You really have a true knack for walking a beginner's mind through a seemingly chaotic procedure, and making it less intimidating by speaking direct, and on-level with the reader.(as opposed to some Internet tutorials, where an author is clearly writing in a format that serves their own ego, and couldn't care less how it might translate to someone a bit less savvy.)........ So thanks for the careful work and dedication you put in this.
    To get to my point...I actually have a question.(this might shock those who know me around here, or from XDA, due to the fact that I have never really, formally asked for help, lol.)
    I have successfully compiled ICS for the Crespo4g, and it built correctly, I believe.. however, I have a couple nagging "issues". The first and most important question I have is: The ota package that I built is very much like a CyanogenMod ota-flashable, in that it has included only the core OS/kernel.. Theres no Gapps of any kind, not even the market. Now, this isn't shocking to me, as I'm obviously familiar with the agreement between Google and CyanogenMod. What confuses me, is there doesn't appear to be an instruction set anywhere that explains how to compile a Gapps package separately,or how to compile and merge the official apks with the base OS package. I tried flashing the newest Gapps, however the market fails every time I attempt to update any google app, as well as most non-google apps too. If I had to guess, I'd assume that it's because the signatures are different between the Gapps and my personally signed build, therefore causing conflict. If thats the case..then we're brought back to my main question: Where do I get official google apks to merge into my build, and how can I do it?
    Second question is small ...My core build has everything working flawlessly within it, except for one stupid thing. The keyboard. Its spelling correction/suggestion setting does not work, no matter what. Everything is underlined in red, as if it were misspelled. I remember this being an issue around the time Kwiboo/Koush started pumping out their early, unofficial builds of ICS,and I think it was resolved pretty quickly. You have a Nexus S Jerry, and you ran the early ICS builds; Do you have any insight on this possibly being an error in my compiling, or do you think this is a native issue residing within the ICS source code? If anyone else has built AOSP ICS, and has had this problem, but fixed it, please give me a shout-out on how you achieved thats.
    And those are my two gigantic questions....Any insight offered would be immensely appreciated! Thanks for reading my book!
    JkdJedi likes this.
    01-06-2012 03:43 PM
  4. JkdJedi's Avatar
    Jerry- First of all, this guide is really phenomenal. No joke. You really have a true knack for walking a beginner's mind through a seemingly chaotic procedure, and making it less intimidating by speaking direct, and on-level with the reader.(as opposed to some Internet tutorials, where an author is clearly writing in a format that serves their own ego, and couldn't care less how it might translate to someone a bit less savvy.)........ So thanks for the careful work and dedication you put in this.
    To get to my point...I actually have a question.(this might shock those who know me around here, or from XDA, due to the fact that I have never really, formally asked for help, lol.)
    I have successfully compiled ICS for the Crespo4g, and it built correctly, I believe.. however, I have a couple nagging "issues". The first and most important question I have is: The ota package that I built is very much like a CyanogenMod ota-flashable, in that it has included only the core OS/kernel.. Theres no Gapps of any kind, not even the market. Now, this isn't shocking to me, as I'm obviously familiar with the agreement between Google and CyanogenMod. What confuses me, is there doesn't appear to be an instruction set anywhere that explains how to compile a Gapps package separately,or how to compile and merge the official apks with the base OS package. I tried flashing the newest Gapps, however the market fails every time I attempt to update any google app, as well as most non-google apps too. If I had to guess, I'd assume that it's because the signatures are different between the Gapps and my personally signed build, therefore causing conflict. If thats the case..then we're brought back to my main question: Where do I get official google apks to merge into my build, and how can I do it?
    Second question is small ...My core build has everything working flawlessly within it, except for one stupid thing. The keyboard. Its spelling correction/suggestion setting does not work, no matter what. Everything is underlined in red, as if it were misspelled. I remember this being an issue around the time Kwiboo/Koush started pumping out their early, unofficial builds of ICS,and I think it was resolved pretty quickly. You have a Nexus S Jerry, and you ran the early ICS builds; Do you have any insight on this possibly being an error in my compiling, or do you think this is a native issue residing within the ICS source code? If anyone else has built AOSP ICS, and has had this problem, but fixed it, please give me a shout-out on how you achieved thats.
    And those are my two gigantic questions....Any insight offered would be immensely appreciated! Thanks for reading my book!
    Not to discourage you from trying but if all else fails... http://forums.androidcentral.com/spr...d-01-02-a.html
    01-07-2012 12:58 PM
  5. makeotapackage-j4's Avatar
    Not quite what I'm looking for, lol; but nonetheless I appreciate the link, as I'm not one to turn down a good Beezy rom
    Seriously though, that's not discouraging at all. In fact, I'm very patiently working on this, and I'm just thankful that I even completed the core package with total success. Every time I get something right, it makes me wanna learn to do more&more. Now, I just need to learn how to tie it all up into a neat little package with all signing/key-usage compatibilities intact
    Anyone who is willing to work with me would be appreciated beyond measure. I learn fast, and have other skills to offer.
    Thanks!
    01-08-2012 08:43 AM
  6. JkdJedi's Avatar
    Not quite what I'm looking for, lol; but nonetheless I appreciate the link, as I'm not one to turn down a good Beezy rom
    Seriously though, that's not discouraging at all. In fact, I'm very patiently working on this, and I'm just thankful that I even completed the core package with total success. Every time I get something right, it makes me wanna learn to do more&more. Now, I just need to learn how to tie it all up into a neat little package with all signing/key-usage compatibilities intact
    Anyone who is willing to work with me would be appreciated beyond measure. I learn fast, and have other skills to offer.
    Thanks!
    I'm too lazy to read through some books available for us noobs but if it'll help others then .....


    http://dl.dropbox.com/u/11232883/And...evelopment.pdf
    http://dl.dropbox.com/u/11232883/And...mers_guide.pdf
    http://dl.dropbox.com/u/11232883/And...2-mar-2010.pdf
    http://dl.dropbox.com/u/11232883/And...t-platform.pdf
    makeotapackage-j4 likes this.
    01-08-2012 12:13 PM
  7. Snylter's Avatar
    I've compiled an AOSP build (4.0.3) with Google apps and Market..
    Now, I'm struggling with GPS, it simply doesn't work..
    Any idea?

    Is this a known issue?
    01-13-2012 10:17 AM
  8. LifeBeginsFriday's Avatar
    Not sure about the GPS... its working on my build. I'm hoping someone can tell me what I'm missing trying to access su... permission denied! I built full Toro user debug which includes su.. when it didn't work I flashed an su.zip which replaced the su and installs superuser.apk. bellow is the log at of when I attempt to access su:

    E/su (17526): sudb - Opening database
    E/su (17526): sudb - Database opened
    E/su (17526): sudb - Database closed
    V/alogcat (17464): resumed
    I/ActivityThread(17551): Pub com.google.android.calendar.CalendarRecentSuggestionsProvider: com.android.calendar.CalendarRecentSuggestionsProvider
    I/ActivityManager( 179): No longer want com.noshufou.android.su (pid 16895): hidden #16
    E/su (17526): select failed with 2: No such file or directory
    W/su (17526): request rejected (10073->0 /system/bin/sh)

    I'm running an insecured
    boot.img that I made from my compiled img which I know is working because I can now adb remount. Adb shell also shows I'm @root # or however its printed.. any help would be appreciated!
    01-13-2012 11:56 AM
  9. makeotapackage-j4's Avatar
    I've compiled an AOSP build (4.0.3) with Google apps and Market..
    Now, I'm struggling with GPS, it simply doesn't work..
    Any idea?

    Is this a known issue?
    I'm still very new to building, however, I might be able to point you in the right direction. I have successfully contacted a couple extremely generous developers lately, in hopes of learning more about the post-compiling process, and I've learned a bit more.
    In regards to your question: One thing I have learned more about, is the central importance of editing the build.prop file. Since I was compiling for a targeted build device, (the crespo4g) I was under the naive assumption that the build.prop would generated with everything I needed. I was wrong..
    My suggestion for you, would be to download a fully working custom build of the most recent Toro release, if you don't have one available already. Open it up, and get the build.prop file from it..
    Now, open your ROM in it's current state ,and get the build.prop from it as well. Have both build.props open side-by-side on your screen. I suggest you carefully study every difference between yours and the one from the known-working build. Think about each difference you find very carefully, and come to a conclusion about the reason for it.(ex. The date on the build.props is different..you can safely rule that out as something that needs changing, as it has no bearing on the functionality of your features ) The place where you're likely to find critical differences (if any) is towards the bottom of the build.prop. Are there any Google Maps permission lines written on it, that you don't have included on yours? Are there any "google-service" related permission lines on yours at all?
    Start there- with the build.prop comparison, paying special attention to any lines that give permissions for a service. This task will likely reveal something of significance to you, and even if it doesn't- it will help rule out that possibility, and you can move onto another.
    I hope this something I've said makes sense. lol. Post a reply on how that goes, if you think of it. It could help another reader.. Good luck! (seriously....s**t ain't easy, lol)
    01-13-2012 01:00 PM
  10. Snylter's Avatar
    Thanks, I will try this during the weekend
    The weird thing is that the widget says the GPS is on, the same thing in the menu..
    But all programs reports that GPS is off..

    Thanks for your tip about this issue
    01-13-2012 02:02 PM
  11. adam80460's Avatar
    Is there a guide that shows how to add ChainsDD SU to the source so it will build with aosp?
    01-14-2012 01:38 PM
  12. Snylter's Avatar
    I've tried to compare build.prop-files. (The original from stock 4.0.2 with the one from my AOSP)
    I didn't find anything there that can explain why my gps is dead.

    It works just fine in 4.0.2, but not in my aosp..
    I've also tried to compile the aosp all over again, with the same result..
    01-14-2012 07:09 PM
  13. Snylter's Avatar
    I was told on xda that I need some files for the GPS and the Camera to work..
    Any suggestions for where to find them? I've tried some googling..
    01-15-2012 06:48 AM
  14. Snylter's Avatar
    Yes, I'm then running AOSP 4.0.3 with everything working just fine

    I extracted the drivers from the phone as instructed at this webpage:
    http://www.franziroesner.com/blog/20...-galaxy-nexus/

    I did a build with the proprietary binaries and the google binaries first.

    Then I extracted GAPPS in to the correct place in the out-folder by using the script in the package in a slightly modified version for my system.
    I put the Market.apk in to /out/target/product/maguro/system/app
    I put the Superuser.apk in the same location.

    I put su in to /out/target/product/maguro/system/xbin

    I then did a make snod

    Finally, I made an zip-file for use with fastboot, and flashed my phone.

    This gave me a fully functional 4.0.3 with root
    01-16-2012 06:31 AM
  15. jaydorsey's Avatar
    I just finished building on my MBP in a VM running Ubuntu 10.04LTS. It took about 45 mins, which I thought was shockingly fast (maybe not since the VM has 4GB of my RAM and a 16GB swap). If you are a Mac user and want to build in MacOS - don't... seriously, save yourself a night and just set up a dual boot or a VM.

    I have a question though, I got the build working with a data connection but the camera isn't working. I learned so far that it requires a proprietary driver that isn't open sourced, so what should I be looking for to get that piece working?
    01-28-2012 01:13 PM
  16. JkdJedi's Avatar
    I just finished building on my MBP in a VM running Ubuntu 10.04LTS. It took about 45 mins, which I thought was shockingly fast (maybe not since the VM has 4GB of my RAM and a 16GB swap). If you are a Mac user and want to build in MacOS - don't... seriously, save yourself a night and just set up a dual boot or a VM.

    I have a question though, I got the build working with a data connection but the camera isn't working. I learned so far that it requires a proprietary driver that isn't open sourced, so what should I be looking for to get that piece working?
    I think there's a mention of a link somewhere in this thread that addresses this.

    Sent from the future on my Samsung Galaxy S 3!
    01-28-2012 01:25 PM
  17. jaydorsey's Avatar
    I think there's a mention of a link somewhere in this thread that addresses this.

    Sent from the future on my Samsung Galaxy S 3!
    oops... guess I missed that. I'll go back and look... thanks!
    01-28-2012 01:33 PM
  18. Snylter's Avatar
    Is 4.0.4 available yet?
    I heard some rumors stating that the LTE-version will get 4.0.4 OTA these days..
    I would like to build an AOSP 4.0.4 for my GSM Galaxy Nexus..
    02-06-2012 05:21 AM
  19. makeotapackage-j4's Avatar
    Is 4.0.4 available yet?
    I heard some rumors stating that the LTE-version will get 4.0.4 OTA these days..
    I would like to build an AOSP 4.0.4 for my GSM Galaxy Nexus..
    The 4.0.4 release is only a leak as of now and I don't believe that Google has ever officially confirmed, nor denied this build's existence. I have been using the 4.0.4 leak on my Nexus S 4G for almost a week, and it does seem ready for release, however.. nobody (except insiders, of course) can speak with much certainty as to what Google's intentions behind this build number are. It could be just one of many test builds that will never see the light of day. The possibilities are endless. One thing I can say for sure though, is that the source has not been made public yet. Whether or not 4.0.4 even pans out, I wouldn't worry about it. Nothing stands out about it, so you're not missing anything noticeable..Just keep building, and good luck
    02-07-2012 11:35 AM
  20. Zottig's Avatar
    I have a 4G Xoom and have been wondering why ICS hasn't officially come out yet.

    When I read Jerry's excellent instructions, it almost seems too easy and given there is no OEM bloatware... why isn't it out yet if compiling is this easy?

    Then I wonder why so many ROMs for the Xoom have one thing or another that still doesn't work. I guess I am confused what benefit there is in waiting on the real build of ICS for the Xoom. I've stayed away from an AOSP build because I don't want half of the tablet's functionality lost and I figure if people smarter than me can't get it 100%... well that's why I've been waiting rather than doing the AOSP thing. But this makes it sound like it'll just work because it's a Google Experience Device.

    So I guess I am confused as to what is "lost" if you roll your own. And if the answer is nothing, then why are so many ICS builds for the Xoom hobbled in one way or another?



    Ben
    02-09-2012 08:53 AM
  21. divya26987's Avatar
    Thanks for ur wonderful guide.

    I am building ICS for samsung galaxy I7500 as per this wiki page

    Building - ics4gaosp - How to compile ics4blade with aosp sources - port of the android open source project (aosp), ice cream sandwich (android 4.0) version on the samsung galaxy (I7500) - Google Project Hosting

    but i'm getting this error
    The following variables have been changed: PRODUCT_COPY_FILES. Stop.

    any help is highly appreciated.
    thank u
    03-07-2012 01:31 AM
  22. miltonlie's Avatar
    Hello AOSP fans, did anyone else get this to build yet? I was able to successfully compile it and flash the 4.0.3_r1 tag to my LTE Galaxy Nexus. It boots up and connects to Wifi, however no cell service. It appears to be missing drivers for the LTE radio and possibly bluetooth.

    Found this thread that describes how to pull the proprietary binaries from a stock LTE Nexus.

    CDMA Binaries - xda-developers

    So far I can't get this to work though... when I rebuild after running the extract script I get an image that causes my phone to get stuck at the Google logo.

    Would be very interested to hear if anyone has gotten further.

    Andrew
    Got same issue. Anybody had any luck with Verizon Galaxy Nexus device?
    03-12-2012 04:14 PM
  23. androidg33k's Avatar
    I am confused too, and would appreciate it if someone could explain this. I can see why rolling your own build has issues with non google experience devices due to the unavailability of binaries for hardware support. But since those are readily available for all google experience devices including XOOM and Nexus S (Binaries for Nexus Phones and Flagship Devices - Google Support for Nexus Phones and Flagship Devices - Google Code), what is it that's preventing an AOSP build to work properly?

    I have a 4G Xoom and have been wondering why ICS hasn't officially come out yet.

    When I read Jerry's excellent instructions, it almost seems too easy and given there is no OEM bloatware... why isn't it out yet if compiling is this easy?

    Then I wonder why so many ROMs for the Xoom have one thing or another that still doesn't work. I guess I am confused what benefit there is in waiting on the real build of ICS for the Xoom. I've stayed away from an AOSP build because I don't want half of the tablet's functionality lost and I figure if people smarter than me can't get it 100%... well that's why I've been waiting rather than doing the AOSP thing. But this makes it sound like it'll just work because it's a Google Experience Device.

    So I guess I am confused as to what is "lost" if you roll your own. And if the answer is nothing, then why are so many ICS builds for the Xoom hobbled in one way or another?



    Ben
    03-14-2012 02:26 PM
  24. datzstr8's Avatar
    Hi,

    thanks for the tutorial. I was able to build my first aosp ics ROM with your help. I have one question. I would like to make the kernel insecure. Does the aosp source include the kernel or does it download prebuilt kernels? I just need to know so I can look elsewhere for the kernel source. Couldn't find any source when I searched in the aosp directories.

    thanks.
    03-20-2012 11:17 PM
  25. harrisonford265's Avatar
    Thanks for the help and really a nice post being shared.
    04-16-2012 07:58 AM
56 123
LINK TO POST COPIED TO CLIPBOARD