[APP] PaceOn v5.4 - Keep Pace/Stratos screen on, Lock Screen, Quick Switches & more
PaceOn v5.4
{
"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"
}
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.
This is the first app of my Pace(X) series (On, Off, Up & Down).
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.
To uninstall:
adb uninstall com.anox.paceon
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.
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
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.
1immortal said:
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.
Click to expand...
Click to collapse
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.
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.
1immortal said:
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.
Click to expand...
Click to collapse
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.
got it!
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.
Thank a lot
wow! it's useful for me Thank you very much for your creation. :laugh::laugh:
fzelle said:
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.
Click to expand...
Click to collapse
You mean you're developing the GolfCaddy app, right?
Check this out https://developer.android.com/refer...Manager.LayoutParams.html#FLAG_KEEP_SCREEN_ON
starship1000 said:
wow! it's useful for me Thank you very much for your creation. :laugh::laugh:
Click to expand...
Click to collapse
I'm glad you like it.
BTW, a new improved and optimised version is coming this weekend.
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 !
WiwiPouPou said:
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 ?)
Click to expand...
Click to collapse
Sorry, I don't get this one. Care to explain a bit more?
- add an on/off widget on the launcher ? (Don't know if huami allows it) ?
Click to expand...
Click to collapse
I'm also looking for an easy way to enable/disable the app, but I'm pretty new to this watch.
- Lock the screen (unlock with a double tap) ?
Click to expand...
Click to collapse
We're talking about a custom lockscreen on a custom version of Android here. Sounds quite complicated, but it's actually on my wish-to-do list when time allows.
anox said:
You mean you're developing the GolfCaddy app, right?
Check this out https://developer.android.com/refer...Manager.LayoutParams.html#FLAG_KEEP_SCREEN_ON
Click to expand...
Click to collapse
Yes, the only thing missing is a Golfcaddy ( for me ).
Thanks, missed that .
Edit:
Jupp, working like a charm.
Now to the businesslogic and prettying up the beast.
You plan to release source code?
anox said:
Sorry, I don't get this one. Care to explain a bit more?
Click to expand...
Click to collapse
I was talking about to behaviour of "Night Run" watchface (in pacefied and in 1.3.4f) : when locked, a wrist motion (motion when you watch the...watch) trigger the full color / resolution / seconds hand version of the watchface
With your app you could be able to implement that behaviour for every watchface ! An it will be very good for battery life (don't you want full version of a watchface when you see it ? not when you're watching anything else ?)
If we had tasker on mips, that's what I would try : (I'm not a developer unfortunately)
- Detect wrist motion -> autounlock the watch for a programmed time -> relock
Or
- detect "backlight on" or backlight level > 0 (triggered by motion wrist if enabled in settings) -> autounlock the watch for a programmed time -> relock
As a last suggestion, a simple configurable timer in seconds could be great (my case : every time I unlock I would like to see the seconds hand / NUM for a minute, time for me to check manually a heart rate / ventilatory rate of my patient then autolock), a sort of programmable autorelock !
For the lockscreen, can't you place an invisible overlay after returning on the watchface which could intercept touch, then capture only double tap as an event to disable that overlay ?
Again, Very useful, big thank ! Keep up !
dpeddi said:
You plan to release source code?
Click to expand...
Click to collapse
Not at the moment, might reconsider it in the future.
WiwiPouPou said:
I was talking about to behaviour of "Night Run" watchface (in pacefied and in 1.3.4f) : when locked, a wrist motion (motion when you watch the...watch) trigger the full color / resolution / seconds hand version of the watchface
Click to expand...
Click to collapse
I'm on 1.3.4f, there is Activate on Wrist option. When on, it just turns on the backlight for a few seconds, but doesn't wake the watch. So, you won't see the second hand. And, that works the same for all watchfaces.
With your app you could be able to implement that behaviour for every watchface ! An it will be very good for battery life (don't you want full version of a watchface when you see it ? not when you're watching anything else ?)
Click to expand...
Click to collapse
I do see the importance of the watchface for you, but PaceOn is implemented to work universally with any app. What you can do now with PaceOn v1.0 is this:
- Open the app, activate "Screen On"
- Press Home (power) button to go Home,then press again to put the watch to sleep
- Whenever you need to take a heart rate reading, just wake the watch, After done, just put the watch back to sleep
I don't think the app consumes that much battery when the watch is asleep, though I've not actually measured it.
If we had tasker on mips, that's what I would try : (I'm not a developer unfortunately)
- Detect wrist motion -> autounlock the watch for a programmed time -> relock
Or
- detect "backlight on" or backlight level > 0 (triggered by motion wrist if enabled in settings) -> autounlock the watch for a programmed time -> relock
Click to expand...
Click to collapse
Yeah, my wish too.
Another thing is I have no idea what the system allows 3rd party apps do when the watch is asleep.
As a last suggestion, a simple configurable timer in seconds could be great (my case : every time I unlock I would like to see the seconds hand / NUM for a minute, time for me to check manually a heart rate / ventilatory rate of my patient then autolock), a sort of programmable autorelock !
Click to expand...
Click to collapse
This one is already on my wish-to-do list.
For the lockscreen, can't you place an invisible overlay after returning on the watchface which could intercept touch, then capture only double tap as an event to disable that overlay ?
Click to expand...
Click to collapse
That'd be the idea, but like I mentioned this is a custom android on which I see some simple android functions don't even work. What I'm doing here is mostly guesswork, just trial & error.
Thanks for the comments. We'll see how this goes.
V1.5 is up.
Version 1.5 is up (OP updated)
Changelog:
UI changes
- Theme change
- Some wording changes (hopefully clearer)
- New icon
Toast notifications added
- Confirmed 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
Please note that APK installer doesn't seem to support this optimised apk (attached to OP), though it can be installed via adb as usual. In case that you already have PaceOn on your watch, the command will be "adb install -r anox.PaceOn.v1.5.apk"
The next version will include some new functionality.
thanks for this app....i really like it since it make easier to check anything without double tap or unlock via button.
anyway i find some issues :
the activate on wrist are not working if PaceOn are active
notification wont "minimize" if PaceOn are active
Baterry drain (but this is acceptable i think since the watch are always "on" without baterry saving mode.
if you could fix it would really great ( if not it's still great app )
but overall are superB app, really appreciate it.
information :
Im using English rom 1.3.4f
cheers
hoomansjogja said:
the activate on wrist are not working if PaceOn are active
Click to expand...
Click to collapse
The system's activate on wrist works only when the watch is asleep. When PaceOn is active, the watch is awake. I may look into this when implementing a lockscreen for PaceOn.
notification wont "minimize" if PaceOn are active
Click to expand...
Click to collapse
Right. It's the same reason. When PaceOn is active, the watch stays awake. So, the notification screen will stay on after receiving the notification. It has been discussed in post#6 . Once PaceOn has its own lockscreen, I'll try to improve this.
Baterry drain (but this is acceptable i think since the watch are always "on" without baterry saving mode.
Click to expand...
Click to collapse
PaceOn itself doesn't drain the battery (much), it's the screen on and the running apps while the watch is awake. When the watch is asleep, I find the battery consumed by PaceOn negligible. Everyone else who has measured the battery consumption may share their experience.
Thanks for the comments & stay tuned for the future versions.
BTW, another version is coming up tomorrow.
Hi guys,
I cooked up some tasker mods to address some of the graciously few problems I have with the software of the mate 20x. I thought they might be useful to some of you guys so I figured I'd share. The plugins used are AutoInput, AutoLaunch, AutoNotifications, and AutoTools.
Mod List:
1. Fixed Auto-rotate Lock: uses the quick tile to auto-rotate or lock to any orientation
2. Swipe Recent Apps Switcher: cycle through previous apps by swiping on the bottom of the screen ala iPhone
3. Auto-disable Eye comfort: pop-up prompt when activating chosen apps that automatically disables eye comfort mode
4. Automatic Screen Filter: activates the free app Night Screen when brightness is set to minimum and disables it when brightness is raised
1. Fix Auto-rotate Lock
There are two versions of this mod, one which uses the system quick tile and one which uses an AutoNotifications quick tile. The AutoNotifications quick tile is more reliable and allows you to seamlessly lock orientation in landscape or inverted. The system quick tile is more clunky and you cannot lock in inverted, but it's a bit faster. If anyone knows where to find the system quick tile icons please tell!
Simply import the profiles to Tasker and turn them on. Choose "Rotate On" for the system qt or "AltRotate On" for the AutoNotifications qt.
2. Swipe Recent Apps Switcher
This mod will track all activated apps in an array so they can be systematically called back. It also offers swipe gestures at the bottom of the screen which can be used to cycle through them. Swipe left or right to go back and forth through your recent apps. After settling on an app, the app list will be updated to bring your active app to the front.
To install, import and turn on all profiles and run the swipe task. The Swipe task must be ran to provide gestures. The overlay providing gestures is at the very bottom of the screen, so just swipe your finger along the screen edge. Modify your settings and profiles to make sure that Swipe, AutoTools, and Tasker stay on with full permissions. This mod requires that tasker monitoring use accessibility. In the no root version some apps will refresh their state when activated (es explorer). This is because apps are 'launched' and not 'brought to foreground'. In the root version this is not an issue.
3. Auto-disable Eye comfort
This will provide a discrete pop-up in the corner of your screen when you activate the selected apps. I set up the profile with the apps I use for photo and video editing. When you click the pop up it will automatically open the drawer and disable the eye comfort quick tile. The pop up will go away in 5 seconds if not clicked, or can be swiped away.
To install, place the "bubble" folder in your AutoTools webscreen folder. The file paths should match up, but you may need to modify them. Import and turn on. The no root plugin uses AutoInput to press the fourth quick tile. If you have eye comfort on another quick tile you will need to change the touch coordinates. The root option will, if prompted, automatically switch eye comfort on and off as you switch between monitored apps. If you dismiss the prompt it will not ask again until eye comfort is toggled.
4. Automatic Screen Filter
When brightness is lowered to the minimum level, this mod will launch the app Night Screen to lower the brightness with a screen filter. When the brightness is raised above minimum it will turn night screen off.
You can change the app used, but it must have a toggle or on/off activity to be launched by secure settings. I found Night Screen to be the best for me. Import and turn on profiles.
There may be some bugs due to inconsistent Tasker monitoring and the system messing with things. Unfortunately there is little I can do about this.
ps. the zip is NOT installable
Sorry I'm stumped about how to embed youtube videos. Here's links.
https://youtu.be/KZBQJX3Fges
https://youtu.be/AnVLVCdWC8U
https://youtu.be/SsVjmW-9KwI
I vastly improved the app switcher to function much more intuitively and more like a native function. It's works pretty much exactly like on the iPhone, accept the animations are going the wrong way. I'll test it out a bit then update the post.
You sir are incredible
Post has been updated with a new app switcher, a root app switcher which fixes the launching problem, and a root eye comfort prompt which modifies the setting directly and has enhanced functionality. Also now none of the mods are dependent on the Secure Settings plugin
cobram3 said:
You sir are incredible
Click to expand...
Click to collapse
glad somebody likes it :good:
Allan can I pay you to help/tutor me on creating Tasker apps for my own use?
Please message me
---------- Post added at 02:14 AM ---------- Previous post was at 02:13 AM ----------
AllanRSS said:
glad somebody likes it :good:
Click to expand...
Click to collapse
Such as:
Auto speakerphone when call connects by default
When I get in the car, show a list of media players as a popup (bc bt connected)
$60 via PayPal thx
I really appreciate the offer, but thats not how xda works. This is where people help people, and I've benefited far too much through the days on the generosity of others to be greedy now.
I took a quick look and it and there is a State profile called "BT Connected". You should be able to check your bluetooth settings for the exact name of your car and insert that into the Name field. Then you would make a Scene containing buttons corrosponding to your desired media player. This should be reletively straightforward. When the BT is connected, show the scene with the buttons then launch your choice. This can be done with the AutoLaunch plugin or by android intent by running code 'am start --activity-reorder-to-front PACKAGE_NAME/MAIN_ACTIVITY'. The main activity intent is easily found through terminal if you're rooted but I dont remember how to find it if you're not rooted.
For the call I would use the State profile "Call". I am not sure if this will activate after the call is connected or while the phone is ringing for incoming calls. If its when the phone is ringing I would then set up a loop with "AutoInput Query" to check whether the call was connected. Run a couple tests with the query to see what the variable values are when the call is connected and check for those values to escape the loop. When the call is connected, use auto input to click on the speakerphone button automaticly. You can use the auto option to configure this or you can go into developer mode on your phone and enable show pointer location to get the coordinates. Coordinates are faster that text matching, but you might have to add a wait for 500ms to avoid it touching too early.
That should be it, pretty straightforward. You've inspired me to update this list with my new rotate toolbar and fixes. Happy tinkering!
That being said, I would be willing to do it for you if you would rather pay for a finished solution. However, I greatly encourage you to give it a go yourself, the possibilities are endless once you get comfortable with Tasker.
Code:
*** Disclaimer
This App uses root privileges to modify system files improper use can lead to serious damage
so use it at your own risk
Download from the Play Store https://play.google.com/store/apps/details?id=terminal_heat_sink.asusrogphone2rgb
Introduction
This app allows you to control the logo rgb and the second led on custom roms since at the moment there is no option for that in the custom roms themselves.
Latest release works on stock now also
This also works on rog 3 with the latest release however at the moment the second led cannot be lit on its own, the logo led must also be on to use second led
Supports triggering logo led, second led on notifications for selected apps.
Only works on android 10 roms as for some reason the android 9 rgb driver doesn't react to changes, therefore it is probably not possible to make it work on android 9 using current methods.
If using stock rom please turn off default lighting on armoury crate so it doesn't conflict.
Downloads and more info
https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB
Images
https://forum.xda-developers.com/devdb/project/?id=40875#screenshots
Releases Stable
1.0-initial_release https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/releases/tag/1
Code:
Working on HavocOS only.
2.0-hotfix https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/releases/tag/2
Code:
Issue with fragment not working on stock rom fixed. Stock rom tested working ok without any crashes
3.0-performance https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/releases/tag/3
Code:
Rewrote SystemWriter to only write once per action thereby increasing performance mostly for colour wheel.
ColorWheel fragment now only writes to system if the data is changed instead of everytime the app opens or twice when colour is changed.
3.7-filter-app https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/releases/tag/10
Code:
Added ability to type to filter applications in app select
3.8-per-app-animations https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/releases/tag/11
Code:
You can now set custom animations/colours for each app by clicking on the app icon in app select
3.9-ui-update https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/releases/tag/12
Code:
Changed all of the switches to use checkboxes, functionality is identical just visuals changed
4.0-save-data https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/releases/tag/13
Code:
Added two buttons in the about tab to save and restore all of the settings in the app.
This way you wont have to set up all of the custom notifications for each app every time there is a new release.
4.1-settings-bypass https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/releases/tag/14
Code:
Tiny update that removes the need for the "Click to enable App to read notifications in settings" button. This is because I have figured out how to grant this permission using a command.
The "React to Notifications" checkbox now enables and disables access accordingly.
4.5-rog3_notifications https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/releases/tag/18
Code:
notification support for rog3
choice between rog 2 / rog 3 on first launch.
app should launch on android 11 now
magisk root notifications are turned off on first launch
4.6-colour_brightness_rog3_loop https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/releases/tag/19
Code:
Added Brightness bar to colour wheel tab and when you select PerApp notification colours.
Also added a preview at the bottom of the colour picker so that you can get a more accurate idea of what it will look like.
Rog 3 notifications update:
In rog 3 mode there is now a timer refreshing the driver every 30 seconds because rog 3 is a good phone.
Thanks again to @jawadzoha from my telegram group for rog 3 testing.
4.7-colour_crash_wakelock https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/releases/tag/20
Code:
Fixed a crash when selecting colour
Added rog 3 wakelock for rog 3 mode thanks again to @jawadzoha from my telegram group for rog 3 testing.
Releases beta
3.1-beta-notifications https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/releases/tag/4
Code:
Notification support added
See readme for more info https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/blob/master/README.md#notifications
3.2-beta-second_led https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/releases/tag/5
Code:
Introduced the use of the second led
See readme for more info https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/blob/master/README.md#second-led
3.3-beta-app-select https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/releases/tag/6
Code:
Added a view to select applications that you want to trigger the leds when they receive notifications.
Improved UI a little bit
Updated the about page
3.4-beta-delay https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/releases/tag/7
Code:
New feature added that allows the lights to stop or timeout after a number of minutes or whatever you select.
So this way if a notification comes on during the night the leds won't be shinning all night long.
Update to UI
AnimationsActivity heavily refactored.
Timer Runnable created in NotificationService
3.5-quick-tile https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/releases/tag/8
Code:
Added two quick tiles for toggling the logo led and second led.
3.6-ui-detection-easter-eggs https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/releases/tag/9
Code:
Allow more scrolling in all three tabs, this way on smaller screen settings you can
scroll down so the power buttons are not blocking the view.
Implemented os and device checks. App will only run on asus and android 10.
SystemWriter updated to read files for future.
UI update
Easter eggs - animate bg....
4.2-battery https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/releases/tag/15
Code:
Added battery animations when charging
4.3-audio-visualiser https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/releases/tag/16
Code:
added an audio visualiser. It has two different mode at the moment. rainbow and single colour mode that you can select from the colourwheel tab
4.4-rog3 https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/releases/tag/17
Code:
Rog 3 support added.
All functions work except being able to use only the second led
Thanks to @jawadzoha from my telegram group for massive testing.
fixed out of bounds bug that crashes app
Latest Release
4.7-colour_crash_wakelock https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/releases/tag/20
Code:
Fixed a crash when selecting colour
Added rog 3 wakelock for rog 3 mode thanks again to @jawadzoha from my telegram group for rog 3 testing.
If you want to watch a video on all the features and how to set it up here is a youtube video for version 3.6-ui-detection-easter-eggs ( release 9 ) https://www.youtube.com/watch?v=8rNJtEDuV1I
XDA:DevDB Information
Asus-ROG-Phone-2-RGB, Device Specific App for the ASUS ROG Phone II
Contributors
Terminal_Heat_Sink
Source Code: https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB
Version Information
Status: Stable
Current Stable Version: 20
Current Beta Version: 17
Created 2020-06-28
Last Updated 2020-11-17
Notification update. You can set animations to trigger on notifications, Animation stop when notification is cleared.
You can read more about it here https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/blob/master/README.md#notifications
This is a beta release so code is on this branch https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/tree/notifications
Thanks and Enjoy
3.2-beta-second_led update.
So now it is possible to use the second led designed for those custom cases. You can use the second led for notifications too.
The "enable second led" switch above "Notification settings" switch enables the second led for any animations selected above. This doesnt have any impact on using the second led for notifications.
For notifications you now have the following options relating to the second led.
1. "use second led for notifications also" This lights up the second led and the logo led when a notification comes in.
2. "Use Only the second led for notifications" This lights up only the second led.
3. If you have both 1 and 2 disabled then only the logo led will light up.
Also if you want any apps to be added to the blacklist ( so not trigger any notifications ) can you please reply with the package name. In a later release I will try to make like a view where you can select which apps you want to have notifications triggered for, but for now I will use a blacklist to ignore some apps such as OpenVpn and stuff like hotspot etc..
Thanks and Enjoy
3.3-beta-app-select update.
Made a view where you can select which apps you want to have notifications triggered for. This eliminated the need for a blacklist featured in the previous release.
So now you have a list of all the apps on your phone and you can select which ones you want to react to the notification.
Ui tweaked a little bit to make it less confusing.
New images uploaded to reflect the current release.
Thanks and Enjoy
i'm on android 9 stock and it says error in parsing package
Tested on a9 but the driver doesn't seem to react to changes. So at the moment I don't think it's possible to get it working on a9 at least the way I'm doing it.
that's a bummer. but thanks for trying
Works 100% on stock rom A10. Thank you soooo much! I can finally use the second led with the logo!
It does work but the app is really not user friendly at all.
The work you have done was really needed but please make it easier to use if possible.
There are so many options but most of them dont work. I turn on from the app and it doesnt work.
The ai turn off from app but turn on from armory crate and it works!!
Then I enabled notification light and chose a color from the circle but the light is still on rainbow and doesnt blink for notification...
I just dont understand the different options.
Edit: I tried and messed a little with the options and figured it out. But I think there is an interference with the armory crate. It has to be on otherwise the app wont work
Question: can we turn off the main LED (rog) and just have the second LED?
The option that says "just use second LED" doesnt work.
Kianush said:
It does work but the app is really not user friendly at all.
The work you have done was really needed but please make it easier to use if possible.
There are so many options but most of them dont work. I turn on from the app and it doesnt work.
The ai turn off from app but turn on from armory crate and it works!!
Then I enabled notification light and chose a color from the circle but the light is still on rainbow and doesnt blink for notification...
I just dont understand the different options.
Click to expand...
Click to collapse
You need to select which apps you want to react to notifications.
I agree the ui needs an overhaul but all the features do work on latest havoc os atleast. At the moment I'm working on adding functionality so not messing with ui that much.
I will make a better ui when all the features I want are implemented. This will be after custom animations and setting a different animation for each app in regards to notifications. Next stable release will have a better ui so keep an eye out for version 4.0 ish.
The app is open source so anyone is free to fork the repo and send me a pull requests
Again this isn't really ment to be used on stock since the built in armour crate does the same thing and does it better.
Thanks for testing ?
Kianush said:
Question: can we turn off the main LED (rog) and just have the second LED?
The option that says "just use second LED" doesnt work.
Click to expand...
Click to collapse
Yep make sure the power button in the app is off and click on enable second led then change effects. The power button is only there to toggle the logo rgb as that is how it is treated within the driver. So second led and logo are exclusive to each other and each has its own on and off switch within the driver.
Just use second LED switch is only for notifications. It will only use the second led with the selected animation when a notification from a selected app comes in.
Update for release 7.
It allows you to choose a time between 20 seconds and 9 hours, this will determine the maximum time it takes before the leds are turned off provided the notification is not cleared.
This is handy if you leave the notification option on all the time, you can get a notification during the night for example and the leds will be blinking for the whole night, decreasing your battery by a bit.
However with notification timeout enabled you can set it so the leds stop after say 20 minutes of not clearing them.
You can read more about it here https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/blob/master/README.md#notification-timeout
UI updated, now second led power toggle is beside the logo led power toggle at the bottom right of the screen.
New UI can be seen here https://forum.xda-developers.com/devdb/project/?id=40875#screenshots
Release can be downloaded here https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/releases/tag/7
Thanks and have fun
Update for release 8 (3.5-quick-tile)
Added two quick tiles for toggling the logo led and second led. Apparently adding custom quick tiles is ridiculously easy in android, if I knew that I would have added these a while ago lol.
They are a bit slow to update sometimes lol but they should be in-sync with the app buttons since they read and write to the same shared preferences.
apk https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/releases/tag/8
Thanks and Enjoy.
update for release 9
Allowed more scrolling in the three tabs. This is because if your have your phones display scale set to normal or higher the power buttons will get in the way of notification timeout settings, now you can scroll down a bit so they wont be in the way lol.
Small ui update cause I found out you can set icons as the thumb for the switches so I set the asus rog logo and it looks sick.
Added some easter eggs in the app see if you can find all 3.
Apk link https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/releases/tag/9
Thanks and have fun
Thanks for your work friend
Enviado desde mi ASUS_I001DC mediante Tapatalk
Update for release 10.
This is a fairly small update that lets you search for apps in app select view.
App select ui was updated to use some rog logos instead of default android check boxes.
Thats about it lol.
Here is the apk https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/releases/tag/10
Thanks and enjoy
Using latest stable version (stock rom android 10) everything works, just a suggestion can you add music visualizer and custom light colour on notification? Thanks for the work! Nice Easter egg btw haha
louis_ashton said:
Using latest stable version (stock rom android 10) everything works, just a suggestion can you add music visualizer and custom light colour on notification? Thanks for the work! Nice Easter egg btw haha
Click to expand...
Click to collapse
I'm working on different animations for each app. So in the app select view you will be able to choose a different animation for each app. So if you pick one of the animations in the notificationsettings that uses a single colour instead of the rainbow you will be able to choose a colour for it.
Music visualiser would be really cool. Hopefully android has some easy way of monitoring sound lol otherwise it would be quite difficult. I'll give it a go after I get the other thing done.
Btw if you want to use a custom colour for all notifications you actually can right now. Select one of the animations that uses a single colour like blink in the notification settings and then choose a colour from the colour wheel tab.
Update for release 11 (3.8-per-app-animations)
Now you can select animations / colours per app.
Click on the app icon in the app select view. And you can set whatever animation and colour you want for that app's notifications.
More about it here https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/blob/master/README.md#per-app-custom-animations-and-colours
Apk: https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/releases/tag/11
Thanks and enjoy
Update for release 12 ( 3.9-ui-update )
This is just a simple ui update. All of the switches are now checkboxes throughout the app.
You can see how it looks like here https://forum.xda-developers.com/devdb/project/?id=40875#screenshots
Apk: https://github.com/ArtiomSu/Asus-ROG-Phone-2-RGB/releases/tag/12
Thanks and enjoy