[OnePlus 5 & 5T Cross Device Development] sunblade7:
@robertogl I'm running into an odd issue when building the latest r12 release. When I boot up the ROM for the first time, there are no observable issues. After the first reboot, it bootloops on the boot animation with this in the logs:

11-20 01:27:52.428 3409 3409 D SystemServerTiming: StartDevicePolicyManager
11-20 01:27:52.428 3409 3409 I SystemServiceManager: Starting com.android.server.devicepolicy.DevicePolicyManagerService$Lifecycle
11-20 01:27:52.436 3409 3409 I DevicePolicyManager: Current version 6, latest version 6, not upgrading.
11-20 01:27:52.438 3409 3409 D DevicePolicyManagerService: /data/system/updated_resources.xml doesn't exist
11-20 01:27:52.439 3409 3409 D DevicePolicyEngine: Reading device policies from file.
11-20 01:27:52.439 3409 3409 D DevicePolicyEngine: Reading from /data/system/device_policy_state.xml
11-20 01:27:52.442 3409 3409 E System : ******************************************
11-20 01:27:52.442 3409 3409 E System : ************ Failure starting system services
11-20 01:27:52.442 3409 3409 E System : java.lang.RuntimeException: Failed to create service com.android.server.devicepolicy.DevicePolicyManagerService$Lifecycle: service constructor threw an exception
11-20 01:27:52.442 3409 3409 E System : at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:229)
11-20 01:27:52.442 3409 3409 E System : at com.android.server.SystemServer.startOtherServices(SystemServer.java:1872)
11-20 01:27:52.442 3409 3409 E System : at com.android.server.SystemServer.run(SystemServer.java:942)
11-20 01:27:52.442 3409 3409 E System : at com.android.server.SystemServer.main(SystemServer.java:664)
11-20 01:27:52.442 3409 3409 E System : at java.lang.reflect.Method.invoke(Native Method)
11-20 01:27:52.442 3409 3409 E System : at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
11-20 01:27:52.442 3409 3409 E System : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:949)
11-20 01:27:52.442 3409 3409 E System : Caused by: java.lang.reflect.InvocationTargetException
11-20 01:27:52.442 3409 3409 E System : at java.lang.reflect.Constructor.newInstance0(Native Method)
11-20 01:27:52.442 3409 3409 E System : at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
11-20 01:27:52.442 3409 3409 E System : at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:218)
11-20 01:27:52.442 3409 3409 E System : ... 6 more
11-20 01:27:52.442 3409 3409 E System : Caused by: java.lang.RuntimeException: illegal attribute name: :strings at com.android.org.kxml2.io.KXmlParser@9544076
11-20 01:27:52.442 3409 3409 E System : at com.android.org.kxml2.io.KXmlParser.adjustNsp(KXmlParser.java:250)
11-20 01:27:52.442 3409 3409 E System : at com.android.org.kxml2.io.KXmlParser.parseStartTag(KXmlParser.java:1153)
11-20 01:27:52.442 3409 3409 E System : at com.android.org.kxml2.io.KXmlParser.next(KXmlParser.java:372)
11-20 01:27:52.442 3409 3409 E System : at com.android.org.kxml2.io.KXmlParser.next(KXmlParser.java:313)
11-20 01:27:52.442 3409 3409 E System : at com.android.internal.util.XmlPullParserWrapper.next(XmlPullParserWrapper.java:170)
11-20 01:27:52.442 3409 3409 E System : at com.android.internal.util.XmlUtils.nextElementWithin(XmlUtils.java:1718)
11-20 01:27:52.442 3409 3409 E System : at com.android.server.devicepolicy.PolicyState.readFromXml(PolicyState.java:237)
11-20 01:27:52.442 3409 3409 E System : at com.android.server.devicepolicy.DevicePolicyEngine$DevicePoliciesReaderWriter.readLocalPoliciesInner(DevicePolicyEngine.java:1691)
11-20 01:27:52.442 3409 3409 E System : at com.android.server.devicepolicy.DevicePolicyEngine$DevicePoliciesReaderWriter.readInner(DevicePolicyEngine.java:1664)
11-20 01:27:52.442 3409 3409 E System : at com.android.server.devicepolicy.DevicePolicyEngine$DevicePoliciesReaderWriter.readFromFileLocked(DevicePolicyEngine.java:1648)
11-20 01:27:52.442 3409 3409 E System : at com.android.server.devicepolicy.DevicePolicyEngine.load(DevicePolicyEngine.java:1453)
11-20 01:27:52.442 3409 3409 E System : at com.android.server.devicepolicy.DevicePolicyManagerService.<init>(DevicePolicyManagerService.java:2147)
11-20 01:27:52.442 3409 3409 E System : at com.android.server.devicepolicy.DevicePolicyManagerService.<init>(DevicePolicyManagerService.java:2031)
11-20 01:27:52.442 3409 3409 E System : at com.android.server.devicepolicy.DevicePolicyManagerService$Lifecycle.<init>(DevicePolicyManagerService.java:1067)
11-20 01:27:52.442 3409 3409 E System : ... 9 more
11-20 01:27:52.443 3409 3409 E Zygote : System zygote died with fatal exception
11-20 01:27:52.443 3409 3409 E Zygote : java.lang.RuntimeException: Failed to create service com.android.server.devicepolicy.DevicePolicyManagerService$Lifecycle: service constructor threw an exception

This was produced via the following steps:

- Clone fresh repo, per instructions here: https://github.com/roberto-sartori-gl/local_manifests

- Ensure r12 branch is checked out in local_manifests:

commit d47219990bf3732d782235083b232a493a51f1c3 (HEAD -> a14/gl, origin/a14/gl, origin/HEAD)
Author: Roberto Sartori <roberto.sartori.android@gmail.com>
Date: Sat Nov 18 13:02:04 2023 +0100
Validated with AOSP revision: android-14.0.0_r12

- Ensure r12 branch is checked out in manifests:

commit 1ea2801d54e826ea03e3a6c33e09c2c36da4df41 (HEAD -> default, tag: android-14.0.0_r12, origin/android-14.0.0_r12, m/android-14.0.0_r12)
Author: The Android Open Source Project <initial-contribution@android.com>
Date: Mon Nov 6 21:55:31 2023 -0800
Manifest for Android 14.0.0 Release 12

- Do repo sync + build

- Flash build artifacts to fresh OOS 10.0.1 genuine OP5 device via fastboot (boot, recovery, system, vendor)

- Wipe in recovery

- Boot device (no problem)

- Reboot -> BOOM!

I did not observe this issue when sideloading the zip from SourceForge. Do you have any clues on what might be the issue here?