ERRORS IN ROMPORTING logcat attached - Android Q&A, Help & Troubleshooting

XDA's.
i had ported a rom to my lg optimus l7 and i find these errors which were not possible to solve
i have atteched the logcat
the main error was that audio was not working
i got that the problem was with media process and audiopolicy
here is the log cat of the error,these error occures when playing a ringtone in setttingd menu
android version is 4.3
and base rom is CM 10.2
ported rom is Cyanfox
please try to help me solving this problem
LOGCAT
Code:
11-05 23:03:59.129: W/AudioPolicyManager(2284): getOutput() could not find output for stream 1, samplingRate 0,format 0, channels 3, flags 0
11-05 23:03:59.129: W/AudioPolicyManager(2284): getOutput() could not find output for stream 1, samplingRate 0,format 0, channels 3, flags 0
11-05 23:03:59.129: W/AudioPolicyManager(2284): getOutput() could not find output for stream 1, samplingRate 44100,format 1, channels 1, flags 4
11-05 23:03:59.129: E/AudioTrack(506): Could not get audio output for stream type 1
11-05 23:03:59.139: E/SoundPool(506): Error creating AudioTrack
11-05 23:03:59.139: I/AudioService(506): Remote Control registerMediaButtonIntent() for PendingIntent{41e7d3d8: PendingIntentRecord{41c15920 com.google.android.music broadcastIntent}}
11-05 23:03:59.149: I/LocalDevicePlayback(2821): play: currentPos=5
11-05 23:03:59.149: I/AudioService(506): AudioFocus requestAudioFocus() from [email protected][email protected]93528
11-05 23:03:59.159: I/AudioService(506): AudioFocus abandonAudioFocus(): removing entry for [email protected][email protected]
11-05 23:03:59.159: E/MediaPlayer(2632): pause called in state 8
11-05 23:03:59.159: E/MediaPlayer(2632): error (-38, 0)
11-05 23:03:59.369: D/dalvikvm(506): GC_FOR_ALLOC freed 823K, 21% free 11309K/14228K, paused 89ms, total 91ms
11-05 23:03:59.509: D/BufferProgressListener(3215): updateCurrentSong: [361, DEFAULT]
11-05 23:03:59.529: I/LocalDevicePlayback(2821): open: id=[361, DEFAULT], playPos=5, fromUser=true, track=Track 2
11-05 23:03:59.559: D/LocalAsyncMediaPlayer(2821): Event logging MUSIC_START_PLAYBACK_REQUESTED: 361/: local playback
11-05 23:03:59.559: D/DownloadQueue(2821): cancelAndPurge: owner=MUSIC_PLAYBACK, policy=2
11-05 23:03:59.569: D/DownloadQueue(2821): getNextTask(): wait
11-05 23:03:59.609: D/QCUtils(2284): extended extractor not needed, return default
11-05 23:03:59.609: D/AwesomePlayer(2284): Before reset_l
11-05 23:03:59.609: D/AwesomePlayer(2284): printFileName fd(41) -> /storage/sdcard1/songs/melle melle.mp3
11-05 23:03:59.619: D/QCUtils(2284): extended extractor not needed, return default
11-05 23:03:59.619: E/AwesomePlayer(2284): LPAPlayer::Clip duration setting of less than 30sec not supported, defaulting to 60sec
11-05 23:03:59.619: E/QC_MP3DEC(2284): component_init: device open fail Loaded -->Invalid
11-05 23:03:59.619: E/QC_MP3DEC(2284): mp3 device already closed
11-05 23:03:59.619: E/QC_MP3DEC(2284): Killing timer thread...
11-05 23:03:59.619: E/QC_MP3DEC(2284): Timer thread exited
11-05 23:03:59.619: E/QC_MP3DEC(2284): Component-deinit m_drv_fd = -1
11-05 23:03:59.619: E/QC_MP3DEC(2284): OMX MP3 component destroyed
11-05 23:03:59.639: E/AwesomePlayer(2284): LPAPlayer::Clip duration setting of less than 30sec not supported, defaulting to 60sec
11-05 23:03:59.649: W/AudioPolicyManager(2284): getOutput() could not find output for stream 3, samplingRate 0,format 0, channels 3, flags 0
11-05 23:03:59.649: E/AwesomePlayer(2284): AudioPlayer start error
11-05 23:03:59.649: E/MetadataRetrieverClient(2284): failed to extract an album art
11-05 23:03:59.649: E/MediaPlayer(2821): error (-19, 0)
11-05 23:03:59.649: E/MediaPlayer(2821): Error (-19,0)
11-05 23:03:59.679: W/LocalDevicePlayback(2821): Failed to open MusicId ([361, DEFAULT]) for playback
11-05 23:03:59.679: D/StreamingClient(2821): currenStreamingPlayEnded: current=null next=null
11-05 23:03:59.699: D/BufferProgressListener(3215): updateCurrentSong: [361, DEFAULT]
11-05 23:03:59.769: I/OMXNodeInstance(2284): OMX_FreeBuffer for buffer header 0x41c0c800 successful
11-05 23:03:59.769: I/OMXNodeInstance(2284): OMX_FreeBuffer for buffer header 0x41c0c748 successful
11-05 23:03:59.769: I/OMXNodeInstance(2284): OMX_FreeBuffer for buffer header 0x41c0c678 successful
11-05 23:03:59.769: I/OMXNodeInstance(2284): OMX_FreeBuffer for buffer header 0x41c0c4c0 successful
11-05 23:03:59.779: I/OMXNodeInstance(2284): OMX_FreeBuffer for buffer header 0x41c0ce00 successful
11-05 23:03:59.779: I/OMXNodeInstance(2284): OMX_FreeBuffer for buffer header 0x41c0ccd8 successful
11-05 23:03:59.779: I/OMXNodeInstance(2284): OMX_FreeBuffer for buffer header 0x41c0cb98 successful
11-05 23:03:59.779: I/OMXNodeInstance(2284): OMX_FreeBuffer for buffer header 0x41c0c988 successful
11-05 23:03:59.809: D/MultiPlayer(2821): Error: -19,0
11-05 23:03:59.969: D/dalvikvm(506): GC_FOR_ALLOC freed 446K, 19% free 11543K/14228K, paused 84ms, total 85ms
11-05 23:04:00.009: D/BufferProgressListener(3215): updateCurrentSong: [361, DEFAULT]
11-05 23:04:00.119: E/MediaPlayer(2632): Error (-38,0)
11-05 23:04:00.119: E/QC_MP3DEC(2284): Execute flush for both I/p O/p port
11-05 23:04:00.119: I/OMXNodeInstance(2284): OMX_FreeBuffer for buffer header 0x41c072e0 successful
11-05 23:04:00.119: I/OMXNodeInstance(2284): OMX_FreeBuffer for buffer header 0x41c05108 successful
11-05 23:04:00.119: I/OMXNodeInstance(2284): OMX_FreeBuffer for buffer header 0x41bf73d8 successful
11-05 23:04:00.119: I/OMXNodeInstance(2284): OMX_FreeBuffer for buffer header 0x41c153b8 successful
11-05 23:04:00.139: E/QC_MP3DEC(2284): Killing timer thread...
11-05 23:04:00.139: E/QC_MP3DEC(2284): Timer thread exited
11-05 23:04:00.139: E/QC_MP3DEC(2284): Component-deinit m_drv_fd = -1
11-05 23:04:00.139: E/QC_MP3DEC(2284): COMPONENT DEINIT...
11-05 23:04:00.139: E/QC_MP3DEC(2284): OMX MP3 component destroyed
11-05 23:04:00.429: D/dalvikvm(2821): GC_FOR_ALLOC freed 509K, 13% free 3760K/4316K, paused 24ms, total 26ms
11-05 23:04:00.459: D/QCUtils(2284): extended extractor not needed, return default
11-05 23:04:00.469: E/MetadataRetrieverClient(2284): failed to extract an album art
11-05 23:04:00.509: I/Diag_Lib(134): rpc_handle_rpc_call: for Xid: 3a1, Prog: 31000000, Vers: d17ed9ea, Proc: 00000014
11-05 23:04:00.509: I/Diag_Lib(134): rpc_handle_rpc_call: Find Status: 0 Xid: 3a1
11-05 23:04:00.509: I/ONCRPC(134): oncrpc_proxy_handle_cmd_rpc_call: Dispatching xid: 3a1
11-05 23:04:00.509: I/ONCRPC(134): oncrpc_xdr_reply_msg_start: Prog: 00000000, Ver: 00000000, Proc: 00000000 Xid: 000003a1
11-05 23:04:00.509: I/ONCRPC(134): oncrpc_msg_reply: Prog: 00000000, Ver: 00000000, Proc: 00000000 Xid: 000003a1
11-05 23:04:00.509: I/ONCRPC(134): oncrpc_proxy_handle_cmd_rpc_call: Dispatch returned for xid: 3a1
11-05 23:04:00.579: D/BufferProgressListener(3215): updateCurrentSong: null
11-05 23:04:00.699: D/QCUtils(2284): extended extractor not needed, return default
11-05 23:04:00.699: E/MetadataRetrieverClient(2284): failed to extract an album art
11-05 23:04:00.749: D/QCUtils(2284): extended extractor not needed, return default
11-05 23:04:00.749: E/MetadataRetrieverClient(2284): failed to extract an album art
11-05 23:04:00.779: I/BaseTrackListView(3215): Need to scroll to: 5 which is larger than the current list size: 0
11-05 23:04:01.269: D/AwesomePlayer(2284): Before reset_l
11-05 23:04:01.269: D/AwesomePlayer(2284): printFileName fd(17) -> /storage/sdcard1/songs/best of enrique/07 Enrique Iglesias - Miss You.mp3
11-05 23:04:01.319: D/QCUtils(2284): extended extractor not needed, return default
11-05 23:04:01.339: E/AwesomePlayer(2284): LPAPlayer::Clip duration setting of less than 30sec not supported, defaulting to 60sec
11-05 23:04:01.339: E/QC_MP3DEC(2284): component_init[0x41c10710]component init: role = OMX.qcom.audio.decoder.mp3
if you need full logcat i can upload
Please Do help me in solving this

Related

[Q] Netflix/HBO/DRM protected content not playing

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?

Hands Free Google (Voice) Search vs Voice Dialer

I really would like to the the regular voice search started if i have my sleeping (display off) and push the call button on my bluethooth headset.
instead i get the very stop old voice dailer.
this article states that they changed it in search 3.2 (i'm currently running search 3.4).
http://www.androidpolice.com/2014/0...the-old-voice-dialer-with-bluetooth-headsets/
it is correct that if the device is on and the screen unlocked i get, as expected, the new voice search command input
BUT if the device is sleeping it still trigger the ****TY **** COMMAND input (and ruins my idea of heads free via headset)
(the left screenshot in the article above)
Logcat output with device turned off and pushing button on headset....
Code:
E/bt-rfcomm(14656): PORT_DataInd, p_port:0x7580a77c, p_data_co_callback is null
D/HeadsetStateMachine(14656): processVrEvent: state=1 mVoiceRecognitionStarted: false mWaitingforVoiceRecognition: false isInCall: false
I/ActivityManager( 649): START u0 {act=android.intent.action.VOICE_COMMAND flg=0x10000000 cmp=com.google.android.googlequicksearchbox/com.google.android.voicesearch.handsfree.HandsFreeActivity} from pid 14656
I/Timeline(12527): Timeline: Activity_launch_request id:com.google.android.googlequicksearchbox time:8718723
I/ActivityManager( 649): START u0 {act=android.intent.action.VOICE_COMMAND flg=0x10000000 cmp=com.google.android.googlequicksearchbox/com.google.android.voicesearch.handsfree.HandsFreeActivityLegacy} from pid 12527
D/PhoneStatusBar( 774): disable: < expand icons alerts ticker system_info back* home* RECENT clock* search >
W/IInputConnectionWrapper(12527): showStatusIcon on inactive InputConnection
I/Timeline(12527): Timeline: Activity_idle id: [email protected] time:8718822
I/Timeline(12527): Timeline: Activity_idle id: [email protected] time:8718823
I/Timeline( 649): Timeline: Activity_windows_visible id: ActivityRecord{4230fb80 u0 com.google.android.googlequicksearchbox/com.google.android.voicesearch.handsfree.HandsFreeActivityLegacy t62} time:8718842
I/PowerManagerService( 649): Waking up from sleep...
E/PowerHAL( 649): sync_thread: failed to send: No such file or directory
D/SurfaceFlinger( 198): Screen acquired, type=0 flinger=0xb7a31450
I/Timeline(12527): Timeline: Activity_idle id: [email protected] time:8718915
I/WindowManager( 649): No lock screen! [email protected]
V/audio_hw_primary( 201): adev_set_parameters: enter: screen_state=on
D/audio_hw_extn( 201): audio_extn_set_anc_parameters: anc_enabled:0
V/audio_hw_primary( 201): adev_set_parameters: exit with code(-2)
I/audio_a2dp_hw( 201): adev_set_parameters: state 5
I/audio_a2dp_hw( 201): out_set_parameters: state 5
I/str_params( 201): key: 'screen_state' value: 'on'
I/AudioRouter(12527): ROUTE_NONE->ROUTE_BLUETOOTH_REQUIRED
I/MediaFocusControl( 649): AudioFocus requestAudioFocus() from [email protected]@419e4228
I/AudioRouter(12527): BT required, starting SCO
V/Avrcp (14656): New genId = 69, clearing = 1
I/BluetoothController(12527): Starting VR
D/BluetoothHeadset(12527): startVoiceRecognition()
D/BluetoothAdapterService(1103761344)(14656): getState(): mAdapterProperties: [email protected]
D/HeadsetStateMachine(14656): isBluetoothVoiceDialingEnabled mRemoteBrsf: 187supported: 8
D/HeadsetStateMachine(14656): Voice recognition started successfully
D/HeadsetStateMachine(14656): Initiating audio connection for Voice Recognition
V/audio_hw_primary( 201): adev_set_parameters: enter: A2dpSuspended=true
D/audio_hw_extn( 201): audio_extn_set_anc_parameters: anc_enabled:0
V/audio_hw_primary( 201): adev_set_parameters: exit with code(-2)
I/audio_a2dp_hw( 201): adev_set_parameters: state 5
I/audio_a2dp_hw( 201): out_set_parameters: state 5
I/str_params( 201): key: 'A2dpSuspended' value: 'true'
I/audio_a2dp_hw( 201): check_a2dp_stream_started: state 5
W/bt-btm (14656): BTM Remote does not support 3-EDR eSCO
D/BluetoothManager( 948): mReceiver: HEADSET_AUDIO_STATE_CHANGED_ACTION
D/BluetoothManager( 948): ==> new state: 11
D/AudioRouter( 948): onBluetoothIndicationChange false
D/AudioRouter( 948): calculateModeFromCurrentState EARPIECE
D/BluetoothManager( 948): isBluetoothAvailable()...
D/BluetoothAdapterService(1103761344)(14656): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1103761344)(14656): getState(): mAdapterProperties: com.android.[email protected]
D/BluetoothManager( 948): state = 2for headset: B4:52:7E:FA:DF:29
D/BluetoothManager( 948): ==> true
D/SmartKey Service(12553): isPlaying false
D/SmartKey Service(12553): state = IDDLE
I/GCoreUlr( 1263): Starting service, intent=Intent { act=com.google.android.location.reporting.ACTION_LOCATION_STATUS cmp=com.google.android.gms/com.google.android.location.reporting.service.DispatchingService (has extras) }, extras=Bundle[{status=LocationStatus[cell status: STATUS_SUCCESSFUL, wifi status: STATUS_TIMED_OUT_ON_SCAN, elapsed realtime ns: 24652606874646]}]
D/SmartKey Service(12553): isPlaying false
D/SmartKey Service(12553): state = IDDLE
D/GCoreUlr( 1263): Throttling analytics event: entity, ApiMetadataStore:save_attempt, 1
D/GCoreUlr( 1263): Throttling analytics event: entity, ApiMetadataStore:saved, 1
D/HeadsetStateMachine(14656): Set sample rate: 8000
V/audio_hw_primary( 201): adev_set_parameters: enter: bt_samplerate=8000
D/audio_hw_extn( 201): audio_extn_set_anc_parameters: anc_enabled:0
V/audio_hw_primary( 201): adev_set_parameters: exit with code(-2)
I/audio_a2dp_hw( 201): adev_set_parameters: state 4
I/audio_a2dp_hw( 201): out_set_parameters: state 4
I/str_params( 201): key: 'bt_samplerate' value: '8000'
D/BluetoothManager( 948): mReceiver: HEADSET_AUDIO_STATE_CHANGED_ACTION
D/BluetoothManager( 948): ==> new state: 12
D/AudioRouter( 948): onBluetoothIndicationChange false
D/AudioRouter( 948): calculateModeFromCurrentState EARPIECE
D/BluetoothManager( 948): isBluetoothAvailable()...
D/BluetoothAdapterService(1103761344)(14656): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1103761344)(14656): getState(): mAdapterProperties: [email protected]
D/BluetoothManager( 948): state = 2for headset: B4:52:7E:FA:DF:29
D/BluetoothManager( 948): ==> true
D/AudioFlinger( 201): start(4097), calling pid 15786 session 395
D/AudioFlinger( 201): ? => ACTIVE (4097) on thread 0xb8c4d728
D/audio_hw_primary( 201): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=32
V/audio_hw_primary( 201): out_set_parameters: exit: code(0)
V/audio_hw_primary( 201): start_output_stream: enter: usecase(1: low-latency-playback) devices(0x20)
D/audio_hw_primary( 201): select_devices: out_snd_device(10: bt-sco-headset) in_snd_device(0: )
V/audio_hw_primary( 201): enable_snd_device: snd_device(10: bt-sco-headset)
V/audio_hw_primary( 201): enable_audio_route: enter: usecase(1)
V/audio_hw_primary( 201): enable_audio_route: apply mixer path: low-latency-playback bt-sco
V/audio_hw_primary( 201): enable_audio_route: exit
V/audio_hw_primary( 201): start_output_stream: Opening PCM device card_id(0) device_id(14)
V/audio_hw_primary( 201): start_output_stream: exit
device on and unlocked is like this....
Code:
D/HeadsetStateMachine(14656): processVrEvent: state=1 mVoiceRecognitionStarted: false mWaitingforVoiceRecognition: false isInCall: false
I/ActivityManager( 649): START u0 {act=android.intent.action.VOICE_COMMAND flg=0x10000000 cmp=com.google.android.googlequicksearchbox/com.google.android.voicesearch.handsfree.HandsFreeActivity} from pid 14656
I/HotwordWorker(12527): #onHotwordDetectorStopped(false)
I/MicrophoneInputStream(12527): mic_close [email protected]
V/audio_hw_primary( 201): in_standby: enter
I/ActivityManager( 649): START u0 {act=android.speech.action.WEB_SEARCH flg=0x34000000 pkg=com.google.android.googlequicksearchbox cmp=com.google.android.googlequicksearchbox/.SearchActivity (has extras)} from pid 12527
V/audio_hw_primary( 201): stop_input_stream: enter: usecase(4: audio-record)
V/audio_hw_primary( 201): disable_audio_route: enter: usecase(4)
V/audio_hw_primary( 201): disable_audio_route: reset mixer path: audio-record
V/audio_hw_primary( 201): disable_audio_route: exit
V/audio_hw_primary( 201): disable_snd_device: snd_device(37: voice-rec-mic) refcnt=0
V/audio_hw_primary( 201): stop_input_stream: exit: status(0)
V/audio_hw_primary( 201): in_standby: exit: status(0)
I/Timeline(12527): Timeline: Activity_launch_request id:com.google.android.googlequicksearchbox time:9488919
V/audio_hw_primary( 201): adev_close_input_stream
V/audio_hw_primary( 201): in_standby: enter
V/audio_hw_primary( 201): in_standby: exit: status(0)
I/ActivityManager( 649): START u0 {act=android.intent.action.MAIN flg=0x34000000 pkg=com.google.android.googlequicksearchbox cmp=com.google.android.googlequicksearchbox/com.google.android.velvet.ui.VelvetActivity (has extras)} from pid 12527
I/HotwordRecognitionRnr(12527): Stopping hotword detection.
I/HotwordRecognitionRnr(12527): Hotword detection finished
I/Velvet.Presenter(12527): setupFromIntent(Intent { act=android.intent.action.MAIN flg=0x34400000 pkg=com.google.android.googlequicksearchbox cmp=com.google.android.googlequicksearchbox/com.google.android.velvet.ui.VelvetActivity (has extras) })
I/AudioRouter(12527): ROUTE_NONE->ROUTE_BLUETOOTH_REQUIRED
I/MediaFocusControl( 649): AudioFocus requestAudioFocus() from [email protected]@419e4228
I/AudioRouter(12527): BT required, starting SCO
V/Avrcp (14656): New genId = 73, clearing = 1
I/BluetoothController(12527): Starting VR
D/BluetoothHeadset(12527): startVoiceRecognition()
D/BluetoothAdapterService(1103761344)(14656): getState(): mAdapterProperties: [email protected]
D/HeadsetStateMachine(14656): isBluetoothVoiceDialingEnabled mRemoteBrsf: 187supported: 8
D/HeadsetStateMachine(14656): Voice recognition started successfully
D/HeadsetStateMachine(14656): Initiating audio connection for Voice Recognition
V/audio_hw_primary( 201): adev_set_parameters: enter: A2dpSuspended=true
D/audio_hw_extn( 201): audio_extn_set_anc_parameters: anc_enabled:0
V/audio_hw_primary( 201): adev_set_parameters: exit with code(-2)
I/audio_a2dp_hw( 201): adev_set_parameters: state 5
I/audio_a2dp_hw( 201): out_set_parameters: state 5
I/str_params( 201): key: 'A2dpSuspended' value: 'true'
I/audio_a2dp_hw( 201): check_a2dp_stream_started: state 5
W/bt-btm (14656): BTM Remote does not support 3-EDR eSCO
D/BluetoothManager( 948): mReceiver: HEADSET_AUDIO_STATE_CHANGED_ACTION
D/BluetoothManager( 948): ==> new state: 11
D/AudioRouter( 948): onBluetoothIndicationChange false
D/AudioRouter( 948): calculateModeFromCurrentState EARPIECE
D/BluetoothManager( 948): isBluetoothAvailable()...
D/BluetoothAdapterService(1103761344)(14656): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1103761344)(14656): getState(): mAdapterProperties: [email protected]
I/MicrophoneInputStream(12527): mic_starting [email protected]
V/Zygote (19412): Switching descriptor 33 to /dev/null
V/Zygote (19412): Switching descriptor 10 to /dev/null
I/ActivityManager( 649): Start proc android.process.acore for content provider com.android.providers.contacts/.ContactsProvider2: pid=19412 uid=10003 gids={50003, 3003, 1028, 1015}
D/BluetoothManager( 948): state = 2for headset: B4:52:7E:FA:DF:29
D/BluetoothManager( 948): ==> true
I/Timeline( 649): Timeline: Activity_windows_visible id: ActivityRecord{420ba150 u0 com.google.android.googlequicksearchbox/com.google.android.velvet.ui.VelvetActivity t58} time:9489060
D/SmartKey Service(12553): isPlaying false
D/SmartKey Service(12553): state = IDDLE
W/GLSUser ( 1233): GoogleAccountDataService.getToken()
D/ActivityThread(19412): handleBindApplication:android.process.acore
D/ActivityThread(19412): setTargetHeapUtilization:0.75
D/ActivityThread(19412): setTargetHeapMinFree:524288
I/Timeline(12527): Timeline: Activity_idle id: [email protected] time:9489151
D/HeadsetStateMachine(14656): Set sample rate: 8000
V/audio_hw_primary( 201): adev_set_parameters: enter: bt_samplerate=8000
D/audio_hw_extn( 201): audio_extn_set_anc_parameters: anc_enabled:0
V/audio_hw_primary( 201): adev_set_parameters: exit with code(-2)
I/audio_a2dp_hw( 201): adev_set_parameters: state 4
I/audio_a2dp_hw( 201): out_set_parameters: state 4
I/str_params( 201): key: 'bt_samplerate' value: '8000'
D/BluetoothManager( 948): mReceiver: HEADSET_AUDIO_STATE_CHANGED_ACTION
D/BluetoothManager( 948): ==> new state: 12
D/AudioRouter( 948): onBluetoothIndicationChange false
D/AudioRouter( 948): calculateModeFromCurrentState EARPIECE
D/BluetoothManager( 948): isBluetoothAvailable()...
D/BluetoothAdapterService(1103761344)(14656): getState(): mAdapterProperties: [email protected]
D/BluetoothAdapterService(1103761344)(14656): getState(): mAdapterProperties: [email protected]
D/BluetoothManager( 948): state = 2for headset: B4:52:7E:FA:DF:29
D/BluetoothManager( 948): ==> true
if the device is locked he falls back to the
com.google.android.googlequicksearchbox/com.google.android.voicesearch.handsfree.HandsFreeActivityLegacy
act****TITY
any help ?!
Running CM 11-20140504-SNAPSHOT-M6-Mako (Nexus 4... but i'd say you figured that out yourself by now)
I also have this problem. Would like to know if Google are working on a fix for the Search app.
this is great info - I've been trying to figure out which activity to enable on the Bluetooth Launch App so that the call button is directed to that activity.
I have tried the com.google.android.googlequicksearchbox.VoiceSearchActivity - but this does not work if phone is locked.
Which other activities have you tried to enable while phone is locked?
This is what happens, in the latest apk, that has hotword detection on while charging. So it wakes up from sleep and goes straight into listening for a command.
Can we initialize the same process using tasker for the bluetooth button pressed?
HTML:
I/HotwordRecognitionRnr(11016): Hotword detection finished
I/HotwordWorker(11016): #onHotwordDetected
I/MicrophoneInputStream(11016): mic_close [email protected]
I/Sdch.Manager(11016): SDCH cache load complete.
I/MediaFocusControl( 748): AudioFocus requestAudioFocus() from android.media.
[email protected]@42687a08
V/KeyguardHostView( 914): hide transport, gen:160
I/AudioRouter(11016): ROUTE_NONE->ROUTE_BLUETOOTH_PREFERRED,CONNECTION_TYPE_NONE
->CONNECTION_TYPE_BVRA
D/BluetoothManagerService( 748): Message: 20
D/BluetoothManagerService( 748): Added callback: android.bluetooth.IBluetoothMa
[email protected]:true
D/BluetoothManagerService( 748): Message: 30
V/Avrcp ( 2450): New genId = 160, clearing = 1
I/HotwordRecognitionRnr(11016): Stopping hotword detection.
I/ActivityManager( 748): START u0 {act=android.intent.action.MAIN flg=0x1401000
0 cmp=com.google.android.googlequicksearchbox/com.google.android.velvet.ui.Velve
tLockscreenActivity (has extras)} from pid 11016
D/dalvikvm(11016): GC_FOR_ALLOC freed 241K, 3% free 19086K/19644K, paused 10ms,
total 15ms
I/dalvikvm-heap(11016): Grow heap (frag case) to 18.973MB for 320016-byte alloca
tion
D/dalvikvm(11016): GC_FOR_ALLOC freed <1K, 3% free 19398K/19960K, paused 11ms, t
otal 11ms
I/MicrophoneInputStream(11016): mic_starting [email protected]
I/IcingCorporaProvider(11016): Updating corpora: APPS=NONE, CONTACTS=DELTA
D/dalvikvm(11016): Trying to load lib /data/app-lib/com.google.android.googlequi
cksearchbox-2/libgoogle_recognizer_jni_l.so 0x42622448
D/BluetoothHeadset(11016): Proxy object connected
I/BluetoothController(11016): No BT device
D/audio_hw_primary( 185): out_set_parameters: enter: usecase(1: low-latency-pla
yback) kvpairs: routing=2
D/audio_hw_primary( 185): select_devices: out_snd_device(0: ) in_snd_device(35:
voice-rec-mic)
D/ ( 185): Failed to fetch the lookup information of the device 0000003E
E/ACDB-LOADER( 185): Error: ACDB AudProc vol returned = -19
I/OMXClient(11016): Using client-side OMX mux.
D/dalvikvm(11016): Added shared lib /data/app-lib/com.google.android.googlequick
searchbox-2/libgoogle_recognizer_jni_l.so 0x42622448
W/Search.SearchUrlHelper(11016): URL param or header written twice. Key: pws, ol
d value: "0" new value: "0"
W/Search.SearchUrlHelper(11016): java.lang.Throwable
W/Search.SearchUrlHelper(11016): at bmz.b(PG:2336)
W/Search.SearchUrlHelper(11016): at bmz.O(PG:2343)
W/Search.SearchUrlHelper(11016): at bmz.dy(PG:2553)
W/Search.SearchUrlHelper(11016): at bmy.a(PG:1152)
W/Search.SearchUrlHelper(11016): at bmy.a(PG:1010)
W/Search.SearchUrlHelper(11016): at gut.a(PG:37)
W/Search.SearchUrlHelper(11016): at gvc.kb(PG:82)
W/Search.SearchUrlHelper(11016): at gvd.asM(PG:38)
W/Search.SearchUrlHelper(11016): at fgj.call(PG:28)
W/Search.SearchUrlHelper(11016): at java.util.concurrent.FutureTask.run(F
utureTask.java:237)
W/Search.SearchUrlHelper(11016): at java.util.concurrent.ScheduledThreadP
oolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
W/Search.SearchUrlHelper(11016): at java.util.concurrent.ScheduledThreadP
oolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
W/Search.SearchUrlHelper(11016): at java.util.concurrent.ThreadPoolExecut
or.runWorker(ThreadPoolExecutor.java:1112)
W/Search.SearchUrlHelper(11016): at java.util.concurrent.ThreadPoolExecut
or$Worker.run(ThreadPoolExecutor.java:587)
W/Search.SearchUrlHelper(11016): at java.lang.Thread.run(Thread.java:841)
W/Search.SearchUrlHelper(11016): at did.run(PG:46)
E/OMXMaster(11016): A component of name 'OMX.qcom.audio.decoder.aac' already exi
sts, ignoring this one.
D/dalvikvm(11016): GC_CONCURRENT freed 924K, 5% free 19334K/20292K, paused 3ms+4
ms, total 34ms
D/dalvikvm(11016): WAIT_FOR_CONCURRENT_GC blocked 21ms
I/Greco3EngineManager(11016): create_rm: m=GRAMMAR,l=en-US
D/dalvikvm( 1223): GC_CONCURRENT freed 906K, 9% free 19080K/20816K, paused 2ms+2
ms, total 25ms
D/dalvikvm( 1223): WAIT_FOR_CONCURRENT_GC blocked 19ms
D/dalvikvm( 1223): WAIT_FOR_CONCURRENT_GC blocked 21ms
D/dalvikvm(11016): GC_FOR_ALLOC freed 211K, 3% free 19842K/20292K, paused 12ms,
total 12ms
I/Greco3EngineManager(11016): Brought up new g3 instance :/system/usr/srec/en-US
/grammar.config for: en-USin: 29 ms
D/dalvikvm(11016): GC_FOR_ALLOC freed 17K, 3% free 20331K/20784K, paused 13ms, t
otal 13ms
D/ConnectivityService( 748): startUsingNetworkFeature reconnecting to 0: enable
SUPL
D/ConnectivityService( 748): startUsingNetworkFeature X: return APN_REQUEST_STA
RTED
E/LocSvc_eng( 748): W/AgpsReleasedState: unrecognized event 3
D/ConnectivityService( 748): stopUsingNetworkFeature: teardown net 0: enableSUP
L
D/MobileDataStateTracker( 748): supl: Broadcast received: android.intent.action
.ANY_DATA_STATE apnType=supl
D/MobileDataStateTracker( 748): supl: Received state=CONNECTING, old=DISCONNECT
ED, reason=dataEnabled
D/MobileDataStateTracker( 748): supl: setDetailed state, old =IDLE and new stat
e=CONNECTING
D/MobileDataStateTracker( 748): fota: Broadcast received: android.intent.action
.ANY_DATA_STATE apnType=fota
D/MobileDataStateTracker( 748): fota: Received state=DISCONNECTED, old=DISCONNE
CTED, reason=dataEnabled
D/MobileDataStateTracker( 748): dun: Broadcast received: android.intent.action.
ANY_DATA_STATE apnType=dun
D/MobileDataStateTracker( 748): dun: Received state=DISCONNECTED, old=DISCONNEC
TED, reason=dataEnabled
D/MobileDataStateTracker( 748): ia: Broadcast received: android.intent.action.A
NY_DATA_STATE apnType=ia
D/MobileDataStateTracker( 748): ia: Received state=DISCONNECTED, old=DISCONNECT
ED, reason=dataEnabled
D/dalvikvm(11016): GC_FOR_ALLOC freed 10K, 2% free 21193K/21492K, paused 14ms, t
otal 14ms
D/MobileDataStateTracker( 748): hipri: Broadcast received: android.intent.actio
n.ANY_DATA_STATE apnType=hipri
D/MobileDataStateTracker( 748): hipri: Received state=DISCONNECTED, old=DISCONN
ECTED, reason=dataEnabled
D/MobileDataStateTracker( 748): ims: Broadcast received: android.intent.action.
ANY_DATA_STATE apnType=ims
D/MobileDataStateTracker( 748): ims: Received state=DISCONNECTED, old=DISCONNEC
TED, reason=dataEnabled
D/MobileDataStateTracker( 748): default: Broadcast received: android.intent.act
ion.ANY_DATA_STATE apnType=default
D/MobileDataStateTracker( 748): default: Received state=DISCONNECTED, old=DISCO
NNECTED, reason=dataEnabled
D/MobileDataStateTracker( 748): mms: Broadcast received: android.intent.action.
ANY_DATA_STATE apnType=mms
D/MobileDataStateTracker( 748): mms: Received state=DISCONNECTED, old=DISCONNEC
TED, reason=dataEnabled
D/MobileDataStateTracker( 748): cbs: Broadcast received: android.intent.action.
ANY_DATA_STATE apnType=cbs
D/dalvikvm( 1072): GC_CONCURRENT freed 494K, 4% free 18114K/18780K, paused 3ms+2
ms, total 27ms
D/MobileDataStateTracker( 748): cbs: Received state=DISCONNECTED, old=DISCONNEC
TED, reason=dataEnabled
W/GLSUser ( 1185): GoogleAccountDataService.getToken()
W/GLSUser ( 1185): GoogleAccountDataService.getToken()
W/GLSUser ( 1185): GoogleAccountDataService.getToken()
D/dalvikvm( 1057): GC_CONCURRENT freed 627K, 7% free 18877K/20284K, paused 1ms+4
ms, total 26ms
D/dalvikvm(11016): GC_CONCURRENT freed 151K, 2% free 22449K/22712K, paused 11ms+
5ms, total 31ms
I/Adreno-EGL(11016): <qeglDrvAPI_eglInitialize:320>: EGL 1.4 QUALCOMM Build: I04
04c4692afb8623f95c43aeb6d5e13ed4b30ddbDate: 11/06/13
D/dalvikvm( 1086): GC_CONCURRENT freed 384K, 3% free 16745K/17176K, paused 2ms+2
ms, total 16ms
D/PhoneStatusBar( 914): disable: < EXPAND icons alerts TICKER system_info back*
home* RECENT clock search >
D/OpenGLRenderer(11016): Enabling debug mode 0
W/IInputConnectionWrapper(11016): showStatusIcon on inactive InputConnection
I/ActivityManager( 748): Displayed com.google.android.googlequicksearchbox/com.
google.android.velvet.ui.VelvetLockscreenActivity: +608ms (total +611ms)
V/KeyguardServiceDelegate( 748): onScreenTurnedOn(showListener = com.android.in
[email protected])
D/SurfaceFlinger( 182): Screen acquired, type=0 flinger=0xb7da5450
D/qdhwcomposer( 182): hwc_blank: Unblanking display: 0
I/PowerManagerService( 748): Waking up from sleep...
V/KeyguardServiceDelegate( 748): **** SHOWN CALLED ****
I/WindowManager( 748): No lock screen! [email protected]
838
D/dalvikvm( 748): GC_EXPLICIT freed 676K, 25% free 51379K/67720K, paused 3ms+11
ms, total 128ms
D/qdhwcomposer( 182): hwc_blank: Done unblanking display: 0
D/SurfaceControl( 748): Excessive delay in unblankDisplay() while turning scree
n on: 238ms
D/DisplayPowerController( 748): Unblocked screen on after 96822777 ms
I/ActivityManager( 748): Process com.google.android.calendar (pid 10121) has di
ed.
I/VelvetPresenter(11016): setupFromIntent(Intent { act=android.intent.action.MAI
N flg=0x14010000 cmp=com.google.android.googlequicksearchbox/com.google.android.
velvet.ui.VelvetLockscreenActivity (has extras) })
I/VelvetPresenter(11016): Resuming with current state.
giovanni645 said:
This is what happens, in the latest apk, that has hotword detection on while charging. So it wakes up from sleep and goes straight into listening for a command.
Can we initialize the same process using tasker for the bluetooth button pressed?
HTML:
I/HotwordRecognitionRnr(11016): Hotword detection finished
I/HotwordWorker(11016): #onHotwordDetected
I/MicrophoneInputStream(11016): mic_close [email protected]
I/Sdch.Manager(11016): SDCH cache load complete.
I/MediaFocusControl( 748): AudioFocus requestAudioFocus() from android.media.
[email protected]@42687a08
V/KeyguardHostView( 914): hide transport, gen:160
I/AudioRouter(11016): ROUTE_NONE->ROUTE_BLUETOOTH_PREFERRED,CONNECTION_TYPE_NONE
->CONNECTION_TYPE_BVRA
D/BluetoothManagerService( 748): Message: 20
D/BluetoothManagerService( 748): Added callback: android.bluetooth.IBluetoothMa
[email protected]:true
D/BluetoothManagerService( 748): Message: 30
V/Avrcp ( 2450): New genId = 160, clearing = 1
I/HotwordRecognitionRnr(11016): Stopping hotword detection.
I/ActivityManager( 748): START u0 {act=android.intent.action.MAIN flg=0x1401000
0 cmp=com.google.android.googlequicksearchbox/com.google.android.velvet.ui.Velve
tLockscreenActivity (has extras)} from pid 11016
D/dalvikvm(11016): GC_FOR_ALLOC freed 241K, 3% free 19086K/19644K, paused 10ms,
total 15ms
I/dalvikvm-heap(11016): Grow heap (frag case) to 18.973MB for 320016-byte alloca
tion
D/dalvikvm(11016): GC_FOR_ALLOC freed <1K, 3% free 19398K/19960K, paused 11ms, t
otal 11ms
I/MicrophoneInputStream(11016): mic_starting [email protected]
I/IcingCorporaProvider(11016): Updating corpora: APPS=NONE, CONTACTS=DELTA
D/dalvikvm(11016): Trying to load lib /data/app-lib/com.google.android.googlequi
cksearchbox-2/libgoogle_recognizer_jni_l.so 0x42622448
D/BluetoothHeadset(11016): Proxy object connected
I/BluetoothController(11016): No BT device
D/audio_hw_primary( 185): out_set_parameters: enter: usecase(1: low-latency-pla
yback) kvpairs: routing=2
D/audio_hw_primary( 185): select_devices: out_snd_device(0: ) in_snd_device(35:
voice-rec-mic)
D/ ( 185): Failed to fetch the lookup information of the device 0000003E
E/ACDB-LOADER( 185): Error: ACDB AudProc vol returned = -19
I/OMXClient(11016): Using client-side OMX mux.
D/dalvikvm(11016): Added shared lib /data/app-lib/com.google.android.googlequick
searchbox-2/libgoogle_recognizer_jni_l.so 0x42622448
W/Search.SearchUrlHelper(11016): URL param or header written twice. Key: pws, ol
d value: "0" new value: "0"
W/Search.SearchUrlHelper(11016): java.lang.Throwable
W/Search.SearchUrlHelper(11016): at bmz.b(PG:2336)
W/Search.SearchUrlHelper(11016): at bmz.O(PG:2343)
W/Search.SearchUrlHelper(11016): at bmz.dy(PG:2553)
W/Search.SearchUrlHelper(11016): at bmy.a(PG:1152)
W/Search.SearchUrlHelper(11016): at bmy.a(PG:1010)
W/Search.SearchUrlHelper(11016): at gut.a(PG:37)
W/Search.SearchUrlHelper(11016): at gvc.kb(PG:82)
W/Search.SearchUrlHelper(11016): at gvd.asM(PG:38)
W/Search.SearchUrlHelper(11016): at fgj.call(PG:28)
W/Search.SearchUrlHelper(11016): at java.util.concurrent.FutureTask.run(F
utureTask.java:237)
W/Search.SearchUrlHelper(11016): at java.util.concurrent.ScheduledThreadP
oolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
W/Search.SearchUrlHelper(11016): at java.util.concurrent.ScheduledThreadP
oolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
W/Search.SearchUrlHelper(11016): at java.util.concurrent.ThreadPoolExecut
or.runWorker(ThreadPoolExecutor.java:1112)
W/Search.SearchUrlHelper(11016): at java.util.concurrent.ThreadPoolExecut
or$Worker.run(ThreadPoolExecutor.java:587)
W/Search.SearchUrlHelper(11016): at java.lang.Thread.run(Thread.java:841)
W/Search.SearchUrlHelper(11016): at did.run(PG:46)
E/OMXMaster(11016): A component of name 'OMX.qcom.audio.decoder.aac' already exi
sts, ignoring this one.
D/dalvikvm(11016): GC_CONCURRENT freed 924K, 5% free 19334K/20292K, paused 3ms+4
ms, total 34ms
D/dalvikvm(11016): WAIT_FOR_CONCURRENT_GC blocked 21ms
I/Greco3EngineManager(11016): create_rm: m=GRAMMAR,l=en-US
D/dalvikvm( 1223): GC_CONCURRENT freed 906K, 9% free 19080K/20816K, paused 2ms+2
ms, total 25ms
D/dalvikvm( 1223): WAIT_FOR_CONCURRENT_GC blocked 19ms
D/dalvikvm( 1223): WAIT_FOR_CONCURRENT_GC blocked 21ms
D/dalvikvm(11016): GC_FOR_ALLOC freed 211K, 3% free 19842K/20292K, paused 12ms,
total 12ms
I/Greco3EngineManager(11016): Brought up new g3 instance :/system/usr/srec/en-US
/grammar.config for: en-USin: 29 ms
D/dalvikvm(11016): GC_FOR_ALLOC freed 17K, 3% free 20331K/20784K, paused 13ms, t
otal 13ms
D/ConnectivityService( 748): startUsingNetworkFeature reconnecting to 0: enable
SUPL
D/ConnectivityService( 748): startUsingNetworkFeature X: return APN_REQUEST_STA
RTED
E/LocSvc_eng( 748): W/AgpsReleasedState: unrecognized event 3
D/ConnectivityService( 748): stopUsingNetworkFeature: teardown net 0: enableSUP
L
D/MobileDataStateTracker( 748): supl: Broadcast received: android.intent.action
.ANY_DATA_STATE apnType=supl
D/MobileDataStateTracker( 748): supl: Received state=CONNECTING, old=DISCONNECT
ED, reason=dataEnabled
D/MobileDataStateTracker( 748): supl: setDetailed state, old =IDLE and new stat
e=CONNECTING
D/MobileDataStateTracker( 748): fota: Broadcast received: android.intent.action
.ANY_DATA_STATE apnType=fota
D/MobileDataStateTracker( 748): fota: Received state=DISCONNECTED, old=DISCONNE
CTED, reason=dataEnabled
D/MobileDataStateTracker( 748): dun: Broadcast received: android.intent.action.
ANY_DATA_STATE apnType=dun
D/MobileDataStateTracker( 748): dun: Received state=DISCONNECTED, old=DISCONNEC
TED, reason=dataEnabled
D/MobileDataStateTracker( 748): ia: Broadcast received: android.intent.action.A
NY_DATA_STATE apnType=ia
D/MobileDataStateTracker( 748): ia: Received state=DISCONNECTED, old=DISCONNECT
ED, reason=dataEnabled
D/dalvikvm(11016): GC_FOR_ALLOC freed 10K, 2% free 21193K/21492K, paused 14ms, t
otal 14ms
D/MobileDataStateTracker( 748): hipri: Broadcast received: android.intent.actio
n.ANY_DATA_STATE apnType=hipri
D/MobileDataStateTracker( 748): hipri: Received state=DISCONNECTED, old=DISCONN
ECTED, reason=dataEnabled
D/MobileDataStateTracker( 748): ims: Broadcast received: android.intent.action.
ANY_DATA_STATE apnType=ims
D/MobileDataStateTracker( 748): ims: Received state=DISCONNECTED, old=DISCONNEC
TED, reason=dataEnabled
D/MobileDataStateTracker( 748): default: Broadcast received: android.intent.act
ion.ANY_DATA_STATE apnType=default
D/MobileDataStateTracker( 748): default: Received state=DISCONNECTED, old=DISCO
NNECTED, reason=dataEnabled
D/MobileDataStateTracker( 748): mms: Broadcast received: android.intent.action.
ANY_DATA_STATE apnType=mms
D/MobileDataStateTracker( 748): mms: Received state=DISCONNECTED, old=DISCONNEC
TED, reason=dataEnabled
D/MobileDataStateTracker( 748): cbs: Broadcast received: android.intent.action.
ANY_DATA_STATE apnType=cbs
D/dalvikvm( 1072): GC_CONCURRENT freed 494K, 4% free 18114K/18780K, paused 3ms+2
ms, total 27ms
D/MobileDataStateTracker( 748): cbs: Received state=DISCONNECTED, old=DISCONNEC
TED, reason=dataEnabled
W/GLSUser ( 1185): GoogleAccountDataService.getToken()
W/GLSUser ( 1185): GoogleAccountDataService.getToken()
W/GLSUser ( 1185): GoogleAccountDataService.getToken()
D/dalvikvm( 1057): GC_CONCURRENT freed 627K, 7% free 18877K/20284K, paused 1ms+4
ms, total 26ms
D/dalvikvm(11016): GC_CONCURRENT freed 151K, 2% free 22449K/22712K, paused 11ms+
5ms, total 31ms
I/Adreno-EGL(11016): <qeglDrvAPI_eglInitialize:320>: EGL 1.4 QUALCOMM Build: I04
04c4692afb8623f95c43aeb6d5e13ed4b30ddbDate: 11/06/13
D/dalvikvm( 1086): GC_CONCURRENT freed 384K, 3% free 16745K/17176K, paused 2ms+2
ms, total 16ms
D/PhoneStatusBar( 914): disable: < EXPAND icons alerts TICKER system_info back*
home* RECENT clock search >
D/OpenGLRenderer(11016): Enabling debug mode 0
W/IInputConnectionWrapper(11016): showStatusIcon on inactive InputConnection
I/ActivityManager( 748): Displayed com.google.android.googlequicksearchbox/com.
google.android.velvet.ui.VelvetLockscreenActivity: +608ms (total +611ms)
V/KeyguardServiceDelegate( 748): onScreenTurnedOn(showListener = com.android.in
[email protected])
D/SurfaceFlinger( 182): Screen acquired, type=0 flinger=0xb7da5450
D/qdhwcomposer( 182): hwc_blank: Unblanking display: 0
I/PowerManagerService( 748): Waking up from sleep...
V/KeyguardServiceDelegate( 748): **** SHOWN CALLED ****
I/WindowManager( 748): No lock screen! [email protected]
838
D/dalvikvm( 748): GC_EXPLICIT freed 676K, 25% free 51379K/67720K, paused 3ms+11
ms, total 128ms
D/qdhwcomposer( 182): hwc_blank: Done unblanking display: 0
D/SurfaceControl( 748): Excessive delay in unblankDisplay() while turning scree
n on: 238ms
D/DisplayPowerController( 748): Unblocked screen on after 96822777 ms
I/ActivityManager( 748): Process com.google.android.calendar (pid 10121) has di
ed.
I/VelvetPresenter(11016): setupFromIntent(Intent { act=android.intent.action.MAI
N flg=0x14010000 cmp=com.google.android.googlequicksearchbox/com.google.android.
velvet.ui.VelvetLockscreenActivity (has extras) })
I/VelvetPresenter(11016): Resuming with current state.
Click to expand...
Click to collapse
also, came across this while trying - not possible through tasker eh? -
W/Tasker ( 4242): 15.10.09#Utils: warning: startActivityWrapper: unexpected exc
eption: java.lang.SecurityException: Permission Denial: starting Intent { act=an
droid.intent.action.VIEW cat=[android.intent.category.LAUNCHER] flg=0x30800004 c
mp=com.google.android.googlequicksearchbox/com.google.android.velvet.ui.VelvetLo
ckscreenActivity } from ProcessRecord{43506488 4242:net.dinglisch.android.tasker
m/u0a263} (pid=4242, uid=10263) not exported from uid 10023
I/MusicLeanback( 6024): Conditions not met for autocaching.
I/ActivityManager( 748): START u0 {act=android.intent.action.VIEW cat=[android.
intent.category.LAUNCHER] flg=0x30800004 cmp=com.google.android.googlequicksearc
hbox/com.google.android.velvet.ui.VelvetLockscreenActivity} from pid 4242
W/ActivityManager( 748): Permission Denial: starting Intent { act=android.inten
t.action.VIEW cat=[android.intent.category.LAUNCHER] flg=0x30800004 cmp=com.goog
le.android.googlequicksearchbox/com.google.android.velvet.ui.VelvetLockscreenAct
ivity } from ProcessRecord{43506488 4242:net.dinglisch.android.taskerm/u0a263} (
pid=4242, uid=10263) not exported from uid 10023

[GUIDE] How To Port FIUI to Any Device

Hello everyone!
I'm here again to put together a detailed guide on "How To Port FIUI", which is a ROM that's improving each day with an iOS-based interface and CM11-based system.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
FIUI is a Chinese ROM based off of CyanogenMod. The Future Interface UI is made by the AZ Fuga Team!
FIUI's concept is simple: Remove redundant features that bloat up the system, maximize functionality, all the while maintaining a gorgeous UI!
Click to expand...
Click to collapse
This guide is applicable to any device and FIUI version.
Click to expand...
Click to collapse
Having said that, let's start!
1. Understanding Porting:
What you'll need:
WinRAR
Notepad++ (recommended; wordpad is ok)
Basic knowledge about copy-paste
Click to expand...
Click to collapse
First of all, you need to know some concepts:
Base ROM:
The ROM which is developed for your device. Important: due to FIUI is CM11 based, you could only use CyanogenMod 11 as base ROM.
Click to expand...
Click to collapse
Port ROM:
The ROM which you want to port to your device. In this case: FIUI (Doesn't matter for which device is made)
Click to expand...
Click to collapse
Once we've learnt that. Let's prepare everything to start working.
2. Setting Up the Environment:
Time to organize files and folders before start porting. :highfive:
Step 1:
Create to different folders in your favourite directory:
CM11 (Base ROM)
FIUI (Port ROM)
Click to expand...
Click to collapse
Step 2:
Take any CM11 which is running on your device and extract it WinRAR. Copy it content in CM11 folder.
Then, do the same with FIUI ROM, pasting it content in FIUI folder.
Click to expand...
Click to collapse
Having done that, you're prepared to port! :laugh:
3. Porting the ROM:
Here's the "difficult" part of this guide.
Firstly, delete those folders of Base ROM
system/app
system/media
system/priv-app
And replace them with "App", "Media" and "Priv-app" folders from Port ROM (FIUI)
Click to expand...
Click to collapse
In FIUI, go to system/etc/permissions folder and look for com.htc.software.market.xml. If it's available, copy it to system/etc/permissions folder of CM11
Do the same procedure with libAppDataSearch.so, which should be located in system/lib folder of FIUI.
*Remember: it doesn't matter if you don't find those files on FIUI ROM*
Click to expand...
Click to collapse
From FIUI, copy "su" file, located at system/xbin. Paste it in system/xbin folder of CM11 and replace it.
Click to expand...
Click to collapse
In CM and FIUI, open framework-res.apk (located at system/framework) with WinRAR, and navigate to the res/xml folder (in both files).
Now, move those files directly from CM11 framework-res.apk into FIUI framework-res.apk :
eri.xml
storage_list.xml
apn.xml
power-profile.xml
One you've done that, copy system/framework folder from FIUI and paste it into CM11 folder. Attention: choose combine content, and replace when asked.
Click to expand...
Click to collapse
Open build.prop of CM11 folder with Notepad++. Paste this code at the bottom of the file:
Code:
#fiui build
fiui.ver.name=beta_x.xx.
fiui.ver=1
fiui.navbar=0
fiui.traffic=1
Change the values according to the FIUI version that you're porting.
Click to expand...
Click to collapse
After that, you've finished the hard work.
4. Repacking the ROM:
Finally, go to CM11 folder and select all the content (Meta-INF, boot.img, system, etcetera) and zip them using WinRAR. Now flash it and enjoy a Future Interactive UI :highfive:
Click to expand...
Click to collapse
Done. You've ported FIUI to your device!​
Press thanks if I help you
Click to expand...
Click to collapse
Code:
Don't copy my work without my permission.
I'll be adding screenshots of the procedure for noobs
Click to expand...
Click to collapse
Unfortulately process com.android.systemui has stopped.
@JavierAlonso Can you give me a link to one of the builds?? I really dont read Chinese
MSF Jarvis said:
@JavierAlonso Can you give me a link to one of the builds?? I really dont read Chinese
Click to expand...
Click to collapse
This ROM is the one i used: http://forum.xda-developers.com/galaxy-s3/development/rom-fiui-2-9-0-t3025670
Newbeen said:
Unfortulately process com.android.systemui has stopped.
Click to expand...
Click to collapse
Maybe it's due to the base ROM you've chosen. Also you can try to get logcat.
JavierAlonso said:
This ROM is the one i used: http://forum.xda-developers.com/galaxy-s3/development/rom-fiui-2-9-0-t3025670
Click to expand...
Click to collapse
Thanks man. Will let you know when I do the porting and will link to the thread also
Sent from my HTC Explorer A310e using Tapatalk
thanks man , this guide is good , i took cm armani and took fiui from moto g which was already ported by some one for moto g, the rom is looking quite good . but i m facing problem that SIM are not working , what would you suggest ?
status -
wifi - working ,
soft touch buttons - working
hardware buttons - working
sim -NOT working
mic - working.
MSF Jarvis said:
@JavierAlonso Can you give me a link to one of the builds?? I really dont read Chinese
Click to expand...
Click to collapse
I can help you ,my email :[email protected] com
---------- Post added at 04:16 PM ---------- Previous post was at 04:14 PM ----------
支持支持!
SIMs are not working any solution ?
heliusjing said:
I can help you ,my email :[email protected] com
---------- Post added at 04:16 PM ---------- Previous post was at 04:14 PM ----------
支持支持!
Click to expand...
Click to collapse
Thanks, but I found one and ported using it too.
manuhackzzz said:
SIMs are not working any solution ?
Click to expand...
Click to collapse
Do they work on the base ROM?
MSF Jarvis said:
Thanks, but I found one and ported using it too.
Do they work on the base ROM?
Click to expand...
Click to collapse
sorry my bad , SIMs are working perfectly fine , just later figured out that all i had to do was to enable both sim in sim management . well thank you for your concern .. you are a good dev , I appreciate it .
anyone succeeded with this guide? i want to port fiui for my xperia m
poran123 said:
anyone succeeded with this guide? i want to port fiui for my xperia m
Click to expand...
Click to collapse
I have ported it to my device but haven't opened a thread on XDA.
MSF Jarvis said:
I have ported it to my device but haven't opened a thread on XDA.
Click to expand...
Click to collapse
which device you got and from where you ported.... please tell me.. i want to port to my xperia m..
poran123 said:
which device you got and from where you ported.... please tell me.. i want to port to my xperia m..
Click to expand...
Click to collapse
Which device doesn't matter, but for FIUI ROM, please check the first page where OP has provided the link in the 4th post.
Thanks a lot for this guide. :good: I have successfullly ported this rom to my s4 mini. Everything is good, but I always get system ui error. How can I fix this problem?
Code:
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82c9d30 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82c9f50 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ca090 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ca1b8 on ou
tput port
W/AwesomePlayer( 326): Trying to create tunnel player mIsTunnelAudio 0,
LPAPlayer::mObjectsAlive 0, TunnelPlayer::mTunnelObjectsAlive =
0, (mAudioPlayer == NULL) 1
E/AwesomePlayer( 326): LPAPlayer::Clip duration setting of less than 30sec not
supported, defaulting to 60sec
D/AudioPlayer( 326): start of Playback, useOffload 0
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82c9d30 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82c9f50 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ca090 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ca1b8 successful
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocating 4 buffers of size 3276
8 on output port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82d73a0 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82d74a8 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82d75e8 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ca468 on ou
tput port
D/BluetoothManagerService( 722): Message: 20
D/BluetoothManagerService( 722): Added callback: android.bluetooth.IBluetoothMa
[email protected]:true
D/BluetoothAdapter( 1876): 1102105064: getState() : mService = null. Returning
STATE_OFF
D/BluetoothAdapter( 1876): 1102105064: getState() : mService = null. Returning
STATE_OFF
D/AudioPlayer( 326): Pause Playback at 30
D/AudioPlayer( 326): reset: mPlaying=0 mReachedEOS=1 useOffload=0
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82c9be8 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82c9b30 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82c9a60 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82caca0 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ca468 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82d75e8 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82d74a8 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82d73a0 successful
I/ExtendedUtils( 326): AV Sync late margin : Intended=40ms Using=0ms
D/AwesomePlayer( 326): Before reset_l
D/ExtendedUtils( 326): printFileName fd(23) -> /system/media/audio/ui/Unlock.og
g
D/PhoneStatusBar( 1876): mSettingsPanelGravity = 55
I/StatusBarManagerService( 722): registerStatusBar bar=com.android.internal.sta
[email protected]
D/ExtendedUtils( 326): extended extractor not needed, return default
D/AwesomePlayer( 326): Tunnel Mime Type: audio/vorbis, object alive = 0, mTunne
lAliveAP = 0
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
D/AwesomePlayer( 326): maxPossible tunnels = 1
D/AwesomePlayer( 326): Normal Audio Playback
E/AwesomePlayer( 326): LPAPlayer::Clip duration setting of less than 30sec not
supported, defaulting to 60sec
D/OMXCodec( 326): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
I/OMXCodec( 326): Codec outputs a different number of channels than the input s
tream contains (contains 2 channels, codec outputs 1 channels).
I/AwesomePlayer( 326): Could not offload audio decode, try pcm offload (16-bit)
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocating 4 buffers of size 8192
on input port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82cb0a8 on in
put port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ce860 on in
put port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ccad0 on in
put port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ccb88 on in
put port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocating 4 buffers of size 3276
8 on output port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ccd10 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ccf68 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82cd0a8 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82cd1d0 on ou
tput port
W/AwesomePlayer( 326): Trying to create tunnel player mIsTunnelAudio 0,
LPAPlayer::mObjectsAlive 0, TunnelPlayer::mTunnelObjectsAlive =
0, (mAudioPlayer == NULL) 1
E/AwesomePlayer( 326): LPAPlayer::Clip duration setting of less than 30sec not
supported, defaulting to 60sec
D/AudioPlayer( 326): start of Playback, useOffload 0
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ccd10 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ccf68 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82cd0a8 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82cd1d0 successful
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocating 4 buffers of size 3276
8 on output port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ccbe0 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82d6288 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82cce40 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ccf68 on ou
tput port
D/AudioPlayer( 326): Pause Playback at 0
D/AudioPlayer( 326): reset: mPlaying=0 mReachedEOS=1 useOffload=0
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ccb88 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ccad0 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ce860 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82cb0a8 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ccf68 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82cce40 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82d6288 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ccbe0 successful
V/NFC ( 1876): this device does not have NFC support
I/QuickSettingsController( 1876): Default tiles being loaded
I/QuickSettingsController( 1876): Tiles list: toggleAirplane|toggleBluetooth|tog
gleMobileData|toggleWifi|toggleBrightness|toggleSettings|toggleAutoRotate|toggle
GPS|toggleFlashlight|toggleWifiAp
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
D/Tethering( 722): exception when get active network info:java.lang.NullPointer
Exception
D/Tethering( 722): exception when get active network info:java.lang.NullPointer
Exception
E/MediaFocusControl( 722): Error updating focussed RCC to RCD
E/MediaFocusControl( 722): java.util.EmptyStackException
E/MediaFocusControl( 722): at java.util.Stack.peek(Stack.java:57)
E/MediaFocusControl( 722): at android.media.MediaFocusControl.registerRemot
eControlDisplay_int(MediaFocusControl.java:2238)
E/MediaFocusControl( 722): at android.media.MediaFocusControl.registerRemot
eController(MediaFocusControl.java:217)
E/MediaFocusControl( 722): at android.media.AudioService.registerRemoteCont
roller(AudioService.java:4541)
E/MediaFocusControl( 722): at android.media.IAudioService$Stub.onTransact(I
AudioService.java:614)
E/MediaFocusControl( 722): at android.os.Binder.execTransact(Binder.java:40
4)
E/MediaFocusControl( 722): at dalvik.system.NativeStart.run(Native Method)
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
D/Tethering( 722): exception when get active network info:java.lang.NullPointer
Exception
I/QuickSettingsController( 1876): Default tiles being loaded
I/QuickSettingsController( 1876): Tiles list: toggleAirplane|toggleBluetooth|tog
gleMobileData|toggleWifi|toggleBrightness|toggleSettings|toggleAutoRotate|toggle
GPS|toggleFlashlight|toggleWifiAp
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
D/PhoneStatusBar( 1876): disable: < EXPAND* icons alerts ticker system_info BACK
* HOME* RECENT* clock SEARCH* >
D/Sensors ( 722): LightSensor readEvents x = 28.000000, raw = 28
D/NotificationRowLayout( 1876): view added: com.android.systemui.statusbar.Expan
dableNotificationRow{41d872f0 V.E..... ......I. 0,0-0,0}; new count: 1
D/BluetoothAdapter( 1876): 1102105064: getState() : mService = null. Returning
STATE_OFF
D/BluetoothAdapter( 1876): 1102105064: getState() : mService = null. Returning
STATE_OFF
D/PhoneStatusBar( 1876): heads up is disabled
W/com.android.server.ThemeService( 722): Not setting lockscreen wp because wall
paper file was not found.
I/Adreno-EGL( 1876): <qeglDrvAPI_eglInitialize:381>: EGL 1.4 QUALCOMM build: AU_
LINUX_ANDROID_KK_2.7_RB1.04.04.04.007.064_msm8960_KK_2.7_RB1__release_AU ()
I/Adreno-EGL( 1876): OpenGL ES Shader Compiler Version: 17.01.12.SPL
I/Adreno-EGL( 1876): Build Date: 07/01/14 Tue
I/Adreno-EGL( 1876): Local Branch:
I/Adreno-EGL( 1876): Remote Branch: quic/kk_2.7_rb1.41
I/Adreno-EGL( 1876): Local Patches: NONE
I/Adreno-EGL( 1876): Reconstruct Branch: AU_LINUX_ANDROID_KK_2.7_RB1.04.04.04.00
7.064 + NOTHING
E/com.android.server.ThemeService( 722): Could not find any audio assets
E/com.android.server.ThemeService( 722): Could not find any audio assets
D/Sensors ( 722): LightSensor readEvents x = 28.000000, raw = 28
D/Sensors ( 722): activate: acc_enable=1, mag_enable=0
D/Sensors ( 722): activate: handle=4, enabled=0
D/Sensors ( 722): LightSensor enable = 0
D/Sensors ( 722): LightSensor enableSensor = 0
I/PowerManagerService( 722): Going to sleep by user request...
E/com.android.server.ThemeService( 722): Could not find any audio assets
I/ThermalDaemon( 331): Sensor 'tsens_tz_sensor0' - alarm raised 1 at 52.0 degC
E/MediaFocusControl( 722): Error updating focussed RCC to RCD
E/MediaFocusControl( 722): java.util.EmptyStackException
E/MediaFocusControl( 722): at java.util.Stack.peek(Stack.java:57)
E/MediaFocusControl( 722): at android.media.MediaFocusControl.registerRemot
eControlDisplay_int(MediaFocusControl.java:2238)
E/MediaFocusControl( 722): at android.media.MediaFocusControl.registerRemot
eControlDisplay(MediaFocusControl.java:230)
E/MediaFocusControl( 722): at android.media.AudioService.registerRemoteCont
rolDisplay(AudioService.java:4545)
E/MediaFocusControl( 722): at android.media.IAudioService$Stub.onTransact(I
AudioService.java:593)
E/MediaFocusControl( 722): at android.os.Binder.execTransact(Binder.java:40
4)
E/MediaFocusControl( 722): at dalvik.system.NativeStart.run(Native Method)
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
I/Choreographer( 1876): Skipped 99 frames! The application may be doing too muc
h work on its main thread.
E/com.android.server.ThemeService( 722): Could not find any font assets
I/Adreno-EGL( 1876): <qeglDrvAPI_eglInitialize:381>: EGL 1.4 QUALCOMM build: AU_
LINUX_ANDROID_KK_2.7_RB1.04.04.04.007.064_msm8960_KK_2.7_RB1__release_AU ()
I/Adreno-EGL( 1876): OpenGL ES Shader Compiler Version: 17.01.12.SPL
I/Adreno-EGL( 1876): Build Date: 07/01/14 Tue
I/Adreno-EGL( 1876): Local Branch:
I/Adreno-EGL( 1876): Remote Branch: quic/kk_2.7_rb1.41
I/Adreno-EGL( 1876): Local Patches: NONE
I/Adreno-EGL( 1876): Reconstruct Branch: AU_LINUX_ANDROID_KK_2.7_RB1.04.04.04.00
7.064 + NOTHING
D/OpenGLRenderer( 1876): Enabling debug mode 0
D/Tethering( 722): exception when get active network info:java.lang.NullPointer
Exception
D/SurfaceFlinger( 323): Screen released, type=0 flinger=0xb7d004e0
D/qdhwcomposer( 323): hwc_blank: Blanking display: 0
D/qdhwcomposer( 323): hwc_blank: Done blanking display: 0
D/SurfaceControl( 722): Excessive delay in blankDisplay() while turning screen
off: 404ms
I/ThermalDaemon( 331): Sensor 'tsens_tz_sensor0' - alarm cleared 1 at 46.0 degC
D/Sensors ( 722): activate: acc_enable=0, mag_enable=0
D/Sensors ( 722): activate: handle=0, enabled=0
D/com.android.server.ThemeService( 722): Force stopping org.fiui.launcher for t
heme change
I/ActivityManager( 722): Force stopping org.fiui.launcher appid=10016 user=0: f
rom pid 722
I/ActivityManager( 722): Killing 1289:org.fiui.launcher/u0a16 (adj 0): stop org
.fiui.launcher
I/WindowState( 722): WIN DEATH: Window{41e3cfb0 u0 org.fiui.launcher/org.cyanog
enmod.trebuchet.CustomHomeLauncher}
D/PhoneStatusBar( 1876): disable: < EXPAND icons alerts ticker system_info BACK
HOME RECENT CLOCK* SEARCH >
I/ActivityManager( 722): Force finishing activity ActivityRecord{41dc6ce8 u0
org.fiui.launcher/org.cyanogenmod.trebuchet.CustomHomeLauncher t2}
I/ActivityManager( 722): START u0 {act=android.intent.action.MAIN cat=[android.
intent.category.HOME] flg=0x10000000 cmp=org.fiui.launcher/org.cyanogenmod.trebu
chet.CustomHomeLauncher} from pid 0
V/Zygote ( 1919): Switching descriptor 34 to /dev/null
V/Zygote ( 1919): Switching descriptor 10 to /dev/null
I/ActivityManager( 722): Start proc org.fiui.launcher for activity org.fiui.lau
ncher/org.cyanogenmod.trebuchet.CustomHomeLauncher: pid=1919 uid=10016 gids={500
16, 1028}
I/Choreographer( 1876): Skipped 39 frames! The application may be doing too muc
h work on its main thread.
D/ActivityThread( 1919): handleBindApplication:org.fiui.launcher
D/ActivityThread( 1919): setTargetHeapUtilization:0.75
D/ActivityThread( 1919): setTargetHeapMinFree:2097152
D/Launcher.LauncherProvider( 1919): 11683562 - initializeMaxScreenId(): 1
V/Launcher( 1919): LauncherAppState inited
E/ActivityThread( 1919): Failed to find provider info for com.android.launcher2.
settings
W/Launcher( 1919): setApplicationContext called twice! old=com.android.launcher3
[email protected] [email protected]
1190
C:\adb\progbin>
I've ported fiui to my Galaxy star pro/plus, but right after it boots into the OS, it says "Power off: shutting down". Has anyone had this problem before?
Sent from my Q5 using XDA Free mobile app
_Matsiev_ said:
Thanks a lot for this guide. :good: I have successfullly ported this rom to my s4 mini. Everything is good, but I always get system ui error. How can I fix this problem?
Click to expand...
Click to collapse
Please use a paste service to put up the logcat, avoiding directly pasting it into your post. pastie.org and hastebin.com are good paste sites you can use.
Sent from my Pixel V1 using XDA Labs
im doing smth wrong
but idk what's exectly wrong
may somene help me, please?
---------
upd
Now i stuck on logo after app lunch
Unable to edit framework-res.apk kindly mention in more detail
Sent from my SM-G7102 using Tapatalk[/QUOTE]
Sent from my SM-G7102 using Tapatalk

[Pixel2] Help me diagnose android.process.media using 100%CPU

Hi,
I was trying to find out why my Pixel2 [stock, unrooted android Pie] battery gets used soo quickly. Reboot didn't resolve anything.
The battery info page in the settings itself doesn't really show any info. However, if I run 'top' in an adb shell, it seems that android.process.media is consuming all of 1 CPU (in kernel space, this is why it might not show up in the battery usage report) :
Tasks: 707 total, 1 running, 704 sleeping, 0 stopped, 0 zombie
Mem: 3744240k total, 3666632k used, 77608k free, 73852k buffers
Swap: 524284k total, 151760k used, 372524k free, 1559284k cached
800%cpu 11%user 1%nice 102%sys 684%idle 1%iow 0%irq 0%sirq 0%host
PID USER PR NI VIRT RES SHR S[%CPU] %MEM TIME+ ARGS
20289 u0_a34 20 0 3.5G 75M 37M S 99.3 2.0 101:16.55 android.process.media
27121 shell 20 0 11M 2.9M 1.6M R 6.3 0.0 0:00.34 top
2203 u0_a12 16 -4 4.3G 266M 175M S 6.3 7.2 10:38.35 com.google.android.gms
19180 u0_i11 20 0 1.0G 56M 43M S 4.3 1.5 5:38.55 com.android.chrome:sandboxed_process0
609 system 12 -8 2.0G 17M 12M S 4.3 0.4 7:42.78 surfaceflinger
25632 root 20 0 0 0 0 S 1.0 0.0 0:03.31 [kworker/u16:5]
Here's the logcat, grepping for relevant info (process name, user name & PID) :
$ grep 'android.process.media\|u0.\?a34\|20289\|Mtp' logcat.txt
11-05 17:55:47.336 1157 1169 I ActivityManager: Killing 14978:android.process.media/u0a34 (adj 906): empty #17
11-05 19:42:17.127 1157 1202 I ActivityManager: Start proc 20289:android.process.media/u0a34 for broadcast com.android.providers.media/.MtpReceiver
11-05 19:43:42.676 1157 1202 I ActivityManager: Start proc 21970:com.android.mtp/u0a34 for content provider com.android.mtp/.MtpDocumentsProvider
11-05 19:52:49.336 1157 1472 I ActivityManager: Killing 21970:com.android.mtp/u0a34 (adj 906): empty #17
11-05 21:10:35.679 20289 20310 E MtpServer: request read returned -1, errno: 108
11-05 21:10:56.904 20289 20289 D MtpService: starting MTP server in MTP mode with storage /storage/emulated/0 unlocked as user 0
11-05 21:10:56.910 20289 20289 V MtpService: Adding MTP storage:/storage/emulated/0
11-05 21:11:18.360 20289 26156 E MtpServer: request read returned -1, errno: 108
11-05 21:11:18.960 20289 20289 D MtpService: starting MTP server in PTP mode with storage /storage/emulated/0 unlocked as user 0
11-05 21:11:18.965 20289 20289 V MtpService: Adding MTP storage:/storage/emulated/0
11-05 21:11:29.673 20289 26170 E MtpServer: request read returned -1, errno: 108
11-05 21:11:30.223 20289 20289 D MtpService: starting MTP server in MTP mode with storage /storage/emulated/0 unlocked as user 0
11-05 21:11:30.227 20289 20289 V MtpService: Adding MTP storage:/storage/emulated/0
11-05 21:12:12.101 20289 26176 E MtpServer: request read returned -1, errno: 108
11-05 21:12:51.644 20289 20289 D MtpService: starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
11-05 21:12:58.994 20289 26357 E MtpServer: request read returned -1, errno: 108
11-05 21:12:59.584 20289 20289 D MtpService: starting MTP server in MTP mode with storage /storage/emulated/0 unlocked as user 0
11-05 21:12:59.588 20289 20289 V MtpService: Adding MTP storage:/storage/emulated/0
11-05 21:15:44.399 20289 26367 E MtpServer: request read returned -1, errno: 108
11-05 21:15:44.413 20289 20297 W System : A resource failed to call close.
11-05 21:15:44.413 20289 20297 W System : A resource failed to call close.
11-05 21:15:44.414 20289 20297 I chatty : uid=10034(com.android.providers.media) FinalizerDaemon identical 2 lines
11-05 21:15:44.414 20289 20297 W System : A resource failed to call close.
11-05 21:15:44.989 20289 20289 D MtpService: starting MTP server in MTP mode with storage /storage/emulated/0 unlocked as user 0
11-05 21:15:45.001 20289 20289 V MtpService: Adding MTP storage:/storage/emulated/0

Error 0x20: Unable set property ctl.interface_start to vendor.qti.hardware.cacert

On different Android-10 custom ROMs with stock vendor I get this error message every second in logcat.
Code:
11-05 11:38:38.927 478 3080 W libc : Unable to set property "ctl.interface_start" to "[email protected]::IService/default": error code: 0x20
11-05 11:38:38.927 478 3080 E hwservicemanager: Failed to set property for starting [email protected]::IService/default
11-05 11:38:39.925 1095 1137 W ServiceManagement: Waited one second for [email protected]::IService/default
11-05 11:38:39.926 1095 1137 I ServiceManagement: getService: Trying again for [email protected]::IService/default...
This happens as soon as the location button (in quick settings) is turned on and doesn't stop when location is turned off.
PID 1095 is xtra-daemon.

Categories

Resources