Question with 'OK Google', it requires unlocking the device every time - Nexus 5X Q&A, Help & Troubleshooting

Hello all, I'm now with the latest pure nexus rom on my N5X. I ALREADY turned on the 'personal results' in google voice settings. But it says I need to unlock the device if I ask 'send a text' or 'set a timer'. If I ask 'weather', it will show the content of weather information but with no sounds, just four color dots blinking, which is weird.
I don't know if it is due to that I deleted the '/data/system/locksettings.db' once I couldn't get into the new rom. Because it didn't happen when I first flash the pure nexus.
I know maybe another clean flash of pure nexus might work, but if so, I might need clean install for each ROM update. (delete locksettings.db every time may result in the same situation if dirty flash)

Is trusted voice off by chance? I had this issue before and I think it was fixed by turning on trusted voice.
Settings > Security > Smart Lock > Trusted Vocie > switch on Trusted Voice toggle

Cool. It fixed. Firstly I didn't find 'smart lock' under security, but it came out once I turned it on under security > trust agents.
Now every time I turn 'trusted voice' on it will ask for my pattern/password. Thanks for the help!
PiousInquisitor said:
Is trusted voice off by chance? I had this issue before and I think it was fixed by turning on trusted voice.
Settings > Security > Smart Lock > Trusted Vocie > switch on Trusted Voice toggle
Click to expand...
Click to collapse

Related

GTalk turning on by itself

Gtalk keeps turning on by itself. I never use it but its always in the running programs... and Im defintely signed out of it. Im sure it affects the battery as its trying to connect/update something.... should I uninstall it?
There's a setting in it to stop it from doing that.
It's supposed to do it as it's the Android equivalent of BBM
I'm having the same issue... is there a way to switch it off permanently?
pav1978 said:
I'm having the same issue... is there a way to switch it off permanently?
Click to expand...
Click to collapse
Launch GTalk > Menu key > More > Settings > toggle off "Automatically sign in" > Back key > Menu key > More > "Sign out"
how to launch it because i didnt have it installed and it is running in the background...rofl
owh nvm i found it, so dumb of me...android noob =D
Launch and under Settings I think it says "autostart" or something.
Bugger I lost the race ...
Not working guys. I have signed out several times and disabled it to start up. It still pops up every day to running services.... cant even uninstall it.
Edit. I have 3G off atm, but starting up Talk it says: "...Will connect automatically when available" Damn. When I turn 3G on it logs in automatically even though I had the automatic start ticked off. How stupid is that!
Thanks! its worked
You can also use the "startup auditor" application, which allows you to stop apps loading at boot (and at other times), and it doesn't need root access.
it logs you in once, since this login is also used for market.
you wont be able to remove it or if you can, you cant download anything from market anymore

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

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.

[Q] Face unlock isn't working on my HOX

Hi,
When i try to activate face unlock, menu says "Disabled by administrator, encryption policy or credential storage" and face unlock and none options are disabled. So, i can't activate it and i can't disable screen lock. I added screenshot to my post for better understanding and 5 hours screen time for bonus
Thanks
Have you got your storage encrypted (settings > storage)? I don't think face unlock works if that's set?
Or do you have something here
Security > Device Administrators?
(Some exchange policy from your work maybe, even though mine disables all but a 8 pin unlock)
i pressed clear credentials in security menu and deactivated menus are activated now. Thanks for all replies.

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.

Gmail push notification does'nt work- somone secceeded to fix it?

Hi
i have xiaomi mi5s (miui global 8.0.3.0 stable) and i dont get push notification form the gmail app.
i try all the instructors that i found at the internet and nothings fix it, is there somone that know haw to fix it?
i try this steps:
1: Go to settings --> manage apps' battery usage --> choose apps. From there, pick all the apps you want to receive push notifications and select "No restrictions."
2: Go to settings --> permissions --> autostart. From there, pick the apps you want to receive notifications, and toggle the switch to turn it on.
3: Go to settings --> app notifications --> pick the apps you want to receive notifications, then turn the toggle for "Priority" on.
4: Lock the app in the "recent apps"/ "app overview" plane. Do so by first opening the apps, then press the "recent apps/overview button" (that's the square button on stock Android, or the button with three horizontal lines on the Mi Mix). From there, find the app you want to receive notifications, pull down on it to "lock it", so it never gets cleared.
5: This last step requires Developer Options privileges. To enable that, go to settings (man... I'm getting tired of typing "go to settings" ...) --> about phone
--> tap on MIUI version tab like eight times. You should then get a little message saying "you are now a developer." Then head back out to settings, go to developer option, scroll to nearly the bottom, find "memory optimization," and turn it off.
Mine does the same sometimes it's intermittent.
Things like this is why I never use Miui, its a horribly crippled version of Android that just makes life more difficult unnessesarily if you live in a country that allows free access to a service called Google
Never own a Xiaomi phone without removing Miui and replacing with a ROM that works in the real world
i wtire this comment for who will need this solution.
i secceeded to fix the push notification problem by the following
1:I changedmy rom to original miui rom (mine was fake) now i have 8.0.3.0 global
2: go to setting -> sync -> and disabled "wifi only" and enable "sync"
3: Go to settings --> permissions --> autostart. From there, pick the apps you want to receive notifications, and toggle the switch to turn it on.
4: Go to settings --> manage apps' battery usage --> choose apps. From there, pick all the apps you want to receive push notifications and select "No restrictions."
hope it will help..
Also have a look here for some more context: https://forum.xda-developers.com/mi-5s/how-to/miui-kills-background-processes-solution-t3532397
The guys above me pretty much summed it up - setup autostart for the Gmail app and Google service frameworks, disable MIUI memory optimization and lock the Gmail app (menu button --> slide the app thumbnail down and click the lock icon).
Having done all of this, the push notifications are fine. I use the EU rom 7.3.30 (weekly).
Hi,
I have a brand new Mi 6 which im loving (running the standard default theme), however i have a bit of a problem with Gmail.
Im getting all the notifications, no problem at all. However, the floating notifications do not show a preview of the email i have received for Gmail. I get a floating popup, but all it shows is that i have a new email, it does not show who sent the email or the subject line, nothing.
All my other floating notifications are fine. Whatsapp, outlook, facebook etc, all of them show the floating notification with a small preview of what the message is.
Anyone else experiencing this? any ideas?
I have ALL settings correctly set to receive all the notifications, floating, etc and as i said, i DO receive notifications, they just dont show a preview specifically for Gmail. Im using latest Global Rom by the way.
nirb91 said:
Hi
i have xiaomi mi5s (miui global 8.0.3.0 stable) and i dont get push notification form the gmail app.
i try all the instructors that i found at the internet and nothings fix it, is there somone that know haw to fix it?
i try this steps:
1: Go to settings --> manage apps' battery usage --> choose apps. From there, pick all the apps you want to receive push notifications and select "No restrictions."
2: Go to settings --> permissions --> autostart. From there, pick the apps you want to receive notifications, and toggle the switch to turn it on.
3: Go to settings --> app notifications --> pick the apps you want to receive notifications, then turn the toggle for "Priority" on.
4: Lock the app in the "recent apps"/ "app overview" plane. Do so by first opening the apps, then press the "recent apps/overview button" (that's the square button on stock Android, or the button with three horizontal lines on the Mi Mix). From there, find the app you want to receive notifications, pull down on it to "lock it", so it never gets cleared.
5: This last step requires Developer Options privileges. To enable that, go to settings (man... I'm getting tired of typing "go to settings" ...) --> about phone
--> tap on MIUI version tab like eight times. You should then get a little message saying "you are now a developer." Then head back out to settings, go to developer option, scroll to nearly the bottom, find "memory optimization," and turn it off.
Click to expand...
Click to collapse
Thanks. This worked perfectly on my Mi Mix2.

Categories

Resources