Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Page 1 of 14 1234 ... LastLast
Results 1 to 25 of 339
Like Tree112Likes
  1. Thread Author  Thread Author    #1  
    bigsupersquid's Avatar
    o_O

    Posts
    1,654 Posts
    ROM
    bigsuperROM_os2sd

    Talking [DEV][WIP]Building ICS for the OV

    ok, to reduce clutter in blarf's building your own rom thread, I'm starting a new one here.
    I'll import whatever info I recognize from over there, to get it all together in one place.

    please minimize the cruft comments, like
    'woo ICS! Go devs!'
    'I can't wait to flash this'
    'Is there a ROM yet?'

    Any technical comments or suggestions are welcome.

    This is still at too much of a WIP stage to put it on XDA or I'd do this over there... users there seem to mostly either be total noobs or grouchy devs. I'm still halfway between those phases myself so I fit in better over here.

    Second post will have quotes, containing relevant links to what has been figured out so far.
    Third reserved for any new info.
    Thanks tons to Blarf for providing me enough info about the build system with his IHO thunderc folders to get me started on rom-building from source! Yay Blarf!
    Thanks to JerryScript, mrg666, and BobZhome for invaluable pointers along the way while I've been getting educated, and for providing motivation with such excellent work of their own on IHO.
    Thanks to Asadullah for helping keep me motivated with parallel progress!
    Also thanks to the many xda devs putting up info to share with everyone. I've tried to credit them in the posts which, um, "borrow" their tricks, tips, git, etc.
    Last edited by bigsupersquid; 11-21-2011 at 11:13 AM.
    keep the wife happy with my dev time:
    donate!
    the THANKS button is quite acceptable if you're as stingy as me, too.
    Thanked by 25:
    + Show/Hide list of the thanked
  2. Thread Author  Thread Author    #2  
    bigsupersquid's Avatar
    o_O

    Posts
    1,654 Posts
    ROM
    bigsuperROM_os2sd

    Default Re: [DEV][WIP]Building ICS for the OV

    Quote Originally Posted by bigsupersquid View Post
    back around to ics, there's a good info thread here, at xda for the hero... also an armv6 (though different variant) and they've put how to workaround the webrtc assembly errors among other things.

    edit: there was some mention of errors with llvm over there, but so far my armv5te-vfp based build has gotten past that point without glitches (using a lightly modified device_lge_thunderc folder from iho and a patched-up device_lge_products folder roughly based on the iho android_vendor_cyanogen folder.). hopefully I won't have to wait until tomorrow morning to see the result...
    probably should've stuck with generic_armv5 to test the build, but why not just jump in with both feet before testing the water temperature?
    Quote Originally Posted by asadullah View Post
    Alright so I'm running Ubuntu 11.10 64 bit I repo synced and tried to do a straight generic build. Well after about ten minutes or so it would stop building on this error
    Code:
    <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by
    default]
    Of course I'm like wtf but I found an answer on google source to help fix the problem go into the folder
    ~/android/icecream/build/core/combo and open HOST_linux-x86.mk scroll down to line 56 and change it from this
    Code:
    HOST_GLOBAL_CFLAGS += -D_FORTIFY_SOURCE=0
    to this
    Code:
    HOST_GLOBAL_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
    Quote Originally Posted by bigsupersquid View Post
    mine's gotten all the way into webkit now before crashing with a new error (google says it's related to the wrong cpu or something like that)

    I haven't googled up any solution for that yet. So I'm still stalled out for now.
    But I haven't gotten many of the errors I've read about, like libaudio problems or that FORTIFY_SOURCE error, at all, which is odd... may be related to using debian instead of ubuntu.

    edit:
    sweet.
    disabling JIT moves the build on. Fix it later after getting a complete compile with whatever else it takes to be removed, like webrtc...
    In BoardConfig.mk, change the JIT stuff to:
    Code:
    WITH_JIT := false
    ENABLE_JSC_JIT := false
    #JS_ENGINE := v8
    edit again: there's one file, JIT.h or .cpp (I forget) that I had to comment out two lines to compile (66 and 67 if I remember right.) Figured it didn't matter too much since the JIT was supposed to be disabled anyway, but they're a major part of the jit functionality if I read the comment right.

    also had to include lupohirp's fix for libaudio from the xda p500 ics thread, it worked for me to finish a build after the other changes.
    Quote Originally Posted by bigsupersquid View Post
    so, it compiled completely, both generic_armv5 and my tweaked thunderc, but they both still had whatever glitch I've been getting with building aosp that makes the binaries not runnable. install into /system, permissions all look right with ls -al, won't run anything though, except init in ramdisk.
    (it's huge by the way, over 90 MB system.img)
    to check it out, I:
    add busybox from xionia cwma while booted into recovery for /system/bin/sh:
    mount system
    Code:
    cp -p /sbin/busybox /system/xbin/busybox
    rm /system/bin/sh
    ln -s /system/xbin/busybox /system/bin/sh
    and add adbd to /sbin in ramdisk
    then it boots to being recognized by adb, and can use busybox to examine dmesg and ps in the adb shell.
    nand mounted fine by init.
    no logcat.
    says 'init:cannot read /system/bin/installd' and etc. in dmesg after setting up devices and mtd.
    can use the recovery's busybox in /system, but other binaries say 'x: not found' even though 'busybox ls' shows them.
    and if it's building for the wrong chipset or something, why does init run?
    frustrating. I've gotten one generic aosp gingerbread build out of 10 to boot up with a good boot.img. none so far with the ics except for those abortive boots where it fails to run the /system binaries.

    I'm sure it's some kind of install or permissions error. I can adb push /system completely from gb or ics build folder while android is running on the phone, and run toolbox and such afterwards in adb shell, but a reboot doesn't work after that (and ICS stuff over CM7 causes all kinds of FCs in the running UI after the push, where GB doesn't; but no surprises there.)
    I've tried the recovery fix permissions function too, no dice.
    Wish I still had fastboot access, that seems to be an easy way around the permissions issue from what I've googled.
    Next will try 'make otapackage' and see if it installs that way. Ugh.
    found a better variant, make updatepackage. no, that just makes a userdata zip. bah humbug. back to the dangerous otapackage... either gotta fix build/core/Makefile to not include recovery or just remember to be careful and remove the recovery from the zip before flashing.
    otapackage was what I originally wiped out my first OV with, stupid install-recovery.sh
    Quote Originally Posted by asadullah View Post
    So I been reading the cdma hero section ics thread on xda and one of the guys said that he synced with the master branch where as i used the "android-4.0.1_r1" branch. Is that why I'm getting errors? What has everyone else synced?
    Here's my setup fresh install ubuntu 11.10 (today) 64bit no other repos or branches (currently repo syncing hoping things change) Should I get the master branch? Is anyone else using ubuntu 11.10? who shot J.R ?

    Okay I just thought about it. I've built gingerbread and froyo from source on 11.04 but if anyone feels different please let me know.
    Quote Originally Posted by bigsupersquid View Post
    I'm using android-4.0.1_r1 branch.
    debian squeeze, gcc 4.4
    I can get a complete compile for generic_armv5 and modded thunderc, but neither one outputs any binaries that will run on my phone (#@#$#&!@#) except for in the ICS ramdisk (init seems to work, parses init.rc and mounts MTD partitions and everything, but then can't run anything from /system according to dmesg.)
    I had the same problem with AOSP GB and CAF GB. Every now and then I get working binaries. I don't know what I'm fouling up. Never had any issues with working binaries on CM7.
    My repo synced night before last was able to build generic_armv5 without errors after patching in lupohirp's libaudio folder and some other fixes I've documented earlier in the thread here.
    But nothing built fresh except for init will run on the phone. After boot or from adb shell in recovery.
    I even tried an otapackage to make sure the permissions were set right in /system, didn't make a bit of difference. Partial boot, kernel works, init works, patched-in adbd and busybox from xionia cwma work, nothing else works.
    &%^$@&^*#!!!!
    Quote Originally Posted by bigsupersquid View Post
    WOOO!
    Dunno exactly what I did, but I have a boot to the android logo and logcat with an incomplete build pushed through adb!
    Of course it doesn't completely boot, since it's not all there yet (the build is only a couple hours in of the 5-9 hrs it takes my machine to make this pile!) but am I tickled pink right now.
    I'm watching like 3 different xda threads on building right now, the hero is one.
    I've picked fixes from all of them, some I'm still using, some I'm trying now, some I've discarded. Currently:
    build directory removed except for .repo, and repo synced again this afternoon.
    Lupohirp's libaudio, andy572's dalvik and armv6k, spl-inl.h and copybit.h from https://github.com/TeamICS/ICS_Fixes
    anything else I've forgotten dunno if the webrtc and armv6k-vfp stuff is working yet except I think it's gotten well past the dalvik.
    also
    export USE_CCACHE=1

    and something about using pipes instead of pages by Shelnutt2:
    export CFLAGS="$CFLAGS -pipe"
    export CXXFLAGS="$CXXFLAGS -pipe"

    also
    make clobber
    between failed build attempts

    right now the thing I've got working is a knock-off of the generic_armv5 I copied in build/target/product and /build/target/board, renamed as generic_armv6, the only change (other than renaming all the generic_armv5 as generic_armv6, filenames and in the files) is in /build/target/board/generic_armv6/BoardConfig.mk (added
    TARGET_ARCH_VARIANT := armv6k-vfp
    where it is
    TARGET_ARCH_VARIANT :=
    in the original)
    and that's the item I'm building right now which seems to be working out.

    choosecombo release generic_armv6 eng
    make PRODUCT-generic_armv6-eng


    edit: oooo, it's into libwebcore and still hasn't crashed yet. if that earlier stuff didn't fix the webrtc, I'll try this:
    https://github.com/mikegapinski/plat...xternal_webrtc

    edit again: webcore and webrtc compiled! build stopped with assembler errors at system/core/debuggerd/vfp.S
    used andy572's suggestion to comment out the crash code (most of that file) and now it's building again.
    Quote Originally Posted by asadullah View Post
    Okay so I'm not where your at yet but now we can collaborate that my machine can successfully compile ( takes about 5hrs where's jerryscript when you need him?) So from what I understand so far is that for some reason 11.10 has an issue with gcc 4.5 and above so you gotta downgrade get gcc 4.4 then replace the gcc in /usr/bin. So what I'm gonna do if I can is sleep and give a write up about it in another post or this one.

    Errors I got
    Code:
    /usr/include/linux/errno.h:4:23: fatal error: asm/errno.h: No such file or directory
    e:unable to locate package cc
    <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default] <built-in>:0:0: note: this is the location of the previous definition
    Here's my complete terminal history since I reinstalled ubuntu 11.10
    Code:
     1  cd Desktop
        2  sh firstboot
        3  sudo apt-get install lib32readline-gplv2-dev
        4  lsb-release
        5  lsb_release
        6  sh installsdk
        7  sudo add-apt-repository ppa:danielrichter2007/grub-customizer
        8  sudo apt-get update
        9  sudo apt-get install grub-customizer
       10  android
       11  sudo apt-get install compizconfig-settings-manager
       12  gcc -version
       13  gcc -v
       14  sudo gedit hosts
       15  cd icecream
       16  repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1
       17  repo sync -j16
       18  curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
       19  chmod a+x ~/bin/repo
       20  repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1
       21  repo sync -j16
       22  exit
       23  lspci
       24  lspci -v -s 00:02.0
       25  sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so
       26  sudo apt-get install git-core gnupg flex bison gperf build-essential   zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs   x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev   libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown   libxml2-utils
       27  cd ~/android/icecream
       28  . build/envsetup.sh
       29  lunch
       30  make -j4
       31  make Launcher2
       32  sudo apt-get install GCC-4.4.5
       33  sudo apt-get install gcc-4.4.5
       34  sudo apt-get install gcc-4.4
       35  gcc -v
       36  sudo apt-get remove gcc-4.6
       37  sudo apt-get install gcc-4.4
       38  exit
       39  gcc -v
       40  sudo apt-get install gcc-4.4
       41  exit
       42  gcc -v
       43  exit
       44  cd ~/android/icecream
       45  . build/envsetup.sh
       46  lunch full-eng
       47  make -j4
       48  sudo apt-get install gcc-4.1
       49  ls -al /usr/bin
       50  sudo apt-get install g++
       51  apt-get install gcc-4.1 g++-4.1
       52  sudo apt-get install gcc-4.1 g++-4.1
       53  sudo apt-get install gcc-4.4 g++-4.4
       54  sudo apt-get remove gcc-4.6
       55  sudo apt-get install gcc-4.4 g++-4.4
       56  gcc -v
       57  make -j4
       58  make clean
       59  make -j4
       60  gcc -v
       61  sudo apt-get install gcc-4.4-multilib
       62  gcc -v
       63  make clean
       64  make -j4
       65  exit
       66  cd usr/bin
       67  exit
       68  gksu nautilus
       69  gcc -v
       70  cd ~/anroid/icecream
       71  cd ~/android/icecream
       72  . build/envysetup.sh
       73  ls
       74  . build/envsetup.sh
       75  lunch full-eng
       76  make -j4
       77  sudo apt-get install cc
       78  make clean
       79  make -j4
       80  exit
       81  make
       82  gcc --version
       83  sudo apt-get install gcc-4.4-multilib
       84  sudo apt-get install gcc-4.4 g++-4.4
       85  bash =
       86  bash --help
       87  sudo apt-get install git-core gnupg flex bison gperf build-essential   zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs   x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev   libgl1-mesa-dev g++-4.4multilib mingw32 tofrodos python-markdown   libxml2-utils
       88  sudo apt-get install git-core gnupg flex bison gperf build-essential   zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs   x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev   libgl1-mesa-dev g++-4.4multilib mingw32 tofrodos python-markdown   libxml2-utils lib32readline-gplv2-dev
       89  sudo apt-get install git-core gnupg flex bison gperf build-essential   zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs   x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev   libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown   libxml2-utils lib32readline-gplv2-dev
       90  sudo apt-get install git-core gnupg flex bison gperf build-essential   zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs   x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev   libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown   libxml2-utils 
       91  sudo apt-get install git-core gnupg flex bison gperf build-essential   zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs   x11proto-core-dev libx11-dev lib32z-dev   libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown   libxml2-utils 
       92  sudo apt-get install git-core gnupg flex bison gperf build-essential   zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs   x11proto-core-dev libx11-dev lib32z-dev   libgl1-mesa-dev g++-4.4-multilib mingw32 tofrodos python-markdown   libxml2-utils 
       93  make -j4
       94  make clean
       95  sudo make clean
       96  make -j4
       97  exit
       98  cd ~/android/icecream
       99  make clean
      100  . build/envsetup.sh
      101  lunch 1
      102  make -j4
      103  sudo make -j4
      104  sudo apt-get install cygwin
      105  sudo apt-get install cpp
      106  bash
      107  exit
      108  cd ~/android/icecream
      109  . build/envsetup.sh
      110  lunch 1
      111  make -j4
      112  gksu nautilus
      113  make clean
      114  make -j4
      115  gcc -version
      116  gcc -v
      117  make clean
      118  make -j4
      119  make clean
      120  make -j4
      121  lunch
      122  make clean
      123  make -j4
      124  sudo apt-get install gcc-multilib
      125  make clean
      126  make -j4
      127  history
    Quote Originally Posted by bigsupersquid View Post
    ...
    bah. generic boots to logo and logcat, crashes at entropy service died.
    if I don't format /cache when installing, boot loads the entropy service ok and crashes at the next step, power manager.
    bit of logcat at the crash point, if anyone knows enough of what's up to interpret it for me I'd love to hear it.
    Code:
    I/SystemServer( 1453): Entered the Android system server!
    I/SystemServer( 1453): Entropy Service
    I/SystemServer( 1453): Power Manager
    F/libc    ( 1453): Fatal signal 7 (SIGBUS) at 0x00000000 (code=128)
    I/DEBUG   ( 1375): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    I/DEBUG   ( 1375): Build fingerprint: 'unknown'
    I/DEBUG   ( 1375): pid: 1453, tid: 1466  >>> system_server <<<
    I/DEBUG   ( 1375): signal 7 (SIGBUS), code 128 (?), fault addr 00000000
    I/DEBUG   ( 1375):  r0 41058e68  r1 45ab1e95  r2 0000005d  r3 4080accb
    I/DEBUG   ( 1375):  r4 00ff0000  r5 0000ff00  r6 00000000  r7 00000000
    I/DEBUG   ( 1375):  r8 46b04bdc  r9 46a04c84  10 46a04c70  fp 46b04bf4
    I/DEBUG   ( 1375):  ip 40874fec  sp 46b04b78  lr 401c50c5  pc 401c4ada  cpsr 80000030
    I/DEBUG   ( 1375):  d0  4040000040000000  d1  3ff0000000000000
    I/DEBUG   ( 1375):  d2  bebbbc6c1a570a20  d3  3f1155e54e7e8408
    I/DEBUG   ( 1375):  d4  bfb1be5a93a83e1d  d5  4000000000000000
    I/DEBUG   ( 1375):  d6  4ad4ecd000000000  d7  000000634e265902
    I/DEBUG   ( 1375):  d8  0000000000000000  d9  0000000000000000
    I/DEBUG   ( 1375):  d10 0000000000000000  d11 0000000000000000
    I/DEBUG   ( 1375):  d12 0000000000000000  d13 0000000000000000
    I/DEBUG   ( 1375):  d14 0000000000000000  d15 0000000000000000
    I/DEBUG   ( 1375):  scr 80000012
    I/DEBUG   ( 1375): 
    I/DEBUG   ( 1375):          #00  pc 00016ada  /system/lib/libnativehelper.so
    I/DEBUG   ( 1375):          #01  pc 000170c0  /system/lib/libnativehelper.so
    I/DEBUG   ( 1375):          #02  pc 0001eeb0  /system/lib/libdvm.so (dvmPlatformInvoke)
    I/DEBUG   ( 1375):          #03  pc 0005940c  /system/lib/libdvm.so (_Z16dvmCallJNIMethodPKjP6JValuePK6MethodP6Thread)
    I/DEBUG   ( 1375):          #04  pc 0004ccba  /system/lib/libdvm.so (_Z21dvmCheckCallJNIMethodPKjP6JValuePK6MethodP6Thread)
    I/DEBUG   ( 1375):          #05  pc 00030ccc  /system/lib/libdvm.so
    I/DEBUG   ( 1375):          #06  pc 000345b4  /system/lib/libdvm.so (_Z12dvmInterpretP6ThreadPK6MethodP6JValue)
    I/DEBUG   ( 1375):          #07  pc 0006c558  /system/lib/libdvm.so (_Z14dvmCallMethodVP6ThreadPK6MethodP6ObjectbP6JValueSt9__va_list)
    I/DEBUG   ( 1375):          #08  pc 0006c576  /system/lib/libdvm.so (_Z13dvmCallMethodP6ThreadPK6MethodP6ObjectP6JValuez)
    I/DEBUG   ( 1375):          #09  pc 000601ae  /system/lib/libdvm.so
    I/DEBUG   ( 1375):          #10  pc 00012e14  /system/lib/libc.so (__thread_entry)
    I/DEBUG   ( 1375):          #11  pc 0001295c  /system/lib/libc.so (pthread_create)
    I/DEBUG   ( 1375): 
    I/DEBUG   ( 1375): code around pc:
    I/DEBUG   ( 1375): 401c4ab8 881bd504 0a19021d 80014329 bdf0b009 
    I/DEBUG   ( 1375): 401c4ac8 b085b5f0 24ff25ff 26009201 0424022d 
    I/DEBUG   ( 1375): 401c4ad8 c908e00d 061f3601 433a0e1a 402f1c1f 
    I/DEBUG   ( 1375): 401c4ae8 433a023f 0a1f4023 433b1c13 9a01c008 
    I/DEBUG   ( 1375): 401c4af8 d1ee4296 bdf0b005 b087b5f0 24ff25ff 
    I/DEBUG   ( 1375): 
    I/DEBUG   ( 1375): code around lr:
    I/DEBUG   ( 1375): 401c50a4 00b326bb 220058d6 60a047b0 68a0ac03 
    I/DEBUG   ( 1375): 401c50b4 d0052800 19c000bf 9a0d1c29 fd02f7ff 
    I/DEBUG   ( 1375): 401c50c4 f7f61c20 e007fac5 26d36802 950000b3 
    I/DEBUG   ( 1375): 401c50d4 1c3a58d4 47a09b0d bdf0b007 b087b5f0 
    I/DEBUG   ( 1375): 401c50e4 aa0e1c15 78131c19 2b009f0c ac03d01e 
    I/DEBUG   ( 1375): 
    I/DEBUG   ( 1375): stack:
    I/DEBUG   ( 1375):     46b04b38  41058e68  
    I/DEBUG   ( 1375):     46b04b3c  8b219541  
    I/DEBUG   ( 1375):     46b04b40  05300005  
    I/DEBUG   ( 1375):     46b04b44  001a1a80  
    I/DEBUG   ( 1375):     46b04b48  00000000  
    I/DEBUG   ( 1375):     46b04b4c  41058e68  
    I/DEBUG   ( 1375):     46b04b50  05300005  
    I/DEBUG   ( 1375):     46b04b54  4080accb  /system/lib/libdvm.so
    I/DEBUG   ( 1375):     46b04b58  408549c9  /system/lib/libdvm.so
    I/DEBUG   ( 1375):     46b04b5c  41058e68  
    I/DEBUG   ( 1375):     46b04b60  05300005  
    I/DEBUG   ( 1375):     46b04b64  00000000  
    I/DEBUG   ( 1375):     46b04b68  69686142  
    I/DEBUG   ( 1375):     46b04b6c  00000000  
    I/DEBUG   ( 1375):     46b04b70  df0027ad  
    I/DEBUG   ( 1375):     46b04b74  00000000  
    I/DEBUG   ( 1375): #00 46b04b78  4086ac02  /system/lib/libdvm.so
    I/DEBUG   ( 1375):     46b04b7c  0000005d  
    I/DEBUG   ( 1375):     46b04b80  4201ed01  
    I/DEBUG   ( 1375):     46b04b84  4001c83d  /system/lib/libc.so
    I/DEBUG   ( 1375):     46b04b88  00000318  
    I/DEBUG   ( 1375):     46b04b8c  46b04bac  
    I/DEBUG   ( 1375):     46b04b90  45ab1e95  
    I/DEBUG   ( 1375):     46b04b94  4080ac41  /system/lib/libdvm.so
    I/DEBUG   ( 1375):     46b04b98  00000000  
    I/DEBUG   ( 1375):     46b04b9c  401c50c5  /system/lib/libnativehelper.so
    I/DEBUG   ( 1375): #01 46b04ba0  46a04e08  
    I/DEBUG   ( 1375):     46b04ba4  46a04df4  
    I/DEBUG   ( 1375):     46b04ba8  46b04bf4  
    I/DEBUG   ( 1375):     46b04bac  001a1a80  
    I/DEBUG   ( 1375):     46b04bb0  05300005  
    I/DEBUG   ( 1375):     46b04bb4  41058e68  
    I/DEBUG   ( 1375):     46b04bb8  00000004  
    I/DEBUG   ( 1375):     46b04bbc  41fc0ea0  
    I/DEBUG   ( 1375):     46b04bc0  401c507d  /system/lib/libnativehelper.so
    I/DEBUG   ( 1375):     46b04bc4  00000000  
    I/DEBUG   ( 1375):     46b04bc8  46a04c98  
    I/DEBUG   ( 1375):     46b04bcc  407e0eb4  /system/lib/libdvm.so
    edit: dang, its a dalvik error, and looks like andy is having problems with his dalvik fix now, too. maybe I'll try armv5te again with the armv5-webrtc fix and see if that will boot/run like this attempt did. I'm a little frustrated with partial booting, but it's still a lot cooler than 'system/bin/sh not found'

    since my last 4 tries at building generic_armv5 wouldn't boot, but basically the exact same thing with TARGET_ARCH_VARIANT := armv6k-vfp would, I've added TARGET_ARCH_VARIANT := armv5te-vfp into build/target/board/generic_armv5/BoardConfig.mk to see if lacking that was what was causing my binaries to malfunction. here goes!
    keep the wife happy with my dev time:
    donate!
    the THANKS button is quite acceptable if you're as stingy as me, too.
    Thanked by 3:
  3. Thread Author  Thread Author    #3  
    bigsupersquid's Avatar
    o_O

    Posts
    1,654 Posts
    ROM
    bigsuperROM_os2sd

    Default Re: [DEV][WIP]Building ICS for the OV

    <reserved> in case we get it all figured out!
    keep the wife happy with my dev time:
    donate!
    the THANKS button is quite acceptable if you're as stingy as me, too.
  4. Thread Author  Thread Author    #4  
    bigsupersquid's Avatar
    o_O

    Posts
    1,654 Posts
    ROM
    bigsuperROM_os2sd

    Default Re: [DEV][WIP]Building ICS for the OV

    ugh.
    generic armv5te-vfp... same result as armv6k-vfp.
    boots, logcat shows repeated crash at same point in boot.
    problem with something in dalvik (libdvm.so libc.so libnativehelper.so all 3 show in the error in logcat, see above for excerpt)
    but, at least, andy572 posted yesterday same problem, so he's working on it and once he fixes it I'm gonna grok his fix and implement it.

    also, variant patch to fix LOCAL_MODULE_TAGS error, is here thanks jaybob413! (though it looks good it didn't work for me...)
    Last edited by bigsupersquid; 11-21-2011 at 07:17 PM.
    keep the wife happy with my dev time:
    donate!
    the THANKS button is quite acceptable if you're as stingy as me, too.
  5. #5  

    Default Re: [DEV][WIP]Building ICS for the OV

    the guys at xda got the Droid Eris passed boot up, with working touch screen.
    Both Droid Eris and OV have similar processors MSM76XX, but different gpus

    Thanked by 3:
  6. Thread Author  Thread Author    #6  
    bigsupersquid's Avatar
    o_O

    Posts
    1,654 Posts
    ROM
    bigsuperROM_os2sd

    Default Re: [DEV][WIP]Building ICS for the OV

    Quote Originally Posted by MidtownHD View Post
    the guys at xda got the Droid Eris passed boot up, with working touch screen.
    Both Droid Eris and OV have similar processors MSM76XX, but different gpus

    yeah, I've got a link up above for teamICS's github wish they'd gone into more detail about how they got it working.
    I took a break last night, got frustrated with long build time and getting the same logcat errors trying both chipset configs. back at it today...
    keep the wife happy with my dev time:
    donate!
    the THANKS button is quite acceptable if you're as stingy as me, too.
  7. #7  

    Default Re: [DEV][WIP]Building ICS for the OV

    Code:
    hardware/msm7k/libaudio: MODULE.TARGET.SHARED_LIBRARIES.libaudiopolicy already defined by device/lge/thunderc/libaudio.  Stop.
    I got that error but fixed it by just deleting the folder (libaudio) since I already had a folder like it in the lge folder
    Thanked by:
  8. Thread Author  Thread Author    #8  
    bigsupersquid's Avatar
    o_O

    Posts
    1,654 Posts
    ROM
    bigsuperROM_os2sd

    Default Re: [DEV][WIP]Building ICS for the OV

    @asadullah:
    are you getting any progress?
    when I built with thunderc instead of generic I got logcat errors about missing libs which killed zygote, but the libs it was complaining about not having were all in /system/lib like they were supposed to be...
    the errors specified some proprietary libs, not built ones. I threw out that version pretty fast without saving logs , and went to generic, so I don't remember exactly which ones were erroring.

    I decided start taking better notes after that
    but that's part of why I started this thread anyway, for easy-access reference in one location.
    keep the wife happy with my dev time:
    donate!
    the THANKS button is quite acceptable if you're as stingy as me, too.
  9. #9  

    Default Re: [DEV][WIP]Building ICS for the OV

    Here's the latest
    Code:
    device/lge/thunderc/libaudio/AudioHardware.cpp: In destructor 'virtual android::AudioHardware::~AudioHardware()':
    device/lge/thunderc/libaudio/AudioHardware.cpp:248: error: 'AudioStreamIn' was not declared in this scope
    device/lge/thunderc/libaudio/AudioHardware.cpp:248: error: expected primary-expression before ')' token
    device/lge/thunderc/libaudio/AudioHardware.cpp:251: error: 'AudioStreamOut' was not declared in this scope
    device/lge/thunderc/libaudio/AudioHardware.cpp:251: error: expected primary-expression before ')' token
    device/lge/thunderc/libaudio/AudioHardware.cpp: At global scope:
    device/lge/thunderc/libaudio/AudioHardware.cpp:293: error: expected constructor, destructor, or type conversion before '*' token
    device/lge/thunderc/libaudio/AudioHardware.cpp:2285: error: expected '}' at end of input
    make: *** [out/target/product/thunderc/obj/SHARED_LIBRARIES/libaudio_intermediates/AudioHardware.o] Error 1
    Last edited by asadullah; 11-23-2011 at 03:13 PM.
  10. #10  
    JerryScript's Avatar
    Daydream Believer

    Posts
    2,058 Posts
    ROM
    Victorious

    Default Re: [DEV][WIP]Building ICS for the OV

    Quote Originally Posted by asadullah View Post
    Here's the latest
    Code:
    device/lge/thunderc/libaudio/AudioHardware.cpp: In destructor 'virtual android::AudioHardware::~AudioHardware()':
    device/lge/thunderc/libaudio/AudioHardware.cpp:248: error: 'AudioStreamIn' was not declared in this scope
    device/lge/thunderc/libaudio/AudioHardware.cpp:248: error: expected primary-expression before ')' token
    device/lge/thunderc/libaudio/AudioHardware.cpp:251: error: 'AudioStreamOut' was not declared in this scope
    device/lge/thunderc/libaudio/AudioHardware.cpp:251: error: expected primary-expression before ')' token
    device/lge/thunderc/libaudio/AudioHardware.cpp: At global scope:
    device/lge/thunderc/libaudio/AudioHardware.cpp:293: error: expected constructor, destructor, or type conversion before '*' token
    device/lge/thunderc/libaudio/AudioHardware.cpp:2285: error: expected '}' at end of input
    make: *** [out/target/product/thunderc/obj/SHARED_LIBRARIES/libaudio_intermediates/AudioHardware.o] Error 1
    Could you post a bit more above that, maybe the entire build output to pastebin? That looks like an easy fix, but I need to see a bit more above it before I start on a wild goose chase.
  11. Thread Author  Thread Author    #11  
    bigsupersquid's Avatar
    o_O

    Posts
    1,654 Posts
    ROM
    bigsuperROM_os2sd

    Default Re: [DEV][WIP]Building ICS for the OV

    @asadullah:
    you could also try the libaudio patches from team_ics github, they build ok. so does lupohirp's libaudio folder linked above.
    I haven't gotten enough of a boot yet to see if either of those actually work for audio on-device, but at least they let everything else compile.
    keep the wife happy with my dev time:
    donate!
    the THANKS button is quite acceptable if you're as stingy as me, too.
  12. #12  
    JerryScript's Avatar
    Daydream Believer

    Posts
    2,058 Posts
    ROM
    Victorious

    Default Re: [DEV][WIP]Building ICS for the OV

  13. #13  
    JerryScript's Avatar
    Daydream Believer

    Posts
    2,058 Posts
    ROM
    Victorious

    Default Re: [DEV][WIP]Building ICS for the OV

    Check out the hero repository here, might help out.
    https://github.com/TeamICS

    stritfajt's repo is the one they used for the HTC G1

    Here's a post where he talks about getting the radio functional:
    http://forum.xda-developers.com/show...7&postcount=97
    Last edited by JerryScript; 11-24-2011 at 01:33 AM.
    Thanked by:
  14. Thread Author  Thread Author    #14  
    bigsupersquid's Avatar
    o_O

    Posts
    1,654 Posts
    ROM
    bigsuperROM_os2sd

    Default Re: [DEV][WIP]Building ICS for the OV

    from that link about radio:
    Quote Originally Posted by stritfajt
    I just copied the libril and libhtc_ril from GB to ICS. I got a tip about it from an Evo dev
    our problem there is the the GB ril is for sprint zvh radio
    <screwball thought> unless maybe the proprietary libs from the slider would work? it's still armv6.
    must check that out.
    keep the wife happy with my dev time:
    donate!
    the THANKS button is quite acceptable if you're as stingy as me, too.
  15. #15  
    BobZhome's Avatar

    Posts
    295 Posts
    ROM
    CM9/10

    Default Re: [DEV][WIP]Building ICS for the OV

    This mornings error was:
    Code:
    prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/thunderc/obj/STATIC_LIBRARIES/libjs_intermediates/libjs.a(Interpreter.o): in function JSC::JITCode::execute(JSC::RegisterFile*, JSC::ExecState*, JSC::JSGlobalData*):external/webkit/Source/JavaScriptCore/jit/JITCode.h:77: error: undefined reference to 'ctiTrampoline'
    collect2: ld returned 1 exit status
  16. #16  
    BobZhome's Avatar

    Posts
    295 Posts
    ROM
    CM9/10

    Default Re: [DEV][WIP]Building ICS for the OV

    Quote Originally Posted by bigsupersquid View Post
    from that link about radio:

    our problem there is the the GB ril is for sprint zvh radio
    <screwball thought> unless maybe the proprietary libs from the slider would work? it's still armv6.
    must check that out.
    I have the Slider proprietary libs: https://github.com/BobZhome/vendor_lge_gelato
    Let me know if any are missing...I have a stock rom backup
    Thanked by 2:
  17. #17  
    Whyzor's Avatar

    Posts
    406 Posts
    ROM
    HyperNonSense ICS

    Default Re: [DEV][WIP]Building ICS for the OV

    Watching you guys work together is more exciting than any football game today, go team Optimus!
    odoketa, bdfull3r and kalaniboy like this.
  18. #18  

    Default Re: [DEV][WIP]Building ICS for the OV

    @jerryscript If I run into it again I will I'm currently building the gingerbread source cuz the bubble lockscreen is ugly but soon as it gets done I'm gonna try to fix and compile the ics again.
  19. #19  
    BobZhome's Avatar

    Posts
    295 Posts
    ROM
    CM9/10

    Default Re: [DEV][WIP]Building ICS for the OV

    A lot of work still to be done:

    more pic's here: http://s1120.photobucket.com/albums/l494/BobZhome/ics/
    Thanked by 16:
    + Show/Hide list of the thanked
  20. #20  

    Default Re: [DEV][WIP]Building ICS for the OV

    Quote Originally Posted by BobZhome View Post
    A lot of work still to be done: Click to view quoted image


    more pic's here: ics pictures by BobZhome - Photobucket
    Dude your killing me inside.
    Can i build from your repo?
    I want some ice cream
  21. #21  

    Default

    Quote Originally Posted by BobZhome View Post
    Please port this to the OS!

    Sent from my LS670 using Tapatalk

    Phone/Evo 3D cdma
    Rom/ViperS r284
    Hboot/eng 1.58
    Root Method/Htc Dev unlocked/Juopunutbear s-off
    Recovery/4-EXT
  22. #22  
    kcls's Avatar

    Posts
    910 Posts
    ROM
    IHOCM7.2 || AOKP

    Default

    Quote Originally Posted by BobZhome View Post
    Oh my God, you are awesome.

    Tapatalkin it from my IHO CM7.1'd, ICS Themed Optimus V
  23. #23  
    JerryScript's Avatar
    Daydream Believer

    Posts
    2,058 Posts
    ROM
    Victorious

    Default Re: [DEV][WIP]Building ICS for the OV

    Quote Originally Posted by BobZhome View Post
    A lot of work still to be done: Click to view quoted image


    more pic's here: ics pictures by BobZhome - Photobucket
    Wow!
    Irate Iguana and Anonymo like this.
  24. #24  

    Default Re: [DEV][WIP]Building ICS for the OV

    Quote Originally Posted by JerryScript View Post
    Wow!
    That's what I wanted to say LOL! Amazing the difference in skill. Is this posted on github yet?
  25. #25  
    Whyzor's Avatar

    Posts
    406 Posts
    ROM
    HyperNonSense ICS

    Default Re: [DEV][WIP]Building ICS for the OV

    So what's not working yet? radio? wifi? camera? probably all of the above?
Page 1 of 14 1234 ... LastLast

Posting Permissions