[Q] JB 4.1 - Developer Options -> Stay Awake disabled? - Samsung Galaxy Nexus

I'm having a really bizarre problem where, even when Developer Options are toggled to On, the Stay Awake option is disabled.
Yesterday, I re-flashed the JB 4.1 rom (Team Vicious v1), and this fixed it, but this morning it became permanently disabled again.
My question is: where in the file system can I find where this flag is toggled? I'm thinking I can go and edit something like a build.props file to enable it manually. Anyone know what file controls Developer Option settings?
EDIT: Found a solution by installing the "Stay Awake" widget from the Play store. Even though the option is still disabled under Settings, I can see that it is checked now when I enable it through the widget.
EIDT2: Even though the widget checked the option, it does not work.
EDIT3: I've finally figured out the root cause of the problem - this is a new "security feature" with exchange accounts in JB. As soon as you accept the security protocol when creating an exchange account, Stay Awake becomes permanently disabled. I've heard mixed feedback on the email apk hack successfully working. So far there does not appear to be a workaround.

mordrukk said:
I'm having a really bizarre problem where, even when Developer Options are toggled to On, the Stay Awake option is disabled.
Yesterday, I re-flashed the JB 4.1 rom (Team Vicious v1), and this fixed it, but this morning it became permanently disabled again.
My question is: where in the file system can I find where this flag is toggled? I'm thinking I can go and edit something like a build.props file to enable it manually. Anyone know what file controls Developer Option settings?
EDIT: Found a solution by installing the "Stay Awake" widget from the Play store. Even though the option is still disabled under Settings, I can see that it is checked now when I enable it through the widget.
EIDT2: Even though the widget checked the option, it does not work.
EDIT3: I've finally figured out the root cause of the problem - this is a new "security feature" with exchange accounts in JB. As soon as you accept the security protocol when creating an exchange account, Stay Awake becomes permanently disabled. I've heard mixed feedback on the email apk hack successfully working. So far there does not appear to be a workaround.
Click to expand...
Click to collapse
mordrukk,
First of all thank you a million for editing your OP and updating as you learned more, huge help! I'm definitely interested if you find more about this. I recently switched from using Touchdown on my device to corporate email and had my "stay awake" option disabled. It's extremely frustrating to be driving listening to music or whatnot and have the screen shut off on me.
I'm having a hard time finding info on the supposed email.apk hack to fix this. Any chance you can share what you know?
EDIT: Dug up the thread myself. I'm having mixed results. It does sync my account without requiring additional lockdown (past installing a client cert and requiring a pattern lock). I can confirm allow wake works now! However, since applying the patch I've had Exchange Services (Exchange2.apk) crash on me several times. This happened most frequently after first syncing the account. I'll re-update after a day or so of use.
The patch was a piece of cake to install (on a Mac). Just requires a bit of adb use.

mordrukk said:
I'm having a really bizarre problem where, even when Developer Options are toggled to On, the Stay Awake option is disabled.
Yesterday, I re-flashed the JB 4.1 rom (Team Vicious v1), and this fixed it, but this morning it became permanently disabled again.
My question is: where in the file system can I find where this flag is toggled? I'm thinking I can go and edit something like a build.props file to enable it manually. Anyone know what file controls Developer Option settings?
EDIT: Found a solution by installing the "Stay Awake" widget from the Play store. Even though the option is still disabled under Settings, I can see that it is checked now when I enable it through the widget.
EIDT2: Even though the widget checked the option, it does not work.
EDIT3: I've finally figured out the root cause of the problem - this is a new "security feature" with exchange accounts in JB. As soon as you accept the security protocol when creating an exchange account, Stay Awake becomes permanently disabled. I've heard mixed feedback on the email apk hack successfully working. So far there does not appear to be a workaround.
Click to expand...
Click to collapse
I got the same problem after installing notes traveller ! One workaround it to install 'screen on ' from pinapps and set it to stay on when charging. It works.

p2im0 said:
mordrukk,
First of all thank you a million for editing your OP and updating as you learned more, huge help! I'm definitely interested if you find more about this. I recently switched from using Touchdown on my device to corporate email and had my "stay awake" option disabled. It's extremely frustrating to be driving listening to music or whatnot and have the screen shut off on me.
I'm having a hard time finding info on the supposed email.apk hack to fix this. Any chance you can share what you know?
EDIT: Dug up the thread myself. I'm having mixed results. It does sync my account without requiring additional lockdown (past installing a client cert and requiring a pattern lock). I can confirm allow wake works now! However, since applying the patch I've had Exchange Services (Exchange2.apk) crash on me several times. This happened most frequently after first syncing the account. I'll re-update after a day or so of use.
The patch was a piece of cake to install (on a Mac). Just requires a bit of adb use.
Click to expand...
Click to collapse
I used this >> http://forum.xda-developers.com/showthread.php?t=1749921 . Works.

Related

Market not working (download won't start) new Evo

Ok,
(Before those that have nothing to do start shouting, I have searched! I spend hours last night looking and time this morning looking. This error is NOT related to a googlemail/gmail switch..it is NOT related to internet connection..it is NOT related to some obscure cache issue [i think]. So now that caveate is out of the way....)
I cannot download anything from the Market. Here is the process as I see it...
- Open Market app from phone
- Find app I want and click download
- Go back to main Market screen and click download tab
- App sits there with a 'starting download process'
Now...if the error is somewhere there...can someone please tell me.
But...a few minutes later I get this...
- Alert noise goes off
- Alert says Google Talk authentication failed
- Go and stop the app in the running apps screen
- Find GTalk app on phone and start it up
- It hangs up on the Talk bubble screen with Signing in swirly thing just going round
- Eventually that alert noise goes off again
So...there seems to have been an issue many months back when UK customers switched from googlemail domains to gmail domains. But I have never had either. I am registered with google and I have one of my personal emails set up on that account. I can log into google, I can use Picasa, I can use the forums, etc.
Now, I already have three different email accounts to keep track of...do not need a fourth. But in a fit of desperation I tried to set up a gmail account last night. After 30 minutes of trying to find a user name I gave up. I do not want to be D.sablesurfer.432456 or whatever stupid azz suggestion it gives.
So...things I am wondering...
Is Google Talk integrated with Market somehow?
Can you just use Market with a regular Google log in?
How do I make google talk work since there appears to be no where on phone to change any settings?
Where is google talk looking on my phone for log in information?
Does this have anything to do with the weird sprint email address that seems to be registered to my phone? (Current username = [email protected]) (Obviously where my name would be my real name.)
Please help, the internet has been wholey useless in showing me an answer to this issue.
Oh...and if I log into google web page from phone...and choose Talk from the more menu...
....I am logged into Talk!!!
Yep, it just pulls right up with no complaints.
Ok, lots of looks no feedback.
I stopped by Sprint today and they say basically that my really old Google log in will not work. They said will need to set up an actual GMail account and replace it on the phone.
HOWEVER....there is NO way to replace it without the factory reset. Seriously? Has the Evo or HTC...or Sprint locked this thing down so much that you can never change accounts?
I changed password online...and the incorrect password screen ONLY lets me change password. The account name is greyed out.
I went into Manage Applications and the only button active is the Force Stop. The Clear Data button doesn't even exist. And after the force stop it still does not exist.
How does this make any sense? Really? People are NEVER going to change accounts? Sounds way too strict to me at moment.
So basically...unless anyone else has an idea...on the Evo (not heros or g1's)...I will have to do the factory reset tonight? This sucks.
Have you tried settings, accounts and sync, click on the google account and hit remove account?
Yup, no go. The default in the Evo seems to be permanently locked in. Well until you do the factory reset. I just posted my findings/tip over on general. This is a pisser for a newbie to android and as a LONG time programmer sucks to be locked in like that.
My market was useless earlier.
the name###@sprintpcs.com is just sprints username for you, it's used for network stuff
I'm having the same issue. tired the google search too ... wish I didn't have to do a hard reset... I hope somebody come up with a fix for this
EDIT:
Here's all that I did. I'm not sure which part fixed the issue.
*I un-synced Gmail (still didn't work)
*I deleted the pop Gmail account I had set up (still didn't work)
*I went into the market, canceled everything that was pending a download, then I re-synced Gmail, and set my pop Gmail account back up and BAM!!!! It worked. (Oh and I restarted after I did all of this)
Hope this helps...
Same problem here, hope someone with great idea can help. I am also struck on my HTC evo
Market still won't downlaod
I'm on JI6,
i have this problem that i cannot get the Market to download.
I didn't see and end to this story, only that it could be a Market problem.
But still i have this issue now for 3 days, i did most of the things in this thread.
nothing works ...
HELP
This happens to everyone.
Go to applications.
Click all applications.
Find market. Click market.
Click, clear cache, and clear data.
Restart.
I'm over that, clear the data of download manager ,and from the Market application, removed the update from the market , wifi on , wifi off .....
Still wont download
Then it's your internet if that does not work.
Check your firewall
what firewall , if i work in 3G ?
I'm having the same problem...I just flashed Myn's 2.2 RL3 and it is no different than it ever was. It's pissing me off. I've tried every solution that I could find.
I was having a similar issue with my Evo running OMJ's 4.5.
On the market.android.com site I would click install, select my phone, and it said my install would start shortly, but it never did. I scoured the net and found a fix that worked for me. Try this:
Menu -> Settings -> Appplicaltions -> Manage Applications
Select the 'All' tab
Scroll down and open 'Google Services Framework' -> Clear Data and Force Stop
Hit back and open 'Market' -> Clear Data, Clear Cache (if available), and Force Stop
Reboot
Open Market. You are going to get an error, be patient and let it sit for a moment and it will come up by itself.
You should be golden after this. Let me know how it works for you.
Why must people resurrect dead threads, do they lack the ability to read, the last post to this thread was in the first week of november, if this was still happening, this would be an active thread.

[Q] set the "lock phone after" setting to more than 15 minutes

Hi!
I have a corporate app installed on my desire, which requires a screen lock with password to be enabled, and i can't seem to find a workaround, so the password stays
The only thing i can think of is to increase the timeout, until the phone gets locked, and i need to insert the password.
And here comes the problem. In my previous ROM, the maximum timeout was 15 minutes, and in my current ROM, there is no such option, to set a timeout, the phone locks right wenn i turn off the screen.(and i can unlock it only with the password...)
So here's the question: how can i set this timeout to more than 15 minutes. Where is this setting stored ?
I already googled, and found nothing. I was digging with sqlite3 in /data/data/com.android.providers.settings/databases/settings.db, but i can't find this. Maybe it is more hardcoded ?
Please help me! This thing is killing me!!!
Well if your device is payed and given to you by your employer he has the right to put some restricting software on it (although I've never heard of such an android).
And what is this corporate app? Is it developed by your company, if it's strictly for use within the company, then no other one, besides the people in the company would know whether it has a function for more than 15 min timeout.
If you have permissions to install apps see if "No Lock" from the market works.
3722 said:
Well if your device is payed and given to you by your employer he has the right to put some restricting software on it (although I've never heard of such an android).
And what is this corporate app? Is it developed by your company, if it's strictly for use within the company, then no other one, besides the people in the company would know whether it has a function for more than 15 min timeout.
If you have permissions to install apps see if "No Lock" from the market works.
Click to expand...
Click to collapse
It is my own phone, the software is developed by my company. It installs a policy,that requires a phone lock password to be set. In the system... This lock can have a timeout, but maximum 15 minutes. I'd like to change this to 2hours or even a day. But there is no such option in the GUI, this is why I want to find where this setting is stored in the system.
I think you may have configured your Microsoft Exchange email on your phone. If you do that then the IT admins have the right to enforce a lock screen after 15 minutes. I have the same problem. Unfortunately there's nothing you can do about it, except look for a software that can over-ride the lock-screen.
There used to be a software called LockPicker. But I heard it does not work with Froyo anymore. So my suggestion is that either learn to live with it, or look for an overriding software
drumster said:
I think you may have configured your Microsoft Exchange email on your phone. If you do that then the IT admins have the right to enforce a lock screen after 15 minutes. I have the same problem. Unfortunately there's nothing you can do about it, except look for a software that can over-ride the lock-screen.
There used to be a software called LockPicker. But I heard it does not work with Froyo anymore. So my suggestion is that either learn to live with it, or look for an overriding software
Click to expand...
Click to collapse
Yes, I found this thread also,and that setting is stored in that database I mentioned in the first post. The problem is, in my case it is not exchange. It is a different story.
There must be a solution for this. I mean if there is a setting in the GUI, then it must be stored somewhere! And it must be possible to change it...
It sound like they use a crypto-software or ssl certificate, if you bypass it or try to bypass it.
Your phone can be locked or not fully functional, and your it admins will be angry
I think there is a little misunderstanding here. Let me rephrase my question!
Does anyone know how to set the "lock phone after" time in the security settings menu of the phone to a value higher than 15 minutes?
If you don't see that option, then you are using a sense-less rom. I found it only in roms using sense.
It is a system setting, not an application password. I will try to create screenshots today, so you can see what I mean

Tasker help needed

Hi, I would need help with two tasker profiles (and a little hint for the 3rd one ;P)
1st - Connect and route all traffic through a SSH-Tunnel when I am connected to a WiFi which is not my home-WiFi:
I tried this with SSH-Tunnel but "killing" the app gives random pop-ups + problem report + restart of the app (even when killing with root). Any ideas?
2nd - Screenshot when wrong lock pattern was entered:
I found several guides for how to do it with a "pin lock" but it seems as "lock pattern" won't work with tasker?
3rd - Can I somehow let tasker read/speak the following things:
At which time is the next alarm and in how many hours/minutes is that (alarmdroid)?
Do I have any missed calls/mails/messages (whatsapp/sms/facebook/...) ?
Do I have any calendar entries today and which one is the first one ?
I plan on using those the following way:
Put phone into docking station near my bed - Let me know if alarm is set and when it is.. also tell me if there are any meetings on the next day.
When alarmdroid starts waking me up, tell me if I have any missed calls/messages/etc and how many calendar entries I have today.
Thanks
Idk about any of the other stuff but about question 2...There is an app called secure settings..this app pretty much adds functionality to tasker and if you are rooted it adds even more. But basically you can use pattern lock through tasker after downloading that app..I am currently using it to have my lock pattern turn off when im connected to my home wifi and then turns back on when im not connected to home wifi...
I had similar issues as you where it would only work with pin lock but now with secure settings, its work with pattern lock. Hope this helps.
desiromeo719 said:
Idk about any of the other stuff but about question 2...There is an app called secure settings..this app pretty much adds functionality to tasker and if you are rooted it adds even more. But basically you can use pattern lock through tasker after downloading that app..I am currently using it to have my lock pattern turn off when im connected to my home wifi and then turns back on when im not connected to home wifi...
I had similar issues as you where it would only work with pin lock but now with secure settings, its work with pattern lock. Hope this helps.
Click to expand...
Click to collapse
Hmm I tried it with secure settings already but it didn't work.
could u tell me the exact tasks you do?
Thanks
zakazak said:
Hi, I would need help with two tasker profiles (and a little hint for the 3rd one ;P)
1st - Connect and route all traffic through a SSH-Tunnel when I am connected to a WiFi which is not my home-WiFi:
I tried this with SSH-Tunnel but "killing" the app gives random pop-ups + problem report + restart of the app (even when killing with root). Any ideas?
2nd - Screenshot when wrong lock pattern was entered:
I found several guides for how to do it with a "pin lock" but it seems as "lock pattern" won't work with tasker?
3rd - Can I somehow let tasker read/speak the following things:
At which time is the next alarm and in how many hours/minutes is that (alarmdroid)?
Do I have any missed calls/mails/messages (whatsapp/sms/facebook/...) ?
Do I have any calendar entries today and which one is the first one ?
I plan on using those the following way:
Put phone into docking station near my bed - Let me know if alarm is set and when it is.. also tell me if there are any meetings on the next day.
When alarmdroid starts waking me up, tell me if I have any missed calls/messages/etc and how many calendar entries I have today.
Thanks
Click to expand...
Click to collapse
In regards to question number 2, I'd skip setting this up via tasker and just get the app Cerberus, its a pay app but its amazing when it comes to the things it can regarding security of your phone, in case its lost/stolen. It does have the feature your trying to set up, works with pin and pattern locks. https://play.google.com/store/apps/details?id=com.lsdroid.cerberus&feature=nav_result#?t=W251bGwsMSwxLDMsImNvbS5sc2Ryb2lkLmNlcmJlcnVzIl0.
no I don't like cerberus sry. Also I got Avast for that
djkinetic said:
In regards to question number 2, I'd skip setting this up via tasker and just get the app Cerberus, its a pay app but its amazing when it comes to the things it can regarding security of your phone, in case its lost/stolen. It does have the feature your trying to set up, works with pin and pattern locks. https://play.google.com/store/apps/details?id=com.lsdroid.cerberus&feature=nav_result#?t=W251bGwsMSwxLDMsImNvbS5sc2Ryb2lkLmNlcmJlcnVzIl0.
Click to expand...
Click to collapse
I'd vouch for Cerberus. Has really good security features. btw how would taking a screenshot on entering wrong pattern help. Did you mean to take the photo of the intruder entering the wrong pattern?
jazzboyrules said:
I'd vouch for Cerberus. Has really good security features. btw how would taking a screenshot on entering wrong pattern help. Did you mean to take the photo of the intruder entering the wrong pattern?
Click to expand...
Click to collapse
Yes, a pic is taken of the intruder and sent to me via e-mail.
The whole thing works.. except that it doesn't work when the phone is locked :S
Not sure why you dont like cerberus, it does exactly what you want lol..was just a suggestion.
and i appreciate the help I just dont like the app.
Tasker >add Task(+) > Plugin > Secure Setttings > Configuration > Pattern Lock
Set the context as you like..
Ye tried that one already -> doesnt seem to work :/
Regarding your #2 request, if what you are looking for is for the phone to take a picture of the user after a failed unlock attempt this is what I did in Tasker to accomplish this and more.
This will take a photo of the "intruder" after two failed attempts. With my Dropbox sync this photo is instantly uploaded to Dropbox for archival. Then the phone sends two SMS messages to my GV number, the first with the rough location based on the network and then another if GPS is able to locate them.
First you have to install the "Secure Settings" plugin from the Market. Also for photo archival I use Dropbox configured to backup my photos.
New Profile named "Unlock Fail"
Event>State>Plugin>Secure Settings
-Edit Configuration>Failed Login Attempts> 2 (your choice)
-Save
Task> New Task named "Security Photo"
-Media>Take Photo
>Front Camera
>Filename : Lock Photo
>Naming Sequence : Series
>Insert in Gallery : checked
>Descrete : checked
>Resolution: 640x480 (Your preference)
-Misc.>GPS Set On
-Misc.>Get Location
>Source NET
-Phone>Send SMS
>Number (Your choice, I use my GV number)
>Message "Someone has tried to unlock your phone, a photo has been stored and they are roughly at: %LOC"
-Misc.>Get Location
>Source GPS
-Phone>Send SMS
>Number (Same as above)
>Message "Here is their exact location: %LOC"
Then on top of this I also created another profile that would fire off this same task if an SMS is received with the text "find me". This profile also sounds an alarm so I can locate the phone.
For some other Tasker how-to's see this page, http://tasker.wikidot.com/step-throughs .
HuckFinn said:
Regarding your #2 request, if what you are looking for is for the phone to take a picture of the user after a failed unlock attempt this is what I did in Tasker to accomplish this and more.
This will take a photo of the "intruder" after two failed attempts. With my Dropbox sync this photo is instantly uploaded to Dropbox for archival. Then the phone sends two SMS messages to my GV number, the first with the rough location based on the network and then another if GPS is able to locate them.
First you have to install the "Secure Settings" plugin from the Market. Also for photo archival I use Dropbox configured to backup my photos.
New Profile named "Unlock Fail"
Event>State>Plugin>Secure Settings
-Edit Configuration>Failed Login Attempts> 2 (your choice)
-Save
Task> New Task named "Security Photo"
-Media>Take Photo
>Front Camera
>Filename : Lock Photo
>Naming Sequence : Series
>Insert in Gallery : checked
>Descrete : checked
>Resolution: 640x480 (Your preference)
-Misc.>GPS Set On
-Misc.>Get Location
>Source NET
-Phone>Send SMS
>Number (Your choice, I use my GV number)
>Message "Someone has tried to unlock your phone, a photo has been stored and they are roughly at: %LOC"
-Misc.>Get Location
>Source GPS
-Phone>Send SMS
>Number (Same as above)
>Message "Here is their exact location: %LOC"
Then on top of this I also created another profile that would fire off this same task if an SMS is received with the text "find me". This profile also sounds an alarm so I can locate the phone.
For some other Tasker how-to's see this page, http://tasker.wikidot.com/step-throughs .
Click to expand...
Click to collapse
I would prefer Mail over SMS but the problem won't even go until the sending part as it won't even take the picture when the phone is locked with a pattern lock? Atleast for me here.
zakazak said:
I would prefer Mail over SMS but the problem won't even go until the sending part as it won't even take the picture when the phone is locked with a pattern lock? Atleast for me here.
Click to expand...
Click to collapse
I do not seem to have that problem. I just tried it and it worked perfectly.
Now I have my phone configured for face unlock with pattern as a backup and my phone is rooted.
-Phone was locked with the screen off.
-Hit the power button and blocked the camera so face unlock would fail.
-Entered the wrong pattern twice. Once the second attempt failed I saw GPS activate and I heard the GV notification for the received SMS.
-I never unlocked the phone and checking GV and Dropbox from a different device and the messages were sent with my location and the picture was uploaded to Dropbox.
Not sure what else to say. I think I was asked to give Tasker administrative rights along with being rooted so maybe that is the difference.
i am rooted as well.. and tasker is in my SuperSU list :S
Rly weird
I will pay you for Tasker Profiles
I bought tasker because I see the incredible potential for the different profiles.
That being said I am dumb and find creating the profiles that I want a little bit overwhelming.
Is you are a tasker EXPERT on this site that would like to make some profiles for me that I could download & I will pay you for them.
An example profile would be:
IF I disconnect from Wifi Network by going out of range I want to automatically turn on bluetooth for for 10 minutes.
(Usually when I walk out of wifi range I am walking to my car which bluetooths music/calls off my phone)
IF within that 10 minutes I connect to a bluetooth device I would like to keep the bluetooth on until the pairing is broken. IF NOT bluetooth will be turned off after the 10 minutes
When the bluetooth pairing is broken I would like the phone to turn on Wifi for 10 minutes as I am usually walking to my office/house or place with wifi
IF within that 10 minutes a wifi network is connected then wifi will remain on IF NOT then wifi will be turned off
This is just one of probably 10 or so possible profiles I would like to create that are custom to my circumstances
I have a galaxy S4 Active from AT&T that is rooted
If you are interested in creating profiles for me please message me with your expertise & what a profile would cost
For most of you creating these things are childs play however for me it is not
This is my first time posting so if this is the wrong place to put this please direct me to a different area.

[Q] Sceen lock turned of by admisintrator

Hello Guys,
I have searched Xda for possible solution but still I haven't found one. I'm unable to set lockscreen to swipe or none options. They are grayed out.
I have cleared credentials, uninstalled vpn apps, and unchecked device admin. Ps, no exchange accounts has been set.
Currently I am on 4.2.2 official version.
Thanks in advance
adam2010 said:
Hello Guys,
I have searched Xda for possible solution but still I haven't found one. I'm unable to set lockscreen to swipe or none options. They are grayed out.
I have cleared credentials, uninstalled vpn apps, and unchecked device admin. Ps, no exchange accounts has been set.
Currently I am on 4.2.2 official version.
Thanks in advance
Click to expand...
Click to collapse
Under settings>security, is there an administrator account? Seems like it's locking you out of those settings. After the vpn apps have you deleted all saved vpn connections?
Well, even if nothing works, you can still use a lot of replacements like GO Launcher and many others....
AayushPathak said:
Under settings>security, is there an administrator account? Seems like it's locking you out of those settings. After the vpn apps have you deleted all saved vpn connections?
Well, even if nothing works, you can still use a lot of replacements like GO Launcher and many others....
Click to expand...
Click to collapse
There is Device administrators option and none of the apps are checked. I tried miui lock screen but it doesn't appear at all. Yes no trace of vpn. I don't know what is locking me out.

Question How to make Facebook notifications work on my Pixel 6 Pro?

I have got the phone 2 weeks ago and I really like it. Everything seems to be working just fine except for the push notifications for the Facebook. Please, don't tell me to uninstall it - I use it for business and also to keep in touch with my family and friends - so telling me not to use it is not helpful. However if there is something you can help me with, I would really appreciate it. Here are some details to make it easier for investigation.
Android version: 12
Security update: 5 November 2021
Facebook version: 348.0.0.39.118
- push notifications are allowed within Facebook (please, see attached screenshot)
- Facebook notifications are allowed on Android system wise (please see attached screenshot)
- Facebook Battery usage set to Unrestricted (please see attached screenshot)
What I have tried so far?
- delete cache, storage, the app and re-install
- pause notifications for 15 minutes and allow again
How do I know it issue on Android?
- I have the same issue on every Android device (tested on Samsung and OnePlus devices, same result)
- everything works just fine on iOS - push notifications are coming on my iPhone 13 Pro and on my iPad
What else am I missing? What can change or setup differently? I would really like to use Pixel as my primary device but this is a major blocker for me. Reaching out to Facebook is pretty much impossible. I am offering up to 50 USD (paying over PayPal) to the person who can help me figure this out for once and for all. I have been asking all around the internet and no-one can help me. If I can't sort it out here, I don't think I can anywhere else.
{
"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"
}
p4ra said:
I have got the phone 2 weeks ago and I really like it. Everything seems to be working just fine except for the push notifications for the Facebook. Please, don't tell me to uninstall it - I use it for business and also to keep in touch with my family and friends - so telling me not to use it is not helpful. However if there is something you can help me with, I would really appreciate it. Here are some details to make it easier for investigation.
Android version: 12
Security update: 5 November 2021
Facebook version: 348.0.0.39.118
- push notifications are allowed within Facebook (please, see attached screenshot)
- Facebook notifications are allowed on Android system wise (please see attached screenshot)
- Facebook Battery usage set to Unrestricted (please see attached screenshot)
What I have tried so far?
- delete cache, storage, the app and re-install
- pause notifications for 15 minutes and allow again
How do I know it issue on Android?
- I have the same issue on every Android device (tested on Samsung and OnePlus devices, same result)
- everything works just fine on iOS - push notifications are coming on my iPhone 13 Pro and on my iPad
What else am I missing? What can change or setup differently? I would really like to use Pixel as my primary device but this is a major blocker for me. Reaching out to Facebook is pretty much impossible. I am offering up to 50 USD (paying over PayPal) to the person who can help me figure this out for once and for all. I have been asking all around the internet and no-one can help me. If I can't sort it out here, I don't think I can anywhere else.
View attachment 5506461View attachment 5506463View attachment 5506465View attachment 5506467
Click to expand...
Click to collapse
Alright, well let's check the other basics first.
You have
a) allowed push notifications for Facebook and set Battery usage for Facebook as unrestricted
how about
b) check Background Process Limit (Developer options)
c) check Standby Apps (Developer Options again, scroll down to Apps) and tell me which state your app is in regularly (a messenger app should be at WORKING_SET/ACTIVE even when you "close" it in app drawer/home screen)
d) check your power saver & DnD settings (Do not Disturb can delay notifications)
e) triple check your internet connection - are you using a VPN, are all other apps working as intended with immediate notifications? Is it maybe a "not phone problem"?
f) do you have adaptive battery activated? Try deactivating it, AB can put apps to sleep in order to preserve battery life. Restart phone after making these changes.
e) did you download Pikmin Bloom? (not kidding here, I've seen people report Android 12 notification problems, and after deleting that app it began to work again)
E1) Since it has been reported that a single app can cause havoc, it might be possible that some third-party app is causing these issues. It might be hard to narrow down, but if it truly bothers you, I'd suggest to manually place ALL other non-Google apps to battery -> restricted, to find out if that is the problem. If it fixes your issues, you can slowly narrow it down, by gradually allowing battery usage for other apps again.
Since you did not use the word root once, I assume you are not rooted? Since with root access we could force the Heartbeat Intervals to a ridiculously low number (couple seconds), to see if it's truly a Pixel/software problem.
It might be possible that your problem is caused by Androids DOZE function. It doesn't always work "properly" - there is an internal priority list, and according to that list apps get dozed or are allowed to "call home".
A non-root solution to this (IF it's a doze problem) would be to manually deactivate Doze with ADB (and then check your app - if your problem is fixed then, it's a DOZE/whitelist problem)
There is a thread about this here
Android: completely disabling deviceidle ("Doze") in Android M?
In a rooted Android M device, I want to completely disable deviceidle mode ("Doze"), all the time. Yes, I know this affects my battery life, and that's fine with me. I know that I can invoke the
stackoverflow.com
You "just" need to issue this ADB command
adb shell dumpsys deviceidle disable
Click to expand...
Click to collapse
It's also possible that for some odd reason, Whitelist doesn't work as intended (battery not restricted should lead to the app NOT getting dozed)
That can - in theory - be forced with
adb shell dumpsys deviceidle whitelist
Click to expand...
Click to collapse
(see the ADB command list for more information).
ADB
Android Debug Bridge (adb) | Android Studio | Android Developers
Find out about the Android Debug Bridge, a versatile command-line tool that lets you communicate with a device.
developer.android.com
ADB installation
How to install ADB on Windows, macOS, and Linux
A step-by-step guide to get you started with the Android Debug Bridge tool.
www.xda-developers.com
Mind though, that it will not stick after a reboot. It's only a temporary solution.
If that solution should work, you could try out
Say hello to LADB, a local ADB shell without needing root or a computer!
Hey there XDA! I'm here to show off a new Android app I've published that I think a certain audience may find useful. Ever heard of ADB? If not, you likely won't need this app. But for those of you who have used or encountered ADB in the past...
forum.xda-developers.com
in order to get a more permanent DOZE disabling solution. Even though this will cause your phone to burn faster through battery. If it's a general Android / Android 12 issue, I can't see any other non-root solutions though.
With root, you could easily execute the script/ADB commands after each reboot. But then again, there should be at least one alternative non-root solution out there.
I'll start from the end - my phone is not rooted. I was tempted, but decided not to do so. Now to the questions above:
b) Background Process Limit is set to: Standard limit, I did not change that - should I?
c) Facebook is shown as EXEMPTED (and it is greyed out, I can't change it), Messenger is ACTIVE
d) Power Save is always OFF in my case
e) connection is fine, 100%, I am not using VPN, only local with AdGuard, but the same behavior was without it
f) tried that, did not help - on Samsung, OnePlus and here, too
Not aware of Pikmin Bloom - no idea what is it, so no.
Thanks for coming back to me, I appreciate it.
p4ra said:
I have got the phone 2 weeks ago and I really like it. Everything seems to be working just fine except for the push notifications for the Facebook. Please, don't tell me to uninstall it - I use it for business and also to keep in touch with my family and friends - so telling me not to use it is not helpful. However if there is something you can help me with, I would really appreciate it. Here are some details to make it easier for investigation.
Android version: 12
Security update: 5 November 2021
Facebook version: 348.0.0.39.118
- push notifications are allowed within Facebook (please, see attached screenshot)
- Facebook notifications are allowed on Android system wise (please see attached screenshot)
- Facebook Battery usage set to Unrestricted (please see attached screenshot)
What I have tried so far?
- delete cache, storage, the app and re-install
- pause notifications for 15 minutes and allow again
How do I know it issue on Android?
- I have the same issue on every Android device (tested on Samsung and OnePlus devices, same result)
- everything works just fine on iOS - push notifications are coming on my iPhone 13 Pro and on my iPad
What else am I missing? What can change or setup differently? I would really like to use Pixel as my primary device but this is a major blocker for me. Reaching out to Facebook is pretty much impossible. I am offering up to 50 USD (paying over PayPal) to the person who can help me figure this out for once and for all. I have been asking all around the internet and no-one can help me. If I can't sort it out here, I don't think I can anywhere else.
View attachment 5506461View attachment 5506463View attachment 5506465View attachment 5506467
Click to expand...
Click to collapse
You shouldn't have to root your phone to get notifications to work. But Morgrain has included everything and more that I would suggest.
A few things: So notifications for this specific Facebook Account work on other Android devices with the same Google Account?
Do all other notifications work? WhatsApp, GMail etc?
Create a new user (Android Settings, System, User) and create a dummy Gmail Account during setup (important to create a new account since I've seen this also resolve notification issues with GMail and a few other apps, its rare but worth a try, and you can delete the Gmail account after the test, limit the information you input and put a nickname/fake info in). Stay logged into this new Google Account on your Pixel during the testing period (whatever it is 30mins, 1hr etc) because notifications won't come in otherwise. Make sure battery saver isn't on, and give Facebook/Messenger apps Unrestricted battery usage along with enabling all permissions under "App Permissions" and under "App Info" enable anything available: Mobile Data & Wifi Unrestricted background data/usage (2 options), Battery: Unrestricted, and under the Advanced section, some apps have 2 or 3 options such as "Modify System" etc - enable all of those also. Force Stop, then open the app to make sure it is running (check to make sure it is running in Developer Options, Running Services). These suggestions can also be tried on your current installation.
Can you maybe try removing the FB app, reinstall and create a new temporary FB Account or even try logging in with a different one - any changes?
The last thing I would do is backup your phone and manually the data for each app (Signal, WhatsApp etc) and force 2 or 3 manual backups using Google Backup (Android Settings, System, Backup), just to make sure everything is backed up. And using an app like SMS Backup Restore by SyncTech, to ensure Calls/SMS are backed up again. Copy all folders to a computer. Then do a factory reset, and during the setup, pick "don't have old phone" then "restore from cloud" - you will be given 5 or 6 options, only pick SMS/MMS and Calls. Then install Facebook and test it. This has worked in the past for notification issues.
Alekos said:
You shouldn't have to root your phone to get notifications to work. But Morgrain has included everything and more that I would suggest.
A few things: So notifications for this specific Facebook Account work on other Android devices with the same Google Account?
Do all other notifications work? WhatsApp, GMail etc?
Create a new user (Android Settings, System, User) and create a dummy Gmail Account during setup (important to create a new account since I've seen this also resolve notification issues with GMail and a few other apps, its rare but worth a try, and you can delete the Gmail account after the test, limit the information you input and put a nickname/fake info in). Stay logged into this new Google Account on your Pixel during the testing period (whatever it is 30mins, 1hr etc) because notifications won't come in otherwise. Make sure battery saver isn't on, and give Facebook/Messenger apps Unrestricted battery usage along with enabling all permissions under "App Permissions" and under "App Info" enable anything available: Mobile Data & Wifi Unrestricted background data/usage (2 options), Battery: Unrestricted, and under the Advanced section, some apps have 2 or 3 options such as "Modify System" etc - enable all of those also. Force Stop, then open the app to make sure it is running (check to make sure it is running in Developer Options, Running Services). These suggestions can also be tried on your current installation.
Can you maybe try removing the FB app, reinstall and create a new temporary FB Account or even try logging in with a different one - any changes?
The last thing I would do is backup your phone and manually the data for each app (Signal, WhatsApp etc) and force 2 or 3 manual backups using Google Backup (Android Settings, System, Backup), just to make sure everything is backed up. And using an app like SMS Backup Restore by SyncTech, to ensure Calls/SMS are backed up again. Copy all folders to a computer. Then do a factory reset, and during the setup, pick "don't have old phone" then "restore from cloud" - you will be given 5 or 6 options, only pick SMS/MMS and Calls. Then install Facebook and test it. This has worked in the past for notification issues.
Click to expand...
Click to collapse
No, specific Facebook Account does not work on any Android device at all. It only works on iOS devices. Without any specific settings. I just login to my account and push notifications on iOS are working. No matter what I do on Android - any device - it does not work. And I am not sure if this is account issue or platform issue. But I am inclined to platform issue as I do not understand why would it work on iOS without any problems.
Hello!
A lot of good suggestions here.
I don't have much input so I apologize - I just wanted to say I have no issues receiving Facebook Messenger notifications. I'm on sq1d.211205.017 (December - manually flashed and rooted). I have notifications for Facebook itself turned off, so I can't report there. I didn't have to change any settings at all for Facebook Messenger to work correctly. I also don't use Messenger very much, but once in a while and I just received a Messenger chat the other day.
You could try manually installing the December update, although I'd probably wait for the late January update instead.
I like @Alekos' suggestion of creating a new account on the phone and trying to use the same Facebook account there, without installing any different/additional apps.
In an extreme measure, you could try a factory reset, don't restore anything from Google Backup, and only install Facebook & Messenger, and wait long enough to be able to tell if both are working satisfactorily.
If working, then after that you would have to install further apps in small groups (I would do in the order of the most critical apps that you need), then wait long enough again to test. This has been my standard operating procedure whenever I have weird problems that I just can't solve. Sometimes, I didn't get a solution this way - the problem was common with Samsung's version of Android, but all other times I eventually found the problem in an app that caused issues.
roirraW edor ehT said:
Hello! I don't have much input so I apologize - I just wanted to say I have no issues receiving Facebook Messenger notifications. I'm on sq1d.211205.017 (December - manually flashed and rooted). I have notifications for Facebook itself turned off, so I can't report there. I didn't have to change any settings at all for Facebook Messenger to work correctly. I also don't use Messenger very much, but once in a while and I just received a Messenger chat the other day.
You could try manually installing the December update, although I'd probably wait for the late January update instead.
In an extreme measure, you could try a factory reset, don't restore anything from Google Backup, and only install Facebook & Messenger, and wait long enough to be able to tell if both are working satisfactorily.
If working, then after that you would have to install further apps in small groups (I would do in the order of the most critical apps that you need), then wait long enough again to test. This has been my standard operating procedure whenever I have weird problems that I just can't solve. Sometimes, I didn't get a solution this way - the problem was common with Samsung's version of Android, but all other times I eventually found the problem in an app that caused issues.
Click to expand...
Click to collapse
Messenger is working just fine for me. It has been on every Android device.
As for November/December update - I am not sure this is the culprit. Because as mentioned above it was not working on any prior Android devices either regardless of the Android version.
This is the only application I am experiencing issues with.
p4ra said:
Messenger is working just fine for me. It has been on every Android device.
As for November/December update - I am not sure this is the culprit. Because as mentioned above it was not working on any prior Android devices either regardless of the Android version.
Click to expand...
Click to collapse
I apologize, I missed those things. Argh, very strange indeed. That just sucks.
My gut feeling is it's a Facebook setting that's being restored only on Android. I haven't used iOS, so I can only guess, but I know sometimes iOS and Android versions of the same app are different enough, and sometimes going through Facebook's available settings is daunting.
I know the app has a search function for its settings now, but the Notifications setting is obvious enough. If you've already mentioned looking through this, please forgive me:
3-line (pancake) menu
Scroll to the last page of junk
Settings & Privacy
Settings
Notifications
Micro-manage each and every type of category of Facebook notifications
Yeah, man. It's driving me crazy. I can't seem to find the issue for almost 2 years, insane.
p4ra said:
Yeah, man. It's driving me crazy. I can't seem to find the issue for almost 2 years, insane.
Click to expand...
Click to collapse
I just edited my post above this reply. I might not have suggested anything you haven't already tried, but take a look. I feel your pain, as Google Reminders used to work great for me, but for the last two years, they do everything but actually remind me.
I have set those to Push - all that are relevant to me. I have posted it on screenshot in my 1st post. But thanks for trying, man. I really appreciate it.
p4ra said:
I have set those to Push - all that are relevant to me. I have posted it on screenshot in my 1st post. But thanks for trying, man. I really appreciate it.
Click to expand...
Click to collapse
Ah yes. I really should wake up before I answer posts. Technology! Good luck, I hope you find the solution.
Will you consider a workaround of changing from Push to something EMail or SMS?
p4ra said:
I have set those to Push - all that are relevant to me. I have posted it on screenshot in my 1st post. But thanks for trying, man. I really appreciate it.
Click to expand...
Click to collapse
so wait, no facebook account works at all on any android device you've used? That's really odd. A billion FB users!
Can you just try this: Create a new User (it's really easy) and a new throw-away Google Account (easy also) and a new FB account just to test? it will take maybe 5 mins. this will help in narrowing it down (if it does work).
I have tried that. I have created once a dummy account for Fb and used with my present Google Account - no issues at all.
Everything I tried looks like it's Fb account related and specifically on Android. I don't know how to solve it.
p4ra said:
I have tried that. I have created once a dummy account for Fb and used with my present Google Account - no issues at all.
Everything I tried looks like it's Fb account related and specifically on Android. I don't know how to solve it.
Click to expand...
Click to collapse
Will you consider a workaround of changing from Push to something EMail or SMS?
I know it's not what you're looking for, and you shouldn't have to do - or maybe that is what you do already, just had to ask.
I mean, I could, but it is not as convenient, not to mention I am more interested into WHY it is not working on Android and no issues on iOS. Can't get my head around this.
p4ra said:
I mean, I could, but it is not as convenient, not to mention I am more interested into WHY it is not working on Android and no issues on iOS. Can't get my head around this.
Click to expand...
Click to collapse
Me neither. Problems like this where nothing seems to solve drive me nuts. I may take a screenshot of my Facebook notification settings, set them all to push, and see what happens. I expect I know what'll happen.
Edit: Gotta love the Pixel screenshot "Capture more" button.
Just wondering, have you uninstalled rebooted, and re-installed? Or are you just copying over the apps/data? I had the same issue with Aqua mail, until I uninstalled, rebooted, and re-installed
idbl_fanatic said:
Just wondering, have you uninstalled rebooted, and re-installed? Or are you just copying over the apps/data? I had the same issue with Aqua mail, until I uninstalled, rebooted, and re-installed
Click to expand...
Click to collapse
Same happens when I unbox the phone and start fresh install right out of the box. Or if I install, update to latest version, restart and install all over again. Result is always the same.
This is a Facebook/android issue, I've been dealing with it for 2 or 3 years now across multiple devices.

Categories

Resources