Hey everyone,
I've been trying to create a modded Google VR Services APK to bypass the incompatible device modal that the Daydream app shows.
I've been following this comment by OrBy so far, and I have had limited success.
Using the Google Play version of Google VR Services, the Daydream app was rendering the river, trees etc + the controller connection popup properly, albeit with an "Incompatible device" modal on top of it.
Using APKLab in Visual Studio Code, I was able to replace the mentioned strings, build and resign the APK successfully. I had some issues installing it but once I removed the Play Store version it worked.
However, with my build of Google VR Services installed, the Daydream application continues to render the river etc and popup except this time with "Google VR Services keeps stopping" on top of it. Closing the keeps stopping popup turns the Daydream application fully black until it is restarted to observe the same behaviour.
I'm not experienced in Android development but I've had this headset for a few years (Daydream View) and I really don't want to root my phone.
Thanks in advance,
ninjadev64
My controller doesn't pair but otherwise, this is what worked for me.
Uninstall Google VR Services (optionally clear Daydream storage too)
Use `adb install` to install OrBy's apk. What I did wrong before was I forgot to remove my Play Store version of GVR so this install failed as the apk is an older version.
The reason you use `adb install` is because it gives a more detailed error message if it fails than the normal installation menus on Android.
Launch the Daydream application and perform setup. It will ask you to grant a lot of permissions to GVR, including NFC. If your phone does not have NFC, enable Daydream Settings > Developer Options > Skip VR Entry Scenes after allowing the other permissions.
Hopefully it worked? Enjoy Daydream if it did! My controller still doesn't pair but at least it got past the "Incompatible device" modal.
I've found the cause of the crash in my build of GVR. Anyone know how to resolve this?
Java:
09-11 09:40:40.646 16440 16440 E AndroidRuntime: FATAL EXCEPTION: main
09-11 09:40:40.646 16440 16440 E AndroidRuntime: Process: com.google.vr.vrcore, PID: 16440
09-11 09:40:40.646 16440 16440 E AndroidRuntime: java.lang.SecurityException: GoogleCertificatesRslt: not allowed: pkg=com.google.vr.vrcore, sha256=[1e08a903aef9c3a721510b64ec764d01d3d094eb954161b62544ea8f187b5953], atk=false, ver=223017037.true (go/gsrlt)
09-11 09:40:40.646 16440 16440 E AndroidRuntime: at android.os.Parcel.createExceptionOrNull(Parcel.java:2373)
09-11 09:40:40.646 16440 16440 E AndroidRuntime: at android.os.Parcel.createException(Parcel.java:2357)
09-11 09:40:40.646 16440 16440 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:2340)
09-11 09:40:40.646 16440 16440 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:2282)
09-11 09:40:40.646 16440 16440 E AndroidRuntime: at att.a(PG:14)
09-11 09:40:40.646 16440 16440 E AndroidRuntime: at arz.a(PG:248)
09-11 09:40:40.646 16440 16440 E AndroidRuntime: at apo.a(PG:29)
09-11 09:40:40.646 16440 16440 E AndroidRuntime: at aps.run(PG:10)
09-11 09:40:40.646 16440 16440 E AndroidRuntime: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
09-11 09:40:40.646 16440 16440 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
09-11 09:40:40.646 16440 16440 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
09-11 09:40:40.646 16440 16440 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
09-11 09:40:40.646 16440 16440 E AndroidRuntime: at auz.run(PG:6)
09-11 09:40:40.646 16440 16440 E AndroidRuntime: at java.lang.Thread.run(Thread.java:923)
Related
I have an Lg G5 (H850), unrooted and fully up to date.
A few months ago I began to have trouble with the Clock app. It crashes several times during use.
I've been able to deduce that this problem occurs when Android Wear is installed, and it makes no difference if my Lg G Watch R is connected to my phone or not.
Another event that seems to trigger Clock crashing is when my phone toggles between service and WiFi, but I cannot be sure if that's the cause.
Here are the failed solutions I've tried:
- Install previous version of Android Wear dating back to before the issue started
- Cleared Data/Cache from Clock app
- Tried to disable Clock, but button is grayed out
- Installed Google Clock. Made no difference
- Disconnected watch, but problem persists
- Reset the watch to manufacturer's
I should add (although I am not sure it's a bug) that every time I clear data/cash from Clock, a new alarm appears set (though tuned off) at 7:00 am January 1st. I've never set this alarm, and whether I leave it there, delete it or switch it on and off (so it changes to current date) doesn't make a difference.
I am including a copy of LogCat that shows the crash. Unfortunately I do not know what to do with the information it provides.
Thanks for any help anyone can provide.
--------- beginning of crash
07-31 10:26:09.541 10690 10690 E AndroidRuntime: FATAL EXCEPTION: main
07-31 10:26:09.541 10690 10690 E AndroidRuntime: Process: com.lge.clock, PID: 10690
07-31 10:26:09.541 10690 10690 E AndroidRuntime: java.lang.IllegalArgumentException: Receiver not registered: [email protected]
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:1047)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1332)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:608)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.common.api.c.gM(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.common.api.c.gJ(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.common.api.c.d(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.common.api.c$2.onConnected(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.internal.jm.f(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.internal.jm.dU(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.internal.jl$h.b(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.internal.jl$h.g(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.internal.jl$b.hy(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.internal.jl$a.handleMessage(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6247)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:872)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762)
Unexpected solution
After months of fiddling with this problem, I accidentally came across information that lead me to solve another problem and through it; fixing this issue I described.
Kinda silly to answer my own post, but it might help people out there.
While live monitoring Logcat, I decided to toggle WiFi on and off to see what the phone did. My Lg G5 has always been pretty slow to connect.
I noticed that, upon turning WiFi on, my phone went through the whole list of "saved" networks before even attempting to connect to the available ones.
I had a LOAD of saved networks. Most of them from countries I visited.
I cleaned up the list, removing most networks I had saved et voila! Not only did my phone started connecting to WiFi instantly, but my clock app stopped crashing.
I hope this helps someone out there.
I have this issue:
01-09 11:58:07.691 22967 22967 E AndroidRuntime: java.util.concurrent.RejectedExecutionException: Task [email protected] rejected from [email protected][Running, pool size = 17, active threads = 17, queued tasks = 128, completed tasks = 52]
I'm on Nougat 7.1.1, the problem fix after reset and then after two days it's on again.
I'm searching on the internet and some one says is related to background data disabled for some apps, and other says due to AsyncTask queue pool is over 128, it reject every new task to execute.
The devices affected are Google Pixel 7.1.2 7.1.1 samsungs, motorolas and others devices and versions. Some known tracked issues can be found on post similar to this: https://productforums.google.com/fo...ZFBIyW2KE;context-place=forum/phone-by-google
Some one posted the bad code causing issue and the solution to fix it but on AOSP (If I can retrieve the link I will attach to this post for furter analysis)
Trying to speak with Sony support the only thing they can do, is to send the device for repair (thankyou )
So, I wish to know if there's a solution trough ADB or some wise app that can flush Pool queue and free it to permit execution of usage data, or something else
I'll post the entire log for further info
01-09 11:37:22.687 14737 14737 E AndroidRuntime: FATAL EXCEPTION: main
01-09 11:37:22.687 14737 14737 E AndroidRuntime: Process: com.android.settings,PID: 14737
01-09 11:37:22.687 14737 14737 E AndroidRuntime: java.util.concurrent.RejectedExecutionException: Task [email protected] rejected from [email protected][Running, pool size = 17, active threads = 17, queued tasks = 128, completed tasks = 74]
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2049)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:814)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1360)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:623)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at com.android.settings.datausage.AppDataUsagePreference$UidDetailTask.bindView(AppDataUsagePreference.j
ava:93)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at com.android.settings.datausage.AppDataUsagePreference.<init>(AppDataUsagePreference.java:49)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at com.android.settings.datausage.DataUsageList.bindStats(DataUsageList.java:483)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at com.android.settings.datausage.DataUsageList$3.onLoadFinished(DataUsageList.java:656)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at com.android.settings.datausage.DataUsageList$3.onLoadFinished(DataUsageList.java:653)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.app.LoaderManagerImpl$LoaderInfo.callOnLoadFinished(LoaderManager.java:489)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.app.LoaderManagerImpl$LoaderInfo.onLoadComplete(LoaderManager.java:457)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.content.Loader.deliverResult(Loader.java:144)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.content.AsyncTaskLoader.dispatchOnLoadComplete(AsyncTaskLoader.java:265)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.content.AsyncTaskLoader$LoadTask.onPostExecute(AsyncTaskLoader.java:92)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.os.AsyncTask.finish(AsyncTask.java:667)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.os.AsyncTask.-wrap1(AsyncTask.java)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:684)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.os.Looper.loop(Looper.java:241)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6274)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
Background:
I created a script that pretty much factory resets the phone and starts deleting apps from system/app and system/priv-app.
My problem pretty much is that when I try to add those apps back
When I add them via another flashable zip and I reboot, the apps don't start up and start crashing upon trying to open them up
I extracted the whole folder located in system/priv-app from the system.img of a previous firmware version
When I extract the folder of my current firmware version, it works. Which makes me believe that these apps are firmware specific?
The only problem is that I am trying to share these zips with other people and since they have different firmware versions (usually due to some carriers taking longer to release firmware or stuff like that)
Problem:
Anyway, here's the deal (I will use Samsung's Gallery app as an example). I have this script to add the Samsung Gallery's app:
Code:
ui_print ("Let's begin, mounting /system...");
run_program("/sbin/busybox","mount", "/system");
ui_print ("Extracting necessary files...");
package_extract_dir("system", "/system");
ui_print ("Setting necessary permission...");
set_perm(0, 0, 0755, "/system/priv-app/SecGallery2015");
set_perm(0, 0, 0755, "/system/priv-app/SecGallery2015/oat");
set_perm(0, 0, 0755, "/system/priv-app/SecGallery2015/oat/arm");
set_perm(0, 0, 0644, "/system/priv-app/SecGallery2015/oat/arm/SecGallery2015.odex");
ui_print ("Done, unmounting /system...");
run_program("/sbin/busybox", "umount", "/system");
But it doesn't work. I see that the app is added in the app drawer, but opening it up crashes it and closes it.
Here is the section of the logcat that is showing me what's wrong, maybe it'll show more clearly what the problem is (I have NO idea how to read logcats or even debug them :crying: )
Code:
01-25 16:04:00.297 4321 4321 E AndroidRuntime: FATAL EXCEPTION: main
01-25 16:04:00.297 4321 4321 E AndroidRuntime: Process: com.sec.android.gallery3d, PID: 4321
01-25 16:04:00.297 4321 4321 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate application com.sec.android.gallery3d.app.GalleryAppImpl: java.lang.ClassNotFoundException: Didn't find class "com.sec.android.gallery3d.app.GalleryAppImpl" on path: DexPathList[[zip file "/system/framework/secvision.jar", zip file "/system/framework/allshare.jar", zip file "/system/framework/com.google.android.media.effects.jar", zip file "/system/framework/saiv.jar", zip file "/system/framework/secimaging.jar", zip file "/system/framework/twframework.jar", zip file "/system/framework/com.google.android.maps.jar", zip file "/system/framework/sechardware.jar", zip file "/system/priv-app/SecGallery2015/SecGallery2015.apk"],nativeLibraryDirectories=[/system/priv-app/SecGallery2015/lib/arm, /vendor/lib, /system/lib]]
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.LoadedApk.makeApplication(LoadedApk.java:680)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6469)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.ActivityThread.access$1800(ActivityThread.java:229)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1887)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7406)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.sec.android.gallery3d.app.GalleryAppImpl" on path: DexPathList[[zip file "/system/framework/secvision.jar", zip file "/system/framework/allshare.jar", zip file "/system/framework/com.google.android.media.effects.jar", zip file "/system/framework/saiv.jar", zip file "/system/framework/secimaging.jar", zip file "/system/framework/twframework.jar", zip file "/system/framework/com.google.android.maps.jar", zip file "/system/framework/sechardware.jar", zip file "/system/priv-app/SecGallery2015/SecGallery2015.apk"],nativeLibraryDirectories=[/system/priv-app/SecGallery2015/lib/arm, /vendor/lib, /system/lib]]
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.Instrumentation.newApplication(Instrumentation.java:1005)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.LoadedApk.makeApplication(LoadedApk.java:670)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: ... 9 more
01-25 16:04:00.297 4321 4321 E AndroidRuntime: Suppressed: java.io.IOException: No original dex files found for dex location (arm) /system/priv-app/SecGallery2015/SecGallery2015.apk ()
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.DexFile.openDexFileNative(Native Method)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.DexFile.openDexFile(DexFile.java:295)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.DexFile.<init>(DexFile.java:80)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.DexFile.<init>(DexFile.java:59)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.DexPathList.loadDexFile(DexPathList.java:279)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.DexPathList.makePathElements(DexPathList.java:248)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.DexPathList.<init>(DexPathList.java:120)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:86)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:47)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.LoadedApk.getClassLoader(LoadedApk.java:438)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.LoadedApk.makeApplication(LoadedApk.java:663)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: ... 9 more
01-25 16:04:00.297 4321 4321 E AndroidRuntime: Suppressed: java.lang.ClassNotFoundException: com.sec.android.gallery3d.app.GalleryAppImpl
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at java.lang.Class.classForName(Native Method)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: ... 12 more
01-25 16:04:00.297 4321 4321 E AndroidRuntime: Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
01-25 16:04:00.297 823 2839 D InputDispatcher: Focused application set to: xxxx
01-25 16:04:00.297 823 2839 D ActivityTrigger: ActivityTrigger activityPauseTrigger
01-25 16:04:00.297 823 2839 W ActivityManager: Force finishing activity com.sec.android.gallery3d/.app.GalleryOpaqueActivity
Any help is appreciated
I had reset my watch about 5 times or so, maybe less, but I am facing two issues.
Quick reply for Discord messages gives me this error
"Can't finish action. Reconnect to your phone."
But other actions work besides the other one I will mention now
In any text input field with a Mic icon for voice typing, tapping on the icon either shows the screen where it will tell you to speak and back out or just go back to the three options which are Mic, Emoji or Keyboard
Below is the logcat from my watch for the error which took me a bit to find.
Code:
04-13 20:08:58.864 1987 2108 E AndroidRuntime: FATAL EXCEPTION: EventBus0
04-13 20:08:58.864 1987 2108 E AndroidRuntime: Process: com.google.android.googlequicksearchbox:search, PID: 1987
04-13 20:08:58.864 1987 2108 E AndroidRuntime: java.lang.RuntimeException: Unchecked exception happened while running task: q[ServiceTransaction[SessionController#handleGenericClientEvent]]
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.util.c.a.ca.run(SourceFile:2)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.util.c.a.ak.a(SourceFile:1)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.util.c.a.aj.run(Unknown Source)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.util.c.a.f.run(Unknown Source)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:272)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at java.lang.Thread.run(Thread.java:761)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.util.c.a.h.run(SourceFile:4)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: Caused by: java.lang.RuntimeException: Query received by transcription is not committed!
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.util.a.g.g(SourceFile:2)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.staticplugins.ad.a.a.p.a(SourceFile:50)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.search.core.service.b.d(SourceFile:15)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.search.core.service.q.a(SourceFile:5)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.search.core.service.ax.run(SourceFile:2)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.libraries.gsa.h.a.b.run(Unknown Source)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.logger.f.a.a.a.a(SourceFile:30)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.logger.f.a.a.c.run(Unknown Source)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.util.c.a.bz.a(SourceFile)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.util.c.a.ca.run(SourceFile:1)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: ... 10 more
Hello everyone,
I hope thats the correct forum to post this question. I tried to find something through google search but it seems that there are only some stackoverflow development questions on that topic, which do not help a lot.
I have a MI9 (MIUI Global 10.2.30 stable) without root. Now I wanted to remove some default system apps and found this tool here: github.com/Saki-EU/XiaomiADBFastbootTools/releases/tag/6.6.2
I followed this list (and tailored it to my own needs): gist.github.com/Biswa96/81fe477079fa5279f7cfd7b98d5519c7
After finishing my de-bloating I realized that Google Calender (and also system calender) does not start any more. All I get is the error message "Failed to find provider com.android.calendar for user 0; expected to find a valid ContentProvider for this authority"
I tried to reinstall Google Calendar (and also all the removed bloat apps) but it doesn't help. Here is also the log file from adb logcat:
Code:
09-24 17:07:29.395 1441 2654 I ActivityManager: Start proc 29460:com.google.android.calendar/u0a99 for service com.google.android.calendar/com.google.android.syncadapters.calendar.CalendarSyncAdapterService caller=android
09-24 17:07:29.396 4352 4472 D PowerKeeper.Event: notifyAMProcStart processName: 10099 reason: com.google.android.calendar, pid:0
09-24 17:07:29.397 28323 28323 D Cal:D:AllInOne: onStart()
09-24 17:07:29.397 28323 28323 D Cal:D:AllInOne: onResume()
09-24 17:07:29.398 28323 29459 I Cal:D:Utils: setGoogleAccountsSyncable(): NOT syncable before, set it syncable
09-24 17:07:29.400 28323 28323 D AndroidRuntime: Shutting down VM
09-24 17:07:29.400 28323 29465 I FA : Tag Manager is not found and thus will not be used
09-24 17:07:29.400 28323 28323 E AndroidRuntime: FATAL EXCEPTION: main
09-24 17:07:29.400 28323 28323 E AndroidRuntime: Process: com.android.calendar, PID: 28323
09-24 17:07:29.400 28323 28323 E AndroidRuntime: java.lang.RuntimeException: Unable to resume activity {com.android.calendar/com.android.calendar.homepage.AllInOneActivity}: java.lang.SecurityException: Failed to find provider com.android.calendar for user 0; expected to find a valid ContentProvider for this authority
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3828)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3860)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:51)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1831)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.os.Looper.loop(Looper.java:201)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6815)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: Caused by: java.lang.SecurityException: Failed to find provider com.android.calendar for user 0; expected to find a valid ContentProvider for this authority
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.os.Parcel.createException(Parcel.java:1950)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1918)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1868)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.content.IContentService$Stub$Proxy.registerContentObserver(IContentService.java:779)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.content.ContentResolver.registerContentObserver(ContentResolver.java:1988)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.content.ContentResolver.registerContentObserver(ContentResolver.java:1977)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at com.android.calendar.homepage.AllInOneActivity.onResume(AllInOneActivity.java:571)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1413)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.app.Activity.performResume(Activity.java:7400)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3820)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: ... 11 more
09-24 17:07:29.400 28323 28323 E AndroidRuntime: Caused by: android.os.RemoteException: Remote stack trace:
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at com.android.server.content.ContentService.registerContentObserver(ContentService.java:340)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.content.IContentService$Stub.onTransact(IContentService.java:76)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at com.android.server.content.ContentService.onTransact(ContentService.java:262)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.os.Binder.execTransact(Binder.java:733)
09-24 17:07:29.400 28323 28323 E AndroidRuntime:
09-24 17:07:29.401 28323 29459 I Cal:D:Utils: setGoogleAccountsSyncable(): NOT syncable before, set it syncable
09-24 17:07:29.402 589 589 E SELinux : avc: denied { find } for service=miui.mqsas.MQSService pid=28323 uid=10024 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:mqs_service:s0 tclass=service_manager permissive=0
09-24 17:07:29.402 28323 28323 E MQSEventManagerDelegate: failed to get MQSService.
09-24 17:07:29.403 4352 4472 D PowerKeeper.Event: notifyAMCrash packageName: 0, pid:28323
09-24 17:07:29.403 29460 29460 E ndroid.calenda: Not starting debugger since process cannot load the jdwp agent.
09-24 17:07:29.404 1441 3632 W ActivityManager: Force finishing activity com.android.calendar/.homepage.AllInOneActivity
09-24 17:07:29.405 1441 3632 D ActivityTrigger: ActivityTrigger activityPauseTrigger
09-24 17:07:29.407 28323 28323 I Process : Sending signal. PID: 28323 SIG: 9
09-24 17:07:29.407 1441 3527 D ActivityManager: report kill process: killerPid is:28323, killedPid is:28323
Does anyone has an idea how to fix it?
I had the same issue... I managed to solve it.
Code:
pm install-existing com.android.providers.calendar