Jiayu G4S porting - antutu error - Android General

Hi I got a strange antutu 2d error on a rom porting (kk 4.4.3 aosp)
When antutu runs the 2d test I get a black screen with a white stripe on the right side of the screen. Antutu 2d score is 0.
However all 2d graphics works fine.
I tried to update the libMali.so library, libEGL.so, libGLES*, gralloc library and formware one but I get no success.
The error I get on logs is
D/MALI ( 3609): _gles_debug_vreport_to_main_log:1472: glHint::'target' argument was not a valid GLenum for this function.
D/MALI ( 3609): #00 pc 0000b747 /system/lib/libutils.so (android::CallStack::CallStack(char const*, int, int)+14)
D/MALI ( 3609): #01 pc 000ec5a7 /system/lib/libMali.so (MtkMali_DumpCallStack+14)
D/MALI ( 3609): #02 pc 00035804 /system/lib/libMali.so
D/MALI ( 3609): #03 pc 00035e4c /system/lib/libMali.so
D/MALI ( 3609): #04 pc 0003606c /system/lib/libMali.so
D/MALI ( 3609): #05 pc 0002aab0 /system/lib/libMali.so
D/MALI ( 3609): #06 pc 00014300 /system/lib/libMali.so (shim_glHint+56)
D/MALI ( 3609): #07 pc 0001e90c /system/lib/libdvm.so (dvmPlatformInvoke+112)
D/MALI ( 3609): #08 pc 0004fbbd /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+484)
D/MALI ( 3609): #09 pc 00027ce8 /system/lib/libdvm.so
D/MALI ( 3609): #10 pc 0002f2f0 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
D/MALI ( 3609): #11 pc 0002c7d4 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+188)
D/MALI ( 3609): #12 pc 00062ef9 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+340)
D/MALI ( 3609): #13 pc 00062f1d /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
D/MALI ( 3609): #14 pc 000575c5 /system/lib/libdvm.so
D/MALI ( 3609): #15 pc 0000d600 /system/lib/libc.so (__thread_entry+72)
E/MALI ( 3609): _gles_set_error:90: [WARNING]Mali GLES errorcode: 500
D/MALI ( 3609): #00 pc 0000b747 /system/lib/libutils.so (android::CallStack::CallStack(char const*, int, int)+14)
D/MALI ( 3609): #01 pc 000ec5a7 /system/lib/libMali.so (MtkMali_DumpCallStack+14)
D/MALI ( 3609): #02 pc 00030140 /system/lib/libMali.so
D/MALI ( 3609): #03 pc 00014318 /system/lib/libMali.so (shim_glHint+80)
D/MALI ( 3609): #04 pc 0001e90c /system/lib/libdvm.so (dvmPlatformInvoke+112)
D/MALI ( 3609): #05 pc 0004fbbd /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+484)
D/MALI ( 3609): #06 pc 00027ce8 /system/lib/libdvm.so
D/MALI ( 3609): #07 pc 0002f2f0 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
D/MALI ( 3609): #08 pc 0002c7d4 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+188)
D/MALI ( 3609): #09 pc 00062ef9 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+340)
D/MALI ( 3609): #10 pc 00062f1d /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
D/MALI ( 3609): #11 pc 000575c5 /system/lib/libdvm.so
D/MALI ( 3609): #12 pc 0000d600 /system/lib/libc.so (__thread_entry+72)
W/MALI ( 3609): _gles_set_error:93: [WARNING]Mali GLES errorcode: 500
in stock rom the 2d test is good and also in other roms.
I tried to flash the latest original stock boot.img always with no success.
Do you have some suggestion to fix this annoying problem?
thanks
regards
Claudio
P.S. here a video of another device getting the same error: https://www.youtube.com/watch?v=2WGTkpxXxvA

Nobody can help?

Related

Android build tree image bootup failure.

HELP! I get this log with adb logcat.
D/AndroidRuntime( 92): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
D/AndroidRuntime( 92): CheckJNI is ON
D/dalvikvm( 92): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 92): Stale deps in cache file; removing and retrying
D/dalvikvm( 92): DexOpt: --- BEGIN 'core.jar' (bootstrap=1) ---
E/dalvikvm( 93): Too many exceptions during init (failed on 'Ljava/lang/NoClassDefFoundError;' 'java.lang.NoClassDefFoundEr
ror')
E/dalvikvm( 93): VM aborting
I/DEBUG ( 30): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 30): Build fingerprint: 'generic/htc_dream/dream/trout:1.5/CUPCAKE/eng.rao.20090519.141649:eng/test-keys'
I/DEBUG ( 30): pid: 93, tid: 93 >>> /system/bin/dexopt <<<
I/DEBUG ( 30): signal 11 (SIGSEGV), fault addr deadd00d
I/DEBUG ( 30): r0 00000328 r1 0000000c r2 0000000c r3 00000026
I/DEBUG ( 30): r4 deadd00d r5 0001f8c0 r6 ad06e1bc r7 00000000
I/DEBUG ( 30): r8 00000000 r9 00000000 10 00000000 fp 00000000
I/DEBUG ( 30): ip ad083eec sp bec73910 lr afe13e4d pc ad03b5c6 cpsr 20000030
I/DEBUG ( 30): #00 pc 0003b5c6 /system/lib/libdvm.so
I/DEBUG ( 30): #01 pc 0003ac84 /system/lib/libdvm.so
I/DEBUG ( 30): #02 pc 0003af00 /system/lib/libdvm.so
I/DEBUG ( 30): #03 pc 0005c586 /system/lib/libdvm.so
I/DEBUG ( 30): #04 pc 0005c7c0 /system/lib/libdvm.so
I/DEBUG ( 30): #05 pc 0005d09e /system/lib/libdvm.so
I/DEBUG ( 30): #06 pc 0003ac8a /system/lib/libdvm.so
I/DEBUG ( 30): #07 pc 0003af00 /system/lib/libdvm.so
I/DEBUG ( 30): #08 pc 0005c586 /system/lib/libdvm.so
I/DEBUG ( 30): #09 pc 0005c7c0 /system/lib/libdvm.so
I/DEBUG ( 30): #10 pc 0005d09e /system/lib/libdvm.so
I/DEBUG ( 30): #11 pc 0004eb16 /system/lib/libdvm.so
I/DEBUG ( 30): #12 pc 0004fe36 /system/lib/libdvm.so
I/DEBUG ( 30): #13 pc 00050012 /system/lib/libdvm.so
I/DEBUG ( 30): #14 pc 00008e5a /system/bin/dexopt
I/DEBUG ( 30): #15 pc 00008f14 /system/bin/dexopt
I/DEBUG ( 30): #16 pc 0001fd22 /system/lib/libc.so
I/DEBUG ( 30): #17 pc 0000bcb2 /system/lib/libc.so
I/DEBUG ( 30): #18 pc b000157e /system/bin/linker
I/DEBUG ( 30): stack:
I/DEBUG ( 30): bec738d0 000001e3
I/DEBUG ( 30): bec738d4 ad065213 /system/lib/libdvm.so
I/DEBUG ( 30): bec738d8 afe39f90
I/DEBUG ( 30): bec738dc afe39fe4
I/DEBUG ( 30): bec738e0 00000000
I/DEBUG ( 30): bec738e4 afe13e4d /system/lib/libc.so
I/DEBUG ( 30): bec738e8 0001f8c0 [heap]
I/DEBUG ( 30): bec738ec afe12e69 /system/lib/libc.so
I/DEBUG ( 30): bec738f0 0001f8c0 [heap]
I/DEBUG ( 30): bec738f4 ad083e10
I/DEBUG ( 30): bec738f8 0001f8c0 [heap]
I/DEBUG ( 30): bec738fc ad06e1bc /system/lib/libdvm.so
I/DEBUG ( 30): bec73900 00000000
I/DEBUG ( 30): bec73904 afe12ecd /system/lib/libc.so
I/DEBUG ( 30): bec73908 df002777
I/DEBUG ( 30): bec7390c e3a070ad
I/DEBUG ( 30): #00 bec73910 ad083e10
I/DEBUG ( 30): bec73914 ad03ac89 /system/lib/libdvm.so
I/DEBUG ( 30): #01 bec73918 0001f8c0 [heap]
I/DEBUG ( 30): bec7391c ad06e1bd /system/lib/libdvm.so
I/DEBUG ( 30): bec73920 ad06e1bc /system/lib/libdvm.so
I/DEBUG ( 30): bec73924 0001f8c0 [heap]
I/DEBUG ( 30): bec73928 ad06e1bc /system/lib/libdvm.so
I/DEBUG ( 30): bec7392c 00000000
I/DEBUG ( 30): bec73930 ad06e1bc /system/lib/libdvm.so
I/DEBUG ( 30): bec73934 ad03af05 /system/lib/libdvm.so
W/dalvikvm( 92): DexOpt: --- END 'core.jar' --- status=0x000b, process failed
E/dalvikvm( 92): Unable to extract+optimize DEX from '/system/framework/core.jar'
D/dalvikvm( 92): Failed on '/system/framework/core.jar' (boot=1)
D/dalvikvm( 92): VM cleaning up
D/dalvikvm( 92): LinearAlloc 0x0 used 4100 of 4194304 (0%)
W/dalvikvm( 92): JNI_CreateJavaVM failed
E/AndroidRuntime( 92): JNI_CreateJavaVM failed
Am i asking in the wrong forum?
I hope some at XDA will be able to help me out.

[SOLVED] [32A] Help with hybrid stock 32A kernel - Google ION 1.6 ROM

I've created a hybrid ROM of my stock 32A (extracted from phone) kernel and the Google ION 1.6 update
Everything works (ie. market, calls, wlan, bluetooth (turns on), data, sound, recording sound, playing music, accelerometer, etc.) except for the camera/camcorder. Here is some log output when starting the Camera app:
Code:
...
(t=0x41504e4d l=40)
D/CameraService( 36): CameraService::connect E (pid 332, client 0x22e78)
D/CameraService( 36): Client::Client E (pid 332)
D/QualcommCameraHardware( 36): createInstance: E
E/QualcommCameraHardware( 36): startCamera X: /dev/msm_camera/control0 open failed: No such file or directory!
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=21, length=4, rc=-1, ctrlCmd.status=1072, Bad file number
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=15, length=4, rc=-1, ctrlCmd.status=1128, Bad file number
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=14, length=4, rc=-1, ctrlCmd.status=1200, Bad file number
D/QualcommCameraHardware( 36): createInstance: X created hardware=0x201b8
D/CameraService( 36): Client::Client X (pid 332)
D/CameraService( 36): CameraService::connect X
D/Camera ( 332): app passed NULL surface
D/CameraService( 36): setPreviewDisplay(0x0) (pid 332)
D/CameraService( 36): getParameters(antibanding=off;antibanding-
...
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=21, length=4, rc=-1, ctrlCmd.status=11664, Bad file number
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=15, length=4, rc=-1, ctrlCmd.status=12224, Bad file number
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=14, length=4, rc=-1, ctrlCmd.status=12000, Bad file number
V/camera ( 332): startPreview
D/CameraService( 36): startPreview (pid 332)
D/CameraService( 36): startCameraMode(0) (pid 332)
D/CameraService( 36): mSurface is not set yet.
D/CameraService( 36): startPreviewMode (pid 332)
I/QualcommCameraHardware( 36): initPreview E: preview size=384x288
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=1, length=28, rc=-1, ctrlCmd.status=9135, Bad file number
E/QualcommCameraHardware( 36): startPreview X initPreview failed. Not starting preview.
D/CameraService( 36): stopPreview (pid 332)
D/CameraService( 36): stopPreview(), hardware stopped OK
D/Camera-JNI( 332): release camera
D/CameraService( 36): Client::disconnect() E (pid 332 client 0x22e78)
D/CameraService( 36): hardware teardown
D/QualcommCameraHardware( 36): release E
E/QualcommCameraHardware( 36): ioctl CAMERA_EXIT fd -1 error Bad file number
E/QualcommCameraHardware( 36): config_thread exit failure: Bad file number
D/QualcommCameraHardware( 36): release X
D/QualcommCameraHardware( 36): ~QualcommCameraHardware E
D/QualcommCameraHardware( 36): ~QualcommCameraHardware X
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
D/CameraService( 36): removeClient (pid 332) done
D/CameraService( 36): Client::disconnect() X (pid 332)
W/dalvikvm( 332): threadid=13: thread exiting with uncaught exception (group=0x4001da20)
E/AndroidRuntime( 332): Uncaught handler: thread Thread-7 exiting due to uncaught exception
E/AndroidRuntime( 332): java.lang.RuntimeException: startPreview failed
E/AndroidRuntime( 332): at com.android.camera.Camera.startPreview(Camera.java:1360)
E/AndroidRuntime( 332): at com.android.camera.Camera.access$4000(Camera.java:78)
E/AndroidRuntime( 332): at com.android.camera.Camera$3.run(Camera.java:724)
E/AndroidRuntime( 332): at java.lang.Thread.run(Thread.java:1060)
E/AndroidRuntime( 332): Caused by: java.lang.RuntimeException: startPreview failed
E/AndroidRuntime( 332): at android.hardware.Camera.startPreview(Native Method)
E/AndroidRuntime( 332): at com.android.camera.Camera.startPreview(Camera.java:1357)
E/AndroidRuntime( 332): ... 3 more
D/CameraService( 36): Client::~Client E (pid 36, client 0x22e78)
D/CameraService( 36): Client::disconnect() E (pid 36 client 0x22e78)
D/CameraService( 36): Client::~Client X (pid 36)
I/Process ( 59): Sending signal. PID: 332 SIG: 3
I/dalvikvm( 332): threadid=7: reacting to signal 3
I/dalvikvm( 332): Wrote stack trace to '/data/anr/traces.txt'
I/DumpStateReceiver( 59): Added state dump to 1 crashes
I/Process ( 332): Sending signal. PID: 332 SIG: 9
I/ActivityManager( 59): Process com.android.camera (pid 332) has died.
I think the key bit there is 'startCamera X: /dev/msm_camera/control0 open failed: No such file or directory!'
After that, you can see successive ioctl 'Bad file number' errors.
I have a workaround by copying /system/lib/libcamera.so and /system/lib/libqcamera.so from the original, stock image of my phone. This results in a working camera. However, the camcorder can't record video. When pressing record, it freezes. No force close. Can BACK out of the app. Here's the log when that happens. As you can see, mediaserver pukes:
Code:
...
I/ActivityManager( 60): Displayed activity com.android.camera/.VideoCamera: 1260 ms (total 1260 ms)
V/videocamera( 354): initializeRecorder
V/videocamera( 354): Releasing media recorder.
D/CameraService( 495): Client::connect E (pid 495, client 0x373fc)
D/CameraService( 495): Connect to the new client (pid 495, client 0x373fc)
V/videocamera( 354): Current camera video filename: /sdcard/DCIM/Camera/video-2009-12-29-22-22-37.3gp
I/MediaRecorderJNI( 354): prepare: surface=0x1ba9a8 (id=1)
D/CameraService( 495): setPreviewDisplay(0x37800) (pid 495)
I/OMXVenc ( 495): component_init::292 Initializing component OMX.qcom.video.encoder.h263
E/OMXVenc ( 495): get_parameter::922 unsupported index 267887431
E/OMXVenc ( 495): get_parameter::899 unsupported index 117440523
E/OMXVenc ( 495): set_parameter::1099 unsupported index in set_parameter 117440523
E/OMXVenc ( 495): get_parameter::922 unsupported index 100663301
E/OMXVenc ( 495): set_parameter::1142 unsupported index 100663301
E/OMXVenc ( 495): get_parameter::922 unsupported index 100663302
E/OMXVenc ( 495): set_parameter::1142 unsupported index 100663302
I/OMXVenc ( 495): send_command::690 attempt to move to new state 2
E/OMXVenc ( 495): Setting OMX_Video_ControlRateVariable
I/VENC_DRV( 495): venc_drv_malloc::1155 /dev/pmem_adsp
I/VENC_DRV( 495): venc_drv_malloc::1183 phys lookup success virt=0x40e64000 -- FD=21 -- size - 524288
D/CameraService( 495): setPreviewDisplay(0x37800) (pid 495)
D/CameraInput( 495): Intended mFrameWidth=176, mFrameHeight=144
V/QualcommCameraHardware( 495): getParameters: EX
D/CameraService( 495): getParameters(antibanding=auto;antibanding-
...
V/QualcommCameraHardware( 495): setParameters: E params = 0x40c63cf8
V/QualcommCameraHardware( 495): requested size 176 x 144
V/QualcommCameraHardware( 495): actual size 176 x 144
V/QualcommCameraHardware( 495): initCameraParameters: E
V/QualcommCameraHardware( 495): camera hardware has been started already
V/QualcommCameraHardware( 495): initCameraParameters: set parm: CAMERA_PARM_PREVIEW_MODE, 0
V/QualcommCameraHardware( 495): Setting Zoom is 0
I/QualcommCameraHardware( 495): setting thumbnail dimensions to 512x384, quality 30
E/QualcommCameraHardware( 495): LINK_camera_set_thumbnail_properties returned 2
V/QualcommCameraHardware( 495): Setting JPEG-image quality to 100
V/QualcommCameraHardware( 495): initCameraParameters: X
V/QualcommCameraHardware( 495): setParameters: X mCameraState=3
V/QualcommCameraHardware( 495): getParameters: EX
D/CameraService( 495): getParameters(antibanding=auto;antibanding-
...
D/CameraInput( 495): Actual mFrameWidth=176, mFrameHeight=144
D/CameraService( 495): startPreview (pid 495)
D/CameraService( 495): startCameraMode(0) (pid 495)
D/CameraService( 495): startPreviewMode (pid 495)
E/MetadataDriver( 495): isCommandSuccessful: Command id(0 and expected 0) and status (-4 and expected 1), data corruption (false) at state (1).
E/MetadataDriver( 495): isCommandSuccessful: Command id(1 and expected 1) and status (-14 and expected 1), data corruption (false) at state (5).
D/dalvikvm( 60): GC freed 8852 objects / 389392 bytes in 235ms
V/videocamera( 354): startVideoRecording
I/OMXVenc ( 495): send_command::690 attempt to move to new state 3
I/VENC_DRV( 495): venc_drv_open::283 TE version = 1
D/CameraService( 495): startRecording (pid 495)
D/CameraService( 495): startCameraMode(1) (pid 495)
D/CameraService( 495): startRecordingMode (pid 495)
V/QualcommCameraHardware( 495): startPreview E
E/QualcommCameraHardware( 495): startPreview is already in progress, doing nothing.
D/AudioHardwareMSM72XX( 495): audpre_index = 0, tx_iir_index = 0
D/HTC Acoustic( 495): msm72xx_enable_audpre: 0x0000
W/AudioFlinger( 495): write blocked for 66 msecs
I/DEBUG ( 494): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 494): Build fingerprint: 'rogers/htc_magic/sapphire/sapphire:1.5/2.17.631.2/42949:user'
I/DEBUG ( 494): pid: 495, tid: 519 >>> /system/bin/mediaserver <<<
I/DEBUG ( 494): signal 11 (SIGSEGV), fault addr 10000014
I/DEBUG ( 494): r0 00000000 r1 00000001 r2 10000014 r3 ffff0fff
I/DEBUG ( 494): r4 00000000 r5 10000014 r6 a9c8c048 r7 4080bcb4
I/DEBUG ( 494): r8 4070be38 r9 afe39dd4 10 a949bec1 fp 00000001
I/DEBUG ( 494): ip a9d4bcdc sp 4080bc58 lr afe0d46c pc ffff0fc0 cpsr 00000010
I/DEBUG ( 494): #00 pc ffff0fc0
I/DEBUG ( 494): #01 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #02 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #03 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #04 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #05 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #06 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #07 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #08 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #09 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #10 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #11 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #12 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #13 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #14 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #15 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #16 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #17 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #18 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #19 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #20 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #21 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #22 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #23 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #24 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #25 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #26 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #27 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #28 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #29 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #30 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #31 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): stack:
I/DEBUG ( 494): 4080bc18 3fc971ba
I/DEBUG ( 494): 4080bc1c 00000000
I/DEBUG ( 494): 4080bc20 00000000
I/DEBUG ( 494): 4080bc24 00000000
I/DEBUG ( 494): 4080bc28 00000000
I/DEBUG ( 494): 4080bc2c 00000000
I/DEBUG ( 494): 4080bc30 00000000
I/DEBUG ( 494): 4080bc34 00000000
I/DEBUG ( 494): 4080bc38 00000000
I/DEBUG ( 494): 4080bc3c 00000000
I/DEBUG ( 494): 4080bc40 00000001
I/DEBUG ( 494): 4080bc44 00000000
I/DEBUG ( 494): 4080bc48 00000002
I/DEBUG ( 494): 4080bc4c 00000000
I/DEBUG ( 494): 4080bc50 df002777
I/DEBUG ( 494): 4080bc54 e3a070ad
I/DEBUG ( 494): #01 4080bc58 00000000
I/DEBUG ( 494): 4080bc5c a9d398a7 /system/lib/libutils.so
W/AudioRecord( 495): obtainBuffer timed out (is the CPU pegged?) user=00005000, server=00005400
W/AudioRecord( 495): *** SERIOUS WARNING *** obtainBuffer() timed out but didn't need to be locked. We recovered, but this shouldn't happen (user=00005000, server=00005400)
W/AudioSystem( 354): AudioFlinger server died!
I/ServiceManager( 31): service 'media.audio_flinger' died
W/MediaMetadataRetriever( 354): MediaMetadataRetriever server died!
I/ServiceManager( 31): service 'media.player' died
W/Camera ( 354): ICamera died
I/ServiceManager( 31): service 'media.camera' died
W/AudioSystem( 60): AudioFlinger server died!
E/Camera ( 354): Error 100
I/DEBUG ( 494): debuggerd committing suicide to free the zombie!
I/DEBUG ( 531): debuggerd: Sep 21 2009 14:37:06
W/Camera ( 354): Camera server died!
The key bit there can be found by searching for 'SIGSEGV'
Any help on how to fix this would be appreciated! I'd like to fix this 'the right way' (ie. do not want to copy old cupcake camera app, etc.) Also, not against re-compiling the kernel, if that's what it takes.
Thanks!
Guess fix:
Compile a kernel for 32A with source from:
http://android.git.kernel.org/?p=kernel/msm.git;a=shortlog;h=refs/heads/android-msm-2.6.29-donut
It has the source for msm_camera, whereas the source from HTC does not.
Sound right?
fastboot'd the new kernel and everything appears to be working now. Just need to compile wlan.ko and I'm done!

WILL YOU PLEASE MAKE AN EBl1 PORT FOR US ROGERS FOLK?

Please don't tell me to move this thread because it's been posted in other sections before, but a lot of devs dont view those sections.
A lot of you guys are making phenomenal roms, and making amazing contributions towards improving our G1s. I would really love to try out an eclair rom, but nobody's really written a EBl1 port, so I cannot do this. I'm not sure what it requires to make an EBl1 port, but if you did I would love you forever
There are plenty of EBI1 ports. Takes a little bit of snooping to find sometimes however. Check the sapphire section I think?
On that note, wrong forum
Macmee said:
Please don't tell me to move this thread because it's been posted in other sections before, but a lot of devs dont view those sections.
A lot of you guys are making phenomenal roms, and making amazing contributions towards improving our G1s. I would really love to try out an eclair rom, but nobody's really written a EBl1 port, so I cannot do this. I'm not sure what it requires to make an EBl1 port, but if you did I would love you forever
Click to expand...
Click to collapse
OpenEclair has EBI1 ports.
When in doubt, go to the CM thread and drop a question there. The people building the regular kernel ports for CM typically do answer back pretty quick:
http://forum.xda-developers.com/showthread.php?p=5633548
And EBI1 isn't just for Rogers. It's for 32A Magic and for anyone with the EBI1 3.xx radio.
Macmee said:
Please don't tell me to move this thread because it's been posted in other sections before, but a lot of devs dont view those sections.
A lot of you guys are making phenomenal roms, and making amazing contributions towards improving our G1s. I would really love to try out an eclair rom, but nobody's really written a EBl1 port, so I cannot do this. I'm not sure what it requires to make an EBl1 port, but if you did I would love you forever
Click to expand...
Click to collapse
OpenEclair to the rescue. http://forum.xda-developers.com/showthread.php?t=624545
There is an EBi1 port, I know cause I'm running it, and it's pretty fantastic.
listen up and listen good. I just learned- 2 weeks ago- that if u are EBI1 u want to visit the magic(sappire) dev forum. Search for any ROM which is 32A magic (thats g1 ebi1).
YOU HAVE 2 OPTIONS
1) Search THAT above forum for other ppls ebi1 ports
OR
2) Make your own ports with
http://faruq.yandao.com/magicport/
there is a thread about this here tool in the magic dev forum as well for any questions.
/thread
Thanks for replying to the thread everyone, I'm incapible of using the search option correctly I suppose.
I get the same error with the oe rom that I get when I try to update my 4.2.10 cyanogen rom:
D/dalvikvm( 5026): DexOpt: --- BEGIN 'ext.jar' (bootstrap=1) ---
E/dalvikvm( 5027): Too many exceptions during init (failed on 'Ljava/lang/NoClassDefFoundError;' 'java.lang.NoClassDefFoundError')
E/dalvikvm( 5027): VM aborting
I/DEBUG ( 4968): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 4968): Build fingerprint: 'tmobile/kila/dream/trout:1.6/DRC83/14721:user/ota-rel-keys,release-keys'
I/DEBUG ( 4968): pid: 5027, tid: 5027 >>> /system/bin/dexopt <<<
I/DEBUG ( 4968): signal 11 (SIGSEGV), fault addr deadd00d
I/DEBUG ( 4968): r0 00000354 r1 afe133e1 r2 0000000c r3 deadd00d
I/DEBUG ( 4968): r4 00000026 r5 ad069ba8 r6 00031c70 r7 00000000
I/DEBUG ( 4968): r8 00000000 r9 00000000 10 00000000 fp 00000000
I/DEBUG ( 4968): ip ad080160 sp bee7fa48 lr afe143a9 pc ad0354a6 cpsr 20000030
I/DEBUG ( 4968): #00 pc 000354a6 /system/lib/libdvm.so
I/DEBUG ( 4968): #01 pc 00034c6c /system/lib/libdvm.so
I/DEBUG ( 4968): #02 pc 00034cd0 /system/lib/libdvm.so
I/DEBUG ( 4968): #03 pc 000584aa /system/lib/libdvm.so
I/DEBUG ( 4968): #04 pc 000586c6 /system/lib/libdvm.so
I/DEBUG ( 4968): #05 pc 00058bda /system/lib/libdvm.so
I/DEBUG ( 4968): #06 pc 00034c72 /system/lib/libdvm.so
I/DEBUG ( 4968): #07 pc 00034cd0 /system/lib/libdvm.so
I/DEBUG ( 4968): #08 pc 000584aa /system/lib/libdvm.so
I/DEBUG ( 4968): #09 pc 000586c6 /system/lib/libdvm.so
I/DEBUG ( 4968): #10 pc 00058bda /system/lib/libdvm.so
I/DEBUG ( 4968): #11 pc 0004a12e /system/lib/libdvm.so
I/DEBUG ( 4968): #12 pc 0004a624 /system/lib/libdvm.so
I/DEBUG ( 4968): #13 pc 0004a80e /system/lib/libdvm.so
I/DEBUG ( 4968): #14 pc 00008e24 /system/bin/dexopt
I/DEBUG ( 4968): #15 pc 00008eda /system/bin/dexopt
I/DEBUG ( 4968): #16 pc 0000c552 /system/lib/libc.so
I/DEBUG ( 4968): #17 pc b00018c6 /system/bin/linker
I/DEBUG ( 4968): stack:
I/DEBUG ( 4968): bee7fa08 afe3cc10
I/DEBUG ( 4968): bee7fa0c afe0f4a0 /system/lib/libc.so
I/DEBUG ( 4968): bee7fa10 afe3a0ac /system/lib/libc.so
I/DEBUG ( 4968): bee7fa14 afe3a058 /system/lib/libc.so
I/DEBUG ( 4968): bee7fa18 00000000
I/DEBUG ( 4968): bee7fa1c afe143a9 /system/lib/libc.so
I/DEBUG ( 4968): bee7fa20 00031c70 [heap]
I/DEBUG ( 4968): bee7fa24 afe133e1 /system/lib/libc.so
I/DEBUG ( 4968): bee7fa28 00000000
I/DEBUG ( 4968): bee7fa2c ad07ff50 /system/lib/libdvm.so
I/DEBUG ( 4968): bee7fa30 ad069ba8 /system/lib/libdvm.so
I/DEBUG ( 4968): bee7fa34 00031c70 [heap]
I/DEBUG ( 4968): bee7fa38 00000000
I/DEBUG ( 4968): bee7fa3c afe13443 /system/lib/libc.so
I/DEBUG ( 4968): bee7fa40 df002777
I/DEBUG ( 4968): bee7fa44 e3a070ad
I/DEBUG ( 4968): #00 bee7fa48 ad07ff50 /system/lib/libdvm.so
I/DEBUG ( 4968): bee7fa4c ad034c71 /system/lib/libdvm.so
I/DEBUG ( 4968): #01 bee7fa50 00031c70 [heap]
I/DEBUG ( 4968): bee7fa54 ad069bc8 /system/lib/libdvm.so
I/DEBUG ( 4968): bee7fa58 ad080c00 /system/lib/libdvm.so
I/DEBUG ( 4968): bee7fa5c 00031c70 [heap]
I/DEBUG ( 4968): bee7fa60 ad069ba8 /system/lib/libdvm.so
I/DEBUG ( 4968): bee7fa64 00000000
I/DEBUG ( 4968): bee7fa68 ad080c00 /system/lib/libdvm.so
I/DEBUG ( 4968): bee7fa6c ad034cd5 /system/lib/libdvm.so
W/dalvikvm( 5026): DexOpt: --- END 'ext.jar' --- status=0x000b, process failed
E/dalvikvm( 5026): Unable to extract+optimize DEX from '/system/framework/ext.jar'
D/dalvikvm( 5026): Unable to process classpath element '/system/framework/ext.jar'
D/dalvikvm( 5026): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 5026): Stale deps in cache file; removing and retrying
Click to expand...
Click to collapse
darn
bump??
Please?
beatryder said:
OpenEclair to the rescue. http://forum.xda-developers.com/showthread.php?t=624545
There is an EBi1 port, I know cause I'm running it, and it's pretty fantastic.
Click to expand...
Click to collapse
ya but unless you live on these forums, you dont really get the full experience.
lets say someone cant find these hidden EB1 Ports in openeclair. (no link or mention of it anywhere)
now that I have found the section(reading hundreds of posts), there is a bunch of files that are about 2 MB each. Now unless you've been here for a while, not many will know what to do with these files unless again you have hours to spend researching and testing things to see if you've done things right.
all im saying is, this place is very difficult to get a hang of for someone just starting off and maybe doesn't have all day to read and test roms.
no one really gives you instructions on how to do things. ppl have to do a lot of research to start up, basically "do this thing as you would do all other things similar to this one" just gets you in a nice loop
anyways, not venting, just my experience, as I do appreciate everyones effort in this community with creating some amazing roms.
as for now, i guess ill just keep trying to figure all things myself with the limited time i have to spend on these forums.
Paulska said:
ya but unless you live on these forums, you dont really get the full experience.
lets say someone cant find these hidden EB1 Ports in openeclair. (no link or mention of it anywhere)
now that I have found the section(reading hundreds of posts), there is a bunch of files that are about 2 MB each. Now unless you've been here for a while, not many will know what to do with these files unless again you have hours to spend researching and testing things to see if you've done things right.
all im saying is, this place is very difficult to get a hang of for someone just starting off and maybe doesn't have all day to read and test roms.
no one really gives you instructions on how to do things. ppl have to do a lot of research to start up, basically "do this thing as you would do all other things similar to this one" just gets you in a nice loop
anyways, not venting, just my experience, as I do appreciate everyones effort in this community with creating some amazing roms.
as for now, i guess ill just keep trying to figure all things myself with the limited time i have to spend on these forums.
Click to expand...
Click to collapse
not hard to figure out by searching for 32a roms
Sapphire = 32a
Dream = 32b
is this gonna get closed soon?
Macmee said:
Please don't tell me to move this thread because it's been posted in other sections before, but a lot of devs dont view those sections.
A lot of you guys are making phenomenal roms, and making amazing contributions towards improving our G1s. I would really love to try out an eclair rom, but nobody's really written a EBl1 port, so I cannot do this. I'm not sure what it requires to make an EBl1 port, but if you did I would love you forever
Click to expand...
Click to collapse
Hey
EBI1 Port is in the SAPPHIRE DEVELOPMENT section
we already told you this
? no wonder your with bell lol
So wait, let me get this straight... we can use any 32B Sapphire ROM on an EB1 Dream?
EDIT:
My question got answered in the new thread.
asb123 said:
2) You can visit the sapphire dev forum (on xda (just below the dream/g1 forum)) Here you can download any kernels ports that are listed as 32a or old radio. The old radio/32a sapphire has the same EBI1 radio as the rogers dream!
Click to expand...
Click to collapse
u know what, i am going to make a very large thread and hope it gets stickied, keep your eyes out.
Paulska said:
ya but unless you live on these forums, you dont really get the full experience.
lets say someone cant find these hidden EB1 Ports in openeclair. (no link or mention of it anywhere)
now that I have found the section(reading hundreds of posts), there is a bunch of files that are about 2 MB each. Now unless you've been here for a while, not many will know what to do with these files unless again you have hours to spend researching and testing things to see if you've done things right.
all im saying is, this place is very difficult to get a hang of for someone just starting off and maybe doesn't have all day to read and test roms.
no one really gives you instructions on how to do things. ppl have to do a lot of research to start up, basically "do this thing as you would do all other things similar to this one" just gets you in a nice loop
anyways, not venting, just my experience, as I do appreciate everyones effort in this community with creating some amazing roms.
as for now, i guess ill just keep trying to figure all things myself with the limited time i have to spend on these forums.
Click to expand...
Click to collapse
I hear ya buddy. I hear ya.
Just found this:
http://wiki.cyanogenmod.com/index.php/How_to_build_a_kernel_port
Instructions so you can do-it-yourself.
Thanks for replying to the thread everyone, I'm incapible of using the search option correctly I suppose.
I get the same error with the oe rom that I get when I try to update my 4.2.10 cyanogen rom:
D/dalvikvm( 5026): DexOpt: --- BEGIN 'ext.jar' (bootstrap=1) ---
E/dalvikvm( 5027): Too many exceptions during init (failed on 'Ljava/lang/NoClassDefFoundError;' 'java.lang.NoClassDefFoundError')
E/dalvikvm( 5027): VM aborting
I/DEBUG ( 4968): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 4968): Build fingerprint: 'tmobile/kila/dream/trout:1.6/DRC83/14721:user/ota-rel-keys,release-keys'
I/DEBUG ( 4968): pid: 5027, tid: 5027 >>> /system/bin/dexopt <<<
I/DEBUG ( 4968): signal 11 (SIGSEGV), fault addr deadd00d
I/DEBUG ( 4968): r0 00000354 r1 afe133e1 r2 0000000c r3 deadd00d
I/DEBUG ( 4968): r4 00000026 r5 ad069ba8 r6 00031c70 r7 00000000
I/DEBUG ( 4968): r8 00000000 r9 00000000 10 00000000 fp 00000000
I/DEBUG ( 4968): ip ad080160 sp bee7fa48 lr afe143a9 pc ad0354a6 cpsr 20000030
I/DEBUG ( 4968): #00 pc 000354a6 /system/lib/libdvm.so
I/DEBUG ( 4968): #01 pc 00034c6c /system/lib/libdvm.so
I/DEBUG ( 4968): #02 pc 00034cd0 /system/lib/libdvm.so
I/DEBUG ( 4968): #03 pc 000584aa /system/lib/libdvm.so
I/DEBUG ( 4968): #04 pc 000586c6 /system/lib/libdvm.so
I/DEBUG ( 4968): #05 pc 00058bda /system/lib/libdvm.so
I/DEBUG ( 4968): #06 pc 00034c72 /system/lib/libdvm.so
I/DEBUG ( 4968): #07 pc 00034cd0 /system/lib/libdvm.so
I/DEBUG ( 4968): #08 pc 000584aa /system/lib/libdvm.so
I/DEBUG ( 4968): #09 pc 000586c6 /system/lib/libdvm.so
I/DEBUG ( 4968): #10 pc 00058bda /system/lib/libdvm.so
I/DEBUG ( 4968): #11 pc 0004a12e /system/lib/libdvm.so
I/DEBUG ( 4968): #12 pc 0004a624 /system/lib/libdvm.so
I/DEBUG ( 4968): #13 pc 0004a80e /system/lib/libdvm.so
I/DEBUG ( 4968): #14 pc 00008e24 /system/bin/dexopt
I/DEBUG ( 4968): #15 pc 00008eda /system/bin/dexopt
I/DEBUG ( 4968): #16 pc 0000c552 /system/lib/libc.so
I/DEBUG ( 4968): #17 pc b00018c6 /system/bin/linker
I/DEBUG ( 4968): stack:
I/DEBUG ( 4968): bee7fa08 afe3cc10
I/DEBUG ( 4968): bee7fa0c afe0f4a0 /system/lib/libc.so
I/DEBUG ( 4968): bee7fa10 afe3a0ac /system/lib/libc.so
I/DEBUG ( 4968): bee7fa14 afe3a058 /system/lib/libc.so
I/DEBUG ( 4968): bee7fa18 00000000
I/DEBUG ( 4968): bee7fa1c afe143a9 /system/lib/libc.so
I/DEBUG ( 4968): bee7fa20 00031c70 [heap]
I/DEBUG ( 4968): bee7fa24 afe133e1 /system/lib/libc.so
I/DEBUG ( 4968): bee7fa28 00000000
I/DEBUG ( 4968): bee7fa2c ad07ff50 /system/lib/libdvm.so
I/DEBUG ( 4968): bee7fa30 ad069ba8 /system/lib/libdvm.so
I/DEBUG ( 4968): bee7fa34 00031c70 [heap]
I/DEBUG ( 4968): bee7fa38 00000000
I/DEBUG ( 4968): bee7fa3c afe13443 /system/lib/libc.so
I/DEBUG ( 4968): bee7fa40 df002777
I/DEBUG ( 4968): bee7fa44 e3a070ad
I/DEBUG ( 4968): #00 bee7fa48 ad07ff50 /system/lib/libdvm.so
I/DEBUG ( 4968): bee7fa4c ad034c71 /system/lib/libdvm.so
I/DEBUG ( 4968): #01 bee7fa50 00031c70 [heap]
I/DEBUG ( 4968): bee7fa54 ad069bc8 /system/lib/libdvm.so
I/DEBUG ( 4968): bee7fa58 ad080c00 /system/lib/libdvm.so
I/DEBUG ( 4968): bee7fa5c 00031c70 [heap]
I/DEBUG ( 4968): bee7fa60 ad069ba8 /system/lib/libdvm.so
I/DEBUG ( 4968): bee7fa64 00000000
I/DEBUG ( 4968): bee7fa68 ad080c00 /system/lib/libdvm.so
I/DEBUG ( 4968): bee7fa6c ad034cd5 /system/lib/libdvm.so
W/dalvikvm( 5026): DexOpt: --- END 'ext.jar' --- status=0x000b, process failed
E/dalvikvm( 5026): Unable to extract+optimize DEX from '/system/framework/ext.jar'
D/dalvikvm( 5026): Unable to process classpath element '/system/framework/ext.jar'
D/dalvikvm( 5026): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 5026): Stale deps in cache file; removing and retrying
Click to expand...
Click to collapse
darn
This was tweeted by HTC about 3 hours ago:
htc
I know that the situation on Rogers has been frustrating to a number of people. All I can say is that we are working to get Sense 2.1 ready
Click to expand...
Click to collapse
I hope it gives you some hope. You can follow them on both Twitter and Facebook, as well as the forums on their website, in case anyone doesn't know this.
edit:maybe this isn't a Rogers only thread, I'm not sure because I don't usually read those, but there are Rogers customers in this one. Anyway, if you are following all of the Rogers ones, maybe you could pass it on.
There's been a dedicated thread set up for EBI1 people:
http://forum.xda-developers.com/showthread.php?t=634845
Thanks to asb123!
yup, please direct ebi1 talk to that thread so that we can share knowledge and wisdom
yes, yes, enjoy!

[WIP] Building a custom ROM for the LeapFrog Epic (CM/LOS)

So, uh, I decided to spin this off to a new thread to keep the other ones from being bloated.
A few days ago I started work on getting at least CyanogenMod to work on the LeapFrog Epic, which runs off the same MT8127 SoC as certain variants of the Amazon Fire tablet amongst other things. CM11 was first on my agenda since it is close to the KitKat build that came from the factory, but compiler issues kept me from pushing on with this one. I then moved on to CM12.1, which was far less of a pain build-wise, but I then faced a number of issues that kept me from getting this to run. Fixed the MTK headers, and added a shim to get rid of that missing function error with the Mali drivers, but now I am stuck with this if I use the stock 1.1.95 libs that came with the Epic Academy Edition. Boot animation does not start at all:
Code:
I/SurfaceFlinger( 2317): SurfaceFlinger is starting
I/SurfaceFlinger( 2317): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 2317): loaded /system/lib/egl/libEGL_mali.so
D/libEGL ( 2317): loaded /system/lib/egl/libGLESv1_CM_mali.so
D/libEGL ( 2317): loaded /system/lib/egl/libGLESv2_mali.so
W/libEGL ( 2317): eglInitialize(0x1) failed (EGL_BAD_ALLOC)
I/[MALI][Gralloc]( 2317): gralloc UREE_CreateSession recount = 0
I/[MALI][Gralloc]( 2317): gralloc call UREE_CreateSession
I/[MALI][Gralloc]( 2317): UREE_CreateSession fail, ret = -65536
I/gralloc ( 2317): [Gralloc] refreshRate = 0, info.pixclock = ffffffff
I/gralloc ( 2317): [Gralloc] info.upper_margin = ffffffff, info.lower_margin = ffffffff
I/gralloc ( 2317): [Gralloc] info.yres = 258, info.hsync_len = ffffffff
I/gralloc ( 2317): [Gralloc] info.left_margin = ffffffff, info.right_margin = ffffffff
I/[MALI][Gralloc]( 2317): ro_dpi: 160.000000
I/[MALI][Gralloc]( 2317): using (fd=13)
I/[MALI][Gralloc]( 2317): id = mtkfb
I/[MALI][Gralloc]( 2317): xres = 1024 px
I/[MALI][Gralloc]( 2317): yres = 600 px
I/[MALI][Gralloc]( 2317): xres_virtual = 1024 px
I/[MALI][Gralloc]( 2317): yres_virtual = 1800 px
I/[MALI][Gralloc]( 2317): bpp = 32
I/[MALI][Gralloc]( 2317): r = 16:8
I/[MALI][Gralloc]( 2317): g = 8:8
I/[MALI][Gralloc]( 2317): b = 0:8
I/[MALI][Gralloc]( 2317): width = 163 mm (159.568100 dpi)
I/[MALI][Gralloc]( 2317): height = 95 mm (160.421051 dpi)
I/[MALI][Gralloc]( 2317): refresh rate = 60.00 Hz
I/[MALI][Gralloc]( 2317): init_framebuffer va: 0xb50f8000 mva: 0xb3700000
E/hwcomposer( 2317): [BLIT] sw_sync_timeline_create failed, aborting
F/libc ( 2317): Fatal signal 6 (SIGABRT), code -6 in tid 2317 (surfaceflinger)
I/DEBUG ( 129): property debug.db.uid not set; NOT waiting for gdb.
I/DEBUG ( 129): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 129): HINT: adb forward tcp:5039 tcp:5039
I/DEBUG ( 129): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 129): Build fingerprint: 'LeapFrog/cm_narnia/narnia:5.1.1/LMY49J/e2909bc29b:eng/test-keys'
I/DEBUG ( 129): Revision: '0'
I/DEBUG ( 129): ABI: 'arm'
I/DEBUG ( 129): pid: 2317, tid: 2317, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 129): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/DEBUG ( 129): r0 00000000 r1 0000090d r2 00000006 r3 00000000
I/DEBUG ( 129): r4 b6f34e38 r5 00000006 r6 0000000d r7 0000010c
I/DEBUG ( 129): r8 ffffffb4 r9 b5e01d8c sl b608f158 fp bec93a6c
I/DEBUG ( 129): ip 0000090d sp bec937e0 lr b6e8d8f5 pc b6eb08d0 cpsr 60010010
I/DEBUG ( 129):
I/DEBUG ( 129): backtrace:
I/DEBUG ( 129): #00 pc 000378d0 /system/lib/libc.so (tgkill+12)
I/DEBUG ( 129): #01 pc 000148f1 /system/lib/libc.so (pthread_kill+52)
I/DEBUG ( 129): #02 pc 0001564b /system/lib/libc.so (raise+10)
I/DEBUG ( 129): #03 pc 00011cc5 /system/lib/libc.so (__libc_android_abort+36)
I/DEBUG ( 129): #04 pc 0001005c /system/lib/libc.so (abort+4)
I/DEBUG ( 129): #05 pc 00010af9 /system/lib/hw/hwcomposer.mt8127.so (_ZN11BlitManagerC1Ev+140)
I/DEBUG ( 129): #06 pc 0000b8d9 /system/lib/hw/hwcomposer.mt8127.so (_ZN11HWCMediatorC2Ev+12)
I/DEBUG ( 129): #07 pc 0000ba5d /system/lib/hw/hwcomposer.mt8127.so (_ZN7android9SingletonI11HWCMediatorE11getInstanceEv+28)
I/DEBUG ( 129): #08 pc 0000bbfd /system/lib/hw/hwcomposer.mt8127.so
I/DEBUG ( 129): #09 pc 00023d17 /system/lib/libsurfaceflinger.so
I/DEBUG ( 129): #10 pc 00023a0b /system/lib/libsurfaceflinger.so
I/DEBUG ( 129): #11 pc 000195bb /system/lib/libsurfaceflinger.so (_ZN7android14SurfaceFlinger4initEv+130)
I/DEBUG ( 129): #12 pc 00000af1 /system/bin/surfaceflinger
I/DEBUG ( 129): #13 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 129): #14 pc 00000c08 /system/bin/surfaceflinger
I/DEBUG ( 129):
I/DEBUG ( 129): Tombstone written to: /data/tombstones/tombstone_08
If I use hwcomposer.mt8127.so, libgralloc_extra.so, libion_mtk.so and libtz_uree.so from @pix106's Lenovo Tab 2 A7-10F vendor tree, I get this additional message:
Code:
E/hwcomposer( 290): [BLIT] UREE_CreateSession failed (Non-specific cause.), aborting
I know there's probably only a few developers here who own a LeapFrog Epic, but I am at a loss here and any help would be very much appreciated. Yes I've read the Lenovo thread here before, but this one is a bit of a clincher, more so as I don't have complete kernel sources and I'm only building against a 3.4.67 kernel. My device tree's here, if anyone is interested: https://github.com/huckleberrypie/android_device_quanta_narnia
blakegriplingph said:
If I use hwcomposer.mt8127.so, libgralloc_extra.so, libion_mtk.so and libtz_uree.so from @pix106's Lenovo Tab 2 A7-10F vendor tree]
Click to expand...
Click to collapse
Tab2 has 3.10.54 kernel, I don't know if you can use these libs with a 3.4 kernel.
When missing a symbol, you can grep it in your device stock rom to find what lib provides it.
From a running device using adv, or using a stock room dumping your computer.
grep -r _Zazertyuiopqsdfghjklmwxcvbn /path/to/libs
pix106 said:
Tab2 has 3.10.54 kernel, I don't know if you can use these libs with a 3.4 kernel.
When missing a symbol, you can grep it in your device stock rom to find what lib provides it.
From a running device using adv, or using a stock room dumping your computer.
grep -r _Zazertyuiopqsdfghjklmwxcvbn /path/to/libs
Click to expand...
Click to collapse
Good call on the grep stuff. And I wonder if I could kang libs off another MT8127 device running KitKat which is a little tiny bit of a stretch to hunt for.
blakegriplingph said:
And I wonder if I could kang libs off another MT8127 device running KitKat which is a little tiny bit of a stretch to hunt for.
Click to expand...
Click to collapse
My "mistake", in a way : Tab2 also had KitKat with a 3.4 kernel, but I used kernel 3.10 and vendor from Lollipop stock rom to build cm-12.1.
You can try to download and extract lenovo's kk rom, or I can search my archives later and try to upload a KitKat stock rom dump somewhere, but I'm not home and have slow internet for now.
pix106 said:
My "mistake", in a way : Tab2 also had KitKat with a 3.4 kernel, but I used kernel 3.10 and vendor from Lollipop stock rom to build cm-12.1.
You can try to download and extract lenovo's kk rom, or I can search my archives later and try to upload a KitKat stock rom dump somewhere, but I'm not home and have slow internet for now.
Click to expand...
Click to collapse
3.4.67 I presume? I do have kernel sources for the Epic but it's missing a few things from what I've been told. The ROM dump does however have what appears to be a build config used by Quanta/LeapFrog to customise the board support package they used, or so I assume.
Apologies for the bump, and I hope they won't mind, but the likes of @superdragonpt are a lot more experienced with MTK than I could muster, so I was wondering if they could at least offer a bit of advice with this.
So I kanged hwcomposer from @pix106's dump of the A7-10F KitKat ROM, and it looks like I got something else other than the usual sw_sync_timeline failure:
Code:
I/SurfaceFlinger( 512): SurfaceFlinger is starting
I/SurfaceFlinger( 512): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 512): loaded /system/lib/egl/libEGL_mali.so
D/libEGL ( 512): loaded /system/lib/egl/libGLESv1_CM_mali.so
D/libEGL ( 512): loaded /system/lib/egl/libGLESv2_mali.so
W/libEGL ( 512): eglInitialize(0x1) failed (EGL_BAD_ALLOC)
I/[MALI][Gralloc]( 512): gralloc UREE_CreateSession recount = 0
I/[MALI][Gralloc]( 512): gralloc call UREE_CreateSession
I/[MALI][Gralloc]( 512): UREE_CreateSession fail, ret = -65536
I/gralloc ( 512): [Gralloc] refreshRate = 0, info.pixclock = ffffffff
I/gralloc ( 512): [Gralloc] info.upper_margin = ffffffff, info.lower_margin = ffffffff
I/gralloc ( 512): [Gralloc] info.yres = 258, info.hsync_len = ffffffff
I/gralloc ( 512): [Gralloc] info.left_margin = ffffffff, info.right_margin = ffffffff
I/[MALI][Gralloc]( 512): ro_dpi: 160.000000
I/[MALI][Gralloc]( 512): using (fd=13)
I/[MALI][Gralloc]( 512): id = mtkfb
I/[MALI][Gralloc]( 512): xres = 1024 px
I/[MALI][Gralloc]( 512): yres = 600 px
I/[MALI][Gralloc]( 512): xres_virtual = 1024 px
I/[MALI][Gralloc]( 512): yres_virtual = 1800 px
I/[MALI][Gralloc]( 512): bpp = 32
I/[MALI][Gralloc]( 512): r = 16:8
I/[MALI][Gralloc]( 512): g = 8:8
I/[MALI][Gralloc]( 512): b = 0:8
I/[MALI][Gralloc]( 512): width = 163 mm (159.568100 dpi)
I/[MALI][Gralloc]( 512): height = 95 mm (160.421051 dpi)
I/[MALI][Gralloc]( 512): refresh rate = 60.00 Hz
I/[MALI][Gralloc]( 512): init_framebuffer va: 0xb50f8000 mva: 0xb3700000
I/hwcomposer( 512): [DPY] Display Information:
I/hwcomposer( 512): [DPY] # fo devices : 1
I/hwcomposer( 512): [DPY] -----------------------------
I/hwcomposer( 512): [DPY] Device id : 0
I/hwcomposer( 512): [DPY] Width : 1024
I/hwcomposer( 512): [DPY] Height : 600
I/hwcomposer( 512): [DPY] xdpi : 160.000000
I/hwcomposer( 512): [DPY] ydpi : 160.000000
I/hwcomposer( 512): [DPY] vsync : 1
I/hwcomposer( 512): [DPY] refresh : 17179179
I/hwcomposer( 512): [DPY] connected : 1
I/hwcomposer( 512): [DPY] subtype : 0
W/hwcomposer( 512): [EVENT] Failed to open vsync device (Permission denied)
W/hwcomposer( 512): [EVENT] HW VSync State(0)
W/hwcomposer( 512): [EVENT] Start to listen uevent, addr.nl_pid(512)
I/6620_launcher( 124): Can't open device node(/dev/stpwmt)
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
I/SurfaceFlinger( 512): Using composer version 1.2
I/hwcomposer( 512): [HWC] getConfigs Display(0)
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
I/hwcomposer( 512): [HWC] getAttributes Display(0)
I/hwcomposer( 512): [HWC] getConfigs Display(1)
I/hwcomposer( 512): [HWC] getAttributes Display(1)
E/hwcomposer( 512): [HWC] Failed to get display attributes (dpy=1 is not connected)
W/SurfaceFlinger( 512): no suitable EGLConfig found, trying a simpler query
F/SurfaceFlinger( 512): no suitable EGLConfig found, giving up
F/libc ( 512): Fatal signal 6 (SIGABRT), code -6 in tid 512 (surfaceflinger)
I/DEBUG ( 129): property debug.db.uid not set; NOT waiting for gdb.
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
I/DEBUG ( 129): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 129): HINT: adb forward tcp:5039 tcp:5039
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
I/DEBUG ( 129): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 129): Build fingerprint: 'LeapFrog/cm_narnia/narnia:5.1.1/LMY49J/e2909bc29b:eng/test-keys'
I/DEBUG ( 129): Revision: '0'
I/DEBUG ( 129): ABI: 'arm'
I/DEBUG ( 129): pid: 512, tid: 512, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 129): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/DEBUG ( 129): Abort message: 'no suitable EGLConfig found, giving up'
I/DEBUG ( 129): r0 00000000 r1 00000200 r2 00000006 r3 00000000
I/DEBUG ( 129): r4 b6fc1e38 r5 00000006 r6 00000000 r7 0000010c
I/DEBUG ( 129): r8 b6482000 r9 00000000 sl 00000000 fp 00000001
I/DEBUG ( 129): ip 00000200 sp be8d34a0 lr b6f1a8f5 pc b6f3d8d0 cpsr 60070010
I/DEBUG ( 129):
I/DEBUG ( 129): backtrace:
I/DEBUG ( 129): #00 pc 000378d0 /system/lib/libc.so (tgkill+12)
I/DEBUG ( 129): #01 pc 000148f1 /system/lib/libc.so (pthread_kill+52)
I/DEBUG ( 129): #02 pc 0001564b /system/lib/libc.so (raise+10)
I/DEBUG ( 129): #03 pc 00011cc5 /system/lib/libc.so (__libc_android_abort+36)
I/DEBUG ( 129): #04 pc 0001005c /system/lib/libc.so (abort+4)
I/DEBUG ( 129): #05 pc 00007a41 /system/lib/libcutils.so (__android_log_assert+88)
I/DEBUG ( 129): #06 pc 0002930d /system/lib/libsurfaceflinger.so
I/DEBUG ( 129): #07 pc 00028f09 /system/lib/libsurfaceflinger.so
I/DEBUG ( 129): #08 pc 000195e7 /system/lib/libsurfaceflinger.so (_ZN7android14SurfaceFlinger4initEv+174)
I/DEBUG ( 129): #09 pc 00000af1 /system/bin/surfaceflinger
I/DEBUG ( 129): #10 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 129): #11 pc 00000c08 /system/bin/surfaceflinger
blakegriplingph said:
So I kanged hwcomposer from @pix106's dump of the A7-10F KitKat ROM, and it looks like I got something else other than the usual sw_sync_timeline failure:
Code:
I/SurfaceFlinger( 512): SurfaceFlinger is starting
I/SurfaceFlinger( 512): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 512): loaded /system/lib/egl/libEGL_mali.so
D/libEGL ( 512): loaded /system/lib/egl/libGLESv1_CM_mali.so
D/libEGL ( 512): loaded /system/lib/egl/libGLESv2_mali.so
W/libEGL ( 512): eglInitialize(0x1) failed (EGL_BAD_ALLOC)
I/[MALI][Gralloc]( 512): gralloc UREE_CreateSession recount = 0
I/[MALI][Gralloc]( 512): gralloc call UREE_CreateSession
I/[MALI][Gralloc]( 512): UREE_CreateSession fail, ret = -65536
I/gralloc ( 512): [Gralloc] refreshRate = 0, info.pixclock = ffffffff
I/gralloc ( 512): [Gralloc] info.upper_margin = ffffffff, info.lower_margin = ffffffff
I/gralloc ( 512): [Gralloc] info.yres = 258, info.hsync_len = ffffffff
I/gralloc ( 512): [Gralloc] info.left_margin = ffffffff, info.right_margin = ffffffff
I/[MALI][Gralloc]( 512): ro_dpi: 160.000000
I/[MALI][Gralloc]( 512): using (fd=13)
I/[MALI][Gralloc]( 512): id = mtkfb
I/[MALI][Gralloc]( 512): xres = 1024 px
I/[MALI][Gralloc]( 512): yres = 600 px
I/[MALI][Gralloc]( 512): xres_virtual = 1024 px
I/[MALI][Gralloc]( 512): yres_virtual = 1800 px
I/[MALI][Gralloc]( 512): bpp = 32
I/[MALI][Gralloc]( 512): r = 16:8
I/[MALI][Gralloc]( 512): g = 8:8
I/[MALI][Gralloc]( 512): b = 0:8
I/[MALI][Gralloc]( 512): width = 163 mm (159.568100 dpi)
I/[MALI][Gralloc]( 512): height = 95 mm (160.421051 dpi)
I/[MALI][Gralloc]( 512): refresh rate = 60.00 Hz
I/[MALI][Gralloc]( 512): init_framebuffer va: 0xb50f8000 mva: 0xb3700000
I/hwcomposer( 512): [DPY] Display Information:
I/hwcomposer( 512): [DPY] # fo devices : 1
I/hwcomposer( 512): [DPY] -----------------------------
I/hwcomposer( 512): [DPY] Device id : 0
I/hwcomposer( 512): [DPY] Width : 1024
I/hwcomposer( 512): [DPY] Height : 600
I/hwcomposer( 512): [DPY] xdpi : 160.000000
I/hwcomposer( 512): [DPY] ydpi : 160.000000
I/hwcomposer( 512): [DPY] vsync : 1
I/hwcomposer( 512): [DPY] refresh : 17179179
I/hwcomposer( 512): [DPY] connected : 1
I/hwcomposer( 512): [DPY] subtype : 0
W/hwcomposer( 512): [EVENT] Failed to open vsync device (Permission denied)
W/hwcomposer( 512): [EVENT] HW VSync State(0)
W/hwcomposer( 512): [EVENT] Start to listen uevent, addr.nl_pid(512)
I/6620_launcher( 124): Can't open device node(/dev/stpwmt)
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
I/SurfaceFlinger( 512): Using composer version 1.2
I/hwcomposer( 512): [HWC] getConfigs Display(0)
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
I/hwcomposer( 512): [HWC] getAttributes Display(0)
I/hwcomposer( 512): [HWC] getConfigs Display(1)
I/hwcomposer( 512): [HWC] getAttributes Display(1)
E/hwcomposer( 512): [HWC] Failed to get display attributes (dpy=1 is not connected)
W/SurfaceFlinger( 512): no suitable EGLConfig found, trying a simpler query
F/SurfaceFlinger( 512): no suitable EGLConfig found, giving up
F/libc ( 512): Fatal signal 6 (SIGABRT), code -6 in tid 512 (surfaceflinger)
I/DEBUG ( 129): property debug.db.uid not set; NOT waiting for gdb.
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
I/DEBUG ( 129): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 129): HINT: adb forward tcp:5039 tcp:5039
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
I/DEBUG ( 129): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 129): Build fingerprint: 'LeapFrog/cm_narnia/narnia:5.1.1/LMY49J/e2909bc29b:eng/test-keys'
I/DEBUG ( 129): Revision: '0'
I/DEBUG ( 129): ABI: 'arm'
I/DEBUG ( 129): pid: 512, tid: 512, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 129): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/DEBUG ( 129): Abort message: 'no suitable EGLConfig found, giving up'
I/DEBUG ( 129): r0 00000000 r1 00000200 r2 00000006 r3 00000000
I/DEBUG ( 129): r4 b6fc1e38 r5 00000006 r6 00000000 r7 0000010c
I/DEBUG ( 129): r8 b6482000 r9 00000000 sl 00000000 fp 00000001
I/DEBUG ( 129): ip 00000200 sp be8d34a0 lr b6f1a8f5 pc b6f3d8d0 cpsr 60070010
I/DEBUG ( 129):
I/DEBUG ( 129): backtrace:
I/DEBUG ( 129): #00 pc 000378d0 /system/lib/libc.so (tgkill+12)
I/DEBUG ( 129): #01 pc 000148f1 /system/lib/libc.so (pthread_kill+52)
I/DEBUG ( 129): #02 pc 0001564b /system/lib/libc.so (raise+10)
I/DEBUG ( 129): #03 pc 00011cc5 /system/lib/libc.so (__libc_android_abort+36)
I/DEBUG ( 129): #04 pc 0001005c /system/lib/libc.so (abort+4)
I/DEBUG ( 129): #05 pc 00007a41 /system/lib/libcutils.so (__android_log_assert+88)
I/DEBUG ( 129): #06 pc 0002930d /system/lib/libsurfaceflinger.so
I/DEBUG ( 129): #07 pc 00028f09 /system/lib/libsurfaceflinger.so
I/DEBUG ( 129): #08 pc 000195e7 /system/lib/libsurfaceflinger.so (_ZN7android14SurfaceFlinger4initEv+174)
I/DEBUG ( 129): #09 pc 00000af1 /system/bin/surfaceflinger
I/DEBUG ( 129): #10 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 129): #11 pc 00000c08 /system/bin/surfaceflinger
Click to expand...
Click to collapse
I would not know how to help you but maybe ggow who has compiled lineage 12.1 for amazon fire mt8127 can help you.
Rortiz2 said:
I would not know how to help you but maybe ggow who has compiled lineage 12.1 for amazon fire mt8127 can help you.
Click to expand...
Click to collapse
Does that one run on Kitkat originally? If anything, both the Epic and the MT8127 Amazon Fire tablets are made by the same ODM iirc. I might also try updating the blobs and kernel to version 1.8.45 to see if it helps any, but hwcomposer is apparently still the same.
blakegriplingph said:
Does that one run on Kitkat originally? If anything, both the Epic and the MT8127 Amazon Fire tablets are made by the same ODM iirc. I might also try updating the blobs and kernel to version 1.8.45 to see if it helps any, but hwcomposer is apparently still the same.
Click to expand...
Click to collapse
Amazon Fire tablets came with lollipop 5.1.
Have you tried to port the Rom instead of compiling? It is easier :/ . If you send me the stock bootimg and the stock system.img I can port you some ROM.
Rortiz2 said:
Amazon Fire tablets came with lollipop 5.1.
Have you tried to port the Rom instead of compiling? It is easier :/ . If you send me the stock bootimg and the stock system.img I can port you some ROM.
Click to expand...
Click to collapse
You sure you're able to port a ROM built for newer (prebuilt) kernel on a 3.4.67 device? The only sticking point so far with the LeapFrog CM12 port is hwcomposer/surfaceflinger refusing to cooperate. As of late I recompiled the ROM with no blobs kanged off other devices with the following flags added to BoardConfig:
Code:
TARGET_RUNNING_WITHOUT_SYNC_FRAMEWORK := true
BOARD_EGL_WORKAROUND_BUG_10194508 := true
...and ran logcat on it. Still the same sw_sync issues though it apparently has something to do with SELinux denying those requests as what the attached log seems to imply. It might be a red herring though, and I've read that @pix106 also ran into similar issues before with him trying a myriad of build flags in an attempt to fix this. Any ideas on what to use to get rid of this once and for all and finally get the damn GUI to boot? I'm thinking about using "BOARD_NEEDS_OLD_HWC_API := true" given how the blobs were for KitKat but what do you guys think? If only there were developers here who just happen to own an Epic lol.
...and I got a tiny bit further with the SELinux whitelist applied, though it's still the same "stuck on LeapFrog logo" moment with no sign of the boot animation springing to life. The backtrace mentions something along the lines of "buffer" in the functions called. Could it be that "BOARD_EGL_NEEDS_LEGACY_FB := true" is at fault here?
Also, there's an error in the log saying:
Code:
File size of 0 bytes not large enough to contain ELF header of 52 bytes: '/data/dalvik-cache/arm/[email protected]@boot.oat'
blakegriplingph said:
...and I got a tiny bit further with the SELinux whitelist applied, though it's still the same "stuck on LeapFrog logo" moment with no sign of the boot animation springing to life. The backtrace mentions something along the lines of "buffer" in the functions called. Could it be that "BOARD_EGL_NEEDS_LEGACY_FB := true" is at fault here?
Also, there's an error in the log saying:
Click to expand...
Click to collapse
I'd first check permission issues (/dev/stpwmt : iirc I had a few permission errors at early boot, but quick after it should be working fine), and nvram.
pix106 said:
I'd first check permission issues (/dev/stpwmt : iirc I had a few permission errors at early boot, but quick after it should be working fine), and nvram.
Click to expand...
Click to collapse
Care to explain even further? I'll have to check things on my other Epic to see if I got the permissions right (I have three Epics actually, one for development, one which I keep as stock for reference purposes and another as a parts unit).
Also, any ideas on why ART appears to be failing? Permissions issues as well I presume?
ART does seem to work, but for some reason /dev/stpwmt isn't being loaded properly despite it being declared on the init files. I can however load it manually through ADB shell. Also, even if I did seem to set the right permissions to the display drivers surfaceflinger crashes for a few times until the crash logs cease to show up, and I then get spammed with the following:
Code:
D/hwcomposer( 2058): [DPY] UEventThread::threadLoop poll return 1
I/hwcomposer( 2058): [DPY] UEventThread::threadLoop recv [email protected]/devices/platform/battery/power_supply/ac
D/hwcomposer( 2058): [DPY] handle_uevents : s = 0xb5ce2138, len = 191
D/hwcomposer( 2058): [DPY] UEventThread::threadLoop poll wait
D/hwcomposer( 2058): [DPY] UEventThread::threadLoop poll return 1
I/hwcomposer( 2058): [DPY] UEventThread::threadLoop recv [email protected]/devices/platform/battery/power_supply/usb
D/hwcomposer( 2058): [DPY] handle_uevents : s = 0xb5ce2138, len = 194
D/hwcomposer( 2058): [DPY] UEventThread::threadLoop poll wait
D/hwcomposer( 2058): [DPY] UEventThread::threadLoop poll return 1
I/hwcomposer( 2058): [DPY] UEventThread::threadLoop recv [email protected]/devices/platform/battery/power_supply/battery
D/hwcomposer( 2058): [DPY] handle_uevents : s = 0xb5ce2138, len = 794
D/hwcomposer( 2058): [DPY] UEventThread::threadLoop poll wait
I think the surfaceflinger crash may have something to do with the permissions being loaded a bit too late. Can anyone look into this?
blakegriplingph said:
Care to explain even further? I'll have to check things on my other Epic to see if I got the permissions right (I have three Epics actually, one for development, one which I keep as stock for reference purposes and another as a parts unit).
Also, any ideas on why ART appears to be failing? Permissions issues as well I presume?
Click to expand...
Click to collapse
I remember I had issues with this permission too, and maybe had to modify it from init.mt8127, among other permissions. Check my GitHub, check cm-12.1 branch, which was used as base for the CyanogenMod for Lenovo Tab2A710F repository ; you'll find the commits before cm finally booted.
pix106 said:
I remember I had issues with this permission too, and maybe had to modify it from init.mt8127, among other permissions. Check my GitHub, check cm-12.1 branch, which was used as base for the CyanogenMod for Lenovo Tab2A710F repository ; you'll find the commits before cm finally booted.
Click to expand...
Click to collapse
I'll check that one out. Permissions seem to be the thing that's keeping CM from booting up at all lol. If only LeapFrog did a Lollipop update for the Epic (like seriously, KitKat in 2019 wtf?) that would've saved me the trouble of hacking up fixes and whatnot.
Strange, I applied your edits to init.mt8127 yet /dev/stpwmt isn't being loaded automatically. And HWC/surfaceflinger still spazzes out with complaints about buffers or something along the lines of it. I don't know if I should just suck it up and throw the towel for now, but I've gone too far into this project that it would be a shame to just let it go.
That being said, is it possible to decompile sepolicy and kang whatever it is in there so I don't have to compile a whole list of things to whitelist? And I really do need people who own a LeapFrog Epic and are also interested in porting CM to this damn thing. It's a shot in the dark but I could use all the help I could muster right now.
Seems like we need to adapt what I saw on this repo as the MediatekHacks.cpp I threw in to fix the missing symbols issue may have accounted for why SurfaceFlinger isn't cooperating.
@pix106 - Did you by any chance use the repo I mentioned above when you built your ROM? I've used the vanilla CM android_frameworks_native repo for one and that may have accounted for why my ROM is spazzing out. Also, I saw a commit by thp1997 (along with a patch of similar intent by @Kirito96) which appears to be a patch/shim set for the MT6572 that seems to tackle the same issue as what I've been experiencing with the Epic. The crash log...
Code:
--------- beginning of crash
F/libc ( 127): Fatal signal 7 (SIGBUS), code 1, fault addr 0xb6400189 in tid 127 (surfaceflinger)
I/DEBUG ( 133): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 133): Build fingerprint: 'LeapFrog/cm_narnia/narnia:5.1.1/LMY49J/ad8cbe2f60:eng/test-keys'
I/DEBUG ( 133): Revision: '0'
I/DEBUG ( 133): ABI: 'arm'
I/DEBUG ( 133): pid: 127, tid: 127, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 133): signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0xb6400189
I/DEBUG ( 133): r0 ffffffff r1 b6400189 r2 00000005 r3 00000000
I/DEBUG ( 133): r4 b6400189 r5 ffffffff r6 be827298 r7 b60b30d0
I/DEBUG ( 133): r8 b6d6dc2c r9 be826db4 sl 00000000 fp 00000000
I/DEBUG ( 133): ip b6e02f38 sp be826d60 lr b6e68dbc pc b6e68dbc cpsr 80000010
I/DEBUG ( 133):
I/DEBUG ( 133): backtrace:
I/DEBUG ( 133): #00 pc 00003dbc /system/lib/libcutils.so (android_atomic_add+16)
I/DEBUG ( 133): #01 pc 0000d61f /system/lib/libutils.so (_ZNK7android7RefBase9decStrongEPKv+10)
I/DEBUG ( 133): #02 pc 00028f7b /system/lib/libgui.so (_ZN7android2spINS_13GraphicBufferEEaSERKS2_+22)
I/DEBUG ( 133): #03 pc 000290af /system/lib/libgui.so (_ZN7android19BufferQueueConsumer13acquireBufferEPNS_22IGraphicBufferConsumer10BufferItemEx+270)
I/DEBUG ( 133): #04 pc 0002c411 /system/lib/libgui.so (_ZN7android12ConsumerBase19acquireBufferLockedEPNS_22IGraphicBufferConsumer10BufferItemEx+16)
I/DEBUG ( 133): #05 pc 00023571 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #06 pc 00023679 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #07 pc 0002849b /system/lib/libgui.so (_ZN7android11BufferQueue21ProxyConsumerListener16onFrameAvailableERKNS_10BufferItemE+26)
I/DEBUG ( 133): #08 pc 0002ba2b /system/lib/libgui.so (_ZN7android19BufferQueueProducer11queueBufferEiRKNS_22IGraphicBufferProducer16QueueBufferInputEPNS1_17QueueBufferOutputE+562)
I/DEBUG ( 133): #09 pc 00037423 /system/lib/libgui.so (_ZN7android7Surface11queueBufferEP19ANativeWindowBufferi+254)
I/DEBUG ( 133): #10 pc 00036693 /system/lib/libgui.so (_ZN7android7Surface16hook_queueBufferEP13ANativeWindowP19ANativeWindowBufferi+10)
I/DEBUG ( 133): #11 pc 0000f720 /system/lib/libMali.so
I/DEBUG ( 133): #12 pc 00010218 /system/lib/libMali.so
I/DEBUG ( 133): #13 pc 0005e5d8 /system/lib/libMali.so
I/DEBUG ( 133): #14 pc 0005d70c /system/lib/libMali.so
I/DEBUG ( 133): #15 pc 0005bf58 /system/lib/libMali.so (shim_eglSwapBuffers+64)
I/DEBUG ( 133): #16 pc 000120d7 /system/lib/libEGL.so (eglSwapBuffers+290)
I/DEBUG ( 133): #17 pc 0000f541 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #18 pc 0001c187 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #19 pc 0001b367 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #20 pc 0001a6eb /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #21 pc 0001a459 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #22 pc 00011127 /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+410)
I/DEBUG ( 133): #23 pc 00011219 /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+92)
I/DEBUG ( 133): #24 pc 00017b95 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #25 pc 0001a04d /system/lib/libsurfaceflinger.so (_ZN7android14SurfaceFlinger3runEv+8)
I/DEBUG ( 133): #26 pc 00000b4d /system/bin/surfaceflinger
I/DEBUG ( 133): #27 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 133): #28 pc 00000c08 /system/bin/surfaceflinger
F/libc ( 261): Fatal signal 7 (SIGBUS), code 1, fault addr 0xffffffff in tid 261 (surfaceflinger)
I/DEBUG ( 133): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
...appears to allude to the ones mentioned in the patch files. Maybe this is the cure we needed, short of using a different HWC which I more or less doubt to be necessary.
blakegriplingph said:
Seems like we need to adapt what I saw on this repo as the MediatekHacks.cpp I threw in to fix the missing symbols issue may have accounted for why SurfaceFlinger isn't cooperating.
@pix106 - Did you by any chance use the repo I mentioned above when you built your ROM? I've used the vanilla CM android_frameworks_native repo for one and that may have accounted for why my ROM is spazzing out. Also, I saw a commit by thp1997 (along with a patch of similar intent by @Kirito96) which appears to be a patch/shim set for the MT6572 that seems to tackle the same issue as what I've been experiencing with the Epic. The crash log...
Code:
--------- beginning of crash
F/libc ( 127): Fatal signal 7 (SIGBUS), code 1, fault addr 0xb6400189 in tid 127 (surfaceflinger)
I/DEBUG ( 133): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 133): Build fingerprint: 'LeapFrog/cm_narnia/narnia:5.1.1/LMY49J/ad8cbe2f60:eng/test-keys'
I/DEBUG ( 133): Revision: '0'
I/DEBUG ( 133): ABI: 'arm'
I/DEBUG ( 133): pid: 127, tid: 127, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 133): signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0xb6400189
I/DEBUG ( 133): r0 ffffffff r1 b6400189 r2 00000005 r3 00000000
I/DEBUG ( 133): r4 b6400189 r5 ffffffff r6 be827298 r7 b60b30d0
I/DEBUG ( 133): r8 b6d6dc2c r9 be826db4 sl 00000000 fp 00000000
I/DEBUG ( 133): ip b6e02f38 sp be826d60 lr b6e68dbc pc b6e68dbc cpsr 80000010
I/DEBUG ( 133):
I/DEBUG ( 133): backtrace:
I/DEBUG ( 133): #00 pc 00003dbc /system/lib/libcutils.so (android_atomic_add+16)
I/DEBUG ( 133): #01 pc 0000d61f /system/lib/libutils.so (_ZNK7android7RefBase9decStrongEPKv+10)
I/DEBUG ( 133): #02 pc 00028f7b /system/lib/libgui.so (_ZN7android2spINS_13GraphicBufferEEaSERKS2_+22)
I/DEBUG ( 133): #03 pc 000290af /system/lib/libgui.so (_ZN7android19BufferQueueConsumer13acquireBufferEPNS_22IGraphicBufferConsumer10BufferItemEx+270)
I/DEBUG ( 133): #04 pc 0002c411 /system/lib/libgui.so (_ZN7android12ConsumerBase19acquireBufferLockedEPNS_22IGraphicBufferConsumer10BufferItemEx+16)
I/DEBUG ( 133): #05 pc 00023571 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #06 pc 00023679 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #07 pc 0002849b /system/lib/libgui.so (_ZN7android11BufferQueue21ProxyConsumerListener16onFrameAvailableERKNS_10BufferItemE+26)
I/DEBUG ( 133): #08 pc 0002ba2b /system/lib/libgui.so (_ZN7android19BufferQueueProducer11queueBufferEiRKNS_22IGraphicBufferProducer16QueueBufferInputEPNS1_17QueueBufferOutputE+562)
I/DEBUG ( 133): #09 pc 00037423 /system/lib/libgui.so (_ZN7android7Surface11queueBufferEP19ANativeWindowBufferi+254)
I/DEBUG ( 133): #10 pc 00036693 /system/lib/libgui.so (_ZN7android7Surface16hook_queueBufferEP13ANativeWindowP19ANativeWindowBufferi+10)
I/DEBUG ( 133): #11 pc 0000f720 /system/lib/libMali.so
I/DEBUG ( 133): #12 pc 00010218 /system/lib/libMali.so
I/DEBUG ( 133): #13 pc 0005e5d8 /system/lib/libMali.so
I/DEBUG ( 133): #14 pc 0005d70c /system/lib/libMali.so
I/DEBUG ( 133): #15 pc 0005bf58 /system/lib/libMali.so (shim_eglSwapBuffers+64)
I/DEBUG ( 133): #16 pc 000120d7 /system/lib/libEGL.so (eglSwapBuffers+290)
I/DEBUG ( 133): #17 pc 0000f541 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #18 pc 0001c187 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #19 pc 0001b367 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #20 pc 0001a6eb /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #21 pc 0001a459 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #22 pc 00011127 /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+410)
I/DEBUG ( 133): #23 pc 00011219 /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+92)
I/DEBUG ( 133): #24 pc 00017b95 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #25 pc 0001a04d /system/lib/libsurfaceflinger.so (_ZN7android14SurfaceFlinger3runEv+8)
I/DEBUG ( 133): #26 pc 00000b4d /system/bin/surfaceflinger
I/DEBUG ( 133): #27 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 133): #28 pc 00000c08 /system/bin/surfaceflinger
F/libc ( 261): Fatal signal 7 (SIGBUS), code 1, fault addr 0xffffffff in tid 261 (surfaceflinger)
I/DEBUG ( 133): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
...appears to allude to the ones mentioned in the patch files. Maybe this is the cure we needed, short of using a different HWC which I more or less doubt to be necessary.
Click to expand...
Click to collapse
i did not use this repo.
i could build a bootable and usable cm12.1 without any patch.
thp1997 joined afterwards and added patched repos, but they were not strictly needed : they allowed WPS wifi pairing, headset icon, usb mode selection when usb is not plugged.

Erro help me

Got this phone a week ago, i haven't unlock it yet, but got this erros and a crash on play store whitout made any changes.
Can you help understand what erro is this?
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'POCO/lmi_eea/lmi:10/QKQ1.191117.002/V12.0.1.0.QJKEUXM:user/release-keys'
Revision: '0'
ABI: 'arm'
Timestamp: 2020-07-15 13:23:50+0100
pid: 16840, tid: 16983, name: BlockingExecuto >>> com.android.vending <<<
uid: 10172
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: 'ubsan: implicit-conversion'
r0 00000000 r1 00004257 r2 00000006 r3 c1bcc7c8
r4 c1bcc7dc r5 c1bcc7c0 r6 000041c8 r7 0000016b
r8 c1bcc7d8 r9 c1bcc7c8 r10 c1bcc7f8 r11 c1bcc7e8
ip 00004257 sp c1bcc798 lr f492d4cb pc f492d4de
backtrace:
#00 pc 000614de /apex/com.android.runtime/lib/bionic/libc.so (abort+166) (BuildId: 4f277b45cdd6aba6dbf234937ed923c5)
#01 pc 00011c1c /system/lib/libutils.so (abort_with_message(char const*)+24) (BuildId: 86b210dec3d83bb89e9ce269b1792ef8)
#02 pc 00011d14 /system/lib/libutils.so (__ubsan_handle_implicit_conversion_minimal_abort+24) (BuildId: 86b210dec3d83bb89e9ce269b1792ef8)
#03 pc 0000a1db /system/lib/libutils.so (android::FileMap::create(char const*, int, long long, unsigned int, bool)+302) (BuildId: 86b210dec3d83bb89e9ce269b1792ef8)
#04 pc 00021deb /system/lib/libandroidfw.so (android::ApkAssets:pen(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, android::Asset::AccessMode) const+258) (BuildId: 4fa54774131ab0b4a6739aa3a081422a)
#05 pc 00021255 /system/lib/libandroidfw.so (android::ApkAssets::LoadImpl(android::base::unique_fd_impl<android::base:efaultCloser>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::unique_ptr<android::Asset, std::__1::default_delete<android::Asset>>, std::__1::unique_ptr<android::LoadedIdmap const, std::__1::default_delete<android::LoadedIdmap const>>, bool, bool)+392) (BuildId: 4fa54774131ab0b4a6739aa3a081422a)
#06 pc 00021069 /system/lib/libandroidfw.so (android::ApkAssets::Load(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool)+40) (BuildId: 4fa54774131ab0b4a6739aa3a081422a)
#07 pc 00134f4b /system/lib/libandroid_runtime.so (android::NativeLoad(_JNIEnv*, _jclass*, _jstring*, unsigned char, unsigned char, unsigned char)+630) (BuildId: b041cf2edcb4b370b52c299e9f6c2944)
#08 pc 009ef369 /system/framework/arm/boot-framework.oat (art_jni_trampoline+136) (BuildId: c7cfb9809d2030ecf01e8673e4d7249ed418f757)
#09 pc 0093eca9 /system/framework/arm/boot-framework.oat (android.app.ResourcesManager.loadApkAssets+440) (BuildId: c7cfb9809d2030ecf01e8673e4d7249ed418f757)
#10 pc 00940323 /system/framework/arm/boot-framework.oat (android.app.ResourcesManager.createAssetManager+170) (BuildId: c7cfb9809d2030ecf01e8673e4d7249ed418f757)
#11 pc 00941b77 /system/framework/arm/boot-framework.oat (android.app.ResourcesManager.originalCreateResourcesImpl+126) (BuildId: c7cfb9809d2030ecf01e8673e4d7249ed418f757)
#12 pc 0093d173 /system/framework/arm/boot-framework.oat (android.app.ResourcesManager.createResourcesImpl+210) (BuildId: c7cfb9809d2030ecf01e8673e4d7249ed418f757)
#13 pc 0093e12b /system/framework/arm/boot-framework.oat (android.app.ResourcesManager.getOrCreateResources+1362) (BuildId: c7cfb9809d2030ecf01e8673e4d7249ed418f757)
#14 pc 0094170b /system/framework/arm/boot-framework.oat (android.app.ResourcesManager.getResources+490) (BuildId: c7cfb9809d2030ecf01e8673e4d7249ed418f757)
#15 pc 00c1d387 /system/framework/arm/boot-framework.oat (android.app.ApplicationPackageManager.getResourcesForApplication+414) (BuildId: c7cfb9809d2030ecf01e8673e4d7249ed418f757)
#16 pc 00c1e0f1 /system/framework/arm/boot-framework.oat (android.app.ApplicationPackageManager.getText+192) (BuildId: c7cfb9809d2030ecf01e8673e4d7249ed418f757)
#17 pc 009c83c7 /system/framework/arm/boot-framework.oat (android.content.pm.PackageItemInfo.loadUnsafeLabel+110) (BuildId: c7cfb9809d2030ecf01e8673e4d7249ed418f757)
#18 pc 009c8153 /system/framework/arm/boot-framework.oat (android.content.pm.PackageItemInfo.loadLabel+66) (BuildId: c7cfb9809d2030ecf01e8673e4d7249ed418f757)
#19 pc 003ff221 /data/app/com.android.vending-WJDmSZ_RGH-9uyrygNbIYg==/oat/arm/base.odex (aebm.a+896)
#20 pc 007d7029 /data/app/com.android.vending-WJDmSZ_RGH-9uyrygNbIYg==/oat/arm/base.odex (atcn.a+104)
#21 pc 0090c7a5 /data/app/com.android.vending-WJDmSZ_RGH-9uyrygNbIYg==/oat/arm/base.odex (atcp.run+916)
#22 pc 0093cc9b /data/app/com.android.vending-WJDmSZ_RGH-9uyrygNbIYg==/oat/arm/base.odex (atet.run+74)
#23 pc 00853557 /system/framework/arm/boot.oat (java.util.concurrent.ThreadPoolExecutor.runWorker+1014) (BuildId: 86dd90e50c0ee1c7a1d5b14fb525c8b3d008e1cd)
#24 pc 0085036f /system/framework/arm/boot.oat (java.util.concurrent.ThreadPoolExecutor$Worker.run+54) (BuildId: 86dd90e50c0ee1c7a1d5b14fb525c8b3d008e1cd)
#25 pc 002d7b0f /data/app/com.android.vending-WJDmSZ_RGH-9uyrygNbIYg==/oat/arm/base.odex (adtq.run+78)
#26 pc 00433739 /system/framework/arm/boot.oat (java.lang.Thread.run+64) (BuildId: 86dd90e50c0ee1c7a1d5b14fb525c8b3d008e1cd)
#27 pc 000d8bc5 /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: 422386db5b3b24277572750a06bcffa0)
#28 pc 00441f59 /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub+248) (BuildId: 422386db5b3b24277572750a06bcffa0)
#29 pc 000e0f81 /apex/com.android.runtime/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+168) (BuildId: 422386db5b3b24277572750a06bcffa0)
#30 pc 0037e807 /apex/com.android.runtime/lib/libart.so (art:anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art:anonymous namespace)::ArgArray*, art::JValue*, char const*)+54) (BuildId: 422386db5b3b24277572750a06bcffa0)
#31 pc 0037f59b /apex/com.android.runtime/lib/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+302) (BuildId: 422386db5b3b24277572750a06bcffa0)
#32 pc 003b3ee7 /apex/com.android.runtime/lib/libart.so (art::Thread::CreateCallback(void*)+994) (BuildId: 422386db5b3b24277572750a06bcffa0)
#33 pc 000ac4dd /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+20) (BuildId: 4f277b45cdd6aba6dbf234937ed923c5)
#34 pc 00062989 /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: 4f277b45cdd6aba6dbf234937ed923c5
Click to expand...
Click to collapse
vINyL3 said:
Got this phone a week ago, i haven't unlock it yet, but got this erros and a crash on play store whitout made any changes.
Can you help understand what erro is this?
Click to expand...
Click to collapse
Clean Data/cache of Google Play App, and make sure its updated
Already done it, don't solve it
You got a 3 part launcher?
No, got the default poco launcher.
I read it that cloud be that phone not being certificate by google, but my wife is the same phone, bought at the same time i got no erro.
Last step is to factory reset
i was wating to unlock it first, but stupid 168h clock don't move. Need to wait more 6 days again.

Categories

Resources