Don't forget to take backup...
Don't forget to take backup...
i tried this on Redmi note 4 mido snapdragon AOSPextn rom not working
i have attached Generic.kl with screenshot
Your ROM Dev disabled it....
See the mFlag is different for key down and up...
It should be same to work... Like mine...
I've also attached Unmodified Generic.klI've tried on my Redmi Note 3 Kenzo.. NOS 7.1.2 ROM
Here's a SS of KeyEvent.. Plz tell me it's supported or not??
Yes it's supported. Use 96 instead of 353. I.e key 96 CAMERI've tried on my Redmi Note 3 Kenzo.. NOS 7.1.2 ROM
Here's a SS of KeyEvent.. Plz tell me it's supported or not??
Yes it's supported. Use 96 instead of 353. I.e key 96 CAMER
Change this and save... Then reboot... Wipe cache... Then try...
Nope... If you put # before a line... It means that line is shouldn't work.... So don't put #Thanks for information...
I've tried 353 but not worked!
Now I'm gonna try ur method:good:
Should I put # before key 96, right ??
Nope... If you put # before a line... It means that line is shouldn't work.... So don't put #
Exactly I'm saying that, Key 96 is already there. So, first I've to put # key 96 (i.e: # key 96 Num_enter)
then I'll add new line
key 96 camera
Right? Please check my attachment I've uploaded in last post
grep -rn '/system/usr/keylayout' -e '353'
Run this command in Terminal, post the output here.
Code:grep -rn '/system/usr/keylayout' -e '353'
Note : If your key source code is something else... Replace 353 with that number.
Run this command in Terminal, post the output here.
This is the output from that command
It doesn't work with snap cm cam and footej camera
I have changed both files
It's working with SnapCam and all others... only footej is not supported.
Again run that command and give me KeyEven Display app's screenshot. (See in 2nd post)
key 353 CAMERA
^*KeyDown:******action=0 code=27 repeat=0 meta=0 scancode=353 mFlags=8 label='' chars='null' number=''
^*KeyUp:********action=1 code=27 repeat=0 meta=0 scancode=353 mFlags=8 label='' chars='null' number=''