[Q] Samsung E-mail crashing (w logcat) - Android Q&A, Help & Troubleshooting

Does anybody know what is causing this problem?
It seems to happen when I open an email (I can open the app just fine, it just crashes when I try to open an actual email)
It's actually running stock with some things edited here and there on systemui and framework-res
I can't really read logcats
Thanks in advanced for reading!
Code:
03-02 16:31:32.943 14341 14341 E AndroidRuntime: FATAL EXCEPTION: main
03-02 16:31:32.943 14341 14341 E AndroidRuntime: Process: com.samsung.android.email.provider, PID: 14341
03-02 16:31:32.943 14341 14341 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.HoverPopupWindow.setHoverPopupListener(android.widget.HoverPopupWindow$HoverPopupListener)' on a null object reference
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.SenderLayout.setHoveringPopup4SummryTextView(SenderLayout.java:251)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase.updateAddressHoverPopUp(MessageViewFragmentBase.java:12890)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase.updateHeaderView(MessageViewFragmentBase.java:12875)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase.reloadUiFromMessage(MessageViewFragmentBase.java:3755)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase$MessageContainerCallback.updateMessageHeader(MessageViewFragmentBase.java:17558)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.newlayout.MessageViewAdapter$MessageHeaderItem.createView(MessageViewAdapter.java:253)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.newlayout.MessageViewAdapter.getView(MessageViewAdapter.java:530)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase.measureOverlayHeight(MessageViewFragmentBase.java:13351)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase.measureOverlayHeight(MessageViewFragmentBase.java:13332)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase.onRenderMessageHeader(MessageViewFragmentBase.java:2505)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewLoader$RenderMessageTask.onProgressUpdate(MessageViewLoader.java:2797)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewLoader$RenderMessageTask.onProgressUpdate(MessageViewLoader.java:2601)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.emailcommon.utility.EmailAsyncTask$InnerTask.onProgressUpdate(EmailAsyncTask.java:155)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:671)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7406)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Extra points:
Samsung calendar seems to be crashing too:
logcat:
Code:
03-02 16:39:07.371 14950 14950 E AndroidRuntime: FATAL EXCEPTION: main
03-02 16:39:07.371 14950 14950 E AndroidRuntime: Process: com.samsung.android.calendar, PID: 14950
03-02 16:39:07.371 14950 14950 E AndroidRuntime: java.lang.SecurityException: You either need MANAGE_USERS or CREATE_USERS permission to: query users
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1621)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1574)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.os.IPersonaManager$Stub$Proxy.getPersonas(IPersonaManager.java:2106)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.os.PersonaManager.getPersonas(PersonaManager.java:732)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.common.utils.r.a(KnoxUtils.java:78)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.common.utils.r.b(KnoxUtils.java:58)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.du.b(EventViewUtils.java:782)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.a.a(AccountCardView.java:227)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.a.a(AccountCardView.java:168)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.CardBoardView.b(CardBoardView.java:378)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.bv.a(CardDealer.java:885)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.bv.a(CardDealer.java:91)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.cf.a(CardDealer.java:1699)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.b.c.a.onQueryComplete(AutoCloseAsyncQueryHandler.java:41)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.content.AsyncQueryHandler.handleMessage(AsyncQueryHandler.java:344)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7406)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

.bump.

Check Webview
ShaDisNX255 said:
Does anybody know what is causing this problem?
It seems to happen when I open an email (I can open the app just fine, it just crashes when I try to open an actual email)
It's actually running stock with some things edited here and there on systemui and framework-res
I can't really read logcats
Thanks in advanced for reading!
Code:
03-02 16:31:32.943 14341 14341 E AndroidRuntime: FATAL EXCEPTION: main
03-02 16:31:32.943 14341 14341 E AndroidRuntime: Process: com.samsung.android.email.provider, PID: 14341
03-02 16:31:32.943 14341 14341 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.HoverPopupWindow.setHoverPopupListener(android.widget.HoverPopupWindow$HoverPopupListener)' on a null object reference
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.SenderLayout.setHoveringPopup4SummryTextView(SenderLayout.java:251)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase.updateAddressHoverPopUp(MessageViewFragmentBase.java:12890)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase.updateHeaderView(MessageViewFragmentBase.java:12875)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase.reloadUiFromMessage(MessageViewFragmentBase.java:3755)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase$MessageContainerCallback.updateMessageHeader(MessageViewFragmentBase.java:17558)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.newlayout.MessageViewAdapter$MessageHeaderItem.createView(MessageViewAdapter.java:253)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.newlayout.MessageViewAdapter.getView(MessageViewAdapter.java:530)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase.measureOverlayHeight(MessageViewFragmentBase.java:13351)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase.measureOverlayHeight(MessageViewFragmentBase.java:13332)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase.onRenderMessageHeader(MessageViewFragmentBase.java:2505)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewLoader$RenderMessageTask.onProgressUpdate(MessageViewLoader.java:2797)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewLoader$RenderMessageTask.onProgressUpdate(MessageViewLoader.java:2601)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.emailcommon.utility.EmailAsyncTask$InnerTask.onProgressUpdate(EmailAsyncTask.java:155)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:671)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7406)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Extra points:
Samsung calendar seems to be crashing too:
logcat:
Code:
03-02 16:39:07.371 14950 14950 E AndroidRuntime: FATAL EXCEPTION: main
03-02 16:39:07.371 14950 14950 E AndroidRuntime: Process: com.samsung.android.calendar, PID: 14950
03-02 16:39:07.371 14950 14950 E AndroidRuntime: java.lang.SecurityException: You either need MANAGE_USERS or CREATE_USERS permission to: query users
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1621)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1574)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.os.IPersonaManager$Stub$Proxy.getPersonas(IPersonaManager.java:2106)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.os.PersonaManager.getPersonas(PersonaManager.java:732)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.common.utils.r.a(KnoxUtils.java:78)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.common.utils.r.b(KnoxUtils.java:58)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.du.b(EventViewUtils.java:782)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.a.a(AccountCardView.java:227)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.a.a(AccountCardView.java:168)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.CardBoardView.b(CardBoardView.java:378)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.bv.a(CardDealer.java:885)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.bv.a(CardDealer.java:91)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.cf.a(CardDealer.java:1699)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.b.c.a.onQueryComplete(AutoCloseAsyncQueryHandler.java:41)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.content.AsyncQueryHandler.handleMessage(AsyncQueryHandler.java:344)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7406)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Click to expand...
Click to collapse
Check the Android System Webview to make sure its current. This program affects email apps and browser apps as well. In some cases, you may have to uninstall updates to a previous version. I know this post is a bit late but maybe it can help others with email app crashes.

Related

[Q] Potential issue with Webtop mod for 4.5.91 - com.android.phone FC

Too new to post in the dev forums, but i wanted to post my experience with the Webtop Mod (http://forum.xda-developers.com/showthread.php?t=980193) specifically using the 4.5.91 files downloaded from (http://forum.xda-developers.com/showpost.php?p=15881436&postcount=834) in case any others are having this issue, and maybe to get some feedback from the mod devs, as I'd like to use this mod on my phone.
I noticed after replacing the stock APKs i started getting FC's when making and receiving phone calls, after pulling a logcat log from my phone, it seems the modded PortalApp.apk is at fault (log snippet below) i reverted to the stock PortalApp.apk and phone calls started working again.
Code:
09-07 18:42:15.665 1672 3590 I ActivityManager: Starting: Intent { act=android.intent.action.CALL dat=tel:xxx-xxx-xxxx flg=0x10000000 cmp=com.android.phone/.InCallScreen (has extras) } from pid 8281
09-07 18:42:16.615 3086 3086 D StatusBarService: enter playAnimationStatusBar, enable = false
09-07 18:42:16.635 1672 3007 D InputManager: phone state:2
09-07 18:42:16.995 8281 8281 E AndroidRuntime: FATAL EXCEPTION: main
09-07 18:42:16.995 8281 8281 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate receiver com.android.portal.IntentProxyReceiverForCallState: java.lang.ClassNotFoundException: com.android.portal.IntentProxyReceiverForCallState in loader dalvik.system.PathClassLoader[/system/framework/com.motorola.android.iextdispservice.jar:/system/framework/com.motorola.android.imirrorservice.jar:/system/app/PortalApp.apk]
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at android.app.ActivityThread.handleReceiver(ActivityThread.java:1826)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at android.app.ActivityThread.access$2400(ActivityThread.java:124)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1018)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at android.os.Looper.loop(Looper.java:130)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:3806)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at java.lang.reflect.Method.invokeNative(Native Method)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:507)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at dalvik.system.NativeStart.main(Native Method)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: com.android.portal.IntentProxyReceiverForCallState in loader dalvik.system.PathClassLoader[/system/framework/com.motorola.android.iextdispservice.jar:/system/framework/com.motorola.android.imirrorservice.jar:/system/app/PortalApp.apk]
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at android.app.ActivityThread.handleReceiver(ActivityThread.java:1817)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: ... 10 more
09-07 18:42:17.015 1672 3590 W ActivityManager: Process com.android.phone has crashed too many times: killing!

Logcat Error

Anyone can help me to fix this error?
AndroidRuntime: java.lang.NoClassDefFoundError: com.android.server.policy.PhoneWindowManager$3
10-02 06:53:00.569 1839 1839 E AndroidRuntime: at com.android.server.policy.PhoneWindowManager.<init>(PhoneWindowManager.java:864)
10-02 06:53:00.569 1839 1839 E AndroidRuntime: at com.android.server.pm.PackageManagerService.<init>(PackageManagerService.java:1972)
10-02 06:53:00.569 1839 1839 E AndroidRuntime: at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:1878)
10-02 06:53:00.569 1839 1839 E AndroidRuntime: at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:387)
10-02 06:53:00.569 1839 1839 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:289)
10-02 06:53:00.569 1839 1839 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:176)
10-02 06:53:00.569 1839 1839 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
10-02 06:53:00.569 1839 1839 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
10-02 06:53:00.569 1839 1839 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
10-02 06:53:00.570 1839 1839 E

Installing an app via TWRP (updater-script) unsuccessful, HELP!

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

No voice typing on Zentwatch 2

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

Calender app does not work after de-bloating Xiaomi Mi 9

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

Categories

Resources