RK systemui 缺少权限 android.permission.READ_CONTACTS

一.非硬件问题 系统SystemUI 异常导致卡在开机动画
SystemUI 缺少权限 android.permission.READ_CONTACTS 

07-29 14:25:54.999 D/AndroidRuntime( 2316): Shutting down VM
07-29 14:25:55.000 E/AndroidRuntime( 2316): FATAL EXCEPTION: main
07-29 14:25:55.000 E/AndroidRuntime( 2316): Process: com.android.systemui, PID: 2316
07-29 14:25:55.000 E/AndroidRuntime( 2316): android.view.InflateException: Binary XML file line #72: uid=10016 needs permission android.permission.READ_CONTACTS to read lock_screen_owner_info_enabled for user 0
07-29 14:25:55.000 E/AndroidRuntime( 2316): Caused by: java.lang.SecurityException: uid=10016 needs permission android.permission.READ_CONTACTS to read lock_screen_owner_info_enabled for user 0
07-29 14:25:55.000 E/AndroidRuntime( 2316): at android.os.Parcel.readException(Parcel.java:1692)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at android.os.Parcel.readException(Parcel.java:1645)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at com.android.internal.widget.ILockSettings$Stub$Proxy.getBoolean(ILockSettings.java:452)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at com.android.internal.widget.LockPatternUtils.getBoolean(LockPatternUtils.java:1278)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at com.android.internal.widget.LockPatternUtils.isOwnerInfoEnabled(LockPatternUtils.java:703)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at com.android.keyguard.KeyguardStatusView.getOwnerInfo(KeyguardStatusView.java:219)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at com.android.keyguard.KeyguardStatusView.updateOwnerInfo(KeyguardStatusView.java:190)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at com.android.keyguard.KeyguardStatusView.onFinishInflate(KeyguardStatusView.java:125)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at android.view.LayoutInflater.rInflate(LayoutInflater.java:867)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at android.view.LayoutInflater.parseInclude(LayoutInflater.java:994)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at android.view.LayoutInflater.rInflate(LayoutInflater.java:854)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at android.view.LayoutInflater.parseInclude(LayoutInflater.java:994)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at android.view.LayoutInflater.rInflate(LayoutInflater.java:854)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at android.view.LayoutInflater.inflate(LayoutInflater.java:518)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at android.view.LayoutInflater.inflate(LayoutInflater.java:426)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at android.view.LayoutInflater.inflate(LayoutInflater.java:377)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at android.view.View.inflate(View.java:21026)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at com.android.systemui.statusbar.phone.PhoneStatusBar.inflateStatusBarWindow(PhoneStatusBar.java:1161)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:762)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at com.android.systemui.statusbar.phone.PhoneStatusBar.addStatusBarWindow(PhoneStatusBar.java:3663)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at com.android.systemui.statusbar.phone.PhoneStatusBar.createAndAddWindows(PhoneStatusBar.java:3659)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at com.android.systemui.statusbar.BaseStatusBar.start(BaseStatusBar.java:770)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:697)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at com.android.systemui.statusbar.SystemBars.createStatusBarFromConfig(SystemBars.java:109)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at com.android.systemui.statusbar.SystemBars.onNoService(SystemBars.java:58)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at com.android.systemui.statusbar.ServiceMonitor.startService(ServiceMonitor.java:230)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at com.android.systemui.statusbar.ServiceMonitor.-wrap5(ServiceMonitor.java)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at com.android.systemui.statusbar.ServiceMonitor$1.handleMessage(ServiceMonitor.java:73)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at android.os.Handler.dispatchMessage(Handler.java:102)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at android.os.Looper.loop(Looper.java:154)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at android.app.ActivityThread.main(ActivityThread.java:6157)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at java.lang.reflect.Method.invoke(Native Method)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:912)
07-29 14:25:55.000 E/AndroidRuntime( 2316): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:802)
07-29 14:25:55.001 W/ActivityManager( 592): Process com.android.systemui has crashed too many times: killing!

  

二.解决办法 将对应的权限授权给systemui
串口 adb shell pm grant "com.android.systemui" "android.permission.READ_CONTACTS"
给了权限之后 设备正常开机

三暂未找到原因 待定

 

posted @ 2021-08-03 11:04  CrushGirl  阅读(826)  评论(0编辑  收藏  举报