FORUMS
Remove All Ads from XDA

[APP] PaceOn v5.4 - Keep Pace/Stratos screen on, Lock Screen, Quick Switches & more

188 posts
Thanks Meter: 218
 
By anox, Senior Member on 4th November 2017, 07:29 PM
Post Reply Email Thread
PaceOn v5.4








Sometimes, I just want my Aamzfit Pace to stay awake a bit longer, so I make this app.
PaceOn is designed specifically for Amazfit Pace to keep its screen on and unlocked as long as I want. It also works on Amazfit Stratos.

Surely, keeping the screen on affects the device's battery, but for whatever reason you may want it.
For me, it's quite useful when transferring files via wifi, needing to see some app screen details for a period of time or just always showing off that beautiful watchface.

Disclaimer:
I am not responsible for any bad things caused by using this app, and blah, blah, blah.

Instruction:
Just sideload the app. Root is not required.
This can be done using ADB.
Here is how. https://youtu.be/kR-j_aCsu_A

Features:
  • On/Off = PaceOn service keeping the watch awake and unlocked
    The service can be automatically turned off on a selectable schedule.
  • Dim = Allow the screen to dim
  • Launcher = Launcher Service
    Once activated, a small triangle area at the bottom left of the screen becomes a launcher area. The area is only visible on PaceOn screen, but active on any screen.
    - Swipe up from the area (on any screen) launches PaceOn app.
    - Double tap toggles PaceOn service on/off without opening the app.
    - Swipe right to lock the screen.
    - Swipe diagonally (roughly 45 degrees upward to the right) to bring up Quick Switch panel
    Please see the last attached image for the instruction. The service will automatically turn on after booting, if the option was previously on before the boot.
  • Lock screen
    The idea here is to have a transparent lock screen to protect the screen on from touches or taps. When this lock screen is on, the watch is still fully awake.
    - To activate the lock screen, swipe right on Launcher area.
    - To unlock, just double tap anywhere on the lock screen.
  • Return Home option
    This is a workaround to the notification issue (raised by a few people). When receiving a new notification, the notification screen won't automatically be dismissed and another notification won't trigger a vibration. This can only be turned on, when both PaceOn & Launcher services are selected.
    When this option is selected, it will have an effect only when the lock screen is on. After activating the lock screen, the watch will return to the home screen (from any screen) in every 30 seconds.
    Bear in mind "this is supposed to consume more battery power."
  • Auto On... = Auto On When Charging option (off by default)
    When turned on, PaceOn service is automatically activated when the watch is plugged into a power source, and deactivated when unplugging it. This option always keeps the screen fully on (not dim) to get rid of the system charging animation. This is designed to work only if PaceOn service is NOT already on.
    How about a Pace as a desk clock
  • Quick Switch panel
    - Swipe roughly 45 degrees upward to the right from Launcher area to bring up Quick Switch panel which contains:
    1) Brightness Seekbar
    Quickly set the screen brightness to any value from 0 to 255 or to Auto Mode.
    2) Bluetooth switch
    Now, the Bluetooth can be turned on/off at will.
    3) WiFi switch
    Yes, the wifi too can be turned on/off at will.
    - To dismiss Quick Switch panel, just tap on the brightness number or swipe the panel away to the right.

    These switches work independently of the system settings. They can even turn on when Airplane mode is on.
    How about a quick glance to check if your bluetooth/wifi is on (just like your phone Status bar)
  • CXN svc. = Connection service
    The Connection service improves the bluetooth/wifi connection visibility. It lets us know when bluetooth/wifi is connected/disconnected with a toast message and vibration (only vibration, when screen off). It also tells us what device/AP the watch is connected to/disconnected from.

    The service will automatically turn on after booting, if the option was previously on before the boot.
    Now, we always know what the bluetooth/wifi on our watch is up to.
Usage:
To enable PaceOn service (to keep the screen awake and unlocked)
- Open the app
- Tick []On/Off (Optionally, tick []Dim)
- To activate Launcher service, tick []Launcher
- Click OK. PaceOn service will start with a confirmation message.
- The app will then be put into the background.
- Then, do whatever you want. The screen will stay unlocked as long as PaceOn service is active.

While PaceOn service is active, the watch can be forced to sleep by pressing the power button from Home screen. Waking up the watch will also reactivate PaceOn service.

To turn PaceOn service off
If Launcher service is active, just Double tap on Launcher area.
If not, Open the app, de-select []On/Off and click OK. PaceOn service will stop with a confirmation message and the app exits.

To turn Launcher service on/off
- Open the app, toggle []Launcher and click OK. Launcher service will start/stop and the app exits.

Note:
- While the app's UI is in the foreground, the screen stays on.
- The app (any app for that matter) can be killed by Android system if the resources are needed. If killed, the "Keep Screen Unlocked" effect will also be lost.
- The app is free for personal use.

Changelog:
Version 1.0
  • Initial release

Version 1.5
  • UI changes
    - Theme change
    - Some wording changes (hopefully clearer)
    - New icon
  • Toast notifications added
    - confirmation messages when starting/stopping the PaceOn service
  • Internal Improvement
    - Better app instance handling
    - More persistent, less likely to be killed by system
    - Lower resource usage
    - Optimised and smaller apk

Version 2.0
  • UI changes
    - Launcher option added
    - Lockscreen option added, but disabled in this version
    - Bigger OK button for your convenience
  • Launcher Service added
    Launcher Service puts a triangle area located at the bottom left of the screen. Once activated, the area becomes visible only on PaceOn screen, but it is active on any screen.
    - Swipe up from the area (on any screen) launches PaceOn app.
    - Double tap on the area (on any screen) turns PaceOn service on/off without opening the app.
  • After boot autostart Launcher service added
    After installation, open the app once, then Launcher service will start automatically after every boot.

Version 2.3
  • - Fix few crashes that sometimes occurred when launching the app from Launcher area
    - Deactivate Launcher service temporarily on PaceOn screen
    - Change the UI a bit
    - Improve swipe detection
    - Make the services harder to kill
    - Use a bit less RAM to run

Version 3.0
  • GUI changed
    - Battery level percentage added to the OK button
  • Lock screen added
    The idea here is to have a transparent lock screen to protect the screen on from touches or taps. When this lock screen is on, the watch is still fully awake.
    - To activate the lock screen, swipe right on Launcher area.
    - To unlock, just double tap anywhere on the lock screen.
  • Return Home option added
    This is a workaround to the notification issue (raised by a few people). When receiving a new notification, the notification screen won't automatically be dismissed and another notification won't trigger a vibration. This can only be turned on, when both PaceOn & Launcher services are selected.
    When this option is selected, it will have an effect only when the lock screen is on. After activating the lock screen, the watch will return to the home screen (from any screen) in every 30 seconds.
    Bear in mind "this is supposed to consume more battery power."

Version 3.4
  • GUI changed
    PaceOn now has many options, but I still want to have only one single screen, without scrolling. So, buttons are used to maximise the space. A button represents a service, while a checkbox represents an option in a service. The bottom part of the screen also has a new design.
  • Auto On When Charging option added (off by default)
    When turned on, PaceOn service is automatically activated when the watch is plugged into a power source, and deactivated when unplugging it. This option always keeps the screen fully on (not dim) to get rid of the system charging animation.
    How about a Pace as a desk clock

Version 4.0
  • Quick Switch panel added
    - Swipe roughly 45 degrees upward to the right from Launcher area to bring up Quick Switch panel which contains:
    1) Brightness Seekbar
    Quickly set the screen brightness to any value from 0 to 255 or to Auto Mode.
    2) Bluetooth switch
    Now, the bluetooth can be turned on/off at will.
    3) WiFi switch
    Yes, the wifi too can be turned on/off at will.
    - To dismiss Quick Switch panel, just tap on the brightness number or swipe the panel away to the right.

    These switches work independently of the system settings. They can even turn on when Airplane mode is on.
    How about a quick glance to check if your bluetooth/wifi is on (just like your phone Status bar)

Version 4.6
  • GUI Changed
    The "Auto On When Charging" button becomes "Auto On..." button to allow a new button added to this tiny single screen.
  • CXN svc. option added
    CXN svc. = Connection service
    The Connection service improves the bluetooth/wifi connection visibility. It lets us know when bluetooth/wifi is connected/disconnected with a toast message and vibration (only vibration, when screen off). It also tells us what device/AP the watch is connected to/disconnected from.

    The option is on by default and also automatically on after every boot.
    Now, we always know what the bluetooth/wifi on our watch is up to

Version 5.0
  • Keep the screen dimmed while PaceOn's lock screen is on.
    With Dim option selected, when the PaceOn's lock screen is on, the screen will be kept dimmed until unlocked (no matter if the screen is touched or tapped.)
  • PaceOn service auto-disable option added
    When turning on PaceOn service, an off schedule can be selected to automatically turn off the service. The default is to turn it on forever.

Version 5.4
  • Settings now saved to the storage
    All settings are saved to the storage before closing so that when the app opens the next time, all settings will be restored. This is so even after booting.
  • Auto-start after boot service changed
    Launcher and CXN services each will automatically turn on after booting, if they were previously on before the boot.
  • Better handling of app closing
    When the app is closed by clicking the OK button or pressing the Power button or swiping the app UI to the right, all settings are applied and saved to the storage.
  • Workaround to the issue of app UI appearing briefly when a notification arrives while charging
    This issue can happen to any 3rd party app. It's kind of annoying to see. So, this version tries to avoid that.

If you like my work & want to buy me a cup of coffee or beer, I've just added a Paypal donation email to my profile.
Attached Thumbnails
Click image for larger version

Name:	PaceOn-UI-v46.jpg
Views:	3400
Size:	73.3 KB
ID:	4366937   Click image for larger version

Name:	PaceOn-UI-v46-1.jpg
Views:	3458
Size:	84.6 KB
ID:	4366938   Click image for larger version

Name:	PaceOn-UI-v46-2.png
Views:	2236
Size:	34.2 KB
ID:	4366939   Click image for larger version

Name:	PaceOn-UI-v46-3.png
Views:	2094
Size:	37.3 KB
ID:	4366940   Click image for larger version

Name:	PaceOn-UI-v50.jpg
Views:	1722
Size:	62.2 KB
ID:	4404271   Click image for larger version

Name:	PaceOn-Launcher.jpg
Views:	3016
Size:	41.9 KB
ID:	4406651  
Attached Files
File Type: zip anox.PaceOn.v1.5.zip - [Click for QR Code] (470.3 KB, 892 views)
File Type: zip anox.PaceOn.v2.3.zip - [Click for QR Code] (476.3 KB, 154 views)
File Type: zip anox.PaceOn.v3.0.zip - [Click for QR Code] (479.0 KB, 186 views)
File Type: zip anox.PaceOn.v3.4.zip - [Click for QR Code] (479.1 KB, 266 views)
File Type: zip anox.PaceOn.v4.0.zip - [Click for QR Code] (622.1 KB, 480 views)
File Type: zip anox.PaceOn.v4.6.zip - [Click for QR Code] (621.2 KB, 1316 views)
File Type: zip anox.PaceOn.v5.0.zip - [Click for QR Code] (625.6 KB, 2342 views)
File Type: zip anox.PaceOn.v5.4.zip - [Click for QR Code] (618.6 KB, 4464 views)
The Following 30 Users Say Thank You to anox For This Useful Post: [ View ] Gift anox Ad-Free
 
 
4th November 2017, 07:37 PM |#2  
SM26's Avatar
Member
Thanks Meter: 31
 
More
Nice one, thanks.
I'll give it a try.

I'm with you one the wifi transfer thing.
Could really see this come handy

Sent from my MI 6 using Tapatalk
5th November 2017, 12:09 PM |#3  
Senior Member
Flag Petah Tiqwa
Thanks Meter: 364
 
Donate to Me
More
from what i saw till now, if I enable the "keep on the screen", the vibration is gone. the watch vibrates ONLY if I lock it via the button.
The Following User Says Thank You to 1immortal For This Useful Post: [ View ] Gift 1immortal Ad-Free
5th November 2017, 02:00 PM |#4  
OP Senior Member
Thanks Meter: 218
 
Donate to Me
More
Quote:
Originally Posted by 1immortal

from what i saw till now, if I enable the "keep on the screen", the vibration is gone. the watch vibrates ONLY if I lock it via the button.

Thank you for your feedback.

I've been testing the app for a few days without any vibration issues. When the screen is kept on by the app, my usual apps such as Walk, Run, Alarm, Timer and notifications from phone vibrate normally.

Could you please explain a bit more on the vibration issue you have? Some specific app doesn't vibrate? Thanks.
5th November 2017, 02:55 PM |#5  
Senior Member
Flag Petah Tiqwa
Thanks Meter: 364
 
Donate to Me
More
i'm running a zuk z2 with Nougat on it, 7.1.2, and lost vibration with Gmail, whatsapp and facebook messenger applications.
update: noticed that there's no vibration on Tapatalk as well.
5th November 2017, 04:34 PM |#6  
OP Senior Member
Thanks Meter: 218
 
Donate to Me
More
Quote:
Originally Posted by 1immortal

i'm running a zuk z2 with Nougat on it, 7.1.2, and lost vibration with Gmail, whatsapp and facebook messenger applications.
update: noticed that there's no vibration on Tapatalk as well.

OK, I think I know what happens here.

With or without this app,
When a notification (from any app) is received, Amazfit Pace vibrates only in one of these cases:
1) the screen is locked OR
2) you are NOT on the notification screen.

So, while the screen is kept on (but unlocked) by the app, the device vibrates if you are NOT on the notification screen.
Say you're on the home screen (watchface). Then, a notification is received, the device will vibrate and show the notification. Now, you're on the notification screen, and you won't be taken back to the home screen as there is no screen timeout. If you don't manually navigate from the notification screen to another screen, another notification will not trigger a vibration.

I hope my explanation makes sense, and I don't think I can do anything with the app to improve this.
5th November 2017, 05:08 PM |#7  
Senior Member
Flag Petah Tiqwa
Thanks Meter: 364
 
Donate to Me
More
got it!
5th November 2017, 06:05 PM |#8  
Senior Member
Thanks Meter: 140
 
More
What did you use for the app to keep the whatch on?
I started with a GolfCaddy app and because the watch sleeps after a few seconds I don't get the gps satellites.
5th November 2017, 07:17 PM |#9  
Junior Member
Thanks Meter: 0
 
More
Thank a lot
wow! it's useful for me Thank you very much for your creation.
6th November 2017, 03:07 PM |#10  
OP Senior Member
Thanks Meter: 218
 
Donate to Me
More
Quote:
Originally Posted by fzelle

What did you use for the app to keep the whatch on?
I started with a GolfCaddy app and because the watch sleeps after a few seconds I don't get the gps satellites.

You mean you're developing the GolfCaddy app, right?
Check this out https://developer.android.com/refere...KEEP_SCREEN_ON

Quote:
Originally Posted by starship1000

wow! it's useful for me Thank you very much for your creation.

I'm glad you like it.

BTW, a new improved and optimised version is coming this weekend.
The Following 2 Users Say Thank You to anox For This Useful Post: [ View ] Gift anox Ad-Free
7th November 2017, 10:13 AM |#11  
WiwiPouPou's Avatar
Senior Member
Flag Somewhere in the west
Thanks Meter: 281
 
Donate to Me
More
A big thank you ! As a paramedic it will be very useful to check pulse (seconds), some suggestions to preserve battery :

- Implement an "HD Mode"/On motion as in the new watchface (unlock the screen/activate on wrist motion / background light on maybe ?)
- add an on/off widget on the launcher ? (Don't know if huami allows it) ?
- Lock the screen (unlock with a double tap) ?

Thanks again ! Really great addition to the watch !
Post Reply Subscribe to Thread

Tags
amazfit pace, app, free

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes