android系统无法正常启动android.permission.READ_PRIVILEGED_PHONE_STATE

sancaiodm Bug异常与ODM定制 2021-08-23 3762 0
-23 10:54:30.497 31372 31372 E System  : ******************************************
08-23 10:54:30.498 31372 31372 E System  : ************ Failure starting system services
08-23 10:54:30.498 31372 31372 E System  : java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.android.launcher3 (/system_ext/priv-app/Launcher3QuickStep): android.permission.READ_PRIVILEGED_PHONE_STATE}
08-23 10:54:30.498 31372 31372 E System  : 	at com.android.server.pm.permission.PermissionManagerService.systemReady(PermissionManagerService.java:4705)
08-23 10:54:30.498 31372 31372 E System  : 	at com.android.server.pm.permission.PermissionManagerService.access$500(PermissionManagerService.java:178)
08-23 10:54:30.498 31372 31372 E System  : 	at com.android.server.pm.permission.PermissionManagerService$PermissionManagerServiceInternalImpl.systemReady(PermissionManagerService.java:4788)
08-23 10:54:30.498 31372 31372 E System  : 	at com.android.server.pm.PackageManagerService.systemReady(PackageManagerService.java:21700)
08-23 10:54:30.498 31372 31372 E System  : 	at com.android.server.SystemServer.startOtherServices(SystemServer.java:2292)
08-23 10:54:30.498 31372 31372 E System  : 	at com.android.server.SystemServer.run(SystemServer.java:617)
08-23 10:54:30.498 31372 31372 E System  : 	at com.android.server.SystemServer.main(SystemServer.java:431)
08-23 10:54:30.498 31372 31372 E System  : 	at java.lang.reflect.Method.invoke(Native Method)
08-23 10:54:30.498 31372 31372 E System  : 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:603)
08-23 10:54:30.498 31372 31372 E System  : 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:925)
08-23 10:54:30.498 31372 31372 E Zygote  : System zygote died with exception
08-23 10:54:30.498 31372 31372 E Zygote  : java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.android.launcher3 (/system_ext/priv-app/Launcher3QuickStep): android.permission.READ_PRIVILEGED_PHONE_STATE}
08-23 10:54:30.498 31372 31372 E Zygote  : 	at com.android.server.pm.permission.PermissionManagerService.systemReady(PermissionManagerService.java:4705)
08-23 10:54:30.498 31372 31372 E Zygote  : 	at com.android.server.pm.permission.PermissionManagerService.access$500(PermissionManagerService.java:178)
08-23 10:54:30.498 31372 31372 E Zygote  : 	at com.android.server.pm.permission.PermissionManagerService$PermissionManagerServiceInternalImpl.systemReady(PermissionManagerService.java:4788)
08-23 10:54:30.498 31372 31372 E Zygote  : 	at com.android.server.pm.PackageManagerService.systemReady(PackageManagerService.java:21700)
08-23 10:54:30.498 31372 31372 E Zygote  : 	at com.android.server.SystemServer.startOtherServices(SystemServer.java:2292)
08-23 10:54:30.498 31372 31372 E Zygote  : 	at com.android.server.SystemServer.run(SystemServer.java:617)
08-23 10:54:30.498 31372 31372 E Zygote  : 	at com.android.server.SystemServer.main(SystemServer.java:431)
08-23 10:54:30.498 31372 31372 E Zygote  : 	at java.lang.reflect.Method.invoke(Native Method)
08-23 10:54:30.498 31372 31372 E Zygote  : 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:603)
08-23 10:54:30.498 31372 31372 E Zygote  : 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:925)
08-23 10:54:30.499 31372 31372 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
08-23 10:54:30.499 31372 31372 E AndroidRuntime: java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.android.launcher3 (/system_ext/priv-app/Launcher3QuickStep): android.permission.READ_PRIVILEGED_PHONE_STATE}
08-23 10:54:30.499 31372 31372 E AndroidRuntime: 	at com.android.server.pm.permission.PermissionManagerService.systemReady(PermissionManagerService.java:4705)
08-23 10:54:30.499 31372 31372 E AndroidRuntime: 	at com.android.server.pm.permission.PermissionManagerService.access$500(PermissionManagerService.java:178)
08-23 10:54:30.499 31372 31372 E AndroidRuntime: 	at com.android.server.pm.permission.PermissionManagerService$PermissionManagerServiceInternalImpl.systemReady(PermissionManagerService.java:4788)
08-23 10:54:30.499 31372 31372 E AndroidRuntime: 	at com.android.server.pm.PackageManagerService.systemReady(PackageManagerService.java:21700)
08-23 10:54:30.499 31372 31372 E AndroidRuntime: 	at com.android.server.SystemServer.startOtherServices(SystemServer.java:2292)
08-23 10:54:30.499 31372 31372 E AndroidRuntime: 	at com.android.server.SystemServer.run(SystemServer.java:617)
08-23 10:54:30.499 31372 31372 E AndroidRuntime: 	at com.android.server.SystemServer.main(SystemServer.java:431)
08-23 10:54:30.499 31372 31372 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
08-23 10:54:30.499 31372 31372 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:603)
08-23 10:54:30.499 31372 31372 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:925)
08-23 10:54:31.056   454 24689 E statsd  : associateClass: Expecting binder to have class 'android.os.IStatsCompanionService' but descriptor is actually ''.
08-23 10:54:31.056   454 24689 E statsd  : Uid 1000 does not have the android.permission.REGISTER_STATS_PULL_ATOM permission when registering atom 10068 (-1)
08-23 10:54:31.056   454 24716 E statsd  : associateClass: Expecting binder to have class 'android.os.IPullAtomCallback' but descriptor is actually ''.
08-23 10:54:31.060 31202 31202 E Zygote  : Zygote failed to write to system_server FD: Connection refused
08-23 10:54:31.060 31202 31202 E Zygote  : Exit zygote because system server (pid 31372) has terminated
08-23 10:54:31.166     0     0 E c1 init : updatable process 'zygote' exited 4 times in 4 minutes

android系统无限重启,



无法正常重启(2) log记录:

08-29 21:29:42.005  5617  5617 E System  : ******************************************

08-29 21:29:42.006  5617  5617 E System  : ************ Failure starting system services

08-29 21:29:42.006  5617  5617 E System  : java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.birdfh.update (/product/priv-app/FotaApp): android.permission.READ_PRIVILEGED_PHONE_STATE, com.birdfh.update (/product/priv-app/FotaApp): android.permission.RECOVERY, com.birdfh.update (/product/priv-app/FotaApp): android.permission.REBOOT, com.birdfh.update (/product/priv-app/FotaApp): android.permission.WRITE_SECURE_SETTINGS, com.birdfh.update (/product/priv-app/FotaApp): android.permission.ACCESS_CACHE_FILESYSTEM, com.birdfh.update (/product/priv-app/FotaApp): android.permission.CHANGE_OVERLAY_PACKAGES, com.birdfh.update (/product/priv-app/FotaApp): android.permission.DELETE_CACHE_FILES}

08-29 21:29:42.006  5617  5617 E System  : at com.android.server.pm.permission.PermissionManagerService.systemReady(PermissionManagerService.java:4700)

08-29 21:29:42.006  5617  5617 E System  : at com.android.server.pm.permission.PermissionManagerService.access$500(PermissionManagerService.java:178)

08-29 21:29:42.006  5617  5617 E System  : at com.android.server.pm.permission.PermissionManagerService$PermissionManagerServiceInternalImpl.systemReady(PermissionManagerService.java:4783)

08-29 21:29:42.006  5617  5617 E System  : at com.android.server.pm.PackageManagerService.systemReady(PackageManagerService.java:21693)

08-29 21:29:42.006  5617  5617 E System  : at com.android.server.SystemServer.startOtherServices(SystemServer.java:2299)

08-29 21:29:42.006  5617  5617 E System  : at com.android.server.SystemServer.run(SystemServer.java:617)

08-29 21:29:42.006  5617  5617 E System  : at com.android.server.SystemServer.main(SystemServer.java:431)

08-29 21:29:42.006  5617  5617 E System  : at java.lang.reflect.Method.invoke(Native Method)

08-29 21:29:42.006  5617  5617 E System  : at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:603)

08-29 21:29:42.006  5617  5617 E System  : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:925)

08-29 21:29:42.006  5617  5617 D SystemServerTiming: MakePackageManagerServiceReady took to complete: 742ms

08-29 21:29:42.007  5617  5617 E Zygote  : System zygote died with exception

08-29 21:29:42.007  5617  5617 E Zygote  : java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.birdfh.update (/product/priv-app/FotaApp): android.permission.READ_PRIVILEGED_PHONE_STATE, com.birdfh.update (/product/priv-app/FotaApp): android.permission.RECOVERY, com.birdfh.update (/product/priv-app/FotaApp): android.permission.REBOOT, com.birdfh.update (/product/priv-app/FotaApp): android.permission.WRITE_SECURE_SETTINGS, com.birdfh.update (/product/priv-app/FotaApp): android.permission.ACCESS_CACHE_FILESYSTEM, com.birdfh.update (/product/priv-app/FotaApp): android.permission.CHANGE_OVERLAY_PACKAGES, com.birdfh.update (/product/priv-app/FotaApp): android.permission.DELETE_CACHE_FILES}

08-29 21:29:42.007  5617  5617 E Zygote  : at com.android.server.pm.permission.PermissionManagerService.systemReady(PermissionManagerService.java:4700)

08-29 21:29:42.007  5617  5617 E Zygote  : at com.android.server.pm.permission.PermissionManagerService.access$500(PermissionManagerService.java:178)

08-29 21:29:42.007  5617  5617 E Zygote  : at com.android.server.pm.permission.PermissionManagerService$PermissionManagerServiceInternalImpl.systemReady(PermissionManagerService.java:4783)

08-29 21:29:42.007  5617  5617 E Zygote  : at com.android.server.pm.PackageManagerService.systemReady(PackageManagerService.java:21693)

08-29 21:29:42.007  5617  5617 E Zygote  : at com.android.server.SystemServer.startOtherServices(SystemServer.java:2299)

08-29 21:29:42.007  5617  5617 E Zygote  : at com.android.server.SystemServer.run(SystemServer.java:617)

08-29 21:29:42.007  5617  5617 E Zygote  : at com.android.server.SystemServer.main(SystemServer.java:431)

08-29 21:29:42.007  5617  5617 E Zygote  : at java.lang.reflect.Method.invoke(Native Method)

08-29 21:29:42.007  5617  5617 E Zygote  : at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:603)

08-29 21:29:42.007  5617  5617 E Zygote  : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:925)

08-29 21:29:42.007  5617  5617 D AndroidRuntime: Shutting down VM

08-29 21:29:42.007  5617  5617 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main

08-29 21:29:42.007  5617  5617 E AndroidRuntime: java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.birdfh.update (/product/priv-app/FotaApp): android.permission.READ_PRIVILEGED_PHONE_STATE, com.birdfh.update (/product/priv-app/FotaApp): android.permission.RECOVERY, com.birdfh.update (/product/priv-app/FotaApp): android.permission.REBOOT, com.birdfh.update (/product/priv-app/FotaApp): android.permission.WRITE_SECURE_SETTINGS, com.birdfh.update (/product/priv-app/FotaApp): android.permission.ACCESS_CACHE_FILESYSTEM, com.birdfh.update (/product/priv-app/FotaApp): android.permission.CHANGE_OVERLAY_PACKAGES, com.birdfh.update (/product/priv-app/FotaApp): android.permission.DELETE_CACHE_FILES}

08-29 21:29:42.007  5617  5617 E AndroidRuntime: at com.android.server.pm.permission.PermissionManagerService.systemReady(PermissionManagerService.java:4700)

08-29 21:29:42.007  5617  5617 E AndroidRuntime: at com.android.server.pm.permission.PermissionManagerService.access$500(PermissionManagerService.java:178)

08-29 21:29:42.007  5617  5617 E AndroidRuntime: at com.android.server.pm.permission.PermissionManagerService$PermissionManagerServiceInternalImpl.systemReady(PermissionManagerService.java:4783)

08-29 21:29:42.007  5617  5617 E AndroidRuntime: at com.android.server.pm.PackageManagerService.systemReady(PackageManagerService.java:21693)

08-29 21:29:42.007  5617  5617 E AndroidRuntime: at com.android.server.SystemServer.startOtherServices(SystemServer.java:2299)

08-29 21:29:42.007  5617  5617 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:617)

08-29 21:29:42.007  5617  5617 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:431)

08-29 21:29:42.007  5617  5617 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)

08-29 21:29:42.007  5617  5617 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:603)

08-29 21:29:42.007  5617  5617 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:925)

08-29 21:29:42.010  5617  5617 I DropBoxManagerService: add tag=system_server_crash isTagEnabled=true flags=0x2

08-29 21:29:42.014  5617  5617 I Process : Sending signal. PID: 5617 SIG: 9


评论