[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] :
[MENTION=1187148]infrag[/MENTION] after update from May 30 to June 05 system doesn't boot.

06-05 09:18:46.813 6357 6357 E System : ******************************************
06-05 09:18:46.813 6357 6357 E System : ************ Failure starting system services
06-05 09:18:46.813 6357 6357 E System : java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.google.android.googlequicksearchbox: android.permission.WRITE_APN_SETTINGS}
06-05 09:18:46.813 6357 6357 E System :	at com.android.server.pm.permission.PermissionManagerService.systemReady(PermissionManagerService.java:2970)
06-05 09:18:46.813 6357 6357 E System :	at com.android.server.pm.permission.PermissionManagerService.access$100(PermissionManagerService.java:122)
06-05 09:18:46.813 6357 6357 E System :	at com.android.server.pm.permission.PermissionManagerService$PermissionManagerServiceInternalImpl.systemReady(PermissionManagerService.java:3031)
06-05 09:18:46.813 6357 6357 E System :	at com.android.server.pm.PackageManagerService.systemReady(PackageManagerService.java:21852)
06-05 09:18:46.813 6357 6357 E System :	at com.android.server.SystemServer.startOtherServices(SystemServer.java:2037)
06-05 09:18:46.813 6357 6357 E System :	at com.android.server.SystemServer.run(SystemServer.java:529)
06-05 09:18:46.813 6357 6357 E System :	at com.android.server.SystemServer.main(SystemServer.java:356)
06-05 09:18:46.813 6357 6357 E System :	at java.lang.reflect.Method.invoke(Native Method)
06-05 09:18:46.813 6357 6357 E System :	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
06-05 09:18:46.813 6357 6357 E System :	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:908)
06-05 09:18:46.813 6357 6357 E Zygote : System zygote died with exception
06-05 09:18:46.813 6357 6357 E Zygote : java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.google.android.googlequicksearchbox: android.permission.WRITE_APN_SETTINGS}
06-05 09:18:46.813 6357 6357 E Zygote :	at com.android.server.pm.permission.PermissionManagerService.systemReady(PermissionManagerService.java:2970)
06-05 09:18:46.813 6357 6357 E Zygote :	at com.android.server.pm.permission.PermissionManagerService.access$100(PermissionManagerService.java:122)
06-05 09:18:46.813 6357 6357 E Zygote :	at com.android.server.pm.permission.PermissionManagerService$PermissionManagerServiceInternalImpl.systemReady(PermissionManagerService.java:3031)
06-05 09:18:46.813 6357 6357 E Zygote :	at com.android.server.pm.PackageManagerService.systemReady(PackageManagerService.java:21852)
06-05 09:18:46.813 6357 6357 E Zygote :	at com.android.server.SystemServer.startOtherServices(SystemServer.java:2037)
06-05 09:18:46.813 6357 6357 E Zygote :	at com.android.server.SystemServer.run(SystemServer.java:529)
06-05 09:18:46.813 6357 6357 E Zygote :	at com.android.server.SystemServer.main(SystemServer.java:356)
06-05 09:18:46.813 6357 6357 E Zygote :	at java.lang.reflect.Method.invoke(Native Method)
06-05 09:18:46.813 6357 6357 E Zygote :	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
06-05 09:18:46.813 6357 6357 E Zygote :	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:908)
06-05 09:18:46.813 6357 6357 D AndroidRuntime: Shutting down VM
06-05 09:18:46.813 6357 6357 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
06-05 09:18:46.813 6357 6357 E AndroidRuntime: java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.google.android.googlequicksearchbox: android.permission.WRITE_APN_SETTINGS}
06-05 09:18:46.813 6357 6357 E AndroidRuntime:	at com.android.server.pm.permission.PermissionManagerService.systemReady(PermissionManagerService.java:2970)
06-05 09:18:46.813 6357 6357 E AndroidRuntime:	at com.android.server.pm.permission.PermissionManagerService.access$100(PermissionManagerService.java:122)
06-05 09:18:46.813 6357 6357 E AndroidRuntime:	at com.android.server.pm.permission.PermissionManagerService$PermissionManagerServiceInternalImpl.systemReady(PermissionManagerService.java:3031)
06-05 09:18:46.813 6357 6357 E AndroidRuntime:	at com.android.server.pm.PackageManagerService.systemReady(PackageManagerService.java:21852)
06-05 09:18:46.813 6357 6357 E AndroidRuntime:	at com.android.server.SystemServer.startOtherServices(SystemServer.java:2037)
06-05 09:18:46.813 6357 6357 E AndroidRuntime:	at com.android.server.SystemServer.run(SystemServer.java:529)
06-05 09:18:46.813 6357 6357 E AndroidRuntime:	at com.android.server.SystemServer.main(SystemServer.java:356)
06-05 09:18:46.813 6357 6357 E AndroidRuntime:	at java.lang.reflect.Method.invoke(Native Method)
06-05 09:18:46.813 6357 6357 E AndroidRuntime:	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
06-05 09:18:46.813 6357 6357 E AndroidRuntime:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:908)

device boots to recovery after some time displaying the boot animation

EDIT:

Reboot into recovery, then edit the file /system/system/etc/permissions/privapp-permissions-google.xml

then add

<permission name="android.permission.WRITE_APN_SETTINGS" />

into the part related to com.google.android.googlequicksearchbox app then device bootsup.

<privapp-permissions package="com.google.android.googlequicksearchbox">
<permission name="android.permission.BIND_APPWIDGET" />
<permission name="android.permission.CALL_PRIVILEGED" />
<permission name="android.permission.CAPTURE_AUDIO_HOTWORD" />
<permission name="android.permission.CONTROL_INCALL_EXPERIENCE" />
<permission name="android.permission.GLOBAL_SEARCH" />
<permission name="android.permission.INTERACT_ACROSS_PROFILES" />
<permission name="android.permission.INTERACT_ACROSS_USERS" />
<permission name="android.permission.MANAGE_SOUND_TRIGGER" />
<permission name="android.permission.MANAGE_VOICE_KEYPHRASES" />
<permission name="android.permission.MANAGE_USB" />
<permission name="android.permission.MEDIA_CONTENT_CONTROL" />
<permission name="android.permission.MODIFY_AUDIO_ROUTING" />
<permission name="android.permission.PACKAGE_USAGE_STATS" />
<permission name="android.permission.REAL_GET_TASKS" />
<permission name="android.permission.SET_MEDIA_KEY_LISTENER" />
<permission name="android.permission.SET_VOLUME_KEY_LONG_PRESS_LISTENER" />
<permission name="android.permission.SHOW_KEYGUARD_MESSAGE" />
<permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND" />
<permission name="android.permission.STATUS_BAR" />
<permission name="android.permission.STOP_APP_SWITCHES" />
<permission name="com.google.android.permission.SET_WATCH_FACE_PRIVILEGED" />
<permission name="android.permission.WRITE_APN_SETTINGS" />
</privapp-permissions>

---------- Post added at 07:32 AM ---------- Previous post was at 07:21 AM ----------

Phone app causes continuous FC in June 05 build

06-05 09:31:11.194 14520 14520 E AndroidRuntime: Process: com.android.dialer, PID: 14520
06-05 09:31:11.194 14520 14520 E AndroidRuntime: java.lang.NullPointerException: Attempt to read from field 'java.lang.String com.android.dialer.callrecord.CallRecording.fileName' on a null object reference
06-05 09:31:11.194 14520 14520 E AndroidRuntime:	at com.android.dialer.callrecord.CallRecordingAutoMigrator.autoMigrate(CallRecordingAutoMigrator.java:9)
06-05 09:31:11.194 14520 14520 E AndroidRuntime:	at com.android.dialer.callrecord.CallRecordingAutoMigrator.lambda$fYMd2hq3Rmwh88rOPL23tA-hETA(Unknown Source:0)
06-05 09:31:11.194 14520 14520 E AndroidRuntime:	at com.android.dialer.callrecord.-$$Lambda$CallRecordingAutoMigrator$fYMd2hq3Rmwh88rOPL23tA-hETA.onSuccess(Unknown Source:8)
06-05 09:31:11.194 14520 14520 E AndroidRuntime:	at com.android.dialer.common.concurrent.DefaultDialerExecutorFactory$NonUiDialerExecutor.lambda$run$5$DefaultDialerExecutorFactory$NonUiDialerExecutor(DefaultDialerExecutorFactory.java:1)
06-05 09:31:11.194 14520 14520 E AndroidRuntime:	at com.android.dialer.common.concurrent.-$$Lambda$DefaultDialerExecutorFactory$NonUiDialerExecutor$4t4zo-dgjmLhH8yi_urZa6URxWg.run(Unknown Source:4)
06-05 09:31:11.194 14520 14520 E AndroidRuntime:	at android.os.Handler.handleCallback(Handler.java:883)
06-05 09:31:11.194 14520 14520 E AndroidRuntime:	at android.os.Handler.dispatchMessage(Handler.java:100)
06-05 09:31:11.194 14520 14520 E AndroidRuntime:	at android.os.Looper.loop(Looper.java:214)
06-05 09:31:11.194 14520 14520 E AndroidRuntime:	at android.app.ActivityThread.main(ActivityThread.java:7356)
06-05 09:31:11.194 14520 14520 E AndroidRuntime:	at java.lang.reflect.Method.invoke(Native Method)
06-05 09:31:11.194 14520 14520 E AndroidRuntime:	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
06-05 09:31:11.194 14520 14520 E AndroidRuntime:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)