[Sony Xperia XZ Premium Questions & Answers] Osleg:
After some tinkering and headbashing I was able to compile and flash AOSP 9 to the almighty XZP. (If anyone interested I can share the images to flash).

What works:

As far as I can tell everything works.

I was able to make calls, use BT, listen to music, send sms, make pictures with camera ETC.

I was able to switch to 1080@120hz. Can't tell the difference tho.

I was unable to switch to 4k@60hz, it switches back to 1080@60 right away.

I didn't not tested it thoroughly tho. The problem I'm facing currently is GApps and here I have no more ideas how to approach.

What I tried:

1. Installing pico Open GApps

2. Installing super Open GApps

The result is same in both cases:

Phone reaches the "Android" logo and stuck there. Logcat show the following:

11-23 16:51:09.430 1107 1107 E SettingsState: Failed parsing settings file: /data/system/users/0/settings_secure.xml
11-23 16:51:09.434 1107 1107 E System : ******************************************
11-23 16:51:09.434 1107 1107 E System : ************ Failure starting core service
11-23 16:51:09.434 1107 1107 E System : java.lang.RuntimeException: Unable to get provider com.android.providers.settings.SettingsProvider: java.lang.IllegalStateException: Failed parsing settings file: /data/system/users/0/settings_secure.xml
11-23 16:51:09.434 1107 1107 E System :	at android.app.ActivityThread.installProvider(ActivityThread.java:6407)
11-23 16:51:09.434 1107 1107 E System :	at android.app.ActivityThread.installContentProviders(ActivityThread.java:5949)
11-23 16:51:09.434 1107 1107 E System :	at android.app.ActivityThread.installSystemProviders(ActivityThread.java:6589)
11-23 16:51:09.434 1107 1107 E System :	at com.android.server.am.ActivityManagerService.installSystemProviders(ActivityManagerService.java:12901)
11-23 16:51:09.434 1107 1107 E System :	at com.android.server.SystemServer.startOtherServices(SystemServer.java:834)
11-23 16:51:09.434 1107 1107 E System :	at com.android.server.SystemServer.run(SystemServer.java:437)
11-23 16:51:09.434 1107 1107 E System :	at com.android.server.SystemServer.main(SystemServer.java:296)
11-23 16:51:09.434 1107 1107 E System :	at java.lang.reflect.Method.invoke(Native Method)
11-23 16:51:09.434 1107 1107 E System :	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
11-23 16:51:09.434 1107 1107 E System :	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:838)
11-23 16:51:09.434 1107 1107 E System : Caused by: java.lang.IllegalStateException: Failed parsing settings file: /data/system/users/0/settings_secure.xml
11-23 16:51:09.434 1107 1107 E System :	at com.android.providers.settings.SettingsState.readStateSyncLocked(SettingsState.java:790)
11-23 16:51:09.434 1107 1107 E System :	at com.android.providers.settings.SettingsState.<init>(SettingsState.java:272)
11-23 16:51:09.434 1107 1107 E System :	at com.android.providers.settings.SettingsProvider$SettingsRegistry.ensureSettingsStateLocked(SettingsProvider.java:2322)
11-23 16:51:09.434 1107 1107 E System :	at com.android.providers.settings.SettingsProvider$SettingsRegistry.ensureSettingsForUserLocked(SettingsProvider.java:2298)
11-23 16:51:09.434 1107 1107 E System :	at com.android.providers.settings.SettingsProvider$SettingsRegistry.peekSettingsStateLocked(SettingsProvider.java:2578)
11-23 16:51:09.434 1107 1107 E System :	at com.android.providers.settings.SettingsProvider$SettingsRegistry.getSettingsNamesLocked(SettingsProvider.java:2259)
11-23 16:51:09.434 1107 1107 E System :	at com.android.providers.settings.SettingsProvider$SettingsRegistry.syncSsaidTableOnStart(SettingsProvider.java:2241)
11-23 16:51:09.434 1107 1107 E System :	at com.android.providers.settings.SettingsProvider$SettingsRegistry.<init>(SettingsProvider.java:2137)
11-23 16:51:09.434 1107 1107 E System :	at com.android.providers.settings.SettingsProvider.onCreate(SettingsProvider.java:318)
11-23 16:51:09.434 1107 1107 E System :	at android.content.ContentProvider.attachInfo(ContentProvider.java:1917)
11-23 16:51:09.434 1107 1107 E System :	at android.content.ContentProvider.attachInfo(ContentProvider.java:1892)
11-23 16:51:09.434 1107 1107 E System :	at android.app.ActivityThread.installProvider(ActivityThread.java:6402)
11-23 16:51:09.434 1107 1107 E System :	... 9 more
11-23 16:51:09.434 1107 1107 E System : Caused by: org.xmlpull.v1.XmlPullParserException: unterminated entity ref (position:TEXT @1:163 in java.io.InputStreamReader@26b5976)
11-23 16:51:09.434 1107 1107 E System :	at org.kxml2.io.KXmlParser.readEntity(KXmlParser.java:1220)
11-23 16:51:09.434 1107 1107 E System :	at org.kxml2.io.KXmlParser.readValue(KXmlParser.java:1402)
11-23 16:51:09.434 1107 1107 E System :	at org.kxml2.io.KXmlParser.next(KXmlParser.java:393)
11-23 16:51:09.434 1107 1107 E System :	at org.kxml2.io.KXmlParser.next(KXmlParser.java:313)
11-23 16:51:09.434 1107 1107 E System :	at com.android.providers.settings.SettingsState.parseStateLocked(SettingsState.java:810)
11-23 16:51:09.434 1107 1107 E System :	at com.android.providers.settings.SettingsState.readStateSyncLocked(SettingsState.java:786)
11-23 16:51:09.434 1107 1107 E System :	... 20 more
11-23 16:51:09.436 1107 1107 I SystemServer: StartInputMethodManagerLifecycle
11-23 16:51:09.436 1107 1107 I SystemServiceManager: Starting com.android.server.InputMethodManagerService$Lifecycle
11-23 16:51:09.439 606 606 D ZygoteInitTiming_lazy: BeginIcuCachePinning took to complete: 14ms
11-23 16:51:09.439 606 606 I Zygote : Preloading classes...
11-23 16:51:09.441 1107 1107 E System : ******************************************
11-23 16:51:09.442 1107 1107 E System : ************ Failure starting system services
11-23 16:51:09.442 1107 1107 E System : java.lang.RuntimeException: Failed to create service com.android.server.InputMethodManagerService$Lifecycle: service constructor threw an exception
11-23 16:51:09.442 1107 1107 E System :	at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:109)
11-23 16:51:09.442 1107 1107 E System :	at com.android.server.SystemServer.startOtherServices(SystemServer.java:961)
11-23 16:51:09.442 1107 1107 E System :	at com.android.server.SystemServer.run(SystemServer.java:437)
11-23 16:51:09.442 1107 1107 E System :	at com.android.server.SystemServer.main(SystemServer.java:296)
11-23 16:51:09.442 1107 1107 E System :	at java.lang.reflect.Method.invoke(Native Method)
11-23 16:51:09.442 1107 1107 E System :	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
11-23 16:51:09.442 1107 1107 E System :	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:838)
11-23 16:51:09.442 1107 1107 E System : Caused by: java.lang.reflect.InvocationTargetException
11-23 16:51:09.442 1107 1107 E System :	at java.lang.reflect.Constructor.newInstance0(Native Method)
11-23 16:51:09.442 1107 1107 E System :	at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
11-23 16:51:09.442 1107 1107 E System :	at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:98)
11-23 16:51:09.442 1107 1107 E System :	... 6 more
11-23 16:51:09.442 1107 1107 E System : Caused by: java.lang.IllegalStateException: Cannot access system provider: 'settings' before system providers are installed!
11-23 16:51:09.442 1107 1107 E System :	at com.android.server.am.ActivityManagerService.getContentProviderImpl(ActivityManagerService.java:12341)
11-23 16:51:09.442 1107 1107 E System :	at com.android.server.am.ActivityManagerService.getContentProvider(ActivityManagerService.java:12606)
11-23 16:51:09.442 1107 1107 E System :	at android.app.ActivityThread.acquireProvider(ActivityThread.java:5981)
11-23 16:51:09.442 1107 1107 E System :	at android.app.ContextImpl$ApplicationContentResolver.acquireProvider(ContextImpl.java:2573)
11-23 16:51:09.442 1107 1107 E System :	at android.content.ContentResolver.acquireProvider(ContentResolver.java:1812)
11-23 16:51:09.442 1107 1107 E System :	at android.provider.Settings$ContentProviderHolder.getProvider(Settings.java:1964)
11-23 16:51:09.442 1107 1107 E System :	at android.provider.Settings$NameValueCache.getStringForUser(Settings.java:2056)
11-23 16:51:09.442 1107 1107 E System :	at android.provider.Settings$Secure.getStringForUser(Settings.java:4898)
11-23 16:51:09.442 1107 1107 E System :	at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getString(InputMethodUtils.java:960)
11-23 16:51:09.442 1107 1107 E System :	at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getEnabledInputMethodsStr(InputMethodUtils.java:1125)
11-23 16:51:09.442 1107 1107 E System :	at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getEnabledInputMethodsAndSubtypeListLocked(InputMethodUtils.java:1047)
11-23 16:51:09.442 1107 1107 E System :	at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getEnabledInputMethodListLocked(InputMethodUtils.java:1007)
11-23 16:51:09.442 1107 1107 E System :	at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getExplicitlyOrImplicitlyEnabledInputMethodsAndSubtypeListLocked(InputMethodUtils.java:1385)
11-23 16:51:09.442 1107 1107 E System :	at com.android.internal.inputmethod.InputMethodSubtypeSwitchingController$InputMethodAndSubtypeList.getSortedInputMethodAndSubtypeList(InputMethodSubtypeSwitchingController.java:206)
11-23 16:51:09.442 1107 1107 E System :	at com.android.internal.inputmethod.InputMethodSubtypeSwitchingController.resetCircularListLocked(InputMethodSubtypeSwitchingController.java:581)
11-23 16:51:09.442 1107 1107 E System :	at com.android.internal.inputmethod.InputMethodSubtypeSwitchingController.<init>(InputMethodSubtypeSwitchingController.java:560)
11-23 16:51:09.442 1107 1107 E System :	at com.android.internal.inputmethod.InputMethodSubtypeSwitchingController.createInstanceLocked(InputMethodSubtypeSwitchingController.java:565)
11-23 16:51:09.442 1107 1107 E System :	at com.android.server.InputMethodManagerService.<init>(InputMethodManagerService.java:1400)
11-23 16:51:09.442 1107 1107 E System :	at com.android.server.InputMethodManagerService$Lifecycle.<init>(InputMethodManagerService.java:1282)
11-23 16:51:09.442 1107 1107 E System :	... 9 more
11-23 16:51:09.444 1107 1107 D SystemServerTiming: StartInputMethodManagerLifecycle took to complete: 7ms
11-23 16:51:09.444 1107 1107 E Zygote : System zygote died with exception
11-23 16:51:09.444 1107 1107 E Zygote : java.lang.RuntimeException: Failed to create service com.android.server.InputMethodManagerService$Lifecycle: service constructor threw an exception
11-23 16:51:09.444 1107 1107 E Zygote :	at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:109)
11-23 16:51:09.444 1107 1107 E Zygote :	at com.android.server.SystemServer.startOtherServices(SystemServer.java:961)
11-23 16:51:09.444 1107 1107 E Zygote :	at com.android.server.SystemServer.run(SystemServer.java:437)
11-23 16:51:09.444 1107 1107 E Zygote :	at com.android.server.SystemServer.main(SystemServer.java:296)
11-23 16:51:09.444 1107 1107 E Zygote :	at java.lang.reflect.Method.invoke(Native Method)
11-23 16:51:09.444 1107 1107 E Zygote :	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
11-23 16:51:09.444 1107 1107 E Zygote :	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:838)
11-23 16:51:09.444 1107 1107 E Zygote : Caused by: java.lang.reflect.InvocationTargetException
11-23 16:51:09.444 1107 1107 E Zygote :	at java.lang.reflect.Constructor.newInstance0(Native Method)
11-23 16:51:09.444 1107 1107 E Zygote :	at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
11-23 16:51:09.444 1107 1107 E Zygote :	at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:98)
11-23 16:51:09.444 1107 1107 E Zygote :	... 6 more
11-23 16:51:09.444 1107 1107 E Zygote : Caused by: java.lang.IllegalStateException: Cannot access system provider: 'settings' before system providers are installed!
11-23 16:51:09.444 1107 1107 E Zygote :	at com.android.server.am.ActivityManagerService.getContentProviderImpl(ActivityManagerService.java:12341)
11-23 16:51:09.444 1107 1107 E Zygote :	at com.android.server.am.ActivityManagerService.getContentProvider(ActivityManagerService.java:12606)
11-23 16:51:09.444 1107 1107 E Zygote :	at android.app.ActivityThread.acquireProvider(ActivityThread.java:5981)
11-23 16:51:09.444 1107 1107 E Zygote :	at android.app.ContextImpl$ApplicationContentResolver.acquireProvider(ContextImpl.java:2573)
11-23 16:51:09.444 1107 1107 E Zygote :	at android.content.ContentResolver.acquireProvider(ContentResolver.java:1812)
11-23 16:51:09.444 1107 1107 E Zygote :	at android.provider.Settings$ContentProviderHolder.getProvider(Settings.java:1964)
11-23 16:51:09.444 1107 1107 E Zygote :	at android.provider.Settings$NameValueCache.getStringForUser(Settings.java:2056)
11-23 16:51:09.444 1107 1107 E Zygote :	at android.provider.Settings$Secure.getStringForUser(Settings.java:4898)
11-23 16:51:09.444 1107 1107 E Zygote :	at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getString(InputMethodUtils.java:960)
11-23 16:51:09.444 1107 1107 E Zygote :	at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getEnabledInputMethodsStr(InputMethodUtils.java:1125)
11-23 16:51:09.444 1107 1107 E Zygote :	at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getEnabledInputMethodsAndSubtypeListLocked(InputMethodUtils.java:1047)
11-23 16:51:09.444 1107 1107 E Zygote :	at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getEnabledInputMethodListLocked(InputMethodUtils.java:1007)
11-23 16:51:09.444 1107 1107 E Zygote :	at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getExplicitlyOrImplicitlyEnabledInputMethodsAndSubtypeListLocked(InputMethodUtils.java:1385)
11-23 16:51:09.444 1107 1107 E Zygote :	at com.android.internal.inputmethod.InputMethodSubtypeSwitchingController$InputMethodAndSubtypeList.getSortedInputMethodAndSubtypeList(InputMethodSubtypeSwitchingController.java:206)
11-23 16:51:09.444 1107 1107 E Zygote :	at com.android.internal.inputmethod.InputMethodSubtypeSwitchingController.resetCircularListLocked(InputMethodSubtypeSwitchingController.java:581)
11-23 16:51:09.444 1107 1107 E Zygote :	at com.android.internal.inputmethod.InputMethodSubtypeSwitchingController.<init>(InputMethodSubtypeSwitchingController.java:560)
11-23 16:51:09.444 1107 1107 E Zygote :	at com.android.internal.inputmethod.InputMethodSubtypeSwitchingController.createInstanceLocked(InputMethodSubtypeSwitchingController.java:565)
11-23 16:51:09.444 1107 1107 E Zygote :	at com.android.server.InputMethodManagerService.<init>(InputMethodManagerService.java:1400)
11-23 16:51:09.444 1107 1107 E Zygote :	at com.android.server.InputMethodManagerService$Lifecycle.<init>(InputMethodManagerService.java:1282)
11-23 16:51:09.444 1107 1107 E Zygote :	... 9 more
11-23 16:51:09.446 1107 1107 D AndroidRuntime: Shutting down VM
--------- beginning of crash
11-23 16:51:09.446 1107 1107 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
11-23 16:51:09.446 1107 1107 E AndroidRuntime: java.lang.RuntimeException: Failed to create service com.android.server.InputMethodManagerService$Lifecycle: service constructor threw an exception
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:109)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at com.android.server.SystemServer.startOtherServices(SystemServer.java:961)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at com.android.server.SystemServer.run(SystemServer.java:437)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at com.android.server.SystemServer.main(SystemServer.java:296)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at java.lang.reflect.Method.invoke(Native Method)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:838)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at java.lang.reflect.Constructor.newInstance0(Native Method)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:98)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	... 6 more
11-23 16:51:09.446 1107 1107 E AndroidRuntime: Caused by: java.lang.IllegalStateException: Cannot access system provider: 'settings' before system providers are installed!
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at com.android.server.am.ActivityManagerService.getContentProviderImpl(ActivityManagerService.java:12341)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at com.android.server.am.ActivityManagerService.getContentProvider(ActivityManagerService.java:12606)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at android.app.ActivityThread.acquireProvider(ActivityThread.java:5981)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at android.app.ContextImpl$ApplicationContentResolver.acquireProvider(ContextImpl.java:2573)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at android.content.ContentResolver.acquireProvider(ContentResolver.java:1812)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at android.provider.Settings$ContentProviderHolder.getProvider(Settings.java:1964)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at android.provider.Settings$NameValueCache.getStringForUser(Settings.java:2056)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at android.provider.Settings$Secure.getStringForUser(Settings.java:4898)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getString(InputMethodUtils.java:960)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getEnabledInputMethodsStr(InputMethodUtils.java:1125)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getEnabledInputMethodsAndSubtypeListLocked(InputMethodUtils.java:1047)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getEnabledInputMethodListLocked(InputMethodUtils.java:1007)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getExplicitlyOrImplicitlyEnabledInputMethodsAndSubtypeListLocked(InputMethodUtils.java:1385)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at com.android.internal.inputmethod.InputMethodSubtypeSwitchingController$InputMethodAndSubtypeList.getSortedInputMethodAndSubtypeList(InputMethodSubtypeSwitchingController.java:206)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at com.android.internal.inputmethod.InputMethodSubtypeSwitchingController.resetCircularListLocked(InputMethodSubtypeSwitchingController.java:581)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at com.android.internal.inputmethod.InputMethodSubtypeSwitchingController.<init>(InputMethodSubtypeSwitchingController.java:560)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at com.android.internal.inputmethod.InputMethodSubtypeSwitchingController.createInstanceLocked(InputMethodSubtypeSwitchingController.java:565)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at com.android.server.InputMethodManagerService.<init>(InputMethodManagerService.java:1400)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	at com.android.server.InputMethodManagerService$Lifecycle.<init>(InputMethodManagerService.java:1282)
11-23 16:51:09.446 1107 1107 E AndroidRuntime:	... 9 more
11-23 16:51:09.448 1107 1107 I Process : Sending signal. PID: 1107 SIG: 9
11-23 16:51:09.459 606 606 I PackageBackwardCompatibility: Loaded android.content.pm.OrgApacheHttpLegacyUpdater
11-23 16:51:09.460 606 606 I PackageBackwardCompatibility: Could not find android.content.pm.AndroidTestBaseUpdater, ignoring
11-23 16:51:09.471 650 650 I lowmemorykiller: lmkd data connection dropped
11-23 16:51:09.472 650 650 I lowmemorykiller: closing lmkd data connection
11-23 16:51:09.473 543 543 I ServiceManager: service 'display' died
11-23 16:51:09.473 543 543 I ServiceManager: service 'dbinfo' died
11-23 16:51:09.474 543 543 I ServiceManager: service 'cpuinfo' died
11-23 16:51:09.474 543 543 I ServiceManager: service 'permission' died
11-23 16:51:09.474 543 543 I ServiceManager: service 'processinfo' died
11-23 16:51:09.474 543 543 I ServiceManager: service 'gfxinfo' died
11-23 16:51:09.475 543 543 I ServiceManager: service 'meminfo' died
11-23 16:51:09.475 543 543 I ServiceManager: service 'procstats' died
11-23 16:51:09.475 543 543 I ServiceManager: service 'activity' died
11-23 16:51:09.476 543 543 I ServiceManager: service 'user' died
11-23 16:51:09.476 543 543 I ServiceManager: service 'otadexopt' died
11-23 16:51:09.476 605 605 I Zygote : Process 1107 exited due to signal (9)
11-23 16:51:09.476 543 543 I ServiceManager: service 'package_native' died
11-23 16:51:09.476 605 605 E Zygote : Exit zygote because system server (1107) has terminated
11-23 16:51:09.477 543 543 I ServiceManager: service 'package' died
11-23 16:51:09.477 543 543 I ServiceManager: service 'sensorservice' died
11-23 16:51:09.477 543 543 I ServiceManager: service 'battery' died
11-23 16:51:09.478 543 543 I ServiceManager: service 'batteryproperties' died
11-23 16:51:09.478 543 543 I ServiceManager: service 'usagestats' died
11-23 16:51:09.478 543 543 I ServiceManager: service 'webviewupdate' died
11-23 16:51:09.478 543 543 I ServiceManager: service 'binder_calls_stats' died
11-23 16:51:09.479 543 543 I ServiceManager: service 'sec_key_att_app_id_provider' died
11-23 16:51:09.479 543 543 I ServiceManager: service 'scheduling_policy' died
11-23 16:51:09.479 543 543 I ServiceManager: service 'telephony.registry' died
11-23 16:51:09.479 543 543 I ServiceManager: service 'account' died
11-23 16:51:09.480 543 543 I ServiceManager: service 'content' died
11-23 16:51:09.480 543 543 I ServiceManager: service 'device_identifiers' died
11-23 16:51:09.480 543 543 I ServiceManager: service 'batterystats' died
11-23 16:51:09.481 543 543 I ServiceManager: service 'appops' died
11-23 16:51:09.481 543 543 I ServiceManager: service 'power' died
11-23 16:51:09.481 543 543 I ServiceManager: service 'recovery' died
11-23 16:51:09.490 543 543 I ServiceManager: service 'media.audio_flinger' died
11-23 16:51:09.490 615 1058 I r_submix: adev_close()
11-23 16:51:09.491 543 543 I ServiceManager: service 'media.audio_policy' died
11-23 16:51:09.491 543 543 I ServiceManager: service 'media.sound_trigger_hw' died
11-23 16:51:09.496 543 543 I ServiceManager: service 'media.camera' died
11-23 16:51:09.502 543 543 I ServiceManager: service 'media.player' died
11-23 16:51:09.502 543 543 I ServiceManager: service 'media.resource_manager' died
11-23 16:51:09.506 543 543 I ServiceManager: service 'netd' died
11-23 16:51:09.511 543 543 I ServiceManager: service 'wificond' died

And this just repeats itself. So it seems that something gets borken after installing GApps.

Any ideas how to fix that are welcome.

Also, if you want, I can share the compiled images for Dual sim variant.