Proximity sensor - Zenfone 2 Laser Q&A, Help & Troubleshooting

How to disable proximity sensor in nougat as xposed are not released yet.
Currently facing black screen issue while in call and only 'power button to end call' working.

z.zon said:
How to disable proximity sensor in nougat as xposed are not released yet.
Currently facing black screen issue while in call and only 'power button to end call' working.
Click to expand...
Click to collapse
add following line to /system/build.prop file:
gsm.proximity.enable=false

viral4812 said:
add following line to /system/build.prop file:
gsm.proximity.enable=false
Click to expand...
Click to collapse
That ain't working

ACFH said:
Hey, Asus calling & contact have setting to disable it. Did you try this?
On "phone" (or Contact) open Menu (3dots on right-top corner) > settings > call screen settings > uncheck "Turn on proximity sensor" > done.
Click to expand...
Click to collapse
I'm not on Asus ROM and I can't set 'Asus Dialler' as the default dialler in the ROM(Oct-OS N) that i'm currently using.

ACFH said:
Sorry, I'm not on ROM(Oct-OS N) to test. But you can try edit system/etc/permissions/android.hardware.sensor.proximity.xml
Find <feature name="android.hardware.sensor.proximity" />
Change to <feature name="" />
Save and reboot.
Or recompile Dialer.apk and disabled proximity sensor in it. Like this guy https://forum.xda-developers.com/showpost.php?p=69507586&postcount=253
Click to expand...
Click to collapse
Thanks man
Recompiled apk worked.

Related

[psa] [google edition] disabling button lights

Hey guys
I was trying to make my S4 look like the Nexus.
Got the soft nav bar but couldn't find a way to disable the button lights.
http://forum.xda-developers.com/showthread.php?p=43256528
Use this app to disable button lights (lights only). Be sure to thank the Original Poster!!
jhong91 said:
Hey guys
I was trying to make my S4 look like the Nexus.
Got the soft nav bar but couldn't find a way to disable the button lights.
http://forum.xda-developers.com/showthread.php?p=43256528
Use this app to disable button lights (lights only). Be sure to thank the Original Poster!!
Click to expand...
Click to collapse
I have probably the same setup. Would be nice if we had the Touch Key Light Duration option in Settings like the S3 had (or maybe it's part of TouchWiz). That would be far easier than running another app just to turn the lights off.
I also use SoftKeyZ from the Play Store to customize the on screen buttons.
Nav bar
Can you help with how you got the nav bar? I found some links on xda, but looking for more.
Thanks
Matt
jhong91 said:
Hey guys
I was trying to make my S4 look like the Nexus.
Got the soft nav bar but couldn't find a way to disable the button lights.
http://forum.xda-developers.com/showthread.php?p=43256528
Use this app to disable button lights (lights only). Be sure to thank the Original Poster!!
Click to expand...
Click to collapse
mattalter said:
Can you help with how you got the nav bar? I found some links on xda, but looking for more.
Thanks
Matt
Click to expand...
Click to collapse
add
Make sure you're rooted.
go to a file manager that can edit text files ( I used root manager),
go to system/ and find build.prop. open it with an editor,
add the line
qemu.hw.mainkeys=0
at the bottom of your build prop, save/exit, reboot.
jhong91 said:
add
Make sure you're rooted.
go to a file manager that can edit text files ( I used root manager),
go to system/ and find build.prop. open it with an editor,
add the line
qemu.hw.mainkeys=0
at the bottom of your build prop, save/exit, reboot.
Click to expand...
Click to collapse
Yup. This is also what I did. I just used Root Explorer. A long press on the file lets you edit in a text editor.

ZTE Blade S6: Low microphone volume during calls [SOLVED]

Just to let you know...
Low microphone volume during calls is a problem on this phone with stock rom. People cannot hear what you are saying in most cases. The easiest solution for this is to disable "Dual Microphone" in the call app settings. It solves the problem.
Regards,
IozzoI
Can u please give me the steps to do this please.
Thanks
satarun said:
Can u please give me the steps to do this please.
Thanks
Click to expand...
Click to collapse
Sure, open the native dialer-app, in the quick dial window to the left push the three dots in the upper right corner, choose "Settings", choose "Call settings", disable "Dual microphone". Viola...
Regards,
IozzoI
I followed your steps but I can't find the Dual Microphone
I choose "Settings", choose "Call settings", but i couldn't Dual Microphone.
Please help me or can you please provide in screen shot where i can find the "Dual Microphone"
Thanks.
Please help
iozzoi said:
sure, open the native dialer-app, in the quick dial window to the left push the three dots in the upper right corner, choose "settings", choose "call settings", disable "dual microphone". Viola...
Regards,
iozzoi
Click to expand...
Click to collapse
there is no option of daul microphone
najaf mobile said:
there is no option of daul microphone
Click to expand...
Click to collapse
What is your firmware?
This method is actual for the original firmware.
If you have unofficial firmware, then mute the microphone through editing the file build.prop
persist.audio.fluence.voicecall=true -> persist.audio.fluence.voicecall=false

"Virtual button" / On-screen buttons?

Has anyone figured out how to turn on on-screen buttons instead of using the capacitive/physical buttons? In the control center, there's option to turn on "virtual button" and it allows you to disable the capacitive/physical buttons, but nothing shows up on the screen.
It's under accessibility
LeEco Pro3
toanau said:
It's under accessibility
LeEco Pro3
Click to expand...
Click to collapse
That only allows you to disable the hard buttons though, doesn't enable soft ones (on screen nav buttons). There's a way to enable them by default editing the build.prop but people were saying it didn't work on emui for some reason. One guy said it works fine, so I don't know. Requires root too though. No root in sight for US variants so far.
I got it working by adding qemu.hw.mainkeys=0 on build.prop.
From there, I got physical buttons to not work by modifying synaptics_dsx.kl file in /System/USR/KEYLAYOUT.
You simply put # in front of all the listed entries (e.g., # key 158 BACK VIRTUAL.)
From there, I also disabled button back light by modifying an another system file. I forgot which file it is.
After those three steps, it is as if it came with soft keys without physical buttons.
4K2K said:
I got it working by adding qemu.hw.mainkeys=0 on build.prop.
From there, I got physical buttons to not work by modifying synaptics_dsx.kl file in /System/USR/KEYLAYOUT.
You simply put # in front of all the listed entries (e.g., # key 158 BACK VIRTUAL.)
From there, I also disabled button back light by modifying an another system file. I forgot which file it is.
After those three steps, it is as if it came with soft keys without physical buttons.
Click to expand...
Click to collapse
Are you rooted? Do you have the US model?
Sent from my SM-P600 using XDA-Developers mobile app
toanau said:
Are you rooted? Do you have the US model?
Sent from my SM-P600 using XDA-Developers mobile app
Click to expand...
Click to collapse
I can answer for him lol. Yes, hes rooted, otherwise it wouldnt be possible, and no, because us model cant be rooted atm
4K2K said:
I got it working by adding qemu.hw.mainkeys=0 on build.prop.
From there, I got physical buttons to not work by modifying synaptics_dsx.kl file in /System/USR/KEYLAYOUT.
You simply put # in front of all the listed entries (e.g., # key 158 BACK VIRTUAL.)
From there, I also disabled button back light by modifying an another system file. I forgot which file it is.
After those three steps, it is as if it came with soft keys without physical buttons.
Click to expand...
Click to collapse
Please remember, I'd like to extend the button backlight time
Klara Kaiser said:
Please remember, I'd like to extend the button backlight time
Click to expand...
Click to collapse
If I understood that correctly, then you don't need to use softkeys. After the latest update, if you go to accessibility, there is an option for enabling the button backlight as long as the phone screen is on. I attached a picture clearly showing the option if it might help.
p_pal2000 said:
If I understood that correctly, then you don't need to use softkeys. After the latest update, if you go to accessibility, there is an option for enabling the button backlight as long as the phone screen is on. I attached a picture clearly showing the option if it might help.
Click to expand...
Click to collapse
Was exactly what I'm looking for, but I haven't this setting option. Are you at 5.8.0.19S? I'm still on 18S.
So I have to wait
Yep I'm on 19S. I thought all US models had gotten the update, but I forgot that this phone came out in other countries previously ( -_- ). So I suppose you just have to wait a few more days/weeks and hopefully you get the update.
4K2K said:
I got it working by adding qemu.hw.mainkeys=0 on build.prop.
From there, I got physical buttons to not work by modifying synaptics_dsx.kl file in /System/USR/KEYLAYOUT.
You simply put # in front of all the listed entries (e.g., # key 158 BACK VIRTUAL.)
From there, I also disabled button back light by modifying an another system file. I forgot which file it is.
After those three steps, it is as if it came with soft keys without physical buttons.
Click to expand...
Click to collapse
DANG...WORK FOR ME, US VERSION CONVERTED TO CHINESE AND whammmmm.:good:
THANKS A LOT.
johnkchiu said:
Has anyone figured out how to turn on on-screen buttons instead of using the capacitive/physical buttons? In the control center, there's option to turn on "virtual button" and it allows you to disable the capacitive/physical buttons, but nothing shows up on the screen.
Click to expand...
Click to collapse
Like this?
Install SimpleControl
OR you can Flash CM13 rom they have option for on screen navigation key and disable the hardware one, or you can keep the hardware as stock rom.
This rom I was using it I found it best CM13 rom by far: CM13 LEX720 by Team Superluminal
Nova Launcher also can show the software buttons
Tonnex said:
Nova Launcher also can show the software buttons
Click to expand...
Click to collapse
Where is the option in Nova Launcher? I can't find it.
4K2K said:
I got it working by adding qemu.hw.mainkeys=0 on build.prop.
From there, I got physical buttons to not work by modifying synaptics_dsx.kl file in /System/USR/KEYLAYOUT.
You simply put # in front of all the listed entries (e.g., # key 158 BACK VIRTUAL.)
From there, I also disabled button back light by modifying an another system file. I forgot which file it is.
After those three steps, it is as if it came with soft keys without physical buttons.
Click to expand...
Click to collapse
so far this worked, did you remember what file the backlight keys are controlled by?
Klara Kaiser said:
Please remember, I'd like to extend the button backlight time
Click to expand...
Click to collapse
There isn't a file. He said "he cant remember" because he is lying
The backlight controls are driven by two files in /sys/class/leds/button-backlight. Files in the /sys folder are pseudo files created at runtime from the kernal. You would need to mod the kernal to permanently turn the lights off.

Does anyone have the same problem?

I am using cm 14.1 and have updated to the newest version, but there's a problem. I have already turned off "Ambient display" ,but the screen has been waking up occasionally. Need some help.
Try this
Go to Display->Ambient Display
Now toggle Overwrite defaults
Then turn off "Pick up sensor trigger", and "Notification trigger"
?
I'll try it
TnT_ said:
Try this
Go to Display->Ambient Display
Now toggle Overwrite defaults
Then turn off "Pick up sensor trigger", and "Notification trigger"
?
Click to expand...
Click to collapse
How can I turn off "Pick up sensor trigger", and "Notification trigger"? Where can I find this option?
Tracy33 said:
How can I turn off "Pick up sensor trigger", and "Notification trigger"? Where can I find this option?
Click to expand...
Click to collapse
On PureNexus it has that option, sorry thought it was a stock option.
Tracy33 said:
I am using cm 14.1 and have updated to the newest version, but there's a problem. I have already turned off "Ambient display" ,but the screen has been waking up occasionally. Need some help.
Click to expand...
Click to collapse
Go to gestures in settings. Turn off quickly check your notifications .
thank you
garnet&gold said:
Go to gestures in settings. Turn off quickly check your notifications .
Click to expand...
Click to collapse
I can't find gestures on cm14.1, but I did search it in settings and have turned it off.
TnT_ said:
On PureNexus it has that option, sorry thought it was a stock option.
Click to expand...
Click to collapse
I have turned it off by searching gestures in settings.

Help me deactivate Ambient display via root (The menu is not working)

Hi,
I already turned off the Ambient Display in Display settings, but when I get notifications, it still lights up and activates the screen periodically. I'm on December 1st 2017 security patch.
Anyone have the same issue?
If you guys have the same issue, please vote my report in MI forums, so they can take the action when there is enough attention. VOTE HERE
I do have same issue. With the option off the screen still powers on when a notification arrives. Did you found any fix?
Try to run this shell command using root access
Code:
settings put secure doze_enabled 0
mnirun said:
Try to run this shell command using root access
Code:
settings put secure doze_enabled 0
Click to expand...
Click to collapse
oh.. not going to disable doze. doesn't disabling it affect negatively the battery?
luminoso said:
oh.. not going to disable doze. doesn't disabling it affect negatively the battery?
Click to expand...
Click to collapse
It's only turn off screen ambient mode. I'm using command line from AOSP source code. You can verify this code from here DeviceSetup.java

Categories

Resources