[Q] Disassembling, assembling and re-odexing breaks it by removing some classes - Android Q&A, Help & Troubleshooting

Hi,
I was trying to modify framework.jar on my phone. For this I used the latest versions of smali and baksmali (2.0.3), and dexopt-wrapper from http home.scarlet.be /~rh323092 /deodex.html (please reconstruct the link yourself, I can't include it in the post because "spam" protection). In detail what I did is the following:
1) Copied all of /system/frameworks to my machine
2) Ran java -jar baksmali-2.0.3.jar -x framework.odex -o framework -a 17 -d /path/to/system/framework (no errors or anything)
3) Did all the changes (but doing no changes at all has the same effect)
4) Ran java -jar smali-2.0.3.jar -a 17 framework -o classes.dex (no errors or anything)
5) Ran zip framework.jar classes.dex
6) Followed the instructions from the above link (which ran without an error)
The final framework.odex now is about 600kb smaller than the original one. Trying to use it leads to the following error during booting:
E/JNIHelp ( 718): Native registration unable to find class 'android/debug/JNITest', aborting
F/libc ( 718): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 718 (zygote)
D/AEE/AED ( 123): $===AEE===AEE===AEE===$
D/AEE/AED ( 123): p 0 poll events 1 revents 0
D/AEE/AED ( 123): not know revents:0
D/AEE/AED ( 123): p 1 poll events 1 revents 0
D/AEE/AED ( 123): not know revents:0
D/AEE/AED ( 123): p 2 poll events 1 revents 1
D/AEE/AED ( 123): aed_main_fork_worker: generator 0xf3d168, worker 0xbed7ca48, recv_fd 15
D/AEE/AED ( 123): p 3 poll events 1 revents 0
D/AEE/AED ( 123): not know revents:0
D/AEE/AED ( 123): p 4 poll events 1 revents 0
D/AEE/AED ( 123): not know revents:0
I/DEBUG ( 724): handle_request(15)
I/DEBUG ( 724): check process 718 name:zygote
I/DEBUG ( 724): BOOM: pid=718 uid=0 gid=0 tid=718
I/DEBUG ( 724): [OnPurpose Redunant in preset_info] pid: 718, tid: 718, name: zygote >>> zygote <<<
I/DEBUG ( 724): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 724): Build fingerprint: 'FP/ahong89_wet_jb2/ahong89_wet_jb2:4.2.2/JDQ39/1406799590:user/test-keys'
I/DEBUG ( 724): pid: 718, tid: 718, name: zygote >>> zygote <<<
I/DEBUG ( 724): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG ( 724): r0 00000000 r1 00000027 r2 deadbfff r3 00000000
I/DEBUG ( 724): r4 00000000 r5 bed39954 r6 402c9780 r7 00000002
I/DEBUG ( 724): r8 402d2bcc r9 400d7fc1 sl 400d7f94 fp 400d7fca
I/DEBUG ( 724): ip 00000001 sp bed39950 lr 40129d60 pc 40123628 cpsr 60000010
I/DEBUG ( 724):
I/DEBUG ( 724): backtrace:
I/DEBUG ( 724): #00 pc 00024628 /system/lib/libc.so
I/DEBUG ( 724): #01 pc 00000961 /system/lib/libnativehelper.so (jniRegisterNativeMethods+72)
I/DEBUG ( 724): #02 pc 0004dd07 /system/lib/libandroid_runtime.so (android::AndroidRuntime::startReg(_JNIEnv*)+34)
I/DEBUG ( 724): #03 pc 0004de0f /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+210)
I/DEBUG ( 724): #04 pc 00000db7 /system/bin/app_process
I/DEBUG ( 724): #05 pc 0001bd98 /system/lib/libc.so (__libc_init+64)
I/DEBUG ( 724): #06 pc 00000ae8 /system/bin/app_process
[...]
What am I missing?

Related

Gemrb Baldur's Gate 2 (blue screen crash)

Can anyone help me with getting past this blue screen i am getting when i enter the game? I purchased the game off GOG and I've been trying to get this game to work for the past one week and had no luck. I modified it with widescreen mod and changed the res to 800x480 in the cfg file. I am trying to get this game to work on my Xperia Play rooted ics 4.x.x My alog is. I can post my cfg upon request, please help
I/GemRB (11509): [Override]
I/GemRB (11509): Searching for GTRSK006...
I/printf: (11509): GTRSK006.mos...
I/GemRB (11509): [chitin.key]
I/GemRB (11509): Searching for ar0602.are...
I/GemRB (11509): [Cache]
I/GemRB (11509): Searching for pathfind.2da...
I/GemRB (11509): [GemRB Override]
I/GemRB (11509): Searching for spawngrp.2da...
I/GemRB (11509): [Override]
I/GemRB (11509): Searching for tracking.2da...
I/GemRB (11509): [Override]
I/GemRB (11509): Searching for ar0602.wed...
I/printf: (11509): Cannot find data/AREA060A.bif... Resource unavailable.
I/GemRB (11509): [ERROR]
I/printf: (11509): [AREImporter]: No Tile Map Available.
I/GemRB (11509): Searching for CGUI6448.chu...
I/GemRB (11509): [Override]
F/libc (11509): Fatal signal 11 (SIGSEGV) at 0x00000538 (code=1)
I/DEBUG ( 135): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 135): Build fingerprint: 'SEMC/R800i_0000-0000/R800i:4.0.3/4.1.H.0.4/-z9-3w:user/release-keys'
I/DEBUG ( 135): pid: 11509, tid: 11525 >>> net.sourceforge.gemrb <<<
I/DEBUG ( 135): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000538
I/DEBUG ( 135): r0 00000000 r1 00566248 r2 0045baa0 r3 00000001
I/DEBUG ( 135): r4 00566248 r5 3ce545f1 r6 0045a4f7 r7 005287f8
I/DEBUG ( 135): r8 3cee43d4 r9 3cf75020 10 0000047c fp 00000001
I/DEBUG ( 135): ip 3cee4560 sp 3cadda00 lr 3ce545f9 pc 3ce545fa cpsr 40000030
I/DEBUG ( 135): d0 643a64696f72646e d1 6472656767756265
I/DEBUG ( 135): d2 0066007200750063 d3 005400650063006f
I/DEBUG ( 135): d4 0706070600700798 d5 0000000000001c07
I/DEBUG ( 135): d6 0000043f00890000 d7 0000000000080008
I/DEBUG ( 135): d8 408f400000000000 d9 0000000000000000
I/DEBUG ( 135): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 135): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 135): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 135): d16 001bd50000000001 d17 0000000000000000
I/DEBUG ( 135): d18 be005a97016ef7f9 d19 bee90e9fe9a935fc
I/DEBUG ( 135): d20 4000000000000000 d21 3f11566a01190b95
I/DEBUG ( 135): d22 bebbbd40af0711b8 d23 bf740a068ef98000
I/DEBUG ( 135): d24 3e66376972bea4d0 d25 3fd174645d9af8d8
I/DEBUG ( 135): d26 3fefe00000000000 d27 bee90e9fe9a93640
I/DEBUG ( 135): d28 c0000a071ac45ea4 d29 bf740a06afaeae03
I/DEBUG ( 135): d30 3c00f2b24b1d9ba3 d31 be005a9701800000
I/DEBUG ( 135): scr 60000013
I/DEBUG ( 135):
D/kernel ( 148): [ 7888.477874] gpio_keys_scan_keys: key 1-136, 0 (19) continue debounce
D/kernel ( 148): [ 7888.487945] gpio_keys_scan_keys: key 1-136, 0 (19) continue debounce
I/DEBUG ( 135): #00 pc 001145fa /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so (_ZN10GameScript8AreaTypeEP10ScriptableP7Trigger)
I/DEBUG ( 135): #01 pc 0010a6fa /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so (_ZN7Trigger8EvaluateEP10Scriptable)
I/DEBUG ( 135): #02 pc 0010aafe /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so (_ZN9Condition8EvaluateEP10Scriptable)
I/DEBUG ( 135): #03 pc 0010bbc8 /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so (_ZN10GameScript6UpdateEPbS0_)
I/DEBUG ( 135): #04 pc 00127efe /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so (_ZN10Scriptable13ExecuteScriptEi)
I/DEBUG ( 135): #05 pc 00125a78 /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so (_ZN10Scriptable13TickScriptingEv)
I/DEBUG ( 135): #06 pc 00127fb0 /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so (_ZN10Scriptable6UpdateEv)
I/DEBUG ( 135):
I/DEBUG ( 135): code around pc:
I/DEBUG ( 135): 3ce545d8 2000bf0c bd102001 f011b510 f8b0f9e1 ... . ..........
I/DEBUG ( 135): 3ce545e8 f3c00538 bd101080 460cb510 f9d8f011 8..........F....
I/DEBUG ( 135): 3ce545f8 f8b06863 421a2538 2000bf0c bd102001 ch..8%.B... . ..
I/DEBUG ( 135): 3ce54608 2200b570 109cf8d1 f7fd4604 4605fbed p..".....F.....F
I/DEBUG ( 135): 3ce54618 4620b155 f9c4f011 46284604 f9c0f011 U. F.....F(F....
I/DEBUG ( 135):
I/DEBUG ( 135): code around lr:
I/DEBUG ( 135): 3ce545d8 2000bf0c bd102001 f011b510 f8b0f9e1 ... . ..........
I/DEBUG ( 135): 3ce545e8 f3c00538 bd101080 460cb510 f9d8f011 8..........F....
I/DEBUG ( 135): 3ce545f8 f8b06863 421a2538 2000bf0c bd102001 ch..8%.B... . ..
I/DEBUG ( 135): 3ce54608 2200b570 109cf8d1 f7fd4604 4605fbed p..".....F.....F
I/DEBUG ( 135): 3ce54618 4620b155 f9c4f011 46284604 f9c0f011 U. F.....F(F....
I/DEBUG ( 135):
I/DEBUG ( 135): stack:
I/DEBUG ( 135): 3cadd9c0 3cee43d4 /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so
I/DEBUG ( 135): 3cadd9c4 3ce4dc65 /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so
I/DEBUG ( 135): 3cadd9c8 00000001
I/DEBUG ( 135): 3cadd9cc 626f6c67
I/DEBUG ( 135): 3cadd9d0 3c006c61
I/DEBUG ( 135): 3cadd9d4 1faa44d7
I/DEBUG ( 135): 3cadd9d8 005661a0 [heap]
I/DEBUG ( 135): 3cadd9dc 3ce56ac9 /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so
I/DEBUG ( 135): 3cadd9e0 0043e86f [heap]
I/DEBUG ( 135): 3cadd9e4 005287f8 [heap]
I/DEBUG ( 135): 3cadd9e8 3cee43d4 /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so
I/DEBUG ( 135): 3cadd9ec 3cf75020
I/DEBUG ( 135): 3cadd9f0 0000047c
I/DEBUG ( 135): 3cadd9f4 3ce56adf /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so
I/DEBUG ( 135): 3cadd9f8 df0027ad
I/DEBUG ( 135): 3cadd9fc 00000000
I/DEBUG ( 135): #00 3cadda00 00566248 [heap]
I/DEBUG ( 135): 3cadda04 3ce4a6fd /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so
I/DEBUG ( 135): #01 3cadda08 00000003
I/DEBUG ( 135): 3cadda0c 00000001
I/DEBUG ( 135): 3cadda10 00565b20 [heap]
I/DEBUG ( 135): 3cadda14 005287f8 [heap]
I/DEBUG ( 135): 3cadda18 3ceb2808 /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so
I/DEBUG ( 135): 3cadda1c 3ceb23dc /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so
I/DEBUG ( 135): 3cadda20 00000000
I/DEBUG ( 135): 3cadda24 3ce4ab03 /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so
D/kernel ( 148): [ 7888.586669] gpio_keys_scan_keys: key 1-137, 1 (88) continue debounce
D/kernel ( 148): [ 7888.844757] gpio_keys_scan_keys: key 1-136, 0 (19) continue debounce
D/kernel ( 148): [ 7888.936584] gpio_keys_scan_keys: key 1-136, 0 (19) continue debounce
D/kernel ( 148): [ 7889.004486] gpio_keys_scan_keys: key 1-136, 0 (19) continue debounce
D/kernel ( 148): [ 7889.098083] gpio_keys_scan_keys: key 1-136, 0 (19) continue debounce
D/kernel ( 148): [ 7889.108123] gpio_keys_scan_keys: key 1-136, 0 (19) continue debounce
D/kernel ( 148): [ 7889.223327] gpio_keys_scan_keys: key 1-136, 0 (19) continue debounce
I/BootReceiver( 283): Copying /data/tombstones/tombstone_04 to DropBox (SYSTEM_TOMBSTONE)
I/WindowManager( 283): WIN DEATH: Window{2bfd2b78 SurfaceView paused=false}
W/InputDispatcher( 283): channel '2c21e590 net.sourceforge.gemrb/net.sourceforge.gemrb.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x8
E/InputDispatcher( 283): channel '2c21e590 net.sourceforge.gemrb/net.sourceforge.gemrb.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
D/Zygote ( 138): Process 11509 terminated by signal (11)
I/ActivityManager( 283): Process net.sourceforge.gemrb (pid 11509) has died.
W/InputDispatcher( 283): Attempted to unregister already unregistered input channel '2c21e590 net.sourceforge.gemrb/net.sourceforge.gemrb.MainActivity (server)'
W/ActivityManager( 283): Force removing ActivityRecord{2c3328f8 net.sourceforge.gemrb/.MainActivity}: app died, no saved state
I/WindowManager( 283): WIN DEATH: Window{2c21e590 net.sourceforge.gemrb/net.sourceforge.gemrb.MainActivity paused=false}
I/InputDispatcher( 283): Dropping event because there is no focused window or focused application.
I/WindowManager( 283): WINDOW DIED Window{2c21e590 net.sourceforge.gemrb/net.sourceforge.gemrb.MainActivity paused=false}
W/WindowManager( 283): Dropping delayed event...
W/WindowManager( 283): Dropping delayed event...
W/WindowManager( 283): Dropping delayed event...
W/WindowManager( 283): Dropping delayed event...
W/WindowManager( 283): Dropping delayed event...
W/WindowManager( 283): Dropping delayed event...
W/WindowManager( 283): Dropping delayed event...
W/WindowManager( 283): Dropping delayed event...

[DEV] Porting 3.4 kernel.

ITT: hunderteins doing wonders working on kernel.
No troll.
Chance appeared.
OK.
What do we have to start with:
Current (kibuuka's) camera implementation is in using camera wrapper / HAL that provides HAL functions, bridging them to libcamera.so
Unfortunately, libcamera uses three overlay functions, used to be in libui in Gingerbread.
Now they are in liboverlay.so (and two haven't exact analogs).
My thoughts:
Does liboverlay actually work?
Can we simply add/replace needed functions -
overlay:: Overlay::setFd(int) _ZN7overlay7Overlay5setFdEi - new impl uses second channel parameter.
overlay:: Overlay::setCrop(unsigned int, unsigned int, unsigned int, unsigned int) _ZN7overlay7Overlay7setCropEjjjj - present as is.
overlay:: Overlay::queueBuffer(void *) _ZN7overlay7Overlay11queueBufferEPv - dunno.
So far: i've made a simple hacks to liboverlay and libcamera - wrappers loads fine.
But on Camera init if fails (seems like on wrapper init):
Code:
I/CameraService( 117): Opening camera 0
D/CameraHAL( 117): qcamera_device_open: name:0 device:0x153e4 cameraId:0
F/libc ( 117): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)
I/Process ( 184): Sending signal. PID: 653 SIG: 3
I/dalvikvm( 653): threadid=3: reacting to signal 3
I/dalvikvm( 653): Wrote stack traces to '/data/anr/traces.txt'
D/dalvikvm( 250): GC_CONCURRENT freed 285K, 27% free 10229K/13959K, paused 7ms+14ms
D/dalvikvm( 653): GC_CONCURRENT freed 206K, 4% free 9376K/9671K, paused 4ms+11ms
D/dalvikvm( 653): GC_FOR_ALLOC freed 21K, 3% free 9768K/10055K, paused 20ms
I/DEBUG ( 111): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 111): Build fingerprint: 'dell/dell_streak/streak:4.0.4/IMM76L/eng.den.20120711.230916:eng/test-keys'
I/DEBUG ( 111): pid: 117, tid: 117 >>> /system/bin/mediaserver <<<
I/DEBUG ( 111): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
I/DEBUG ( 111): r0 00000000 r1 40f463b0 r2 ffffff54 r3 ffffff58
I/DEBUG ( 111): r4 40f4622c r5 405aa4b1 r6 beb2c9dc r7 00000000
I/DEBUG ( 111): r8 0000028d r9 beb2caa4 10 beb2c9f0 fp 40f462e8
I/DEBUG ( 111): ip ffffff50 sp beb2c970 lr ffffff48 pc 40f44322 cpsr 40000030
I/DEBUG ( 111): d0 496172656d616320 d1 0076007200650035
I/DEBUG ( 111): d2 0065007200610033 d3 0061004300490065
I/DEBUG ( 111): d4 0069007300730069 d5 006f0043006e006f
I/DEBUG ( 111): d6 006f00720074006e d7 00720065006c006c
I/DEBUG ( 111): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 111): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 111): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 111): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 111): d16 0000000000000000 d17 3fefae147ae147ae
I/DEBUG ( 111): d18 4000000000000000 d19 3fcce748f8ed8687
I/DEBUG ( 111): d20 3f11504c209ef562 d21 bebbb370fb6f0b05
I/DEBUG ( 111): d22 3ff0000000000000 d23 3ff43d16aee00482
I/DEBUG ( 111): d24 3e66376972bea4d0 d25 0000000000000000
I/DEBUG ( 111): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 111): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 111): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 111): scr 20000010
I/DEBUG ( 111):
D/dalvikvm( 653): GC_CONCURRENT freed 15K, 2% free 10233K/10439K, paused 2ms+15ms
I/DEBUG ( 111): #00 pc 00002322 /system/lib/hw/camera.streak.so (_Z21qcamera_set_callbacksP13camera_devicePFviiiPvEPFviPK13camera_memoryjP21camera_frame_metadataS1_EPFvxiS6_jS1_EPFPS4_ijjS1_ES1_)
I/DEBUG ( 111): #01 pc 0000a84a /system/lib/libcameraservice.so (_ZN7android13CameraService6ClientC1ERKNS_2spIS0_EERKNS2_INS_13ICameraClientEEERKNS2_INS_23CameraHardwareInterfaceEEEiii)
I/DEBUG ( 111): #02 pc 0000aba6 /system/lib/libcameraservice.so (_ZN7android13CameraService7connectERKNS_2spINS_13ICameraClientEEEi)
I/DEBUG ( 111): #03 pc 000174b6 /system/lib/libcamera_client.so (_ZN7android15BnCameraService10onTransactEjRKNS_6ParcelEPS1_j)
I/DEBUG ( 111): #04 pc 00008d62 /system/lib/libcameraservice.so (_ZN7android13CameraService10onTransactEjRKNS_6ParcelEPS1_j)
I/DEBUG ( 111): #05 pc 00017ec0 /system/lib/libbinder.so (_ZN7android7BBinder8transactEjRKNS_6ParcelEPS1_j)
I/DEBUG ( 111): #06 pc 0001b1ea /system/lib/libbinder.so (_ZN7android14IPCThreadState14executeCommandEi)
I/DEBUG ( 111): #07 pc 0001b3c6 /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb)
I/DEBUG ( 111): #08 pc 00008a96 /system/bin/mediaserver
I/DEBUG ( 111): #09 pc 00016524 /system/lib/libc.so (__libc_init)
I/DEBUG ( 111):
I/DEBUG ( 111): code around pc:
I/DEBUG ( 111): 40f44300 58216029 9d064811 f854600a 5821200c )`!X.H...`T.. !X
I/DEBUG ( 111): 40f44310 c03cf8df f8546013 6808300e 601d4a0d ..<..`T..0.h.J.`
I/DEBUG ( 111): 40f44320 68054b0d 58e358a1 200cf854 94009c07 .K.h.X.XT.. ....
I/DEBUG ( 111): 40f44330 47a0692c bf00bd3e 00001f38 ffffff3c ,i.G>...8...<...
I/DEBUG ( 111): 40f44340 ffffff40 ffffff44 ffffff48 ffffff4c @...D...H...L...
I/DEBUG ( 111):
I/DEBUG ( 111): code around lr:
I/DEBUG ( 111): ffffff28 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 111): ffffff38 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 111): ffffff48 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 111): ffffff58 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 111): ffffff68 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 111):
I/DEBUG ( 111): stack:
I/DEBUG ( 111): beb2c930 000224e0 [heap]
I/DEBUG ( 111): beb2c934 4008b498
I/DEBUG ( 111): beb2c938 405abe48 /system/lib/libcameraservice.so
I/DEBUG ( 111): beb2c93c 40057a1d /system/lib/libc.so
I/DEBUG ( 111): beb2c940 000224e0 [heap]
I/DEBUG ( 111): beb2c944 4008b4a8
I/DEBUG ( 111): beb2c948 00013758 [heap]
I/DEBUG ( 111): beb2c94c 000137a4 [heap]
I/DEBUG ( 111): beb2c950 405ae194 /system/lib/libcameraservice.so
I/DEBUG ( 111): beb2c954 beb2c9dc [stack]
I/DEBUG ( 111): beb2c958 00014ad0 [heap]
I/DEBUG ( 111): beb2c95c 000153e0 [heap]
I/DEBUG ( 111): beb2c960 00014ad0 [heap]
I/DEBUG ( 111): beb2c964 000153e0 [heap]
I/DEBUG ( 111): beb2c968 df0027ad
I/DEBUG ( 111): beb2c96c 00000000
I/DEBUG ( 111): #00 beb2c970 00014710 [heap]
I/DEBUG ( 111): beb2c974 405a8571 /system/lib/libcameraservice.so
I/DEBUG ( 111): beb2c978 405a9031 /system/lib/libcameraservice.so
I/DEBUG ( 111): beb2c97c 00013758 [heap]
I/DEBUG ( 111): beb2c980 40f442e9 /system/lib/hw/camera.streak.so
I/DEBUG ( 111): beb2c984 405ab84d /system/lib/libcameraservice.so
I/DEBUG ( 111): #01 beb2c988 405aa4b1 /system/lib/libcameraservice.so
I/DEBUG ( 111): beb2c98c 000153e0 [heap]
I/DEBUG ( 111): beb2c990 00013758 [heap]
I/DEBUG ( 111): beb2c994 00000000
I/DEBUG ( 111): beb2c998 0000fd88 [heap]
I/DEBUG ( 111): beb2c99c beb2ca90 [stack]
I/DEBUG ( 111): beb2c9a0 0000028d
I/DEBUG ( 111): beb2c9a4 405ae194 /system/lib/libcameraservice.so
I/DEBUG ( 111): beb2c9a8 beb2c9dc [stack]
I/DEBUG ( 111): beb2c9ac 405abbab /system/lib/libcameraservice.so
In attach:
libcamera.so (libui reference changed to libov.so, android:: Overlay changed to overlay:: Overlay) and libov.so (quickly built liboverlay variant)
Useful only if you want to debug the issue further.
This libcamera2
https://github.com/Dorregaray/libcamera2
uses the very same Overlay functions. Anyone willing to rewrite?
Some light on ICS camera implementation:
http://marakana.com/static/courseware/android/Aptina-Android-Camera-Internals.pdf
http://forum.xda-developers.com/showthread.php?t=1379368
Looks like this is the only patch we can take.
--
In attach - built lib (/system/lib/hw)
To avoid init error in Camera - do a
chmod -R 666 /dev/msm_camera/*
--
Doesn't work now - but hey, it at least doesn't die
@all the streakers , where are your thanks, don't you see what's going on over here, thank the guy a thousand times.
Thank you , n0p
Need more explanation!
_n0p_ said:
http://forum.xda-developers.com/showthread.php?t=1379368
Looks like this is the only patch we can take.
--
In attach - built lib (/system/lib/hw)
To avoid init error in Camera - do a
chmod -R 666 /dev/msm_camera/*
--
Doesn't work now - but hey, it at least doesn't die
Click to expand...
Click to collapse
I do not really understand this problem! You can add is not clear? camera.streak.zip for any rom? Does the [ROM] [Early pre-alpha] AOSP ICS 4.0.4_r2.1 for DS5.
Thank!
This camera.streak.so is just a quickly built HAL/wrapper for liboemcamera.
Now it only shows blank screen, but it at least:
Allows camera app to work.
Correctly loads our liboemcamera.
Eliminates need of intermidiate libcamera.so.
I hope i'll be able to make it at least shoot, taking sources from old CAF camera libraries.
Too bad I don't have much time, and most important, abilities for that, so the process will be slow.
Other path we could take - fully reimplementing camera support by using kernel msm camera sources as base, but I doubt that I can handle this much of R&D work.
Does it useful for us?
http://forum.xda-developers.com/showthread.php?t=1448303
Or this:
http://www.spinics.net/lists/linux-media/msg51836.html
http://www.spinics.net/lists/linux-omap/msg69649.html
http://www.spinics.net/lists/linux-media/msg37279.html
Thank you! First one is a very nice piece of work!
_n0p_ said:
Thank you! First one is a very nice piece of work!
Click to expand...
Click to collapse
All the thanks to me are belong to you Sergei; you are the man!
---------- Post added at 01:09 PM ---------- Previous post was at 01:02 PM ----------
I have seen another camera development for ics one month ago and the dev wrote that,it can work on ds5 but i forgot the link.
It was on xda too.
The dev have been released a flashable zip which includes all the files required to work camera on ics.
Possible cam issue solution
The link below contains some information about ov5642 and ov 5640 cameras.
The person is a android developer, maybe we can get help from him.
http://cn.linkedin.com/pub/lu-wei/37/602/484
sinan33 said:
All the thanks to me are belong to you Sergei; you are the man!
---------- Post added at 01:09 PM ---------- Previous post was at 01:02 PM ----------
I have seen another camera development for ics one month ago and the dev wrote that,it can work on ds5 but i forgot the link.
It was on xda too.
The dev have been released a flashable zip which includes all the files required to work camera on ics.
Click to expand...
Click to collapse
First link you posted is very valuable. Dunno if it could be directly reused, but patches actually should solve the exact problems we have with our libcamera (overlay libui functions). I will try to apply patches and build libs asap.
We are waiting your great news about ICS progress, n0p. Dont hesitate to let us know if you need any help from us.
Todays log:
Code:
D/CameraHAL( 1274): CameraHAL_GetNum_Cameras: loading libcamera at 0xb000e8a8
I/CameraService( 1274): Opening camera 0
D/CameraHAL( 1274): qcamera_device_open: name:0 device:0x13b64 cameraId:0
D/CameraHAL( 1274): loading libcamera at 0xb000e8a8
D/QualcommCameraHardware( 1274): openDualCamera: E
D/QualcommCameraHardware( 1274): openDualCamera: ov5642 is found
D/PrintK ( 1274): <6>msm_camera: sensor_store: sensor ov5642 found
D/QualcommCameraHardware( 1274): openDualCamera: X, 1
D/QualcommCameraHardware( 1274): createInstance: E
E/QualcommCameraHardware( 1274): Sensor name ov5642 is found
D/PrintK ( 1274): <6>msm_camera: msm_camio_enable: turn on camera power
D/PrintK ( 1274): <6>vreg_enable: wlan enabled
D/PrintK ( 1274): <6>vreg_enable: gp5 enabled
D/PrintK ( 1274): <6>vreg_enable: msme2 enabled
D/PrintK ( 1274): <6>vreg_enable: gp3 enabled
D/dalvikvm( 1286): GC_CONCURRENT freed 199K, 4% free 9354K/9671K, paused 3ms+2ms
D/dalvikvm( 1286): GC_FOR_ALLOC freed 10K, 4% free 9378K/9671K, paused 24ms
D/dalvikvm( 1286): GC_FOR_ALLOC freed 13K, 3% free 9766K/10055K, paused 22ms
D/PrintK ( 1274): <6>msm_camera: ov5642_reg_init(403): 90 ms
D/dalvikvm( 1286): GC_CONCURRENT freed 58K, 3% free 10198K/10439K, paused 3ms+3ms
F/PrintK ( 104): <2>[I2C]IRQ: 78 W33 Error (21D0)
W/PrintK ( 1274): [I2C]Recover (0000) intf 300: Bus busy cleared after 1 clock cycles
D/PrintK ( 1274): <6>msm_camera: ov5642_i2c_burst_write: write 51h 33 bytes successfully at retryCnt=1
D/PrintK ( 1274): <6>msm_camera: ov5642_reg_init(424): 310 ms
D/PrintK ( 1274): <6>msm_camera: __msm_open: sensor ov7690 power down
D/PrintK ( 1274): <6>msm_camera: ov5642_sensor_init: 1D sensor
W/PrintK ( 1274): msm_get_sensor_info: sensor_name ov5642
D/QualcommCameraHardware( 1274): initDefaultParameters E
E/mm-camera( 1274): cam_conf: sensor name:ov5642 and length:6
E/mm-camera( 1274): cam_conf: open sensor name ov5642
W/PrintK ( 1274): msm_get_sensor_info: sensor_name ov5642
F/libc ( 1274): Fatal signal 8 (SIGFPE) at 0x000004fa (code=0)
I/Process ( 182): Sending signal. PID: 1286 SIG: 3
I/dalvikvm( 1286): threadid=3: reacting to signal 3
I/dalvikvm( 1286): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 182): Sending signal. PID: 1286 SIG: 3
I/dalvikvm( 1286): threadid=3: reacting to signal 3
I/dalvikvm( 1286): Wrote stack traces to '/data/anr/traces.txt'
D/PrintK ( 1274): <6>msm_enqueue: queue control new max is 1
D/QualcommCameraHardware( 1274): findSensorType: sensorType is 5mp
D/QualcommCameraHardware( 1274): filterPictureSizes: supportedPictureSizesCount=6
D/QualcommCameraHardware( 1274): ctrlCmd.value = 30
D/QualcommCameraHardware( 1274): Maximum zoom value is 30
D/QualcommCameraHardware( 1274): initDefaultParameters X
D/QualcommCameraHardware( 1274): createInstance: X created hardware=0x13be8
E/ExtendedExtractor( 1274): Failed to open MM_PARSER_LIB, dlerror = Cannot load library: reloc_library[1285]: 1274 cannot locate '_ZN7android11MediaSource23getNumberOfVideoBuffersEv'...
E/ExtendedExtractor( 1274):
E/ExtendedExtractor( 1274): Failed to open MM_PARSER_LITE_LIB, dlerror = Cannot load library: load_library[1091]: Library 'libmmparser_lite.so' not found
did you tried a simple
#touch /system/lib/libmmparser_lite.so
maybe its not very much needed,at least for now.
https://github.com/ThePlayground/proprietary_vendor_qcom/commits/ics
https://github.com/aospX/platform_vendor_qcom_proprietary/commits/ics-devel
https://github.com/aospX/platform_vendor_qcom_proprietary/commits/ics-devel
Are those useful for us?
I actually don't think it's the real problem - look at SIGFPE in libc while getting camera parameters.
--
I'm still hesitating what path should we take (keeping in mind that i have less than hour per day for tests).
Anyway - after applying (thank you, sinan33) patches, libcamera loads and seems to work (mm-camera).
We having this on GB camera start:
Code:
W/PrintK ( 1785): msm_get_sensor_info: sensor_name ov5642
D/QualcommCameraHardware( 1785): initDefaultParameters E
E/mm-camera( 1785): cam_conf: sensor name:ov5642 and length:6
E/mm-camera( 1785): cam_conf: open sensor name ov5642
W/PrintK ( 1785): msm_get_sensor_info: sensor_name ov5642
D/PrintK ( 1785): <6>msm_enqueue: queue control new max is 1
and this on ICS:
Code:
W/PrintK ( 1274): msm_get_sensor_info: sensor_name ov5642
D/QualcommCameraHardware( 1274): initDefaultParameters E
E/mm-camera( 1274): cam_conf: sensor name:ov5642 and length:6
E/mm-camera( 1274): cam_conf: open sensor name ov5642
W/PrintK ( 1274): msm_get_sensor_info: sensor_name ov5642
F/libc ( 1274): Fatal signal 8 (SIGFPE) at 0x000004fa (code=0)
https://bugzilla.mozilla.org/show_bug.cgi?id=766395
pastebin.com/6BBkRMBs
And those?
---------- Post added at 10:55 AM ---------- Previous post was at 10:47 AM ----------
pastebin.com/b1cB4SFF
Maybe this would help us?
---------- Post added at 10:56 AM ---------- Previous post was at 10:55 AM ----------
http://fixunix.com/unix/335322-catching-sigfpe-signal.html
---------- Post added at 10:58 AM ---------- Previous post was at 10:56 AM ----------
Description of SIGFPE 8:
Action:Core
Comment:Floating point exception.
"SIGFPE 8 Core Floating point exception"
_n0p_ said:
I actually don't think it's the real problem - look at SIGFPE in libc while getting camera parameters.
--
I'm still hesitating what path should we take (keeping in mind that i have less than hour per day for tests).
Anyway - after applying (thank you, sinan33) patches, libcamera loads and seems to work (mm-camera).
We having this on GB camera start:
Code:
W/PrintK ( 1785): msm_get_sensor_info: sensor_name ov5642
D/QualcommCameraHardware( 1785): initDefaultParameters E
E/mm-camera( 1785): cam_conf: sensor name:ov5642 and length:6
E/mm-camera( 1785): cam_conf: open sensor name ov5642
W/PrintK ( 1785): msm_get_sensor_info: sensor_name ov5642
D/PrintK ( 1785): <6>msm_enqueue: queue control new max is 1
and this on ICS:
Code:
W/PrintK ( 1274): msm_get_sensor_info: sensor_name ov5642
D/QualcommCameraHardware( 1274): initDefaultParameters E
E/mm-camera( 1274): cam_conf: sensor name:ov5642 and length:6
E/mm-camera( 1274): cam_conf: open sensor name ov5642
W/PrintK ( 1274): msm_get_sensor_info: sensor_name ov5642
F/libc ( 1274): Fatal signal 8 (SIGFPE) at 0x000004fa (code=0)
Click to expand...
Click to collapse
can you please upload the latest build
Uploading to SkyDrive now, but doubt that it has any practical effect.
https://skydrive.live.com/redir.asp...!Amrj8sR38ZY7OSw&Bpub=SDX.SkyDrive&Bsrc=Share
In attach - version of camera.streak.so that should dump camera parameters to log.
Don't forget to
chmod 666 /dev/msm_camera/*
So far:
Code:
D/PrintK ( 118): <6>msm_camera: ov5642_reg_init(403): 100 ms
D/dalvikvm( 671): GC_CONCURRENT freed 13K, 2% free 10233K/10439K, paused 2ms+2ms
D/PrintK ( 118): <6>msm_camera: ov5642_reg_init(424): 170 ms
D/PrintK ( 118): <6>msm_camera: __msm_open: sensor ov7690 power down
D/PrintK ( 118): <6>msm_camera: ov5642_sensor_init: 1D sensor
W/PrintK ( 118): msm_get_sensor_info: sensor_name ov5642
D/QualcommCameraHardware( 118): initDefaultParameters E
E/mm-camera( 118): cam_conf: sensor name:ov5642 and length:6
D/PrintK ( 118): <6>msm_enqueue: queue event new max is 1
E/mm-camera( 118): cam_conf: open sensor name ov5642
W/PrintK ( 118): msm_get_sensor_info: sensor_name ov5642
F/libc ( 118): Fatal signal 8 (SIGFPE) at 0x00000076 (code=0)
I/Process ( 185): Sending signal. PID: 671 SIG: 3
I/dalvikvm( 671): threadid=3: reacting to signal 3
I/dalvikvm( 671): Wrote stack traces to '/data/anr/traces.txt'
D/PrintK ( 118): <6>msm_enqueue: queue control new max is 1
D/QualcommCameraHardware( 118): findSensorType: sensorType is 5mp
D/QualcommCameraHardware( 118): filterPictureSizes: supportedPictureSizesCount=6
D/QualcommCameraHardware( 118): ctrlCmd.value = 30
D/QualcommCameraHardware( 118): Maximum zoom value is 30
D/QualcommCameraHardware( 118): initDefaultParameters X
D/QualcommCameraHardware( 118): createInstance: X created hardware=0x186f0
D/CameraHAL( 118): camera_set_callbacks
D/CameraHAL( 118): camera_enable_msg_type: type 13
D/CameraHAL( 118): camera_enable_msg_type: CAMERA_MSG_ERROR
D/CameraHAL( 118): camera_enable_msg_type: CAMERA_MSG_FOCUS
D/CameraHAL( 118): camera_enable_msg_type: CAMERA_MSG_ZOOM
I/AwesomePlayer( 118): setDataSource_l('/system/media/audio/ui/camera_click.ogg')
E/OMXCodec( 118): Attempting to allocate OMX node 'OMX.google.vorbis.decoder'
E/OMXCodec( 118): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
I/AwesomePlayer( 118): setDataSource_l('/system/media/audio/ui/VideoRecord.ogg')
E/OMXCodec( 118): Attempting to allocate OMX node 'OMX.google.vorbis.decoder'
E/OMXCodec( 118): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
D/CameraHAL( 118): camera_get_parameters
D/CameraHAL( 118): camera_get_parameters
D/Camera ( 671): app passed NULL surface
D/CameraHAL( 118): camera_get_camera_info: id:0 faceing:0 orientation: 90
D/CameraHAL( 118): camera_get_parameters
V/camera ( 671): Preview size is 640x480
D/CameraHAL( 118): camera_set_parameters
D/QualcommCameraHardware( 118): setParameters: E params = 0xbea15a3c
D/QualcommCameraHardware( 118): requested preview size 640 x 480
D/QualcommCameraHardware( 118): requested picture size 1280 x 960
D/QualcommCameraHardware( 118): Set zoom=0
I/DEBUG ( 111): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 111): Build fingerprint: 'dell/dell_streak/streak:4.0.4/IMM76L/eng.den.20120711.230916:eng/test-keys'
I/DEBUG ( 111): pid: 118, tid: 689 >>> /system/bin/mediaserver <<<
I/DEBUG ( 111): signal 8 (SIGFPE), code 0 (?), fault addr 00000076
I/DEBUG ( 111): r0 00000000 r1 00000008 r2 ffffffff r3 00000000
I/DEBUG ( 111): r4 00000008 r5 000003c0 r6 0000000a r7 00000025
I/DEBUG ( 111): r8 a7762fa0 r9 41b52aa8 10 41b52ac4 fp 00000000
I/DEBUG ( 111): ip 4005c12d sp 41b529e8 lr 4005c13b pc 400506b0 cpsr 00000010
I/DEBUG ( 111): d0 0000079800000000 d1 44a0000000000002
I/DEBUG ( 111): d2 4000333340000000 d3 0000000000000a20
I/DEBUG ( 111): d4 0000000000000000 d5 0000000000000000
I/DEBUG ( 111): d6 0000050000000000 d7 0000000000000000
I/DEBUG ( 111): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 111): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 111): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 111): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 111): d16 3fe0000000000000 d17 4001540d31d1dd7f
I/DEBUG ( 111): d18 4000000000000000 d19 bfc540d31d1dd7f1
I/DEBUG ( 111): d20 3f1153849946b6ba d21 bebbb89c51a06d6e
I/DEBUG ( 111): d22 3ff0000000000000 d23 3feb390135d1ac72
I/DEBUG ( 111): d24 3e66376972bea4d0 d25 0000000000000000
I/DEBUG ( 111): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 111): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 111): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 111): scr 20000010
I/DEBUG ( 111):
I/DEBUG ( 111): #00 pc 0000d6b0 /system/lib/libc.so (kill)
I/DEBUG ( 111): #01 pc 00019138 /system/lib/libc.so (raise)
I/DEBUG ( 111):
I/DEBUG ( 111): code around pc:
I/DEBUG ( 111): 40050690 e2601000 e0100001 116f0f10 12600020 ..`.......o. .`.
I/DEBUG ( 111): 400506a0 e12fff1e e92d50f0 e3a07025 ef000000 ../..P-.%p......
I/DEBUG ( 111): 400506b0 e8bd50f0 e1b00000 512fff1e ea00b0f8 .P......../Q....
I/DEBUG ( 111): 400506c0 e92d50f0 e3a070ee ef000000 e8bd50f0 .P-..p.......P..
I/DEBUG ( 111): 400506d0 e1b00000 512fff1e ea00b0f1 f5d0f000 ....../Q........
I/DEBUG ( 111):
I/DEBUG ( 111): code around lr:
I/DEBUG ( 111): 4005c118 0002a37a 461cb537 e9cd17dd f7f34500 z...7..F.....E..
I/DEBUG ( 111): 4005c128 bd3ee9c0 4604b510 e81cf7f3 f7f44621 ..>....F....!F..
I/DEBUG ( 111): 4005c138 bd10eab6 49034602 2300b510 f7f44802 .....F.I...#.H..
I/DEBUG ( 111): 4005c148 bd10e8b4 28121969 fee1dead 2400b513 ....i..(.......$
I/DEBUG ( 111): 4005c158 94019400 ef5af7f3 bf00bd1c 4c11b570 ......Z.....p..L
I/DEBUG ( 111):
I/DEBUG ( 111): stack:
I/DEBUG ( 111): 41b529a8 00000000
I/DEBUG ( 111): 41b529ac 00000000
I/DEBUG ( 111): 41b529b0 a7762288
I/DEBUG ( 111): 41b529b4 a7763f48
I/DEBUG ( 111): 41b529b8 00001000
I/DEBUG ( 111): 41b529bc 00000000
I/DEBUG ( 111): 41b529c0 a7763e88
I/DEBUG ( 111): 41b529c4 00000000
I/DEBUG ( 111): 41b529c8 00001000
I/DEBUG ( 111): 41b529cc 00000001
I guess we are dealing with some parser error in CameraParameters.cpp. I mean some value supplied to liboemcamera breaks it.
Would someone strace it?

application crashes when trying loadLibrary(), issue with pthread_create on 4.1.1?

I am trying to debug a crash with trying to load a library that I cross-compiled using System.loadLibrary(). I have been able to successfully load this library on any device running 4.0.4 (ICS), but it crashes on all of my devices running 4.1.1 (JB). It seems to crash when running in to pthread_create() in libc:
Code:
10-01 14:25:34.173: D/dalvikvm(8215): Trying to load lib /data/data/com.gnychis.awmon/lib/libtshark.so 0x410fb430
10-01 14:25:34.181: A/libc(8215): Fatal signal 11 (SIGSEGV) at 0x5dfaa01c (code=2), thread 8232 (AsyncTask #1)
// And here is the end of the stack....
I/DEBUG ( 246): #10 pc 0001263c /system/lib/libc.so (pthread_create+180)
Here is the much longer crash log that is involved showing the entire stack trace, and you will see it ends at libc and pthread_create:
Code:
D/dalvikvm(26364): Trying to load lib /data/data/com.gnychis.awmon/lib/libtshark.so 0x410a5ee0
F/libc (26364): Fatal signal 11 (SIGSEGV) at 0x5dff301c (code=2), thread 27345 (AsyncTask #1)
D/AndroidRuntime(27404): Calling main entry com.android.commands.am.Am
I/DEBUG ( 246): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 246): Build fingerprint: 'd2uc-user 4.0.4 IMM76D I747UCALEM release-keys'
I/DEBUG ( 246): pid: 26364, tid: 27345, name: AsyncTask #1 >>> com.gnychis.awmon <<<
I/DEBUG ( 246): signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 5dff301c
D/AndroidRuntime(27404): Shutting down VM
D/dalvikvm(27404): GC_CONCURRENT freed 99K, 88% free 498K/4096K, paused 1ms+1ms, total 7ms
I/AndroidRuntime(27404): NOTE: attach of thread 'Binder_3' failed
I/DEBUG ( 246): r0 80000000 r1 02b1a000 r2 00000005 r3 5dff3000
I/DEBUG ( 246): r4 40102894 r5 4010aaec r6 00000000 r7 00000029
I/DEBUG ( 246): r8 00000029 r9 5dff3000 sl 60871000 fp 02b1a000
I/DEBUG ( 246): ip 00000005 sp 5d95ace0 lr 6004d1bb pc 400ec6e0 cpsr 600d0030
I/DEBUG ( 246): d0 61642f617461642f d1 672e6d6f632f6174
I/DEBUG ( 246): d2 612e73696863796e d3 62696c2f6e6f6d77
I/DEBUG ( 246): d4 00000000000e16f0 d5 000000000000695f
I/DEBUG ( 246): d6 000000000002a715 d7 0000012f00000000
I/DEBUG ( 246): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 246): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 246): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 246): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 246): d16 7420676e69797254 d17 6c2064616f6c206f
I/DEBUG ( 246): d18 0063002f00610074 d19 0067002e006d006f
I/DEBUG ( 246): d20 006800630079006e d21 0061002e00730069
I/DEBUG ( 246): d22 006e006f006d0077 d23 00620069006c002f
I/DEBUG ( 246): d24 000000000000e16f d25 0000000000000000
I/DEBUG ( 246): d26 000000000000695f d27 0000000000000000
I/DEBUG ( 246): d28 000000000000695f d29 0000000000000000
I/DEBUG ( 246): d30 0000000500000005 d31 0000000500000005
I/DEBUG ( 246): scr 60000012
I/DEBUG ( 246):
I/DEBUG ( 246): backtrace:
I/DEBUG ( 246): #00 pc 000046e0 /system/bin/linker
I/DEBUG ( 246): #01 pc 00005b6f /system/bin/linker
I/DEBUG ( 246): #02 pc 0004f73b /system/lib/libdvm.so (dvmLoadNativeCode(char const*, Object*, char**)+186)
I/DEBUG ( 246): #03 pc 000662bd /system/lib/libdvm.so
I/DEBUG ( 246): #04 pc 000274e0 /system/lib/libdvm.so
I/DEBUG ( 246): #05 pc 0002be08 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+180)
I/DEBUG ( 246): #06 pc 0005f9f5 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+272)
I/DEBUG ( 246): #07 pc 0005fa1f /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
I/DEBUG ( 246): #08 pc 000545ab /system/lib/libdvm.so
I/DEBUG ( 246): #09 pc 00012ee4 /system/lib/libc.so (__thread_entry+48)
I/DEBUG ( 246): #10 pc 0001263c /system/lib/libc.so (pthread_create+180)
The interesting thing is that if I use arm-eabi-objdump on the library, the address 1263c seems to be when it tries to do a pthread_clone:
Code:
$ arm-eabi-objdump -S /tmp/libc.so | grep 1263c
1263c: ebffed71 bl dc08 <__pthread_clone>
Does anyone have any insight as to why this would not be working on 4.1.1? Also, why does my "Build fingerprint" at the top of my crash log show:
Code:
Build fingerprint: 'd2uc-user 4.0.4'
Could this be the root issue of why it's not running on 4.1.1? I am using the newest NDK (r8b), with android-14 as the platform with the arm-eabi-4.4.3 toolchain.
Thanks so much for any help/guidance.

[Q] Help with Logcat

I'm helping a friend to port a rom and now we stuck on this error
can someone share some lights on this please??
Code:
--------- beginning of /dev/log/system
I/Vold ( 193): Vold 2.1 (the revenge) firing up
D/Vold ( 193): Volume usbdisk state changing -1 (Initializing) -> 0 (No-Media)
--------- beginning of /dev/log/main
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/mm-camera-intf( 1755): mm_camera_open: dev name = /dev/video2, cam_idx = 2
I/mm-camera-sensor( 214): module_sensor_start_session:577 session 2
I/mm-camera( 214): gyro_module_start_session: Enter
I/mm-camera( 214): gyro_module_start_session: Init DSPS
I/mm-camera( 214): gyro_module_start_session: Exit successful
I/mm-camera( 214): gyro_module_get_port: Exit successful
I/mm-camera( 214): cpp_module_start_session:352, info: starting session 2
I/mm-camera( 214): cpp_module_start_session:425, info: session 2 started.
I/mm-camera( 214): c2d_module_start_session:246, info: starting session 2
I/mm-camera( 214): c2d_module_start_session:306, info: session 2 started.
I/mm-camera-sensor( 214): module_module_set_session_data:2435 max delay 2 report dSelay 1
D/mm-camera( 214): module_faceproc_set_session_data:1826] Per frame control 2 1
D/mm-camera-intf( 1755): mm_camera_open: opened, break out while loop
I/mm-camera( 214): mct_pipeline_process_set:command=800000b
E/mm-camera( 214): mct_pipeline_get_stream: no children
E/mm-camera( 214): mct_pipeline_process_set:1370: Couldn't find stream
I/mm-camera-sensor( 214): module_sensor_stop_session:630 session 2
I/mm-camera( 214): stats_module_stop_session: list =0xb8da77f0, remove port =0xb8d9f8c8 name=stats_sink from module=0xb8d8d778, name=stats
I/mm-camera( 214): stats_module_stop_session: 1 port =0xb8d9f8c8 name=stats_sink
I/mm-camera( 214): stats_module_stop_session: 2 port =0xb8d9f8c8 name=stats_sink
I/mm-camera( 214): gyro_module_stop_session: Enter
I/mm-camera( 214): gyro_module_stop_session: Deinit DSPS
I/mm-camera( 214): gyro_module_stop_session: Exit successful
I/mm-camera( 214): stats_module_stop_session: 3 port =0xb8d9f8c8 name=stats_sink
I/mm-camera( 214): cpp_module_stop_session:453, info: stopping session 2 ...
I/mm-camera( 214): cpp_module_stop_session:495, info: session 2 stopped.
I/mm-camera( 214): c2d_module_stop_session:322, info: stopping session 2 ...
I/mm-camera( 214): c2d_module_stop_session:361, info: session 2 stopped.
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
I/AudioPolicyManagerBase( 1755): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
D/audio_hw_primary( 1755): adev_open: enter
I/ServiceManager( 192): service 'media.audio_flinger' died
I/ServiceManager( 192): service 'media.player' died
I/ServiceManager( 192): service 'media.camera' died
I/Netd ( 1844): Netd 1.0 starting
W/InterfaceController( 1844): Warning (dlopen failed: library "/system/lib/libnetcmdiface.so" not found) while opening the net interface command library
I/mediaserver( 1846): ServiceManager: 0xb77e0460
I/AudioFlinger( 1846): Using default 3000 mSec as standby time.
I/CameraService( 1846): CameraService started (pid=1846)
I/CameraService( 1846): Loaded "QCamera Module" camera module
D/mm-camera-intf( 1846): mm_camera_open: dev name = /dev/video1, cam_idx = 1
I/mm-camera-sensor( 214): module_sensor_start_session:577 session 1
I/mm-camera( 214): gyro_module_start_session: Enter
I/mm-camera( 214): gyro_module_start_session: Init DSPS
I/mm-camera( 214): gyro_module_start_session: Exit successful
I/mm-camera( 214): gyro_module_get_port: Exit successful
I/mm-camera( 214): cpp_module_start_session:352, info: starting session 1
I/mm-camera( 214): cpp_module_start_session:425, info: session 1 started.
I/mm-camera( 214): c2d_module_start_session:246, info: starting session 1
I/mm-camera( 214): c2d_module_start_session:306, info: session 1 started.
I/mm-camera-sensor( 214): module_module_set_session_data:2435 max delay 2 report dSelay 1
D/mm-camera( 214): module_faceproc_set_session_data:1826] Per frame control 2 1
D/mm-camera-intf( 1846): mm_camera_open: opened, break out while loop
I/mm-camera( 214): mct_pipeline_process_set:command=800000b
E/mm-camera( 214): mct_pipeline_get_stream: no children
E/mm-camera( 214): mct_pipeline_process_set:1370: Couldn't find stream
I/mm-camera-sensor( 214): module_sensor_stop_session:630 session 1
D/AndroidRuntime( 1845):
D/AndroidRuntime( 1845): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 1845): CheckJNI is OFF
D/dalvikvm( 1845): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 1845): Added shared lib libjavacore.so 0x0
D/dalvikvm( 1845): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 1845): Added shared lib libnativehelper.so 0x0
D/dalvikvm( 1845): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
E/dalvikvm( 1845): ERROR: couldn't find native method
E/dalvikvm( 1845): Requested: Landroid/content/res/AssetManager;.addOverlayPath:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I
E/dalvikvm( 1845): JNI posting fatal error: RegisterNatives failed for 'android/content/res/AssetManager'; aborting...
I/dalvikvm( 1845): "main" prio=5 tid=1 NATIVE
I/dalvikvm( 1845): | group="main" sCount=0 dsCount=0 obj=0x41597cc0 self=0x414d1410
I/dalvikvm( 1845): | sysTid=1845 nice=0 sched=0/0 cgrp=default handle=1074164052
I/dalvikvm( 1845): | state=R schedstat=( 240528748 6300576 47 ) utm=16 stm=8 core=1
I/dalvikvm( 1845): #00 pc 0000132e /system/lib/libcorkscrew.so (unwind_backtrace_thread+29)
I/dalvikvm( 1845): #01 pc 0006064e /system/lib/libdvm.so (dvmDumpNativeStack(DebugOutputTarget const*, int)+33)
I/dalvikvm( 1845): #02 pc 0005463c /system/lib/libdvm.so (dvmDumpThreadEx(DebugOutputTarget const*, Thread*, bool)+395)
I/dalvikvm( 1845): #03 pc 000546aa /system/lib/libdvm.so (dvmDumpThread(Thread*, bool)+25)
I/dalvikvm( 1845): #04 pc 000490c0 /system/lib/libdvm.so
I/dalvikvm( 1845): #05 pc 00001fd2 /system/lib/libnativehelper.so (jniRegisterNativeMethods+81)
I/dalvikvm( 1845): #06 pc 0004d8b6 /system/lib/libandroid_runtime.so
I/dalvikvm( 1845): #07 pc 0004dba4 /system/lib/libandroid_runtime.so (android::AndroidRuntime::startReg(_JNIEnv*)+23)
I/dalvikvm( 1845): #08 pc 0004e5f4 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+183)
I/dalvikvm( 1845): #09 pc 0000105a /system/bin/app_process
I/dalvikvm( 1845): #10 pc 0000e398 /system/lib/libc.so (__libc_init+47)
I/dalvikvm( 1845): at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm( 1845): at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm( 1845):
E/dalvikvm( 1845): VM aborting
F/libc ( 1845): Fatal signal 6 (SIGABRT) at 0x00000735 (code=-6), thread 1845 (zygote)
I/DEBUG ( 196): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 196): Build fingerprint: 'google/hammerhead/hammerhead:4.4.4/KTU84P/1227136:user/release-keys'
I/DEBUG ( 196): Revision: '11'
I/DEBUG ( 196): pid: 1845, tid: 1845, name: zygote >>> zygote <<<
I/DEBUG ( 196): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/DEBUG ( 196): r0 00000000 r1 00000735 r2 00000006 r3 00000000
I/DEBUG ( 196): r4 00000006 r5 00000016 r6 00000735 r7 0000010c
I/DEBUG ( 196): r8 00000004 r9 bec36ba4 sl 00000000 fp bec36b83
I/DEBUG ( 196): ip 401f44b4 sp bec36628 lr 4008f035 pc 4009dfe0 cpsr 000f0010
I/DEBUG ( 196): d0 0000000000000000 d1 0000000000000000
I/DEBUG ( 196): d2 0000000000000000 d3 0000000000000000
I/DEBUG ( 196): d4 0000000000000000 d5 000000006e736c40
I/DEBUG ( 196): d6 3f0000004158f720 d7 000000000000007f
I/DEBUG ( 196): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 196): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 196): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 196): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 196): d16 2065766974614e28 d17 0a29646f6874654d
I/DEBUG ( 196): d18 65747379732f2020 d19 696c2f62696c2f6d
I/DEBUG ( 196): d20 64696f72646e6162 d21 656d69746e75725f
I/DEBUG ( 196): d22 646e6128206f732e d23 6e413a3a64696f72
I/DEBUG ( 196): d24 0000000000000000 d25 0000000000000000
I/DEBUG ( 196): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 196): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 196): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 196): scr 60000010
I/DEBUG ( 196):
I/DEBUG ( 196): backtrace:
I/DEBUG ( 196): #00 pc 00021fe0 /system/lib/libc.so (tgkill+12)
I/DEBUG ( 196): #01 pc 00013031 /system/lib/libc.so (pthread_kill+48)
I/DEBUG ( 196): #02 pc 00013245 /system/lib/libc.so (raise+10)
I/DEBUG ( 196): #03 pc 00011f7b /system/lib/libc.so
I/DEBUG ( 196): #04 pc 00021894 /system/lib/libc.so (abort+4)
I/DEBUG ( 196): #05 pc 00045cc7 /system/lib/libdvm.so (dvmAbort+78)
I/DEBUG ( 196): #06 pc 00001fd5 /system/lib/libnativehelper.so (jniRegisterNativeMethods+84)
I/DEBUG ( 196): #07 pc 0004d8b9 /system/lib/libandroid_runtime.so
I/DEBUG ( 196): #08 pc 0004dba5 /system/lib/libandroid_runtime.so (android::AndroidRuntime::startReg(_JNIEnv*)+24)
I/DEBUG ( 196): #09 pc 0004e5f5 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+184)
I/DEBUG ( 196): #10 pc 0000105b /system/bin/app_process
I/DEBUG ( 196): #11 pc 0000e39b /system/lib/libc.so (__libc_init+50)
I/DEBUG ( 196): #12 pc 00000d7c /system/bin/app_process
I/DEBUG ( 196):
I/DEBUG ( 196): stack:
I/DEBUG ( 196): bec365e8 401e17cd /system/lib/libandroid_runtime.so
I/DEBUG ( 196): bec365ec 00000035
I/DEBUG ( 196): bec365f0 401f44b4 /system/lib/libandroid_runtime.so
I/DEBUG ( 196): bec365f4 00000004
I/DEBUG ( 196): bec365f8 bec36ba4 [stack]
I/DEBUG ( 196): bec365fc 00000000
I/DEBUG ( 196): bec36600 bec36b83 [stack]
I/DEBUG ( 196): bec36604 400a2501 /system/lib/libc.so (snprintf+80)
I/DEBUG ( 196): bec36608 36333138
I/DEBUG ( 196): bec3660c 30203020
I/DEBUG ( 196): bec36610 bec36684 [stack]
I/DEBUG ( 196): bec36614 00000000
I/DEBUG ( 196): bec36618 00000000
I/DEBUG ( 196): bec3661c 20302030
I/DEBUG ( 196): bec36620 00004000
I/DEBUG ( 196): bec36624 bec36692 [stack]
I/DEBUG ( 196): #00 bec36628 00000006
I/DEBUG ( 196): bec3662c 00000016
I/DEBUG ( 196): bec36630 00000735
I/DEBUG ( 196): bec36634 401f44b4 /system/lib/libandroid_runtime.so
I/DEBUG ( 196): bec36638 401f44b4 /system/lib/libandroid_runtime.so
I/DEBUG ( 196): bec3663c 4008f035 /system/lib/libc.so (pthread_kill+52)
I/DEBUG ( 196): #01 bec36640 00000006
I/DEBUG ( 196): bec36644 00000000
I/DEBUG ( 196): bec36648 00000035
I/DEBUG ( 196): bec3664c 4008f249 /system/lib/libc.so (raise+14)
I/DEBUG ( 196): #02 bec36650 bec3665c [stack]
I/DEBUG ( 196): bec36654 4008df7f /system/lib/libc.so
I/DEBUG ( 196):
I/DEBUG ( 196): memory near r9:
I/DEBUG ( 196): bec36b84 746f6779 622f0065 612f6e69 705f7070
I/DEBUG ( 196): bec36b94 65636f72 2d007373 67797a58 0065746f
I/DEBUG ( 196): bec36ba4 7379732f 2f6d6574 006e6962 797a2d2d
I/DEBUG ( 196): bec36bb4 65746f67 732d2d00 74726174 7379732d
I/DEBUG ( 196): bec36bc4 2d6d6574 76726573 50007265 3d485441
I/DEBUG ( 196): bec36bd4 6962732f 762f3a6e 6f646e65 69622f72
I/DEBUG ( 196): bec36be4 732f3a6e 65747379 62732f6d 2f3a6e69
I/DEBUG ( 196): bec36bf4 74737973 622f6d65 2f3a6e69 74737973
I/DEBUG ( 196): bec36c04 782f6d65 006e6962 4c5f444c 41524249
I/DEBUG ( 196): bec36c14 505f5952 3d485441 6e65762f 2f726f64
I/DEBUG ( 196): bec36c24 3a62696c 7379732f 2f6d6574 0062696c
I/DEBUG ( 196): bec36c34 52444e41 5f44494f 544f4f42 4f474f4c
I/DEBUG ( 196): bec36c44 4100313d 4f52444e 525f4449 3d544f4f
I/DEBUG ( 196): bec36c54 7379732f 006d6574 52444e41 5f44494f
I/DEBUG ( 196): bec36c64 45535341 2f3d5354 74737973 612f6d65
I/DEBUG ( 196): bec36c74 41007070 4f52444e 445f4449 3d415441
I/DEBUG ( 196):
I/DEBUG ( 196): memory near fp:
I/DEBUG ( 196): bec36b60 bec36b7f 00000000 00000000 ce000000
I/DEBUG ( 196): bec36b70 4935fbfb a3627a42 6cb16c8e 76cab2c1
I/DEBUG ( 196): bec36b80 7a006c37 746f6779 622f0065 612f6e69
I/DEBUG ( 196): bec36b90 705f7070 65636f72 2d007373 67797a58
I/DEBUG ( 196): bec36ba0 0065746f 7379732f 2f6d6574 006e6962
I/DEBUG ( 196): bec36bb0 797a2d2d 65746f67 732d2d00 74726174
I/DEBUG ( 196): bec36bc0 7379732d 2d6d6574 76726573 50007265
I/DEBUG ( 196): bec36bd0 3d485441 6962732f 762f3a6e 6f646e65
I/DEBUG ( 196): bec36be0 69622f72 732f3a6e 65747379 62732f6d
I/DEBUG ( 196): bec36bf0 2f3a6e69 74737973 622f6d65 2f3a6e69
I/DEBUG ( 196): bec36c00 74737973 782f6d65 006e6962 4c5f444c
I/DEBUG ( 196): bec36c10 41524249 505f5952 3d485441 6e65762f
I/DEBUG ( 196): bec36c20 2f726f64 3a62696c 7379732f 2f6d6574
I/DEBUG ( 196): bec36c30 0062696c 52444e41 5f44494f 544f4f42
I/DEBUG ( 196): bec36c40 4f474f4c 4100313d 4f52444e 525f4449
I/DEBUG ( 196): bec36c50 3d544f4f 7379732f 006d6574 52444e41
I/DEBUG ( 196):
I/DEBUG ( 196): memory near ip:
I/DEBUG ( 196): 401f4494 401d6831 401b20e9 401e1520 401e1485
I/DEBUG ( 196): 401f44a4 401b2145 401dcec4 401dad34 401b2081
I/DEBUG ( 196): 401f44b4 401e17f6 401db373 401b4f19 401e1800
I/DEBUG ( 196): 401f44c4 401e180c 401b4ec1 401e1844 401e1857
I/DEBUG ( 196): 401f44d4 401b4e49 401e186f 401e1884 401b4de1
I/DEBUG ( 196): 401f44e4 401e18bd 401e18c2 401b5019 401e18ea
I/DEBUG ( 196): 401f44f4 401d6b39 401b3a05 401e18f7 401d71ad
I/DEBUG ( 196): 401f4504 401b39d5 401e1905 401e190f 401b3925
I/DEBUG ( 196): 401f4514 401e1918 401e1922 401b38e1 401e1929
I/DEBUG ( 196): 401f4524 401ded38 401b38b5 401e1938 401ded38
I/DEBUG ( 196): 401f4534 401b3889 401e1950 401df0e7 401b4d8f
I/DEBUG ( 196): 401f4544 401e1963 401e1972 401b4c9f 401e19d0
I/DEBUG ( 196): 401f4554 401d70d3 401b4c87 401e19e4 401d88cf
I/DEBUG ( 196): 401f4564 401b4c41 401e19f7 401d88cf 401b4c01
I/DEBUG ( 196): 401f4574 401e1a12 401d71ad 401b4be5 401e1a23
I/DEBUG ( 196): 401f4584 401e1a2f 401b4b17 401e1a7c 401d6a6a
I/DEBUG ( 196):
I/DEBUG ( 196): memory near sp:
I/DEBUG ( 196): bec36608 36333138 30203020 bec36684 00000000
I/DEBUG ( 196): bec36618 00000000 20302030 00004000 bec36692
I/DEBUG ( 196): bec36628 00000006 00000016 00000735 401f44b4
I/DEBUG ( 196): bec36638 401f44b4 4008f035 00000006 00000000
I/DEBUG ( 196): bec36648 00000035 4008f249 bec3665c 4008df7f
I/DEBUG ( 196): bec36658 00000000 ffffffdf 400c62c4 400c622c
I/DEBUG ( 196): bec36668 00000000 40090b3f 415811f0 415811f0
I/DEBUG ( 196): bec36678 401e17cd 4009d898 00000000 41517ccb
I/DEBUG ( 196): bec36688 400d4324 6c756e28 0000296c 00000000
I/DEBUG ( 196): bec36698 00000000 00000000 00000000 00000000
I/DEBUG ( 196): bec366a8 00000000 00000000 00000000 00000000
I/DEBUG ( 196): bec366b8 00000000 00000000 00000000 00000000
I/DEBUG ( 196): bec366c8 00000000 00000000 00000000 00000000
I/DEBUG ( 196): bec366d8 00000000 00000000 00000000 00000000
I/DEBUG ( 196): bec366e8 00000000 00000000 00000000 00000000
I/DEBUG ( 196): bec366f8 00000000 00000000 00000000 00000000
I/DEBUG ( 196):
I/DEBUG ( 196): code around pc:
I/DEBUG ( 196): 4009dfc0 e8bd00f0 e3700a01 912fff1e e2600000
I/DEBUG ( 196): 4009dfd0 ea006e20 e92d50f0 e3a07f43 ef000000
I/DEBUG ( 196): 4009dfe0 e8bd50f0 e3700a01 912fff1e e2600000
I/DEBUG ( 196): 4009dff0 ea006e18 e92d50f0 e3a070ee ef000000
I/DEBUG ( 196): 4009e000 e8bd50f0 e3700a01 912fff1e e2600000
I/DEBUG ( 196): 4009e010 ea006e10 f200429a bf0080b9 f040f891
I/DEBUG ( 196): 4009e020 4001e92d f2c02a04 2a1080a5 8093f2c0
I/DEBUG ( 196): 4009e030 f2c02a20 2a408088 ea4fdb7f f1bc1c92
I/DEBUG ( 196): 4009e040 dd6c0f0a 0600e92d 0f40f1bc f500dd4a
I/DEBUG ( 196): 4009e050 f5016e80 ebae7920 ea4f0e09 ea4f5e4e
I/DEBUG ( 196): 4009e060 f50e5e5e ebbc7e20 dd3b1f9e f04fbfc4
I/DEBUG ( 196): 4009e070 ebd9090a dd35199e 0a0eeb01 0a3ff02a
I/DEBUG ( 196): 4009e080 1c9eebac bfd245e1 0c09ebac f04f46e1
I/DEBUG ( 196): 4009e090 f8910c00 f891f240 f921f280 f921028d
I/DEBUG ( 196): 4009e0a0 f8da428d f1b93000 f9000901 f900028d
I/DEBUG ( 196): 4009e0b0 f10a428d d1ee0a40 0f00f1bc f5bcd02b
I/DEBUG ( 196):
I/DEBUG ( 196): code around lr:
I/DEBUG ( 196): 4008f014 447b4b13 42b3e010 6a1ed10e 44784811
I/DEBUG ( 196): 4008f024 ec84f7fb ea0ef00d 46224631 efd0f00e
I/DEBUG ( 196): 4008f034 d00a3001 e00b2400 2b00681b 480ad1eb
I/DEBUG ( 196): 4008f044 44782403 ec72f7fb f001e002 6804fa23
I/DEBUG ( 196): 4008f054 fa20f001 46206005 bf00bd70 0003b38e
I/DEBUG ( 196): 4008f064 0003b382 0003b37a 0003b356 bf7ef7ff
I/DEBUG ( 196): 4008f074 4a3e4b3d e92d447b b08b43f0 4606589c
I/DEBUG ( 196): 4008f084 6823460d 930946a1 fa04f001 8000f8d0
I/DEBUG ( 196): 4008f094 d0482d00 f0104628 280ff96d d8444604
I/DEBUG ( 196): 4008f0a4 ffe4f7ff d1064286 4629200f e8d8f00d
I/DEBUG ( 196): 4008f0b4 d03c2800 482ee02e f7fb4478 482debb6
I/DEBUG ( 196): 4008f0c4 e0154478 d11342b0 482b6a06 f7fb4478
I/DEBUG ( 196): 4008f0d4 4a2aec2e 46332120 a801447a f9e6f013
I/DEBUG ( 196): 4008f0e4 a8012101 fd00f01a 46061c42 e011d104
I/DEBUG ( 196): 4008f0f4 28006800 e02cd1e6 46294630 f00d4622
I/DEBUG ( 196): 4008f104 1c43e914 d11e4607 f9c4f001 29046801

zytoge fatal error (fault addr) during boot

I compiled cm 12.1 for my device (HTC Desire C).
I'm currently stuck at the boot animation.
As far as I can tell it does have something to do with zygote.
Below is the output from logcat.
--------- beginning of crash
F/libc ( 147): Fatal signal 4 (SIGILL), code 1, fault addr 0x7344f07e in tid 147 (main)
I/DEBUG ( 139): property debug.db.uid not set; NOT waiting for gdb.
I/DEBUG ( 139): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 139): HINT: adb forward tcp:5039 tcp:5039
I/DEBUG ( 139): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 139): Build fingerprint: 'HTC/cm_golfu/golfu:5.1.1/LMY49J/82eb910196:userdebug/test-keys'
I/DEBUG ( 139): Revision: '1'
I/DEBUG ( 139): ABI: 'arm'
I/DEBUG ( 139): pid: 147, tid: 147, name: main >>> zygote <<<
I/DEBUG ( 139): signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 0x7344f07e
I/DEBUG ( 139): r0 70f77de8 r1 12c57b80 r2 0000000a r3 0000000a
I/DEBUG ( 139): r4 00000002 r5 70f77e48 r6 00000000 r7 70f77de8
I/DEBUG ( 139): r8 00000000 r9 41eddb00 sl 80000000 fp 12c57b80
I/DEBUG ( 139): ip 70fa48d8 sp bee244e0 lr 7344f35f pc 7344f07e cpsr 20000030
I/DEBUG ( 139):
I/DEBUG ( 139): backtrace:
I/DEBUG ( 139): #00 pc 0006b07e /data/dalvik-cache/arm/[email protected]@boot.oat
I/DEBUG ( 139): #01 pc 0006b35d /data/dalvik-cache/arm/[email protected]@boot.oat
I/auditd ( 458): Starting up
E/auditd ( 458): Failed on audit_set_pid with error: Protocol not supported
I/auditd ( 458): Exiting
Click to expand...
Click to collapse
Can someone help me or give me tips how to gather more information myself so I can search more myself.

Categories

Resources