[Guide] AOD activeclock (clocktransition) bug workaround on non-flagship phones - Samsung Galaxy A71 Guides, News, & Discussion

This guide is mainly for those who know what the "clocktransition" or "activeclock" bug is, where your AOD brightness drops significantly after a few seconds of AOD set to always on while you have the under-display FP reader on.
This workaround functions by turning AOD off and then on after the screen turns off, eliminating this bug from happening.
It's not perfect but gets the job done.
We use an app called "Tasker" from the Playstore (as well as "Tasker Settings")
Here's the guide:
Open Tasker Settings first just to make sure it's running
You can do this at any time, but make sure you remove Tasker from apps that can optimize battery usage (the app will constantly remind you about this anyway)
Open Tasker and go to the "Tasks" tab (dismiss any of the annoying reminders you get from Tasker)
* Add a new task (+ sign at the bottom) and give it a name. Any will do. I will name it "Aod off-on"
Then add an Action on the screen it takes you to (+ sign at the bottom)
In the "Select Action Category" pop up, search for "Wait" and select it. This "Wait" command is done so that there is a few seconds before the task can turn AOD off and on so you can fully appreciate the clocktransition animation. You can add any value you want here. I recommend between 3 to 7 seconds but it's up to you.
Save (back button)
Add a new action
In the "Select Action Category" pop up, search for "Custom Setting"
In the drop down menu under "Type", select "System" instead of "Global"
In "Name", type aod_mode
In "Value", type 0
Save (back button)
Add a new action
In the "Select Action Category" pop up, search for "Custom Setting"
In the drop down menu under "Type", select "System" instead of "Global"
In "Name", type aod_mode
In "Value", type 1
Save (back button)
You are done with your task, now go back and create a profile that will trigger it
Switch back to the "Profiles" tab and add a new profile (with +)
Select "Event" -> Search for "Display Off"-> Leave Normal Priority
Go back and it will request that you select a task, select the one you created
You should be done. Now, the task will activate everytime you turn the screen off.
Note: If this doesn't work for you, you'll probably have to edit the task and in both instances where you change the aod value to 1 and 0, you'll have to give it root permissions (there should be a checkbox when editing the task and the action to use root)
Enjoy, let me know if it works for you!

Related

[OFFICIAL] Tips & Tricks thread

This is for random tricks that aren't widely known.
I'll start off...
Missing that search button key on the bottom from the SGSII? Have no fear, just press and hold the menu key, which acts like the search key
Annoyed of the home button lag? turn off double tap to activate S voice within that program and your home key will be much more responsive
Can anyone think of anything else?
Edit: Ironlood has put together a list of tips and tricks. Thanks!
1.Hold menu button for search menu - eyecon82
2.To get rid of home button lag open up S-Voice and navigate to settings and untick the launch with double tap home button -eyecon82
3.Lock screen app settings are listed under security in settings - kegacide
4.you can swipe the screen with the side of your hand to take a screenshot, or hold home and power-kegacide
5.Hold down physical button and you can close all open apps and go to the task manager - hawkeye2188
6.Buttons on the bottom of the lock screen and can be swiped and open that application - hawkeye2188
7.You can also swipe away individual apps after holding down the home button - NA 521"
8.first go to settings>language and input and turn on voice cmd for apps. I had it on early today and said cheese and the camera snapped a photo...pretty cool -s3xda (on a side note it seems as though the variants have different voice cues try snap, cheese, shutter, and go)
9.In settings > sound > device vibration, you can select a different pattern of vibrate, or just make your own by touching create! - Zoidpilot
10.In app drawer > widgets, Sammy added a widget to use flash as a flashlight, and a widget to turn the entire phone into negative colors.-Zoidpilot
11.You can set the brightness in the majority of stock apps (i.e. the browser) to be app specific, instead of just setting a brightness for the entire system. For example: set the brightness to auto in the system settings, then open the stock browser > brightness and colors, and set it to high. Now the system will have auto brightness, but it will always go to high/bright when you are in the browser! -Zoidpilot
12.If you go to Phone > Logs > call logs, you can long-press a number (like that telemarketer you always reject) and select "add to reject list" to have the phone automatically reject the call every time. You can also unblock the number in case you change your mind.-Zoidpilot
13.In the stock messaging app, you can go to settings, and on the top you will find options to change the background and bubble style of the messages.-Zoidpilot
14.Samsung's S-Voice can do complex mathematical equations for you, then show them in different answers. For example, open S-Voice, and ask "how many inches are in a mile?". Or "what's the square root of 543,636?". -Zoidpilot
15.In settings > security > lock screen options > shortcuts, you can change what shortcuts appear on your lockscreen, or take them out altogether.-Zoidpilot
16.On the headphones that came with your device, you will see a single button and the volume controls. One press of the single button will pause the music, two presses in quick succession will skip to the next track. -Zoidpilot
17.In settings > wallpaper > home & lockscreen, if you select a live wallpaper, it will show as your lock screen as well. It will deactivate the ripple effect though if you have it active.-Zoidpilot
18.You can also use pop-up play on streaming online videos as long as they're not YouTube videos, and as long as you use the stock video player to stream them.-Zoidpilot
19.Pictures come out better with the camera if you hold the camera button and let it focus before the shot, rather than just pressing it after touching the focus box.-Zoidpilot
20.The stock browser has "incognito mode" just like Google Chrome! You can access it by opening the browser, the touching the top right corner to see open windows, then touching the incognito icon. While you're incognito, no history/cookies/or form data will be saved.-Zoidpilot
21.While you are on a call, on the screen where the contact picture is displayed, there is a speaker icon in a bubble. Touch it to increase the call volume past the maximum setting. It works on speaker or on headset setting.-Zoidpilot
22.If you're not rooted, but want to get rid of those pesky bloatware apps, go to settings > application manager > all, and select the app. Within those settings you can clear the information the app has, then disable the app with the top right button. You may need to uninstall updates before it says disable app though... you can also go to the app drawer, hit menu, then select "hide apps" to hide the bloatware icons you've disabled. -Zoidpilot
23.With voice cmd turned on, you can snooze your alarm by saying snooze. -s3xda
24.Cover the screen with the palm of your hand to pause media playback. -NA 521"
25.You can use S Voice like a translator,for example: What is the meaning of house in spanish?-TitaniumBarbell
26.I just found out the contents of the clipboard stay there even after a reboot.-kingwp
27.touch wiz scrolling wallpapers fix go Settings > Wallpaper > Home Screen... If you set them independantly you will be able to crop the wallpaper just like any other HC/ICS device-nonmindo
28.you can get your status bar in ANY full screen app, even full screen games. How? Start with your finger touching just outside of the top of the display and drag down, it will fade in and you can check your notifications, it works both in landscape and portrait mode-nonmindo
29.I noticed that any time you send an email in gmail with our new phones (t-mobile version at least), it puts a stupid T-mobile signature at the bottom of the email. I found that you can change it by going to gmail>menu>settings>e[email protected]>signature and putting in whatever you want.-moonfire711
30.Also, go into your dialer>menu>settings for more in call goodies.-moonfire711
31.Many probably already know this, but I just found out that you can turn on the screen with the physical home button instead of the power button. Which is nice if it's laying down on a desk or something.-moonfire711
32.If you get tired of re-unlocking your screen when it turns off, you can set it to not lock for a set period of time after the screen turns off... Go to menu>settings>security>Lock automatically and change the timeout.-moonfire711
33.If you go into Settings > Sounds > Auto Haptic It will enable haptic feedback on your games/apps based on sound, pretty neat!! (note: doesnt work on all games/apps, but does on many)-nonmindo
34.In relation to the haptic feedback with sound... Tap on the left side of the toggle (where the text is), and it'll open up a menu to choose which ones to enable/disable. -pizz0wn3d
35.The wiimote controller successfully pairs and works with our SGS3s! -pizz0wn3d
36.For your contacts or logs, slide left to direct call and slide right to direct text.-jaytxvo
37.while in the stock video player press the picture in picture button to pop out the video -s3xda
38.Super video does pic-in-pic -20blks
39.***Sprint Specific*** In order to turn on and off LTE ... Settings >wireless settings>more settings >network mode>lte/cdma -iphony89
40.camera quick access... allows you to touch the lockscreen and rotate the screen to open the camera... Settings > security > lock screen options > camera quick access -Cappurnikus
41.pull down the notification touch the time and it will open the world clock (might be variant specific) -Deputy13
42.I have only tested this with Windows Media Player, but I assume any DLNA equipped TV/media device would work. This is great if you want to quickly show a slideshow of photos or play some media file on your tv/computer.1) Go Settings/More Settings/Nearby Devices 2) Turn on file sharing and change any options you'd like. Since I'm on my own my Wifi network, I just disabled access control, otherwise you have to approve every device.3) Start Windows Media Player. Make sure under Stream "Allow Remote Control" is checked. You should see your phone show up under "Other Libraries" in WMP. Mine shows up as [Mobile]SCH-135.4) Go into Gallery and select a picture. If connected properly, in the upper right hand corner there will be a new little icon with a monitor and some arrows. Touch this and it will allow you to select a playback device. 5) Now the picture should show up in a maximized screen in WMP. Sometimes it takes a good 10-20 seconds. Videos take much longer, but they work and what I got was the first frame, followed by a good 20 seconds of a "Processing" notification on the Galaxy S3. When I browsed from WMP to my phone videos, it buffered for a very long time, so this "processing" notification is the buffering taking place. I don't know why DLNA needs such a long time to buffer over a home Wifi network.6) Whenever you change folders you have to click the DLNA icon again and re-select your playback device. Not sure why this is, seems like a bug...Unfortunately I did a little research and there is no way to physically copy files to your computer through DLNA, you'll have to use other methods.Make sure you turn this stuff off when you connect to public Wifi .-sluzbenik
44.When viewing videos using the stock video player, you can lock the touchscreen by pressing the power button so that the video does not get interrupted by inadvertent touches. This is especially useful if you are using your phone to entertain your baby or toddler. Also works with mx player though haven't tried it with other players -limeaid
45.Do not know if it has been mentioned already, but you can also bring the phone up to your ear and it will call that contact.-ricky babalu
46. if you are in the apps drawer, and you pinch the screen, you will see all pages of your apps and can quickly choose the one you want.-moonfire711
47.Haven't noticed this being addressed but regarding S-Beam it appears that both phones are required to utilize the same app that is involved with the file being transferred. For example, I use "quickpic" as the default image viewer and when I used s-beam to test a pic transfer, the phones connected however my buddy's phone went to the play store and more specifically went to the "quickpic" downlad page. Obviously my buddy's phone required him to dl the app in order to finish the transfer. I then opened the same file via "gallery" and reinitiated the transfer. This time the phones connected and transferred the file without a hitch. -augustorm
48. lock screen shortcuts can be edited on the swipe lock screen go to settings/security/lock screen options/shortcuts click the word shortcuts and not the toggle it will bring up the 4 shortcuts and your allowed to change which app is accessed or what order there displayed in -ironlood
49. Just found a way to substantially increase smoothness. Under Developer Options--> Limit Background Processes. I set mine to 5 and notice a difference -eyecon82

[MOD] How To DISABLE HOME BUTTON WAKE & Assign SWIPE WAKE

This all started after I noticed how much I accidentally hit the Home Button with my flip case on the Note 2,
It sometimes woke the phone and jumped it directly into an app, and thus, can also make unsolicited phone calls or such.
This will come in handy if you have a sticker (or elevated) home button, and when you need to wake the device quickly without having to hit the power button (i.e. check maps while driving, etc.)
**Video demonstration coming soon**
WHAT THIS DOES:
1) Disables your home button wake. Meaning that you will officially stop the home button from waking up your device.
2) Every other function of the home button will be left unchanged.
3) Use app called "GestureDroid" from the Play Store to wake device without having to hit the powerbutton.
INSTRUCTIONS:
**NOTE: You do this at your own risk, you will need to have ROOT in order to perform the first task of disabling your Home Button wake function.
1) Use a file explorer such as Root Explorer (recommended. It creates a wonderful backup of the modified system file) or ES File Explorer from the Play Store. Open up the app
2) Navigate to SYSTEM in your root directory (directory should appear as "/system"), then navigate to USR, and finally locate the folder KEYLAYOUT
4) Mount the read/write to read/edit: Press the "Mount R/W" grey box on the top right area (if using Root Explorer) and it should switch to say "Mount R/O".
5) Look for the file titled as "gpio-keys.kl", and long press for options (if using Root Explorer) and choose the option to "Open in Text Editor"
4) Once in Text Edit mode, look for the line "Key 172 HOME WAKE" and remove the word "WAKE".
7) Press back, confirm and save. Root explorer should now have saved a backup file for you.
8) REBOOT
TOGGLING WAKE GESTURE
1) Go to the Play Store and look for the app called "GestureDroid". There is a free version, and if you want more functions, I would suggest that you support the developer and purchase the pro version for $1.31 USD.
2) Open the app, and tap the green checkmark to enter. Enable "Start/Stop service", and also your preferred choice of 1 gesture or 2 gestures (and etc, if you have the pro version)
3) Under "Action", select WAKE PHONE
4) Go to "Advanced Settings", select ACTIVATE SENSOR IN SLEEP and also ENABLE IN LANDSCAPE.
5) Personally for me, I've edited the Maximum time to become 350ms, this permits me to swipe at a comfortable speed without going frantic trying to wake my phone. I have also changed the Minimum time to be 300ms, and Wake Time to be 6000ms.
**ADDITIONAL NOTES:
- App is on, even if it doesn't show on Notifications Area.
- App can also wake into lockscreen or bypass lockscreen
- You should notice a faint red glow on your sensor if the app is working
- You will need to do your swiping motions closer to the sensor if it doesn't seem to work
- After rebooting, the app might need to be refreshed, turned on/off again, or have the "Activate Sensor in Sleep" option re-enabled.
- For flip cases, I would recommend choosing the "2 Gestures" option.
CREDITS:
Gesture Droid
Root Explorer App
and other tweakers who have done a similar task of disabling home-wake
(i.e. http://forum.xda-developers.com/showthread.php?t=2017221 or http://www.youtube.com/watch?v=GhB5kJGQKsI)
If this MOD has helped you, HIT THE THANKS BUTTON.
I don't have a problem with my home button I think it's a little too hard yet. As far as the app you suggest, I suggest proximity sensor as it is a much better app that works to turn on and off your phone using the cover. Note, you might have to put a thin card on the inside of your cover.
Sent from my SGH-I317 using xda premium
For those who find some issues with GestureDroid (the sensor turns off occasionally) try a app called "Tap Tap App". You need to give it permission to act as administrator over screen on/off after you install the app, but I find that it's a lot more reliable because of this reason.
Tweak with the settings by going into "Unlocking Training", and then selecting "Sensor configuration".
Sent from my SGH-I317M using xda app-developers app
I used this mod because everytime I slide it into my pocket, I do so upside down which means to grip it and pull it out, I tend to hold it in a way that hits the home key before it's out of my pocket causing all sorts of issues for me. Looking around, I also noticed a few configuration files for various controllers and keyboards including the usb Xbox 360 controller and the Apple keyboard. Is it possible to write/download one for something like the PS3 Sixaxis?
Do you mean finding an app that can offer plug and play of your PS3 controller? Or do you mean configuring the individual buttons?
This is the app that's available for the six axis controller:
https://play.google.com/store/apps/details?id=com.dancingpixelstudios.sixaxiscontroller
Sent from my SGH-I317M using xda app-developers app

[GUIDE] Use NFC to unlock your phone, Galaxy S3 or other!

UPDATE!!! There's a new XPosed Framework module in town that makes this whole thread obsolete. Check out the new NFC Unlock module, forked from the NFC LockScreenOff Enabler module already used in this project. Way simpler, fewer moving parts to configure, and works well. Check it out. Otherwise, this has been a fun way to learn how to use Tasker! Thanks, all!
Original Post
This is a guide to show you how to set up your phone to be unlocked by an NFC tag. There are several other threads on the subject for various phones and carriers, but it took me several weeks worth of research and testing to come up with something that actually worked on my phone, and this tutorial is the culmination of that effort. In theory, it should work for a wide variety of ROMs (including Stock), phones and carriers, and even survive ROM updates (provided you maintain root), but I have only tested it on a Sprint Galaxy S3 (model d2spr) that is rooted and running CyanogenMod 10.1.
DISCLAIMER! I am NOT responsible for any damage to your phone, loss of data, use of your phone, or spontaneous sharknadoes that may occur if you try these steps! It worked for me, but I make no guarantees that it will work for you! Back up all your data and your ROM, and use this at your own risk!
HARDWARE REQUIREMENTS
An NFC capable phone, like your Sprint Samsung Galaxy S3 with Root Access enabled
An NFC tag, such as Samsung TecTiles
SOFTWARE REQUIREMENTS
XPosed Framework
ONE of these XPosed Framework plugins:
MoDaCo Toolkit Plugin for the XPosed Framework (NFC Always On or On When Unlocked)
NFCLockscreenoffEnabler.apk for the XPosed Framework (lets you choose between Always On, On When Unlocked OR On At Lockscreen for better battery life)
NFC Task Launcher from the Play Store
Tasker from the play store
Secure Settings Plugin for Tasker
STEP 1: Install the software!
Install all of the software listed above.
Open XPosed Framework and enable the MoDaCo Toolkit OR the NFCLockscreenoffEnabler.apk in the Modules tab
STEP 2: Turn on NFC scanning all the time
Normally, Android only scans for NFC tags when the phone is unlocked. We need to scan for NFC tags when the phone is locked, and in our case, when the screen is off. Open the MoDaCo Toolkit app and check the box to Enable NFC when screen is off under Settings -> Wireless
WARNING!!! Turning on NFC scanning when the screen is off may adversely affect your battery life!
STEP 2 ALTERNATIVE: Turn on NFC scanning at Lockscreen
Open the NFCLockscreenoffEnabler.apk app and select Enable NFC when phone is locked, but the screen is on. This option should be a little easier on your battery. (Thanks to @nacron for finding this!)
STEP 3: Make Secure Settings a Device Administrator
Open Secure Settings and go to the Configuration Menu by tapping the wrench icon in the upper-right hand corner. Once there, check the box next to Device Administrator and select "Activate" on the confirmation screen.
STEP 4: Teach Tasker how to Lock and Unlock your phone
We can either do this the easy way, or the hard way.
Easy Way - Import the Tasks
Download and unzip NFC-Unlock-Tasker-Tasks.zip and copy the enclosed XML files to your phone
Open Tasker and long-press the Tasks tab
Select Import and open the files that you just copied
There is no step 4.
Hard Way - Manually Enter the Tasks
If you don't trust the import function, or just want to learn more about creating tasks in Tasker, you can create the tasks manually.
Open Tasker and select the Tasks tab. Create a new Task by tapping the big "+" sign, name it "LOCK", and add the following actions:
Select Task -> If
Under Condition on the LEFT side of the condition, type TRUN (the variable for Tasks Running)
Tap the Condition Operator icon (the grey button in the middle) and select Doesn't Match, or !~
On the RIGHT side of the condition, type *Unlock*
Under the If statement, select Plugin -> Secure Settings then tap Edit.
Select Keyguard and set the following options:
Select radio button On
Select Plugin -> Secure Settings then tap Edit.
Select Lock Device and set the following options:
Box for Device Admin Enabled is checked
Select Task -> End If
Create a new Task named "Unlock", and add the following actions:
Select Task -> Stop And select the Lock Task that we created earlier.
Select Plugin -> Secure Settings then tap Edit.
Select Wake Device and set the following options:
Wake Type: Screen & Keyboard Lights On
Duration: 30 seconds
Select Task -> Wait and set duration to 100 MS
Select Plugin -> Secure Settings then tap Edit.
Select Keyguard and set the following options:
Select radio button On
Select Task -> Wait and set duration to 100 MS
Select Plugin -> Secure Settings then tap Edit.
Select Keyguard and set the following options:
Select radio button Off
Check box Run in background (No Notification)
If you run this Task now, you probably won't notice anything different right away. However, if you lock your phone and then unlock it, you'll notice that any security that you had set up is now bypassed. That's why we needed to teach Tasker how to lock your phone, as well.
STEP 5: Teach NFC Task Launcher to Unlock your phone
Open NFC Task Launcher and create a new task for NFC named "Unlock Phone".
Take your NFC tag and follow the instructions on the screen to write the tag for this task.
Add a new Task by tapping the big "+" icon in the upper right corner.
Select Category Tasker
Check "Tasker Task" and tap "Next"
Type "Unlock" in the field next to the magnifying glass icon under Tasker Task and tap "Add to Task"
Congratulations! You can now unlock your phone with your NFC tag! Of course, as we mentioned above, this leaves your phone without any passcode protection that you may have previously enable. Which leads us to our final step...
STEP 6: Teach Tasker to Lock your phone
Open Tasker and select the Profiles tab
Create a new Profile with the big "+" at the bottom of the screen and select Event
Select Display -> Display Off
Go back to the Profiles page by tapping the "< Event Edit" icon in the upper left corner.
Select the Lock Task that you made earlier
Now when the screen goes off, your phone is secure again.
That's it! My hope is that this tutorial is easy to follow so that anyone who wants to unlock their phone with an NFC tag can get it working. While there are a lot of steps, I tried to make them clear and specifically looked for a method that was flexible enough to allow me to update my phone or even use a different phone with this method, without having to track down a modified NFC.apk for my specific firmware every time I wanted to update.
In regards to how battery life is affected by having NFC turned on all the time, my personal experience shows no appreciable decrease in battery life. I went all day yesterday without charging (about 15 hours) with typical usage for me, which includes 2-3 hours of podcast playback over both wired and bluetooth headphones, occasional GMail and Facebook usage, Solitaire, and 45-60 minutes of phone calls, which is on par with what I was getting before the hack. As with all things, your mileage may vary. If battery life becomes an issue, try the new NFCLockscreenoffEnabler.apk plugin that @nacron found instead of the MoDaCo one which gives you the On At Lockscreen option in addition on Always On. It should save you a bit on battery life.
Many thanks to the authors of the software I used (XPosed Framework, MoDaCo Toolkit Plugin, NFCLockscreenoffEnabler.apk, NFC Task Launcher, Tasker, Secure Settings Plugin), as well as this thread and this web page for giving me the framework to construct this rather elaborate NFC hack.
I would love to hear from others if this works on other phones.
Changelog:
2013-09-05 - Add NFCLockscreenoffEnabler.apk option for NFC on at Lockscreen (thanks @nacron for this!)
2013-08-14 - Changes to the Tasker Tasks that make the lock and unlock functions run a bit more smoothly by avoiding collisions. (i.e., if you're unlocking the phone, it won't try to lock it until the unlock is done.) I've also added easy-to-import XML files for the Tasks, so you don't have to type them in manually anymore!
2013-08-09 - Initial release (can you "release" a process?)
Wow, thanks for the info.
New instructions and importable task files make getting this set up a whole lot easier! Updates in the OP!
I've attached a cheap NFC tag to my watch wristband, cleverly disguised by gold nail polish, and unlock by NFC is now my preferred unlock method.
I like this. Posting to keep track of it.
Well, as soon as root is found for the DROID MAXX, I will be using this.
Sent from my Nexus 7 using Tapatalk 2
Hello,
After trying this on a Samsung Galaxy S3 Stock 4.1.2 and Slim Bean (worked like a charm), I have found a glitch on the stock firmware. When making a call the screen would go off via the Proximity sensor so <b>Tasker</b> would lock the phone.
So I made a little addon to the following part and the problem stoped:
Original:
STEP 6: Teach Tasker to Lock your phone
Open Tasker and select the Profiles tab
Create a new Profile with the big "+" at the bottom of the screen and select Event
Select Display -> Display Off
Go back to the Profiles page by tapping the "< Event Edit" icon in the upper left corner.
Select the Lock Task that you made earlier
Modified:
STEP 6: Teach Tasker to Lock your phone
Open Tasker and select the Profiles tab
Create a new Profile with the big "+" at the bottom of the screen and select Event
Select Display -> Display Off
Go back to the Profiles page by tapping the "< Event Edit" icon in the upper left corner.
Select the Lock Task that you made earlier
[*] Select Display off (long-press) -> Add -> State -> Sensor -> Proximity sensor -> Check invert
That's it!
Now when you get a call and answer it Tasker will know that the proximity sensor is used and will not lock the phone
Hope it works for you too.
Thanks,
[/QUOTE]
stealthdave said:
New instructions and importable task files make getting this set up a whole lot easier! Updates in the OP!
I've attached a cheap NFC tag to my watch wristband, cleverly disguised by gold nail polish, and unlock by NFC is now my preferred unlock method.
Click to expand...
Click to collapse
Thats slick man. I may have to use that for myself lol :good:
This is great, thanks man but one problem. When I use my tag to unlock the phone, use the phone then hit the android home button to return to my default screen, it locks the phone instead. If I unlock it normally (Entering PIN) it doesn't display this behavior. What am I doing wrong.
Deleted
LevanG said:
Hi, can I use this method to unlock my LG Lucid2?
I want to use it on GSM network...
Click to expand...
Click to collapse
Wrong kind of "unlock", I'm afraid. This unlocks your screen so that you can bypass the lock screen; it doesn't do anything for carriers locking the phone to their network. Think of this as using an NFC tag as your password.
OK, sorry and thanks for your reply
lloydcabraham said:
This is great, thanks man but one problem. When I use my tag to unlock the phone, use the phone then hit the android home button to return to my default screen, it locks the phone instead. If I unlock it normally (Entering PIN) it doesn't display this behavior. What am I doing wrong.
Click to expand...
Click to collapse
Try adding a 200ms delay to the beginning of the LOCK Task. This seemed to make things a bit more predictable on my phone.
stealthdave said:
Try adding a 200ms delay to the beginning of the LOCK Task. This seemed to make things a bit more predictable on my phone.
Click to expand...
Click to collapse
Actually, already have added a delay at the beginning to the Lock task but it didn't do anything to correct the behavior to the Home button. I should probably add that I'm using this with an HTC One that already has a funky Home / Menu button configuration. Home button works fine when I unlock normally but seems to get remapped to go back to the lock screen when I unlock it using NFC.
lloydcabraham said:
Actually, already have added a delay at the beginning to the Lock task but it didn't do anything to correct the behavior to the Home button. I should probably add that I'm using this with an HTC One that already has a funky Home / Menu button configuration. Home button works fine when I unlock normally but seems to get remapped to go back to the lock screen when I unlock it using NFC.
Click to expand...
Click to collapse
Likewise. I have the same problem as well. The physical Home button just takes me back to my pin lockscreen if I had unlocked via NFC. If I unlocked my phone manually by entering my pin then everything just works fine.
EDIT: Should also say that my phone is the S3.
@lloydcabraham and @bleAf! , what version(s) of Android are you running? I'm on 4.2.2 (CM 10.1.2), and my Home button is working as expected. I'm also using Nova Launcher as opposed to the stock Android launcher. Also, I presume that you haven't inadvertantly remapped the Home button, either by Tasker or some other setting or app? (Forgive me if some of this sounds like basic tech support stuff; just spitballing ideas since I can't reproduce.)
stealthdave said:
@lloydcabraham and @bleAf! , what version(s) of Android are you running? I'm on 4.2.2 (CM 10.1.2), and my Home button is working as expected. I'm also using Nova Launcher as opposed to the stock Android launcher. Also, I presume that you haven't inadvertantly remapped the Home button, either by Tasker or some other setting or app? (Forgive me if some of this sounds like basic tech support stuff; just spitballing ideas since I can't reproduce.)
Click to expand...
Click to collapse
Not at all, I appreciate your help. I'm using ElementalX kernel that remaps the HTC logo as a menu button but leaves the back and home button alone. Maybe that's the issue? It's just funny that I only have the problem if I use my NFC to unlock the phone using the supplied scripts. Oh well, no biggie but if you can help me figure it out, it would be great. I can send you a cwm backup (wiped of course) if you'd like to try my setup?
lloydcabraham said:
Not at all, I appreciate your help. I'm using ElementalX kernel that remaps the HTC logo as a menu button but leaves the back and home button alone. Maybe that's the issue? It's just funny that I only have the problem if I use my NFC to unlock the phone using the supplied scripts. Oh well, no biggie but if you can help me figure it out, it would be great. I can send you a cwm backup (wiped of course) if you'd like to try my setup?
Click to expand...
Click to collapse
Actually, it would probably be easier for you to just try a different kernel and see if it still works. Given the description of what it does, my guess is that might be the issue.
It also might be an issue with the XPosed Framework or MoDaCo plugin on the HTC One specifically. (It does have its own special installation procedure.)
- Dave
stealthdave said:
@lloydcabraham and @bleAf! , what version(s) of Android are you running? I'm on 4.2.2 (CM 10.1.2), and my Home button is working as expected. I'm also using Nova Launcher as opposed to the stock Android launcher. Also, I presume that you haven't inadvertantly remapped the Home button, either by Tasker or some other setting or app? (Forgive me if some of this sounds like basic tech support stuff; just spitballing ideas since I can't reproduce.)
Click to expand...
Click to collapse
I'm on 4.1.2 (Samsung based rom with stock kernel). I'm also using Nova launcher and I just tried stock Touchwiz launcher but same result.
I'm thinking it may be just something to do with Samsung Touchwiz or HTC Sense based rom (If lloydcabraham is also running HTC based rom or stock).
Thanks for your help stealthdave.
For some reason I can't get my phone to recognize the NFC tag when the screen is off or even in the lock screen. Only when I'm past the lock screen will the NFC tag recognize. The xposed framework was part of the ROM i'm using (M.O.A.R.) and I just installed the MoDaCo mod via the link. I checked off NFC on always and restarted several times but it still won't recognize when the screen is off.
[EDIT]
Got it to work using this xposed module instead of the MoDaCo one for always on NFC.
http://forum.xda-developers.com/showthread.php?t=2122019
Also having issues of lock coming back on after doing any action post unlock via NFC. I think it's a hack Samsung put together for the latest firmware upgrade after the whole problem with the bypassing the lockscreen by going through the emergency screen. The op wouldn't have this issue as he's not using a TW rom. I wonder if there is a way to have it input the key instead of bypassing the key.
[EDIT 2]
Overcame this issue by using the secure settings to reset the pin to nothing when unlocking via NFC and enable the pin when the screen goes off. This method even prevents the phone from locking during a call. I have a new issue of the swipe screen coming back right after NFC unlock. I'll post my findings a little later. It's not the most elegant of fixes but it prevents the lock screen from coming up when pressing the home button. I also removed all the waits and made lights and keyboard on for 5 seconds, makes unlocking faster.
The action for password/pin reset in Secure Settings is in All Actions > Dev Admin Actions > Password/Pin. You just select disabled when unlocking and it removes your existing pin and when you select enabled for lock, it prompts you to enter your pin twice in the settings. Not sure how secure this is or where it stores your password/pin. The only problem with this method is that you'll have to change the password/pin in secure settings if you decide to change your password/pin in the android settings or you'll end up with 2 different passwords/pins
Not sure if this works if you have pattern unlock. Haven't had time to test that.
So this is how my unlock task looks like:
1. Stop task lock
2. Secure Settings > configuration > Screen and keyboard lights on for 5 seconds
3. Secure Settings > configuration > clear password
4. Secure Settings > configuration > Keyguard disabled
and my lock is simply
1. Secure Settings > sonfiguration > Set Pin
and my profile is
Display Off > Lock
[EDIT3]
Figured out why it was presenting the swipe lock screen when doing a quick NFC unlock removal . I'm using the hacked version of AnyTAG NFC Launcher, instead of the NFC Tag Task Launcher, that detects NFC Tag removal as well as placement. Thought this app would be more extensible in the future. The only problem with this is that it will keep insisting on launching on NFC Tag removal if you don't set something so I just set the task to do nothing and that was locking the swipe screen again. I just set it to the same task as unlock and it doesn't pull up the swipe screen anymore.
Also, the battery replacements from Sprint suck. It's a generic sprint branded battery that DOES NOT have an NFC antenna in it. Picked up the replacement along with tectiles yesterday and couldn't figure out for the longest time why this unlock thing wasn't working. Their battery part number is BSML71021L. Gotta call them up to see if they can give me back my old battery or give me a real samsung replacement.
[EDIT 4]
After trying to get this to work consistently, I've disabled it. I can get tasker to remove/reenable the pin consistently but only sometimes will it clear the lockscreen automatically.
nacron said:
For some reason I can't get my phone to recognize the NFC tag when the screen is off or even in the lock screen. Only when I'm past the lock screen will the NFC tag recognize. The xposed framework was part of the ROM i'm using (M.O.A.R.) and I just installed the MoDaCo mod via the link. I checked off NFC on always and restarted several times but it still won't recognize when the screen is off.
[EDIT]
Got it to work using this xposed module instead of the MoDaCo one for always on NFC.
http://forum.xda-developers.com/showthread.php?t=2122019
Click to expand...
Click to collapse
Thanks for this find! I've added it to the OP for others. It's worked pretty consistently for me with this new module for the 30 minutes I've had it installed, and hopefully it will lead to better battery life. (Battery life wasn't too bad, but I was starting to notice a difference with NFC always on.)
nacron said:
[EDIT 4]
After trying to get this to work consistently, I've disabled it. I can get tasker to remove/reenable the pin consistently but only sometimes will it clear the lockscreen automatically.
Click to expand...
Click to collapse
I'm sorry to hear that it's not working for you. Hopefully Google will eventually enable this functionality in Android proper. The Moto X certainly shows that it's not only possible, but practical.
- Dave

Single tap to swipe option is gone!

Hello everybody,
Soon after getting the Pie update, after the first security small update, i noticed that on my wife's Galaxy S9 the setting "Single tap to swipe" option is gone. Anybody else having this problem ?
Thanks!
Same here. I have also preferred tap instead of swipe... Definitely i am going to change this Samsung brand...
Mee too! I'm very angry...
LOL, you guys break me up, so fickle that you'll change phones because of single tap to swipe feature missing. There is no way you could have even liked the phone if you'll drop it for this.
Same on S9+. It worked on One UI security patch January 1, but it is gone after February 1 update.
Lame, I thought my phone got stuck, took me few days until I tried to swipe, LOL...
I am used to end the call with Power key but never got the hang of using the Volume up key for answering calls, so I just used tap instead of swipe.
Now I guess I am doomed.
My workaround will be to try to get used to using Bixby key for answering calls since bxActions app has such an option.
Until they break that with some update also.
On Note 9 still working after the last update, hope they will not mess with it.
For some reason in latest update they moved it under: Interaction and dexterity -> assistant menu -> Single tap to swipe ....
but now i am stuck with useless menu on my screen (kept only one option in the menu) but when disabling the menu - single tap stops working
Thanks kabangena, with your help i found it. I have set the maximum transparency to the small assistant menu and i moved it in the upper right corner. I cannot see the icon anymore. It's a temporary fix, hope Samsung will do something about it.
florio1960 said:
Thanks kabangena, with your help i found it. I have set the maximum transparency to the small assistant menu and i moved it in the upper right corner. I cannot see the icon anymore. It's a temporary fix, hope Samsung will do something about it.
Click to expand...
Click to collapse
same here , but it's still very annoying
Is anyone solved the issue, even with the third-party app? That's really annoying; why don't left that useful option "as is"?
You can hide the assistant menu by long press on it and a circle with "X Hide Here" appears in top center of the screen, drag it into the circle. This hides assistant menu in the notification panel. You have to see the notification every time you swipe down to open the panel, but it is completely hidden from the home screen.
damnpoor said:
You can hide the assistant menu by long press on it and a circle with "X Hide Here" appears in top center of the screen, drag it into the circle. This hides assistant menu in the notification panel. You have to see the notification every time you swipe down to open the panel, but it is completely hidden from the home screen.
Click to expand...
Click to collapse
Except, after the screen closes and I hit Home to open it again, this little piece of worthless junk is back.
I'd just leave it somewhere and ignore this POS, but it covers parts of apps that I regularly use.
Why do people think that deleting functionality is a good thing?
Finally I found the solution (not a permanent but still affordable).
- turn Settings->Accessibility->Interaction and dexterity->Assistant menu on and (inside "Assistant menu") set Single tap to swipe is on
- weird floating icon should appear but don't worry
- go to Settings->Apps, press "3 dots" in the top right corner and tap on Show system apps
- find an app called Accessibility, tap on, scroll all way down and remove Appear on top advanced permission (I've also disabled Change system setting)
- now scroll up, and tap on Force stop button
Weird button will disappear and re-appear after reboot only (you should repeat last step again after reboot but it's OK, I believe so)
Enjoy!
P.S. Thanks to user drmusou for his post.
[UPDATE] There is a permanent solution! Set Single tap to swipe option and disable package com.samsung.accessibility by Package Disabler Pro+ (Samsung).
Or just with ADB shell:
c:\adb>adb shell pm disable-user --user 0 com.samsung.accessibility
If you tap and hold the assistant menu you will have the option to hide it " it will re appear after reboot" but can do the same again ?

How to launch Google Assistant on phone from Galaxy Watch

Hi all,
I've been searching for a way to trigger Google Assistant on the phone from the watch (kind of like a remote Google Assistant button) and I thought I'd share my progress and gather insights for alternatives/better ways of doing it. This might be super obvious to some of you but for me it was a long way in the making. I started off wanting to develop a separate app from the watch to do this, but ended up just using Tasker to create a notification with 'Voice Command' as its Action.
Why:
Sometimes I want Google Assistant to make a call, send a text, check the weather, set a reminder, play a song etc. but "OK Google" isn't registering. GAssist.net is still growing and doesn't have full assistant functionality yet. Also on my old phone, the screen had to be on for the Google Assistant hotword to be registered, so this is an explicit way to access it.
Requirements:
Tasker 5.9
Android phone
Instructions:
Creating the notification in Tasker
1. Go to Tasks and press '+'
2. Name the task whatever you want, e.g. 'Assistant notification'
3. Press '+' > Alert > Notify
4. Title: 'Launch' , Text: 'Google Assistant' , Icon: <Whatever you want>, Priority: '5', Repeat Alert: Checked, Vibration Pattern: '1', Category: (Press the search and press 'User Notifications' )
5. Under actions, press '+'
6. Label: 'Start', Action: (Press the search and select 'Input' > 'Voice Command')
7. Go back on the top left corner
8. Press the play on bottom left to see if the notification launches, check Google Assistant opens when you press 'Start' in the notification
Creating the profile to trigger the notification in Tasker
What this does is every time the screen turns off, it will send the notification. You can alter this if you want to whatever suits you
1. Go to Profiles and press '+'
2. State > Display > Display State > Is 'Off'. Go back (top left corner)
3. There should be a pop up with tasks, select 'Assistant Notification'
4. Make sure the toggle is on for the profile
Test it on your watch. When the phone screen turns off, see if a notification comes through, and see if you can start Google Assistant from the notification on the watch.
Let me know how you go and what your thoughts are Feedback welcomed.
Notification task setting and how it looks on the watch
I can't find the 'user notification' in category. Just say you don't have any profile.

Categories

Resources