Whenever I open certain folders on a remote machine in the Allshare app I get the following crash:
Code:
java.lang.NullPointerException
at com.sec.android.app.dlna.view.DLNAContentsAdapter.parsePlayListItem(DLNAContentsAdapter.java:249)
at com.sec.android.app.dlna.view.DLNAContentsAdapter.getView(DLNAContentsAdapter.java:113)
at android.widget.AbsListView.obtainView(AbsListView.java:1533)
at android.widget.ListView.measureHeightOfChildren(ListView.java:1264)
at android.widget.ListView.onMeasure(ListView.java:1175)
at android.view.View.measure(View.java:8366)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1017)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:386)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:309)
at android.view.View.measure(View.java:8366)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1017)
at android.widget.LinearLayout.measureHorizontal(LinearLayout.java:701)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:311)
at android.view.View.measure(View.java:8366)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:531)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:309)
at android.view.View.measure(View.java:8366)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1017)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:386)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:309)
at android.view.View.measure(View.java:8366)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:250)
at android.view.View.measure(View.java:8366)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:531)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:309)
at android.view.View.measure(View.java:8366)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:250)
at android.view.View.measure(View.java:8366)
at android.view.ViewRoot.performTraversals(ViewRoot.java:847)
at android.view.ViewRoot.handleMessage(ViewRoot.java:1868)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:3691)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
at dalvik.system.NativeStart.main(Native Method)
Does anyone know how I can prevent that. Or are there any better (free) alternatives?
Try imedia share,it's free on the market
Sent from my GT-I9100 using XDA App
I'm having trouble compiling Cyanogenmod's Apollo Music Player from source (I'd link to Github, but <10 posts).
Eclipse threw up a bunch of errors when first imported the project, and to remedy those I:
Manually referenced the anrdoid-support-v4.jar library
Removed a bunch of @Overrides in front of seemingly arbitrary functions that Eclipse was getting angry at.
Now it compiles, but crashes first thing with the error:
Code:
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.andrew.apollo/com.andrew.apollo.activities.MusicLibrary}: java.lang.ClassNotFoundException: com.andrew.apollo.activities.MusicLibrary
Full error message:
Code:
08-26 20:48:02.845: E/AndroidRuntime(525): FATAL EXCEPTION: main
08-26 20:48:02.845: E/AndroidRuntime(525): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.andrew.apollo/com.andrew.apollo.activities.MusicLibrary}: java.lang.ClassNotFoundException: com.andrew.apollo.activities.MusicLibrary
08-26 20:48:02.845: E/AndroidRuntime(525): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1880)
08-26 20:48:02.845: E/AndroidRuntime(525): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
08-26 20:48:02.845: E/AndroidRuntime(525): at android.app.ActivityThread.access$600(ActivityThread.java:123)
08-26 20:48:02.845: E/AndroidRuntime(525): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
08-26 20:48:02.845: E/AndroidRuntime(525): at android.os.Handler.dispatchMessage(Handler.java:99)
08-26 20:48:02.845: E/AndroidRuntime(525): at android.os.Looper.loop(Looper.java:137)
08-26 20:48:02.845: E/AndroidRuntime(525): at android.app.ActivityThread.main(ActivityThread.java:4424)
08-26 20:48:02.845: E/AndroidRuntime(525): at java.lang.reflect.Method.invokeNative(Native Method)
08-26 20:48:02.845: E/AndroidRuntime(525): at java.lang.reflect.Method.invoke(Method.java:511)
08-26 20:48:02.845: E/AndroidRuntime(525): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
08-26 20:48:02.845: E/AndroidRuntime(525): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
08-26 20:48:02.845: E/AndroidRuntime(525): at dalvik.system.NativeStart.main(Native Method)
08-26 20:48:02.845: E/AndroidRuntime(525): Caused by: java.lang.ClassNotFoundException: com.andrew.apollo.activities.MusicLibrary
08-26 20:48:02.845: E/AndroidRuntime(525): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
08-26 20:48:02.845: E/AndroidRuntime(525): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
08-26 20:48:02.845: E/AndroidRuntime(525): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
08-26 20:48:02.845: E/AndroidRuntime(525): at android.app.Instrumentation.newActivity(Instrumentation.java:1023)
08-26 20:48:02.845: E/AndroidRuntime(525): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1871)
08-26 20:48:02.845: E/AndroidRuntime(525): ... 11 more
This happens in a 4.0.4 emulator and on my stock, unrooted VZW Galaxy Nexus.
I've checked, and com.andrew.apollo.activities.MusicLibrary does exist, and I get the exact same error message if I change the android:name attribute to an arbitrary class that definitely doesn't exist (With MusicLibrary substituted out for the arbitrary nonexistent class' name).
I've spent 5 hours trying to get this damn thing to compile correctly. Any help would be appreciated greatly.
Bump.
Anyone have any advice?
I do not know, if this is still of interest, but I did a build myself on last weekend.
I needed to reference the library, check
The @override-errors are due to the wrong java version. Eclipse does import the source and sets java-version to 1.5.
You need to change it so 1.6+ in the project specific settings.
I did use the jellybean branch of CM10, therefore I needed to set the Android version to 4.1.
Other than that, I do not remember any specific problems. I did not test on the emulator.
Q&A for [ROM][AOSP][Nightly/Release] CarbonRom KitKat [i9100]
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [ROM][AOSP][Nightly/Release] CarbonRom KitKat [i9100]. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Problem shortcut icons that disappear reboot with Custom Rom Carbon 4.4.4
hello ,
I installed the Custom Carbon ROM 4.4.4 on my S2 I9100P that I find beautiful and very fluid. Unfortunately I have a big problem. Shortcut icons of apk transferred to the Internal SD card disappear after each reboot !!! Do you know why?
Please note I do not speak English and I translate by Google. Please use simple terms.
Thank you.
Hi ;
58 views and no one to answer me?
Camara issues with latest Samsung Galaxy S2 Carbon Rom nightly?
I cant use the standard camara app and receive the usual "unfortunately Camera has stopped". Am I the only one with this issue?
No more updates?
Link for latest CarbonRom Kitkat nightly
Hi, i'd like to try the latest KK nightly (maybe there's also a final stable KK rom), but the Carbon download page is down. Please if anyone can share a link i'd appreciate a lot.
Thanks
network traffic carbonRom kitkat
Hello everyone , first of all I like this rom . is the first and still the only one I tried . It has everything you need !!
I am addicted to one of the best things about this rom , I mean the network traffic , an option that let Constantly take under control the Internet traffic data , upload / download , showing in the status bar . I have to have this beautiful and fundamentally option on my new smartphone ( kk Infinix X506 android 4.4.2 ) . Somebody knows how?
pls help me !!
ceers
vito
Italy
Hi
were can i have a link to download this awesome lollipop ROM.
best lp rom thank you @Myself5
hi @Myself5 i'm still using your rom and it very stable with DorimanX kernel but i have one bug in youtube app there is some glitches .... but not with all videos some video have this glitches and some dont have
Here is my logcat
08-26 11:41:59.134 I/auditd (18556): Starting up
08-26 11:41:59.137 E/auditd (18556): Failed on audit_set_pid with error: Protocol not supported
08-26 11:41:59.137 I/auditd (18556): Exiting
08-26 11:41:59.971 W/ResourceType(19089): No package identifier when getting value for resource number 0x00000000
08-26 11:41:59.971 W/PackageManager(19089): Failure retrieving resources for com.nolanlawson.logcat: Resource ID #0x0
08-26 11:41:59.991 I/ActivityManager(15822): START u0 {act=com.android.systemui.recents.SHOW_RECENTS flg=0x10804000 cmp=com.android.systemui/.recents.RecentsActivity} from uid 10013 on display 0
08-26 11:42:00.212 W/art (15822): Long monitor contention event with owner method=int com.android.server.am.ActivityStackSupervisor.startActivityMayWait(android.app.IApplicationThread, int, java.lang.String, android.content.Intent, java.lang.String, android.service.voice.IVoiceInteractionSession, com.android.internal.app.IVoiceInteractor, android.os.IBinder, java.lang.String, int, int, android.app.ProfilerInfo, android.app.IActivityManager$WaitResult, android.content.res.Configuration, android.os.Bundle, int, android.app.IActivityContainer, com.android.server.am.TaskRecord) from ActivityStackSupervisor.java:897 waiters=0 for 212ms
08-26 11:42:00.233 I/art (15822): Background sticky concurrent mark sweep GC freed 10976(1068KB) AllocSpace objects, 0(0B) LOS objects, 4% free, 21MB/22MB, paused 5.681ms total 179.980ms
08-26 11:42:00.493 W/InputMethodManagerService(15822): Starting input on non-focused client [email protected] (uid=10026 pid=18137)
08-26 11:42:00.682 I/Timeline(15822): Timeline: Activity_windows_visible id: ActivityRecord{1de41fe3 u0 com.android.systemui/.recents.RecentsActivity t80} time:21291357
08-26 11:42:00.707 I/Timeline(19089): Timeline: Activity_idle id: [email protected] time:21291381
08-26 11:42:01.198 W/ResourceType(19089): No package identifier when getting value for resource number 0x00000000
08-26 11:42:01.198 W/PackageManager(19089): Failure retrieving resources for com.nolanlawson.logcat: Resource ID #0x0
08-26 11:42:01.350 D/AKMD2 (15822): akm_enable_sensor: Accel is enabled. (orien = 0)
08-26 11:42:01.350 I/AKMD2 (15822): enable_accelerometer, mEnabled = 0, enable = 1
08-26 11:42:01.355 W/ActivityManager(15822): getRunningAppProcesses: caller 10074 does not hold REAL_GET_TASKS; limiting output
08-26 11:42:01.360 I/DeepHyber(15822): Restrict awakening service binding: Intent { act=com.google.android.gms.ads.identifier.service.START flg=0x10 pkg=com.google.android.gms }
08-26 11:42:01.441 E/ (17738): Device driver API match
08-26 11:42:01.441 E/ (17738): Device driver API version: 23
08-26 11:42:01.441 E/ (17738): User space API version: 23
08-26 11:42:01.441 E/ (17738): mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Wed Oct 9 21:05:57 KST 2013
08-26 11:42:01.442 I/OpenGLRenderer(17738): Initialized EGL, version 1.4
08-26 11:42:01.527 I/DeepHyber(15822): Restrict awakening service binding: Intent { act=android.media.MediaRouteProviderService flg=0x10 cmp=com.google.android.gms/.cast.media.CastMediaRouteProviderService }
08-26 11:42:02.024 W/CastMediaRouteProvider(19588): Invalid control category: MDX_MEDIA_ROUTE_CONTROL_CATEGORY
08-26 11:42:02.024 W/CastMediaRouteProvider(19588): Invalid control category: android.media.intent.category.LIVE_AUDIO
08-26 11:42:02.110 I/Timeline(17738): Timeline: Activity_idle id: [email protected] time:21292784
08-26 11:42:02.200 I/Timeline(15822): Timeline: Activity_windows_visible id: ActivityRecord{117d2db7 u0 com.google.android.youtube/com.google.android.apps.youtube.app.WatchWhileActivity t167} time:21292875
08-26 11:42:03.072 I/OMXClient(17738): Using client-side OMX mux.
08-26 11:42:03.087 E/SEC_COMP_REGS(17738): libOMX.SEC.M4V.Decoder.so
08-26 11:42:03.087 E/SEC_COMP_REGS(17738): Path & libName : /system/lib/omx/libOMX.SEC.M4V.Decoder.so
08-26 11:42:03.088 W/linker (17738): libfimc.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
08-26 11:42:03.088 E/SEC_COMP_REGS(17738): libOMX.SEC.AVC.Encoder.so
08-26 11:42:03.088 E/SEC_COMP_REGS(17738): Path & libName : /system/lib/omx/libOMX.SEC.AVC.Encoder.so
08-26 11:42:03.089 E/SEC_COMP_REGS(17738): libOMX.SEC.AVC.Decoder.so
08-26 11:42:03.089 E/SEC_COMP_REGS(17738): Path & libName : /system/lib/omx/libOMX.SEC.AVC.Decoder.so
08-26 11:42:03.090 W/linker (17738): libfimc.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
08-26 11:42:03.090 E/SEC_COMP_REGS(17738): ..
08-26 11:42:03.090 E/SEC_COMP_REGS(17738): libOMX.SEC.WMV.Decoder.so
08-26 11:42:03.090 E/SEC_COMP_REGS(17738): Path & libName : /system/lib/omx/libOMX.SEC.WMV.Decoder.so
08-26 11:42:03.091 W/linker (17738): libfimc.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
08-26 11:42:03.091 E/SEC_COMP_REGS(17738): libOMX.SEC.M4V.Encoder.so
08-26 11:42:03.091 E/SEC_COMP_REGS(17738): Path & libName : /system/lib/omx/libOMX.SEC.M4V.Encoder.so
08-26 11:42:03.092 E/SEC_COMP_REGS(17738): .
08-26 11:42:03.123 E/OMXMaster(17738): A component of name 'OMX.ffmpeg.wmv.decoder' already exists, ignoring this one.
08-26 11:42:03.139 I/ACodec (17738): sampleRate=44100 channels=2 bits=16
08-26 11:42:03.158 I/SoftAAC2(17738): Reconfiguring decoder: 0->44100 Hz, 0->2 channels
08-26 11:42:03.173 I/OMXClient(17738): Using client-side OMX mux.
08-26 11:42:03.175 E/OMXMaster(17738): A component of name 'OMX.ffmpeg.wmv.decoder' already exists, ignoring this one.
08-26 11:42:03.191 W/OMXNodeInstance(17738): [1:google.vp9.decoder] component does not support metadata mode; using fallback
08-26 11:42:03.191 E/ACodec (17738): [OMX.google.vp9.decoder] storeMetaDataInBuffers failed w/ err -1010
08-26 11:42:03.191 I/ACodec (17738): [OMX.google.vp9.decoder] prepareForAdaptivePlayback(854x480)
08-26 11:42:03.191 I/ACodec (17738): [OMX.google.vp9.decoder] DRC Mode: Adaptive Mode
08-26 11:42:03.192 E/OMXNodeInstance(17738): getParameter(1:google.vp9.decoder, ParamVideoAndroidVp8Encoder(0x6f600007)) ERROR: UnsupportedIndex(0x8000101a)
08-26 11:42:03.549 I/art (17738): Background sticky concurrent mark sweep GC freed 11922(850KB) AllocSpace objects, 2(42KB) LOS objects, 3% free, 24MB/25MB, paused 7.399ms total 256.550ms
08-26 11:42:03.809 E/AudioTrack(17738): AudioTrack::set : Exit
08-26 11:42:03.930 D/Yamaha-MC1N2-Audio(14334): yamaha_mc1n2_audio_output_start()
08-26 11:42:03.930 D/Yamaha-MC1N2-Audio(14334): yamaha_mc1n2_audio_route_start()
08-26 11:42:03.930 D/Yamaha-MC1N2-Audio(14334): (yamaha_mc1n2_audio_params_route_find): device = 2, direction = 0
08-26 11:42:03.970 W/YouTube (17738): (unknown) CueRangeManger state error: currentPosition=43652 lastPositionTracked=43660
08-26 11:42:03.973 E/AudioAttributes(17738): Invalid stream type -2147483648 for AudioAttributes
08-26 11:42:03.978 I/MediaFocusControl(15822): AudioFocus requestAudioFocus() from [email protected]@18e9e407 req=1flags=0x0
08-26 11:42:04.146 I/auditd (18592): Starting up
08-26 11:42:04.152 E/auditd (18592): Failed on audit_set_pid with error: Protocol not supported
08-26 11:42:04.152 I/auditd (18592): Exiting
08-26 11:42:06.268 I/art (19089): Background sticky concurrent mark sweep GC freed 15103(1216KB) AllocSpace objects, 0(0B) LOS objects, 6% free, 18MB/19MB, paused 6.354ms total 26.298ms
08-26 11:42:09.163 I/auditd (18599): Starting up
08-26 11:42:09.170 E/auditd (18599): Failed on audit_set_pid with error: Protocol not supported
08-26 11:42:09.170 I/auditd (18599): Exiting
08-26 11:42:09.417 W/ResourceType(19089): No package identifier when getting value for resource number 0x00000000
08-26 11:42:09.417 W/PackageManager(19089): Failure retrieving resources for com.google.android.youtube: Resource ID #0x0
08-26 11:42:09.424 I/ActivityManager(15822): START u0 {act=com.android.systemui.recents.SHOW_RECENTS flg=0x10804000 cmp=com.android.systemui/.recents.RecentsActivity} from uid 10013 on display 0
08-26 11:42:09.576 I/OMXMaster(17738): clearPlugins: 0 key=9449df48 value=0
08-26 11:42:09.576 I/OMXMaster(17738): clearPlugins: 1 key=9449df50 value=b04e3694
08-26 11:42:09.651 I/OMXMaster(17738): clearPlugins: 2 key=b00b1340 value=b04e3544
08-26 11:42:09.682 I/Timeline(19089): Timeline: Activity_idle id: [email protected] time:21300356
08-26 11:42:09.687 I/OMXMaster(17738): clearPlugins: 0 key=9449df68 value=0
08-26 11:42:09.687 I/OMXMaster(17738): clearPlugins: 1 key=9449df70 value=b04e3694
08-26 11:42:09.688 I/OMXMaster(17738): clearPlugins: 2 key=b01866e0 value=b04e3544
08-26 11:42:09.695 W/YouTube (17738): apps.youtube.app.WatchWhileActivity.onPause:1313 Sending ping after save instance state called.
08-26 11:42:09.695 W/YouTube (17738): java.lang.Exception
08-26 11:42:09.695 W/YouTube (17738): at kqy.a(SourceFile:954)
08-26 11:42:09.695 W/YouTube (17738): at kqy.b(SourceFile:825)
08-26 11:42:09.695 W/YouTube (17738): at kqy.a(SourceFile:718)
08-26 11:42:09.695 W/YouTube (17738): at dct.s(SourceFile:44642)
08-26 11:42:09.695 W/YouTube (17738): at ddh.b(SourceFile:772)
08-26 11:42:09.695 W/YouTube (17738): at bjp.k(SourceFile:955)
08-26 11:42:09.695 W/YouTube (17738): at z.a(SourceFile:7947)
08-26 11:42:09.695 W/YouTube (17738): at z.a(SourceFile:1126)
08-26 11:42:09.695 W/YouTube (17738): at z.a(SourceFile:1108)
08-26 11:42:09.695 W/YouTube (17738): at s.onPause(SourceFile:7931)
08-26 11:42:09.695 W/YouTube (17738): at bbl.onPause(SourceFile:175)
08-26 11:42:09.695 W/YouTube (17738): at com.google.android.apps.youtube.app.WatchWhileActivity.onPause(SourceFile:1313)
08-26 11:42:09.695 W/YouTube (17738): at android.app.Activity.performPause(Activity.java:6101)
08-26 11:42:09.695 W/YouTube (17738): at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1310)
08-26 11:42:09.695 W/YouTube (17738): at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3277)
08-26 11:42:09.695 W/YouTube (17738): at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3250)
08-26 11:42:09.695 W/YouTube (17738): at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:3225)
08-26 11:42:09.695 W/YouTube (17738): at android.app.ActivityThread.access$1100(ActivityThread.java:154)
08-26 11:42:09.695 W/YouTube (17738): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1332)
08-26 11:42:09.695 W/YouTube (17738): at android.os.Handler.dispatchMessage(Handler.java:102)
08-26 11:42:09.695 W/YouTube (17738): at android.os.Looper.loop(Looper.java:135)
08-26 11:42:09.695 W/YouTube (17738): at android.app.ActivityThread.main(ActivityThread.java:5291)
08-26 11:42:09.695 W/YouTube (17738): at java.lang.reflect.Method.invoke(Native Method)
08-26 11:42:09.695 W/YouTube (17738): at java.lang.reflect.Method.invoke(Method.java:372)
08-26 11:42:09.695 W/YouTube (17738): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
08-26 11:42:09.695 W/YouTube (17738): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
08-26 11:42:09.695 W/YouTube (17738): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115)
08-26 11:42:09.722 D/AKMD2 (15822): akm_disable_sensor: Accel is disabled. (orien = 0)
08-26 11:42:09.723 I/AKMD2 (15822): enable_accelerometer, mEnabled = 1, enable = 0
08-26 11:42:09.846 W/InputMethodManagerService(15822): Starting input on non-focused client [email protected] (uid=10074 pid=17738)
08-26 11:42:09.869 I/Timeline(15822): Timeline: Activity_windows_visible id: ActivityRecord{1de41fe3 u0 com.android.systemui/.recents.RecentsActivity t80} time:21300544
08-26 11:42:09.922 W/MessageQueue(17738): Handler (dqk) {1780a094} sending message to a Handler on a dead thread
08-26 11:42:09.922 W/MessageQueue(17738): java.lang.IllegalStateException: Handler (dqk) {1780a094} sending message to a Handler on a dead thread
08-26 11:42:09.922 W/MessageQueue(17738): at android.os.MessageQueue.enqueueMessage(MessageQueue.java:325)
08-26 11:42:09.922 W/MessageQueue(17738): at android.os.Handler.enqueueMessage(Handler.java:631)
08-26 11:42:09.922 W/MessageQueue(17738): at android.os.Handler.sendMessageAtTime(Handler.java:600)
08-26 11:42:09.922 W/MessageQueue(17738): at android.os.Handler.sendMessageDelayed(Handler.java:570)
08-26 11:42:09.922 W/MessageQueue(17738): at android.os.Handler.sendEmptyMessageDelayed(Handler.java:534)
08-26 11:42:09.922 W/MessageQueue(17738): at android.os.Handler.sendEmptyMessage(Handler.java:519)
08-26 11:42:09.922 W/MessageQueue(17738): at dqk.run(SourceFile:218)
08-26 11:42:09.922 W/MessageQueue(17738): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
08-26 11:42:09.922 W/MessageQueue(17738): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
08-26 11:42:09.922 W/MessageQueue(17738): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
08-26 11:42:09.922 W/MessageQueue(17738): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
08-26 11:42:09.922 W/MessageQueue(17738): at java.lang.Thread.run(Thread.java:818)
08-26 11:42:10.155 E/JavaBinder(17738): !!! FAILED BINDER TRANSACTION !!!
08-26 11:42:10.160 I/DeepHyber(15822): Restrict awakening service binding: Intent { act=com.google.android.gms.mdm.services.START flg=0x10 pkg=com.google.android.gms }
08-26 11:42:10.198 V/Herrevad(19588): NQAS connected
08-26 11:42:10.241 W/LocalPredictor(19588): On wifi, but couldn't get security type
08-26 11:42:10.255 I/ReportNQOperation(19588): [1241] f.a: Not enough data to save wifi report to local db: [email protected]
08-26 11:42:10.450 V/PhoneStatusBar(19089): setLightsOn(true)
08-26 11:42:10.503 W/MessageQueue(17738): Handler (dqk) {2c576e2c} sending message to a Handler on a dead thread
08-26 11:42:10.503 W/MessageQueue(17738): java.lang.IllegalStateException: Handler (dqk) {2c576e2c} sending message to a Handler on a dead thread
08-26 11:42:10.503 W/MessageQueue(17738): at android.os.MessageQueue.enqueueMessage(MessageQueue.java:325)
08-26 11:42:10.503 W/MessageQueue(17738): at android.os.Handler.enqueueMessage(Handler.java:631)
08-26 11:42:10.503 W/MessageQueue(17738): at android.os.Handler.sendMessageAtTime(Handler.java:600)
08-26 11:42:10.503 W/MessageQueue(17738): at android.os.Handler.sendMessageDelayed(Handler.java:570)
08-26 11:42:10.503 W/MessageQueue(17738): at android.os.Handler.sendEmptyMessageDelayed(Handler.java:534)
08-26 11:42:10.503 W/MessageQueue(17738): at android.os.Handler.sendEmptyMessage(Handler.java:519)
08-26 11:42:10.503 W/MessageQueue(17738): at dqk.run(SourceFile:212)
08-26 11:42:10.503 W/MessageQueue(17738): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
08-26 11:42:10.503 W/MessageQueue(17738): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
08-26 11:42:10.503 W/MessageQueue(17738): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
08-26 11:42:10.503 W/MessageQueue(17738): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
08-26 11:42:10.503 W/MessageQueue(17738): at java.lang.Thread.run(Thread.java:818)
08-26 11:42:10.629 V/PhoneStatusBar(19089): setLightsOn(true)
08-26 11:42:10.736 I/Timeline(18137): Timeline: Activity_idle id: [email protected] time:21301410
08-26 11:42:10.788 I/Timeline(15822): Timeline: Activity_windows_visible id: ActivityRecord{14b29cce u0 com.nolanlawson.logcat/.LogcatActivity t168} time:21301463
sorry for my english
Hi everybody,
I have a unlocked Moto Z, originally running stock android 7.0 but rooted. Everything worked like a charm until I upgraded to 7.1.1 After the update, bluetooth is completely disfunktional (wifi works!) - no other devices are detected by the phone and the phone itself is not detected by other phones. Bluetooth address in f4:f5:24:dc:ce:2a (hmm, wifi-mac is the same but ending with 2b - looks weird).
I did evereythink to reset settings, reflashed stock 7.0, flashed los, ... I even called Motorola support and they told me, that this is a known issue in the context of the 7.1.1 update and that they don't have solution for that. I was asked to send the phone in to Motorola Service (in Germany this is Ingram Micro Services GmbH) - because of my unlocked bootloader they send it back - unrepaired.
Does anyone have the same problem? Maybe found a solution to fix this bluetooth issue? Any other ideas are really appreciated!
Greetings
Some bug bluetooth 4 Moto Z, please dont update to 7.1.1 for no Bugs.
Please test fix.... https://forum.xda-developers.com/moto-z/help/wifi-bluetooth-update-mac-adress-t3634536
penzelan said:
Hi everybody,
I have a unlocked Moto Z, originally running stock android 7.0 but rooted..
Does anyone have the same problem? Maybe found a solution to fix this bluetooth issue? Any other ideas are really appreciated!
Greetings
Click to expand...
Click to collapse
You might want to check here https://forum.xda-developers.com/moto-z/development/rom-erfanrom-flashable-zip-t3646962
@core720: Thread is about wifi issue, not bluetooth. Nevertheless, I flashed the referenced stock modem seperately, but it did not make any difference.
@lollyjay: Thread describes a wifi/modem problem & solution. It seems to handle the same wifi problem than above. Solution looks similar (flashing different modem).
As I understand, bluetooth firmware is BTFM.bin , not part of modem firmware NON-HLOS.bin.
penzelan said:
@core720: Thread is about wifi issue, not bluetooth. Nevertheless, I flashed the referenced stock modem seperately, but it did not make any difference.
@lollyjay: Thread describes a wifi/modem problem & solution. It seems to handle the same wifi problem than above. Solution looks similar (flashing different modem).
As I understand, bluetooth firmware is BTFM.bin , not part of modem firmware NON-HLOS.bin.
Click to expand...
Click to collapse
Tru dat. I was just wondering if you could flash that ROM to see if your BT problem is fixed.
I assume you have fastboot flashed the BTFM.bin again?
penzelan said:
@core720: Thread is about wifi issue, not bluetooth. Nevertheless, I flashed the referenced stock modem seperately, but it did not make any difference.
@lollyjay: Thread describes a wifi/modem problem & solution. It seems to handle the same wifi problem than above. Solution looks similar (flashing different modem).
As I understand, bluetooth firmware is BTFM.bin , not part of modem firmware NON-HLOS.bin.
Click to expand...
Click to collapse
if you think it's firmware or software issue
find whatever you need here : https://www.androidfilehost.com/?w=files&flid=200666
There's a new build out for the moto z force: NCL26.118-23-1, I have a feeling they fixed some of the issues. Problem is I can't flash it unless I have a full firmware image...
lollyjay said:
Tru dat. I was just wondering if you could flash that ROM to see if your BT problem is fixed.
I assume you have fastboot flashed the BTFM.bin again?
Click to expand...
Click to collapse
Yes, I flashed BTFM.bin - no change; and I flashed GRIFFIN_7.1.zip from erfanoabdi - no change.
I used SysLog app to gather some information about bluetooth status. But I cannot discover any hints for an error, everything looks okay for me:
08-26 11:41:21.681 I/SystemServiceManager( 1455): Starting com.android.server.BluetoothService
08-26 11:41:21.688 D/BluetoothManagerService( 1455): Loading stored name and address
08-26 11:41:21.688 D/BluetoothManagerService( 1455): Stored bluetooth Name=XT1650,Address=F4:F5:24C:CE:2A
08-26 11:41:21.688 D/BluetoothManagerService( 1455): Bluetooth persisted state: 1
08-26 11:41:21.688 D/BluetoothManagerService( 1455): Startup: Bluetooth persisted state is ON.
08-26 11:41:21.863 W/PackageManager( 1455): Unknown permission com.google.android.gallery3d.permission.GALLERY_PROVIDER in package com.android.bluetooth
08-26 11:41:21.863 W/PackageManager( 1455): Unknown permission com.android.gallery3d.permission.GALLERY_PROVIDER in package com.android.bluetooth
08-26 11:41:21.863 W/PackageManager( 1455): Unknown permission com.android.email.permission.ACCESS_PROVIDER in package com.android.bluetooth
08-26 11:41:21.863 W/PackageManager( 1455): Unknown permission com.android.email.permission.READ_ATTACHMENT in package com.android.bluetooth
08-26 11:41:25.157 D/BluetoothManagerService( 1455): Message: 20
08-26 11:41:25.157 D/BluetoothManagerService( 1455): Added callback: [email protected]:true
08-26 11:41:25.161 D/BluetoothManagerService( 1455): Message: 30
08-26 11:41:25.161 D/BluetoothManagerService( 1455): Message: 30
08-26 11:41:26.438 D/BluetoothManagerService( 1455): Message: 30
08-26 11:41:26.471 D/BluetoothManagerService( 1455): Message: 30
08-26 11:41:26.765 D/BluetoothManagerService( 1455): Message: 20
08-26 11:41:26.765 D/BluetoothManagerService( 1455): Added callback: [email protected]:true
08-26 11:41:26.777 D/BluetoothManagerService( 1455): Message: 30
08-26 11:41:26.780 D/BluetoothManagerService( 1455): Message: 30
08-26 11:41:26.784 D/LocalBluetoothProfileManager( 2237): Adding local MAP profile
08-26 11:41:26.786 D/BluetoothMap( 2237): Create BluetoothMap proxy object
08-26 11:41:26.786 D/BluetoothManagerService( 1455): Message: 30
08-26 11:41:26.791 D/BluetoothManagerService( 1455): Message: 30
08-26 11:41:26.793 D/LocalBluetoothProfileManager( 2237): LocalBluetoothProfileManager construction complete
08-26 11:41:27.004 D/BluetoothManagerService( 1455): Message: 20
08-26 11:41:27.005 D/BluetoothManagerService( 1455): Added callback: [email protected]:true
08-26 11:41:27.006 D/BluetoothManagerService( 1455): Message: 30
08-26 11:41:28.426 D/BluetoothManagerService( 1455): Bluetooth boot completed
08-26 11:41:28.426 D/BluetoothManagerService( 1455): Auto-enabling Bluetooth.
08-26 11:41:28.428 D/BluetoothManagerService( 1455): Message: 1
08-26 11:41:28.428 D/BluetoothManagerService( 1455): MESSAGE_ENABLE: mBluetooth = null
08-26 11:41:29.050 I/ActivityManager( 1455): Start proc 2735:com.android.bluetooth/1002 for service com.android.bluetooth/.btservice.AdapterService
08-26 11:41:29.051 D/BluetoothManagerService( 1455): User 0 unlocked
08-26 11:41:29.052 D/BluetoothManagerService( 1455): Message: 301
08-26 11:41:29.052 D/BluetoothManagerService( 1455): MESSAGE_USER_UNLOCKED
08-26 11:41:29.150 I/chatty ( 2735): uid=1002(bluetooth) com.android.bluetooth expire 40 lines
08-26 11:41:29.522 D/BluetoothManagerService( 1455): Message: 20
08-26 11:41:29.522 D/BluetoothManagerService( 1455): Added callback: [email protected]:true
08-26 11:41:29.567 I/chatty ( 2735): uid=1002(bluetooth) BluetoothAdapte expire 7 lines
08-26 11:41:29.569 I/chatty ( 2735): uid=1002(bluetooth) stack_manager expire 298 lines
08-26 11:41:29.572 I/chatty ( 2735): uid=1002(bluetooth) alarm_default_c expire 1 line
08-26 11:41:29.572 I/chatty ( 2735): uid=1002(bluetooth) alarm_dispatche expire 1 line
08-26 11:41:29.633 I/chatty ( 2735): uid=1002(bluetooth) BT Service Call expire 2 lines
08-26 11:41:29.651 D/BluetoothManagerService( 1455): Message: 20
08-26 11:41:29.651 D/BluetoothManagerService( 1455): Added callback: [email protected]:true
08-26 11:41:29.681 I/chatty ( 2735): uid=1002(bluetooth) BondStateMachin expire 1 line
08-26 11:41:29.802 D/BluetoothManagerService( 1455): Bluetooth Adapter name changed to XT1650
08-26 11:41:29.802 D/BluetoothManagerService( 1455): Stored Bluetooth name: XT1650
08-26 11:41:29.803 D/BluetoothManagerService( 1455): BluetoothServiceConnection: com.android.bluetooth.btservice.AdapterService
08-26 11:41:29.804 D/BluetoothManagerService( 1455): Message: 40
08-26 11:41:29.805 D/BluetoothManagerService( 1455): MESSAGE_BLUETOOTH_SERVICE_CONNECTED: 1
08-26 11:41:29.812 I/chatty ( 2735): uid=1002(bluetooth) Binder:2735_2 expire 2 lines
08-26 11:41:29.819 D/BluetoothManagerService( 1455): Calling onBluetoothServiceUp callbacks
08-26 11:41:29.819 D/BluetoothManagerService( 1455): Broadcasting onBluetoothServiceUp() to 5 receivers.
08-26 11:41:29.820 D/BluetoothAdapter( 2468): onBluetoothServiceUp: [email protected]
08-26 11:41:29.821 D/BluetoothAdapter( 2237): onBluetoothServiceUp: [email protected]
08-26 11:41:29.827 D/BluetoothManagerService( 1455): Message: 60
08-26 11:41:29.827 D/BluetoothManagerService( 1455): MESSAGE_BLUETOOTH_STATE_CHANGE: prevState = 10, newState =14
08-26 11:41:29.828 D/BluetoothManagerService( 1455): bluetoothStateChangeHandler: 10 -> 14
08-26 11:41:29.828 D/BluetoothManagerService( 1455): BLE State Change Intent: 10 -> 14
08-26 11:41:29.921 I/chatty ( 2735): uid=1002(bluetooth) hci_thread expire 98 lines
08-26 11:41:30.650 I/WCNSS_FILTER/utils.c( 3098): qcom.bluetooth.soc set to rome
08-26 11:41:30.817 I/bt_vendor( 2735): Bluetooth FW and transport layer are initialized
08-26 11:41:30.857 I/bt_btu_task( 2735): Bluetooth chip preload is complete
08-26 11:41:30.939 D/BluetoothManagerService( 1455): Bluetooth Adapter name changed to XT1650
08-26 11:41:30.940 D/BluetoothManagerService( 1455): Stored Bluetooth name: XT1650
08-26 11:41:30.954 D/BluetoothManagerService( 1455): Message: 60
08-26 11:41:30.954 D/BluetoothManagerService( 1455): MESSAGE_BLUETOOTH_STATE_CHANGE: prevState = 14, newState =15
08-26 11:41:30.954 D/BluetoothManagerService( 1455): bluetoothStateChangeHandler: 14 -> 15
08-26 11:41:30.954 D/BluetoothManagerService( 1455): Bluetooth is in LE only mode
08-26 11:41:30.954 D/BluetoothManagerService( 1455): Binding Bluetooth GATT service
08-26 11:41:30.955 D/BluetoothManagerService( 1455): BLE State Change Intent: 14 -> 15
08-26 11:41:30.956 D/BluetoothManagerService( 1455): BluetoothServiceConnection: com.android.bluetooth.gatt.GattService
08-26 11:41:30.956 D/BluetoothManagerService( 1455): Message: 40
08-26 11:41:30.956 D/BluetoothManagerService( 1455): MESSAGE_BLUETOOTH_SERVICE_CONNECTED: 2
08-26 11:41:30.956 D/BluetoothManagerService( 1455): BluetoothGatt Service is Up
08-26 11:41:30.956 D/BluetoothManagerService( 1455): isBleAppPresent() count: 0
08-26 11:41:30.958 D/BluetoothManagerService( 1455): bt on from settings persist state to ON enter
08-26 11:41:30.958 D/BluetoothManagerService( 1455): Persisting Bluetooth Setting: 1
08-26 11:41:30.958 D/BluetoothManagerService( 1455): bt on from settings persist state to ON exit
08-26 11:41:30.958 D/BluetoothManagerService( 1455): Message: 60
08-26 11:41:30.958 D/BluetoothManagerService( 1455): MESSAGE_BLUETOOTH_STATE_CHANGE: prevState = 15, newState =11
08-26 11:41:30.958 D/BluetoothManagerService( 1455): bluetoothStateChangeHandler: 15 -> 11
08-26 11:41:30.958 D/BluetoothManagerService( 1455): BLE State Change Intent: 15 -> 11
08-26 11:41:30.964 D/BluetoothHeadset( 2468): Proxy object connected
08-26 11:41:31.024 D/BluetoothInputDevice( 2237): Proxy object connected
08-26 11:41:31.025 D/HidProfile( 2237): Bluetooth service connected
08-26 11:41:31.039 D/BluetoothPan( 2237): BluetoothPAN Proxy object connected
08-26 11:41:31.040 D/PanProfile( 2237): Bluetooth service connected
08-26 11:41:31.060 D/BluetoothMap( 2237): Proxy object connected
08-26 11:41:31.060 D/MapProfile( 2237): Bluetooth service connected
08-26 11:41:31.060 D/BluetoothMap( 2237): getConnectedDevices()
08-26 11:41:31.061 D/BluetoothMap( 2237): Bluetooth is Not enabled
08-26 11:41:31.089 D/BluetoothManagerService( 1455): Message: 60
08-26 11:41:31.089 D/BluetoothManagerService( 1455): MESSAGE_BLUETOOTH_STATE_CHANGE: prevState = 11, newState =12
08-26 11:41:31.089 D/BluetoothManagerService( 1455): bluetoothStateChangeHandler: 11 -> 12
08-26 11:41:31.089 D/BluetoothManagerService( 1455): Broadcasting onBluetoothStateChange(true) to 9 receivers.
08-26 11:41:31.090 D/BluetoothInputDevice( 2237): onBluetoothStateChange: up=true
08-26 11:41:31.090 D/BluetoothMap( 2237): onBluetoothStateChange: up=true
08-26 11:41:31.091 D/BluetoothPan( 2237): onBluetoothStateChange on: true
08-26 11:41:31.092 D/BluetoothHeadset( 2468): onBluetoothStateChange: up=true
08-26 11:41:31.092 D/BluetoothPbap( 2237): onBluetoothStateChange: up=true
08-26 11:41:31.093 D/BluetoothManagerService( 1455): BLE State Change Intent: 11 -> 12
08-26 11:41:31.095 I/Telecom ( 1455): BluetoothPhoneService: queryPhoneState: [email protected]
08-26 11:41:31.095 I/Telecom ( 1455): BluetoothPhoneService: updateHeadsetWithCallState numActive 0, numHeld 0, callState 6, ringing number [da39a3ee5e6b4b0d3255bfef95601890afd80709], ringing type 128: [email protected]
08-26 11:41:31.112 D/BluetoothManagerService( 1455): checkIfCallerIsForegroundUser: valid=true callingUser=0 parentUser=-10000 foregroundUser=0
08-26 11:41:31.115 D/BluetoothManagerService( 1455): checkIfCallerIsForegroundUser: valid=true callingUser=0 parentUser=-10000 foregroundUser=0
08-26 11:41:31.133 D/LocalBluetoothProfileManager( 2237): Adding local A2DP SRC profile
08-26 11:41:31.144 D/BluetoothManagerService( 1455): Message: 30
08-26 11:41:31.146 D/BluetoothA2dp( 2237): Proxy object connected
08-26 11:41:31.148 D/LocalBluetoothProfileManager( 2237): Adding local HEADSET profile
08-26 11:41:31.149 D/BluetoothManagerService( 1455): Message: 30
08-26 11:41:31.172 D/BluetoothHeadset( 2237): Proxy object connected
08-26 11:41:31.173 D/HeadsetProfile( 2237): Bluetooth service connected
08-26 11:41:31.173 D/BluetoothHeadset( 2237): getConnectedDevices()
08-26 11:41:31.174 D/LocalBluetoothProfileManager( 2237): Handsfree Uuid not found.
08-26 11:41:31.594 D/A2dpService( 2735): getA2DPService(): returning [email protected]
08-26 11:41:31.935 I/BluetoothPbapReceiver( 2735): Enter - onReceive for intent:android.bluetooth.adapter.action.STATE_CHANGED
08-26 11:41:31.935 I/BluetoothPbapReceiver( 2735): State :12
08-26 11:41:31.938 I/BluetoothPbapReceiver( 2735): Exit - onReceive for intent:android.bluetooth.adapter.action.STATE_CHANGED
08-26 11:41:31.953 D/BluetoothPbapService( 2735): Enter - onCreate for service PBAP
08-26 11:41:31.964 D/BluetoothPbapService( 2735): Registering observer
08-26 11:41:31.966 D/BluetoothPbapService( 2735): startsocketListener
08-26 11:41:31.969 D/BluetoothManagerService( 1455): checkIfCallerIsForegroundUser: valid=true callingUser=0 parentUser=-10000 foregroundUser=0
08-26 11:41:31.970 W/BluetoothAdapter( 2735): getBluetoothService() called with no BluetoothManagerCallback
08-26 11:41:31.971 D/BluetoothPbapService( 2735): Exit - onCreate for service PBAP
08-26 11:41:31.972 D/BluetoothPbapService( 2735): Pbap Service onBind
08-26 11:41:31.973 D/BluetoothPbap( 2237): Proxy object connected
08-26 11:41:31.973 D/BluetoothPbapService( 2735): Enter - onStartCommand for service PBAP
08-26 11:41:31.973 D/BluetoothPbapService( 2735): action: android.bluetooth.adapter.action.STATE_CHANGED
08-26 11:41:31.973 D/BluetoothPbapService( 2735): state: 12
08-26 11:41:31.973 D/BluetoothPbapService( 2735): Exit - onStartCommand for service PBAP
08-26 11:41:31.973 D/BluetoothManagerService( 1455): checkIfCallerIsForegroundUser: valid=true callingUser=0 parentUser=-10000 foregroundUser=0
08-26 11:41:31.973 D/PbapServerProfile( 2237): Bluetooth service connected
08-26 11:41:31.974 W/BluetoothAdapter( 2735): getBluetoothService() called with no BluetoothManagerCallback
08-26 11:41:31.976 D/BluetoothPbapService( 2735): isDisabledNonAosp :true
08-26 11:41:31.976 D/BluetoothSdpJni( 2735): sdpCreatePbapPseRecordNative:
08-26 11:41:31.976 D/BluetoothSdpJni( 2735): SDP Create record success - handle: 1
08-26 11:41:31.976 D/BluetoothPbapService( 2735): Creating new SDP record for PBAP server with handle: 1
08-26 11:41:31.984 W/ContextImpl( 2483): Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1357 android.content.ContextWrapper.startService:613 android.content.ContextWrapper.startService:613 com.android.settings.bluetooth.DockEventReceiver.beginStartingService:135 com.android.settings.bluetooth.DockEventReceiver.onReceive:115
08-26 11:41:31.999 D/BluetoothManagerService( 1455): Message: 20
08-26 11:41:32.000 D/BluetoothManagerService( 1455): Added callback: [email protected]:true
08-26 11:41:32.001 D/BluetoothOppReceiver( 2735): Enter - onReceive for intent:android.bluetooth.adapter.action.STATE_CHANGED
08-26 11:41:32.001 D/BluetoothOppReceiver( 2735): Bluetooth Adapter state = 12
08-26 11:41:32.012 D/BluetoothManagerService( 1455): Message: 20
08-26 11:41:32.012 D/BluetoothManagerService( 1455): Added callback: [email protected]:true
08-26 11:41:32.014 D/LocalBluetoothProfileManager( 2483): Adding local A2DP SRC profile
08-26 11:41:32.017 D/BluetoothManagerService( 1455): Message: 30
08-26 11:41:32.021 D/BluetoothOppReceiver( 2735): Exit - onReceive for intent:android.bluetooth.adapter.action.STATE_CHANGED
08-26 11:41:32.022 D/LocalBluetoothProfileManager( 2483): Adding local HEADSET profile
08-26 11:41:32.025 D/BluetoothManagerService( 1455): Message: 30
08-26 11:41:32.032 D/BluetoothManagerService( 1455): checkIfCallerIsForegroundUser: valid=true callingUser=0 parentUser=-10000 foregroundUser=0
08-26 11:41:32.033 W/BluetoothAdapter( 2735): getBluetoothService() called with no BluetoothManagerCallback
08-26 11:41:32.034 D/BluetoothSdpJni( 2735): sdpCreateOppOpsRecordNative:
08-26 11:41:32.034 D/BluetoothSdpJni( 2735): SDP Create record success - handle: 2
08-26 11:41:32.034 D/LocalBluetoothProfileManager( 2483): Handsfree Uuid not found.
08-26 11:41:32.040 D/BluetoothManagerService( 1455): Message: 30
08-26 11:41:32.048 D/BluetoothManagerService( 1455): Message: 30
08-26 11:41:32.051 D/LocalBluetoothProfileManager( 2483): Adding local MAP profile
08-26 11:41:32.052 D/BluetoothMap( 2483): Create BluetoothMap proxy object
08-26 11:41:32.053 D/BluetoothManagerService( 1455): Message: 30
08-26 11:41:32.068 D/BluetoothManagerService( 1455): Message: 30
08-26 11:41:32.074 D/LocalBluetoothProfileManager( 2483): LocalBluetoothProfileManager construction complete
08-26 11:41:32.093 D/BluetoothA2dp( 2483): Proxy object connected
08-26 11:41:32.097 D/BluetoothHeadset( 2483): Proxy object connected
08-26 11:41:32.097 D/HeadsetProfile( 2483): Bluetooth service connected
08-26 11:41:32.097 D/BluetoothHeadset( 2483): getConnectedDevices()
08-26 11:41:32.100 D/BluetoothInputDevice( 2483): Proxy object connected
08-26 11:41:32.101 D/HidProfile( 2483): Bluetooth service connected
08-26 11:41:32.104 D/BluetoothPan( 2483): BluetoothPAN Proxy object connected
08-26 11:41:32.104 D/PanProfile( 2483): Bluetooth service connected
08-26 11:41:32.104 D/BluetoothMap( 2483): Proxy object connected
08-26 11:41:32.105 D/MapProfile( 2483): Bluetooth service connected
08-26 11:41:32.105 D/BluetoothMap( 2483): getConnectedDevices()
08-26 11:41:32.107 D/BluetoothPbap( 2483): Proxy object connected
08-26 11:41:32.108 D/PbapServerProfile( 2483): Bluetooth service connected
08-26 11:41:34.285 D/BluetoothManagerService( 1455): Registered for death Notification
08-26 11:41:34.285 D/BluetoothManagerService( 1455): Updated BleAppCount1
08-26 11:41:34.287 D/BluetoothAdapter( 2749): STATE_ON
08-26 11:41:34.287 D/BluetoothAdapter( 2749): enableBLE(): Bluetooth already enabled
08-26 11:41:34.313 D/BluetoothAdapter( 2749): STATE_ON
08-26 11:41:34.322 D/BluetoothLeScanner( 2749): onClientRegistered() - status=0 clientIf=5 mClientIf=0
08-26 11:41:34.355 D/BluetoothAdapterService( 2735): getAdapterService() - returning [email protected]
08-26 11:41:34.702 D/BluetoothAdapter( 2749): STATE_ON
08-26 11:41:34.721 D/BluetoothAdapter( 2749): STATE_ON
08-26 11:41:34.726 D/BluetoothLeScanner( 2749): onClientRegistered() - status=0 clientIf=5 mClientIf=0
08-26 11:41:37.409 D/BluetoothAdapter( 2749): STATE_ON
08-26 11:41:39.737 D/BluetoothMapAppObserver( 2735): onReceive
08-26 11:41:39.738 D/BluetoothMapAppObserver( 2735): The installed package is: com.topjohnwu.magisk
08-26 11:41:39.740 D/BluetoothMapAppObserver( 2735): Found 0 application(s) with intent android.bluetooth.action.BLUETOOTH_MAP_PROVIDER
08-26 11:41:39.741 D/BluetoothMapAppObserver( 2735): Found 0 application(s) with intent android.bluetooth.action.BLUETOOTH_MAP_IM_PROVIDER
08-26 11:41:46.365 D/BluetoothAdapter( 2749): STATE_ON
08-26 11:41:46.401 D/BluetoothLeScanner( 2749): onClientRegistered() - status=0 clientIf=5 mClientIf=0
08-26 11:41:49.446 D/BluetoothAdapter( 2749): STATE_ON
08-26 11:41:53.549 D/BluetoothManagerService( 1455): Message: 20
08-26 11:41:53.549 D/BluetoothManagerService( 1455): Added callback: [email protected]:true
08-26 11:42:00.384 D/BluetoothManagerService( 1455): Message: 20
08-26 11:42:00.384 D/BluetoothManagerService( 1455): Added callback: [email protected]:true
08-26 11:42:11.521 W/Settings( 2439): Setting bluetooth_on has moved from android.provider.Settings.Secure to android.provider.Settings.Global, returning global URI.
08-26 11:42:18.376 D/BluetoothManagerService( 1455): Message: 20
08-26 11:42:18.376 D/BluetoothManagerService( 1455): Added callback: [email protected]:true
08-26 11:42:18.379 D/LocalBluetoothProfileManager( 6055): Adding local A2DP SRC profile
08-26 11:42:18.395 D/BluetoothManagerService( 1455): Message: 30
08-26 11:42:18.397 D/LocalBluetoothProfileManager( 6055): Adding local HEADSET profile
08-26 11:42:18.398 D/BluetoothManagerService( 1455): Message: 30
08-26 11:42:18.401 D/LocalBluetoothProfileManager( 6055): Handsfree Uuid not found.
08-26 11:42:18.403 D/BluetoothManagerService( 1455): Message: 30
08-26 11:42:18.412 D/BluetoothManagerService( 1455): Message: 30
08-26 11:42:18.412 D/LocalBluetoothProfileManager( 6055): Adding local MAP profile
08-26 11:42:18.413 D/BluetoothMap( 6055): Create BluetoothMap proxy object
08-26 11:42:18.414 D/BluetoothManagerService( 1455): Message: 30
08-26 11:42:18.417 D/BluetoothManagerService( 1455): Message: 30
08-26 11:42:18.422 D/LocalBluetoothProfileManager( 6055): LocalBluetoothProfileManager construction complete
08-26 11:42:18.537 D/BluetoothA2dp( 6055): Proxy object connected
08-26 11:42:18.542 D/BluetoothHeadset( 6055): Proxy object connected
08-26 11:42:18.543 D/HeadsetProfile( 6055): Bluetooth service connected
08-26 11:42:18.543 D/BluetoothHeadset( 6055): getConnectedDevices()
08-26 11:42:18.545 D/BluetoothInputDevice( 6055): Proxy object connected
08-26 11:42:18.546 D/HidProfile( 6055): Bluetooth service connected
08-26 11:42:18.548 D/BluetoothPan( 6055): BluetoothPAN Proxy object connected
08-26 11:42:18.548 D/PanProfile( 6055): Bluetooth service connected
08-26 11:42:18.548 D/BluetoothMap( 6055): Proxy object connected
08-26 11:42:18.548 D/MapProfile( 6055): Bluetooth service connected
08-26 11:42:18.548 D/BluetoothMap( 6055): getConnectedDevices()
08-26 11:42:18.554 D/BluetoothPbap( 6055): Proxy object connected
08-26 11:42:18.554 D/PbapServerProfile( 6055): Bluetooth service connected
08-26 11:42:18.649 W/ProcStatsManager( 6055): No process com.motorola.moto:context_engine/10048 for service com.motorola.context.publisher.bluetoothdeterminer.BluetoothContextService
08-26 11:42:19.842 I/ActivityManager( 1455): START u0 {flg=0x8000 cmp=com.android.settings/.Settings$BluetoothSettingsActivity (has extras)} from uid 1000 on display 0
08-26 11:42:19.944 D/LocalBluetoothProfileManager( 6055): Handsfree Uuid not found.
08-26 11:42:19.948 D/LocalBluetoothManager( 6055): setting foreground activity to non-null context
08-26 11:42:19.962 D/A2dpService( 2735): getA2DPService(): returning [email protected]
08-26 11:42:19.969 D/A2dpService( 2735): getA2DPService(): returning [email protected]
08-26 11:42:19.970 I/BluetoothAdapterService( 2735): setScanMode: prev mode: 21 new mode: 23
08-26 11:42:19.971 D/BluetoothAdapterProperties( 2735): Discoverable Timeout:120
08-26 11:42:19.973 D/BluetoothAdapterProperties( 2735): Scan Mode:23
08-26 11:42:20.028 V/BluetoothDiscoveryReceiver( 6055): Received: android.bluetooth.adapter.action.DISCOVERY_STARTED
08-26 11:42:20.060 I/LaunchCheckinHandler( 1455): Displayed com.android.settings/.Settings$BluetoothSettingsActivity,wp,ca,209
08-26 11:42:20.060 I/ActivityManager( 1455): Displayed com.android.settings/.Settings$BluetoothSettingsActivity: +209ms
08-26 11:42:32.771 D/LocalBluetoothManager( 6055): setting foreground activity to null
08-26 11:42:32.778 D/SFPerfTracer( 680): layers: (3:10) (com.android.systemui.ImageWallpaper (0x724a73d000): 3:768)* (StatusBar (0x724a739800): 4:905) (NavigationBar (0x724a616400): 8:710) (DimLayerController/Stack=0 (0x724782ec00): 0:74)* (com.tortel.syslog/com.tortel.syslog.LiveLogActivity (0x7247830800): 0:317)- (animation background stackId=1 (0x724786d000): 0:6)* (Toast (0x724a7d3400): 0:162)- (Starting com.android.settings (0x7247875c00): 0:40)- (com.android.settings/com.android.settings.Settings (0x724ab0b000): 0:71)- (com.android.settings/com.android.settings.Settings$BluetoothSettingsActivity (0x7247865000): 709:773)
08-26 11:42:32.787 D/A2dpService( 2735): getA2DPService(): returning [email protected]
08-26 11:42:32.788 I/BluetoothAdapterService( 2735): setScanMode: prev mode: 23 new mode: 21
08-26 11:42:32.789 D/BluetoothAdapterProperties( 2735): Discoverable Timeout:120
08-26 11:42:32.792 D/BluetoothAdapterProperties( 2735): Scan Mode:21
08-26 11:42:32.815 V/BluetoothDiscoveryReceiver( 6055): Received: android.bluetooth.adapter.action.DISCOVERY_FINISHED
08-26 11:42:39.538 D/SFPerfTracer( 680): layers: (4:11) (com.android.systemui.ImageWallpaper (0x724a73d000): 32:881)* (StatusBar (0x724a739800): 32:1018) (NavigationBar (0x724a616400): 32:823) (DimLayerController/Stack=0 (0x724782ec00): 0:74)* (animation background stackId=1 (0x724786d000): 0:6)* (com.android.settings/com.android.settings.Settings$BluetoothSettingsActivity (0x7247865000): 0:793)- (com.android.systemui/com.android.systemui.recents.RecentsActivity (0x724a780000): 0:32)- (thumbnail anim (0x724a781c00): 0:8)- (com.tortel.syslog/com.tortel.syslog.LiveLogActivity (0x724aa9e800): 32:112) (thumbnail anim (0x724ab0b000): 0:22)- (Toast (0x724a7d3400): 32:70)
Had the same problem and they told me in the support-chat it was an hardware-related issue (the guy sad bluetooth-problems related to the 7.1.1 update deactivated bluetooth permanently. So if you can switch bluetooth on, it should be hardware, not software)
I did not test, if it worked on 7.0 (got my phone two weeks ago and updated instantly) but i sent it back get an new one. Will update this thread once I test the new device.
Edit: decided to get my money back, so no more updates from me. I will buy a OP3. Good luck woth yours!
Having the same bluetooth issue here on my device as well, through the official OTA's (device is stock and still locked bootloader). Going crazy trying to figure out what is causing it..as it seemed to work prior to the October or November Security update, if i recall correctly. Motorola customer service seems to be blaming Google Play's Protect scanning feature...and dont offer any more assistance than book it in for repairs if that doesnt fix it.
SaajidS said:
Having the same bluetooth issue here on my device as well, through the official OTA's (device is stock and still locked bootloader). Going crazy trying to figure out what is causing it..as it seemed to work prior to the October or November Security update, if i recall correctly...
Click to expand...
Click to collapse
Unfortunately there is nothing you can do about it, beacause it is a hardware issue. If your bootloader is still locked, send the device in to Motorola support. They will "repair it" , i.e. you will receive a replacement device.
My bootloader was opened, so Motorola send it back unaltered. I was able to lock it but the device still shows "System: Modified". I read, that this might change with an OTA to a new major Android version, e.g. Oreo - so I am waiting... if it works, I will send the device in again to Motorola support.
Have you guys tried reflashing the radio using fastboot in bootloader mode?:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
I remember when I had my Moto X Style, this would happen regularly when flashing some ROMs and was normally fixed by reflashing the radio that is correct for your phone. This would normally be found in the full stock image. In some cases, it had to be done twice. Some ROM images also have a separate file for Bluetooth and it might be worth flashing that too if it exists. I think it is normally labelled something like BTFM. I don't have any issues on my Moto Z though and it is completely stock. I used to tweak a lot on my Moto X Style which I gave to one of my parents and recently had to fix a similar issue by reflashing the modem. Make sure the modem you flash is the correct one or it can cause issues.
Hope this helps.
Ooms
My stock (and locked) Moto Z has the same issue: Bluetooth died after installing an update (I don't remember which one exactly).
Motorola Customer Support told me to ship the device to a repair center, as the problem is hardware related.
I shipped it last week, in about one month (when I get it back) I'll see if they have actually replaced the motherboard or not. If they haven't, maybe there's a chance that Bluetooth can be restored by flashing something.
Has nobody found a fix? I really like my Moto Z but I need Bluetooth
Hi everybody,
I have the same problem on my moto Z. Furthermore I have a pop-up every 2sec who says something like "Not able to connect to bluetooth" even if I do not turn on the Bluetooth.
I use BT every day and I prefer not to loose weeks with a repair center.
Do someone have a fix to that pb ?
thanks
I got my Moto Z back from the repair center after six months. They actually replaced the phone's motherboard.
Hey all, my device is rooted, with Android 11 and XPrivacyLua installed. I have an app here that keeps crashing. I know it's related to XPrivacyLua restrictions, because if I allow it all the permissions then it runs fine. but with XPL enabled and blocking permissions, it crashes. Below is the output of adb logcat --buffer=crash when I try and open it. How can I tell what is specifically causing it? and is there a workaround so I can keep blocking it with XPL and get it to run somehow? Perhaps with a custom spoofing of values with XPL? Thanks
Code:
08-26 16:33:22.745 16472 16472 E AndroidRuntime: FATAL EXCEPTION: main
08-26 16:33:22.745 16472 16472 E AndroidRuntime: Process: com.nextdoor, PID: 16472
08-26 16:33:22.745 16472 16472 E AndroidRuntime: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at java.util.ArrayList.get(ArrayList.java:437)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at java.util.Collections.swap(Collections.java:544)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.pushNotification.appbadger.ShortcutBadger.validateInfoList(ShortcutBadger.kt:165)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.pushNotification.appbadger.ShortcutBadger.initBadger(ShortcutBadger.kt:116)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.pushNotification.appbadger.ShortcutBadger.applyCountOrThrow(ShortcutBadger.kt:75)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.pushNotification.appbadger.ShortcutBadger.applyCount(ShortcutBadger.kt:46)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.pushNotification.NotificationChannelManager.updateBadgeCount(NotificationChannelManager.kt:111)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.pushNotification.NotificationChannelManager.clearPrivateMessageNotificationsFromSystemTray(NotificationChannelManager.kt:84)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.pushNotification.NotificationChannelManager.clearPrivateMessageNotificationsFromSystemTray$default(NotificationChannelManager.kt:69)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.view.newsfeed.MessagesPresenter.setBadgeCount(ToolbarActionPresenter.kt:80)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.view.newsfeed.MessagesPresenter.populate(ToolbarActionPresenter.kt:68)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.activity.TopLevelActivityActionBarUtil.createMessagesPresenter(TopLevelActivityActionBarUtil.kt:204)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.activity.TopLevelActivityActionBarUtil.createPresenters(TopLevelActivityActionBarUtil.kt:74)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.newsfeed.fragments.MainFeedFragment.updateBadgeCount(MainFeedFragment.kt:370)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.newsfeed.fragments.MainFeedFragment.access$updateBadgeCount(MainFeedFragment.kt:150)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.newsfeed.fragments.MainFeedFragment$subscribeFeedRendered$1.invoke(MainFeedFragment.kt:362)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.newsfeed.fragments.MainFeedFragment$subscribeFeedRendered$1.invoke(MainFeedFragment.kt:358)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.newsfeed.viewmodels.FeedsViewModelV2$subscribeFeedRendered$2.invoke(FeedsViewModelV2.kt:542)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.newsfeed.viewmodels.FeedsViewModelV2$subscribeFeedRendered$2.invoke(FeedsViewModelV2.kt:540)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.airbnb.mvrx.BaseMvRxViewModel$selectSubscribe$1.invokeSuspend(BaseMvRxViewModel.kt:185)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.airbnb.mvrx.BaseMvRxViewModel$selectSubscribe$1.invoke(Unknown Source:8)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.airbnb.mvrx.BaseMvRxViewModel$selectSubscribe$1.invoke(Unknown Source:2)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.airbnb.mvrx.MavericksViewModelExtensionsKt$_internal1$2.invokeSuspend(MavericksViewModelExtensions.kt:27)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.airbnb.mvrx.MavericksViewModelExtensionsKt$_internal1$2.invoke(Unknown Source:8)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.airbnb.mvrx.MavericksViewModelExtensionsKt$_internal1$2.invoke(Unknown Source:4)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.FlowKt__MergeKt$mapLatest$1.invokeSuspend(Merge.kt:214)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.FlowKt__MergeKt$mapLatest$1.invoke(Unknown Source:13)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.FlowKt__MergeKt$mapLatest$1.invoke(Unknown Source:4)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1$2.invokeSuspend(Merge.kt:34)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1$2.invoke(Unknown Source:8)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1$2.invoke(Unknown Source:4)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:55)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.BuildersKt.launch(Unknown Source:1)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:47)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source:1)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1.emit(Merge.kt:33)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.DistinctFlowImpl$collect$2.emit(Distinct.kt:81)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.airbnb.mvrx.MavericksViewModelExtensionsKt$_internal1$$inlined$map$1$2.emit(Collect.kt:24)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.SharedFlowImpl.collect$suspendImpl(SharedFlow.kt:383)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.SharedFlowImpl$collect$1.invokeSuspend(Unknown Source:12)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:938)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at android.os.Looper.loop(Looper.java:223)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7664)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException:[StandaloneCoroutine{Cancelling}@ed6f277, Dispatchers.Main.immediate]