[Tasker][Root][OOS5] Alert Slider Mod

Vesprystus

Member
Jan 26, 2016
12
12
0
This Tasker project will set your Alert Slider as follows:

Top: None
Mid: All
Bottom: Vibrate

Things required:
OOS 5 (tested and working), root, Tasker.

1- Go in the alert slider settings and set it like this:


2- Download the attached tasker backup and restore it via the top right menu.

3- Enjoy and modify the tasks! You can do almost everything, just don't modify the "Read Slider" task, since it's the one that manages the slider position's reading. For example you can set Silent to also put the phone in airplane mode for the night.

Why root? Root is required to read "/sys/class/switch/tri-state-key/state", a file that contains a number that varies from 1 to 3 (from top position to bottom position).
In OOS4 you can't freely change volumes manually, as it is locked by the system. OOS5 unlocks this and makes the mod possible.

Don't have root/have OOS4 but still want None/All/Vibrate? Here's a guide i made that simply uses a play store app to set the "all" setting to 0 volume and vibrate.
 

Attachments

slonn

Senior Member
Nov 6, 2010
1,462
165
0
Nice. Is it possible to modify to the following easily in Tasker?:

Top: ring
Middle: vibrate
Bottom: silent

I'm not very good with that app, but that's me favourite combo.
 

TazDe

Member
Nov 25, 2014
20
4
0
This Tasker project will set your Alert Slider as follows:

Top: None
Mid: All
Bottom: Vibrate

Things required:
OOS 5 (tested and working), root, Tasker.

1- Go in the alert slider settings and set it like this:


2- Download the attached tasker backup and restore it via the top right menu.

3- Enjoy and modify the tasks! You can do almost everything, just don't modify the "Read Slider" task, since it's the one that manages the slider position's reading. For example you can set Silent to also put the phone in airplane mode for the night.

Why root? Root is required to read "/sys/class/switch/tri-state-key/state", a file that contains a number that varies from 1 to 3 (from top position to bottom position).
In OOS4 you can't freely change volumes manually, as it is locked by the system. OOS5 unlocks this and makes the mod possible.

Don't have root/have OOS4 but still want None/All/Vibrate? Here's a guide i made that simply uses a play store app to set the "all" setting to 0 volume and vibrate.


Thanks a lot....with this profile i created a secret recorder using the alert slider.... thanks ....been working on it
 

blinkin

Senior Member
Mar 1, 2007
728
112
0
Zürich
Thanks! Would it work with setting a scheduler to imitate the DND from stock Android? So that I get only the priority notifications from let's say 11PM-7AM?
 

Vesprystus

Member
Jan 26, 2016
12
12
0
Thanks! Would it work with setting a scheduler to imitate the DND from stock Android? So that I get only the priority notifications from let's say 11PM-7AM?
No, you can't change the buttons' positions via software. I think there was a thread somewhere in here where they discussed using an app that forced DND and some other things on OOS4 but I don't know if it could be automated nor if it works on OOS5.
 
  • Like
Reactions: blinkin