ROM with pocket detection? - T-Mobile Samsung Galaxy S 5

My GS5 keeps waking up in my pocket...I'm assuming that it is because the home button is being pressed. Is there a ROM out there that has pocket detection so that it won't wake up if it's in your pocket?
mm0

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I currently have alliance rom v2 installed.
This is located under settings, custom settings, lock screen mods.
Also, I believe wanam x posed can do it, I'm not sure though.

Get this from Google Play.
https://play.google.com/store/apps/details?id=com.uzumapps.wakelockdetector

em0ney14 said:
I currently have alliance rom v2 installed.
This is located under settings, custom settings, lock screen mods.
Also, I believe wanam x posed can do it, I'm not sure though.
Click to expand...
Click to collapse
Thanks...just installed...so far, so good!

So I installed that ROM, and Faux123's kernel, and it appears to be working great. I wish there was true pocket detection so I didn't have to disable the home button wake, but this will work for now.

Some lock screen apps e.g. Dynamic notifications pro can be configured to do what you want. They monitor the proximity sensor to know when you pull the phone out of your pocket.
.

muzicman0 said:
So I installed that ROM, and Faux123's kernel, and it appears to be working great. I wish there was true pocket detection so I didn't have to disable the home button wake, but this will work for now.
Click to expand...
Click to collapse
fffft said:
Some lock screen apps e.g. Dynamic notifications pro can be configured to do what you want. They monitor the proximity sensor to know when you pull the phone out of your pocket.
.
Click to expand...
Click to collapse
The problem with that tho is it polls the sensor, which drains battery. The air wake feature of our device checks the orientation of the device. I would like to change it so it works on all orientations so when removed from pocket it would wake. That would be the perfect setup.
Sent from my SM-G900T using Tapatalk

elesbb said:
The problem with that tho is it polls the sensor, which drains battery. The air wake feature of our device checks the orientation of the device. I would like to change it so it works on all orientations so when removed from pocket it would wake. That would be the perfect setup.
Click to expand...
Click to collapse
You quoted multiple people who had disparate solutions. Speaking only for myself, I was talking about a lock screen app, not a ROM. And it can be configured to do what you are wishing for. Block accidental use of the home button when locked. Realize when it is pulled from a pocket and wake up.
And it satisfies your newly expressed requirement as well; namely that it is not harsh on battery life. If you search my post history, I even quantified the battery use for that app.
.

fffft said:
You quoted multiple people who had disparate solutions. Speaking only for myself, I was talking about a lock screen app, not a ROM. And it can be configured to do what you are wishing for. Block accidental use of the home button when locked. Realize when it is pulled from a pocket and wake up.
And it satisfies your newly expressed requirement as well; namely that it is not harsh on battery life. If you search my post history, I even quantified the battery use for that app.
.
Click to expand...
Click to collapse
Its still using more battery then the system framework can. Therefore its harsh on the battery for people who wish to get 18+ hours on battery. I make apps. I know how to read proximity sensor values. and you need to keep the device awake in order to do it. Maybe using root it would be different.
Anyhow, i was nowhere bashing any app. I was simply stating that instead of replacing your entire lockscreen, you could hack into the already existing code and make it ignore the orientation of the device to achieve what the OP is after.

Nothing you said refutes my comments or their conclusion. So we'll just have to disagree on the subject.

Related

Tilt sensor is really screwing up

So the phone is randomly rotating 90 degrees for no reason. Some times it cooperates, sometimes it's just spazzing out tilting back and forth rapidly, or refusing to go back to portrait at all. It's all over the place.
I am rooted and running busybox. Is there a module or any kind of app that I can use to assign a quick 90 degree rotate button to? Not an annoying drop down menu or anything that requires multiple presses. I'd love to just use a button in the digital navigation bar that would immediately rotate. I cant find any such function though.
Mozgus said:
So the phone is randomly rotating 90 degrees for no reason. Some times it cooperates, sometimes it's just spazzing out tilting back and forth rapidly, or refusing to go back to portrait at all. It's all over the place.
I am rooted and running busybox. Is there a module or any kind of app that I can use to assign a quick 90 degree rotate button to? Not an annoying drop down menu or anything that requires multiple presses. I'd love to just use a button in the digital navigation bar that would immediately rotate. I cant find any such function though.
Click to expand...
Click to collapse
Check out this thread; it may help you. Someone fixed their accelerometer using the app.
Edit: If that doesn't work, I use Xtended NavBar. It adds "pages" to your navigation bar and you can choose which toggles you'd like to have.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I grabbed the app and did the re-calibrate option. We'll see how it goes.
Edit: Nope, if anything it's worse now. Just watched it flip 6 times in a row, while holding it perfectly still.
Nope, sorry Xtended NavBar also doesn't work with this ROM it seems. Maybe it doesn't like the type of NavBar the phone uses.
Mozgus said:
Nope, sorry Xtended NavBar also doesn't work with this ROM it seems. Maybe it doesn't like the type of NavBar the phone uses.
Click to expand...
Click to collapse
Really? That's odd. That screenshot above is of my HAM2.
Sent from my MT2L03 using XDA Free mobile app
Hmm, true. I dont think I did anything wrong. Rebooted and all. GravityBox is able to replace the navbar with lollipop type icons on a black background.
Mozgus said:
Hmm, true. I dont think I did anything wrong. Rebooted and all. GravityBox is able to replace the navbar with lollipop type icons on a black background.
Click to expand...
Click to collapse
Unfortunately, I can't think of anything else except either doing a factory reset or restoring an older backup from when everything was fine.
I am trying this.
https://play.google.com/store/apps/details?id=net.androgames.level&hl=en
And holy hell, at first the bubble was just going in all random directions. Numbers were instantly going from 0 to 25 and such. Just possessed. Calibration and reset did nothing. Then I decided to go to recents, and hit the wipe brush to clear all. Instantly cured the sensor issues. Can a background process somehow be corrupting the sensor? I'm just hoping this is a software issue and not a hardware issue.
Edit: I've also completely uninstalled GravityBox and busybox. Maybe they were an issue. We'll see. If it still happens, I hope I can pinpoint the background app causing the issue by eliminating them one at a time in recent apps.
It turns out that clearing recent apps isn't fixing it after all. I just sat and stared at bubble level while tilting and it literally took 45 full seconds before it suddenly realized it was tilted. Its like the tilt sensor just goes to sleep randomly.
Edit: Ok I'm using this now https://play.google.com/store/apps/details?id=nl.fameit.rotate&hl=en
I set forced landscape and forced portrait modes to two different shortcut actions via the NavBar thanks to GravityBox. It'd be ideal if I could just make only one button that flips between the two modes, but this will do. I also disabled the notification from the rotate app because it was annoying. It seems fine without it.

[Q] Screen lock timeout and force lock with button

I would like to know if there is a way to force user authentication (password, or fingerprint, etc) by pressing a button.
What i mean is that on a blackberry you can press the 'K' key to lock the screen and force the user to have to put in the password to unlock the phone. With Android it seems like the only option is to set it to lock immediately b/c if it is set to anything other than that, hitting the power button will just turn off the screen but not Lock it until that setting reaches the time you set for the lock to occur.
I assume it is not built in and i will need to download an app.
Thanks
Uhh.. Set it to lock immediately?
Oliv3 said:
Uhh.. Set it to lock immediately?
Click to expand...
Click to collapse
That is not what I'm asking! I would like the ability to keep the screen off without it locking right away but have the ability to lock with the power button. There are apps out there but it does not appear there is an option to do this natively.
Oh... But why, I'm curious.
Very simple, i don't want to have to keep scanning my fingerprint when my phone is being charged on wireless charger after the screen times out. It is very convenient to lock the phone with a simple press of a button like blackberry. If you treat it like a business phone you will understand, but I'm coming from a blackberry so it is a very useful feature for me.
arf8 said:
Very simple, i don't want to have to keep scanning my fingerprint when my phone is being charged on wireless charger after the screen times out. It is very convenient to lock the phone with a simple press of a button like blackberry. If you treat it like a business phone you will understand, but I'm coming from a blackberry so it is a very useful feature for me.
Click to expand...
Click to collapse
Enable the developer options by mashing the build number field in about device, then in dev options check the box to keep screen awake while charging.
blackangst said:
Enable the developer options by mashing the build number field in about device, then in dev options check the box to keep screen awake while charging.
Click to expand...
Click to collapse
That is not the issue. Plus why would I want the screen on all the time. The problem is that the feature exists. However for what ever reason ATT disabled the option and lumped it together with turn off screen immediately. If i can figure out which CSC will turn this on it would be great but I don't know if it is a CSC option
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I gave you a solution based on what you said you wanted: " i don't want to have to keep scanning my fingerprint when my phone is being charged on wireless charger after the screen times out."
Im sorry if its not exactly what you were looking for, but it IS a solution.
I think the two things you want are mutually exclusive. The only way to have what you need is use smart unlock. Otherwise, the phone either locks or it doesn't.
blackangst said:
I gave you a solution based on what you said you wanted: " i don't want to have to keep scanning my fingerprint when my phone is being charged on wireless charger after the screen times out."
Im sorry if its not exactly what you were looking for, but it IS a solution.
Click to expand...
Click to collapse
I never stated I want the screen on all the time. I simply want the option to lock at will using the power button. I appreciate the suggestion but it is not what I asked for and I'm familiar with the development options.
Still would be nice if there is a way to turn this on via a CSC option. still digging
Oliv3 said:
I think the two things you want are mutually exclusive. The only way to have what you need is use smart unlock. Otherwise, the phone either locks or it doesn't.
Click to expand...
Click to collapse
Not exactly, this feature exists, however it is disabled on ATT phones. Looking for a way to enable this via CSC but it may not be possible.

Samsung Galaxy S21 Battery Drain

I stumbled across the below sensor (BSS_InDisplaySensorHelper) being one of the culprits for higher than usual battery drain.
It appears to be the fingerprint sensor displaying on the AOD. To stop the battery drain set show icon when screen is off to never. This appears to drain the battery regardless if you use AOD or not. I'm assuming this would effect all devices across the galaxy s21 range, maybe others can confirm?
You can use gsam battery monitor to check if you have the same issue on your device. https://play.google.com/store/apps/details?id=com.gsamlabs.bbm
Hope this helps others as it worked for me.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
"Fingerprint always on" try turning off...
Or just don't use a lock at all.
I'm the screen lock for my phone... unauthorized access denied, edged weapon protection enabled
blackhawk said:
"Fingerprint always on" try turning off...
Or just don't use a lock at all.
I'm the screen lock for my phone... unauthorized access denied, edged weapon protection enabled
Click to expand...
Click to collapse
Check to see if you have the same drain regardless if you use AOD or not. Possible sensor bug that needs to be corrected by Samsung with an update.
davedes said:
Check to see if you have the same drain regardless if you use AOD or not. Possible sensor bug that needs to be corrected by Samsung with an update.
Click to expand...
Click to collapse
AOD probably is not be the issue. Other apks like Google play Services, Backup Transport, Framework and any other cloud apks will commonly run in the background with the screen off eating globs of power.
Worse, they're aren't always reported correctly ie another apk is actually the perp.
davedes said:
Check to see if you have the same drain regardless if you use AOD or not. Possible sensor bug that needs to be corrected by Samsung with an update.
Click to expand...
Click to collapse
I've noticed the same. This wakelock has always been there. However aod off seems to improve battery drain.
Hi, I have the same problem here except the option to disactivate it is greyed out because of power saving (which means it's either no the cause of the problem or one of the many ways samsung is ****ing with the user with contradictory options)
davedes said:
Check to see if you have the same drain regardless if you use AOD or not. Possible sensor bug that needs to be corrected by Samsung with an update.
Click to expand...
Click to collapse
I never have used the fingerprint sensor or screen lock on either of my Note 10+'s.
Not even tested it.
The amount of potential trouble it could cause is epic with nothing to gain.
Double tap on/off
If this is the cause the work around is simple, turn it off. I can almost guarentee you that isn't the only app running in the background though.
It may not be the worst offender.
Also keep in mind app usage is sometimes misreported by the phone.
I just bought my S21 (exynos) 1 week ago. One UI 4.0 installation was a clean one. My friend bought an S21 FE (exynos too) at the same time.
I have a battery drain problem. He has not. I know these are not the same phones but not so different though. He can get 7-8 hours of SOT but I can get 4-5 hours most.
Here's my latest graphs (in turkish but I'm sure you'll understand):
https://imgur.com/a/aG0gWoT
Is this a normal draining? I performed any tricks that I found in the internet. But nothing changes. Now I'm using BBS to get the issue but nothing is unordinary.

Question Is there a way to enable double tap to wake screen option?

I miss this option from all my older phones.
Specially when the screen is so big and power button is placed higher, this should have been a must feature.
This if it works with Android 11/12...
blackhawk said:
This if it works with Android 11/12...
Click to expand...
Click to collapse
Didn't work. Tried several such apps. Do you know if rooting will help?
aniketk1 said:
Didn't work. Tried several such apps. Do you know if rooting will help?
Click to expand...
Click to collapse
The problem is probably Android 11/12, it works with 10.
Make sure it has needed permissions in accessibility.
Not sure how that's set up on your phone, this is a Samsung:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
blackhawk said:
The problem is probably Android 11/12, it works with 10.
Make sure it has needed permissions in accessibility.
Not sure how that's set up on your phone, this is a Samsung:
View attachment 5557861View attachment 5557863
Click to expand...
Click to collapse
No issues with the permissions. I granted them all. I guess Android 12 doesn't allow it.
aniketk1 said:
No issues with the permissions. I granted them all. I guess Android 12 doesn't allow it.
Click to expand...
Click to collapse
12 is known to be a pain. Many have rolled back to 11. You can try Playstore to see if an updated version is available that would work. Scoped storage is a mess.
One of the reasons I bought a second new N10+ a few months ago was to avoid being forced to use Android 11/12.
Also a factor was Samsung's newest flagships suck.
Even it's under Lenovo, Moto phones don't support double tap to wake like Lenovo tablets do.
Tap and swipe is only workaround (you can enable peek display)
Using this app currently fir double tap to sleep. Works mostly. Sometimes it fails
I honestly don't understand how Moto can get rid of such a basic feature and replace it with an inferior 'peek display' option that doesn't even let you disable motion sensing, thereby making the phone light up at the slightest of movements. I was hoping that Moto Edge 30 Pro would have an option to address this but it doesn't seem to be the case.
In the meanwhile, here's an app that will at least light up your phone when there are new notifications without peek display enabled: https://play.google.com/store/apps/details?id=de.nullgrad.glimpse&hl=en_IN&gl=US
Instead of double tap, you can enable tap to wake up with single tap in moto gestures.
PAVAN DILEEP said:
Instead of double tap, you can enable tap to wake up with single tap in moto gestures.
Click to expand...
Click to collapse
Is there any way to prevent accidental touch turn ons using that?
Even double tapp occasionally triggers them...
Open moto app. Go to display settings and turn off peek display
use this app
Double Tap Screen On and Off - - Apps on Google Play
Double Tap Screen On and Off for double tap screen lock & On, Shake Screen Lock
play.google.com
ustawienia, gesty, ekran budzenia

Question Loving this phone and aodNotify, what other Apps do people use to enhance the phone experience?

Long story short, coming from a long time Huawei fanboy but now have an S23 Ultra. From a thread on here I’ve discovered aodNotify and love it. That got me thinking, what other apps do people consider essential to enhance the phone experience?
Dynamic island same dev as aod notify
spart0n said:
Dynamic island same dev as aod notify
Click to expand...
Click to collapse
Together with aodNotify?
gnasher666 said:
Together with aodNotify?
Click to expand...
Click to collapse
Yes
And hex themes for samsung and galaxy maxhz
I love Energy Ring: Universal Edition:
Energy Ring: Universal Edition - Apps on Google Play
Battery, Cam/Mic/GPS Access indicator around your punch-hole camera lens!
play.google.com
This lets you put a battery ring around the camera punch hole to make it useful. It also allows me to clear up my notification area and not have battery Icon/percentage there.
I just think it looks cleaner:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Talderon said:
I love Energy Ring: Universal Edition:
Energy Ring: Universal Edition - Apps on Google Play
Battery, Cam/Mic/GPS Access indicator around your punch-hole camera lens!
play.google.com
This lets you put a battery ring around the camera punch hole to make it useful. It also allows me to clear up my notification area and not have battery Icon/percentage there.
I just think it looks cleaner:
View attachment 5845927
Click to expand...
Click to collapse
Just tried it, can’t get it to align on my S23 Ultra
Also, in case anyone is wondering, you can remove most of the icons on the Status bar:
Install Good Lock: https://apps.samsung.com/appquery/appDetail.as?appId=com.samsung.android.goodlock
Launch Good Lock and install QuickStar
Enable Quick Star
Tap Visibility of Indicator Icons
Select the Battery Slider to disable it (as well as any others you want)
gnasher666 said:
Just tried it, can’t get it to align on my S23 Ultra
Click to expand...
Click to collapse
Force Stope app, Clear Cache and Data to reset everything.
Restart the App, be sure to ENABLE Accessibility access
You should see a screen that allows you to align it:
Talderon said:
Force Stope app, Clear Cache and Data to reset everything.
Restart the App, be sure to ENABLE Accessibility access
You should see a screen that allows you to align it:
Click to expand...
Click to collapse
The sliders seem to adjust the size and not position.
gnasher666 said:
The sliders seem to adjust the size and not position.
Click to expand...
Click to collapse
Not sure what to say here... I followed my instructions and was able to position it just fine.
One thing I can say is if you message the Dev, he's very responsive (he's even here on XDA (https://forum.xda-developers.com/m/jagan2.1884109/)) so you can message him and see if there is something he can help with.
I'll keep poking around and see if there was anything else I can think of that I did. I'll uninstall and reinstall to see if that can replicate what you are seeing and what I did to fix it.
Found the issue, my screen resolution is set to FHD+ and not WQHD+
If I change it to WQHD+ it's fine. I'll inform the dev.
Cheers.
Talderon said:
Not sure what to say here... I followed my instructions and was able to position it just fine.
One thing I can say is if you message the Dev, he's very responsive (he's even here on XDA (https://forum.xda-developers.com/m/jagan2.1884109/)) so you can message him and see if there is something he can help with.
I'll keep poking around and see if there was anything else I can think of that I did. I'll uninstall and reinstall to see if that can replicate what you are seeing and what I did to fix it.
Click to expand...
Click to collapse

Categories

Resources