[XT925] Nfc TagLost detection & Lockscreen ON for JB 4.1.2 Motorola ROM - RAZR HD Themes and Apps

Hello,
I wanted to add Taglost detection and NFC enabled on lockscreen on my RAZR HD.
I followed the tutorial from madfish73 http://forum.xda-developers.com/showthread.php?t=2122019
This modification add 2 things :
- NFC Enabled on Lockscreen, no need to unlock to make NFC works
Usefull with NFC Tags and applications like Tasker to make automated task (Car dock, bedtime etc...)
- Taglost detection
With NTC Retag you can enable taglost detection.
With this modification you can add actions when tag is removed (Car dock removal, of end of bedtime)
I made a flashable zip for CWM Recovery.
I SUGGEST YOU TO MAKE A FULL NANDROID BACKUP BEFORE DOING ANYTHING. I'M NOT RESPONSIBLE OF ANY DAMAGE YOU COULD DO TO YOU OR YOUR PHONE. USE IT AT YOUR OWN RISK.
Modified files are (make a backup at least) :
/system/app/Nfc.apk
/system/app/Nfc.odex (original deleted with flashable zip)
My ROM is DEODEXED, It should work on ODEXED ROM too, but I can't be sure.
Built with Retail FR 4.1.2 based ROM.
Thanks to madfish73 for his help.

It works, but...
Hello
I tried your modification and I think I have found a bug:
If I take phone to tag and after it take out from tag before the screen turn off it works fine.
But if I take phone to tag, wait then the screen turn off, turn the screen on and take the phone out from tag the NFC stop working (needs to turn it on in android menu).

Hi, well it is not really a bug... I understand what you mean, but it is not designed for screenoff...
So this bug is "normal". You shouln't leave it goes screenoff on NFC tag...
Currently, the only thing that works with screenoff is the Xposed module :
http://forum.xda-developers.com/showthread.php?t=2122019
I tried to enable screenoff NFC myself, but I faced a bug with taglost stop responding after 1 minute screenoff...
NFC detection tag was always working but taglost bugged if screenoff too long...

Thank you for your answer. Well as far as I understand I can't use it for example to switch to bedtime mode:
1. I put phone at tag - the silent mode turns on
2. If I remove phone without switch the screen off then silent mode turns off
3. But if I switch off the screen and try to get normal mode at the morning I will not get it due to problem I wrote early.
But it perfect for cardock because the screen is not turn off.

Orphee said:
I tried to enable screenoff NFC myself, but I faced a bug with taglost stop responding after 1 minute screenoff...
NFC detection tag was always working but taglost bugged if screenoff too long...
Click to expand...
Click to collapse
Dear Orphee, may I ask you to make version of NFC.apk with working screenoff NFC, but without taglost detection?
And one more question: is it possible to remove NFC icon on taskbar?
Thank you

Related

[Apr/16/2013][Android][APP] Proximity Screen Off 6.1 Pro - New Gestures!!!

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Youtube video:
http://www.youtube.com/watch?v=8e-TXcSM6GE​
After a great success of ProximtyScreenOffLite (more than 68,000 downloads) I decided to take all the feedback and feature requests by users and improve the features and quality of the app.
Pro Features:
Pocket/Flip or Smart Cover Mode: Turns screen OFF when sensor covered and ON when uncovered. (Feature requested by Galaxy Note users)
Turn Screen On/Off with following gestures:
Swipe Once,
Swipe Twice,
Swipe and Hold,
Hold and Swipe and
Cover and Hold
Ignore Apps list: Add the apps/games where you want to disable the service
Widget: to start and stop the service
ScreenOff shortcut: to turn off the screen by launching the app.
Sensor Configuration : Based on your device select the sensor of your choice, or the one that's available and configure their values, as they are different for different devices.
Enable screen on/off during calls only
Disable call handling completely
Battery saving options: De-Activate sensors after timeout and De-Activate sensors when power button pressed or system goes idle.
Override power button and screen-on by other apps (Phone is in pocket and you get a call or you accidentally press the power button, screen will remain off)
Prevent accidental screen on
Vibration on screen On/Off
Tips on using Light sensor for tablets/phones
Value when sensor covered
Tip: if you choose light Sensor and if you vales range from 0 to >50, keep this at around 15 (Use the charts to see what values sensors give out)
Value when sensor un-covered
Tip: if you choose light Sensor and if you vales range from 0 to >50, keep this at around 16​
Pro Changelog:
v6.1
• Reduced battery consumption further
• Fixed wakelock release
• Fixed ScreenOff delay in gestures
• Fixed gestures
v6.0
• Added light sensor support for nexus 7 and other tablets where sensors are unregistered after screenOff
• Deactivate sensors after timeout
• Keep screenOn after unlock - fixed the timeout
• Added new feature to schedule start/Stop of service
• Fixed Deactivating sensors if only one of the option is selected screen on/off
• added clear logs option, to generate fresh set of logs for debugging
• lot of minor fixes
v5.7
• Added app shortcut(PSOToggle), to start and stop service. With this you can integrate it with Tasker or Put it in a sidebar/notification shortcuts.
• Removed ScreenOff from recents app
• Fixed swipe and hold screen on gesture
v5.5:
No lockscreen on screenOn fix
debug logging toggle fix
added custom logging to SDcard with email support (require SDCard read/write permissions)
Fixed the combo "2 swipes" to screen on and "cover and Hold" to screenoff
v5.4:
Fixed the disable lockscreen
Added a feature to fix Flip Cover issue (No-Recognize Delay)
Auto configure tablets to use Light Sensor (Tested with Nexus 10/Note 10.1)
Added option to enable Debugging
v5.2:
Fixed widget issue
Fixed deactivation of sensors after timeout
Fixed disable in landscape
Fix Typo "screen on" under "screen off"
Added more screenOff methods
v5.0:
Added new gestures to turn On/Off screen:
Swipe Once,
Swipe Twice,
Swipe and Hold,
Hold and Swipe and
Cover and Hold
v4.3:
Improved the the Light Sensor gesture detection for tablets and phones.
v4.2:
Fixed app crash
Fixed alarm dismiss issue
Fixed lockscreen issue
Changed default settings of "Locks phone on ScreenOn" true.
v4.0:
New feature to save battery: sensors can be de-activated if power button is pressed or phone is idle (i.e, if app doesn't turn off the screen)
Fixed autostart after reboot
Fixed Disable vibrate on ignored apps
Fixed override screenOn in non-flip cover modes
v3.3:
Fixed the InCallOnly mode, sensor is active only during the senor, thereby saving power.
Added new battery saving feature: "De-Activate sensors after timeout". You can set a value in minutes and sensors will be de-activated after timeout and re-activated only when screen turns on.
Upgraded the Ignore list UI and included even the system apps.
v3.2:
Fixed flickering on ScreenON
Fixed lock screen/keyguard disable (Use option "Locks phone on screenOn" under "All settings" to enable lock screen)
v3.1:
Notification icon on status bar can be disabled/enabled now from "All Settings"
Download:
https://play.google.com/store/apps/details?id=com.itsme4ucz.screenoffpro
Lite Features:
1) Turn off the screen by sliding your hand
2) Turn off the screen by Covering the sensor for a duration of time (Tap and Hold)
3) Turn on the screen by Covering the sensor for a duration of time (Tap and Hold) - Note: This can cause Battery Drain
4) Enable screen on/off during calls only
5) ScreenOff shortcut, to turn off the screen by launching the app.
6) Based on your device select the sensor of your choice, or the one that's available and configure their values, as they are different for different devices.
If you love this app and want to support my efforts:
Code:
v3.7
- Fixed Phone locks to lock-screen by default
v3.6:
- Added option to enable/disable call handling
- Fixed bugs
v3.5:
- De-activate sensor when only screenOff mode is enabled. (except if override power button is enabled)
- enableInCall battery save mode added. Sensors are only active during the call.
- [New feature] to override lock screen, can be disabled by enabling lockOnScreenOn
- [New feature] override power button (Sensor needs to be active on screenOff)
v3.3:
- Fixed enableInCall option
v3.2:
- BUG FIX: Light sensor can now be selected to use gestures.
V3.1
- Added Notification to service (Now it can be disabled from settings)
- Auto starts with system
- Service wont get killed anymore
- Added smaller timeout values (0.25 seconds)
- Added charts to visualize sensor values.
- Easy uninstall works now
[B]09/03/2011: Version 2.0[/B]
- Added support for more devices by making sensor values configurable!!
> Select which sensor you want to use
> Set the values of sensor when covered and when open.
Note : try this only if this app does not work on your device.
- Added more timeout values, less than a second!!!
- Added, "During call only" feature.
- Added explicit uninstall feature.
[B] 02/02/2011: Version 1.9[/B]
1) [Bug Fix] Call handling fixed. However if you have ScreenOn feature enabled, it may conflict during call.
2) [Bug Fix] Release the wake lock after ScreenOn , this was causing the screen to be on forever, until its turned off by user/sensor.
3) Auto Unlock - ScreenOn will directly take you to home screen instead of lock screen
[B] 25/01/2011: Version 1.8[/B]
1) Bugs fixed:
- Fixed the issue where it stopped working/crashing after few try's
- Screen Off is much faster without any animations
18/01/2011: Version 1.7
1) Bugs fixed:
- Disable on Landscape fixed for "Cover and Hold" option
- Fixed WindowManager$BadTokenException
2) Made "Disable Accidental Lock" default.
3) Now you can only have one of the options enabled either "Disable Accidental Lock" or "Cover and hold to turn off Screen"
17/01/2011: Version 1.6
1) On huge requests I have added, Cover and Hold to "screen off" - Cover the proximity sensor for a specified duration will turn off the screen.
2) People who don't care about battery drain, I have added, Cover and Hold to "screen On" - Cover the proximity sensor for a specified duration will turn on the screen.
3) Bug fix: Screens sometimes goes off on first screen on.
30/12/2010: Version 1.5
- Added option to disable/enable accidental screen off's, just set the time out after which it wont turn off the screen.
- Added call handling, When phone is in pocket and it rings, screen remains off, once removed out of pocket screen will turn on!! (This feat can be disabled through another option)
22/12/2010
- Added a configuration screen
a) Now users can easily enable/disable DeviceAdmin, this will greatly ease the un-install process
b) Enable/Disable in landscape
- Added More elegant way to enable device admin permissions
- App creates 2 shortcuts, one for ProximityScreenOff and another for ScreenOff (One tap screen off)
- Lots more to come :)
20/12/2010
- Provision to enable/disable proximityScreenOff
- Battery consumption significantly less, please share your findings
- Disable proximityScreenOff on landscape!!
- Lot more to come...
19/12/2010
Added proximity sensors to screenoff app!! now turn of ur screen with a swipe!!!
Note:
1) To un-install, go Settings, Locations & Security, Select Device Administrators and disable the ScreenOff App...
AVAILABLE ON ANDROID MARKET!!!
QR code Below.
Says it's not compatible with my Note running h0tw1r3's CM10 build.
VoluntaryMan said:
Says it's not compatible with my Note running h0tw1r3's CM10 build.
Click to expand...
Click to collapse
Yea don't think its compatible with JB. I can download on stock ics.
Sent from the TermiNOTEr!
VoluntaryMan said:
Says it's not compatible with my Note running h0tw1r3's CM10 build.
Click to expand...
Click to collapse
Will look into it today by flashing JB... and then test the app.
Sent from my SAMSUNG-SGH-I717
itsme_4ucz said:
Will look into it today by flashing JB... and then test the app.
Sent from my SAMSUNG-SGH-I717
Click to expand...
Click to collapse
Fixed ...
Sent from my SAMSUNG-SGH-I717
itsme_4ucz said:
Fixed ...
Sent from my SAMSUNG-SGH-I717
Click to expand...
Click to collapse
been looking for something like this. thanks
Great app works good. Although one slight problem..
My phone seems to have random reboots and the power button seems to malfunction while the service is activated.
This typically happens when the phone is in my pocket
Additionally.. I don't quite understand how to make the 'swype screen to turn' function NOT make my screen flicker...as this usually takes 2-3 tries before I get it correct.
Thank you again!
Sent from my SAMSUNG-SGH-I717 using xda premium
Ray_Banci said:
Great app works good. Although one slight problem..
My phone seems to have random reboots and the power button seems to malfunction while the service is activated.
This typically happens when the phone is in my pocket
Additionally.. I don't quite understand how to make the 'swype screen to turn' function NOT make my screen flicker...as this usually takes 2-3 tries before I get it correct.
Thank you again!
Sent from my SAMSUNG-SGH-I717 using xda premium
Click to expand...
Click to collapse
Not sure what is causing reboots, however try to swipe slowly over the sensor and let me know if that works...
p.s: which phone and os version are you on?
itsme_4ucz said:
Not sure what is causing reboots, however try to swipe slowly over the sensor and let me know if that works...
p.s: which phone and os version are you on?
Click to expand...
Click to collapse
I tested it today and infact- the app is causing the reboots but like an idiot I don't have a logcat so ill get back to you
Swyping slowly does make it turn on properly
Although, why can i swype fast to shut it off?
I'm running CM9 4.0.4 at 213 dpi on the ATT note
Thanks so much for replying!!
Sent from my SAMSUNG-SGH-I717 using xda premium
Ray_Banci said:
I tested it today and infact- the app is causing the reboots but like an idiot I don't have a logcat so ill get back to you
Swyping slowly does make it turn on properly
Although, why can i swype fast to shut it off?
I'm running CM9 4.0.4 at 213 dpi on the ATT note
Thanks so much for replying!!
Sent from my SAMSUNG-SGH-I717 using xda premium
Click to expand...
Click to collapse
Will look into the speed of swipe problem at the earliest...
itsme_4ucz said:
Will look into the speed of swipe problem at the earliest...
Click to expand...
Click to collapse
Fixed it in 3.2 Pro version, let me know if it works. (are you on pro/Lite version?)
Version v3.3 is out with lot of fixes and features:
☀ Fixed the InCallOnly mode, sensor is active only during the senor, thereby saving power.
☀ Added new battery saving feature: "De-Activate sensors after timeout". You can set a value in minutes and sensors will be de-activated after timeout and re-activated only when screen turns on.
☀ Upgraded the Ignore list UI and included even the system apps.
Thanks for the app. When the proximity sensor turns off the screen the screen pops back on at my pattern lock screen than stays of after about 10 seconds. Does this happen to others? I am on flapps UCLF6 ROM.
That's a known problem with few ics roms lock screen...
Try using miLocker or holo lock screen or try a different rom.
Sent from my SAMSUNG-SGH-I717
I just bought the pro version. 3.3 I am running FJ Mod build 4 ROM
I have the standard Samsung black flip cover.
I have the lock screen turned off.
It seems that the logic is not correct.
I am set to the flip mode.
When I close the cover nothing happens if the screen is on. If the screen is off then the screen turns on. This is not correct.
If the screen is off, then if I open the cover it turns on - this is correct.
The interesting part is that is I use my fingers to trigger the sensor, your app works fine.
Its only the cover closing when the screen is on that does not work - I have the vibrate on so I can tell when the app activates.
Please advise or fix or I can run a log if that is needed.
bsw11 said:
I just bought the pro version. 3.3 I am running FJ Mod build 4 ROM
I have the standard Samsung black flip cover.
I have the lock screen turned off.
It seems that the logic is not correct.
I am set to the flip mode.
When I close the cover nothing happens if the screen is on. If the screen is off then the screen turns on. This is not correct.
If the screen is off, then if I open the cover it turns on - this is correct.
The interesting part is that is I use my fingers to trigger the sensor, your app works fine.
Its only the cover closing when the screen is on that does not work - I have the vibrate on so I can tell when the app activates.
Please advise or fix or I can run a log if that is needed.
Click to expand...
Click to collapse
That's a common problem with some flip covers, can you try pasting a white piece of paper on the cover where the sensor is located, that will help the detection
Sent from my SAMSUNG-SGH-I717
itsme_4ucz said:
That's a common problem with some flip covers, can you try pasting a white piece of paper on the cover where the sensor is located, that will help the detection
Sent from my SAMSUNG-SGH-I717
Click to expand...
Click to collapse
Sure, will give that a shot - but what is weird to me is if the unit is off and I close the cover you detect that just fine. Just when the unit is on are you missing it. Can you give me a short explanation of why that is. If its something like light reflection, it would seem backwards to use white instead of black. Just wondering.
And yes the white paper works great - just looks a bit hokey.
v4.0:
New feature to save battery: sensors can be de-activated if power button is pressed or phone is idle (i.e, if app doesn't turn off the screen)
Fixed autostart after reboot
Fixed widget bug
Fixed Disable vibrate on ignored apps
Fixed override screenOn in non-flip cover modes
bsw11 said:
Sure, will give that a shot - but what is weird to me is if the unit is off and I close the cover you detect that just fine. Just when the unit is on are you missing it. Can you give me a short explanation of why that is. If its something like light reflection, it would seem backwards to use white instead of black. Just wondering.
And yes the white paper works great - just looks a bit hokey.
Click to expand...
Click to collapse
glad it worked but am not sure why the paper trick works
I like this app but am concered how much battery this app requires since it has to run in the background constanly?...so if I set options to save battery...or use this app...am I really conserving battery...I need to futher test this...but so I enjoy the functions and options

[Q] NFC issue with Tec Tiles...

I purchased an iOttie car mount for the Note 2 (pretty awesome I might add) and decided to stick a Tec Tile to it (directly under the NFC antenna) so that when I place the phone in the mount, a series of things occur...Media volume 15, Ringer volume 7, CarHome Ultra launch, and Disable Wifi. I programmed the Tec Tile using NFC Task Launcher.
Everything seems to work just fine on the initial read, but after some time (it varies and doesn't seem to hold a pattern), the NFC tag will re-read and start everything over (the screen is on the whole time, btw). Then it will do it again, and again at various times. I can't figure out why it keeps re-reading the tag over and over again at various times.
Additional info:
4.1.1 stock rooted via exploit
Multi-window mod
Brightness nod
Any help would be appreciated.
Thanks,
Jamie
I don't think you will have much luck placing a tile where your phone rest. It will attempt to read it over and over again. I ended up placing a tile on my dash. I hit the tile on my dash on my way to my dock in my car.
Thanks. That's what I did as well. However, just wondering why NFC keeps reading a tag on a random basis with the screen on the whole time. There must be some trigger or time-out internally. Oh well...the workaround works.
vortmax said:
Thanks. That's what I did as well. However, just wondering why NFC keeps reading a tag on a random basis with the screen on the whole time. There must be some trigger or time-out internally. Oh well...the workaround works.
Click to expand...
Click to collapse
I know I found out that WidgetLocker (at least, since I apparently hadn't set it properly so the home button didn't unlock it) didn't properly "lock" my phone, so when I had this setup myself, and I'd turn the screen on, it toggled the tag. Because apparently screen on means the NFC reader turned on as well. Possibly when your screen refreshes it was doing the same thing?

[Tasker] "Tasface": Flick-your-wrist shows watchface!

As many of you may know, for newer version of TS (at least for 4th List, May version devices), it's NOT possible to flick your wrist to show watch face since the Accelerator is DISABLED whenever screen is OFF!!!
What an oversight! A smart watch needs you to push a button to see time? What if when you are driving or have both hand full and cannot spare even a finger!?
(My Pebble, on the contrast, works great here!)
I tried to force the screen always on with watch face, it's great, except it kills my battery in around 6 hrs (airplane mode!) Not acceptable!
Thus, Here comes "Tasface". With this, you could achieve:
1. Let TS shows you time WHENEVER you LOOK at the watch! (well, actually when the watch is face up) or when you flick your wrist (You can modify this!)
2. Reduce using your button (if you have an Shortcut supported launcher like Smart Launcher 2)
DISCLAIMER: I will not be responsible if Tasface broke/brick your TS in anyway! Since Tasface is only a set of Tasker profiles/Tasks you can read everything before decide go or not! Tasface DO mess around with system files!
Pre-requests:
===============
1. Your TS must be ROOTED!
2. You need to know Tasker basics! (It's not THAT difficult to use Tasker...)
3. Tasker (Obviously)
4. Watchface by Kurt Huwig (I didn't test other watchface app. May not work with stock lock watchface) https://play.google.com/store/apps/details?id=de.huwig.watchfaces
5. Secure Settings (Required) https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin
6. Smart Launcher 2 (Optional, any Launchers supports Shortcut will work. With this you can activate Watch face without using button!) https://play.google.com/store/apps/details?id=ginlemon.flowerfree
Set-up
========
1. Have Tasker (required), Watchface (required), Secure Setting (don't forget to install system helper) and Smart Launcher 2 (Optional) installed. DO NOT IMPORT "Tasface" yet!
2. Disable your stock lock watchface: Go to Setting/Personal & Account/Security/Screen lock/None (<-- This IS IMPORTANT)
3. Launch Watchface by Kurt Huwig, than double tap on any watchface to enter setup
  a. check "Keep screen on"
  b. Select desired watchface from "Lockscreen face"
  c. Recommended to disable all other options
4. Check if the Watchface work or not by turn off than turn on your TS by press the upper physical button. You should see the Watchface you selected shows up when screen on. Swipe to return to your launcher and launch Tasker.
5. Unrar and import Tasface into Tasker
6. Close Tasker
7. Turn off --> Turn on your TS with the upper button
8. Profit!
Notes
=======
1. When watchface is displayed:
  a. Touch screen is DISABLED to avoid accidental touch.
  b. Screen will be OFF after 8 seconds (you can setup your prefer time)
  c. Touch screen lock is achieved by putting a transparent Tasker Scene element on top of the Watchface. A small "X" on bottom right screen is used to reactivate the touch screen. You can also push the lower right button (back) to reactive your touch screen.
2. To show watchface (after automatic screen off as Step 1)
  a. Just face the watchface up. The watchface should appear for another 8 seconds
  b. There maybe a 1~2 second delay. This is due to Tasker not detecting the Watchface up event. I cannot do anything about this....
  c. You could change the watchface up to anything else, like "Sensor shake/Backware-Forward"
3. If you have "Smart Launcher 2" or any other launcher supports Shortcut, you can set a icon to task "Lock". With this TS will activate watchface WITHOUT touch physical button. (I heard horrible stories about broken button so want to avoid use them as much as possible!) It's normal the screen will off for 2 second than back on with watchface for 8 seconds!
4. You must wait for automatic screen off or use the "Lock" shortcut to turn off the screen! Tasface will NOT work if you turn off TS by pressing the upper right physical button. This DISABLE the accelerator as mentioned above. To reactive Tasface, just turn on TS by pressing the upper right physical button to show the watchface than wait for automatic screen off.
I wrote this primarily for myself so a there are a lot of bugs. You are free to modify it and make it better. Just let me know if you have any questions and need help or improvement here!
Thanks button is just a click away if I helped you!
Update the attached file to resolve some bugs and improve responseness
Technical stuff -- What is done here?
=================================
It's a bit technical here .... No need to read if you don't care how it works!
Since TS turns off the accelerator whenever screen off, so it's not possible to activate the screen once it's off by external conditions. (You can still set a timer to wake the screen, but it's meaningless)
Thus we need to disable the power hungry backlight while keep the screen on!
I found out that it's possible to control the backlight by doing
Code:
echo 0 > /sys/class/leds/lcd-backlight/brightness
Thus, I set up a Task profile which fires whenever Watchface is activated and TS is face up, to activate the backlight then turn off the backlight again after 8 seconds, but KEEP the TS screen wake! (Only backlight is turned off to save battery!)
Code:
echo 1 > /sys/class/leds/lcd-backlight/brightness
You can change "1" to anything from 1~255. I just found 1 bright enough for me
Since screen/system is always wake, to avoid accidental touch, a transparent Tasker Scene on top of the screen is add to disable the touch screen. A small "X" is on the bottom right to disable this transparent scene if anything goes wrong. (And it does, Tasker is laggy sometimes and too slow to remove this scene automatically!)
I also lower down the CPU cycle to the lowest possible to further saving battery. CPU returns to normal frequency when leaving watch face (into launcher, etc...)
That's all! Folks!
Reserved
Shake
I was able to use application Shake from ADL Dev (com.adl.appshaker) to switch screen on with shake/twist of wrist. You just have to enable "activate when screen off" option - and it is little battery hungry.
Of course I have version 20140513.
I also strongly suspect, that you can force sensors to work when face is off, by switching into "Sports mode" (Run Settings->SMART MODE->Sports Mode)
Piw said:
I was able to use application Shake from ADL Dev (com.adl.appshaker) to switch screen on with shake/twist of wrist. You just have to enable "activate when screen off" option - and it is little battery hungry.
Of course I have version 20140513.
I also strongly suspect, that you can force sensors to work when face is off, by switching into "Sports mode" (Run Settings->SMART MODE->Sports Mode)
Click to expand...
Click to collapse
Thanks for the advice.... I just think since I already have Tasker on my TS, I want to find a way to not to use additional SW which always runs in background to monitor things... Since its battery hungry, maybe Shake also use the same trick as me......
As for Smart mode settings, I tried bdefore but none of them work for flick wrist to wake up... Maybe I missed something?
Sent from my HTC_One_max using XDA Premium HD app
might give this a shot since shake was waking up watch at wrong times and was destroying battery life, and i already have tasker on the watch and running so hopefully that will avoid the battery loss that shake had.
lssong99 said:
As for Smart mode settings, I tried bdefore but none of them work for flick wrist to wake up... Maybe I missed something?
Click to expand...
Click to collapse
I was just guessing, because it suppose to leave GPS and accelerometer working with screen off, to enable sport trackers and pedometers.
If it works? - I haven't tested yet...
Piw said:
I was just guessing, because it suppose to leave GPS and accelerometer working with screen off, to enable sport trackers and pedometers.
If it works? - I haven't tested yet...
Click to expand...
Click to collapse
Wow! It seems you are right! The watch DOES allow sensor to work on Sport mode after screen off, but the response from Tasker become very sluggish when screen-off!
I made a simple profile to detect shake action (if shake than beep), and when screen on, the watch beep in less than one second after shake began, but when screen-off (sport mode), It took Takers 5~6 seconds of continuous shaking to detect the shake event. Not very practical for a watch solution...
With my Backlight solution, although sometimes still hiccup happens, but my feeling is about 90% of time the watchface wakeup correctly...
tasker problems
lssong99 said:
Wow! It seems you are right! The watch DOES allow sensor to work on Sport mode after screen off, but the response from Tasker become very sluggish when screen-off!
I made a simple profile to detect shake action (if shake than beep), and when screen on, the watch beep in less than one second after shake began, but when screen-off (sport mode), It took Takers 5~6 seconds of continuous shaking to detect the shake event. Not very practical for a watch solution...
With my Backlight solution, although sometimes still hiccup happens, but my feeling is about 90% of time the watchface wakeup correctly...
Click to expand...
Click to collapse
i can not import to tasker tasker do not see it
pashka79 said:
i can not import to tasker tasker do not see it
Click to expand...
Click to collapse
Do you mean the Tasker cannot see the prj file?
For how to import project, you could check http://tasker.dinglisch.net/userguide/en/faqs/faq-how.html#q
and you need to put the unrared file (.xml) in /sdcard/tasker/projects for Tasker to see it...
How much does this cost in battery? If I don't use my watch I can get about 4 days out of it.... I know Shake stops the TS going into deep sleep, won't this do the same and annihilate battery??
death_entry said:
How much does this cost in battery? If I don't use my watch I can get about 4 days out of it.... I know Shake stops the TS going into deep sleep, won't this do the same and annihilate battery??
Click to expand...
Click to collapse
Don't know for tasker but I'm using shake app from market and I even I thought it'll drain my battery very fast - it didn't...
It's almost like I don't have it...
My battery can't hold on more then 24hours but I really use my watch and it's constantly connected to wifi and BT.
Sent from my C6903 using Tapatalk
funky0308 said:
Don't know for tasker but I'm using shake app from market and I even I thought it'll drain my battery very fast - it didn't...
It's almost like I don't have it...
My battery can't hold on more then 24hours but I really use my watch and it's constantly connected to wifi and BT.
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
Ah that's prolly why you don't notice it running down... what do you use your watch for? Tbh i haven't used it for more than a watch lol/...
death_entry said:
Ah that's prolly why you don't notice it running down... what do you use your watch for? Tbh i haven't used it for more than a watch lol/...
Click to expand...
Click to collapse
Well as I have Z1, which is quite big, I'm using TS mainly to receive notifications (using swapplink).
I'm receiving many emails (I'm using Z1 as my business phone) so it's great that I can see on my TS subject of email and decide what will I do.
I have sim card in TS and I use it all the time, when I'm alone in a car (and that's 6 hours per day )
I found TS quite practical for companion
BTW...from today, I'm using this app to help me save my battery power on TS and Z1
http://forum.xda-developers.com/showthread.php?p=53078670
Sent from my C6903 using Tapatalk
lssong99 said:
Do you mean the Tasker cannot see the prj file?
For how to import project, you could check http://tasker.dinglisch.net/userguide/en/faqs/faq-how.html#q
and you need to put the unrared file (.xml) in /sdcard/tasker/projects for Tasker to see it...
Click to expand...
Click to collapse
I tried this and Tasker can't see the xml on my TS
Here's a workaround for those having issues seeing the xml file in Tasker
Using a file manager, navigate to the location of the xml file
"Open with.." and choose Tasker
You will then see a toast notificaiton saying "...can be opened in Tasker" (or something like that)
Open Tasker -> Preferences -> UI -> Untick "Beginner Mode"
Back to main Tasker screen
In the HOME icon (bottom left) -> Long press, and choose "Import", then look for the XML file, wherever you put it
Boom
Note: Make sure you have the correct app from the Play Store, and not from the Ostore (same app, different names)
death_entry said:
How much does this cost in battery? If I don't use my watch I can get about 4 days out of it.... I know Shake stops the TS going into deep sleep, won't this do the same and annihilate battery??
Click to expand...
Click to collapse
I am afraid that this will have an impact your battery. Basically to make TS responsive (light up as soon as you raise your hand), the screen/CPU is kept wake. Only LED backlight is disabled.
Although in my implement I put the CPU is slowest frequency and sleep Governor, but battery is around one day usage without radio on....
We need kernel tweak of this to achieve good battery life... Tasker is only... Tasker...
jeremy.chan said:
Here's a workaround for those having issues seeing the xml file in Tasker
Using a file manager, navigate to the location of the xml file
"Open with.." and choose Tasker
You will then see a toast notificaiton saying "...can be opened in Tasker" (or something like that)
Open Tasker -> Preferences -> UI -> Untick "Beginner Mode"
Back to main Tasker screen
In the HOME icon (bottom left) -> Long press, and choose "Import", then look for the XML file, wherever you put it
Boom
Note: Make sure you have the correct app from the Play Store, and not from the Ostore (same app, different names)
Click to expand...
Click to collapse
Thanks I see it now.
put the unzip file at that location and still Tasker cannot see it?
Hi do read the solution I provided
Tapa-ed from the Sony Z Ultra

GPS On always ?

Hi,
I have a Amazfit watch Paceficator with WOS2, the GPS is always On ?
If yes, how to disable it (becauce save my battery) ?
(I do not use my watch to play sports)
Thanks
It's always ON, but only activated when recording an outdoor activity, so no need to worry about this. To save battery:
- make sure Autoupload and WiFi are off (probably they are off if you have never connected to WiFi)
- Use Auto-brightness or set it to zero when outside
- Turn off "raise to wake" and delete all alarms
- Make sure Continuous HR in HR widget and PPG capture in Huami Lab (Settings) are off (they are off by default)
- If you don't need notifications and/or you are away from phone, turn on Airplane mode.
https://forum.xda-developers.com/smartwatch/amazfit/ultimatre-guide-battery-drain-issues-t3791829
Ok Thanks ?

Palm PVG100 Screen Wake On Plug & Fully Charged

I'm close to having the phone perfect but these two still persist. There is a myriad of old options for Xposed and I was wondering if anyone has had success with any of them? I use the phone for a GPS unit on a cycle with a dynamo hub, so the waking up is annoying.
I've sorted the sound already, so there are two wake up conditions:-
1. power is enabled
2. battery reaches 100%.
Cheers, Andrew
snoopy20 said:
I use the phone for a GPS unit on a cycle with a dynamo hub, so the waking up is annoying.
Click to expand...
Click to collapse
Hi Andrew,
I can't help with Xposed, but I have a suggestion and a side question.
My suggestion : try IpBike (with IpBikeKey to unlock it).
The author of IpBike reads and answers e-mails. He is opened to new features if the idea is good.
If IpBike can't force the screen off (I never tested, as I don't charge my device as I cycle !), he may add the feature.
My question : is the PVG100 ANT+ capable ?
I use a Sony-Ericsson Xperia Active as a cycle computer (powered by IpBike), with ANT+ Speed, Cadence and Heart-rate sensors.
I would like to replace it with a PVG100E/EU, but the ANT directory does not list any Palm device.
Have a nice day !
Cobus.
Probably not, ANT is an extra cost for a manufacturer.
I found an open-source app which works. It's a bit old but still it does the job.
Basically it registers itself as an admin app so it can control the screen, then when a wakeup comes in it turns the screen back off. It's quick enough that the screen doesn't get a chance to come on. No root required.
snoopy20 said:
I'm close to having the phone perfect but these two still persist. There is a myriad of old options for Xposed and I was wondering if anyone has had success with any of them? I use the phone for a GPS unit on a cycle with a dynamo hub, so the waking up is annoying.
I've sorted the sound already, so there are two wake up conditions:-
1. power is enabled
2. battery reaches 100%.
Cheers, Andrew
Click to expand...
Click to collapse
Have you tried enabling "zen mode?" Zen mode keeps everything on the phone from waking I believe. I have tried it, but got annoyed when the wifi would cut out once I turned my screen off, because it would stop what I was listening to. Not sure exactly what you're looking for, but zen mode might be something to play around with.
To activate zen mode, the easiest way is probably through the app "setedit." Under "system" options, scroll to the bottom and change zen mode from 0 to 1.

Categories

Resources