Tilt2 - How to Access 2nd Tab of Power Via Shortcut - Touch Pro2, Tilt 2 Windows Mobile General

I know there are plenty of apps out there to change brightness. But I want a simple shortcut to the native setting so I do not have to install anything else on my Tilt2. In the past I have always been able to create shortcuts that get me directly to the tab I want in any control panel setting. But I cannot accomplish this with the Power tabs on the Tilt 2.
There are various syntaxes that usually work. For example, to get to the 3rd tab in the Phone settings in order to change Bands, the target line in the shortcut reads:
\windows\ctlpnl.exe cplmain.cpl,20,3 (the 3 at the end indicates the 3rd tab)
And this works on my Tilt 2.
And to get to the Power settings the target is:
\windows\ctlpnl.exe cplmain.cpl,3
This opens up Power just fine. And the Backlight tab is the second tab. So I should just be able to add a 2 at the end like so:
\windows\ctlpnl.exe cplmain.cpl,3,2
But it does not work. In fact I cannot get Power to open up to any of the other tabs (Backlight, Advanced, Information). I have tried the other syntaxes such as:
26#ctlpnl.exe cplmain.cpl,3,2
ctlpnl.exe cplmain.cpl,3,2
I can also get to the same Power window by calling mycpl.cpl instead of cplmain.cpl like so:
ctlpnl.exe mycpl.cpl,4
But as soon as I add the tab modifier at the end it fails to open.
Can someone much smarter than I figure out how to get the Power window to open up on the Backlight tab? Muchas gracias.

Related

disabling roaming indicator on smartphone, home screen background oddities & comm mgr

disabling roaming indicator on smartphone, home screen background oddities & comm mgr
Apologies if I've put too simple a topic in this forum. I have three questions. My phone is actually a Samsung i320, but I'm hoping these questions apply across any WM5 smartphone.
1) How can I disable the roaming indicator? I've got an older Voicestream SIM and most unlocked/import phones think I'm roaming. I tried the same reg key as on the K-Jam PPC but it didn't work.
2) I've created a custom home screen with a transparent top menu bar. When I select a background jpg for it the jpg is cropped (for lack of a better word) to the size it would display if the top menu bar was not transparent. So depending on how I align the image (top or bottom) I get to see the background color where more of the image should display. Even stranger it behaves normally on the jpg files on the phone labelled "protected content" which seem to make a copy of themselves in \Windows under a shared file name when selected.
3) If I have another WM5 HTC smartphone (a StarTrk for example) is it possible to take that comm manager and copy it over to my Samsung i320? I miss the option to turn on and off the MS push. Alternatively what is the reg key entry to turn this on and off? (Yes I realize I can set schedules,etc, but it was sure nice on my K-Jam to just hit one button to temporarily disable it)
Thanks all for your expert help.
-Jim
It works some registry hack: HKLM\Drivers\BuiltIn\RIL
DisableRoamingIndicator
Change value to 1
...and it warks graeat. BUT !! remember afthe changing value wait some time, about 1-2min before make RESET, it is important !

Customizing today screen..

Hello all,
I can't see all available programs and system functions on the today screen customization window. Energy/battery and mouse mode applets are missing for example. Same goes for the harware button mapping window.
Is there a windows registry hack to add these functions to the today screen, rather than installing a third party app?
Also, is there a way to disable GPRS connection by default and make it to ask you whenever it connects? I have no flat data rate and Tomtom sometimes tries to connect to get traffic data..
Thanks..

[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

[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

[Guide] AOD activeclock (clocktransition) bug workaround on non-flagship phones

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!

Categories

Resources