[DEV] HeroC ICS 4.0.1 Development

Search This thread

dastin1015

Inactive Recognized Developer
New error:
Code:
target thumb C++: libaudio <= hardware/msm7k/libaudio/AudioHardware.cpp
In file included from hardware/msm7k/libaudio/AudioHardware.cpp:34:
hardware/msm7k/libaudio/AudioHardware.h:101: error: expected class-name before '{' token
hardware/msm7k/libaudio/AudioHardware.h:123: error: ISO C++ forbids declaration of 'AudioStreamOut' with no type
hardware/msm7k/libaudio/AudioHardware.h:123: error: 'AudioStreamOut' declared as a 'virtual' field
hardware/msm7k/libaudio/AudioHardware.h:123: error: expected ';' before '*' token
hardware/msm7k/libaudio/AudioHardware.h:130: error: ISO C++ forbids declaration of 'AudioStreamIn' with no type
hardware/msm7k/libaudio/AudioHardware.h:130: error: 'AudioStreamIn' declared as a 'virtual' field
hardware/msm7k/libaudio/AudioHardware.h:130: error: expected ';' before '*' token
hardware/msm7k/libaudio/AudioHardware.h:139: error: 'AudioStreamOut' has not been declared
hardware/msm7k/libaudio/AudioHardware.h:140: error: 'AudioStreamIn' has not been declared
hardware/msm7k/libaudio/AudioHardware.h:159: error: expected class-name before '{' token
In file included from hardware/msm7k/libaudio/AudioHardware.cpp:34:
hardware/msm7k/libaudio/AudioHardware.h:193: error: expected class-name before '{' token
hardware/msm7k/libaudio/AudioHardware.h:208: error: 'AudioSystem' has not been declared
hardware/msm7k/libaudio/AudioHardware.h:208: error: expected ',' or '...' before 'acoustics'
hardware/msm7k/libaudio/AudioHardware.h:232: error: 'AudioSystem' has not been declared
hardware/msm7k/libaudio/AudioHardware.h:232: error: ISO C++ forbids declaration of 'audio_in_acoustics' with no type
hardware/msm7k/libaudio/AudioHardware.h:232: error: expected ';' before 'mAcoustics'
In file included from hardware/msm7k/libaudio/AudioHardware.cpp:34:
hardware/msm7k/libaudio/AudioHardware.h: In member function 'virtual uint32_t android::AudioHardware::AudioStreamOutMSM72xx::channels() const':
hardware/msm7k/libaudio/AudioHardware.h:171: error: 'AudioSystem' has not been declared
hardware/msm7k/libaudio/AudioHardware.h: In member function 'virtual int android::AudioHardware::AudioStreamOutMSM72xx::format() const':
hardware/msm7k/libaudio/AudioHardware.h:172: error: 'AudioSystem' has not been declared
hardware/msm7k/libaudio/AudioHardware.h: In member function 'virtual uint32_t android::AudioHardware::AudioStreamOutMSM72xx::latency() const':
hardware/msm7k/libaudio/AudioHardware.h:173: error: 'frameSize' was not declared in this scope
hardware/msm7k/libaudio/AudioHardware.cpp: In destructor 'virtual android::AudioHardware::~AudioHardware()':
hardware/msm7k/libaudio/AudioHardware.cpp:140: error: 'AudioStreamIn' was not declared in this scope
hardware/msm7k/libaudio/AudioHardware.cpp:140: error: expected primary-expression before ')' token
hardware/msm7k/libaudio/AudioHardware.cpp:143: error: 'AudioStreamOut' was not declared in this scope
hardware/msm7k/libaudio/AudioHardware.cpp:143: error: expected primary-expression before ')' token
hardware/msm7k/libaudio/AudioHardware.cpp: At global scope:
hardware/msm7k/libaudio/AudioHardware.cpp:157: error: expected constructor, destructor, or type conversion before '*' token
hardware/msm7k/libaudio/AudioHardware.cpp:1136: error: expected '}' at end of input
make: *** [out/target/product/heroc/obj/SHARED_LIBRARIES/libaudio_intermediates/AudioHardware.o] Error 1
 

NineInchNails

R.I.P. - We'll see you around, bud...
Jan 22, 2011
3,528
5,502
Minnesota
Well, although not porting HTC one, but seems I had seen those issues same last night and solved. But the ****ing ICS has already compiled 20 hours without finishing thanks to my computer bought 5~6 years ago.
When it can be finished, now comes to libwebcore....

Since we are a sharing community please do share how you resolved them and/or other issues you may have stumbled upon as we all can learn from this
 

MongooseHelix

Senior Member
Aug 29, 2010
711
453
Portland, OR, USA
New error:
Code:
target thumb C++: libaudio <= hardware/msm7k/libaudio/AudioHardware.cpp
In file included from hardware/msm7k/libaudio/AudioHardware.cpp:34:
hardware/msm7k/libaudio/AudioHardware.h:101: error: expected class-name before '{' token
hardware/msm7k/libaudio/AudioHardware.h:123: error: ISO C++ forbids declaration of 'AudioStreamOut' with no type
hardware/msm7k/libaudio/AudioHardware.h:123: error: 'AudioStreamOut' declared as a 'virtual' field
hardware/msm7k/libaudio/AudioHardware.h:123: error: expected ';' before '*' token
hardware/msm7k/libaudio/AudioHardware.h:130: error: ISO C++ forbids declaration of 'AudioStreamIn' with no type
hardware/msm7k/libaudio/AudioHardware.h:130: error: 'AudioStreamIn' declared as a 'virtual' field
hardware/msm7k/libaudio/AudioHardware.h:130: error: expected ';' before '*' token
hardware/msm7k/libaudio/AudioHardware.h:139: error: 'AudioStreamOut' has not been declared
hardware/msm7k/libaudio/AudioHardware.h:140: error: 'AudioStreamIn' has not been declared
hardware/msm7k/libaudio/AudioHardware.h:159: error: expected class-name before '{' token
In file included from hardware/msm7k/libaudio/AudioHardware.cpp:34:
hardware/msm7k/libaudio/AudioHardware.h:193: error: expected class-name before '{' token
hardware/msm7k/libaudio/AudioHardware.h:208: error: 'AudioSystem' has not been declared
hardware/msm7k/libaudio/AudioHardware.h:208: error: expected ',' or '...' before 'acoustics'
hardware/msm7k/libaudio/AudioHardware.h:232: error: 'AudioSystem' has not been declared
hardware/msm7k/libaudio/AudioHardware.h:232: error: ISO C++ forbids declaration of 'audio_in_acoustics' with no type
hardware/msm7k/libaudio/AudioHardware.h:232: error: expected ';' before 'mAcoustics'
In file included from hardware/msm7k/libaudio/AudioHardware.cpp:34:
hardware/msm7k/libaudio/AudioHardware.h: In member function 'virtual uint32_t android::AudioHardware::AudioStreamOutMSM72xx::channels() const':
hardware/msm7k/libaudio/AudioHardware.h:171: error: 'AudioSystem' has not been declared
hardware/msm7k/libaudio/AudioHardware.h: In member function 'virtual int android::AudioHardware::AudioStreamOutMSM72xx::format() const':
hardware/msm7k/libaudio/AudioHardware.h:172: error: 'AudioSystem' has not been declared
hardware/msm7k/libaudio/AudioHardware.h: In member function 'virtual uint32_t android::AudioHardware::AudioStreamOutMSM72xx::latency() const':
hardware/msm7k/libaudio/AudioHardware.h:173: error: 'frameSize' was not declared in this scope
hardware/msm7k/libaudio/AudioHardware.cpp: In destructor 'virtual android::AudioHardware::~AudioHardware()':
hardware/msm7k/libaudio/AudioHardware.cpp:140: error: 'AudioStreamIn' was not declared in this scope
hardware/msm7k/libaudio/AudioHardware.cpp:140: error: expected primary-expression before ')' token
hardware/msm7k/libaudio/AudioHardware.cpp:143: error: 'AudioStreamOut' was not declared in this scope
hardware/msm7k/libaudio/AudioHardware.cpp:143: error: expected primary-expression before ')' token
hardware/msm7k/libaudio/AudioHardware.cpp: At global scope:
hardware/msm7k/libaudio/AudioHardware.cpp:157: error: expected constructor, destructor, or type conversion before '*' token
hardware/msm7k/libaudio/AudioHardware.cpp:1136: error: expected '}' at end of input
make: *** [out/target/product/heroc/obj/SHARED_LIBRARIES/libaudio_intermediates/AudioHardware.o] Error 1
libaudio is having issues compiling on all kinds of devices. For now, I've removed libaudio from the msm7k_dirs line in hardware/msm7k/Android.mk. You can also remove libgralloc from there since it messes up the screen as jaybob has said.

Edit: Oh and if you have more of the "all warnings treated as errors" problem, downgrade gcc to 4.5. In 4.6, it compiles with the -Werror by default which is stupid imo.
 
Last edited:

NineInchNails

R.I.P. - We'll see you around, bud...
Jan 22, 2011
3,528
5,502
Minnesota
libaudio is having issues compiling on all kinds of devices. For now, I've removed libaudio from the msm7k_dirs line in hardware/msm7k/Android.mk. You can also remove libgralloc from there since it messes up the screen as jaybob has said.

Great info. thank you. Mine will for sure error out then probably but that'll be another change I'll make or hopefully it'll be the only one. Awesome work guys. Let's keep it up.
 

Shelnutt2

Inactive Recognized Developer
Mar 8, 2010
857
1,915
Code:
Install: out/target/product/heroc/system/app/Settings.odex
Install: out/target/product/heroc/system/app/Settings.apk
Finding NOTICE files: out/target/product/heroc/obj/NOTICE_FILES/hash-timestamp
Combining NOTICE files: out/target/product/heroc/obj/NOTICE.html
Installed file list: out/target/product/heroc/installed-files.txt
Target system fs image: out/target/product/heroc/obj/PACKAGING/systemimage_intermediates/system.img
Install system fs image: out/target/product/heroc/system.img
out/target/product/heroc/system.img+out/target/product/heroc/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p total size is 166313653

real    8m3.110s
user    22m59.276s
sys     0m41.430s
       
s.shelnutt@funtux ~/Android/cyanogenmod $ du -h out/target/product/heroc/system.img 
158M    out/target/product/heroc/system.img
s.shelnutt@funtux ~/Android/cyanogenmod $ du -h out/target/product/heroc/boot.img 
2.1M    out/target/product/heroc/boot.img
s.shelnutt@funtux ~/Android/cyanogenmod $ md5sum out/target/product/heroc/boot.img 
c190b22318a70c9a8d995614a0ee7410  out/target/product/heroc/boot.img
s.shelnutt@funtux ~/Android/cyanogenmod $ md5sum out/target/product/heroc/system.img 
5f4ad95824fc4e5ad0c28248632af5ee  out/target/product/heroc/system.img

Finally compiled :), its off to bed for me now for real. Here are my boot.img and system.img if anyone wants it for comparison. This is based on the cm repo and cyanogen_hero-eng product target.

http://www.dccontests.com/boot.img
http://www.dccontests.com/system.img

I think its mostly us devs here but to any users

DO NOT FLASH THE IMAGE. IT'S UNTESTED.
 
Last edited:

MongooseHelix

Senior Member
Aug 29, 2010
711
453
Portland, OR, USA
Finally compiled :), its off to bed for me now for real.
Awesome! I was just going to post that I finally got a successful compile for the Eris. My comp didn't want me to get too excited though and decided to become unresponsive when I was having it make a new ota zip without including recovery which I forgot to code out. :) Now to see if I can get it to boot...
 

NineInchNails

R.I.P. - We'll see you around, bud...
Jan 22, 2011
3,528
5,502
Minnesota
:) mines still going somehow

Code:
target thumb C: wpa_supplicant <= external/wpa_supplicant/main.c
target thumb C: wpa_supplicant <= external/wpa_supplicant/drivers.c
target thumb C: wpa_supplicant <= external/wpa_supplicant/driver_wext.c
make: *** No rule to make target `out/target/product/heroc/obj/STATIC_LIBRARIES/libCustomWifi_intermediates/libCustomWifi.a', needed by `out/target/product/heroc/obj/EXECUTABLES/wpa_supplicant_intermediates/LINKED/wpa_supplicant'.  Stop.

well not anymore.. kind of knew it after reading some more posts

---------- Post added at 02:13 AM ---------- Previous post was at 01:44 AM ----------

You need to do a 'git clone git://github.com/CyanogenMod/android_system_wlan_ti.git -b gingerbread' in system/wlan (you will need to make the directory) and then rename the new directory to ti so the clone ends up in system/wlan/ti. Then source build/envsetup.sh and lunch (for luck) and you should be on your way.

which is also my error now.. believe I've fixed that now along with the libaudio and gallocmsm7k entires which for the life of me why I didn't do earlier is beyond me... need coffee.... matt pay attention

make clobber and off we go again
 
Last edited:

tufeijoe

Senior Member
Jan 12, 2011
51
12
Well, stopped at libwebrtc_spl after libwebcore

Error:
target arm C: libwebrtc_spl <= externel/webrtdc/src/common_audio/signal_processing_library/main/source/auto_corr_to_refl_coef.c
/tmp/ccXDmXIm.s: Assembler messages:
/tmp/ccXDmXIm.s:208: Error: selected processor does not support 'qadd16 ip,r0,r3' ....
 

MongooseHelix

Senior Member
Aug 29, 2010
711
453
Portland, OR, USA
Well, stopped at libwebrtc_spl after libwebcore

Error:
target arm C: libwebrtc_spl <= externel/webrtdc/src/common_audio/signal_processing_library/main/source/auto_corr_to_refl_coef.c
/tmp/ccXDmXIm.s: Assembler messages:
/tmp/ccXDmXIm.s:208: Error: selected processor does not support 'qadd16 ip,r0,r3' ....
Jaybob's explanation for fixing the webrtc errors below basically boils down to removing the whole external/webrtc/ directory and then rename frameworks/base/media/libeffects/preprocessing/Android.mk to Android.mk.bak or something like that.
I ended up removing webrtc as it is supposed to still have issues for ARMv5, and the changes I made required a mid-build change which I didn't see until I did a make clobber and clean build. After removing external/webrtc, you would need to modify frameworks/base to not build libaudiopreprocessing. A quick hack for this is to modify frameworks/base/media/libeffects/preprocessing/Android.mk to not build, or just rename the file so that it doesn't get called. At the moment there doesn't appear to be any configuration that would trigger these effect filters, so shouldn't be much risk there. It is on the list of things to clean up after we get a bit further.
--------

As far as my build for the Eris goes...it boots!!! Definitely wouldn't have made it this far by now if it wasn't for all of the help I've gotten from this thread so thanks to everybody. I posted a few screenshots in my Evervolv thread here: thread link
 

tufeijoe

Senior Member
Jan 12, 2011
51
12
You are right, previously I just do seperately try of each above actions.

---------- Post added at 12:58 PM ---------- Previous post was at 12:48 PM ----------

Now comes to busybox and stopped.
...
external/busybox/editors/vi.c:1702: error: storage size of 'preg' isn't known
external/busybox/editors/vi.c:1706: error: 're_syntax_options' undeclared (first use in this function)
external/busybox/editors/vi.c:1706: error: (Each undeclared identifier is reported only once
external/busybox/editors/vi.c:1706: error: for each function it appears in.)
external/busybox/editors/vi.c:1706: error: 'RE_SYNTAX_POSIX_EXTENDED' undeclared (first use in this function)
...
make: *** [out/target/product/c8500/obj/EXECUTABLES/busybox_intermediates/editors/vi.o] Error 1

Isn't any make history here?
Below is mine:
Porting ICS4
1.
1.1 cp cm2.3.7/build/core/combo/arch/arm/armv6j.mk cm4/build/core/combo/arch/arm/
1.2 using "TARGET_ARCH_VARIANT := armv5te" because "TARGET_ARCH_VARIANT := armv6j" has main errors
cp cm2.3.7/dalvik/vm/mterp/out/InterpAsm-armv6j.S cm4/dalvik/vm/mterp/out/
merge from cm2.3.7/dalvik/vm/interp/InterpDefs.h to include kInterpEntryInstr

2. create device/huawei/...
cd device/huawei
git init
3. export USE_CCACHE=1
export CCACHE_DIR=/home/joeyjiaojg/.ccache
prebuilt/linux-x86/ccache/ccache -M 20G
4. make
4.1 "_FORTIFY_SOURCE" redefined [-Werror]
在build/core/combo/HOST_linux-x86.mk modify line 56 from "HOST_GLOBAL_CFLAGS += -D_FORTIFY_SOURCE=0" to "HOST_GLOBAL_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
4.2 error: variable ‘ParamName’ set but not used [-Werror=unused-but-set-variable]
-> disable the variable
4.3 add "#include "sensors_deprecated.h" in "frameworks/base/services/sensorservice/SensorService.cpp
4.4 fix some not added resources for overlay packages and frameworks
4.5 mv frameworks/base/media/libeffects/preprocessing/Android.mk frameworks/base/media/libeffects/preprocessing/Android.mk.bk
cd externel/
tar -cf webrtc.tgz webrtc/
rm -R webrtc
4.6 make: *** [out/target/product/c8500/obj/EXECUTABLES/busybox_intermediates/editors/vi.o] Error 1

---------- Post added at 01:14 PM ---------- Previous post was at 12:58 PM ----------

I didn't find define position re_pattern_buffer for inside "struct re_pattern_buffer preg;" of the busybox problem. Let's see what cm2.3.7 have first.

---------- Post added at 01:22 PM ---------- Previous post was at 01:14 PM ----------

Strange: where is put to 1
./include-minimal/autoconf.h:1232:#define ENABLE_FEATURE_VI_REGEX_SEARCH 0
./editors/vi.c:166:#if ENABLE_FEATURE_VI_REGEX_SEARCH
./editors/vi.c:1696:# if ENABLE_FEATURE_VI_REGEX_SEARCH
./include-full/autoconf.h:1232:#define ENABLE_FEATURE_VI_REGEX_SEARCH 1
And cm2.3.7 does have define for re_pattern_buffer_reg
But I think it's better put it to 0
so : vi external/busybox/editor/vi.c -> add "#define ENABLE_FEATURE_VI_REGEX_SEARCH 0"

---------- Post added at 01:44 PM ---------- Previous post was at 01:22 PM ----------

external/busybox/networking/ifconfig.c:82: error: redefinition of 'struct in6_ifreq'
make: *** [out/target/product/c8500/obj/EXECUTABLES/busybox_intermediates/networking/ifconfig.o] Error 1
disable line 81~87

---------- Post added at 01:45 PM ---------- Previous post was at 01:44 PM ----------

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/c8500/obj/EXECUTABLES/busybox_intermediates/android/libc/arch-arm/syscalls/adjtimex.o:external/busybox/android/libc/arch-arm/syscalls/adjtimex.S:18: error: undefined reference to '__set_syscall_errno'

Assembly language always let me uncomfortable. How?
 
Last edited:

NineInchNails

R.I.P. - We'll see you around, bud...
Jan 22, 2011
3,528
5,502
Minnesota
New error

Code:
host C: adb <= system/core/adb/adb.c
system/core/adb/adb.c: In function ‘connect_device’:
system/core/adb/adb.c:994:28: warning: comparison between signed and unsigned integer expressions
host C: adb <= system/core/adb/console.c
host C: adb <= system/core/adb/transport.c
host C: adb <= system/core/adb/transport_local.c
host C: adb <= system/core/adb/transport_usb.c
host C: adb <= system/core/adb/commandline.c
host C: adb <= system/core/adb/adb_client.c
host C: adb <= system/core/adb/sockets.c
host C: adb <= system/core/adb/services.c
host C: adb <= system/core/adb/file_sync_client.c
host C: adb <= system/core/adb/get_my_path_linux.c
host C: adb <= system/core/adb/usb_linux.c
host C: adb <= system/core/adb/utils.c
host C: adb <= system/core/adb/usb_vendors.c
host C: adb <= system/core/adb/fdevent.c
host Executable: adb (out/host/linux-x86/obj/EXECUTABLES/adb_intermediates/adb)
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/adb_intermediates/adb] Error 1

Supposed fix
sudo apt-get install libncurses5-dev


and here we go again... make clobber make -j1
 
Last edited:

tufeijoe

Senior Member
Jan 12, 2011
51
12
Well, it's not new error. I also faced it on my ubuntu 11.10. I just treat it as normal and solution same as yours.

---------- Post added at 03:40 PM ---------- Previous post was at 03:28 PM ----------

and here we go again... make clobber make -j1


What does "make clobber " mean? I never use it before.
And I any use make to compile, make == make -j1
 

NineInchNails

R.I.P. - We'll see you around, bud...
Jan 22, 2011
3,528
5,502
Minnesota
Well, it's not new error. I also faced it on my ubuntu 11.10. I just treat it as normal and solution same as yours.

---------- Post added at 03:40 PM ---------- Previous post was at 03:28 PM ----------




What does "make clobber " mean? I never use it before.
And I any use make to compile, make == make -j1

sure not a new error to you but to others who may read this. I just want to report them and the necessary fixes to help everyone as the rest of us have

make clobber deletes the entire build directory. Makes sense to have a fresh build each time so as to not miss any changes made before compiling. Per advise from a post from JB had in a different thread awhile ago. make -j1 and make == -j1 are the same command I believe

on Ubuntu 11.10 also but fixed the errors most have reported on the web with it

---------- Post added at 08:57 AM ---------- Previous post was at 08:51 AM ----------

Jaybob's explanation for fixing the webrtc errors below basically boils down to removing the whole external/webrtc/ directory and then rename frameworks/base/media/libeffects/preprocessing/Android.mk to Android.mk.bak or something like that.

--------

As far as my build for the Eris goes...it boots!!! Definitely wouldn't have made it this far by now if it wasn't for all of the help I've gotten from this thread so thanks to everybody. I posted a few screenshots in my Evervolv thread here: thread link

Good Job man. Good to hear we're all making headway on this
 
Last edited:

tufeijoe

Senior Member
Jan 12, 2011
51
12
You are right.

======
For the busybox issue, I disable it and meanwhile have to disable recovery to go on build

---------- Post added at 04:39 PM ---------- Previous post was at 04:23 PM ----------

Another issue:

external/oprofile/libpp/format_output.h:94:22: error: reference ‘counts’ cannot be declared ‘mutable’ [-fpermissive]
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/liboprofile_pp_intermediates/arrange_profiles.o] Error 1
anyway -> disable mutable

tied,go to sleep
 
Last edited:

NineInchNails

R.I.P. - We'll see you around, bud...
Jan 22, 2011
3,528
5,502
Minnesota
Code:
make: *** No rule to make target `vendor/htc/heroc/proprietary/libgps.so', needed by `out/target/product/heroc/obj/lib/libgps.so'.  Stop.

will moving libgps.so to out/target/product/heroc/obj/lib fix this??? only way to find out = make

It's a proprietary file so I really didn't want to hack up the make files but it's my other option

UPDATE: nope didn't work moving it.. hacking up the make files now
 
Last edited:

jaybob413

Retired Recognized Developer
Dec 31, 2007
825
2,637
Code:
make: *** No rule to make target `vendor/htc/heroc/proprietary/libgps.so', needed by `out/target/product/heroc/obj/lib/libgps.so'.  Stop.

will moving libgps.so to out/target/product/heroc/obj/lib fix this??? only way to find out = make

It's a proprietary file so I really didn't want to hack up the make files but it's my other option

UPDATE: nope didn't work moving it.. hacking up the make files now

You need all the heroc proprietary files in vendor/htc/heroc. As I recall, you will need to make the vendor/htc directory; then, in that directory, do a 'git clone git://github.com/TeamHeroC/vendor_htc_heroc.git', then rename the folder to heroc.

This will all get easier when the github repos are updated.
 
S

stritfajt

Guest
Thanks for the help I got here earlier. I now have a build for GSM Hero that actually works (mine seems to have working wifi too!) but I still got the mouse pointer that I don't know how to fix. I also seem to get random crashes from com.android.phone, do you guys recognize this? This is the logcat output:

Code:
F/libc    ( 3269): Fatal signal 7 (SIGBUS) at 0x00000000 (code=128)
V/AlarmClock(  413): AlarmInitReceiver finished
I/DEBUG   ( 3158): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   ( 3158): Build fingerprint: 'generic/full_hero/hero:4.0.1/ICS_MR0/eng.simon.20111117.094431:eng/test-keys'
I/DEBUG   ( 3158): pid: 3269, tid: 3269  >>> com.android.phone <<<
I/DEBUG   ( 3158): signal 7 (SIGBUS), code 128 (?), fault addr 00000000
I/DEBUG   ( 3158):  r0 410adb10  r1 464c07a3  r2 00000076  r3 00012b34
I/DEBUG   ( 3158):  r4 00ff0000  r5 0000ff00  r6 00000000  r7 00000000
I/DEBUG   ( 3158):  r8 bef5969c  r9 42afcb98  10 42afcb84  fp bef596b4
I/DEBUG   ( 3158):  ip 40895ff0  sp bef59638  lr 401da1e1  pc 401d9bea  cpsr 80000030
I/DEBUG   ( 3158):          #00  pc 00016bea  /system/lib/libnativehelper.so
I/DEBUG   ( 3158):          #01  pc 000171dc  /system/lib/libnativehelper.so
I/DEBUG   ( 3158):          #02  pc 0001ec30  /system/lib/libdvm.so (dvmPlatformInvoke)
I/DEBUG   ( 3158):          #03  pc 00059328  /system/lib/libdvm.so (_Z16dvmCallJNIMethodPKjP6JValuePK6MethodP6Thread)
I/DEBUG   ( 3158):          #04  pc 00030a8c  /system/lib/libdvm.so
I/DEBUG   ( 3158):          #05  pc 000342d0  /system/lib/libdvm.so (_Z12dvmInterpretP6ThreadPK6MethodP6JValue)
I/DEBUG   ( 3158):          #06  pc 0006c236  /system/lib/libdvm.so (_Z15dvmInvokeMethodP6ObjectPK6MethodP11ArrayObjectS5_P11ClassObjectb)
I/DEBUG   ( 3158):          #07  pc 00073812  /system/lib/libdvm.so
I/DEBUG   ( 3158):          #08  pc 00030a8c  /system/lib/libdvm.so
I/DEBUG   ( 3158):          #09  pc 000342d0  /system/lib/libdvm.so (_Z12dvmInterpretP6ThreadPK6MethodP6JValue)
I/DEBUG   ( 3158):          #10  pc 0006c4fc  /system/lib/libdvm.so (_Z14dvmCallMethodVP6ThreadPK6MethodP6ObjectbP6JValueSt9__va_list)
I/DEBUG   ( 3158):          #11  pc 000550c6  /system/lib/libdvm.so
I/DEBUG   ( 3158):          #12  pc 00043910  /system/lib/libandroid_runtime.so
I/DEBUG   ( 3158):          #13  pc 00044454  /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime5startEPKcS2_)
I/DEBUG   ( 3158):          #14  pc 00008f46  /system/bin/app_process
I/DEBUG   ( 3158):          #15  pc 000164c6  /system/lib/libc.so (__libc_init)
I/DEBUG   ( 3158): 
I/DEBUG   ( 3158): code around pc:
I/DEBUG   ( 3158): 401d9bc8 881bd504 0a19021d 80014329 bdf0b009 
I/DEBUG   ( 3158): 401d9bd8 b085b5f0 24ff25ff 26009201 0424022d 
I/DEBUG   ( 3158): 401d9be8 c908e00d 061f3601 433a0e1a 402f1c1f 
I/DEBUG   ( 3158): 401d9bf8 433a023f 0a1f4023 433b1c13 9a01c008 
I/DEBUG   ( 3158): 401d9c08 d1ee4296 bdf0b005 25ffb5f0 24ffb087 
I/DEBUG   ( 3158): 
I/DEBUG   ( 3158): code around lr:
I/DEBUG   ( 3158): 401da1c0 00b326bb 220058d6 60a047b0 68a0ac03 
I/DEBUG   ( 3158): 401da1d0 d0052800 19c000bf 9a0d1c29 fcfcf7ff 
I/DEBUG   ( 3158): 401da1e0 f7f61c20 e007fa5f 26d36802 950000b3 
I/DEBUG   ( 3158): 401da1f0 1c3a58d4 47a09b0d bdf0b007 b087b5f0 
I/DEBUG   ( 3158): 401da200 aa0e1c15 78131c19 2b009f0c ac03d01e 
I/DEBUG   ( 3158): 
I/DEBUG   ( 3158): stack:
I/DEBUG   ( 3158):     bef595f8  001bec5c  
I/DEBUG   ( 3158):     bef595fc  00000004  
I/DEBUG   ( 3158):     bef59600  00000000  
I/DEBUG   ( 3158):     bef59604  40016144  /system/lib/libc.so
I/DEBUG   ( 3158):     bef59608  4089aca8  
I/DEBUG   ( 3158):     bef5960c  00000368  
I/DEBUG   ( 3158):     bef59610  fffffe80  
I/DEBUG   ( 3158):     bef59614  4089b000  
I/DEBUG   ( 3158):     bef59618  bef5969c  
I/DEBUG   ( 3158):     bef5961c  42afcb98  
I/DEBUG   ( 3158):     bef59620  42afcb84  
I/DEBUG   ( 3158):     bef59624  40837999  /system/lib/libdvm.so
I/DEBUG   ( 3158):     bef59628  ca20001d  
I/DEBUG   ( 3158):     bef5962c  40895f5c  
I/DEBUG   ( 3158):     bef59630  df0027ad  
I/DEBUG   ( 3158):     bef59634  00000000  
I/DEBUG   ( 3158): #00 bef59638  410adb10  
I/DEBUG   ( 3158):     bef5963c  00000076  
I/DEBUG   ( 3158):     bef59640  ca20001d  
I/DEBUG   ( 3158):     bef59644  4083998f  /system/lib/libdvm.so
I/DEBUG   ( 3158):     bef59648  000127d8  
I/DEBUG   ( 3158):     bef5964c  bef5966c  
I/DEBUG   ( 3158):     bef59650  464c07a3  
I/DEBUG   ( 3158):     bef59654  4083995d  /system/lib/libdvm.so
I/DEBUG   ( 3158):     bef59658  00000000  
I/DEBUG   ( 3158):     bef5965c  401da1e1  /system/lib/libnativehelper.so
I/DEBUG   ( 3158): #01 bef59660  ca10001d  
I/DEBUG   ( 3158):     bef59664  40837d61  /system/lib/libdvm.so
I/DEBUG   ( 3158):     bef59668  00000104  
I/DEBUG   ( 3158):     bef5966c  0000f2c0  
I/DEBUG   ( 3158):     bef59670  ca20001d  
I/DEBUG   ( 3158):     bef59674  410adb10  
I/DEBUG   ( 3158):     bef59678  000001fc  
I/DEBUG   ( 3158):     bef5967c  42b28ea0  
I/DEBUG   ( 3158):     bef59680  00000000  
I/DEBUG   ( 3158):     bef59684  00000000  
I/DEBUG   ( 3158):     bef59688  42afcbac  
I/DEBUG   ( 3158):     bef5968c  40801c34  /system/lib/libdvm.so
 

Top Liked Posts

  • There are no posts matching your filters.
  • 20
    Re-purposing this thread for those who are engaged in porting ICS 4.0.1 to HeroC.

    Please try to keep this thread clean and restrict posts to topics relevant to getting ICS ported to the HeroC. It will make it much easier to focus on the effort at hand if we can refrain from the usual "When will it be done"; "Yay!"; "I know this isn't the right place"; "10char / +1" and "Me too!" posts.

    If you have a burning need to express your joy, dismay, ambivalence or random thoughts, consider sending a PM, which I will make a best effort attempt to respond to within 180 days, time and weather permitting.
    9
    Audio Driver Update

    We now have updated audio drivers based on the original GB msm7k drivers, with mods gleaned from the ICS qcom/media drivers for the msm7x27a and msm7x30. This will be appearing soon in the next build posted in the ROM thread. For those of you who are building along, just pull the latest commit (or the entire repo) from the TeamICS android_hardware_qcom_media repo, and build audio.primary.heroc and audio_policy.heroc from your device tree make file instead of the .msm7k equivalents (Use eris or hero instead of heroc for those devices). After the update, it looks like the crashing, rotating outputs, and failure to play have been resolved.
    6
    Status update on the camera...

    I currently have it to the point where you can take pictures but the preview is blank and I haven't figured out how to get it to display yet. The actual pictures and zoom seem to be working fine though.

    Along with using the libcamera compiled from gingerbread and the CAF patch for libcamera_client that jaybob talked about, i'm also using the MemoryHeapBase patch from here:
    http://xdaforums.com/showthread.php?t=1448303

    If interested, the logcat I'm getting currently:
    http://logcat.miui.us/579001
    6
    Radio Progress

    Radio for phone is working both making and receiving calls. Just a hack atm, but definitely moving in the right direction. After some sleep, then cleanup, on to data.
    6
    I'm having the same trouble.

    Getting a whole lot of:
    Code:
    frameworks/base/libs/gui/SurfaceTexture.cpp:860: error: isGPUSupportedFormat' was not declared in this scope

    And similar. I never got 4.0.3 to compile actually. Any clues?

    i am in the process of reviewing my build tree in order to update github to match the latest build. it currently builds 4.0.3 with no issues. will try to get it done in the next few days.