[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] falcon4fun:
1. Still status bar border firmware deffault offset is wrong :) Still using 5-7px

2. Faceunlock and stock cam crashes

Em.. Moving .so is useless. It is linked to exact the same lib.

shell@violet:/ # ls /system/app/FaceLock/lib/arm64/ -al
total 72
drwxr-xr-x 2 root root 4096 2019-07-25 07:47 .
drwxrwxrwx 3 root root 4096 2019-07-24 06:02 ..
-rw-r--r-- 1 root root 65536 2019-07-25 07:47 libfacenet.so
lrwxrwxrwx 1 root root 39 2019-07-24 06:04 libfacenet.so_ -> /system_root/system/lib64/libfacenet.so
shell@violet:/ # ls /system/app/

So i get exactly the same

07-25 07:50:51.989 1451 1646 E LightsService: Light requested not available on this device. 2
07-25 07:50:52.088 1451 3279 I ActivityManager: START u0 {flg=0x2000000 cmp=com.android.facelock/.SetupInstructionsScreen} from uid 10064
07-25 07:50:52.126 24548 24548 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@7b75a5a
07-25 07:50:52.154 24548 24548 I ViewRootImpl: CPU Rendering VSync enable = true
07-25 07:50:52.770 2570 2570 D QtiCarrierConfigHelper: WARNING, no carrier configs on phone Id: 0
07-25 07:50:52.774 7245 24572 D com.gsamlabs.bbm.lib.NotifyingService: ===:92:4283:26.6:2
07-25 07:50:53.211 1451 1553 E LightsService: Light requested not available on this device. 2
07-25 07:50:53.934 6751 6852 W Notification: Use of stream types is deprecated for operations other than volume control
07-25 07:50:53.934 6751 6852 W Notification: See the documentation of setSound() for what to use instead with android.media.AudioAttributes to qualify your playback use case
07-25 07:50:54.762 17808 17881 I CDP : {"date":"2019-07-25T07:50:54.762","PID":17808,"TID":17881,"message":{"text":"Stopping client channel %llu"},"level":3,"flags":2}
07-25 07:50:54.763 17808 17881 I CDP : {"date":"2019-07-25T07:50:54.763","PID":17808,"TID":17881,"message":{"text":"%s"},"level":3,"flags":2}
07-25 07:50:54.763 17808 17881 I chatty : uid=10246(com.microsoft.appmanager) Thread-442 identical 1 line
07-25 07:50:54.763 17808 17881 I CDP : {"date":"2019-07-25T07:50:54.763","PID":17808,"TID":17881,"message":{"text":"%s"},"level":3,"flags":2}
07-25 07:50:55.433 599 599 I iptables-restor: type=1400 audit(0.0:6386): avc: denied { add_name } for name="xtables.lock" scontext=u:r:netd:s0 tcontext=u:object_r:system_file:s0 tclass=dir permissive=1
07-25 07:50:55.453 596 596 I Binder:596_2: type=1400 audit(0.0:6387): avc: denied { associate } for name="globalAlert" scontext=u:object_r:proc_net:s0 tcontext=u:object_r:proc:s0 tclass=filesystem permissive=1
07-25 07:50:55.465 3509 4165 W SensorManager: Preventing com.google.android.gmsfrom draining battery using accelerometer sensor
07-25 07:50:55.471 3509 24576 W SensorManager: Preventing com.google.android.gmsfrom draining battery using accelerometer sensor
07-25 07:50:55.484 3184 24579 D SwA : Client [d.f.a.d.j.d@52d6446]
07-25 07:50:55.506 3509 23341 I GmsTraceSample: 0ms performing lockbox-LockboxChimeraService_onHandleIntent -> 40-LogOperation [0,5% sampled, 144 omitted, module=clearcut, caller=null]
07-25 07:50:55.713 1451 1646 E LightsService: Light requested not available on this device. 2
07-25 07:50:55.883 1451 9661 I ActivityManager: START u0 {flg=0x2000000 cmp=com.android.facelock/.SetupEnrollmentScreen (has extras)} from uid 10064
07-25 07:50:55.917 24548 24548 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@6c9bf57
[b]07-25 07:50:55.961 24548 24548 E linker : "/system/app/FaceLock/lib/arm64/libfacenet.so" has invalid shdr offset/size: 2821536/1728[/b]
07-25 07:50:55.962 24548 24548 D AndroidRuntime: Shutting down VM
07-25 07:50:55.962 24548 24548 E AndroidRuntime: FATAL EXCEPTION: main
07-25 07:50:55.962 24548 24548 E AndroidRuntime: Process: com.android.facelock, PID: 24548
07-25 07:50:55.962 24548 24548 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: "/system/app/FaceLock/lib/arm64/libfacenet.so" has invalid shdr offset/size: 2821536/1728
07-25 07:50:55.962 24548 24548 E AndroidRuntime: at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
07-25 07:50:55.962 24548 24548 E AndroidRuntime: at java.lang.System.loadLibrary(System.java:1669)
07-25 07:50:55.962 24548 24548 E AndroidRuntime: at com.google.android.libraries.vision.facenet.FaceNet.<clinit>(FaceNet.java:67)
07-25 07:50:55.962 24548 24548 E AndroidRuntime: at com.android.facelock.FaceLockUtil.initialize(FaceLockUtil.java:148)
07-25 07:50:55.962 24548 24548 E AndroidRuntime: at com.android.facelock.SetupEnrollmentScreen.onCreate(SetupEnrollmentScreen.java:517)
07-25 07:50:55.962 24548 24548 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7145)
07-25 07:50:55.962 24548 24548 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7136)
07-25 07:50:55.962 24548 24548 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272)
07-25 07:50:55.962 24548 24548 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2933)
07-25 07:50:55.962 24548 24548 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3088)
07-25 07:50:55.962 24548 24548 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
07-25 07:50:55.962 24548 24548 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
07-25 07:50:55.962 24548 24548 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
07-25 07:50:55.962 24548 24548 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1818)
07-25 07:50:55.962 24548 24548 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
07-25 07:50:55.962 24548 24548 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193)
07-25 07:50:55.962 24548 24548 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6739)
07-25 07:50:55.962 24548 24548 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-25 07:50:55.962 24548 24548 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:495)
07-25 07:50:55.962 24548 24548 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:859)
07-25 07:50:55.965 1451 9661 W ActivityManager: Force finishing activity com.android.facelock/.SetupEnrollmentScreen
07-25 07:50:55.971 1451 9661 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1005 com.android.server.am.AppErrors.crashApplicationInner:469 com.android.server.am.AppErrors.crashApplication:392 com.android.server.am.ActivityManagerService.handleApplicationCrashInner:15778 com.android.server.am.ActivityManagerService.handleApplicationCrash:15744
07-25 07:50:55.978 1451 1542 I ActivityManager: Showing crash dialog for package com.android.facelock u0
07-25 07:50:55.979 1451 1541 W BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to ProcessRecord{1b7efd4 3098:com.teslacoilsw.notifier/u0a276} (pid=3098, uid=10276) requires android.permission.READ_LOGS due to sender android (uid 1000)
07-25 07:50:55.979 1451 1541 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
07-25 07:50:55.980 1451 1541 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
07-25 07:50:56.011 1451 1542 I ViewRootImpl: CPU Rendering VSync enable = true
07-25 07:50:56.020 3509 24402 I GmsTraceSample: 8ms performing container.core-BackgroundBroadcastReceiverSupport$PersistentReceiverIntentOperation_onHandleIntentWithRedelivery -> container-GmsIntentOperationService$PersistentTrustedChimeraReceiver_onReceive [0,5% sampled, 54 omitted, module=container, caller=null]
07-25 07:50:56.028 1451 4381 I OpenGLRenderer: Initialized EGL, version 1.4
07-25 07:50:56.028 1451 4381 D OpenGLRenderer: Swap behavior 2

Btw. OpenGapps mini.

Camera log (if they will help DEV or smb to fix):

pastebin.com/fkD7y6kF

Any more temp solutions for faceunlock and camera?

P.S OHMYHOLLYUNICORNS! They have disabled caking development forum requirements and I can post bugreps not in the PM :D

Update: Strange. The update gapps to 07.25. Moved file. Now working.. And size was changed to 2823264 bytes. Very strange :)

And error was different:

07-25 08:24:14.161 9882 9882 E linker : library "/system/app/FaceLock/lib/arm64/libfacenet.so" ("/system_root/system/lib64/libfacenet.so") needed or dlopened by "/system/lib64/libnativeloader.so" is not accessible for the namespace: [name="classloader-namespace", ld_library_paths="", default_library_paths="/system/app/FaceLock/lib/arm64:/system/app/FaceLock/FaceLock.apk!/lib/arm64-v8a:/system/lib64:/system/lib64", permitted_paths="/data:/mnt/expand:/data/data/com.android.facelock:/system/app/FaceLock:/system/lib64:/system/lib64/drm:/system/lib64/extractors:/system/lib64/hw:/system/product/lib64:/system/framework:/system/app:/system/priv-app:/vendor/framework:/vendor/app:/vendor/priv-app:/odm/framework:/odm/app:/odm/priv-app:/oem/app:/system/product/framework:/system/product/app:/system/product/priv-app:/data:/mnt/expand"]