Upvote
0
O ok sorry for guiding the thread offtopic
I just realized that I have been building with the CyanogenMod ics branch, and not the cm-9.0.0 branch
I have updated the instructions in the OP, sorry everyone
there was a commit that seems to have broken the build process, but I fixed the files, and will add them to github soon
I am wondering if anyone here is even trying to build this, it does not seem to caught too many peoples interest
bah now i gotta redownload... -_-..... ima try with the cm9.0 branch anywho, see what comes. redownloading the source takes too long and i gotta work in 2 hours... and yes, im trying to build, sorry for not replying. The only issues i was getting during build process on cm 9.0.0 branch was it needing kernel and auto.conf. was an easy fix
bah now i gotta redownload... -_-..... ima try with the cm9.0 branch anywho, see what comes. redownloading the source takes too long and i gotta work in 2 hours... and yes, im trying to build, sorry for not replying. The only issues i was getting during build process on cm 9.0.0 branch was it needing kernel and auto.conf. was an easy fix
Im gonna download the cm-9.0.0 branch and see how that works for me
well, the cm9.0.0 branch works great for me, can call people, they can hear me, and i think I can figure out whats wrong with the zte ril. I just need time to debug the radio and see where data fails. freaking work tho man... I get off at 3 pm today, soo i'll see what I can do then... on another note.... CM9 IS FREAKING SEXY... i love the sleek interface, it looks soo sweet on the warp... the prevail didnt do cm9 justice... too small...
@hroark, just as a warning, when you are in settings for mobile network /cdma subscriptions, it says ruim or nv, do not touch those settings, it wiped my nam, and I had to manually reprogram it with cdma workshop. Damn near had a heart attack when it happened. Just a heads up
Maybe update the OP as a warning
You can try this for camera :
https://github.com/rapmv78/android_hardware_qcom_camerahal
Link against libcamera.so , on the tab it detects both camera , but in the framework need some modification.
mod in android.mk
#ifeq ($(LIBCAMERA_BUILD),nexus)
CAMERA_LIB := libcamera.so
#endif
TARGET_GLOBAL_LD_DIRS += -L$(LOCAL_PATH) -l$(ANDROID_PRODUCT_OUT)/obj/lib/${CAMERA_LIB}
I/CameraService( 104): CameraService started (pid=104)
E/HAL ( 104): load: module=/system/lib/hw/camera.msm7x30.so
E/HAL ( 104): Cannot load library: link_image[1965]: 104 could not load needed library 'libcamera.so' for 'camera.msm7x30.so' (reloc_library[1314]: 104 cannot locate '_ZN7android7Overlay5setFdEi'...
E/HAL ( 104): )
E/CameraService( 104): Could not load camera HAL module
I/CameraService( 104): CameraService started (pid=104)
E/CameraHAL( 104): CameraHAL_GetNum_Cameras:
D/CameraHAL( 104): CameraHAL_GetNum_Cameras: loading libcamera at 0xb000e9c4
I/QualcommCameraHardware( 104): getCameraInfo: IN
F/libc ( 104): Fatal signal 7 (SIGBUS) at 0x40fc514c (code=2)
I/DEBUG ( 96): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 96): Build fingerprint: 'ZTE/ZTE_arthur/arthur:4.0.4/IMM76I/eng.hroark13.20120602.111253:userdebug/test-keys'
I/DEBUG ( 96): pid: 104, tid: 104 >>> /system/bin/mediaserver <<<
I/DEBUG ( 96): signal 7 (SIGBUS), code 2 (BUS_ADRERR), fault addr 40fc514c
I/DEBUG ( 96): r0 40fc514c r1 00000000 r2 00000eb4 r3 14c00000
I/DEBUG ( 96): r4 b000ebf4 r5 b001301c r6 40fc4000 r7 40fc4000
I/DEBUG ( 96): r8 b0012fa8 r9 0000114c 10 0006d000 fp 40f57000
I/DEBUG ( 96): ip 0000001d sp be8846b4 lr b0004fd5 pc b0001458 cpsr 200f0010
I/DEBUG ( 96): d0 0000000000000000 d1 0000000000000000
I/DEBUG ( 96): d2 0000000000000000 d3 0000000000000000
I/DEBUG ( 96): d4 0000000000000000 d5 0000000000000000
I/DEBUG ( 96): d6 0000000000000000 d7 0000000700000000
I/DEBUG ( 96): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 96): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 96): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 96): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 96): d16 6b6565736c203a5d d17 656c696166202928
I/DEBUG ( 96): d18 419b998d98000000 d19 0000000000000000
I/DEBUG ( 96): d20 0000000000000000 d21 0000000000000000
I/DEBUG ( 96): d22 0000000000000000 d23 0000000000000000
I/DEBUG ( 96): d24 0000000000000000 d25 0000000000000000
I/DEBUG ( 96): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 96): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 96): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 96): scr 00000010
You should use your libcamera.so and liboemcamera.so from stock GB rom.I am getting this if I use my stock GB ROM libcamera.so, libmmjpeg.so, and liboemcamera.so, but the phone boots
Code:I/CameraService( 104): CameraService started (pid=104) E/HAL ( 104): load: module=/system/lib/hw/camera.msm7x30.so E/HAL ( 104): Cannot load library: link_image[1965]: 104 could not load needed library 'libcamera.so' for 'camera.msm7x30.so' (reloc_library[1314]: 104 cannot locate '_ZN7android7Overlay5setFdEi'... E/HAL ( 104): ) E/CameraService( 104): Could not load camera HAL module
I tried using the libcamera.so, libmmjpeg.so, and liboemcamera.so from your cm9_v55_0522 and I get this, and phone does not boot
Code:I/CameraService( 104): CameraService started (pid=104) E/CameraHAL( 104): CameraHAL_GetNum_Cameras: D/CameraHAL( 104): CameraHAL_GetNum_Cameras: loading libcamera at 0xb000e9c4 I/QualcommCameraHardware( 104): getCameraInfo: IN F/libc ( 104): Fatal signal 7 (SIGBUS) at 0x40fc514c (code=2) I/DEBUG ( 96): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** I/DEBUG ( 96): Build fingerprint: 'ZTE/ZTE_arthur/arthur:4.0.4/IMM76I/eng.hroark13.20120602.111253:userdebug/test-keys' I/DEBUG ( 96): pid: 104, tid: 104 >>> /system/bin/mediaserver <<< I/DEBUG ( 96): signal 7 (SIGBUS), code 2 (BUS_ADRERR), fault addr 40fc514c I/DEBUG ( 96): r0 40fc514c r1 00000000 r2 00000eb4 r3 14c00000 I/DEBUG ( 96): r4 b000ebf4 r5 b001301c r6 40fc4000 r7 40fc4000 I/DEBUG ( 96): r8 b0012fa8 r9 0000114c 10 0006d000 fp 40f57000 I/DEBUG ( 96): ip 0000001d sp be8846b4 lr b0004fd5 pc b0001458 cpsr 200f0010 I/DEBUG ( 96): d0 0000000000000000 d1 0000000000000000 I/DEBUG ( 96): d2 0000000000000000 d3 0000000000000000 I/DEBUG ( 96): d4 0000000000000000 d5 0000000000000000 I/DEBUG ( 96): d6 0000000000000000 d7 0000000700000000 I/DEBUG ( 96): d8 0000000000000000 d9 0000000000000000 I/DEBUG ( 96): d10 0000000000000000 d11 0000000000000000 I/DEBUG ( 96): d12 0000000000000000 d13 0000000000000000 I/DEBUG ( 96): d14 0000000000000000 d15 0000000000000000 I/DEBUG ( 96): d16 6b6565736c203a5d d17 656c696166202928 I/DEBUG ( 96): d18 419b998d98000000 d19 0000000000000000 I/DEBUG ( 96): d20 0000000000000000 d21 0000000000000000 I/DEBUG ( 96): d22 0000000000000000 d23 0000000000000000 I/DEBUG ( 96): d24 0000000000000000 d25 0000000000000000 I/DEBUG ( 96): d26 0000000000000000 d27 0000000000000000 I/DEBUG ( 96): d28 0000000000000000 d29 0000000000000000 I/DEBUG ( 96): d30 0000000000000000 d31 0000000000000000 I/DEBUG ( 96): scr 00000010
You should use your libcamera.so and liboemcamera.so from stock GB rom.
It needs some more libs :
PRODUCT_COPY_FILES += \
device/zte/smarttab_common/proprietary/lib/libmmipl.so:system/lib/libmmipl.so \
device/zte/smarttab_common/proprietary/lib/libmmjpeg.so:system/lib/libmmjpeg.so \
device/zte/smarttab_common/proprietary/lib/libmmjpeg.sobj/lib/libmmjpeg.so \
device/zte/smarttab_common/proprietary/lib/liboemcamera.sobj/lib/liboemcamera.so \
device/zte/smarttab_common/proprietary/lib/liboemcamera.so:system/lib/liboemcamera.so \
device/zte/smarttab_common/proprietary/lib/libgemini.so:system/lib/libgemini.so \
device/zte/smarttab_common/proprietary/lib/libmmmpo.so:system/lib/libmmmpo.so \
device/zte/smarttab_common/proprietary/bin/mm-qcamera-daemon:system/bin/mm-qcamera-daemon \
device/zte/smarttab_common/proprietary/lib/libcamera.so:system/lib/libcamera.so \
device/zte/smarttab_common/proprietary/lib/libcamera.sobj/lib/libcamera.so \
also these files should be needed from /system/bin:
v4l2-qcamera-app
mm-qcamera-daemon
mm-qcamera-test
mm-mpo-enc-test
does overlay and hwaccel turned on in boardconfig ?from stock GB rom I have pushed to lib
libcamera.so, libgemini.so, libmmipl.so, libmmjpeg.so, liboemcamera.so,
to bin
mm-qcamera-test, mm-qcamera-testsuite-client
and still get the
cannot locate '_ZN7android7Overlay5setFdEi'.
my stock GB ROM does not have libmmmpo.so, mm-qcamera-daemon, v4l2-qcamera-app, or mm-mpo-enc-test
.
does overlay and hwaccel turned on in boardconfig ?
At least this patch should show it finds the camera .
honestly I am not sure, but here is the current board config I am using with the exception of some wifi defines, I was trying to get wifi working yesterday
https://github.com/hroark13/warp_cm9_config/blob/master/device/zte/arthur/BoardConfig.mk
It seems OK .
You should have libgenlock, liboverlay , libtilerenderer , libqcomui, libmemalloc in system/lib.
I dont have the libqcomui for some reason, I do have the rest of them
the stock GB does not have libQcomUI.so, but I do have a prebuilt one that I got from the CAF ROM I have made
I dont have the libqcomui for some reason, I do have the rest of them
the stock GB does not have libQcomUI.so, but I do have a prebuilt one that I got from the CAF ROM I have made
wait, sorry, I do have that file
We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.