[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] daniele_athome:
Hi there! Thanks first of all for this build. I've been using Android 13 with my Moto X4 for a few weeks now with no issues more or less.

I'm trying to do an OTA upgrade (I come from the first Android 13 build), but the OTA app crashes:

01-12 18:44:25.025 1816 10655 W InputManager-JNI: Input channel object 'a6b7181 org.pixelexperience.ota/org.pixelexperience.ota.UpdatesActivity (client)' was disposed without first being removed with the input manager!
01-12 18:44:25.040 6773 6773 D UpdaterService: Starting service
01-12 18:44:25.046 1816 1927 V WindowManager: Unknown focus tokens, dropping reportFocusChanged
01-12 18:44:25.156 1147 1147 I update_engine: [INFO:update_attempter_android.cc(566)] Enabling performance mode.
01-12 18:44:25.365 3140 3140 D BoundBrokerSvc: onUnbind: Intent { act=com.google.android.gms.feedback.internal.IFeedbackService dat=chimera-action:/... cmp=com.google.android.gms/.chimera.GmsBoundBrokerService }
01-12 18:44:25.530 6773 6773 D SharedPreferencesImpl: Time required to fsync /data/user/0/org.pixelexperience.ota/shared_prefs/org.pixelexperience.ota_preferences.xml: [<1: 0, <2: 0, <4: 0, <8: 4, <16: 0, <32: 1, <64: 1, <128: 0, <256: 0, <512: 1, <1024: 0, <2048: 0, <4096: 0, <8192: 0, <16384: 0, >=16384: 0]
01-12 18:44:25.536 1147 1147 W libprocessgroup: Failed to open /dev/blkio/tasks: No such file or directory
01-12 18:44:25.545 1147 1147 W libprocessgroup: Failed to apply HighIoPriority task profile: No such file or directory
01-12 18:44:25.557 6773 6773 D UpdatesActivity: handleStatusChange
01-12 18:44:25.557 6773 6773 D UpdatesActivity: INSTALLING
01-12 18:44:25.557 6773 6773 D UpdatesActivity: handleRefreshButtonState, status is: INSTALLING, disabling button
01-12 18:44:25.559 1147 1147 E update_engine: [ERROR:update_attempter_android.cc(-1)] unknown(...): Domain=update_engine, Code=generic_error, Message=Could not change profiles
01-12 18:44:25.565 1147 1147 E update_engine: [ERROR:update_attempter_android.cc(91)] Replying with failure: pc:0x586ce5af30: Could not change profiles
01-12 18:44:25.577 6773 12499 E AndroidRuntime: FATAL EXCEPTION: Thread-21
01-12 18:44:25.577 6773 12499 E AndroidRuntime: Process: org.pixelexperience.ota, PID: 6773
01-12 18:44:25.577 6773 12499 E AndroidRuntime: android.os.ServiceSpecificException: Could not change profiles (code 1)
01-12 18:44:25.577 6773 12499 E AndroidRuntime: at android.os.Parcel.createExceptionOrNull(Parcel.java:3025)
01-12 18:44:25.577 6773 12499 E AndroidRuntime: at android.os.Parcel.createException(Parcel.java:2995)
01-12 18:44:25.577 6773 12499 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:2978)
01-12 18:44:25.577 6773 12499 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:2920)
01-12 18:44:25.577 6773 12499 E AndroidRuntime: at android.os.IUpdateEngine$Stub$Proxy.setPerformanceMode(IUpdateEngine.java:617)
01-12 18:44:25.577 6773 12499 E AndroidRuntime: at android.os.UpdateEngine.setPerformanceMode(UpdateEngine.java:469)
01-12 18:44:25.577 6773 12499 E AndroidRuntime: at org.pixelexperience.ota.controller.ABUpdateInstaller.lambda$install$0(ABUpdateInstaller.java:231)
01-12 18:44:25.577 6773 12499 E AndroidRuntime: at org.pixelexperience.ota.controller.ABUpdateInstaller.$r8$lambda$h1W5JweDcEepiu3stxvBxYtHbKY(Unknown Source:0)
01-12 18:44:25.577 6773 12499 E AndroidRuntime: at org.pixelexperience.ota.controller.ABUpdateInstaller$$ExternalSyntheticLambda0.run(Unknown Source:8)
01-12 18:44:25.577 6773 12499 E AndroidRuntime: at java.lang.Thread.run(Thread.java:1012)
01-12 18:44:25.594 1816 10655 W ActivityTaskManager: Force finishing activity org.pixelexperience.ota/.UpdatesActivity
01-12 18:44:25.629 1816 1925 I ActivityManager: Showing crash dialog for package org.pixelexperience.ota u0
01-12 18:44:25.657 1816 1940 W libprocessgroup: Failed to open /dev/blkio//cgroup.procs: No such file or directory
01-12 18:44:25.686 1816 1925 D CompatibilityChangeReporter: Compat change id reported: 210923482; UID 1000; state: ENABLED
01-12 18:44:25.692 1816 1925 D CompatibilityChangeReporter: Compat change id reported: 171228096; UID 1000; state: ENABLED
01-12 18:44:25.727 1816 1925 D CoreBackPreview: Window{cd466c0 u0 Application Error: org.pixelexperience.ota}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.WindowOnBackInvokedDispatcher$OnBackInvokedCallbackWrapper@9d86f84, mPriority=0}

When I installed PE for the first time I followed the install procedure for the device [1], to the letter, including the copy-partitions step. I did install Magisk afterwards, if that could make a difference.

Alternatively, can I install the same zip file using adb sideload without losing user data?

Thank you

[1] https://wiki.pixelexperience.org/devices/payton/install/