This is the logcat of a launch resulting in the "rooted" message:
10-28 09:01:21.033 1606 1967 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=dk.mitid.app.android cmp=dk.mitid.app.android/.activity.MainActivity} from uid 1000
10-28 09:01:21.034 1606 1967 D CompatibilityChangeReporter: Compat change id reported: 194480991; UID 10137; state: ENABLED
10-28 09:01:21.038 1606 1967 D CompatibilityChangeReporter: Compat change id reported: 174042980; UID 10137; state: DISABLED
10-28 09:01:21.038 1606 1967 D CompatibilityChangeReporter: Compat change id reported: 184838306; UID 10137; state: DISABLED
10-28 09:01:21.039 1606 1967 D CompatibilityChangeReporter: Compat change id reported: 185004937; UID 10137; state: DISABLED
10-28 09:01:21.040 1606 1967 D CompatibilityChangeReporter: Compat change id reported: 205907456; UID 10137; state: DISABLED
10-28 09:01:21.044 1606 1967 D CompatibilityChangeReporter: Compat change id reported: 194833441; UID 10137; state: DISABLED
10-28 09:01:21.045 1606 1717 D CompatibilityChangeReporter: Compat change id reported: 135634846; UID 10137; state: DISABLED
10-28 09:01:21.045 1606 1717 D CompatibilityChangeReporter: Compat change id reported: 177438394; UID 10137; state: DISABLED
10-28 09:01:21.045 1606 1717 D CompatibilityChangeReporter: Compat change id reported: 135772972; UID 10137; state: DISABLED
10-28 09:01:21.045 1606 1717 D CompatibilityChangeReporter: Compat change id reported: 135754954; UID 10137; state: ENABLED
10-28 09:01:21.046 1606 1726 D CompatibilityChangeReporter: Compat change id reported: 143937733; UID 10137; state: ENABLED
10-28 09:01:21.046 1606 1967 D CompatibilityChangeReporter: Compat change id reported: 168419799; UID 10137; state: DISABLED
10-28 09:01:21.048 1606 1704 D CoreBackPreview: Window{b99114f u0 Splash Screen dk.mitid.app.android}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@c0bb5e5, mPriority=0}
10-28 09:01:21.060 1606 1726 I ActivityManager: Start proc 23106:dk.mitid.app.android/u0a137 for next-top-activity {dk.mitid.app.android/dk.mitid.app.android.activity.MainActivity}
10-28 09:01:21.060 23106 23106 W Zygote : Can't access app profile directory: /data_mirror/cur_profiles/0/dk.mitid.app.android
10-28 09:01:21.068 23106 23106 E tid.app.android: Not starting debugger since process cannot load the jdwp agent.
10-28 09:01:21.125 23106 23106 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 10137 <<<<<<
10-28 09:01:21.126 23106 23106 W tid.app.android: type=1400 audit(0.0:446914): avc: denied { read } for name="u:object_r:odsign_prop:s0" dev="tmpfs" ino=241 scontext=u:r:untrusted_app:s0:c137,c256,c512,c768 tcontext=u:object_r:odsign_prop:s0 tclass=file permissive=0 app=dk.mitid.app.android
10-28 09:01:21.128 23106 23106 E cutils-trace: Error opening trace file: No such file or directory (2)
10-28 09:01:21.129 23106 23106 W dk.mitid.app.android: ART APEX data files are untrusted.
10-28 09:01:21.126 23106 23106 W tid.app.android: type=1400 audit(0.0:446915): avc: denied { getattr } for path="/apex/apex-info-list.xml" dev="tmpfs" ino=67 scontext=u:r:untrusted_app:s0:c137,c256,c512,c768 tcontext=u:object_r:apex_info_file:s0 tclass=file permissive=0 app=dk.mitid.app.android
10-28 09:01:21.130 23106 23106 W tid.app.android: type=1400 audit(0.0:446916): avc: denied { lock } for path="/system/framework/arm64/boot.art" dev="dm-10" ino=1406 scontext=u:r:untrusted_app:s0:c137,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=dk.mitid.app.android
10-28 09:01:21.130 23106 23106 W tid.app.android: type=1400 audit(0.0:446917): avc: denied { lock } for path="/system/framework/arm64/boot-core-libart.art" dev="dm-10" ino=1358 scontext=u:r:untrusted_app:s0:c137,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=dk.mitid.app.android
10-28 09:01:21.130 23106 23106 W tid.app.android: type=1400 audit(0.0:446918): avc: denied { lock } for path="/system/framework/arm64/boot-okhttp.art" dev="dm-10" ino=1388 scontext=u:r:untrusted_app:s0:c137,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=dk.mitid.app.android
10-28 09:01:21.192 23106 23106 D dk.mitid.app.android: Time zone APEX ICU file found: /apex/com.android.tzdata/etc/icu/icu_tzdata.dat
10-28 09:01:21.192 23106 23106 D dk.mitid.app.android: I18n APEX ICU file found: /apex/com.android.i18n/etc/icu/icudt70l.dat
10-28 09:01:21.219 23106 23106 E dk.mitid.app.android: Unable to find pattern file or unable to map it for am
10-28 09:01:21.237 23106 23106 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10137; state: ENABLED
10-28 09:01:21.260 23106 23106 W dk.mitid.app.android: unable to execute idmap2: Permission denied
10-28 09:01:21.276 23106 23106 V GraphicsEnvironment: ANGLE Developer option for 'dk.mitid.app.android' set to: 'default'
10-28 09:01:21.276 23106 23106 V GraphicsEnvironment: ANGLE GameManagerService for dk.mitid.app.android: false
10-28 09:01:21.556 23106 23106 D CompatibilityChangeReporter: Compat change id reported: 183155436; UID 10137; state: DISABLED
10-28 09:01:21.557 23106 23106 I FirebaseCrashlytics: Initializing Firebase Crashlytics 18.2.4 for dk.mitid.app.android
10-28 09:01:21.587 1606 1967 D CompatibilityChangeReporter: Compat change id reported: 161145287; UID 10137; state: DISABLED
10-28 09:01:21.602 23106 23154 W dk.mitid.app.android: Failed to determine odex file name: Dex location /gmscompat_fd_58 has no extension.
10-28 09:01:21.602 23106 23154 W ziparchive: Unable to open '/gmscompat_fd_58.dm': No such file or directory
10-28 09:01:21.641 23106 23187 I FA : adb shell setprop debug.firebase.analytics.app dk.mitid.app.android
10-28 09:01:21.662 23106 23106 D CompatibilityChangeReporter: Compat change id reported: 210923482; UID 10137; state: DISABLED
10-28 09:01:21.662 23106 23106 D CompatibilityChangeReporter: Compat change id reported: 37756858; UID 10137; state: ENABLED
10-28 09:01:21.688 23106 23106 D CompatibilityChangeReporter: Compat change id reported: 160794467; UID 10137; state: ENABLED
10-28 09:01:21.780 23106 23106 D CompatibilityChangeReporter: Compat change id reported: 171228096; UID 10137; state: ENABLED
10-28 09:01:21.781 23106 23106 E ConstraintLayout: layout_constraintHeight_default="wrap" is deprecated.
10-28 09:01:21.781 23106 23106 E ConstraintLayout: Use layout_height="WRAP_CONTENT" and layout_constrainedHeight="true" instead.
10-28 09:01:21.793 1606 17983 D CoreBackPreview: Window{adebde9 u0 dk.mitid.app.android/dk.mitid.app.android.activity.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@68c032b, mPriority=0}
10-28 09:01:21.796 1606 17983 D CoreBackPreview: Window{4674121 u0 dk.mitid.app.android/dk.mitid.app.android.activity.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@845a707, mPriority=0}
10-28 09:01:21.805 23106 23158 D CompatibilityChangeReporter: Compat change id reported: 194532703; UID 10137; state: DISABLED
10-28 09:01:21.805 1606 17983 D CompatibilityChangeReporter: Compat change id reported: 194532703; UID 10137; state: DISABLED
10-28 09:01:21.811 23106 23167 E cutils-trace: Error opening trace file: No such file or directory (2)
10-28 09:01:21.846 1606 1714 I ActivityTaskManager: Displayed dk.mitid.app.android/.activity.MainActivity: +811ms
10-28 09:01:21.896 1606 1704 D CompatibilityChangeReporter: Compat change id reported: 214016041; UID 10137; state: DISABLED
10-28 09:01:22.149 1606 3541 D CoreBackPreview: Window{b99114f u0 Splash Screen dk.mitid.app.android EXITING}: Setting back callback null
10-28 09:01:22.149 1606 1704 W InputManager-JNI: Input channel object 'b99114f Splash Screen dk.mitid.app.android (client)' was disposed without first being removed with the input manager!
10-28 09:01:22.863 1606 1967 D CoreBackPreview: Window{adebde9 u0 dk.mitid.app.android/dk.mitid.app.android.activity.MainActivity}: Setting back callback null
10-28 09:01:22.867 1606 1967 W InputManager-JNI: Input channel object 'adebde9 dk.mitid.app.android/dk.mitid.app.android.activity.MainActivity (client)' was disposed without first being removed with the input manager!
10-28 09:01:27.222 1606 1919 E ContextHubClientManager: Cannot send message to unregistered client (host endpoint ID = -28638)
10-28 09:01:27.225 1606 1919 E ContextHubClientManager: Cannot send message to unregistered client (host endpoint ID = -28638)
grepped by (mitid|10137|compat| E )
(10137 is the UID of the app).
Actually I noticed this now, which may be relevant:
10-28 09:04:08.952 23311 23311 W dk.mitid.app.android: unable to execute idmap2: Permission denied
10-28 09:04:08.952 23311 23311 W OverlayConfig: 'idmap2 create-multiple' failed: no mutable="false" overlays targeting "android" will be loaded
Also, on every app launch Google Play Services triggers this error:
10-28 09:04:09.664 2731 23251 W NetworkScheduler: Error inserting flex_time=2452000 job_id=-1 period=4905000 source=16 requires_charging=0 preferred_network_type=1 target_class=com.google.android.gms.measurement.PackageMeasurementTaskService user_id=0 target_package=com.google.android.gms tag=Measurement.PackageMeasurementTaskService.UPLOAD_TASK_TAG task_type=0 required_idleness_state=0 service_kind=0 source_version=224113000 persistence_level=1 preferred_charging_state=1 required_network_type=0 runtime=1666940649661 retry_strategy={"maximum_backoff_seconds":{"3600":0},"initial_backoff_seconds":{"30":0},"retry_policy":{"0":0}} last_runtime=0 [CONTEXT service_id=218 ]
10-28 09:04:09.664 2731 23251 W NetworkScheduler: android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: pending_ops.tag, pending_ops.target_class, pending_ops.target_package, pending_ops.user_id (code 2067 SQLITE_CONSTRAINT_UNIQUE)
10-28 09:04:09.664 2731 23251 W NetworkScheduler: at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method)
10-28 09:04:09.664 2731 23251 W NetworkScheduler: at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:961)
10-28 09:04:09.664 2731 23251 W NetworkScheduler: at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:790)
10-28 09:04:09.664 2731 23251 W NetworkScheduler: at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:89)
10-28 09:04:09.664 2731 23251 W NetworkScheduler: at android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1868)
10-28 09:04:09.664 2731 23251 W NetworkScheduler: at android.database.sqlite.SQLiteDatabase.insertOrThrow(SQLiteDatabase.java:1763)
10-28 09:04:09.664 2731 23251 W NetworkScheduler: at brdb.g(:com.google.android.gms@224113044@22.41.13 (190400-480714934):52)
10-28 09:04:09.664 2731 23251 W NetworkScheduler: at brbu.n(:com.google.android.gms@224113044@22.41.13 (190400-480714934):3)
10-28 09:04:09.664 2731 23251 W NetworkScheduler: at brbu.u(:com.google.android.gms@224113044@22.41.13 (190400-480714934):20)
10-28 09:04:09.664 2731 23251 W NetworkScheduler: at brbu.h(:com.google.android.gms@224113044@22.41.13 (190400-480714934):3)
10-28 09:04:09.664 2731 23251 W NetworkScheduler: at bqxl.run(:com.google.android.gms@224113044@22.41.13 (190400-480714934):9)
10-28 09:04:09.664 2731 23251 W NetworkScheduler: at zyr.c(:com.google.android.gms@224113044@22.41.13 (190400-480714934):6)
10-28 09:04:09.664 2731 23251 W NetworkScheduler: at zyr.run(:com.google.android.gms@224113044@22.41.13 (190400-480714934):7)
10-28 09:04:09.664 2731 23251 W NetworkScheduler: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
10-28 09:04:09.664 2731 23251 W NetworkScheduler: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
10-28 09:04:09.664 2731 23251 W NetworkScheduler: at aadw.run(:com.google.android.gms@224113044@22.41.13 (190400-480714934):0)
10-28 09:04:09.664 2731 23251 W NetworkScheduler: at java.lang.Thread.run(Thread.java:1012)