Closed svoboda18 closed 5 years ago
Is this really needed ?
Which device u used to compile?
It A 5.1 Based Device, If I Use 6.X Repo, No Errors Will Come, Just A Bootloop !.
Then, I Changed To Omni 5.1.1, And Changing bootable/recovery With PBRP One.
It Shows That Errors,Then Fix Them Out !, At Last It Built Successful, And Booted On My Device. ( DOOGEE X5 (3.10.72,MT6580) )
all features are working fine?
Yup , Except Flashlight I Cannot Test It.
Y?
Our Kernel Don't Have Flashlight Class. So? How Will It Work ? :P
@svoboda18, do your device have /sys/class/flashlightdrv/kd_camera_flashlight/torch
as the flashlight/torch file path instead of /sys/class/leds/flashlight
folder path ?
My mt6735 has the torch
file path.
@rokibhasansagar, i have ''/sys/class/flashlight/brightness/max_brightness'' file same as to your ''torch'' file, except (turn on/off values, basically 255/1 and 0) my driver is personal. Moreover, the GUIAction::flashlight function is also personalized to have a functional flashlight feature.
It Needs, At Last It Now Compiled Successfully With Omni 5.1.1 Sources. It Really Extand The Range Of Supported Devices!.