Skip to content

Instantly share code, notes, and snippets.

@lucasnpinheiro
Created July 10, 2019 20:10
Show Gist options
  • Select an option

  • Save lucasnpinheiro/7d2f706fbd9ead0e3d6728c7c892f498 to your computer and use it in GitHub Desktop.

Select an option

Save lucasnpinheiro/7d2f706fbd9ead0e3d6728c7c892f498 to your computer and use it in GitHub Desktop.
2019-07-10 17:06:45.343 932-1162/? I/ThermalEngine: handle_thresh_sig: TM Id SKIN-BATTERY-MONITOR Sensor xo_therm Temp 34000
2019-07-10 17:06:45.343 932-1162/? I/ThermalEngine: TM Id 'SKIN-BATTERY-MONITOR' Sensor 'xo_therm' - alarm raised 1 at 34.0 degC
2019-07-10 17:06:45.343 932-1162/? I/ThermalEngine: j=0 i=0 TM Id SKIN-BATTERY-MONITOR Sensor xo_therm: Action battery value 0
2019-07-10 17:06:45.460 703-3207/? E/ANDR-PERF-MPCTL: poll() has timed out for /sys/module/msm_performance/events/cpu_hotplug
2019-07-10 17:06:45.461 703-3207/? E/ANDR-PERF-MPCTL: Block on poll()
2019-07-10 17:06:48.465 703-3207/? E/ANDR-PERF-MPCTL: poll() has timed out for /sys/module/msm_performance/events/cpu_hotplug
2019-07-10 17:06:48.465 703-3207/? E/ANDR-PERF-MPCTL: Block on poll()
--------- beginning of system
2019-07-10 17:06:50.559 2184-6325/? I/ActivityManager: Killing 25630:com.android.chrome:sandboxed_process0/u0a117i33 (adj 0): isolated not needed
2019-07-10 17:06:50.560 2184-2201/? W/libprocessgroup: Failed to open process cgroup uid 99033 pid 25630: No such file or directory
2019-07-10 17:06:50.560 2184-2201/? E/libprocessgroup: Error encountered killing process cgroup uid 99033 pid 25630: No such file or directory
2019-07-10 17:06:50.636 2395-2395/? I/Zygote: Process 25630 exited due to signal (9)
2019-07-10 17:06:51.469 703-3207/? E/ANDR-PERF-MPCTL: poll() has timed out for /sys/module/msm_performance/events/cpu_hotplug
2019-07-10 17:06:51.469 703-3207/? E/ANDR-PERF-MPCTL: Block on poll()
2019-07-10 17:06:54.364 932-1162/? I/ThermalEngine: handle_thresh_sig: TM Id SKIN-BATTERY-MONITOR Sensor xo_therm Temp 33000
2019-07-10 17:06:54.364 932-1162/? I/ThermalEngine: TM Id 'SKIN-BATTERY-MONITOR' Sensor 'xo_therm' - alarm cleared 1 at 33.0 degC
2019-07-10 17:06:54.473 703-3207/? E/ANDR-PERF-MPCTL: poll() has timed out for /sys/module/msm_performance/events/cpu_hotplug
2019-07-10 17:06:54.473 703-3207/? E/ANDR-PERF-MPCTL: Block on poll()
2019-07-10 17:06:55.874 2184-2585/? W/BaseMiuiPhoneWindowManager: keyCode:3 down:true eventTime:41595504 downTime:41595504 policyFlags:2b000002 flags:48 deviceId:-1 isScreenOn:true keyguardActive:false repeatCount:0
2019-07-10 17:06:55.898 2184-2585/? W/BaseMiuiPhoneWindowManager: keyCode:3 down:false eventTime:41595532 downTime:41595504 policyFlags:2b000002 flags:48 deviceId:-1 isScreenOn:true keyguardActive:false repeatCount:0
2019-07-10 17:06:55.910 2184-2273/? I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.miui.home/.launcher.Launcher (has extras)} from uid 1000
2019-07-10 17:06:55.915 2184-2273/? D/ActivityTrigger: activityResumeTrigger: The activity in ApplicationInfo{3635259 com.miui.home} is now in focus and seems to be in full-screen mode
2019-07-10 17:06:55.915 2184-2273/? E/ActivityTrigger: activityResumeTrigger: not whiteListedcom.miui.home/com.miui.home.launcher.Launcher/40950896
2019-07-10 17:06:55.916 703-769/? E/ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
2019-07-10 17:06:55.917 2184-2273/? D/ActivityTrigger: ActivityTrigger activityPauseTrigger
2019-07-10 17:06:55.921 2413-2413/? W/HeadsUpManager: removeHeadsUpNotification() no heads up notification on show
2019-07-10 17:06:55.923 25914-25914/? D/CordovaActivity: Paused the activity.
2019-07-10 17:06:55.936 2413-2824/? I/KeyguardViewMediator: setOccluded false
2019-07-10 17:06:55.937 2413-2413/? D/FaceManagerImpl_client: inernational:true supportR:[ID, TW, SG, MY, VN, TH, RU, PL, HK, UA, GB, ES, BY, KZ, KG, TJ, UZ, TM, GE, AM, AZ, MD, MN, IT, KR, TR, SA, AE, IL, QA, BH, OM, KW, PH, CZ] nowR:BR
2019-07-10 17:06:55.938 2413-2413/? D/FaceManagerImpl_client: hasEnrolledFaces res:-2
2019-07-10 17:06:55.938 2413-2413/? D/MiuiBleUnlockHelper: verifyBLEDeviceRssi isShowingAndNotOccluded = false isHiding = false isDeviceInteractive = true
2019-07-10 17:06:55.938 5043-5054/? D/GameBoosterService: onGameStatusChange foreground:ForegroundInfo{mForegroundPackageName='com.miui.home', mForegroundUid=10034, mForegroundPid=2682, mLastForegroundPackageName='br.com.williarts.radio.radiojsvjornalismosimeaodovale168', mLastForegroundUid=10216, mLastForegroundPid=25914, mMultiWindowForegroundPackageName='null', mMultiWindowForegroundUid=-1, mFlags=0}
2019-07-10 17:06:55.939 2413-2413/? D/KeyguardViewMediator: adjustStatusBarLocked: mShowing=false mOccluded=false isSecure=true force=false --> flags=0x0
2019-07-10 17:06:55.943 2184-2273/? D/CompatibilityInfo: mCompatibilityFlags - 0
2019-07-10 17:06:55.944 2184-2273/? D/CompatibilityInfo: applicationDensity - 440
2019-07-10 17:06:55.944 2184-2273/? D/CompatibilityInfo: applicationScale - 1.0
2019-07-10 17:06:55.946 2682-2709/? D/Launcher: get showing item successnull
2019-07-10 17:06:55.946 2184-2273/? I/Timeline: Timeline: App_transition_ready time:41595581
2019-07-10 17:06:55.948 2184-2252/? I/Timeline: Timeline: App_transition_ready time:41595582
2019-07-10 17:06:55.949 2184-2585/? D/CompatibilityInfo: mCompatibilityFlags - 0
2019-07-10 17:06:55.949 2184-2585/? D/CompatibilityInfo: applicationDensity - 440
2019-07-10 17:06:55.949 2184-2585/? D/CompatibilityInfo: applicationScale - 1.0
2019-07-10 17:06:55.950 25914-25914/? D/CordovaWebViewImpl: >>> loadUrl(javascript:cordova.plugins.backgroundMode._setActive(true);cordova.plugins.backgroundMode.onactivate(null);cordova.plugins.backgroundMode.fireEvent('activate',null);)
2019-07-10 17:06:55.950 2413-2413/? D/StatusBar: recevie broadbcast ACTION_APPLICATION_MESSAGE_QUERY, requestFirstTime=false
2019-07-10 17:06:55.950 2682-2986/? I/RenderThread: RenderThread resumed
2019-07-10 17:06:55.950 2682-2986/? I/RenderThread: All controllers paused.
2019-07-10 17:06:55.950 2682-2986/? I/RenderThread: RenderThread paused, waiting for signal
2019-07-10 17:06:55.953 2682-2986/? I/RenderThread: RenderThread resumed
2019-07-10 17:06:55.953 2682-2986/? D/ScreenElementRoot: resume
2019-07-10 17:06:55.955 2682-2682/? E/Launcher.RecommendLog: folder display but only request when folder open
2019-07-10 17:06:55.957 2184-3323/? I/Timeline: Timeline: App_transition_ready time:41595591
2019-07-10 17:06:55.955 2682-2682/? E/Launcher.RecommendLog: folder display but only request when folder open
2019-07-10 17:06:55.958 2682-2850/? D/Launcher: disableStatusBarClock:true
2019-07-10 17:06:55.959 2413-2413/? D/StatusBar: disable<e i a s b h r C!s > disable2<q i n g r >
2019-07-10 17:06:55.960 2184-2198/? D/ActivityTrigger: ActivityTrigger activityStopTrigger
2019-07-10 17:06:55.963 2682-2986/? I/NotifierManager: onRegister: miui.maml.NotifierManager$MultiBroadcastNotifier@f3753db
2019-07-10 17:06:55.967 2184-2585/? W/ActivityManager: Permission Denial: startForeground from pid=25914, uid=10216 requires android.permission.FOREGROUND_SERVICE
2019-07-10 17:06:55.968 25914-25914/? D/AndroidRuntime: Shutting down VM
--------- beginning of crash
2019-07-10 17:06:55.969 25914-25914/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: br.com.williarts.radio.radiojsvjornalismosimeaodovale168, PID: 25914
java.lang.RuntimeException: Unable to create service de.appplant.cordova.plugin.background.ForegroundService: java.lang.SecurityException: Permission Denial: startForeground from pid=25914, uid=10216 requires android.permission.FOREGROUND_SERVICE
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3577)
at android.app.ActivityThread.access$1400(ActivityThread.java:200)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1689)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6806)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
Caused by: java.lang.SecurityException: Permission Denial: startForeground from pid=25914, uid=10216 requires android.permission.FOREGROUND_SERVICE
at android.os.Parcel.createException(Parcel.java:1953)
at android.os.Parcel.readException(Parcel.java:1921)
at android.os.Parcel.readException(Parcel.java:1871)
at android.app.IActivityManager$Stub$Proxy.setServiceForeground(IActivityManager.java:5144)
at android.app.Service.startForeground(Service.java:695)
at de.appplant.cordova.plugin.background.ForegroundService.keepAwake(ForegroundService.java:115)
at de.appplant.cordova.plugin.background.ForegroundService.onCreate(ForegroundService.java:94)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3565)
at android.app.ActivityThread.access$1400(ActivityThread.java:200) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1689) 
at android.os.Handler.dispatchMessage(Handler.java:106) 
at android.os.Looper.loop(Looper.java:201) 
at android.app.ActivityThread.main(ActivityThread.java:6806) 
at java.lang.reflect.Method.invoke(Native Method) 
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873) 
Caused by: android.os.RemoteException: Remote stack trace:
at com.android.server.am.ActivityManagerService.enforcePermission(ActivityManagerService.java:9529)
at com.android.server.am.ActiveServices.setServiceForegroundInnerLocked(ActiveServices.java:1226)
at com.android.server.am.ActiveServices.setServiceForegroundLocked(ActiveServices.java:901)
at com.android.server.am.ActivityManagerService.setServiceForeground(ActivityManagerService.java:21003)
at android.app.IActivityManager$Stub.onTransact$setServiceForeground$(IActivityManager.java:10581)
2019-07-10 17:06:55.970 2184-3549/? I/Timeline: Timeline: App_transition_ready time:41595605
2019-07-10 17:06:55.976 2184-2252/? I/Timeline: Timeline: App_transition_ready time:41595610
2019-07-10 17:06:55.978 2184-3549/? W/ActivityManager: Force finishing activity br.com.williarts.radio.radiojsvjornalismosimeaodovale168/.MainActivity
2019-07-10 17:06:55.983 2682-2682/? D/AppRecommendCardView: onWindowFocusChanged() called with: visibility = [true]
2019-07-10 17:06:55.985 2184-3549/? D/ActivityManager: report kill process: killerPid is:25914, killedPid is:25914
2019-07-10 17:06:55.985 25914-25914/? I/Process: Sending signal. PID: 25914 SIG: 9
2019-07-10 17:06:55.989 2184-2198/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
2019-07-10 17:06:55.990 2184-2198/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
2019-07-10 17:06:55.995 2682-2682/? I/AssistHolderView: dispatchDraw
2019-07-10 17:06:55.996 2184-6325/? D/CompatibilityInfo: mCompatibilityFlags - 0
2019-07-10 17:06:55.996 2184-6325/? D/CompatibilityInfo: applicationDensity - 440
2019-07-10 17:06:55.996 2184-6325/? D/CompatibilityInfo: applicationScale - 1.0
2019-07-10 17:06:55.996 2184-26065/? W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1621 android.content.ContextWrapper.bindService:708 miui.os.DropBoxManager.cJ:361 miui.os.DropBoxManager.a:350 miui.os.DropBoxManager.addText:314
2019-07-10 17:06:55.999 2184-6325/? D/CompatibilityInfo: mCompatibilityFlags - 0
2019-07-10 17:06:55.999 2184-6325/? D/CompatibilityInfo: applicationDensity - 440
2019-07-10 17:06:55.999 2184-6325/? D/CompatibilityInfo: applicationScale - 1.0
2019-07-10 17:06:56.008 2184-26065/? D/CompatibilityInfo: mCompatibilityFlags - 0
2019-07-10 17:06:56.008 2184-26065/? D/CompatibilityInfo: applicationDensity - 440
2019-07-10 17:06:56.008 2184-26065/? D/CompatibilityInfo: applicationScale - 1.0
2019-07-10 17:06:56.011 2184-6325/? D/CompatibilityInfo: mCompatibilityFlags - 0
2019-07-10 17:06:56.011 2184-6325/? D/CompatibilityInfo: applicationDensity - 440
2019-07-10 17:06:56.011 2184-6325/? D/CompatibilityInfo: applicationScale - 1.0
2019-07-10 17:06:56.054 2184-2273/? W/InputDispatcher: channel '20912 br.com.williarts.radio.radiojsvjornalismosimeaodovale168/br.com.williarts.radio.radiojsvjornalismosimeaodovale168.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
2019-07-10 17:06:56.054 2184-2273/? E/InputDispatcher: channel '20912 br.com.williarts.radio.radiojsvjornalismosimeaodovale168/br.com.williarts.radio.radiojsvjornalismosimeaodovale168.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
2019-07-10 17:06:56.058 728-728/? W/Binder:728_7: type=1400 audit(0.0:10848): avc: denied { write } for name="logd" dev="tmpfs" ino=15426 scontext=u:r:audioserver:s0 tcontext=u:object_r:logd_socket:s0 tclass=sock_file permissive=0
2019-07-10 17:06:56.072 2184-6325/? I/MediaFocusControl: AudioFocus removeFocusStackEntryOnDeath(): removing entry for android.os.BinderProxy@dd8e730
2019-07-10 17:06:56.072 2184-3323/? D/ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ TRACK_DEFAULT id=332, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Unwanted: Uid: 10216] ], android.os.BinderProxy@aeb3fa9)
2019-07-10 17:06:56.073 942-942/? I/Zygote: Process 25914 exited due to signal (9)
2019-07-10 17:06:56.073 2184-7835/? D/ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ TRACK_DEFAULT id=334, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Unwanted: Uid: 10216] ], android.os.BinderProxy@d96dccf)
2019-07-10 17:06:56.073 2184-6325/? D/ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ LISTEN id=335, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND Unwanted: Uid: 10216] ], android.os.BinderProxy@945c92e)
2019-07-10 17:06:56.073 2184-2299/? D/ConnectivityService: releasing NetworkRequest [ TRACK_DEFAULT id=332, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Unwanted: Uid: 10216] ] (release request)
2019-07-10 17:06:56.073 2184-2255/? I/WindowManager: WIN DEATH: Window{20912 u0 br.com.williarts.radio.radiojsvjornalismosimeaodovale168/br.com.williarts.radio.radiojsvjornalismosimeaodovale168.MainActivity}
2019-07-10 17:06:56.073 2184-2255/? W/InputDispatcher: Attempted to unregister already unregistered input channel '20912 br.com.williarts.radio.radiojsvjornalismosimeaodovale168/br.com.williarts.radio.radiojsvjornalismosimeaodovale168.MainActivity (server)'
2019-07-10 17:06:56.074 2184-2201/? W/libprocessgroup: kill(-25914, 9) failed: No such process
2019-07-10 17:06:56.074 2184-2201/? I/libprocessgroup: Successfully killed process cgroup uid 10216 pid 25914 in 0ms
2019-07-10 17:06:56.074 2184-2299/? D/ConnectivityService: releasing NetworkRequest [ TRACK_DEFAULT id=334, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Unwanted: Uid: 10216] ] (release request)
2019-07-10 17:06:56.074 2184-3643/? I/ActivityManager: Process br.com.williarts.radio.radiojsvjornalismosimeaodovale168 (pid 25914) has died: fore SVC
2019-07-10 17:06:56.075 2184-3677/? D/ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ LISTEN id=333, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND Unwanted: Uid: 10216] ], android.os.BinderProxy@79d465c)
2019-07-10 17:06:56.076 2963-3935/? W/awmu: Empty context buffer. Thus might mean that the context is not synced down.
2019-07-10 17:06:56.076 2963-3935/? W/awhg: Empty context model while retrieving upload opt-in status!
2019-07-10 17:06:56.077 3462-3795/? I/PowerCheckerService: uid:10216change to inactive
2019-07-10 17:06:56.077 3462-3635/? I/AppActiveChecker: uid:10216change to inactive
2019-07-10 17:06:56.077 2640-2640/? D/QcrilMsgTunnelIfaceManager: handleMessage what = 1
2019-07-10 17:06:56.078 2640-2640/? I/QcrilOemhookMsgTunnel: [0]invokeOemRilRequestRaw: serial=1781 length=24
2019-07-10 17:06:56.079 2640-2840/? I/QcrilOemhookMsgTunnel: [0]processOemHookResponse serial no: 1781 error: 0length=0
2019-07-10 17:06:56.079 2640-2640/? D/QcrilMsgTunnelIfaceManager: handleMessage what = 2
2019-07-10 17:06:56.081 2640-2840/? I/QcrilOemhookMsgTunnel: [0]processOemHookIndication length=28
2019-07-10 17:06:56.082 2184-3643/? I/AutoStartManagerService: MIUILOG- Reject RestartService packageName :br.com.williarts.radio.radiojsvjornalismosimeaodovale168 uid : 10216
2019-07-10 17:06:56.083 2640-2640/? D/QcrilMsgTunnelIfaceManager: handleMessage what = 1
2019-07-10 17:06:56.084 2963-3935/? W/awmu: Empty context buffer. Thus might mean that the context is not synced down.
2019-07-10 17:06:56.084 2640-2640/? I/QcrilOemhookMsgTunnel: [1]invokeOemRilRequestRaw: serial=1782 length=24
2019-07-10 17:06:56.084 2640-2640/? D/QcrilMsgTunnelIfaceManager: handleMessage what = 0
2019-07-10 17:06:56.085 2640-2840/? I/QcrilOemhookMsgTunnel: [1]processOemHookResponse serial no: 1782 error: 0length=0
2019-07-10 17:06:56.086 730-2924/? W/SurfaceFlinger: Attempting to set client state on removed layer: br.com.williarts.radio.radiojsvjornalismosimeaodovale168/br.com.williarts.radio.radiojsvjornalismosimeaodovale168.MainActivity#1
2019-07-10 17:06:56.087 730-2924/? W/SurfaceFlinger: Attempting to destroy on removed layer: br.com.williarts.radio.radiojsvjornalismosimeaodovale168/br.com.williarts.radio.radiojsvjornalismosimeaodovale168.MainActivity#1
2019-07-10 17:06:56.087 2640-2840/? I/QcrilOemhookMsgTunnel: [1]processOemHookIndication length=28
2019-07-10 17:06:56.088 2413-2413/? D/EventBus: [2413, u0] send(AppTransitionFinishedEvent)
2019-07-10 17:06:56.088 2413-2413/? D/EventBus: [2413, u0] -> ForcedResizableInfoActivityController [0xd4c188b, P1] onBusEvent(AppTransitionFinishedEvent)
2019-07-10 17:06:56.088 2413-2413/? D/EventBus: [2413, u0] onBusEvent(AppTransitionFinishedEvent) duration: 16 microseconds, avg: 216
2019-07-10 17:06:56.101 2184-3643/? I/ActivityManager: Killing 25937:com.android.chrome:sandboxed_process0/u0a216i35 (adj 0): isolated not needed
2019-07-10 17:06:56.102 2184-2201/? W/libprocessgroup: Failed to open process cgroup uid 99035 pid 25937: No such file or directory
2019-07-10 17:06:56.102 2184-2201/? E/libprocessgroup: Error encountered killing process cgroup uid 99035 pid 25937: No such file or directory
2019-07-10 17:06:56.104 2184-2206/? W/ActivityManager: setHasOverlayUi called on unknown pid: 25914
2019-07-10 17:06:56.110 2640-2640/? D/QcrilMsgTunnelIfaceManager: handleMessage what = 2
2019-07-10 17:06:56.110 2640-2640/? D/QcrilMsgTunnelIfaceManager: handleMessage what = 0
2019-07-10 17:06:56.111 2640-2640/? D/QcrilMsgTunnelIfaceManager: handleMessage what = 1
2019-07-10 17:06:56.113 2640-2640/? I/QcrilOemhookMsgTunnel: [0]invokeOemRilRequestRaw: serial=1783 length=24
2019-07-10 17:06:56.113 2640-2840/? I/QcrilOemhookMsgTunnel: [0]processOemHookResponse serial no: 1783 error: 0length=0
2019-07-10 17:06:56.113 2640-2640/? D/QcrilMsgTunnelIfaceManager: handleMessage what = 2
2019-07-10 17:06:56.114 2640-2640/? D/QcrilMsgTunnelIfaceManager: handleMessage what = 1
2019-07-10 17:06:56.115 2640-2640/? I/QcrilOemhookMsgTunnel: [1]invokeOemRilRequestRaw: serial=1784 length=24
2019-07-10 17:06:56.115 2640-2840/? I/QcrilOemhookMsgTunnel: [0]processOemHookIndication length=28
2019-07-10 17:06:56.115 2640-2640/? D/QcrilMsgTunnelIfaceManager: handleMessage what = 0
2019-07-10 17:06:56.116 2640-2840/? I/QcrilOemhookMsgTunnel: [1]processOemHookResponse serial no: 1784 error: 0length=0
2019-07-10 17:06:56.117 2640-2640/? D/QcrilMsgTunnelIfaceManager: handleMessage what = 2
2019-07-10 17:06:56.118 2640-2840/? I/QcrilOemhookMsgTunnel: [1]processOemHookIndication length=28
2019-07-10 17:06:56.118 2640-2640/? D/QcrilMsgTunnelIfaceManager: handleMessage what = 0
2019-07-10 17:06:56.121 2184-4537/? I/OpenGLRenderer: Initialized EGL, version 1.4
2019-07-10 17:06:56.121 2184-4537/? D/OpenGLRenderer: Swap behavior 2
2019-07-10 17:06:56.165 2395-2395/? I/Zygote: Process 25937 exited cleanly (0)
2019-07-10 17:06:56.178 728-728/? W/AudioOut_1D: type=1400 audit(0.0:10849): avc: denied { write } for name="logd" dev="tmpfs" ino=15426 scontext=u:r:audioserver:s0 tcontext=u:object_r:logd_socket:s0 tclass=sock_file permissive=0
2019-07-10 17:06:56.208 728-859/? V/AudioPolicyManagerCustom: checkOutputForStrategy(): policy related outputs
2019-07-10 17:06:56.209 677-677/? W/AshmemAllocator: ashmem_create_region(7680) returning hidl_memory(0x7425e2c100, 7680)
2019-07-10 17:06:56.210 679-679/? V/EffectDiracSound: DiracSound_command() start, cmdCode=20
2019-07-10 17:06:56.210 679-679/? V/EffectDiracSound: DiracSound_Command EFFECT_CMD_OFFLOAD
2019-07-10 17:06:56.211 679-679/? V/EffectDiracSound: DiracSound_command() start, cmdCode=1
2019-07-10 17:06:56.211 679-679/? V/EffectDiracSound: DiracSound_setConfig start
2019-07-10 17:06:56.211 679-679/? I/EffectDiracSound: DiracSound_updateState(), enable=0, hifi=0, device=0x2, headset=5, samplingRate=48000
2019-07-10 17:06:56.211 679-679/? I/EffectDiracSound: DiracSound_updateState(), mode=0, music=0, movie=0, reset=0
2019-07-10 17:06:56.211 679-679/? I/EffectDiracSound: DiracSound_updateState(), Speaker Movie Mode
2019-07-10 17:06:56.211 679-679/? W/EffectHAL: Effect 0xe837f610 command SET_CONFIG returned status: Invalid argument
2019-07-10 17:06:56.211 679-679/? V/EffectDiracSound: DiracSound_command() start, cmdCode=1
2019-07-10 17:06:56.211 679-679/? V/EffectDiracSound: DiracSound_setConfig start
2019-07-10 17:06:56.211 679-679/? I/EffectDiracSound: DiracSound_updateState(), enable=0, hifi=0, device=0x2, headset=5, samplingRate=48000
2019-07-10 17:06:56.211 679-679/? I/EffectDiracSound: DiracSound_updateState(), mode=0, music=0, movie=0, reset=0
2019-07-10 17:06:56.211 679-679/? I/EffectDiracSound: DiracSound_updateState(), Speaker Movie Mode
2019-07-10 17:06:56.211 679-679/? V/EffectDiracSound: DiracSound_command() start, cmdCode=9
2019-07-10 17:06:56.211 679-679/? V/EffectDiracSound: DiracSound_Command EFFECT_CMD_SET_DEVICE: 0x00000001
2019-07-10 17:06:56.211 679-679/? I/EffectDiracSound: DiracSound_updateState(), enable=0, hifi=0, device=0x1, headset=5, samplingRate=48000
2019-07-10 17:06:56.212 679-679/? I/EffectDiracSound: DiracSound_updateState(), mode=0, music=0, movie=0, reset=1
2019-07-10 17:06:56.212 679-679/? I/EffectDiracSound: DiracSound_updateState(), unknown Device Type: 1!
2019-07-10 17:06:56.212 679-679/? V/EffectDiracSound: DiracSound_command() start, cmdCode=11
2019-07-10 17:06:56.212 679-679/? V/EffectDiracSound: DiracSound_Command EFFECT_CMD_SET_AUDIO_MODE: 0
2019-07-10 17:06:56.282 2682-2682/? E/Launcher: changeViewByFsGestureState, view=FitSystemWindowView, alpha=1.0, scale=1.0
2019-07-10 17:06:56.282 2682-2682/? E/Launcher: changeViewByFsGestureState, view=ForceTouchLayer, alpha=1.0, scale=1.0
2019-07-10 17:06:56.345 2184-2193/? I/system_server: NativeAlloc concurrent copying GC freed 172732(7MB) AllocSpace objects, 32(4MB) LOS objects, 42% free, 32MB/56MB, paused 135us total 142.321ms
2019-07-10 17:06:57.476 703-3207/? E/ANDR-PERF-MPCTL: poll() has timed out for /sys/module/msm_performance/events/cpu_hotplug
2019-07-10 17:06:57.476 703-3207/? E/ANDR-PERF-MPCTL: Block on poll()
2019-07-10 17:06:59.026 679-679/? D/audio_hw_primary: out_standby: enter: stream (0xe7b1e000) usecase(0: deep-buffer-playback)
2019-07-10 17:06:59.178 679-679/? D/audio_hw_primary: disable_audio_route: reset and update mixer path: deep-buffer-playback speaker
2019-07-10 17:06:59.183 679-679/? E/soundtrigger: audio_extn_sound_trigger_update_stream_status: invalid input device 0x0, for event 2
2019-07-10 17:06:59.184 679-679/? D/soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_info->id 0 of type 0 for Event 2, with Raise=1
2019-07-10 17:06:59.184 679-679/? D/sound_trigger_hal: sound_trigger_hw_call_back event 2 rx_concurrency_active 1, tx_concurrency_active 0, screen on 1, music on 1
2019-07-10 17:06:59.184 679-679/? D/sound_trigger_hal: pcm_transfer_to_barge_in barge in 1, state 0, force idle 0
2019-07-10 17:06:59.184 679-679/? D/sound_trigger_hal: pcm_transfer_to_barge_in exit barge in 0, state 0, force idle 0
2019-07-10 17:06:59.184 679-679/? D/sound_trigger_hal: sound_trigger_hw_call_back rx_concurrency_active 0, tx_concurrency_active 0, screen on 1, music on 0
2019-07-10 17:06:59.184 679-679/? D/hardware_info: hw_info_append_hw_type : device_name = speaker
2019-07-10 17:06:59.184 679-679/? D/audio_hw_primary: disable_snd_device: snd_device(2: speaker)
2019-07-10 17:06:59.184 679-679/? D/msm8916_platform: platform_split_snd_device: snd_device(2) num devices(0) new_snd_devices(-382411415)
2019-07-10 17:06:59.184 679-679/? I/soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x2 of type 0 for Event 0, with Raise=0
2019-07-10 17:06:59.184 679-679/? D/audio_hw_primary: out_standby: exit
@gbzarelli
Copy link

gbzarelli commented Jul 11, 2019

Apps that target Android 9 (API level 28) or higher and use foreground services must request the FOREGROUND_SERVICE permission.

So now we need to add Foreground service permission in manifest file

it Allows a regular application to use Service.startForeground
SAMPLE

FOREGROUND_SERVICE is a normal permission, so the system automatically grants it to the requesting app. Check this the migration notes of Android 9 / Pie

Change
Foreground service permission

Summary
Apps wanting to use foreground services must now request the FOREGROUND_SERVICE permission first. This is a normal permission, so the system automatically grants it to the requesting app. Starting a foreground service without the permission throws a SecurityException.

Also Read startForeground()

Apps targeting API Build.VERSION_CODES.P or later must request the permission Manifest.permission.FOREGROUND_SERVICE in order to use this API.

StackOverFlow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment