Lollipop proximity sensoriale bug - Xperia Z2 General

I upgraded my z2 to Lollipop.
Now my proximity sensor stopped working.
Abu advice to fix it?
Sent from my D6503 using XDA Free mobile app

First thing I would try is do factory reset if you haven't done that already
Sent from my D6503

No way even with factory reset...
Sent from my D6503 using XDA Free mobile app

podon81 said:
No way even with factory reset...
Sent from my D6503 using XDA Free mobile app
Click to expand...
Click to collapse
Try reflashing the rom, preferrably a newly downloaded version in case errors crept in there, then try it before restoring any data / apps or even linking your google account. Yours is the first complaint i've seen of this type.

ghostofcain said:
Try reflashing the rom, preferrably a newly downloaded version in case errors crept in there, then try it before restoring any data / apps or even linking your google account. Yours is the first complaint i've seen of this type.
Click to expand...
Click to collapse
Same problem
Sent from my SM-N910F using XDA Free mobile app
---------- Post added at 11:22 AM ---------- Previous post was at 11:10 AM ----------
Try this (it didnt help me)
Originally Posted by ardeban
Step by step:
1 open a terminal session, type "su" ro grant root permissions
2 type cd /sys/devices/virtual/sensors/proximity_sensor/
3 with the sensor uncovered type "cat state" and write down the value (43 in my case)
4 type "cat prox_cal" and write down the first value (this is the offset), in my case it was 201
5 sum both values, in my case it was 244
6 Convert it to hex (http://www.disfrutalasmatematicas.co...conversor.html), in my case, F4
7 type "echo -en $'\xF4' > /efs/prox_cal", instead of F4, put your value
8 type "chown system:system /efs/prox_cal"
9 type "chmod 644 /efs/prox_cal"
10 type "sync"
11 type "reboot"
And that's all, we've increased the value and this survives even a reboot.
BR!
Sent from my SM-N910F using XDA Free mobile app

A simple way that worked for me was to on-off the NFC, on-off dt2w, and reboot. Everything is now fine.

bluheart said:
A simple way that worked for me was to on-off the NFC, on-off dt2w, and reboot. Everything is now fine.
Click to expand...
Click to collapse
How and where?
Sent from my SM-N910F using XDA Free mobile app

help me
Same problem in last update to lollipop firmware. 28

bluheart said:
A simple way that worked for me was to on-off the NFC, on-off dt2w, and reboot. Everything is now fine.
Click to expand...
Click to collapse
Perfect

bluheart said:
A simple way that worked for me was to on-off the NFC, on-off dt2w, and reboot. Everything is now fine.
Click to expand...
Click to collapse
What that's mining (on-off dt2w)

remo1_2020 said:
What that's mining (on-off dt2w)
Click to expand...
Click to collapse
double tap to wake up in Display settings.

remo1_2020 said:
What that's mining (on-off dt2w)
Click to expand...
Click to collapse
I do everything and the sensor still off what should I do now

nomaj said:
double tap to wake up in Display settings.
Click to expand...
Click to collapse
I do everything and the sensor still off what should I do now

Related

Pnc bank app not working after update

Hi. I use this app quite frequently and after updating last night it seems to have stoped working. When I start it the screen just goes white. Is it possible that the art update caused this?
Sent from my MB860 using XDA App
That "App" is just a link to the mobile site https://m.pnc.com try going there from your browser.
cla2000 said:
Is it possible that the art update caused this
Click to expand...
Click to collapse
Using reason and logic. Then Yes!
Thx for the reply. I seen the mobile site is identical. I just liked than when using the app and trying to close it it would actually ask if u want to do that and then it would close completly. The stupid phone browser allways stays on in the background.
Sent from my MB860 using XDA App
Gotcha, I use Dolphin HD, so when I hold down the "back" button on the phone it asks me if i want to exit and gives options to clear cache and recent history. 2c
It appears all the banking apps have the same problem after the update. The Bank of America app does exactly the same thing. Maybe it's a security thing.

Disable slide to unlock ?!

Is there any way to disable the slide to unlock feature and just have the pattern unlock ?
Also in this boat, searching leads to several threads like this
Yes you need to uncheck the auto launch of the play app.
I don't recall where I seen it.
I'll post when I find it.
Open the play app, push the menu button and select settings.
Then uncheck auto start.
Forget what I said.
I thout you meant when you slid the screen and not the slide bar on the screen.
There is no way that I have found.
Settings / location and security / setup screenlock
Sent from my R800x using XDA Premium App
fenix4o9 said:
Settings / location and security / setup screenlock
Sent from my R800x using XDA Premium App
Click to expand...
Click to collapse
That's where we go to set the pattern unlock, what we want to know is how to remove the slide to unlock that comes up before the pattern unlock
This needs a bump, so here it is. I'm in this boat all of a sudden because my employer enforces an entry code for devices for a corporate account. I'm getting really unhappy having to slide, enter pin every time !
Try the app "antilock"
Its free on the market and does exactly what you want, I believe. I use it myself so I don't need to slide twice as I use widgetlocker
Hope this helps!
works like a charm!
Uninstalling, sometime after turning the app on my phone started to act "funny" or erratic... After uninstall everything seems to be normal again.
Sent from my R800a using XDA App
hexen2006 said:
Uninstalling, sometime after turning the app on my phone started to act "funny" or erratic... After uninstall everything seems to be normal again.
Sent from my R800a using XDA App
Click to expand...
Click to collapse
Mine too, It started flickering like mad and asked me for the code over and over.

[6.22.11] The BAMF Sense 3.0 GB Rom "How-To" Recap Q&A Buglist/Fix Thread

[6.22.11] The BAMF Sense 3.0 GB Rom "How-To" Recap Q&A Buglist/Fix Thread
First and Foremost, this is ALL Thanks The CREATORS, Butch & Erin for this great Rom. You can find the rom in their closed thread. Please direct all of your questions and follow through to THIS thread in efforts to cut down the questions. I will randomly be updating the OP to help out and give as much help as I can.
RECAP!
CLICK LINK FOR THE ORIGINAL POST TO FIND THE ROM!
[6.21.11][ROM] BAMF Sense 3.0 GB RC1 - NEW FAST LINKS
http://forum.xda-developers.com/showthread.php?t=1134709
What's the difference Between Preview 5 and This?: The Toolkit. Now stop asking.
Should I do a full Wipe?
Click to expand...
Click to collapse
Yes, it's a full ROM and you would want to full wipe to install
How to Boot Into Bootloader
Click to expand...
Click to collapse
Turn your phone off. Hold the volume down button. Power the phone on while still holding down. Presto. Hboot. Now choose bootloader and flash your radio. Or just select "Bootloader" from Restart menu.
Timestamp Fix: There's an App in the market called SMS Time Fix that should take care of the time stamp problems. Try sending an MMS message a second time, the first time I tried I had a FC then I tried again and it now it works every time.
Latest Dream Kernal: http://forum.xda-developers.com/showthread.php?t=1099996
Link To Previous Kernals: http://forum.xda-developers.com/show....php?t=1086518
Recommended Radio: http://forum.xda-developers.com/show...ight=mr2+radio
Market Apps Not Showing Installed in Android Market After Titanium Backup
Click to expand...
Click to collapse
Clear Cache in Settings > Application > Market.
Skins: Coming Soon
CAMERA WOES:
HDR & Panorama Camera: http://forum.xda-developers.com/showpost.php?p=14959094&postcount=318
The Camera from P4 seems to work, even in Panoramic. Try it. They are attempting to fix the front camera now. Be patient. If u take off wide screen the ffc [Front Facing Camera], works. Confirmed.
Camera Alternatives:
#1: http://www.multiupload.com/P46J6JMWES
#2: http://forum.xda-developers.com/showpost.php?p=14960502&postcount=1746
How to INSTALL Camera:
1) Download apk to sd card
2) Use Root Explorer and copy it to system\app
3) Rename existing HTCCamera.apk to HTCCamera.bak
4) Rename the new camera to HTCCamera.apk
5) Long press on new HTCCamera.apk and click permissions
6) Set permissions to Owner RW/Group R/Others R
7) Reboot!
8) Head to settings/applications and clear data from camera (this will fix FFC FC)
Link for People asking about the Transparent Bar:
http://newlyme.net/bamf/BAMF Sense...bar-Signal.zip
Flashing 'Recent Apps.zip" will replace your "CLEAR ALL" button at the bottom of your notifications bar, and put it back in the left corner. Beware.
Battery Mods & Such: Coming Soon.
Shortcuts Not working?:
Click to expand...
Click to collapse
Patch coming soon.
Can We Have 5-6 Signal Bars?
Click to expand...
Click to collapse
Most of us have FOUR bar signals, not 6.
Stock Boot Launcher: [Waiting for uploaded link]
The following patches from the GB Remix are working w/o Error:
- volume no wake
- Skinned black dialer
The Flashlight app should work fine.
Part Two Bugs & Fixes!
Anyone's weather widget reading off odd temp rreadings? Its like 80 degrees in NJ right now and my weather widget is reading in the 30s aall week even after refreshing.
Click to expand...
Click to collapse
Change it to fahrenheit it's set to celcius
BROKEN MMS? Courtesy Of bp328i: http://forum.xda-developers.com/showpost.php?p=14977238&postcount=25
Reserved Here #2​
Edit. I understand this was planned.
Hey guys I have a question I have the ffc working after unchecking widescreen. My question is when i click the installed mirror app the camera doesn't show anything
Sent from my ADR6400L using XDA App
tcfrombn said:
Don't know if reposting their rom is a good idea. A support thread, sure, in General.
Click to expand...
Click to collapse
Not a repost of their Rom by any means. No link of their rom outside of their original post.
ipawd1 said:
Not a repost of their Rom by any means. No link of their rom outside of their original post.
Click to expand...
Click to collapse
Fair enough sir.
BlackHoleSlam said:
Hey guys I have a question I have the ffc working after unchecking widescreen. My question is when i click the installed mirror app the camera doesn't show anything
Sent from my ADR6400L using XDA App
Click to expand...
Click to collapse
Clear cache in Settings, Application, then reboot. You should be fine.
The one built in is not in application part I looked under all mirror and I keep getting fc on widgetsoid
Sent from my ADR6400L using XDA App
BlackHoleSlam said:
The one built in is not in application part I looked under all mirror and I keep getting fc on widgetsoid
Sent from my ADR6400L using XDA App
Click to expand...
Click to collapse
Did you follow all of the instructions correctly?
Look In OP in this thread. Pick a camera link. Now once you've done so:
1) Download apk to sd card
2) Use Root Explorer and copy it to system\app
3) Rename existing HTCCamera.apk to HTCCamera.bak
4) Rename the new camera to HTCCamera.apk
5) Long press on new HTCCamera.apk and click permissions
6) Set permissions to Owner RW/Group R/Others R
7) Reboot!
8) Head to settings/applications and clear data from camera (this will fix FFC FC)
As far as widgetsoid, I cannot help you. But there are Quick settings in the notifications bar. Save your phone some space, and delete Widgetsoid.
I got widgetsoid working and the camera I am using is the one that comes with the ROM I dowloaded another but turning off wide screen made it work but mirror is unable to notice it so my best course of action is switch camera's
Sent from my ADR6400L using XDA App
Does anyone know what the htc keyboard is called in system app? i went to send a email and noticed i no longer have a keyboard i would like to rip one out of the zip but i dont know what its called
Man so many issues and I don't have one. Anyone need help let me know too. If its within my I abilities and not already cover I will be glad to assist.
Sent from my ADR6400L using XDA Premium App
jdphilly said:
Does anyone know what the htc keyboard is called in system app? i went to send a email and noticed i no longer have a keyboard i would like to rip one out of the zip but i dont know what its called
Click to expand...
Click to collapse
Htc_ime
Sent from my ADR6400L using XDA Premium App
I am having issues with getting the native swipe function working on the HTC IME KB. I went into Keyboard settings and enable trace function and selected black trace color.
Is anyone having the issue?
dapbmonkey4u said:
I am having issues with getting the native swipe function working on the HTC IME KB. I went into Keyboard settings and enable trace function and selected black trace color.
Is anyone having the issue?
Click to expand...
Click to collapse
Did you try wiping data and re enabling it?
Sent from my ADR6400L using XDA Premium App
Are the camera posted the sense 3.0 cameras ?
Sent from my bamf Thunderbolt using XDA App
Follow me on Twitter @mallen462
dapbmonkey4u said:
I am having issues with getting the native swipe function working on the HTC IME KB. I went into Keyboard settings and enable trace function and selected black trace color.
Is anyone having the issue?
Click to expand...
Click to collapse
I had the issue you have to go into settings and actually enable it. Crazy right?
I'm having an issue with Messages forcing close
as well as the phone being overall slow as hell. I'm going to uninstall some thigns to see if maybe that could be the case.. Put literally.. Preview 5, without the toolkit seemed to treat me a lil bit better.
I have not, but I will try now.
mallen462 said:
Edit_removed post
Sent from my bamf Thunderbolt using XDA App
Follow me on Twitter @mallen462
Click to expand...
Click to collapse
Original Post dude. Pay attention.

Proximity Sensor Does NOT work since latest OTA!!!

So the proximity sensor completely stopped working sibce I upgraded to Gingerbread. Well the little red light still comes on but when I put the phone to my face while in a call I expect the screen to automatically turn off but I forget that it no longer works so I end up pressing buttons while talking. If anyone else is experiencing the same issue, or if there are any known fixes someone PLEASE help. Other than that I still really like Gingerbread.
Sent from my MB860 using XDA Premium App
Sadly I don't have any help for you as I am limited in my knowledge...However, I used Kenn's 2.3.4 beta ROM a couple weeks ago or whatever, and I ALSO have noticed that the sensor doesn't seem to work properly. It works right most of the time for me (dunno about you), but there have been times where it screws up. Kind of lame, but I'm sure this is fixable if other people experience the same issue and someone is willing to fix.
Try fix permissions
I am also experiencing this same issue, worked before but not now. I have already fixed permissions...
Sent from my MB860 using XDA Premium App
Well its rly good to kno that im not the only person experiencing this problem. Hopefully someone or Motorola will fix this issue soon. Its actually quite annoying..
Sent from my MB860 using XDA Premium App
My nexus one had a flaky proximity sensor
workaround: turn off the screen with the power button when answering call
annoying but works
wintermute000 said:
My nexus one had a flaky proximity sensor
workaround: turn off the screen with the power button when answering call
annoying but works
Click to expand...
Click to collapse
Lol yes of course. Guess ill just live without that minor luxury for the time being. Reminds me of my original HTC Touch. (KICKIN' IT OLD SCHOOL) lol.
Sent from my MB860 using XDA Premium App
wintermute000 said:
My nexus one had a flaky proximity sensor
workaround: turn off the screen with the power button when answering call
annoying but works
Click to expand...
Click to collapse
Yes but since the phone has the sensor I'd rather not have to hit the power button every time I start a phone call. Then I have to hit the power button again to get to the dialer or other apps. Hence inconvenient.
Sent from my MB860 using XDA Premium App
edit your build.prop and set proximity time to like 200 and distance to 20.
dLo GSR said:
edit your build.prop and set proximity time to like 200 and distance to 20.
Click to expand...
Click to collapse
Exactly how? Please? Not a noob but definitely not that advanced yet. Im quite tech savy so fire away.
Sent from my MB860 using XDA Premium App
Install Proximity Sensor Finder app to do some test.... my work like charm with the new GB 2.3.4/4.5.91
mramirezusa said:
Install Proximity Sensor Finder app to do some test.... my work like charm with the new GB 2.3.4/4.5.91
Click to expand...
Click to collapse
Did that nothing happened. Tried everything!! Need to know how to change build.prop as mentioned in a few posts above.
Sent from my MB860 using XDA Premium App
cwburns32 said:
Did that nothing happened. Tried everything!! Need to know how to change build.prop as mentioned in a few posts above.
Sent from my MB860 using XDA Premium App
Click to expand...
Click to collapse
get root explorer, open up build.prop in system and change those values
Not sure......mine works perfect now since the update........before the update, it was spotty at best......
dLo GSR said:
get root explorer, open up build.prop in system and change those values
Click to expand...
Click to collapse
I have root explorer and know where build.prop is located but can't seem to edit the build.prop. how do I got about doing this??
I found the proximity sensor settings in the build.prop and both are disabled??
Sent from my MB860 using XDA Premium App
I had same problem and found another solution online: remove battery.
I was shocked it was that simple, but I did it yesterday and the proximity sensor worked great all day today. Crossing my fingers that it will stay that way.
tlphipps said:
I had same problem and found another solution online: remove battery.
I was shocked it was that simple, but I did it yesterday and the proximity sensor worked great all day today. Crossing my fingers that it will stay that way.
Click to expand...
Click to collapse
I pull my battery often, my sensor stopped working shortly after I flashed Gingerblur a few months back...hmmmm
Someone out there please tell me how to edit the info in the build.prop. I see where my proximity sensor is at and both sections are labeled as disabled. Need to know how to edit so I can get it working again!!
I use root explorer. open build prop. make it r/w at the top. Hold finger on screen to open menu. scroll down to open in text editor.
edit: my current settings are below. and my sensor does not turn of screen. I think mine stopped working on the 1.5.7 update. hasn't work since.
proximit sensor screen off delay
mot.proximity.delay=450
proximit sesor disable touch distance
mot.proximity.distance=60
mrphil101 said:
I use root explorer. open build prop. make it r/w at the top. Hold finger on screen to open menu. scroll down to open in text editor.
Click to expand...
Click to collapse
I figured out I could do this but also downloaded PropEditor which allows you to edit and .prop on your device.
After changing numbers, still nothing....
cwburns32 said:
I figured out I could do this but also downloaded PropEditor which allows you to edit and .prop on your device.
After changing numbers, still nothing....
Click to expand...
Click to collapse
what numbers did you change it to? for me 200 & 20 worked.
edit: also don't forget to reboot after

immersive mode - active edge (and remapping) still works on lockscreen

Thought this might help some people get a little extra use out of a Pixel 2 feature: I'm using Custom Quick Settings to hide the nav bar and of course active edge stopped working, but I noticed it still functioned on the lockscreen. Squeeze-launching the assistant from the lockscreen is pointless to me because I still have to fingerprint- or pattern-unlock my phone before it will tell me anything, but I installed Button Mapper and although there's some warning in its description about not working while the phone is off, it does actually detect squeezes on both the ambient display screen and lockscreen.
I now have squeeze set up to toggle flashlight, since that's something I almost always need to do when the phone is locked and toggling it through quick settings is kind of annoying. This way I don't even have to look at the screen. But the point of this post is, if there's any task you want to be able to trigger while your phone is off, you can use squeeze to do that even if you have full-time immersive mode on.
I get permission denied when trying to type the script on my PC using ADB. How did you get around that?
Sent from my Pixel 2 XL using XDA Labs
sharkie405 said:
I get permission denied when trying to type the script on my PC using ADB. How did you get around that?
Sent from my Pixel 2 XL using XDA Labs
Click to expand...
Click to collapse
What script and where? Please!!!
Sent from my Pixel 2 XL using Tapatalk
bryantjopplin said:
What script and where? Please!!!
Sent from my Pixel 2 XL using Tapatalk
Click to expand...
Click to collapse
"Script" was the wrong word to use. When I toggle the "Customize" button to attempt to use Active Edge in the app Button Mapper, it tells me to use my PC and adb to execute this command:
Code:
adb shell sh /data/data/ flar2.homebutton/keyevent.sh
When I attempt to do so, I get "Permission Denied."
I've used adb to allow the Custom Navigation Bar app to make changes and it works just fine with that app.
sharkie405 said:
"Script" was the wrong word to use. When I toggle the "Customize" button to attempt to use Active Edge in the app Button Mapper, it tells me to use my PC and adb to execute this command:
Code:
adb shell sh /data/data/ flar2.homebutton/keyevent.sh
When I attempt to do so, I get "Permission Denied."
I've used adb to allow the Custom Navigation Bar app to make changes and it works just fine with that app.
Click to expand...
Click to collapse
Adb shell only works with root right?
Sent from my Nexus 6 using Tapatalk
EDIT: NEVERMIND I found it.
---------- Post added at 09:41 PM ---------- Previous post was at 09:38 PM ----------
Shell doesnt require root, i believe /data does tho
sharkie405 said:
"Script" was the wrong word to use. When I toggle the "Customize" button to attempt to use Active Edge in the app Button Mapper, it tells me to use my PC and adb to execute this command:
Code:
adb shell sh /data/data/ flar2.homebutton/keyevent.sh
When I attempt to do so, I get "Permission Denied."
I've used adb to allow the Custom Navigation Bar app to make changes and it works just fine with that app.
Click to expand...
Click to collapse
That's what I figured. Which brings me back to how the OP managed to get the Button Mapper app working with active Edge on a not-yet-rootable Pixel 2 XL...?
Sent from my Pixel 2 XL using XDA Labs
Nice find, I can confirm this works. I have mine mapped to turn on the flashlight also, much more useful for me. Never really use it to activate google, especially since with the new "Hey google" hotword its much more natural to say that now.
KHANrad_SIN said:
Nice find, I can confirm this works. I have mine mapped to turn on the flashlight also, much more useful for me. Never really use it to activate google, especially since with the new "Hey google" hotword its much more natural to say that now.
Click to expand...
Click to collapse
How did you get the ADB command to work on your PC? Did it just work for you? See the last two posts above.
Sent from my Pixel 2 XL using XDA Labs
Okay, I think I figured it out. I went into application settings and went into the button mapper permissions and gave it permission for all three. I don't see why that would have to be the case, but after doing that I tried putting in the ADB command again and it worked. Now I have active Edge to turn on and off the flashlight. Sweet!
Sent from my Pixel 2 XL using XDA Labs
sharkie405 said:
Okay, I think I figured it out. I went into application settings and went into the button mapper permissions and gave it permission for all three. I don't see why that would have to be the case, but after doing that I tried putting in the ADB command again and it worked. Now I have active Edge to turn on and off the flashlight. Sweet!
Sent from my Pixel 2 XL using XDA Labs
Click to expand...
Click to collapse
Didn't have permission to access, makes since
Sent from my Nexus 6 using Tapatalk
I'm getting permission denied to when I run The "adb shell sh /data/data/ flar2.homebutton/keyevent.sh" command in ADB. I also went to App Permissions and check all three items: Camera, Phone and Storage. Also went to the Advanced section and allowed App to modify system settings. Still doesn't work. Any help would be appreciated.
JeffBea said:
I'm getting permission denied to when I run The "adb shell sh /data/data/ flar2.homebutton/keyevent.sh" command in ADB. I also went to App Permissions and check all three items: Camera, Phone and Storage. Also went to the Advanced section and allowed App to modify system settings. Still doesn't work. Any help would be appreciated.
Click to expand...
Click to collapse
Remove the spaces between data/flar2 to resolve the permissions denied message. The rest: I can't get it to work either.
enzeem2010 said:
Remove the spaces between data/flar2 to resolve the permissions denied message. The rest: I can't get it to work either.
Click to expand...
Click to collapse
Thanks, that worked.
I can confirm that this does work with phone in lock screen as well. It also works with the phone unlocked.
This works great. Love it!
Ok, figured it out too. I'm averse to allowing Google to follow my everything, so I hesitated at the location tracking permissions needed for Google Assistant, but once I followed through, it finally worked.

Categories

Resources