Hero2lte : Migration nougat -> oreo : Torch don't work
- /e/ version: (testing migration to oreo) e-0.7-o-2020031645459-dev-hero2lte
- Device model: samsung s7 edge
- When it started to occur: always
- Reproducible with the last /e/ version: no problem with the nougat version
- Reproducible with LineageOS: don't know
Summary
Testing migration from nougat to oreo : Fresh install
-
The bug concerns a third party app -
The bug a big waste of time (torch is very useful ...)
The problem
Steps to reproduce Open the top down menu, enable torch. Torch don't work
Technical informations
Relevant logs (adb logcat)
04-04 11:18:01.576 3464 3464 W HwBinder:3464_1: type=1400 audit(0.0:44): avc: denied { write } for name="rear_torch_flash" dev="sysfs" ino=24857 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:camera_device:s0 tclass=file permissive=0
04-04 11:18:01.584 3464 3694 I ExynosCamera3Interface: INFO(HAL_set_torch_mode[584]):in =====
04-04 11:18:01.584 3464 3694 I ExynosCamera3Interface: INFO(HAL_set_torch_mode[604]): Current Camera State (state = 3)
04-04 11:18:01.585 3464 3694 I ExynosCamera3Interface: INFO(control_torch_flash[544]):flashFilePath(/sys/class/camera/flash/rear_torch_flash)
04-04 11:18:01.585 3487 5104 D audio_route: Apply path: speaker
04-04 11:18:01.585 3464 3694 E ExynosCamera3Interface: ERR(control_torch_flash[549]):torch file open(/sys/class/camera/flash/rear_torch_flash) fail, ret(0)
04-04 11:18:01.586 3480 3705 I CameraProviderManager: Camera device device@1.0/legacy/0 torch status is now AVAILABLE_ON
04-04 11:18:01.586 3480 3705 I CameraService: onTorchStatusChangedLocked: Torch status changed for cameraId=0, newStatus=2
04-04 11:18:01.588 3480 3705 I CameraProviderManager: Camera device device@3.3/legacy/0 torch status is now AVAILABLE_ON
04-04 11:18:01.588 3480 3705 I CameraService: onTorchStatusChangedLocked: Torch status changed for cameraId=0, newStatus=2
04-04 11:18:01.589 3464 3694 I ExynosCamera3Interface: INFO(HAL_set_torch_mode[638]):out =====
04-04 11:18:01.589 3464 3694 D ExynosCamera3Interface: DEBUG:duration time( 5 msec):(HAL_set_torch_mode)
04-04 11:18:04.634 3633 3715 D SensorService: [SO] 3.405 5.519 7.133
Edited by Manoj Nair