Greetings All,
I've been reading and using tweaks from XDA for a while now, and after tinkering with Windows Phone I think I've finally found something i can contribute.
I've managed to get my HTC HD7 to give a Flashing Green LED for a missed call using old Windows Mobile 5 tricks.
By navigating to:
HKCU\ControlPanel\Sounds\RingTone0\
Adding a string value called:
Script
And giving it the values:
av2pf300
To break this down it does the following:
a = Activate Phone
v2 = Vibrate for 2 seconds
p = Play Ringtone
f300 = Flashing LED for missed call for 5 minutes
These are the values that i've chosen for myself. It makes the phone vibrate for 2 seconds before the ringtone kicks in.
I haven't found a way to keep the phone vibrating while it is also ringing, but I find having the flashing LED more of a benefit to me as I'm constantly in and out of my office.
The script value is fully customizable, and more values can be found here:
http://forum.xda-developers.com/archive/index.php/t-270040.html
I hope other people find this as useful as I have.
Estens.
have you attempted this with sms or email? neither of the two are supported with led notification by default but maybe a script can force that. Also, is there a way you can control the color of the led? thanks for your contribution!
SMS and email were handled differently by Windows Mobile 5 & 6.
You would go to HKEY_CURRENT_USER\ControlPanel\Notifications\Default\Options and set the default value to one of the following:
* 0 – Show icon
* 1 – Show icon and play notification sound
* 2 – Show icon and vibration
* 3 – Show icon and vibration and play notification sound
* 4 – Same as 0
* 5 – Same as 1
* 6 – Same as 3
* 7 – Same as 3
* 8 – Show icon and notification bubble
* 9 – Show icon and play notification sound and show notification bubble
* 10 – Show icon and notification bubble and vibration
* 11 – Show icon and play notification sound and show notification bubble and vibration
* 13 – Same as 1
This functionality appears to have changed in Windows Phone 7. I have tried both the above method and the Script method that i used for the Ringtone, but neither have worked.
As for changing the Colour of the LED, I wouldn't know where to begin. All I'm doing is telling the system that i want the LED to flash, not to flash green.
It may be possible, and i'll start to look into it now that someone has requested it - I assume that because the low-battery LED warning is Orange it is possible to change it, but that could be a hardware specific factor -- no idea.
Thanks for the reply. Any progress you can come up with would be great.
Doesn't it do this anyway - mine does except the flashing light is orange not green.
It would be a really good option to have it for SMS as well though
I can't see ...\RingTone0\... Please help me! Thanks!
jacky1507 said:
I can't see ...\RingTone0\... Please help me! Thanks!
Click to expand...
Click to collapse
First, are you using a HTC HD7? This is the only Windows Phone device I currently have access to so i am unsure if this will work with other devices (although the registry shouldn't change that much between devices.)
Second, are you sure your in the correct registry hive? i.e. you need to be in HKCU, not HKLM. There is a ControlPanel sub-key in both of these hives, so if your missing some keys i'd just ask you to confirm that your looking in the right place.
If the above does not work I'm not really sure how to progress... this key has been in Windows Mobile since 5.0 (as far as I know), and it's managed to find it's way into the Registry of my Windows Phone 7 HTD HD7 so I'm not sure why it's not there for you.
In regards to the SMS/Email flashing notification - I've tried a few methods of tinkering but still haven't been able.
Will keep you all posted.
Estens.
estens said:
First, are you using a HTC HD7? This is the only Windows Phone device I currently have access to so i am unsure if this will work with other devices (although the registry shouldn't change that much between devices.)
Second, are you sure your in the correct registry hive? i.e. you need to be in HKCU, not HKLM. There is a ControlPanel sub-key in both of these hives, so if your missing some keys i'd just ask you to confirm that your looking in the right place.
If the above does not work I'm not really sure how to progress... this key has been in Windows Mobile since 5.0 (as far as I know), and it's managed to find it's way into the Registry of my Windows Phone 7 HTD HD7 so I'm not sure why it's not there for you.
In regards to the SMS/Email flashing notification - I've tried a few methods of tinkering but still haven't been able.
Will keep you all posted.
Estens.
Click to expand...
Click to collapse
Dear Estens,
I'm using HTC HD7 Nodo, but I haven't yet change the ringtones anymore. Is it the reason like this?
I upload the picture about this problem. Please check it and help me. Thanks!
I can see your problem straight away. Your trying to modify the registry on your desktop.
This modification is for the device, (i.e. your mobile phone).
Making changes to the registry on your desktop PC will only affect things on your desktop PC, and changing the registry on your device will only affect your device.
The HKCU\ControlPanel\Sounds\RingTone0\ registry is on your device so you'll have to dev-unlock your device, install a registry editor and modify it that way.
Estens
estens said:
I can see your problem straight away. Your trying to modify the registry on your desktop.
This modification is for the device, (i.e. your mobile phone).
Making changes to the registry on your desktop PC will only affect things on your desktop PC, and changing the registry on your device will only affect your device.
The HKCU\ControlPanel\Sounds\RingTone0\ registry is on your device so you'll have to dev-unlock your device, install a registry editor and modify it that way.
Estens
Click to expand...
Click to collapse
I know. Thanks for your help!
estens said:
Greetings All,
I've been reading and using tweaks from XDA for a while now, and after tinkering with Windows Phone I think I've finally found something i can contribute.
I've managed to get my HTC HD7 to give a Flashing Green LED for a missed call using old Windows Mobile 5 tricks.
By navigating to:
HKCU\ControlPanel\Sounds\RingTone0\
Adding a string value called:
Script
And giving it the values:
av2pf300
To break this down it does the following:
a = Activate Phone
v2 = Vibrate for 2 seconds
p = Play Ringtone
f300 = Flashing LED for missed call for 5 minutes
These are the values that i've chosen for myself. It makes the phone vibrate for 2 seconds before the ringtone kicks in.
I haven't found a way to keep the phone vibrating while it is also ringing, but I find having the flashing LED more of a benefit to me as I'm constantly in and out of my office.
The script value is fully customizable, and more values can be found here:
http://forum.xda-developers.com/archive/index.php/t-270040.html
I hope other people find this as useful as I have.
Estens.
Click to expand...
Click to collapse
----------------------------------------------------------
Cool... more neat sh** to play with... thanks man!... ... knew that touchXplorer was going to come in handy pretty quick!!...
Quick note on Mango Beta 2.
It appears that if you have this trick in place before you begin the Mango Update it will persist after the update is complete. So be sure to apply this before you update to the Mango beta if you want your flashing LED for a missed call.
Related
Hi.
I am solving the issues of CommMgrPro with Diamond. The most important were.
1) CMP didnt change the band correctly (2G <-> Auto <-> 3G)
2) CMP didnt set correctly the speaker volume.
Any help to see if those issues are gone in this version will be wellcome with free licenses
Version V2.2(2008-09-12)
1) There are towers on each country with same cell id. So now the primary key for Cell Mode will be CellID + LAC. CMP will convert your database so make a backup before and will fill the lac information each time it finds a cell with lac equals 0
2) Compatibility with HTC Touch Diamond and HTC Touch Pro (Fixed Band manager, speaker manager, GPS manager and some GUI changes).
3) New option to repair the database.
4) New page for connections option (In connections/menu/options)
5) Option to disable/enable connections on roaming
6) Option to CMP startup delayed on page Options 3.
7) Option to Show/Hide the main window after start CMP.
8) Clicking on the higher part of the battery bar opens the battery page
9) Clicking on the lower part of the battery bar opens the battery page
10) Hide button is raplaced by calendar button.
11) New Today tab. This dialog lets you see the next events that will happen in the place, including calendar events, "Always on" schedules and other events (time limits, etc)
Hello Daniel,
1) I can confirm that the band changes work correctly, 2G, 3G and Auto - including timed changes
2) I had my ring and system volume set to 40%, chose the Full Sound profile, but both levels stayed at 40%. Then went back to the Unknown profile, both volumes still at 40%. The Silent profile, however, did set both volumes correctly to 0%. On exit (back to Unknown), ring volume was set to 40% (what I started with) and system was set to 62% (I had 40%).
Does this answer your questions?
-rune
runewa said:
Hello Daniel,
1) I can confirm that the band changes work correctly, 2G, 3G and Auto - including timed changes
2) I had my ring and system volume set to 40%, chose the Full Sound profile, but both levels stayed at 40%. Then went back to the Unknown profile, both volumes still at 40%. The Silent profile, however, did set both volumes correctly to 0%. On exit (back to Unknown), ring volume was set to 40% (what I started with) and system was set to 62% (I had 40%).
Does this answer your questions?
-rune
Click to expand...
Click to collapse
Ok, but dont use full sound profile. Instead use directly the speaker button of the main screen...
Attached latest beta....
You attached the QVGA version, the VGA version is needed for the Diamond, right?
Anyway, I tested with the 2.2b7 version you posted in this thread http://forum.xda-developers.com/showpost.php?p=2597701&postcount=1955, and changing to Silent and Vibrate (and back to Normal) all work ok (original volume settings restored), but setting the different volumes i % does not work at all, they remain at my previous settings - both ring and system.
-rune
runewa said:
You attached the QVGA version, the VGA version is needed for the Diamond, right?
Anyway, I tested with the 2.2b7 version you posted in this thread http://forum.xda-developers.com/showpost.php?p=2597701&postcount=1955, and changing to Silent and Vibrate (and back to Normal) all work ok (original volume settings restored), but setting the different volumes i % does not work at all, they remain at my previous settings - both ring and system.
-rune
Click to expand...
Click to collapse
hehe, yes, its qvga, sorry.
So change system volume (ring volume isnt controlled) to 20%, 40% doesnt work in diamond, isnt it?, Its a pitty because It works on touch pro (and many devices). So there is one more difference between diamond and pro: the speaker management¡¡. I will try to get a diamond to test.
Thanks ¡
Just did another test (system at 20%), and none of the %-buttons change the volume at all. Vibrate and Silent/off both work, and the previous setting (20%) is restored after changing back to normal.
Just let me know when you have a new version ready and I'll retest this. Maybe some other Diamond owner can test this as well?
runewa said:
Just did another test (system at 20%), and none of the %-buttons change the volume at all. Vibrate and Silent/off both work, and the previous setting (20%) is restored after changing back to normal.
Just let me know when you have a new version ready and I'll retest this. Maybe some other Diamond owner can test this as well?
Click to expand...
Click to collapse
Yes, It would be nice if other users could check this issue. Its strange because all the Touch Pro users hasnt that issue and "theorically" both devices are the same....
The test is easy.
1) Click on speaker button, choose ON, choose No time limit, select 80%. Then click on the upper speaker system icon to check if the level is really at 80% (more or less).
2) Same with 20% or 40%...
Greetings.
Dani
Just followed you steps in the previous post, and what I did discover in my previous testing is a bug in Manila, not in CommMgrPro
I checked the system volume using the Settings/Sounds tab and then system volume, and it always remained at 20%. But after tapping the volume icon at the top (which was set correctly) and then checking the system volume using Settings/Sounds tab, the volume was set ok here as well.
So, to sum up, CommMgrPro does indeed set the system volume correctly on the Diamond!
runewa said:
Just followed you steps in the previous post, and what I did discover in my previous testing is a bug in Manila, not in CommMgrPro
I checked the system volume using the Settings/Sounds tab and then system volume, and it always remained at 20%. But after tapping the volume icon at the top (which was set correctly) and then checking the system volume using Settings/Sounds tab, the volume was set ok here as well.
So, to sum up, CommMgrPro does indeed set the system volume correctly on the Diamond!
Click to expand...
Click to collapse
Great news¡¡.
Thank you very much runewa
Dani
il try it out on my diamond later on thx!!
Hi Dani,
So I've fiddled around with CommMgrPro for a few days and I’ve found a few bugs and even more requests for new functionality Here goes:
1) Ring volume not restored/set after profile ends (system volume is set ok)
2) Ring type “Ring” is not set correctly using the profiles, ring type “Other” is displayed. All the other ring types work ok.
3) Battery graph stops updating after a while, typically if let to run > 24 hrs. I have set a battery file of 100KB and refresh every 60 seconds
4) The application crashes a lot of the times, especially when playing around with the profiles. I have CommMgrPro installed in the ROM. I’m going to flash to a cooked ROM on a short time, I’ll install CommMgrPro as the first application, just to see if it’s the application itself or other programs that interfere
Over to the wish list
5) Should overwrite battery file when limit is reached
6) Detect if connected via activesync (pr sync partnership) and be able to set (profile)actions accordingly
7) Set how often, and when, activesync checks for mail pr profile
8) Set “Turn On/Off BT on incoming call” pr profile. Let the current “Turn On/Off BT on incoming call” on the Options2 page be an override profile settings option
9) “Intelligent cell mode” – associate all cells to the current profile. Great for recording cells to my “Work” profile, for example
10) Switch band using command line (just as BandSwitch) – maybe this is implemented already?
11) Switch profile using command line – so I can change profiles using programmable HW buttons ( I use AE Buttons Plus)
12) Programmable HW buttons
13) Change SMS, mail and reminder alerts – I would love to be able to turn on /off Vibrate for SMS-, email- and all the other configurable notifications the Diamond offer using the different profiles
14) Able to delete a profile action
15) Detect if the phone is laying on a flat surface or not, and set actions accordingly. This is my favorite I either have my phone laying on a flat surface or it’s in my hand while walking, or in the pocket of my pants – either while walking or sitting down. When I’m out walking I always use the Vibrate mode, but quickly change to normal Ring mode when I’m at the office/at home. What I would LOVE to see is for CommMgrPro to be able to detect if my phone is laying on a flat surface (+- x% which can be configured in the an Options page) or not. If you add an enter/exit “Tilted” / “Not tilted” mode somewhere, I can set my phone to vibrate when tilted (in my hand / pocket) and then switch automatically back to Normal ring mode when it’s laying flat on my desk. This of course applies to the ring mode, SMS-, email- and reminders notifications as well.
This turned out to be quite a list, but I hope you believe this will make the CommMgrPro an even more powerful application.
Enjoy your weekend!
-rune
wow rune. Good work¡¡
I take note about all this things. Most of them are very interesting and will be implemented. Only one question...
Crashes werent reported by users months ago and I didnt see it on my Touch Pro, so, when It happens again please send me a email ([email protected]) telling me what were you doing (which dialog, etc) and what kind of crash exactly. It will help me to simulate the situation and see what happens exactly.
Thanks again....
Hi.
I need to create a new release version to satisfy HTC dimaond/touch pro users because last official version didnt work corretly. So this version (2.2b9) will become Official 2.2 if no one reports a bug.
Version V2.2(2008-xx-xx)
1) There are towers on each country with same cell id. So now the primary key for Cell Mode will be CellID + LAC. CMP will convert your database so make a backup before and will fill the lac information each time it finds a cell with lac equals 0
2) Compatibility with HTC Touch Diamond and HTC Touch Pro (Fixed Band manager, speaker manager, GPS manager and some GUI changes).
3) New option to repair the database.
4) New page for connections option (In connections/menu/options)
5) Option to disable/enable connections on roaming
6) Option to CMP startup delayed on page Options 3.
7) Option to Show/Hide the main window after start CMP.
8) Clicking on the higher part of the battery bar opens the battery page
9) Clicking on the lower part of the battery bar opens the battery page
10) Hide button is raplaced by calendar button.
11) New Today tab. This dialog lets you see the next events that will happen in the place, including calendar events, "Always on" schedules and other events (time limits, etc).
Greetings.
Dani
Hi.
V2.2 ready.
Details and download on first post.
Hi.
A new beta is ready.
Version V2.3(2008-xx-xx)
1) Skin engine improvements.
2) Bug fixing related with phone-off action.
3) Better integration between CMP and HTC Touch Diamond/Pro. Current profile-schedule is shown in the main TouchFlo3D tab (Thanks to NLS). User can disable it on Options 3. See pictures
4) CMP is autorestarted automatically if other program kills it to avoid HTC task manager closes accidentally it. To close CMP just use menu/exit
5) Support for Samsung Omnia (240x400 devices).
Please send any bug, suggestion, etc. The new diamond skin will be ready very soon and It wil reduce the memory consuption in 50-70%.
Regards
Dani
Hi.
V2.3 out.
See official (Hermes) forum for details
http://forum.xda-developers.com/showthread.php?t=299070
Hi,
when I turn off bluetooth, instead of the bluetooth icon a symbol of number "1" is shown in the taskbar without any function connected to it.
On my homescreen: 1 - 3G - Signalquality - Audio - Battery
On my dialerscreen: 1 - 3G - Signalquality - Audio
So there is always one icon more (1) in the taskbar, than functions to change when I klick on it.
Does anyone know how to get rid of this useless number 1 icon?
Maybe it is the ALS (Alternate Line Service).
Maybe your provider is able to offer you a second phone line.
A screenshot would be helpful.
Yes, I can switch between Line 1 and 2 (ALS) and the icon is changing then from 1 to 2.
But I havn´t seen this special icon in any screenshot of the taskbar in this forum yet.
Hi guys. I've been searching to get rid of the number "1" from my diamond too.
My carrier supports ALS (Alternate Line Service) but I don't use.
I want ot get rid of the number 1. There is a screenshot so you can see.
Please help!
Thanks
Line 1 icon remove
Just try the following: go to HKLM\Drivers\BuiltIN\RIL\ALSService and change the value from 1 to 0.
Icon in the upper bar will disappear, but after a soft reset it´s there again.
Does anybody have permanent solution?
So, anyone find a way to make it permanent?
Guys, looks like the only way to turn it off is really to change:
HKLM\Drivers\BuiltIn\RIL\ALSService to 0.
I've created a simple utility that makes such change on startup:
http://rapidshare.com/files/276006867/AlsStopperSetup.CAB
For me it works perfect, enjoy if you like it!
Bhmn said:
I've created a simple utility that makes such change on startup:
http://rapidshare.com/files/276006867/AlsStopperSetup.CAB
For me it works perfect, enjoy if you like it!
Click to expand...
Click to collapse
Hi! I tried to download it, but rapidshare says the file is not available. Is there another way to download it? Thanks!
How To Remove 1 Line Status Taskbar - Solved
rpk-br said:
Hi! I tried to download it, but rapidshare says the file is not available. Is there another way to download it? Thanks!
Click to expand...
Click to collapse
In the registry: [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RIL] > "ALSService"=dword:00000001 and changing dword to 0 removes "Line 1" but a reboot sets it back to default so... you can find a permanent fix to remove the Line 1 from the taskbar here: http://forum.xda-developers.com/showpost.php?p=10877507&postcount=32606
this thing is driving me crazy! I got the CDMA touch pro, everytime i send a text it always notifies me with that message, i know my mogul used to do that before and my friend downloaded the windows registry and then followed some procedure to take them off but no idea what that was (this was back in the summer)
I tried searching through here but found nothing.
please help!
I believe schap's advanced settings can disable delivery report, plus it gives you many other useful extended tweaks.
try to search it, and it's free
you can also go to Start>Settings>Sounds & Notifications>Message sent notification
uncheck display on screen.
done! without advanced config!
This is what I used to disable the SMS Sent Notification.
[\HKCU\ControlPanel\Notifications\Default]
"Options" = dword:X
X being one of the values listed below (Default on Sprint was 13) Changes take effect immediately. I used 1, didn't mind the audible sound or the little icon showing at the top for a a brief second. If you use 0 you won't get any bubble notice or audible, just a 1-2 second icon in the taskbar that is gone as quickly as it appears.
0 - Icon
1 - Icon and Audio
2 - Icon and Vibrate (SSS)
3 - Icon, Audio and Vibrate (L)
4 - Same as 0
5 - Same as 1
6 - Same as 2
7 - Same as 3
8 - Icon and Bubble
9 - Icon, Bubble and Audio
10 - Icon, Bubble and Vibrate (LLS)
11 - Icon, Bubble, Audio and Vibrate (L)
12 - Bubble
13 - Bubble and Audio
14 - Bubble and Vibrate (SSL)
15 - Bubble, Audio and Vibrate (L)
The following do not reset the keyboard after sending message. What that means is that as you type and the software is doing the word complete, after sending, the word complete dialog still shows on the screen for the last word typed.
16 - Icon and No KB Reset
17 - Icon, Audio and No KB Reset
18 - Icon, Vibrate (SSS) and No KB Reset
19 - Icon, Audio, Vibrate (L) and No KB Reset
20 - Same as 16
I stopped trying values when I got to 20 since from 16 on they appeared to be the same as 0-15 but with the KB issue I mention above. Also, all the S's and L's represent quantity and length of the vibrations. I tried each setting about 10 times and 3 of the 10, the last vibe was opposite of what I show. In most cases though, it did as I show above.
After I found these, I did a search and found that a few others had found and posted the above as well. So I wasn't the first, but I did find it on my own.
That and what I covered in this thread should get you covered.
Also, you can check the following thread which has a different method for customizing the individual notifications for everything. http://forum.xda-developers.com/showthread.php?t=460368
djsikhbeatsz said:
you can also go to Start>Settings>Sounds & Notifications>Message sent notification
uncheck display on screen.
done! without advanced config!
Click to expand...
Click to collapse
I tried that on my phone and could not find Message Sent Notification. Any screen shots?
equinox2355 said:
I tried that on my phone and could not find Message Sent Notification. Any screen shots?
Click to expand...
Click to collapse
it's not there, he is thinking text received, not text sent. Anyways download Diamond tweak or Advanced config, scroll down on either to messages, and then click text sent confirmation "disable" it's very simple.
Just search the forum for either file the cabs are floating all around the place. I would use advanced config instead of registry edits.
Here's the link and thread to the Advanced Config Tool Mentioned
http://www.touchxperience.com/
http://forum.xda-developers.com/showthread.php?t=418151
My experience with Advanced Config is that it's not very CDMA friendly. It was originally written based on GSM phones and makes assumptions.
Not to steer the thread in the wrong direction but has that changed?
NosetnSMS CAB here!
Here you go, this solves the issue, just place it on your phone and install it
diamond tweak worked well for me
HKLM\Software\Microsoft\Inbox\Settings\SMSNoSentMsg=1 (its 0 by default) this will stop the message pop up box from popping up. should work right after you save but you may need a soft reset..
thanks! that advanced config didn't work (said i needed an updated microsoft net frame) but installed the 1kb nosms file and that worked like a charm, thanks!
I have a problem that my phone pops up notifications - but they are blank.
The phone is a Kaiser/TyTnII ( Used to be Vodafone 1615 )
I am pretty sure that this phone has been flashed with one of the XDA ROMs as i have just done a hard reset and i still have touchFlo and a bunch of other non standard looking utilities on the phone.
The about box for TouchFlo says version 1.0 ( Build 1818.3719 ) which i am pretty sure having read all about the touchflo project for the Kaiser on the XDA developers is a version created here.
So now that i have given some background, back to the problem... pretty much everything on the phone seems to work ok. But the really annoying bug is this notification pop up.
eg. Set a calendar appointment for a few minutes in the future, set a reminder.
.... few minutes passes ... notification pops up
whole screen dims and at the bottom i get the soft buttons of "dismiss" and "menu"
No actual message is displayed on the screen.
Now i flip to landscape mode, and i can see the top left hand corner of a pop up message - the rest dissapears off the screen.
So, what have i done so far to help myself ?
1) searched these forums for somebody having the same problem/question X
2) tried some registry tweaks for specifying what message should pop up X
3) renaming the notification manager.dll X
4) looking at all the notification *.png screen images in the /windows/
folder and confirming that they are correctly set for the QVGA screen size. X
5) tried downloading the notification manager.cab for the rhodium - elsewhere on the XDA site. - would not install
6) hard reset the phone.
I dont actually want the touchflo as i prefer the spb mobile shell. What options do i have ?
Do i need to just apply the correct registry tweaks and all will be well ?
Do i download a new notification manager from somewhere that will fix this?
Do i have to re-flash the phone ? ( least attractive option to me )
Can i somehow uninstall the notification manager and go back to a windows
default version ?
thanks, you_were_lucky
Notification Manager - pop up window size ?
So some developments since my post yesterday, I tried some registry tweaks to change the font sizes.
I notice that if i tap the title bar ( next to the wifi icon) i get the notification manager screen up - this has all the correctly sized and formatted .png images and functions correctly.
It is the pop up that appears due to a calendar reminder or a wireless network found etc. that is all wrong
When i go into landscape i can see the edge of this and even click on the wireless network found radio buttons etc.
So i figure that maybe the pop up window sizes are all wrong due to some mad font size someplace. I went into the registry and tried changing font sizes down from 800 to 12 and this did indeed change the size of most fonts kicking arround the place. Unfortunately it did not influence the size of the pop up box.
Any ideas people ?
thanks YWL
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