[Xiaomi Redmi Note 4 Themes, Apps, and Mods] thorazine74:
Not working for me on Nougat (LOS 20180222).

---------- Post added at 09:06 AM ---------- Previous post was at 09:02 AM ----------

Tried this but the camera doesn't see it.

Both in /system/vendor/lib/hw/ and /system/vendor/lib64/hw/

03-13 09:03:31.604 I/ActivityManager(5819): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera/.Camera (has extras)} from uid 10254 on display 0
03-13 09:03:31.641 I/am_create_activity(5819): [0,96266742,11528,com.android.camera/.Camera,android.intent.action.MAIN,NULL,NULL,270532608]
03-13 09:03:31.644 I/am_focused_activity(5819): [0,com.android.camera/.Camera,startedActivity]
03-13 09:03:31.647 I/sysui_action(5819): [323,com.android.camera/.Camera]
03-13 09:03:31.665 I/ActivityManager(5819): Start proc 9209:com.android.camera/u0a148 for activity com.android.camera/.Camera
03-13 09:03:31.665 I/am_proc_start(5819): [0,9209,10148,com.android.camera,activity,com.android.camera/.Camera]
03-13 09:03:31.708 I/am_proc_bound(5819): [0,9209,com.android.camera]
03-13 09:03:31.714 I/am_restart_activity(5819): [0,96266742,11528,com.android.camera/.Camera]
03-13 09:03:31.748 I/XLua.Xposed(9209): Loaded com.android.camera:10148
03-13 09:03:32.060 D/CameraUtil(9209): Width = 1080 Height = 1920 sPixelDensity=2.7
03-13 09:03:32.147 I/PermissionManager(9209): requestCameraRuntimePermissions(), all on
03-13 09:03:32.212 V/CameraUtil(9209): antiBanding mCountryIso=ES
03-13 09:03:32.266 I/PermissionManager(9209): CheckCameraPermissions(), all on
03-13 09:03:32.273 V/CameraHolder(9209): open camera -1
03-13 09:03:32.279 F/libc (7987): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x4 in tid 7987 (cameraserver)
03-13 09:03:32.339 F/DEBUG (9247): pid: 7987, tid: 7987, name: cameraserver >>> /system/bin/cameraserver <<<
03-13 09:03:32.346 F/DEBUG (9247): #00 pc 000605e0 /system/lib/libcameraservice.so (_ZN7android12CameraModule4initEv+359)
03-13 09:03:32.346 F/DEBUG (9247): #01 pc 00054775 /system/lib/libcameraservice.so (_ZN7android13CameraService13connectLegacyERKNS_2spINS_8hardware13ICameraClientEEEiiRKNS_8String16EiPNS1_INS2_7ICameraEEE+84)
03-13 09:03:32.346 F/DEBUG (9247): #02 pc 0002e8e9 /system/lib/libcamera_client.so (_ZN7android8hardware15BnCameraService10onTransactEjRKNS_6ParcelEPS2_j+704)
03-13 09:03:32.346 F/DEBUG (9247): #03 pc 00056e53 /system/lib/libcameraservice.so (_ZN7android13CameraService10onTransactEjRKNS_6ParcelEPS1_j+86)
03-13 09:03:32.346 F/DEBUG (9247): #08 pc 00000b4d /system/bin/cameraserver
03-13 09:03:32.346 F/DEBUG (9247): #10 pc 00000a18 /system/bin/cameraserver
03-13 09:03:32.375 W/CameraBase(9209): Camera service died!
03-13 09:03:32.376 W/Camera (9209): An error occurred while connecting to camera -1: Service not available
03-13 09:03:32.378 I/ServiceManager(552): service 'media.camera' died
03-13 09:03:32.378 W/Camera (9209): ReflectUtil#callMethod
03-13 09:03:32.378 W/Camera (9209): java.lang.reflect.InvocationTargetException
03-13 09:03:32.378 W/Camera (9209):	at java.lang.reflect.Method.invoke(Native Method)
03-13 09:03:32.378 W/Camera (9209):	at com.android.camera.aosp_porting.ReflectUtil.callMethod(ReflectUtil.java)
03-13 09:03:32.378 W/Camera (9209):	at com.android.camera.hardware.QcomCameraProxy.openCamera(QcomCameraProxy.java)
03-13 09:03:32.378 W/Camera (9209):	at com.android.camera.CameraManager.cameraOpen(CameraManager.java)
03-13 09:03:32.378 W/Camera (9209):	at com.android.camera.CameraHolder.open(CameraHolder.java)
03-13 09:03:32.378 W/Camera (9209):	at com.android.camera.Util.openCamera(Util.java)
03-13 09:03:32.378 W/Camera (9209):	at com.android.camera.module.CameraModule$CameraStartUpThread.run(CameraModule.java)
03-13 09:03:32.378 W/Camera (9209): Caused by: java.lang.RuntimeException: Unknown camera error
03-13 09:03:32.378 W/Camera (9209):	at android.hardware.Camera.<init>(Camera.java:502)
03-13 09:03:32.378 W/Camera (9209):	at android.hardware.Camera.openLegacy(Camera.java:468)
03-13 09:03:32.378 W/Camera (9209):	... 7 more
03-13 09:03:32.378 E/QcomCameraProxy(9209): openLegacy is null
03-13 09:03:32.379 I/ServiceManager(9209): Waiting for service media.camera...
03-13 09:03:32.514 I/cameraserver(9249): ServiceManager: 0xf37996e0
03-13 09:03:32.514 I/CameraService(9249): CameraService started (pid=9249)
03-13 09:03:32.514 I/CameraService(9249): CameraService process starting
03-13 09:03:32.531 E/HAL (9249): load: module=/system/lib/hw/camera.msm8953.so
03-13 09:03:32.531 E/HAL (9249): dlopen failed: cannot locate symbol "atrace_end_body" referenced by "/system/lib/hw/camera.msm8953.so"...
03-13 09:03:32.531 E/CameraService(9249): Could not load camera HAL module: -22 (Invalid argument)
03-13 09:03:32.552 V/Camera (9209): watch dog run 1496
03-13 09:03:32.556 D/CameraMemoryManager(9209): initMemory: maxMemory=268435456
03-13 09:03:32.568 V/CameraBrightness(9209): onResume adjustBrightness
03-13 09:03:32.570 V/CameraBrightness(9209): doInBackground useDefaultValue=false paused=false
03-13 09:03:32.570 I/CameraStorage(9209): setLeftSpace(25854324736)
03-13 09:03:32.571 I/PermissionManager(9209): CheckCameraPermissions(), all on
03-13 09:03:32.574 I/am_on_resume_called(9209): [0,com.android.camera.Camera,LAUNCH_ACTIVITY]
03-13 09:03:32.588 V/CameraBrightness(9209): execCommand lcd value=14 cost=18
03-13 09:03:32.588 V/CameraBrightness(9209): getCurrentBackLight currentSetting=14
03-13 09:03:32.590 W/Camera (9209): ReflectUtil#getFieldValue
03-13 09:03:32.590 W/Camera (9209): java.lang.NoSuchFieldException: config_backlightBits
03-13 09:03:32.590 W/Camera (9209):	at java.lang.Class.getField(Class.java:1549)
03-13 09:03:32.590 W/Camera (9209):	at com.android.camera.aosp_porting.ReflectUtil.getFieldValue(ReflectUtil.java)
03-13 09:03:32.590 W/Camera (9209):	at com.android.camera.aosp_porting.ReflectUtil.getFieldInt(ReflectUtil.java)
03-13 09:03:32.590 W/Camera (9209):	at com.android.camera.CameraBrightness.getAndroidIntResource(CameraBrightness.java)
03-13 09:03:32.590 W/Camera (9209):	at com.android.camera.CameraBrightness.-wrap0(CameraBrightness.java)
03-13 09:03:32.590 W/Camera (9209):	at com.android.camera.CameraBrightness$CameraBrightnessTask.getCurrentBackLight(CameraBrightness.java)
03-13 09:03:32.590 W/Camera (9209):	at com.android.camera.CameraBrightness$CameraBrightnessTask.doInBackground(CameraBrightness.java)
03-13 09:03:32.590 W/Camera (9209):	at com.android.camera.CameraBrightness$CameraBrightnessTask.doInBackground(CameraBrightness.java)
03-13 09:03:32.590 W/Camera (9209):	at android.os.AsyncTask$2.call(AsyncTask.java:305)
03-13 09:03:32.590 W/Camera (9209):	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
03-13 09:03:32.590 W/Camera (9209):	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
03-13 09:03:32.590 W/Camera (9209):	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
03-13 09:03:32.590 W/Camera (9209):	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
03-13 09:03:32.590 W/Camera (9209):	at java.lang.Thread.run(Thread.java:761)
03-13 09:03:32.590 W/Camera (9209): ReflectUtil#getFieldValue
03-13 09:03:32.590 W/Camera (9209): java.lang.NoSuchFieldException: config_manual_spline_available
03-13 09:03:32.590 W/Camera (9209):	at java.lang.Class.getField(Class.java:1549)
03-13 09:03:32.590 W/Camera (9209):	at com.android.camera.aosp_porting.ReflectUtil.getFieldValue(ReflectUtil.java)
03-13 09:03:32.590 W/Camera (9209):	at com.android.camera.aosp_porting.ReflectUtil.getFieldInt(ReflectUtil.java)
03-13 09:03:32.590 W/Camera (9209):	at com.android.camera.CameraBrightness.getAndroidBoolRes(CameraBrightness.java)
03-13 09:03:32.590 W/Camera (9209):	at com.android.camera.CameraBrightness.createSpline(CameraBrightness.java)
03-13 09:03:32.590 W/Camera (9209):	at com.android.camera.CameraBrightness.-wrap1(CameraBrightness.java)
03-13 09:03:32.590 W/Camera (9209):	at com.android.camera.CameraBrightness$CameraBrightnessTask.doInBackground(CameraBrightness.java)
03-13 09:03:32.590 W/Camera (9209):	at com.android.camera.CameraBrightness$CameraBrightnessTask.doInBackground(CameraBrightness.java)
03-13 09:03:32.590 W/Camera (9209):	at android.os.AsyncTask$2.call(AsyncTask.java:305)
03-13 09:03:32.590 W/Camera (9209):	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
03-13 09:03:32.590 W/Camera (9209):	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
03-13 09:03:32.590 W/Camera (9209):	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
03-13 09:03:32.590 W/Camera (9209):	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
03-13 09:03:32.590 W/Camera (9209):	at java.lang.Thread.run(Thread.java:761)
03-13 09:03:32.591 W/Camera (9209): ReflectUtil#getFieldValue
03-13 09:03:32.591 W/Camera (9209): java.lang.NoSuchFieldException: config_manualBrightnessRemapIn
03-13 09:03:32.591 W/Camera (9209):	at java.lang.Class.getField(Class.java:1549)
03-13 09:03:32.591 W/Camera (9209):	at com.android.camera.aosp_porting.ReflectUtil.getFieldValue(ReflectUtil.java)
03-13 09:03:32.591 W/Camera (9209):	at com.android.camera.aosp_porting.ReflectUtil.getFieldInt(ReflectUtil.java)
03-13 09:03:32.591 W/Camera (9209):	at com.android.camera.CameraBrightness.getAndroidArrayRes(CameraBrightness.java)
03-13 09:03:32.591 W/Camera (9209):	at com.android.camera.CameraBrightness.createSpline(CameraBrightness.java)
03-13 09:03:32.591 W/Camera (9209):	at com.android.camera.CameraBrightness.-wrap1(CameraBrightness.java)
03-13 09:03:32.591 W/Camera (9209):	at com.android.camera.CameraBrightness$CameraBrightnessTask.doInBackground(CameraBrightness.java)
03-13 09:03:32.591 W/Camera (9209):	at com.android.camera.CameraBrightness$CameraBrightnessTask.doInBackground(CameraBrightness.java)
03-13 09:03:32.591 W/Camera (9209):	at android.os.AsyncTask$2.call(AsyncTask.java:305)
03-13 09:03:32.591 W/Camera (9209):	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
03-13 09:03:32.591 W/Camera (9209):	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
03-13 09:03:32.591 W/Camera (9209):	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
03-13 09:03:32.591 W/Camera (9209):	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
03-13 09:03:32.591 W/Camera (9209):	at java.lang.Thread.run(Thread.java:761)
03-13 09:03:32.591 W/Camera (9209): ReflectUtil#getFieldValue
03-13 09:03:32.591 W/Camera (9209): java.lang.NoSuchFieldException: config_manualBrightnessRemapOut
03-13 09:03:32.591 W/Camera (9209):	at java.lang.Class.getField(Class.java:1549)
03-13 09:03:32.591 W/Camera (9209):	at com.android.camera.aosp_porting.ReflectUtil.getFieldValue(ReflectUtil.java)
03-13 09:03:32.591 W/Camera (9209):	at com.android.camera.aosp_porting.ReflectUtil.getFieldInt(ReflectUtil.java)
03-13 09:03:32.591 W/Camera (9209):	at com.android.camera.CameraBrightness.getAndroidArrayRes(CameraBrightness.java)
03-13 09:03:32.591 W/Camera (9209):	at com.android.camera.CameraBrightness.createSpline(CameraBrightness.java)
03-13 09:03:32.591 W/Camera (9209):	at com.android.camera.CameraBrightness.-wrap1(CameraBrightness.java)
03-13 09:03:32.591 W/Camera (9209):	at com.android.camera.CameraBrightness$CameraBrightnessTask.doInBackground(CameraBrightness.java)
03-13 09:03:32.591 W/Camera (9209):	at com.android.camera.CameraBrightness$CameraBrightnessTask.doInBackground(CameraBrightness.java)
03-13 09:03:32.591 W/Camera (9209):	at android.os.AsyncTask$2.call(AsyncTask.java:305)
03-13 09:03:32.591 W/Camera (9209):	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
03-13 09:03:32.591 W/Camera (9209):	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
03-13 09:03:32.591 W/Camera (9209):	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
03-13 09:03:32.591 W/Camera (9209):	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
03-13 09:03:32.591 W/Camera (9209):	at java.lang.Thread.run(Thread.java:761)
03-13 09:03:33.174 I/dvm_lock_sample(9209): [com.android.camera,0,AsyncTask #2,575,ActivityThread.java,5532,Binder.java,-2,100]
03-13 09:03:33.235 V/CameraBrightness(9209): updateBrightness setting=15 useDefaultValue=false screenBrightness=0.05882353
03-13 09:03:33.291 I/am_activity_launch_time(5819): [0,96266742,com.android.camera/.Camera,1639,1639]
03-13 09:03:33.291 I/ActivityManager(5819): Displayed com.android.camera/.Camera: +1s639ms
03-13 09:03:33.299 V/CameraBrightness(9209): onWindowFocusChanged hasFocus=true mFirstFocusChanged=false
03-13 09:03:33.379 I/CameraManagerGlobal(5819): Connecting to camera service
03-13 09:03:33.381 E/CameraService(9249): getCameraVendorTagDescriptor: camera hardware module doesn't exist
03-13 09:03:33.381 I/CameraService(9249): CameraService::connect call (PID -1 "com.android.camera", camera ID -1) for HAL version default and Camera API version 1
03-13 09:03:33.383 E/CameraService(9249): CameraService::connect X (PID 9209) rejected (camera HAL module not loaded)
03-13 09:03:33.383 W/CameraBase(9209): An error occurred while connecting to camera -1: Service not available
03-13 09:03:33.384 E/CameraHolder(9209): fail to connect Camera
03-13 09:03:33.384 E/CameraHolder(9209): java.lang.RuntimeException: Fail to connect to camera service
03-13 09:03:33.384 E/CameraHolder(9209):	at android.hardware.Camera.<init>(Camera.java:575)
03-13 09:03:33.384 E/CameraHolder(9209):	at android.hardware.Camera.open(Camera.java:404)
03-13 09:03:33.384 E/CameraHolder(9209):	at com.android.camera.hardware.CameraHardwareProxy.openCamera(CameraHardwareProxy.java)
03-13 09:03:33.384 E/CameraHolder(9209):	at com.android.camera.hardware.QcomCameraProxy.openCamera(QcomCameraProxy.java)
03-13 09:03:33.384 E/CameraHolder(9209):	at com.android.camera.CameraManager.cameraOpen(CameraManager.java)
03-13 09:03:33.384 E/CameraHolder(9209):	at com.android.camera.CameraHolder.open(CameraHolder.java)
03-13 09:03:33.384 E/CameraHolder(9209):	at com.android.camera.Util.openCamera(Util.java)
03-13 09:03:33.384 E/CameraHolder(9209):	at com.android.camera.module.CameraModule$CameraStartUpThread.run(CameraModule.java)
03-13 09:03:33.503 V/CameraBrightness(9209): onWindowFocusChanged hasFocus=false mFirstFocusChanged=true
03-13 09:03:33.504 V/CameraBrightness(9209): doInBackground useDefaultValue=true paused=false
03-13 09:03:33.506 V/CameraBrightness(9209): updateBrightness setting=-1 useDefaultValue=true screenBrightness=-1.0
03-13 09:03:34.093 I/TWILIGHT(29544): [09:03:34.093, main]: package com.android.camera
03-13 09:03:34.371 I/am_finish_activity(5819): [0,96266742,11528,com.android.camera/.Camera,app-request]
03-13 09:03:34.381 I/am_pause_activity(5819): [0,96266742,com.android.camera/.Camera]
03-13 09:03:34.398 I/sf_frame_dur(553): [com.android.camera/com.android.camera.Camera,1,0,0,0,0,0,0]
03-13 09:03:34.400 V/Camera (9209): watch dog InterruptedException 1496
03-13 09:03:34.402 V/CameraMetaDataManager(9209): setAsdDetectMask pref_camera_flashmode_key true
03-13 09:03:34.402 V/CameraMetaDataManager(9209): setAsdDetectMask pref_camera_hdr_key false
03-13 09:03:34.403 V/CameraMetaDataManager(9209): setAsdDetectMask pref_camera_asd_night_key true
03-13 09:03:34.403 V/CameraMetaDataManager(9209): setAsdDetectMask pref_camera_asd_motion_key true
03-13 09:03:34.403 V/CameraMetaDataManager(9209): restoreScene -1
03-13 09:03:34.403 I/Camera (9209): stopObjectTracking mObjectTrackingStarted=false restartFD=false
03-13 09:03:34.404 V/Camera (9209): closeCamera
03-13 09:03:34.412 I/am_on_paused_called(9209): [0,com.android.camera.Camera,handlePauseActivity]
03-13 09:03:34.756 I/am_destroy_activity(5819): [0,96266742,11528,com.android.camera/.Camera,finish-imm]
03-13 09:03:34.771 I/am_on_stop_called(9209): [0,com.android.camera.Camera,destroy]
03-13 09:03:34.965 I/sf_frame_dur(553): [com.android.camera/com.android.camera.Camera,0,1,0,0,0,0,0]
03-13 09:04:07.070 I/am_pss (5819): [9209,10148,com.android.camera,28113920,24576000,0]