[Moto Maxx Original Android Development] fgl27:
:good:

did not work on M for me... have not test on L, check all my audio config and is just like CM tree...

torch is not working, any 3° party app I test can't enable the flash, gesture if use cause a cmaction FC and I get this log

02-17 09:54:28.961 509 509 I CameraService: getCameraCharacteristics: Switching to HAL1 shim implementation...
02-17 09:54:28.964 509 2064 I CameraService: getCameraCharacteristics: Switching to HAL1 shim implementation...
02-17 09:54:28.991 509 2615 E CameraService: setTorchMode: getting current torch status failed for camera 0
02-17 09:54:28.992 2877 2877 I chatty : uid=1000(system) com.cyanogenmod.settings.device expire 8 lines
02-17 09:54:29.524 10835 10854 I chatty : uid=1000(system) com.android.settings expire 7 lines
02-17 09:54:30.188 509 509 E CameraService: setTorchMode: getting current torch status failed for camera 0
--------- beginning of crash
02-17 09:54:30.190 2877 2877 E AndroidRuntime: FATAL EXCEPTION: main
02-17 09:54:30.190 2877 2877 E AndroidRuntime: Process: com.cyanogenmod.settings.device, PID: 2877
02-17 09:54:30.190 2877 2877 E AndroidRuntime: java.lang.IllegalArgumentException: Bad argument passed to camera service
02-17 09:54:30.190 2877 2877 E AndroidRuntime: at android.hardware.camera2.utils.CameraBinderDecorator.throwOnError(CameraBinderDecorator.java:114)
02-17 09:54:30.190 2877 2877 E AndroidRuntime: at android.hardware.camera2.utils.CameraBinderDecorator$CameraBinderDecoratorListener.onAfterInvocation(CameraBinderDecorator.java:73)
02-17 09:54:30.190 2877 2877 E AndroidRuntime: at android.hardware.camera2.utils.Decorator.invoke(Decorator.java:81)
02-17 09:54:30.190 2877 2877 E AndroidRuntime: at java.lang.reflect.Proxy.invoke(Proxy.java:393)
02-17 09:54:30.190 2877 2877 E AndroidRuntime: at $Proxy0.setTorchMode(Unknown Source)
02-17 09:54:30.190 2877 2877 E AndroidRuntime: at android.hardware.camera2.CameraManager$CameraManagerGlobal.setTorchMode(CameraManager.java:884)
02-17 09:54:30.190 2877 2877 E AndroidRuntime: at android.hardware.camera2.CameraManager.setTorchMode(CameraManager.java:501)
02-17 09:54:30.190 2877 2877 E AndroidRuntime: at com.cyanogenmod.settings.device.TorchAction.action(TorchAction.java:60)
02-17 09:54:30.190 2877 2877 E AndroidRuntime: at com.cyanogenmod.settings.device.CMActionsSettings$ConfigurableAction.action(CMActionsSettings.java:183)
02-17 09:54:30.190 2877 2877 E AndroidRuntime: at com.cyanogenmod.settings.device.CMActionsSettings$ConfigurableAction.action(CMActionsSettings.java:172)
02-17 09:54:30.190 2877 2877 E AndroidRuntime: at com.cyanogenmod.settings.device.CameraActivationSensor.onSensorChanged(CameraActivationSensor.java:65)
02-17 09:54:30.190 2877 2877 E AndroidRuntime: at android.hardware.SystemSensorManager$SensorEventQueue.dispatchSensorEvent(SystemSensorManager.java:483)
02-17 09:54:30.190 2877 2877 E AndroidRuntime: at android.os.MessageQueue.nativePollOnce(Native Method)
02-17 09:54:30.190 2877 2877 E AndroidRuntime: at android.os.MessageQueue.next(MessageQueue.java:323)
02-17 09:54:30.190 2877 2877 E AndroidRuntime: at android.os.Looper.loop(Looper.java:135)
02-17 09:54:30.190 2877 2877 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5466)
02-17 09:54:30.190 2877 2877 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
02-17 09:54:30.190 2877 2877 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
02-17 09:54:30.190 2877 2877 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
02-17 09:54:30.190 2877 2877 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
02-17 09:54:30.198 1746 3963 W ActivityManager: Force finishing activity com.cyanogenmod.settings.device/.TouchscreenGestureSettings

I try victara shims and was no good...

User have reported to me that some have a wifi bug were the wifi keep dropping, checking the log I get basic this in all users logs, I don't have this on my wifi...

Line 26: 01-01 12:03:52.107 2044 3419 D ConnectivityService: NetworkAgentInfo [MOBILE (LTE) - 100] EVENT_NETWORK_INFO_CHANGED, going from null to CONNECTED
Line 199: 02-17 16:07:45.557 2044 3419 D ConnectivityService: NetworkAgentInfo [WIFI () - 101] EVENT_NETWORK_INFO_CHANGED, going from null to CONNECTING
Line 202: 02-17 16:07:45.798 2044 3419 D ConnectivityService: NetworkAgentInfo [WIFI () - 101] EVENT_NETWORK_INFO_CHANGED, going from CONNECTING to CONNECTED
Line 238: 02-17 16:07:48.661 2044 3419 D ConnectivityService: NetworkAgentInfo [WIFI () - 101] EVENT_NETWORK_INFO_CHANGED, going from CONNECTED to DISCONNECTED
Line 250: 02-17 16:07:48.979 2044 3419 E ConnectivityService: EVENT_NETWORK_INFO_CHANGED from unknown NetworkAgent
Line 264: 02-17 16:07:51.524 2044 3419 D ConnectivityService: NetworkAgentInfo [WIFI () - 102] EVENT_NETWORK_INFO_CHANGED, going from null to CONNECTING
Line 267: 02-17 16:07:52.039 2044 3419 D ConnectivityService: NetworkAgentInfo [WIFI () - 102] EVENT_NETWORK_INFO_CHANGED, going from CONNECTING to CONNECTED

complete log on the attachment...

I search but very little and found some CM13 tree changing they buffers not that this is the problem but I made this...

https://github.com/bhb27/android_de...mmit/812cfbfa80267709031e9d4de51893eb41849a78

as other dev clean init and move it all to one place on the overlays...

is really need to have that on init and frameworks? if it is let me know...

BTW, I have test in the other day that snap... look better, but the back camera for pic don't works, the rest did... I use a overlay like this...

https://github.com/CyanogenMod/andr...mmit/6181daf663f29c51d43cdd3b8ed1ab444896173d

after it did not work the first time I give up, but the app keep receiving update everyday it may work.

I'm doing changes if I find any improve after test... I let you know...