I'm currently thinking of a remapping app (remapping as in changing a physical button's output) , but I do not own a oneplus two. Can somebody tell me what the alert slider's keycodes are?
If any of you is willing to help but do not know how to find such info, I attached an apk (that I built from an open source code) to this post. Please install and open the app then change the alert slider state, screenshot the output then send them to me. Also, please state what ROM version you are running.
When the app is finally released to an xda thread, I'll list all the testers there of course.
P.S: The Alert Slider is that new hardware slider that changes sound profiles, in case you didn't already know
Here is the screenshot, hope it helps, makes sense to have the silent mode in the down position.
Swatto86 said:
Here is the screenshot, hope it helps, makes sense to have the silent mode in the down position.
Click to expand...
Click to collapse
Swapping the "none" profile and "all" profile was exactly what I was thinking.
Can you please tell me what the output of the other states of the slider was?
EDIT:What you actually sent me was the mapping of the back button
is it possible to map it so loud, vibrate and silent
merewood bebox said:
is it possible to map it so loud, vibrate and silent
Click to expand...
Click to collapse
That is what I am trying to achieve. If you own a One Plus Two, please download and install the apk and send me the screenshots after you toggle each alert slider state
The app does not do anything when toggling alert slider unfortunately.
Swatto86 said:
The app does not do anything when toggling alert slider unfortunately.
Click to expand...
Click to collapse
Wow, that is a very unexpected result ._. I'll have to look into the source code then.
Thanks a lot everyone
This would be genius !
I'm ready to be your beta-tester
OPT with OxygenOS 2.0.2 with Xposed here.
Would be great if we could reverse the mappings, so instead of all notifications with the slider being all the way down it would be all the way up for all notifications.
Slider up: All notifications
Slider middle: Priority
Slider down: Silent
Strange idea, but what if for each slide matched a battery profile, like battery saver, balanced, performance?
morback said:
This would be genius !
I'm ready to be your beta-tester
OPT with OxygenOS 2.0.2 with Xposed here.
Click to expand...
Click to collapse
yakuzlin said:
Would be great if we could reverse the mappings, so instead of all notifications with the slider being all the way down it would be all the way up for all notifications.
Slider up: All notifications
Slider middle: Priority
Slider down: Silent
Click to expand...
Click to collapse
Kito92 said:
Strange idea, but what if for each slide matched a battery profile, like battery saver, balanced, performance?
Click to expand...
Click to collapse
I thought about having multiple layout options : battery modes;CPU governors; rotation change etc..
However I still haven't found the alert slider mapping file :/ This is becoming quite frustrating
Will have my OPT soon and will do anything I can to help out with this. Think the All/Priority/None options are not useful at all.
its taking a lot of time ...attached img is for priority ..ie key in d middle..
RulerAk said:
its taking a lot of time ...attached img is for priority ..ie key in d middle..
Click to expand...
Click to collapse
Wow, thanks! How about the two other states? none and all ?
For all its f8(not 100% sure) .... It's takin a looot of time n not recording for d other one..... May b cause m not rooted yet
Sent from my ONE A2003 using XDA Free mobile app
I really hope this works. Good luck on this
The one plus two slider doesnt work with keycode's
toonvanstrijp said:
The one plus two slider doesnt work with keycode's
Click to expand...
Click to collapse
Would you happen to know how it behaves?
thetechnologician said:
Would you happen to know how it behaves?
Click to expand...
Click to collapse
Any updates on this ? Very interested
merewood bebox said:
is it possible to map it so loud, vibrate and silent
Click to expand...
Click to collapse
I made an app for it. Try play.google.com/store/apps/details?id=com.nqk.vibratemode (sorry, I need to post 10 posts in order to embed the link
You just need to follow the instruction and enjoy the vibration.
Related
Hi guys,
with this tool you can switch between 'volume on' and 'vibrate' by shaking your phone
Just run it and click on 'Hide', so that it always run in background.
Please test it and tell me if the sensivity is ok and if it's not drain your battery to much.
Please donate for me! I'm a student and I spend all my free time for developing tools for you!
A cup of coffee for me
Received donations
6.00 EUR: Daniel O
4.00 EUR: Arne V
10.00 EUR: Mahmoud K
Thank you very much!
Changelog
Version 0.2 (07/11/08 14:10 pm)
Vibration feedback (1x long: vibration mode on, 2x short volume on)
A lot of settings for parameters. Just play around with them, because it's difficult to explain them.
At the moment settings will be lost, after closing my app.
application icon added
Version 0.1 (07/09/08 18:50 pm)
first release
Best regards,
Sascha
Sounds nice!
But how "hard" do you have to shuffle? I mean can it happen accidentially for example by running with the phone in your pocket?
horstborsch said:
Sounds nice!
But how "hard" do you have to shuffle? I mean can it happen accidentially for example by running with the phone in your pocket?
Click to expand...
Click to collapse
That's why it takes so long until i published this app.
I coded it so, that nothing can happend! Only if you shuffle the device, it change to vibrate or back to volume on.
I think it is not possible, that this happens, when you having your phone in your pocket ..... ok i don't know what you are doing the whole day...maybe it is possible
COOL!
Not to be ungrateful...but would it be possible to write something similar that will put an alarm into "Snooze" mode?
eg...Alarm goes off and instead of me having to navigate through the menu's to stop or snooze, I would just shake it?
i'd like to have a function by shuffling the diamond, that the screen goes on or off...
well done!
But is there any notification if you shake it that the status change is preformed?
So if you do it with the screen switched off you need a feedback if it was sucessfull. Maybe one beep for vibrate and two beeps for volume on?
daren1 said:
COOL!
Not to be ungrateful...but would it be possible to write something similar that will put an alarm into "Snooze" mode?
Click to expand...
Click to collapse
That sounds cool! I'll figure out that.
horstborsch said:
well done!
But is there any notification if you shake it that the status change is preformed?
So if you do it with the screen switched off you need a feedback if it was sucessfull. Maybe one beep for vibrate and two beeps for volume on?
Click to expand...
Click to collapse
It doesn't work, when the device is in standby!
If the device is on, you see it in title bar.
But i could also add a vibration feedback when switching.
Nice trick !
I will have a look at this...
Thanks !
@sushi : did you use the Gsensor API for that ?
its perfect!
@MonteCristoffOn:
I figured it out by myself, how to use the gsensor.
But at the end it was easier and faster to use the finished api, which was published a few days ago.
Works great so far!! But one question: Would it be possible to start the app completely in the background like a service? Thanks alot for your work!!
cheers
neoTheone said:
Works great so far!! But one question: Would it be possible to start the app completely in the background like a service? Thanks alot for your work!!
cheers
Click to expand...
Click to collapse
Yes, that's what i want to do in one of the next versions.
very sweet indeed!! I would also vote for a short vibration feedback after switching and customized actions to perform.. Thank you
After testing, i figured out, that my app works when the phone is in standby. First i said, that it won't...
In next release i give you the possibilty to change parameters, so that we can find the optimal settings.
neoTheone said:
very sweet indeed!! I would also vote for a short vibration feedback after switching and customized actions to perform.. Thank you
Click to expand...
Click to collapse
Works great on the TLR V2 Rom
Would also love to have a little vibrate when the profile is switched.
Thanks for the cool app
thank you again, i don't know if the "cup of coffee" link is there because of my suggestion (from the thflo3d thread) or it was already there but i think i did good use of it.
not enough for a mercedes or a new girl friend but sure enough for at least a "six pack"
thank you!
KukurikU said:
not enough for a new girl friend
Click to expand...
Click to collapse
What a shame! I need a new girl friend so much
But, thank you very much!
sushilange said:
In next release i give you the possibilty to change parameters, so that we can find the optimal settings.
Click to expand...
Click to collapse
Yes please provider a slider or something to be able to set the sensitivity by ourselves..... cuz sometimes when I shake it, it changes... other times it doesn't But the intention of this program: I love it!
Working Great!!
Awesome App!
i agree with other comments about the below....
As mentioned, a small vibrate or noise ( maybe make a noise when switch to loud, and vibrate it when switch to vibrate ??)
The shake to "wake up" the fone sounds awesome.
also shake to snooze or turn off the alarm.
Also things such as turning the phone over would work well with the alarm functions, and turning off the alarm
How about turn phone over to snooze alarm... shake it to stop alarm ???
Hi,
I noted with interest when going into the Ringtones etc config section via the HTC Settings interface there are a number of profiles defined. This is something of interest to me as I miss these from my Nokia days (one for at work when I want subtle, one for in the car when I want loud etc).
Is there a quick way to then get to (ie. switch between) these profiles once configured that anyone has found?
Thanks in advance.
Yeah i was about to post the same thing, how annoying....
Yeah, you could just click the volum rocker and choose between Silent, Vibrate or change the volue of ringer or system to suite your mood it is very handy and quick.
G-profile is a good solution ...
kianoushi said:
Yeah, you could just click the volum rocker and choose between Silent, Vibrate or change the volue of ringer or system to suite your mood it is very handy and quick.
Click to expand...
Click to collapse
i would also prefer a quick access to the 'sound & display' page, because ticking the volume slider work maybe 6 out of 10 times, for me.
kianoushi said:
Yeah, you could just click the volum rocker and choose between Silent, Vibrate or change the volue of ringer or system to suite your mood it is very handy and quick.
Click to expand...
Click to collapse
Ah I see, didn't realise these profile mapped onto these settings accessible through the volume control! will give them a try and see how I get on.. thanks!
wow i didnt realize this either
I don't get it. where is the System? I only see Silent and Vibrate
wiltonson said:
I don't get it. where is the System? I only see Silent and Vibrate
Click to expand...
Click to collapse
What do you mean the system?
kianoushi said:
Yeah, you could just click the volum rocker and choose between Silent, Vibrate or change the volue of ringer or system to suite your mood it is very handy and quick.
Click to expand...
Click to collapse
That system mentioned by kianoushi
Um your are reading into it to far, it means what it means lol.
darn, ok
i guess i just have to consider G-profile then, anyone knows any free version of G-profile?
I definitely propose CommMgrPro (also in this forum - use search).
The skin work is bad (but you can make something nicer yourself if you like), but the function is perfect. After all the developer owns an HD2.
He soon plans on a GUI update, but as I said in terms of functionality, it is unbeatable.
Hi,
Small question or comment.
I find it really annoying when I use the slider how the ringtone volume is managed.
Going from All notifications to Priority Only, the Ringtone volume goes down to vibrate.
When I go back to All notifications, the volume stays on vibrate.
Is that normal behavior, any way of changing it ?
Thanks!
I tried this guide without results, try and let me know if it works for you w ww.youtube.com/watch?v=bGXkVprGKsY
edit: i find the solution on oneplus forum.
fix for no active profiles
Go to sounds and notifications and scroll go the bottom where it says notification access and enable tasker and it will work
I made an app doing that. Search for VibrateMode on playstore
khanhbabykid said:
I made an app doing that. Search for VibrateMode on playstore
Click to expand...
Click to collapse
Can you make this work for the OnePlus X?
Chris.nl said:
Can you make this work for the OnePlus X?
Click to expand...
Click to collapse
Did you try it on Oneplus X? I dont have the device but it should work well on any device with android 5
khanhbabykid said:
Did you try it on Oneplus X? I dont have the device but it should work well on any device with android 5
Click to expand...
Click to collapse
I did try it, but it won't change to vibrate mode. I'll send u a email for support.
Thnx.. It works on the OPX :good:
Hi everybody ! I have an awful problem with the alert slider of my OP2. it is totally broken, can't use it anymore. when it worked it was in Do Not Disturb and now it is locked in DND too... what can i do?
just because i can put in dnd/mute/all with the volume buttons i use a custom rom.
IS THERE ANY CHANCE TO DISABLE THE ALERT SLIDER? AND DO ALL THE MUTE/VIBRATE/ALL STUFF WITH THE VOLUME BUTTONS?
Looking forward to your reply. thank you!
manepop98 said:
Hi everybody ! I have an awful problem with the alert slider of my OP2. it is totally broken, can't use it anymore. when it worked it was in Do Not Disturb and now it is locked in DND too... what can i do?
just because i can put in dnd/mute/all with the volume buttons i use a custom rom.
IS THERE ANY CHANCE TO DISABLE THE ALERT SLIDER? AND DO ALL THE MUTE/VIBRATE/ALL STUFF WITH THE VOLUME BUTTONS?
Looking forward to your reply. thank you!
Click to expand...
Click to collapse
Put a custom rom and change the alert slider settings. Put top position as none.
utkarsh102 said:
Put a custom rom and change the alert slider settings. Put top position as none.
Click to expand...
Click to collapse
if i do so , when i change to stock rom(oxygen os) i'll be able to mute from volume buttons?
manepop98 said:
if i do so , when i change to stock rom(oxygen os) i'll be able to mute from volume buttons?
Click to expand...
Click to collapse
No. I meant change your rom and not go back to stock. But as far as i remember, didn't oos also an alert slider settings?
utkarsh102 said:
No. I meant change your rom and not go back to stock. But as far as i remember, didn't oos also an alert slider settings?
Click to expand...
Click to collapse
none that i can use for my problem
manepop98 said:
none that i can use for my problem
Click to expand...
Click to collapse
What none?
utkarsh102 said:
What none?
Click to expand...
Click to collapse
these are the only options related to the alert slider. none of these options can help me. only if someone knows tasker/ xposed module what can solve this..
manepop98 said:
these are the only options related to the alert slider. none of these options can help me. only if someone knows tasker/ xposed module what can solve this..
Click to expand...
Click to collapse
Did you try pressing tge volume up button again and again? That works for me to get out of the do not disturb mode. Also there is a QS tile for do not disturb. Try tgat.
utkarsh102 said:
Did you try pressing tge volume up button again and again? That works for me to get out of the do not disturb mode. Also there is a QS tile for do not disturb. Try tgat.
Click to expand...
Click to collapse
what you are saying is working just for custom ROMs.. but i need to tweak OOS.
Thank you, anyway.
https://forum.xda-developers.com/on...p-custom-slider-root-xposed-required-t3477444
utkarsh102 said:
https://forum.xda-developers.com/on...p-custom-slider-root-xposed-required-t3477444
Click to expand...
Click to collapse
sadly, it doesnt work for OOS 3.5.6 / 3.5.8
Hi all
It seems that the only way to get ring volume switched to vibrate only, is via the switch on the left side of the phone? I understand that this is the intended method, but that vibrate only cannot be configured in the regular profile shocks me?
The silence mode features an icon in the status bar, and enforces a whole set of other options, really? I understand that the switch is a design decision, but that is in no way the same to me as taking away regular well known usage of any android phone since dawn of time - the vibrate option in the normal 'volume profile'....
Any input on this? Am I missing something, or am I the only one having an issue here?
The lack of swipe across status bar to lower screen brightness is a different thing, but I'm sure developers will bring this back, at least with a custom kernel (EX for example).
Kind Regards
Seems like I'm the only person who cares :laugh: Or the thread just drowned :highfive:
TwinAdk said:
Seems like I'm the only person who cares [emoji23] Or the thread just drowned :highfive:
Click to expand...
Click to collapse
LOL, I think so ?. Personally I love this change.
Sent from my ONEPLUS A5000 using Tapatalk
I'll Growler to like it... I'm pretty sure..
Actually there's this app that can do this without you touching the switch. Sound Profile. I have no idea what makes it work but it does.
Now if only I could make Tasker do this...
wondering the same, had a similar problem, see https://forum.xda-developers.com/showthread.php?t=3629258
Solved it with tasker.
Trigger "silent ~ off" -> set a non empty ringtone.
trigger "silent ~ on" (this is true for dnd and silent mod): change ringtone to empty (silent) ringtone
I came across the same question and the only way I've found to enable silent/ vibrate mode without the slider is using a widget.
Ok, the attatched screenshot is a catlog of things happening when switching from silent to do not disturb. Notice the easily recognized event at the top, ThreeKeyHW.. That's whats triggering all the following actions. This can be intercepted by Tasker, and manipulated with :good:
Attatched screenshot
On having Tasker read or react to logcat content.
https://www.google.dk/amp/s/amp.red...nts/62gdx2/is_there_a_tasker_plugin_that_can/
TwinAdk said:
On having Tasker read or react to logcat content.
https://www.google.dk/amp/s/amp.red...nts/62gdx2/is_there_a_tasker_plugin_that_can/
Click to expand...
Click to collapse
why bother reading logcat (which might eat your battery)? for me, testing two variables in tasker allows me to determine the switch position:
%SILENT ~ off we are loud
%SILENT ~ on and %VOLR!=0 we are in dnd
%SILENT ~ on and %VOLR = 0 we are in silent mode
penĀ² said:
why bother reading logcat (which might eat your battery)? for me, testing two variables in tasker allows me to determine the switch position:
%SILENT ~ off we are loud
%SILENT ~ on and %VOLR!=0 we are in dnd
%SILENT ~ on and %VOLR = 0 we are in silent mode
Click to expand...
Click to collapse
You have more Tasker experience than I do :laugh:
Question, in your opinion, is any other tasker alternative worth spending money or time on, or is it just a matter of learning Tasker? My point being that Tasker is THE tool - but also quite difficult to manage at times... Hard to navigate in, I personally believe. But on the other hand, it can do ANYTHING, which you cannot say about ANY of the alternatives...
TwinAdk said:
You have more Tasker experience than I do [emoji23]
Question, in your opinion, is any other tasker alternative worth spending money or time on, or is it just a matter of learning Tasker? My point being that Tasker is THE tool - but also quite difficult to manage at times... Hard to navigate in, I personally believe. But on the other hand, it can do ANYTHING, which you cannot say about ANY of the alternatives...
Click to expand...
Click to collapse
Hi,
no, not more experience, but I found a posting for a similar question for the oneplus 3 where someone suggested testing the %INTERRUPT variable to determine if it is on value "priority" (meaning it is in dnd mode). I tested this and just created a task that shows a flash message with a number of variables of which I thought they could be interesting. Turned out that INTERRUPT was never set, but this is how I found out about SILENT and VOLR.
Regarding tasker alternatives: I haven't used an automation tool for maybe three years now, before I had only done simple stuff with tasker, so it was my first pick and it worked nicely - so I cannot say anything about alternatives...
me personally would love just bottom to top: all, vibrate only, nothing. no DND etc. another thing that bothers me is that when in silent/vibrate, I can't get Textra to use a certain pattern for messages coming in. oos defaults to two little vibrations. any ideas?
Sent from my ONEPLUS A5000 using XDA Labs
stooyleown said:
me personally would love just bottom to top: all, vibrate only, nothing. no DND etc. another thing that bothers me is that when in silent/vibrate, I can't get Textra to use a certain pattern for messages coming in. oos defaults to two little vibrations. any ideas?
Click to expand...
Click to collapse
Tasker. If status dnd and sms - vibrate
This annoyed me too.... I've done as people have suggested just switched the profile to "none"
TwinAdk said:
Tasker. If status dnd and sms - vibrate
Click to expand...
Click to collapse
well if ya have a profile, would ya mind sharing? :good:
Sent from my ONEPLUS A5000 using XDA Labs
stooyleown said:
well if ya have a profile, would ya mind sharing? :good:
Click to expand...
Click to collapse
I don't sorry ? if I had I would :good:
Is there no one here that can actually help with this? People just keep leaving short oneliners without any substance ("Just apply the thingy and it'll work"). It's not helpful, it's just frustrating as **** since none of us others get this to work.
If you do know how to do this, for real, then share your XML for your profile and/or tasks. Or write up a step by step.
rage77 said:
Is there no one here that can actually help with this? People just keep leaving short oneliners without any substance ("Just apply the thingy and it'll work"). It's not helpful, it's just frustrating as **** since none of us others get this to work.
If you do know how to do this, for real, then share your XML for your profile and/or tasks. Or write up a step by step.
Click to expand...
Click to collapse
Over the past days I've gained Tasker knowledge to do this. How would people want it to work, I'll try!