when trying to turn on bluetooth most of the time it failed, sometimes after phone restarts it starting to work, when I checked the logs I saw this over and over
Code:
10-03 23:53:11.756 5282-5282/? E/[email protected]: DeleteDumpsIfRequired: Cannot open dump location /data/vendor/ssrdump/
10-03 23:53:11.757 907-1546/? E/BluetoothManagerService: MESSAGE_BLUETOOTH_SERVICE_DISCONNECTED(1)
10-03 23:53:11.899 5282-5282/? E/[email protected]_handler: Killing daemon to recover as firmware download is stuck
10-03 23:53:12.091 5319-5319/? E/BluetoothVendorJni: register_com_android_bluetooth_btservice_vendor:
10-03 23:53:12.091 5319-5319/? E/BluetoothVendorSocketJni: register_com_android_bluetooth_btservice_vendor_socket:
10-03 23:53:12.134 5319-5339/? E/bt_btif_storage: btif_storage_get_adapter_property: Controller not ready! Unable to return Bluetooth Address
10-03 23:53:12.134 5319-5339/? E/BluetoothServiceJni: adapter_properties_callback: Status 1 is incorrect
10-03 23:53:13.268 5354-5354/? E/[email protected]_address: BD address read from /data/vendor/oemnvitems/447 iFilelen=6: fd:5d:13:f9:a2:64
10-03 23:53:13.268 5354-5354/? E/[email protected]_address: /data/vendor/oemnvitems/447 ok
10-03 23:53:13.289 5354-5356/? E/[email protected]_manager: bt_power_cherokee enable (0)
10-03 23:53:13.290 5354-5356/? E/[email protected]_manager: bt_power_cherokee enable (1)
10-03 23:53:13.556 5354-5356/? E/[email protected]_address: BD address read from /data/vendor/oemnvitems/447 iFilelen=6: fd:5d:13:f9:a2:64
10-03 23:53:13.556 5354-5356/? E/[email protected]_address: /data/vendor/oemnvitems/447 ok
10-03 23:53:15.132 5319-5334/? E/bt_main: bte_main_enable HCI_MODULE failed to start, Killing the bluetooth process
10-03 23:53:15.173 5354-5354/? E/Diag_Lib: BluetoothDeathRecipient: Calling HAL close
10-03 23:53:15.174 5354-5354/? E/[email protected]: DeleteDumpsIfRequired: Cannot open dump location /data/vendor/ssrdump/
10-03 23:53:15.174 907-1546/? E/BluetoothManagerService: MESSAGE_BLUETOOTH_SERVICE_DISCONNECTED(1)
10-03 23:53:15.316 5354-5354/? E/[email protected]_handler: Killing daemon to recover as firmware download is stuck
10-03 23:53:15.523 5358-5358/? E/BluetoothVendorJni: register_com_android_bluetooth_btservice_vendor:
10-03 23:53:15.523 5358-5358/? E/BluetoothVendorSocketJni: register_com_android_bluetooth_btservice_vendor_socket:
10-03 23:53:15.581 5358-5378/? E/bt_btif_storage: btif_storage_get_adapter_property: Controller not ready! Unable to return Bluetooth Address
10-03 23:53:15.581 5358-5378/? E/BluetoothServiceJni: adapter_properties_callback: Status 1 is incorrect
10-03 23:53:18.288 5393-5393/? E/[email protected]_address: BD address read from /data/vendor/oemnvitems/447 iFilelen=6: fd:5d:13:f9:a2:64
10-03 23:53:18.288 5393-5393/? E/[email protected]_address: /data/vendor/oemnvitems/447 ok
10-03 23:53:18.297 5393-5395/? E/[email protected]_manager: bt_power_cherokee enable (0)
10-03 23:53:18.298 5393-5395/? E/[email protected]_manager: bt_power_cherokee enable (1)
10-03 23:53:18.557 5393-5395/? E/[email protected]_address: BD address read from /data/vendor/oemnvitems/447 iFilelen=6: fd:5d:13:f9:a2:64
10-03 23:53:18.557 5393-5395/? E/[email protected]_address: /data/vendor/oemnvitems/447 ok
10-03 23:53:18.559 5358-5373/? E/bt_main: bte_main_enable HCI_MODULE failed to start, Killing the bluetooth process
10-03 23:53:18.618 5393-5393/? E/Diag_Lib: BluetoothDeathRecipient: Calling HAL close
10-03 23:53:18.620 5393-5393/? E/[email protected]: DeleteDumpsIfRequired: Cannot open dump location /data/vendor/ssrdump/
10-03 23:53:18.622 907-1546/? E/BluetoothManagerService: MESSAGE_BLUETOOTH_SERVICE_DISCONNECTED(1)
10-03 23:53:18.760 5393-5393/? E/[email protected]_handler: Killing daemon to recover as firmware download is stuck
10-03 23:53:18.965 5397-5397/? E/BluetoothVendorJni: register_com_android_bluetooth_btservice_vendor:
10-03 23:53:18.965 5397-5397/? E/BluetoothVendorSocketJni: register_com_android_bluetooth_btservice_vendor_socket:
10-03 23:53:19.020 5397-5418/? E/bt_btif_storage: btif_storage_get_adapter_property: Controller not ready! Unable to return Bluetooth Address
10-03 23:53:19.020 5397-5418/? E/BluetoothServiceJni: adapter_properties_callback: Status 1 is incorrect
Adding more logs with info log filter instead of only error logs in the prev msg
Code:
10-04 00:00:38.958 11888-11903/? I/bt_stack_config: init attempt to load stack conf debug from /etc/bluetooth/bt_stack_debug.conf
10-04 00:00:38.959 11888-11903/? I/bt_btif_core: btif_init_bluetooth finished
10-04 00:00:38.962 11888-11908/? E/bt_btif_storage: btif_storage_get_adapter_property: Controller not ready! Unable to return Bluetooth Address
10-04 00:00:38.962 11888-11908/? E/BluetoothServiceJni: adapter_properties_callback: Status 1 is incorrect
10-04 00:00:38.967 11888-11888/? I/BluetoothAdapterService: Phone policy enabled
10-04 00:00:38.971 11888-11909/? I/BluetoothBondStateMachine: StableState(): Entering Off State
10-04 00:00:38.986 11888-11888/? I/BluetoothOneplusTrackJni: classInitNative: succeeds
10-04 00:00:39.038 11888-11888/? W/BluetoothAdapterService: onProfileServiceStateChange() - Gatt profile service started..
10-04 00:00:39.043 11888-11919/? I/ServiceManagement: getService: Trying again for [email protected]::IBluetoothHci/default...
10-04 00:00:39.250 11923-11923/? I/[email protected]: registering BT & FM services
10-04 00:00:39.248 11923-11923/? W/android.hardwar: type=1400 audit(0.0:44753): avc: denied { read } for name="u:object_r:boottime_prop:s0" dev="tmpfs" ino=22266 scontext=u:r:hal_bluetooth_qti:s0 tcontext=u:object_r:boottime_prop:s0 tclass=file permissive=0
10-04 00:00:39.259 11923-11923/? E/[email protected]_address: BD address read from /data/vendor/oemnvitems/447 iFilelen=6: fd:5d:13:f9:a2:64
10-04 00:00:39.259 11923-11923/? E/[email protected]_address: /data/vendor/oemnvitems/447 ok
10-04 00:00:39.248 11923-11923/? W/android.hardwar: type=1400 audit(0.0:44754): avc: denied { getattr } for path="/data/vendor/oemnvitems/447" dev="sda17" ino=525715 scontext=u:r:hal_bluetooth_qti:s0 tcontext=u:object_r:vendor_data_file:s0 tclass=file permissive=0
10-04 00:00:39.261 11923-11923/? I/ServiceManagement: Removing namespace from process name [email protected] to [email protected]
10-04 00:00:39.264 11923-11923/? I/[email protected]: Registration complete for [email protected]::IBluetoothHci/default.
10-04 00:00:39.271 11923-11923/? I/[email protected]: Registration complete for [email protected]::IFmHci/default.
10-04 00:00:39.277 11923-11923/? I/[email protected]: Registration complete for [email protected]::IAntHci/default.
10-04 00:00:39.277 11888-11919/? I/bt_hci: hci_initialize: IBluetoothHci::getService() returned 0x75bb0ecd00 (remote)
10-04 00:00:39.279 11923-11923/? W/[email protected]_hci: BluetoothHci::initialize()
10-04 00:00:39.279 11923-11923/? W/[email protected]_handler: DataHandler:: Init()
10-04 00:00:39.279 11923-11923/? W/[email protected]_handler: vendor.qcom.bluetooth.soc set to cherokee
10-04 00:00:39.279 11923-11923/? I/[email protected]_handler: Open init_status 0
10-04 00:00:39.279 11923-11925/? I/[email protected]_controller: soc need reload patch = 1
10-04 00:00:39.279 11923-11925/? E/[email protected]_manager: bt_power_cherokee enable (0)
10-04 00:00:39.280 11923-11925/? E/[email protected]_manager: bt_power_cherokee enable (1)
10-04 00:00:39.295 11923-11925/? I/[email protected]_transport: InitTransport: opening /dev/ttyHS0
10-04 00:00:39.298 11923-11925/? I/[email protected]_transport: GetBaudRate: Current Baudrate = 2400 bps
10-04 00:00:39.298 11923-11925/? I/[email protected]_transport: InitTransport: device fd = 9 open @2400 bps
10-04 00:00:39.324 11923-11925/? I/[email protected]_transport: CleanUp:send out shutdown signal
10-04 00:00:39.326 11923-11925/? I/[email protected]_transport: DeInitTransport: Transport is being closed!
10-04 00:00:39.431 11923-11925/? I/[email protected]_transport: InitTransport: opening /dev/ttyHS0
10-04 00:00:39.433 11923-11925/? I/[email protected]_transport: GetBaudRate: Current Baudrate = 115200 bps
10-04 00:00:39.433 11923-11925/? I/[email protected]_transport: InitTransport: device fd = 9 open @115200 bps
10-04 00:00:39.434 11923-11925/? I/[email protected]_transport: Init:send out poweron signal
10-04 00:00:39.435 11923-11925/? I/[email protected]_transport: DeInitTransport: Transport is being closed!
10-04 00:00:39.435 11923-11925/? I/[email protected]_transport: InitTransport: opening /dev/ttyHS0
10-04 00:00:39.435 11923-11925/? I/[email protected]_transport: InitTransport: HW flow control enabled
10-04 00:00:39.435 11923-11925/? I/[email protected]_transport: GetBaudRate: Current Baudrate = 115200 bps
10-04 00:00:39.435 11923-11925/? I/[email protected]_transport: InitTransport: device fd = 9 open @115200 bps
10-04 00:00:39.538 11923-11923/? W/[email protected]: type=1400 audit(0.0:44755): avc: denied { getattr } for path="/data/vendor/oemnvitems/447" dev="sda17" ino=525715 scontext=u:r:hal_bluetooth_qti:s0 tcontext=u:object_r:vendor_data_file:s0 tclass=file permissive=0
10-04 00:00:39.545 11923-11925/? E/[email protected]_address: BD address read from /data/vendor/oemnvitems/447 iFilelen=6: fd:5d:13:f9:a2:64
10-04 00:00:39.545 11923-11925/? E/[email protected]_address: /data/vendor/oemnvitems/447 ok
10-04 00:00:39.545 11923-11925/? I/[email protected]_dl_manager: SocInit
10-04 00:00:39.545 11923-11925/? I/[email protected]_dl_manager: SocInit: reserved param
10-04 00:00:39.545 11923-11925/? I/[email protected]_transport: ## userial_vendor_ioctl: UART Flow On
10-04 00:00:41.948 11888-11903/? E/bt_main: bte_main_enable HCI_MODULE failed to start, Killing the bluetooth process
10-04 00:00:42.008 11923-11923/? W/[email protected]: type=1400 audit(0.0:44756): avc: denied { read } for name="ssrdump" dev="sda17" ino=525514 scontext=u:r:hal_bluetooth_qti:s0 tcontext=u:object_r:ramdump_vendor_data_file:s0 tclass=dir permissive=0
10-04 00:00:42.017 11923-11923/? E/Diag_Lib: BluetoothDeathRecipient: Calling HAL close
10-04 00:00:42.017 11923-11923/? W/[email protected]_hci: BluetoothHci::close()
10-04 00:00:42.017 11923-11923/? W/[email protected]_handler: DataHandler::CleanUp()
10-04 00:00:42.017 11923-11923/? I/[email protected]_handler: DataHandler:: init_status 1
Go to se About phone section, and check if there is a phone name, if not, write one and apply and check again
Is it stock rom?
Related
Hi,
I've been struggling to get Netflix and HBO Nordic working on my Galaxy S2 running Cyanogenmod 10.1 nightlies. I've tried Netflix 2.1.1 and 1.8.1, and a modded HBO 1.0 app bypassing the root check.
Here are some logcat (*:W) excerpts from the different apps.
HBO Nordic app, force closes upon pressing play:
Code:
W/AudioService( 2198): RemoteControlClient died
F/libc (26548): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 26548 (drmserver)
W/DrmManagerClientImpl(Native)(26554): DrmManager server died!
E/WVMExtractor(28011): Drm manager failed to initialize.
E/MediaPlayer(26554): error (1, -2147483648)
E/MediaPlayer(26554): Error (1,-2147483648)
W/dalvikvm(26554): threadid=1: thread exiting with uncaught exception (group=0x40f2f930)
E/AndroidRuntime(26554): FATAL EXCEPTION: main
E/AndroidRuntime(26554): java.lang.NullPointerException
E/AndroidRuntime(26554): at com.hbo.android.app.activity.VideoActivity.finishWithError(VideoActivity.java:240)
E/AndroidRuntime(26554): at com.hbo.android.app.activity.VideoActivity.access$2(VideoActivity.java:236)
E/AndroidRuntime(26554): at com.hbo.android.app.activity.VideoActivity$2.onMediaPlayerError(VideoActivity.java:108)
E/AndroidRuntime(26554): at com.hbo.android.app.widget.video.player.PlayerBase.onError(PlayerBase.java:425)
E/AndroidRuntime(26554): at com.hbo.android.app.widget.video.player.internal.BaseVideoView$4.onError(BaseVideoView.java:372)
E/AndroidRuntime(26554): at android.media.MediaPlayer$EventHandler.handleMessage(MediaPlayer.java:2003)
E/AndroidRuntime(26554): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(26554): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(26554): at android.app.ActivityThread.main(ActivityThread.java:5191)
E/AndroidRuntime(26554): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(26554): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(26554): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/AndroidRuntime(26554): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
E/AndroidRuntime(26554): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 2198): Force finishing activity com.hbo.android.app/.activity.VideoActivity
W/ActivityManager( 2198): Activity pause timeout for ActivityRecord{41d77aa8 u0 com.hbo.android.app/.activity.VideoActivity}
W/InputDispatcher( 2198): channel '419febd8 com.hbo.android.app/com.hbo.android.app.activity.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 2198): channel '419febd8 com.hbo.android.app/com.hbo.android.app.activity.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 2198): channel '41938168 com.hbo.android.app/com.hbo.android.app.activity.VideoActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 2198): channel '41938168 com.hbo.android.app/com.hbo.android.app.activity.VideoActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 2198): Attempted to unregister already unregistered input channel '419febd8 com.hbo.android.app/com.hbo.android.app.activity.MainActivity (server)'
W/InputDispatcher( 2198): Attempted to unregister already unregistered input channel '41938168 com.hbo.android.app/com.hbo.android.app.activity.VideoActivity (server)'
E/Trace (28321): error opening trace file: No such file or directory (2)
E/Trace (28356): error opening trace file: No such file or directory (2)
Netflix 1.8.1, plays sound and shows subtitles, but no video:
Code:
W/ActivityManager( 2198): Scheduling restart of crashed service com.teamhacksung.tvout/.TvOutService in 5000ms
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
E/Trace (28011): error opening trace file: No such file or directory (2)
E/SEC_COMP_REGS(28011): .
E/SEC_COMP_REGS(28011): ..
E/SEC_COMP_REGS(28011): libOMX.SEC.AVC.Decoder.so
E/SEC_COMP_REGS(28011): Path & libName : /system/lib/omx/libOMX.SEC.AVC.Decoder.so
E/SEC_COMP_REGS(28011): libOMX.SEC.AVC.Encoder.so
E/SEC_COMP_REGS(28011): Path & libName : /system/lib/omx/libOMX.SEC.AVC.Encoder.so
E/SEC_COMP_REGS(28011): libOMX.SEC.M4V.Decoder.so
E/SEC_COMP_REGS(28011): Path & libName : /system/lib/omx/libOMX.SEC.M4V.Decoder.so
E/SEC_COMP_REGS(28011): libOMX.SEC.M4V.Encoder.so
E/SEC_COMP_REGS(28011): Path & libName : /system/lib/omx/libOMX.SEC.M4V.Encoder.so
E/SEC_COMP_REGS(28011): libOMX.SEC.WMV.Decoder.so
E/SEC_COMP_REGS(28011): Path & libName : /system/lib/omx/libOMX.SEC.WMV.Decoder.so
E/OMXNodeInstance(28011): OMX_GetExtensionIndex failed
E/ ( 1864): egl_android_pixel_format* _egl_android_get_native_buffer_format(android_native_buffer_t*) unsupported native buffer format (0x13)
E/SurfaceTexture( 1864): [SurfaceView] error creating EGLImage: 0x3003
E/SurfaceTexture( 1864): [SurfaceView] updateTexImage: acquire failed: Unknown error 2147483648 (-2147483648)
E/ ( 1864): egl_android_pixel_format* _egl_android_get_native_buffer_format(android_native_buffer_t*) unsupported native buffer format (0x13)
E/SurfaceTexture( 1864): [SurfaceView] error creating EGLImage: 0x3003
E/SurfaceTexture( 1864): [SurfaceView] updateTexImage: acquire failed: Unknown error 2147483648 (-2147483648)
E/BufferQueue( 1864): [SurfaceView] acquireBuffer: max acquired buffer count reached: 2 (max=1)
E/SurfaceTexture( 1864): [SurfaceView] updateTexImage: acquire failed: Function not implemented (-38)
E/Trace (28196): error opening trace file: No such file or directory (2)
W/InputEventReceiver( 2198): Attempted to finish an input event but the input event receiver has already been disposed.
W/InputEventReceiver( 2198): Attempted to finish an input event but the input event receiver has already been disposed.
W/AudioFlinger(28011): session id 277 not found for pid 2198
E/BufferQueue( 1864): [SurfaceView] dequeueBuffer: SurfaceTexture has been abandoned!
E/ACodec (28011): dequeueBuffer failed.
E/BufferQueue( 1864): [SurfaceView] queueBuffer: SurfaceTexture has been abandoned!
E/SurfaceTextureClient(28011): queueBuffer: error queuing buffer to SurfaceTexture, -19
E/NuPlayer(28011): Received error from video decoder, aborting playback.
W/BufferQueue( 1864): [SurfaceView] cancelBuffer: BufferQueue has been abandoned!
W/AudioService( 2198): stream was not muted by this client
E/AudioService( 2198): Could not get client death handler for stream: 3
Netflix 2.1.1, stuck on loading screen:
Code:
W/dalvikvm(28732): method Lcom/netflix/mediaclient/android/widget/NetflixSeekBar;.onKeyChange incorrectly overrides package-private method with same name in Landroid/widget/AbsSeekBar;
E/SEC_COMP_REGS(28732): .
E/SEC_COMP_REGS(28732): ..
E/SEC_COMP_REGS(28732): libOMX.SEC.AVC.Decoder.so
E/SEC_COMP_REGS(28732): Path & libName : /system/lib/omx/libOMX.SEC.AVC.Decoder.so
E/SEC_COMP_REGS(28732): libOMX.SEC.AVC.Encoder.so
E/SEC_COMP_REGS(28732): Path & libName : /system/lib/omx/libOMX.SEC.AVC.Encoder.so
E/SEC_COMP_REGS(28732): libOMX.SEC.M4V.Decoder.so
E/SEC_COMP_REGS(28732): Path & libName : /system/lib/omx/libOMX.SEC.M4V.Decoder.so
E/SEC_COMP_REGS(28732): libOMX.SEC.M4V.Encoder.so
E/SEC_COMP_REGS(28732): Path & libName : /system/lib/omx/libOMX.SEC.M4V.Encoder.so
E/SEC_COMP_REGS(28732): libOMX.SEC.WMV.Decoder.so
E/SEC_COMP_REGS(28732): Path & libName : /system/lib/omx/libOMX.SEC.WMV.Decoder.so
E/OMXNodeInstance(28732): OMX_GetExtensionIndex failed
E/NetflixTransport-JNI(28732): Java_com_netflix_mediaclient_javabridge_transport_NativeTransport_native_1setVOapi systemAndroid set VO API
E/NetflixTransport-JNI(28732): Custom params sw analytics params set
E/Trace (28929): error opening trace file: No such file or directory (2)
E/Trace (28959): error opening trace file: No such file or directory (2)
E/Trace (28976): error opening trace file: No such file or directory (2)
E/nf_service(28732): Unable to get instance of PlayerActivity, only pass stateChnage event to MP
Anyone have a clue what might be wrong? Is it a DRM decrypting process that doesn't work, as I suspect?
CyanogenMod 10.1 nightlies on a Galaxy Tab 2 here.
I get similar results with HBO nordic, however there is no force close: it gives a "video error" message, and sends me back to the content browser. It's something to do with DRM.
Code:
F/libc ( 112): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 112 (drmserver)
I/DEBUG ( 108): pid: 112, tid: 112, name: drmserver >>> /system/bin/drmserver <<<
I/DEBUG ( 108): #00 pc 00013c28 /system/vendor/lib/drm/libdrmwvmplugin.so
I/DEBUG ( 108): #01 pc 00014614 /system/vendor/lib/drm/libdrmwvmplugin.so (TEEC_InvokeCommandEx+156)
I/DEBUG ( 108): #02 pc 0001469c /system/vendor/lib/drm/libdrmwvmplugin.so (TEEC_InvokeCommand+32)
I/DEBUG ( 108): #03 pc 0001373c /system/vendor/lib/drm/libdrmwvmplugin.so (_oec10+44)
I/DEBUG ( 108): be868c9c 405b0060 /system/vendor/lib/drm/libdrmwvmplugin.so
I/DEBUG ( 108): be868ca4 405ab618 /system/vendor/lib/drm/libdrmwvmplugin.so (TEEC_InvokeCommandEx+160)
I/DEBUG ( 108): be868d7c 405aa740 /system/vendor/lib/drm/libdrmwvmplugin.so (_oec10+48)
I/ServiceManager( 102): service 'drm.drmManager' died
W/DrmManagerClientImpl(Native)( 2373): DrmManager server died!
E/WVMExtractor( 113): Drm manager failed to initialize.
Thanks for the second report. I'll make sure to get back to you if I hear something somewhere else.
I'm seeing a similar error to your Netflix 1.8.1 report on my i9100 (Galaxy S II) running Cyanogenmod 10.1 (10.1-20130102-NIGHTLY-i9100), with a different video streaming application. The relevant part of logcat is:
Code:
E/ ( 1858): egl_android_pixel_format* _egl_android_get_native_buffer_format(android_native_buffer_t*) unsupported native buffer format (0x13)
E/SurfaceTexture( 1858): [SurfaceView] error creating EGLImage: 0x3003
E/SurfaceTexture( 1858): [SurfaceView] updateTexImage: acquire failed: Unknown error 2147483648 (-2147483648)
E/ ( 1858): egl_android_pixel_format* _egl_android_get_native_buffer_format(android_native_buffer_t*) unsupported native buffer format (0x13)
E/SurfaceTexture( 1858): [SurfaceView] error creating EGLImage: 0x3003
E/SurfaceTexture( 1858): [SurfaceView] updateTexImage: acquire failed: Unknown error 2147483648 (-2147483648)
E/BufferQueue( 1858): [SurfaceView] acquireBuffer: max acquired buffer count reached: 2 (max=1)
E/SurfaceTexture( 1858): [SurfaceView] updateTexImage: acquire failed: Function not implemented (-38)
This application was working fine with CM10 nighties a few weeks ago.
The application is Cricket LIVE Australia (au.com.vha.cricketwidget)
The cm-10.1-20130105-NIGHTLY-i9100 version fixed my issue. I believe patch 29663 on review.cyanogenmod.org is the change that did the trick.
shenki00 said:
The cm-10.1-20130105-NIGHTLY-i9100 version fixed my issue. I believe patch 29663 on review.cyanogenmod.org is the change that did the trick.
Click to expand...
Click to collapse
The update fixed Netflix (1.8.1) for me. Still nothing on the new Netflix or HBO.
Hi,
my oneplus one with CM13 (14_06 build) is stuck in a bootloop and I don't know how to solve.
Here's what I have tried to do:
Wipe cache
Flash a previous build
Delete the last apps I have installed via adb (pm uninstall APPNAME)
The last thing I have done before rebooting is installing the GMSCore from MicroG project (Yes, I don't have gapps).
http://forum.xda-developers.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616
Then I have successfully removed the gsmcore via adb but the bootloop continued.
The phone reboots when "Prearing contacts storage" appears....
Here's my logcat (*:E)
Code:
06-14 14:46:46.384 3660 3660 E Minikin : addFont failed to create font /system/fonts/DroidSansFallback.ttf
06-14 14:46:46.384 3660 3660 E Minikin : addFont failed to create font /system/fonts/MTLmr3m.ttf
06-14 14:46:48.623 3654 3654 E installd: eof
06-14 14:46:48.623 3654 3654 E installd: failed to read size
06-14 14:46:49.304 4935 4935 E QCOM PowerHAL: Unable to open prefetcher: dlopen failed: library "libqti-iop-client.so" not found
06-14 14:46:49.304 4935 4935 E QCOM PowerHAL: Failed to get prefetcher handle.
06-14 14:46:49.305 4935 4935 E QCOM PowerHAL: Invalid hint ID.
06-14 14:46:49.894 4935 4935 E art : DexFile_getDexOptNeeded file '/system/framework/org.apache.http.legacy.jar' does not exist
06-14 14:46:51.356 3653 3653 E msm8974_platform: hw_util_open Opening device /dev/snd/hwC0D1000
06-14 14:46:51.356 3653 3653 E msm8974_platform: hw_util_open success
06-14 14:46:51.356 3653 3653 E msm8974_platform: send_codec_cal cal sent for anc_cal
06-14 14:46:51.356 3653 3653 E ACDB-LOADER: ACDB -> send_codec_cal
06-14 14:46:51.356 3653 3653 E msm8974_platform: send_codec_cal cal sent for mad_cal
06-14 14:46:51.357 3653 3653 E msm8974_platform: send_codec_cal cal sent for mbhc_cal
06-14 14:46:51.358 3653 3653 E audio_hw_primary: Amplifier initialization failed
06-14 14:46:51.358 3653 3653 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
06-14 14:46:51.358 3653 3653 E ACDB-LOADER: Error: ACDB AFE returned = -19
06-14 14:46:51.377 3653 3653 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
06-14 14:46:51.377 3653 3653 E ACDB-LOADER: Error: ACDB AFE returned = -19
06-14 14:46:51.386 3653 3653 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
06-14 14:46:51.397 3653 3653 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
06-14 14:46:51.430 3653 3653 E MonoPipe: Failed to fetch local time frequency when constructing a MonoPipe (res = -32). getNextWriteTimestamp calls will be non-functional
06-14 14:46:51.435 3653 5160 E AudioFlinger: no wake lock to update!
06-14 14:46:51.437 3653 5161 E AudioFlinger: no wake lock to update!
06-14 14:46:51.443 3653 5163 E AudioFlinger: no wake lock to update!
06-14 14:46:51.455 3653 3653 E SoundTriggerHwService: couldn't load sound trigger module sound_trigger.primary (No such file or directory)
06-14 14:46:51.460 3653 3653 E RadioService: couldn't load radio module radio.primary (No such file or directory)
06-14 14:46:52.409 3649 3649 E Netd : netlink response contains error (File exists)
06-14 14:46:52.409 3649 3649 E Netd : Can't add IPv4 default route to dummy0: File exists
06-14 14:46:53.221 3657 5266 E QC-QMI : qmi_client [3657] 16: failed to locate client data
06-14 14:46:53.222 3656 3656 E QC-QMI : qmuxd: RX on fd=27 returned error=0 errno[11:Try again]
06-14 14:46:53.222 3656 3656 E QC-QMI : QMUX qmux_client_id=16 not found in qmux client list, unable to remove
06-14 14:46:53.228 3657 5272 E QC-QMI : qmi_client [3657] 17: failed to locate client data
06-14 14:46:53.229 3656 3656 E QC-QMI : qmuxd: RX on fd=27 returned error=0 errno[11:Try again]
06-14 14:46:53.229 3656 3656 E QC-QMI : QMUX qmux_client_id=17 not found in qmux client list, unable to remove
06-14 14:46:53.328 3656 3718 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:53.562 3656 3729 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:53.848 3656 3735 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:54.073 3656 3745 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:54.252 3656 3749 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:54.538 3656 3756 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:54.800 3656 3760 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:55.083 3656 3776 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:47:22.040 4935 4935 E PackageManager: updateAllSharedLibrariesLPw failed: Package com.android.dialer requires unavailable shared library com.qualcomm.qti.smartsearch; failing!
06-14 14:47:22.042 3654 3654 E installd: invalid apk path '/system/framework/org.cyanogenmod.platform-res.apk' (bad prefix)
06-14 14:47:22.225 4935 5987 E qti_sensors_hal: SensorsContext: Hal opened lib /system/lib/hw/sensors.oem.so failed!
06-14 14:47:22.268 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.268 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.268 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.269 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle is -1 or error is true or mSensors[handle] is NULL!
06-14 14:47:22.269 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.269 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.269 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.269 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.269 4935 5987 E qti_sensors_hal: OEMAddSensors : The OEM_module is NULL!
06-14 14:47:22.350 4935 4935 E ConsumerIrService: Can't open consumer IR HW Module, error: -2
06-14 14:47:22.504 4935 6037 E EventHub: could not get driver version for /dev/input/mice, Not a typewriter
06-14 14:47:22.550 4935 6037 E filemap : mmap(0,4096) failed: No such device
Hi,
I'd like to influence the settings of my Android TV (at the moment mainly the Display settings like brightness, black level,...).
I've looked in
https://developer.sony.com/develop/tvs/android-tv
https://developer.android.com/training/tv
but couldn't find any useful information.
Seeing as they're settings, I've retrieved the content of
/data/data/com.android.providers.settingsvia backup (my TV is not rooted) and looked at the settings in the hope that they might have been extended to contain specific TV settings. Unfortunately, that seems to not be the case.
The only settings remotely interesting are
screen_brightnessscreen_brightness_modewhich correspond to
https://developer.android.com/reference/android/provider/Settings.System.html#SCREEN_BRIGHTNESS
https://developer.android.com/reference/android/provider/Settings.System.html#SCREEN_BRIGHTNESS_MODE
Nothings specific to the TV.
A browse through
https://android.googlesource.com/pl...-release/Settings/src/com/android/tv/settings
didn't enlighten me either.
The process list yields a few interesting processes that might handle settings, like
com.sony.dtv.configsettingscom.sony.dtv.seconddispsettingbut I haven't found any information on those in the net.
Does anyone here have any pointers on how to access (Sony) TV settings?
Any help would be appreciated.
Did you have any success yet?
I try to turn of the screen (picture) by using an intent. This is what I get from logcat:
Code:
01-23 23:56:04.386 1592 1614 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:763 com.android.server.power.PowerManagerService.handleSonyUserActivity:1697 com.android.server.power.PowerManagerService.-wrap19:-1 com.android.server.power.PowerManagerService$PowerManagerHandler.handleMessage:2981 android.os.Handler.dispatchMessage:102
01-23 23:56:04.387 1592 2258 D PowerManagerService: startUserActivityTimeoutTimer, isTimerOn=false
01-23 23:56:04.390 2927 2927 D IdleTvStandByReceiver: ACTION_USER_ACTIVITY_ACTIVE received
01-23 23:56:04.391 2927 2927 D IdleTvStandByService: onStartCommand()-- Intent: Intent { cmp=com.sony.dtv.timers/.idletvstandby.IdleTvStandByService (has extras) }
01-23 23:56:04.393 2927 2927 D IdleTvStandByService: isRestrictedProfile: false
01-23 23:56:04.393 2927 2927 D IdleTvStandByService: Normal profile mode.
01-23 23:56:04.393 2927 2927 D IdleTvStandByService: Initially invoking to provider to get value :4
01-23 23:56:04.393 2927 2927 D IdleTvStandByService: Time interval selected in Menu Tree : 4
01-23 23:56:04.393 2927 2927 D IdleTvStandByService: IdleTvStandByService set Time to : 4
01-23 23:56:04.393 2927 2927 D IdleTvStandByService: Time t1 : 10---- Time t2: 5
01-23 23:56:04.393 2927 2927 D IdleTvStandByService: stopIdleStandByMessageService
01-23 23:56:04.396 4023 4023 D DirectSettingReceiver: Intent Action>>com.sony.dtv.intent.action.UNKNOWN_BUTTON
01-23 23:56:04.396 4023 4023 D DirectSettingReceiver: ScanCode>>608
01-23 23:56:04.396 4023 4023 D DirectSettingReceiver: flag>>0
01-23 23:56:04.396 4023 4023 D PIC : ACTION_DOWN
01-23 23:56:04.396 4023 4023 D PIC : IN PIC OFF
01-23 23:56:04.396 4023 4023 D PIC : PictureOffModeService isServiceRunning: false
01-23 23:56:04.396 4023 4023 D PIC : service is running
01-23 23:56:04.396 4023 4023 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1221 android.content.ContextWrapper.startService:581 android.content.ContextWrapper.startService:581 com.sony.dtv.configsettings.directsettings.DirectSettingReceiver.onReceive:58 android.app.ActivityThread.handleReceiver:2725
01-23 23:56:04.399 1592 2342 D Lights : set_light_backlight: call a_mtktvapi_config_set_value(CFG_ANDROID_BACK_LIGHT, brightness = 227, CFGF_SET_VALUE | CFGF_UPDATE_VALUE).
01-23 23:56:04.401 1592 2342 D Lights : set_light_backlight: return err = 0
01-23 23:56:04.409 4023 4023 I PicOffView: PicOffView()
01-23 23:56:04.411 4023 4023 I Pic : picoff service start
01-23 23:56:04.411 4023 4023 I PicOffView: startDisplay()
01-23 23:56:04.411 4023 4023 I PicOffView: getWindowParams()
So I tried some commands such as the following without success:
am broadcast -a android.intent.action.ACTION_USER_ACTIVITY_ACTIVE -n com.sony.dtv.timers/.idletvstandby.IdleTvStandByService -e ScanCode 608 -e flag 0
I would like to ask for help with get root access for AOSP apk broadcast receiver.
I need receive event for change date/time and I need run my shell command for write system time to hardware RTC.
I have chosen follow principe:
- I wrote Android myBR.apk in AOSP with broadcast receiver for TIME_SET, TIMEZONE_CHANGED
- From myBR.apk I run my shell command (rtcclock -w)
- "rtcclock -w" shell command which is write system time from Android to RTC via /dev/rtc0 -> ioctl( i2c )
My problem is:
==============
I need run shell command rtcclock from AOSP myBR.apk as root.
My all attempts were unsuccessful.
I would like to ask for help from some experts how can I resolve this problem.
Environment info (everything in Android shell terminal)
=======================================================
Android device is not rooted
Permissions for su shell command
$ ls -lZ /system/xbin/su
-rwsr-x--- root shell ubject_r:su_exec:s0 su
SELinux status
$ getenforce
Disabled
Super user information
$ su
# id
uid=0(root) gid=0(root) groups=1007(log)
Android version
$ cat /system/build.prop | grep "ro.build.version.release"
ro.build.version.release=5.1.1
Kernel version
$ cat /proc/version
Linux version 3.4.39 .....
Permissions for rtcclock shell command
$ ls -l /system/bin/rtcclock
-rwxr-xr-x root shell 13672 2017-10-18 09:53 rtcclock
Example for try write system time from Android to RTC as user = shell from
$ rtcclock -w
rtcclock: can't open '/dev/misc/rtc': No such file or directory
Example for try write system time from Android to RTC as user = system
$ su system
$ rtcclock -w
rtcclock: ioctl 0x4024700a failed: Permission denied
Example for try write system time from Android to RTC as user = root
$ su
# rtcclock -w
successfull
My source code:
MyBroadcastReceiver.java
========================
package com.example.mybr;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
public class MyBroadcastReceiver extends BroadcastReceiver {
private static final String TAG = "MyBroadcastReceiver";
public MyBroadcastReceiver() {
super();
Log.i( TAG, "MyBroadcastReceiver - created" );
}
@override
public void onReceive( Context context, Intent intent )
{
final String intentAction = intent.getAction();
boolean bResult = false;
if( intentAction.equals( Intent.ACTION_TIME_CHANGED ) ||
intentAction.equals( Intent.ACTION_TIMEZONE_CHANGED ) )
{
bResult = runCmd( "sh", "id" );
Log.i( TAG, "bResult = " + bResult );
bResult = runCmd( "su", "id" );
Log.i( TAG, "bResult = " + bResult );
bResult = runCmd( "su", "rtcclock -w" );
Log.i( TAG, "bResult = " + bResult );
}
}
public static boolean runCmd( String...commands )
{
boolean bResult = false;
try
{
Process prcs = Runtime.getRuntime().exec( commands[ 0 ] );
DataOutputStream cmdStream = new DataOutputStream( prcs.getOutputStream() );
DataInputStream resStream = new DataInputStream( prcs.getInputStream() );
DataInputStream errStream = new DataInputStream( prcs.getErrorStream() );
if( cmdStream != null && resStream != null && errStream != null )
{
for( int n = 1; n < commands.length; n++ )
{
Log.d( TAG, "cmd: " + commands[ n ] );
cmdStream.writeBytes( commands[ n ] + "\n" );
cmdStream.flush();
do
{
String outputResult = resStream.readLine();
Log.d( TAG, "cmd result: " + outputResult );
} while( resStream.available() > 0 );
while( errStream.available() > 0 )
{
String outputResult = errStream.readLine();
Log.d( TAG, "cmd error: " + outputResult );
}
}
bResult = true;
cmdStream.writeBytes( "exit\n" );
cmdStream.flush();
try
{
prcs.waitFor();
} catch( InterruptedException e )
{
Log.i( TAG, "!!! EXCEPTION_1 !!!" );
e.printStackTrace();
}
}
if( cmdStream != null )
{
cmdStream.close();
}
if( resStream != null )
{
resStream.close();
}
if( errStream != null )
{
errStream.close();
}
}
catch( IOException e )
{
Log.i( TAG, "!!! EXCEPTION_2 !!!" );
e.printStackTrace();
}
return( bResult );
}
}
AndroidManifest.xml
===================
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="...schemas.android.com/apk/res/android"
package="com.example.mybr"
android:sharedUserId="android.uid.shell">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true">
<receiver
android:name=".MyBroadcastReceiver"
android:enabled="true"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.TIME_SET"/>
<action android:name="android.intent.action.TIMEZONE_CHANGED"/>
</intent-filter>
</receiver>
</application>
</manifest>
Android.mk
==========
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
# Only compile source java files in this apk.
LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_PACKAGE_NAME := myBR
LOCAL_CERTIFICATE := platform
LOCAL_PRIVILEGED_MODULE := true
LOCAL_MODULE_PATH := $(TARGET_OUT)/priv-app
include $(BUILD_PACKAGE)
# Use the following include to make our test apk.
include $(call all-makefiles-under,$(LOCAL_PATH))
Listing from logcat (as you can see su always failed)
===================
10-28 14:08:28.821 455-455/system_process I/PackageManager: /system/priv-app/myBR changed; collecting certs
10-28 14:08:28.855 455-455/system_process I/art: DexFile_isDexOptNeeded file /system/priv-app/myBR/arm/myBR.odex needs to be relocated for /system/priv-app/myBR/myBR.apk
10-28 14:08:42.875 455-455/system_process I/art: DexFile_isDexOptNeeded file /system/priv-app/myBR/arm/myBR.odex needs to be relocated for /system/priv-app/myBR/myBR.apk
10-28 14:08:42.876 455-455/system_process I/PackageManager: Running patchoat on: com.example.mybr
10-28 14:08:42.878 631-631/? E/installd: Running /system/bin/patchoat isa=arm in-fd=5 (/system/priv-app/myBR/arm/myBR.odex) out-fd=6 (/data/dalvik-cache/arm/[email protected]@[email protected]@classes.dex)
10-03 14:11:47.001 455-501/system_process I/ActivityManager: Start proc 1795:com.example.mybr/2000 for broadcast com.example.mybr/.MyBroadcastReceiver
10-03 14:11:47.115 455-499/system_process W/InputMethodManagerService: Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
10-03 14:11:47.181 1795-1795/com.example.mybr I/MyBroadcastReceiver: MyBroadcastReceiver - created
10-03 14:11:47.214 1795-1795/com.example.mybr D/MyBroadcastReceiver: cmd: id (added my note: runCmd( "sh", "id" )
10-03 14:11:47.268 1795-1795/com.example.mybr D/MyBroadcastReceiver: cmd result: uid=2000(shell) gid=2000(shell) groups=1015(sdcard_rw),1023(media_rw),1028(sdcard_r),3002(net_bt),3008(net_bt_stack),9997(everybody),42000(u0_a32000)
10-03 14:11:47.275 1795-1795/com.example.mybr I/MyBroadcastReceiver: bResult = true
10-03 14:11:47.297 1795-1795/com.example.mybr D/MyBroadcastReceiver: cmd: id (added my note: runCmd( "su", "id" )
10-03 14:11:47.306 1795-1795/com.example.mybr D/MyBroadcastReceiver: cmd result: null
10-03 14:11:47.309 1795-1795/com.example.mybr D/MyBroadcastReceiver: cmd error: su: permission denied (added mine detection: call function setgidI() return -1 from su.c)
10-03 14:11:47.310 1795-1795/com.example.mybr I/MyBroadcastReceiver: !!! EXCEPTION_2 !!!
10-03 14:11:47.310 1795-1795/com.example.mybr W/System.err: java.io.IOException: write failed: EPIPE (Broken pipe)
10-03 14:11:47.310 1795-1795/com.example.mybr W/System.err: at libcore.io.IoBridge.write(IoBridge.java:502)
10-03 14:11:47.310 1795-1795/com.example.mybr W/System.err: at java.io.FileOutputStream.write(FileOutputStream.java:186)
10-03 14:11:47.310 1795-1795/com.example.mybr W/System.err: at java.iutputStream.write(OutputStream.java:82)
10-03 14:11:47.310 1795-1795/com.example.mybr W/System.err: at java.io.DataOutputStream.writeBytes(DataOutputStream.java:156)
10-03 14:11:47.310 1795-1795/com.example.mybr W/System.err: at com.example.mybr.MyBroadcastReceiver.runCmd(MyBroadcastReceiver.java:77)
10-03 14:11:47.310 1795-1795/com.example.mybr W/System.err: at com.example.mybr.MyBroadcastReceiver.onReceive(MyBroadcastReceiver.java:33)
10-03 14:11:47.310 1795-1795/com.example.mybr W/System.err: at android.app.ActivityThread.handleReceiver(ActivityThread.java:2609)
10-03 14:11:47.310 1795-1795/com.example.mybr W/System.err: at android.app.ActivityThread.access$1700(ActivityThread.java:151)
10-03 14:11:47.310 1795-1795/com.example.mybr W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1380)
10-03 14:11:47.311 1795-1795/com.example.mybr W/System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
10-03 14:11:47.311 1795-1795/com.example.mybr W/System.err: at android.os.Looper.loop(Looper.java:135)
10-03 14:11:47.311 1795-1795/com.example.mybr W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5254)
10-03 14:11:47.311 1795-1795/com.example.mybr W/System.err: at java.lang.reflect.Method.invoke(Native Method)
10-03 14:11:47.311 1795-1795/com.example.mybr W/System.err: at java.lang.reflect.Method.invoke(Method.java:372)
10-03 14:11:47.311 1795-1795/com.example.mybr W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
10-03 14:11:47.311 1795-1795/com.example.mybr W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
10-03 14:11:47.311 1795-1795/com.example.mybr W/System.err: Caused by: android.system.ErrnoException: write failed: EPIPE (Broken pipe)
10-03 14:11:47.311 1795-1795/com.example.mybr W/System.err: at libcore.io.Posix.writeBytes(Native Method)
10-03 14:11:47.311 1795-1795/com.example.mybr W/System.err: at libcore.io.Posix.write(Posix.java:258)
10-03 14:11:47.311 1795-1795/com.example.mybr W/System.err: at libcore.io.BlockGuardOs.write(BlockGuardOs.java:313)
10-03 14:11:47.311 1795-1795/com.example.mybr W/System.err: at libcore.io.IoBridge.write(IoBridge.java:497)
10-03 14:11:47.312 1795-1795/com.example.mybr W/System.err: ... 15 more
10-03 14:11:47.312 1795-1795/com.example.mybr I/MyBroadcastReceiver: bResult = true
10-03 14:11:47.337 1795-1795/com.example.mybr D/MyBroadcastReceiver: cmd: rtcclock -w (added my note: runCmd( "su", "rtcclock -w" )
10-03 14:11:47.340 1795-1795/com.example.mybr D/MyBroadcastReceiver: cmd result: null
10-03 14:11:47.342 1795-1795/com.example.mybr D/MyBroadcastReceiver: cmd error: su: permission denied (added mine detection: call function setgidI() return -1 from su.c)
10-03 14:11:47.342 1795-1795/com.example.mybr I/MyBroadcastReceiver: !!! EXCEPTION_2 !!!
10-03 14:11:47.342 1795-1795/com.example.mybr W/System.err: java.io.IOException: write failed: EPIPE (Broken pipe)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at libcore.io.IoBridge.write(IoBridge.java:502)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at java.io.FileOutputStream.write(FileOutputStream.java:186)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at java.iutputStream.write(OutputStream.java:82)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at java.io.DataOutputStream.writeBytes(DataOutputStream.java:156)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at com.example.mybr.MyBroadcastReceiver.runCmd(MyBroadcastReceiver.java:77)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at com.example.mybr.MyBroadcastReceiver.onReceive(MyBroadcastReceiver.java:36)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at android.app.ActivityThread.handleReceiver(ActivityThread.java:2609)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at android.app.ActivityThread.access$1700(ActivityThread.java:151)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1380)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at android.os.Looper.loop(Looper.java:135)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5254)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at java.lang.reflect.Method.invoke(Native Method)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at java.lang.reflect.Method.invoke(Method.java:372)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: Caused by: android.system.ErrnoException: write failed: EPIPE (Broken pipe)
10-03 14:11:47.344 1795-1795/com.example.mybr W/System.err: at libcore.io.Posix.writeBytes(Native Method)
10-03 14:11:47.344 1795-1795/com.example.mybr W/System.err: at libcore.io.Posix.write(Posix.java:258)
10-03 14:11:47.344 1795-1795/com.example.mybr W/System.err: at libcore.io.BlockGuardOs.write(BlockGuardOs.java:313)
10-03 14:11:47.344 1795-1795/com.example.mybr W/System.err: at libcore.io.IoBridge.write(IoBridge.java:497)
10-03 14:11:47.344 1795-1795/com.example.mybr W/System.err: ... 15 more
10-03 14:11:47.344 1795-1795/com.example.mybr I/MyBroadcastReceiver: bResult = true
10-03 14:11:47.354 1388-1388/com.android.deskclock V/AlarmClock: AlarmInitReceiver android.intent.action.TIME_SET
10-03 14:11:47.384 1388-1647/com.android.deskclock V/AlarmClock: AlarmInitReceiver finished
10-03 14:11:47.395 455-498/system_process I/ActivityManager: Killing 1368:com.android.music/u0a33 (adj 15): empty #17
10-03 14:11:47.408 455-455/system_process W/MediaSessionRecord: Removing dead callback in pushEvent.
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:496)
at android.media.session.ISessionControllerCallback$Stub$Proxy.onSessionDestroyed(ISessionControllerCallback.java:189)
at com.android.server.media.MediaSessionRecord.pushSessionDestroyed(MediaSessionRecord.java:667)
at com.android.server.media.MediaSessionRecord.access$3800(MediaSessionRecord.java:67)
at com.android.server.media.MediaSessionRecord$MessageHandler.handleMessage(MediaSessionRecord.java:1286)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at com.android.server.SystemServer.run(SystemServer.java:269)
at com.android.server.SystemServer.main(SystemServer.java:170)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
Thank you very much for help.
I have a custom device with firmware created by the manufacturer of said device. It is running Android 7.1.1. It runs a custom app which is the only thing that runs (end user can only see our app). The device ran fine for a couple of months and now when booting up it won't go past the boot logo. I have attached the logcat error below as a reply to this post (was going to post the whole logcat, but it was too long, so posted from the beginning of the crash to a good ways below it) but the main part of the crash points to a null reference pointer in zygote (best i can discern), but i do not know how to determine the root cause of this. Any ideas? Of either what the cause is, or better yet how to track it down?
Small addendum, I could try to re-flash it to fix the issue, but I am more concerned with determining the cause that fixing it so I can determine if it is an issue I am going to encounter with our other devices or was a one off issue.
--------- beginning of crash
01-27 23:17:20.203 1817 1817 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 1817 (zygote)
01-27 23:17:20.203 1676 1676 W : debuggerd: handling request: pid=1817 uid=0 gid=0 tid=1817
01-27 23:17:20.248 2267 2267 E : debuggerd: Unable to connect to activity manager (connect failed: Connection refused)
01-27 23:17:20.299 2267 2267 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-27 23:17:20.299 2267 2267 F DEBUG : Build fingerprint: 'Lathem/a40_p1/a40-p1:7.1.1/NMF27D/20201022:user/test-keys'
01-27 23:17:20.299 2267 2267 F DEBUG : Revision: '0'
01-27 23:17:20.299 2267 2267 F DEBUG : ABI: 'arm'
01-27 23:17:20.300 2267 2267 F DEBUG : pid: 1817, tid: 1817, name: zygote >>> zygote <<<
01-27 23:17:20.300 2267 2267 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
01-27 23:17:20.300 2267 2267 F DEBUG : r0 ad4022f4 r1 bed479ac r2 bed46820 r3 00000000
01-27 23:17:20.300 2267 2267 F DEBUG : r4 0000002f r5 ffffff8c r6 bed47020 r7 bed46838
01-27 23:17:20.300 2267 2267 F DEBUG : r8 ad3d4292 r9 00000000 sl ad3d4292 fp bed46820
01-27 23:17:20.300 2267 2267 F DEBUG : ip ad3ff248 sp bed46800 lr ad36594b pc 00000000 cpsr 600f0010
01-27 23:17:20.306 2267 2267 F DEBUG :
01-27 23:17:20.306 2267 2267 F DEBUG : backtrace:
01-27 23:17:20.306 2267 2267 F DEBUG : #00 pc 00000000 <unknown>
01-27 23:17:20.306 2267 2267 F DEBUG : #01 pc 00067947 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime7startVmEPP7_JavaVMPP7_JNIEnvb+2250)
01-27 23:17:20.306 2267 2267 F DEBUG : #02 pc 00067d1d /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime5startEPKcRKNS_6VectorINS_7String8EEEb+272)
01-27 23:17:20.306 2267 2267 F DEBUG : #03 pc 00001995 /system/bin/app_process32
01-27 23:17:20.306 2267 2267 F DEBUG : #04 pc 00016c4d /system/lib/libc.so (__libc_init+48)
01-27 23:17:20.306 2267 2267 F DEBUG : #05 pc 0000159c /system/bin/app_process32
01-27 23:17:20.484 1676 1676 W : debuggerd: resuming target 1817
01-27 23:17:20.491 1923 2130 D BootAnimation: found audio.wav, creating playback engine
01-27 23:17:20.491 1923 2130 D BootAnimation: nobootmusic: 0
01-27 23:17:20.492 1923 2130 D BootAnim_AudioPlayer: card=audiocodec, mCard=0
01-27 23:17:20.492 1923 2130 D BootAnim_AudioPlayer: device=0
01-27 23:17:20.492 1923 2130 D BootAnim_AudioPlayer: period_size=1024
01-27 23:17:20.493 1923 2130 D BootAnim_AudioPlayer: period_count=2
01-27 23:17:20.493 1923 2130 D BootAnim_AudioPlayer: name: "Right Output Mixer DACR Switch" = 1
01-27 23:17:20.493 1923 2130 D BootAnim_AudioPlayer: name: "Left Output Mixer DACL Switch" = 1
01-27 23:17:20.493 1923 2130 D BootAnim_AudioPlayer: name: "HP_R Mux" = OMIX
01-27 23:17:20.493 1923 2130 E BootAnim_AudioPlayer: mixer_get_ctl_by_name failed for HP_R Mux
01-27 23:17:20.493 1923 2130 D BootAnim_AudioPlayer: name: "HP_L Mux" = OMIX
01-27 23:17:20.493 1923 2130 E BootAnim_AudioPlayer: mixer_get_ctl_by_name failed for HP_L Mux
01-27 23:17:20.493 1923 2130 D BootAnim_AudioPlayer: name: "Headphone Switch" = 1
01-27 23:17:20.493 1923 2130 D BootAnimation: playing clip for part0, size=11968
01-27 23:17:20.536 1787 1787 I ServiceManager: service 'media.sound_trigger_hw' died
01-27 23:17:20.536 1787 1787 I ServiceManager: service 'media.radio' died
01-27 23:17:20.536 1787 1787 I ServiceManager: service 'media.audio_flinger' died
01-27 23:17:20.536 1787 1787 I ServiceManager: service 'media.audio_policy' died
01-27 23:17:20.546 1787 1787 I ServiceManager: service 'media.camera' died
01-27 23:17:20.552 1787 1787 I ServiceManager: service 'media.player' died
01-27 23:17:20.552 1787 1787 I ServiceManager: service 'media.resource_manager' died
01-27 23:17:20.677 1789 1886 I [Gralloc]: ion_alloc from ion_client:17 via heap type CARVEOUT(mask:4) for 2457600 Bytes uncached buffer successfully, usage = 0x00000f02
01-27 23:17:22.922 2476 2476 I Netd : Netd 1.0 starting
01-27 23:17:22.922 2476 2476 D TetherController: Setting IP forward enable = 0
01-27 23:17:23.464 2474 2474 I cameraserver: ServiceManager: 0xac099360
01-27 23:17:23.464 2474 2474 I CameraService: CameraService started (pid=2474)
01-27 23:17:23.464 2474 2474 I CameraService: CameraService process starting
01-27 23:17:23.464 2474 2474 W BatteryNotifier: batterystats service unavailable!
01-27 23:17:23.465 2474 2474 W BatteryNotifier: batterystats service unavailable!
01-27 23:17:23.534 2469 2469 I : sMaxFastTracks = 8
01-27 23:17:23.543 2469 2469 I audioserver: ServiceManager: 0xa8c19360
01-27 23:17:23.543 2469 2469 W BatteryNotifier: batterystats service unavailable!
01-27 23:17:23.543 2469 2469 I AudioFlinger: Using default 3000 mSec as standby time.
01-27 23:17:23.545 2469 2469 I AudioPolicyService: AudioPolicyService CSTOR in new mode
01-27 23:17:23.624 2469 2469 V audio_hw_primary: init_audio_devices, line: 487
01-27 23:17:23.624 2469 2469 D audio_hw_primary: read card /sys/class/sound/card0/id
01-27 23:17:23.625 2469 2469 D audio_hw_primary: /sys/class/sound/card0/id, audiocodec, len: 11
01-27 23:17:23.625 2469 2469 D audio_hw_primary: linux name = audiocodec, android name = AUDIO_CODEC
01-27 23:17:23.625 2469 2469 D audio_hw_primary: find name map, card_id = audiocodec, card_name = AUDIO_CODEC
01-27 23:17:23.625 2469 2469 V audio_hw_primary: card: 0, name: AUDIO_CODEC, capture: 1, playback: 1
01-27 23:17:23.625 2469 2469 D audio_hw_primary: read card /sys/class/sound/card1/id
01-27 23:17:23.625 2469 2469 D audio_hw_primary: /sys/class/sound/card1/id, fmidi, len: 6
01-27 23:17:23.625 2469 2469 D audio_hw_primary: linux name = fmidi, android name = AUDIO_USB_fmidi
01-27 23:17:23.625 2469 2469 D audio_hw_primary: find name map, card_id = fmidi, card_name = AUDIO_USB_fmidi
01-27 23:17:23.626 2469 2469 V audio_hw_primary: card: 1, name: AUDIO_USB_fmidi, capture: 0, playback: 0
01-27 23:17:23.640 2469 2469 V audio_hw_primary: init_audio_devices_active, line: 518
01-27 23:17:23.640 2469 2469 V audio_hw_primary: init_audio_devices_active: get property audio.input.active: AUDIO_CODEC
01-27 23:17:23.641 2469 2469 V audio_hw_primary: set property audio.input.active: AUDIO_CODEC ok
01-27 23:17:23.641 2469 2469 V audio_hw_primary: AUDIO_CODEC input device will be active
01-27 23:17:23.641 2469 2469 V audio_hw_primary: init_audio_devices_active: get property audio.output.active: AUDIO_CODEC,AUDIO_I2S
01-27 23:17:23.643 2469 2469 V audio_hw_primary: set property audio.output.active: AUDIO_CODEC,AUDIO_I2S ok
01-27 23:17:23.643 2469 2469 V audio_hw_primary: AUDIO_CODEC output card 0 device will be active
01-27 23:17:23.643 2469 2469 E audio_hw_primary: can not set AUDIO_I2S ouput active
01-27 23:17:23.643 2469 2469 E audio_hw_primary: but device AUDIO_CODEC AUDIO_USB_fmidi ouput will be active
01-27 23:17:23.643 2469 2469 V audio_hw_primary: OK, default use AUDIO_CODEC playback
01-27 23:17:23.643 2469 2469 V audio_hw_primary: use card 0 AUDIO_CODEC mixer control
01-27 23:17:23.645 2469 2469 V audio_hw_primary: init T3 codec in adev_open: card 0, /system/etc/codec_paths.xml.
01-27 23:17:23.647 2469 2469 E audio_route: Control 'HP_R Mux' doesn't exist - skipping
01-27 23:17:23.647 2469 2469 E audio_route: Control 'HP_L Mux' doesn't exist - skipping
01-27 23:17:23.662 2469 2469 D audio_hw_primary: line:1224,select_output_device,adev->mode:0, AUDIO_MODE_RINGTONE:1, AUDIO_MODE_NORMAL:0
01-27 23:17:23.663 2469 2469 V audio_hw_primary: normal mode, ****LINE:1241,FUNC:select_output_device, adev->out_device:2
01-27 23:17:23.663 2469 2469 D audio_hw_primary: adev_open success ,LINE:3235,FUNC:adev_open
01-27 23:17:23.663 2469 2469 V audio_hw_primary: adev_get_master_volume, line: 2965
01-27 23:17:23.663 2469 2469 V audio_hw_primary: adev_set_master_volume, line: 2959
01-27 23:17:23.663 2469 2469 I AudioFlinger: loadHwModule() Loaded primary audio interface from sunxi audio HW HAL (audio) handle 10
01-27 23:17:23.663 2469 2469 I AudioFlinger: openOutput(), module 10 Device 2, SamplingRate 44100, Format 0x000001, Channels 3, flags 2
01-27 23:17:23.663 2469 2469 V audio_hw_primary: adev_open_output_stream, flags: 2
01-27 23:17:23.663 2469 2469 V audio_hw_primary: +++++++++++++++ adev_open_output_stream: req_sample_rate: 44100, fmt: 1, channel_count: 3
01-27 23:17:23.663 2469 2469 I AudioFlinger: HAL output buffer size 2720 frames, normal sink buffer size 2720 frames
01-27 23:17:23.702 2469 2469 I BufferProvider: found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
01-27 23:17:23.702 2469 2469 I AudioFlinger: Using module 10 has the primary audio interface
01-27 23:17:23.716 2469 2580 I AudioFlinger: AudioFlinger's thread 0xa8703cc0 ready to run
01-27 23:17:23.717 2469 2580 W BatteryNotifier: batterystats service unavailable!
01-27 23:17:23.717 2469 2580 V audio_hw_primary: out_set_parameters: routing=2
01-27 23:17:23.717 2469 2580 D audio_hw_primary: out_standby
01-27 23:17:23.718 2469 2580 W BatteryNotifier: batterystats service unavailable!
01-27 23:17:23.719 2469 2560 V audio_hw_primary: adev_set_voice_volume, volume: 0.000000
01-27 23:17:23.720 2469 2469 V audio_hw_primary: to malloc in-buffer: period_size: 1024, frame_size: 4
01-27 23:17:23.722 2469 2583 I AudioFlinger: AudioFlinger's thread 0xa850c900 ready to run
01-27 23:17:23.722 2469 2580 W BatteryNotifier: batterystats service unavailable!
01-27 23:17:23.722 2469 2580 W AudioFlinger: no wake lock to update, system not ready yet
01-27 23:17:23.722 2469 2580 E cutils-trace: Error opening trace file: No such file or directory (2)
01-27 23:17:23.722 2469 2469 D audio_hw_primary: adev_close_input_stream set voice record status
01-27 23:17:23.725 2469 2469 I bt_a2dp_hw: adev_open: adev_open in A2dp_hw module
01-27 23:17:23.725 2469 2469 I AudioFlinger: loadHwModule() Loaded a2dp audio interface from A2DP Audio HW HAL (audio) handle 18
01-27 23:17:23.729 2469 2469 I AudioFlinger: loadHwModule() Loaded usb audio interface from USB audio HW HAL (audio) handle 26
01-27 23:17:23.753 2469 2469 I r_submix: adev_open(name=audio_hw_if)
01-27 23:17:23.753 2469 2469 I r_submix: adev_init_check()
01-27 23:17:23.753 2469 2469 I AudioFlinger: loadHwModule() Loaded r_submix audio interface from Wifi Display audio HAL (audio) handle 34
01-27 23:17:23.754 2469 2469 D r_submix: adev_open_input_stream(addr=0)
01-27 23:17:23.754 2469 2469 D r_submix: submix_audio_device_create_pipe_l(addr=0, idx=9)
01-27 23:17:23.754 2469 2469 D r_submix: now using address 0 for route 9
01-27 23:17:23.755 2469 2586 I AudioFlinger: AudioFlinger's thread 0xa84832c0 ready to run
01-27 23:17:23.755 2469 2469 D r_submix: adev_close_input_stream()
01-27 23:17:23.755 2469 2469 D r_submix: submix_audio_device_release_pipe_l(idx=9) addr=0
01-27 23:17:23.756 2469 2469 D r_submix: submix_audio_device_destroy_pipe_l(): pipe destroyed
01-27 23:17:23.757 2469 2469 I RadioService: RadioService
01-27 23:17:23.757 2469 2469 I RadioService: onFirstRef
01-27 23:17:23.758 2469 2469 E RadioService: couldn't load radio module radio.primary (No such file or directory)
01-27 23:17:23.759 2469 2469 E SoundTriggerHwService: couldn't load sound trigger module sound_trigger.primary (No such file or directory)
Is there a way to fix this problem without wiping data?
Is there a particular reason why you're not updating to Android Q? This looks like a segmentation error, which is pretty much common among Android 7 devices. Maybe you should consider upgrading or downgrading your Android version to see if it helps.