My software is based on Lollipop. Currently, when the screen is on watch because I say something and at that moment someone calls it displays only a small window (Answer- Reject) that someone is calling instead as in earlier versions of roms in full screen. Is there a module Xposed that allows you to return to the old way, to display a message around the screen?
you could try disabling the heads up notification for the call ui or telephony app.
regards
My Huawei Ascend P7 runs Android version 4.4.2, EMUI 3.0.
I'm unable to setup widgets on my lockscreen (swiping left/right just unlocks the screen), and there is no "Enable WIdgets" option in Settings > Security.
I read this thread, and tried downloading some new themes, different from the Balance one, but the option still doesn't show up. I tried changing lock screen methods as well (Huawei Unlock, PIN, ...) but still no trace of the option.
Any hint? My goal was to have Google Calendar on lock screen (pretty much like what happens on Windows Phone), so I'd be fine with a work-around as well.
Thanks in advance.
I'm running full stock EMUI 5.0.2 and I can't access the Project Menu through the dialer by using the *#*#2846579#*#* code. All that happens is that the text field clears and returns to showing my recent calls. I've also tried to access it through the "Activity Launcher" app and it's nowhere to be seen in the activity list.
3-25-22 update: Looks like the new code will be on line 33 for Android 12. It was on line 32 for Android 11. In addition to three_key_mode, you'd also want to add alert_slider_mode to your script (same identifiers as three key mode 1-3).
11-15-22 update: for Android 13 it will be on line 37
Hi, all.
Just got my 6T last week and loving it, except for the dang slider. I just have a bad feeling it's gonna fail one of these days, so decided to poke around and see if there is any soft solutions available. Oxygen slider module for Xposed doesn't appear to work. You can set up tasker to toggle the vibrate mode, which will take care of the sldier piece, but you won't see the vibrate icon in the upper right corner. There is also another app (silent mode toggle), which basically does the same thing as Tasker, but once again, no cigar on the icons. I was able to toggle the vibrate/silent/ring via the three_Key_mode command in global settings, but that didn't actually change the ringer mode. I've kept looking and looking until I've stumbled onto this post:
https://gist.github.com/tniessen/ea3d68e7d572ed7c607b81d715798800
I've then pulled up the pie build and found the interface declaration for the ringer mode (void setRingerModeInternal(int ringerMode, String caller) which is the 18th line (function index) here:
https://github.com/aosp-mirror/plat...e/media/java/android/media/IAudioService.aidl
What you will need:
1. Root, since we're modifying system parameters
2. Smanager or another script tool
3. Slider has to be in the ring mode for these to work properly (I'm sure somebody more proficient than me can figure out if the slider can be bypassed in other modes)
Create a new script and call it Vibrate (or something else you want to call that mode). Enable su (root privilege) on it. Inside type:
settings put global three_Key_mode 2
service call audio 18 i32 1 s16 text
############
(do not copy below ^ the above)
three_key_mode 2 - display vibrate icon
i32 1 - enable vibrate mode
s16 text - just random string caller
For Ring (or something else you want to call that mode). Enable su (root privilege) on it. Inside type:
settings put global three_Key_mode 3
service call audio 18 i32 2 s16 text
############
(do not copy below ^ the above)
three_key_mode 2 - display ring icon
i32 2 - enable ring mode
s16 text - just random string caller
For Silent(or something else you want to call that mode). Enable su (root privilege) on it. Inside type:
settings put global three_Key_mode 1
service call audio 18 i32 0 s16 text
############
(do not copy below ^ the above)
three_key_mode 1 - display silent icon
i32 0 - enable silent mode
s16 text - just random string caller
Now you can add these scripts as toggles onto your home screen. Hopefully, some people can find this useful.
I have no need for this, but it's always nice to see someone find a solution like this on their own. Nice find!
with the new Android 10 rollout, "service call audio 18" needs to be updated to "service call audio 30" for these to work.
Seriously, the greatest
RussianBear said:
with the new Android 10 rollout, "service call audio 18" needs to be updated to "service call audio 30" for these to work.
Click to expand...
Click to collapse
Boy, I've been looking for a way to do this for a while, and it's been sitting here the whole time! Thank you!
Hooray for automated control of ring mode!
dismembered3po said:
Boy, I've been looking for a way to do this for a while, and it's been sitting here the whole time! Thank you!
Hooray for automated control of ring mode!
Click to expand...
Click to collapse
Lol I was perplexed why nobody else had this done before (other than thru tasker, etc.).
RussianBear said:
Lol I was perplexed why nobody else had this done before (other than thru tasker, etc.).
Click to expand...
Click to collapse
So, if I didn't have a way to make my phone automatically do this stuff, I forget, and wind up waking the kids up in the middle of the night.
I've been using Automate for years for this purpose, but then I got my 6T. Aaaaaand....
RussianBear said:
Lol I was perplexed why nobody else had this done before (other than thru tasker, etc.).
Click to expand...
Click to collapse
You know, I was just about to post that this wasn't working. I'd been testing it for a while, and was frustrated.
Then, I realized that "auduo" is NOT how to spell "audio."
Would be awesome if someone could find a way to do this with the slider in any position. That way the slider can be repurposed for other functions and tasker.
Thank you for this.
I was missing the service call line from when i tried to work this out last year.
I've now got it working perfectly in tasker
PeteT said:
Thank you for this.
I was missing the service call line from when i tried to work this out last year.
I've now got it working perfectly in tasker
Click to expand...
Click to collapse
Good deal! When we get android 11 on 6t, the new code will be on line 32. I already have it working on 8T.
RussianBear said:
Good deal! When we get android 11 on 6t, the new code will be on line 32. I already have it working on 8T.
Click to expand...
Click to collapse
Thats good to know, thank you
I am using a 7 pro, so as and when this gets an update, i'll update my tasks
Hi RussianBear
I can't get this to work on Android 11. I am using a OnePlus 9 Pro. Does it still work for you?
If it does, would you mind sharing the full 'service call' line?
Thank you
See my 8T thread: https://forum.xda-developers.com/t/how-to-bypassing-slider-to-change-ringer-volume.4207221/
Thank you for your quick reply. I had everything correct apart from ticking 'use root'. Doh
PeteT said:
Thank you for your quick reply. I had everything correct apart from ticking 'use root'. Doh
Click to expand...
Click to collapse
Good deal! How you liking the 9, btw?
I really like it. I wasn't sure if it would be a good replacement over the 7 Pro but the 9 Pro feels well balanced in the hand, Performance is great and the wireless fast charge is incredible. For me it is a good upgrade.
I have installed a magisk module called butterlimits which feels like it extends battery life and improves the responsiveness of the phone.
Hello guys,
Firstly, congrats for this perfect workaround.
I was trying to do same thing with Tasker and my phone...
Only that my phone is Oneplus 7T... (noob here)
So now I have no vibration while someone calling, no matter where the position the slider is. I have also tried to enable the vibration from the Setting, but nothing happened.
Vibration for notifications (and every thing else) is working fine.
Do you have any idea how to bring back the call vibration?
Thanks in advance...
RussianBear said:
Good deal! When we get android 11 on 6t, the new code will be on line 32. I already have it working on 8T.
Click to expand...
Click to collapse
Looks like the new code will be on line 33 for Android 12.
in addition to three_key_mode, you'd also want to add alert_slider_mode to your script (same identifiers as three key mode 1-3).
11-15-22 update: for Android 13 it will be on line 37
For those who have installed LineageOS on T5, you know that there is a bug with a text which is bit blurry. There is a fix for this, you go to Developper Option and disable HW overlays. But the small problem is that it doesn't stay after reboot, and each time you need to disable it again. I found in some old forums how this can be permanently fixed using Tasker. I tried, it works, and I want to share with you. You need to be rooted for that to work.
In Tasker, create new profile: Event -> System -Device Boot
Task : Script - Run shell
Shell command : service call SurfaceFlinger 1008 i32 1
Thick "Use Root" box
That's it, the HW overlays is now permanently disabled.
you made my whole month my dude