Quest 3 Packaging with Oculus fork 5.4.4 Permissions, Entitlements, and headaches

I’m honestly about to tear my hair out. I’ve been blocked for about 3 days trying to get builds to launch on my Quest 3.

For a while it was complaining about permissions, and then entitlements, and now it’s saying the app is untrusted.
I’ve got a keystore. I’ve updated the SDK to match the documentation,
and when I google the error messages I can’t find anything to indicate how I fix this.

I THINK this warning messages is what’s causing the app to immediately close, but it only pops up in yellow.

16:10:33.185RuntimeIPCClient [RUNTIMEIPC]ConnectToServer: SUCCESS: Client: com.epicgames.VR_MechDepths:com.epicgames.VR_MechDepths:13987, Server: com.oculus.systemdriver:com.oculus.vrruntimeservice (gkcache)

16:10:33.185RuntimeIPCClient [RUNTIMEIPC]InitServerStateBuffer: SUCCESS. 0, Client: com.epicgames.VR_MechDepths:com.epicgames.VR_MechDepths:13987, Server: com.oculus.systemdriver:com.oculus.vrruntimeservice (gkcache)

16:10:33.188s.VR_MechDepthAccessing hidden method Landroid/content/pm/ApplicationInfo;->isPrivilegedApp()Z (blocked,test-api, reflection, denied)

16:10:33.188s.VR_MechDepthIf this is a platform test consider enabling VMRuntime.ALLOW_TEST_API_ACCESS change id for this package.

16:10:33.184GameThreadtype=1400 audit(0.0:93696): avc: denied { search } for name=“soc0” dev=“sysfs” ino=66963 scontext=u:r:untrusted_app:s0:c21,c256,c512,c768 tcontext=u:object_r:vendor_sysfs_soc:s0 tclass=dir permissive=0 app=com.epicgames.VR_MechDepths

16:10:33.184GameThreadtype=1400 audit(0.0:93697): avc: denied { search } for name=“soc0” dev=“sysfs” ino=66963 scontext=u:r:untrusted_app:s0:c21,c256,c512,c768 tcontext=u:object_r:vendor_sysfs_soc:s0 tclass=dir permissive=0 app=com.epicgames.VR_MechDepths

16:10:33.187GameThreadtype=1400 audit(0.0:93698): avc: denied { search } for name=“soc0” dev=“sysfs” ino=66963 scontext=u:r:untrusted_app:s0:c21,c256,c512,c768 tcontext=u:object_r:vendor_sysfs_soc:s0 tclass=dir permissive=0 app=com.epicgames.VR_MechDepths

16:10:33.187GameThreadtype=1400 audit(0.0:93699): avc: denied { search } for name=“soc0” dev=“sysfs” ino=66963 scontext=u:r:untrusted_app:s0:c21,c256,c512,c768 tcontext=u:object_r:vendor_sysfs_soc:s0 tclass=dir permissive=0 app=com.epicgames.VR_MechDepths

And then there’s one other thing I think it might be. Nothing pops up red, so I really don’t know.
AppNativeLibraryDir: /data/app/~~qY56mUtz9j3p408auLGO7A==/com.epicgames.VR_MechDepths-amtyVZPeSajQdTqQK8lH7A==/lib/arm64

16:10:33.735OVRMrcLibTry loading /data/app/~~qY56mUtz9j3p408auLGO7A==/com.epicgames.VR_MechDepths-amtyVZPeSajQdTqQK8lH7A==/lib/arm64/libOVRMrcLib.oculus.so

16:10:33.735OVRMrcLibResult from attempt loading /data/app/~~qY56mUtz9j3p408auLGO7A==/com.epicgames.VR_MechDepths-amtyVZPeSajQdTqQK8lH7A==/lib/arm64/libOVRMrcLib.oculus.so : dlopen failed: library “/data/app/~~qY56mUtz9j3p408auLGO7A==/com.epicgames.VR_MechDepths-amtyVZPeSajQdTqQK8lH7A==/lib/arm64/libOVRMrcLib.oculus.so” not found

16:10:33.735OVRMrcLibTry loading /data/app/~~qY56mUtz9j3p408auLGO7A==/com.epicgames.VR_MechDepths-amtyVZPeSajQdTqQK8lH7A==/lib/arm64/libOVRMrcLib.so

16:10:33.736OVRMrcLibResult from attempt loading /data/app/~~qY56mUtz9j3p408auLGO7A==/com.epicgames.VR_MechDepths-amtyVZPeSajQdTqQK8lH7A==/lib/arm64/libOVRMrcLib.so : dlopen failed: library “/data/app/~~qY56mUtz9j3p408auLGO7A==/com.epicgames.VR_MechDepths-amtyVZPeSajQdTqQK8lH7A==/lib/arm64/libOVRMrcLib.so” not found

Anyone have some insight into this?

I’ve never had a build that launched successfully on the Q3, so I am not one who can help yet. Can you even get the VRTemplate level to build and run on the Q3. I cannot.

It was packaging and running on the Quest 3 before I migrated to the Oculus Fork. Before that I was on the Launcher version of 5.4.