Voice Command 1.6 Announcing Incoming calls - 8525, TyTN, MDA Vario II, JasJam ROM Development

I remember in the past that Microsoft Voice Command would announce who was phoning me when my contacts were phoning me. i.e "call from X on mobile phone" it would say. It does not do this anymore. I have fiddled with Settings/voice command and the phone option there and tried all combinations to no avail. If anyone knows a fix I would be greatful, as i do not like to remove phone from case and fiddle around, to know who is calling me. BTW I am running Duttys WM6 Rom, if that helps.
I would be greatful for any insight/assistance.
Regards,
Mohdwadea

MOHDWADEA said:
I remember in the past that Microsoft Voice Command would announce who was phoning me when my contacts were phoning me. i.e "call from X on mobile phone" it would say. It does not do this anymore. I have fiddled with Settings/voice command and the phone option there and tried all combinations to no avail. If anyone knows a fix I would be greatful, as i do not like to remove phone from case and fiddle around, to know who is calling me. BTW I am running Duttys WM6 Rom, if that helps.
I would be greatful for any insight/assistance.
Regards,
Mohdwadea
Click to expand...
Click to collapse
It doesn't work. We are all hoping M$ addresses this issue and provides a fix or new version which does as intended.

Thanks for that Info..
Thanks for letting me know. Saved me a lot of time trying to find a solution. As you say i will wait for a fix from Microsoft. It must be specific to the 1.6 version...as it was working at some stage..most likely when i had the 1.5 version.

MOHDWADEA said:
Thanks for letting me know. Saved me a lot of time trying to find a solution. As you say i will wait for a fix from Microsoft. It must be specific to the 1.6 version...as it was working at some stage..most likely when i had the 1.5 version.
Click to expand...
Click to collapse
You are correct. The closest you can come to a solution is the various fixes that will announce everything else thru your headset when you push the headset button. *sigh*

I have the opposite problem. i am using v1.5 and I would like the announcement of who's calling me to STOP. Even on vibrate/silence, the voice will say "such and such calling from mobile"... it's extremely annoying and i dont know how to stop it.

gr8hifi said:
I have the opposite problem. i am using v1.5 and I would like the announcement of who's calling me to STOP. Even on vibrate/silence, the voice will say "such and such calling from mobile"... it's extremely annoying and i dont know how to stop it.
Click to expand...
Click to collapse
so it is working with black 2.5? how??

I'm sorry i wasn't more clear. I am using the original WM5 ROM (what can I say, its a work phone!)...

(ignore me - just re-read the thread)

MOHDWADEA said:
I remember in the past that Microsoft Voice Command would announce who was phoning me when my contacts were phoning me. i.e "call from X on mobile phone" it would say. It does not do this anymore. I have fiddled with Settings/voice command and the phone option there and tried all combinations to no avail. If anyone knows a fix I would be greatful, as i do not like to remove phone from case and fiddle around, to know who is calling me. BTW I am running Duttys WM6 Rom, if that helps.
I would be greatful for any insight/assistance.
Regards,
Mohdwadea
Click to expand...
Click to collapse
my MSVC 1.6 announces the caller to me on the device. I think the only thing I had to do was change the default setting from announcing over bluetooth to use bluetooth if available. I still have all the same issues as everyone else with announcing over the headset but everything works fine from the device.

Zzan said:
my MSVC 1.6 announces the caller to me on the device. I think the only thing I had to do was change the default setting from announcing over bluetooth to use bluetooth if available. I still have all the same issues as everyone else with announcing over the headset but everything works fine from the device.
Click to expand...
Click to collapse
The problem with not have the call announced is for WM6 only. By you sig you are running WM5

MSVC 1.6 will install on WM6 and WM5, MSVC 1.5 installs on WM5 only.
The problem of NOT announcing callers is related to PDA phones running WM6 on a Samsung processor.
Both Microsoft and HTC are working on a fix, I guess HTC's WM6 official release will have the fix.

4MB PagePool, perhaps?
Just curious - has anyone thought that this problem may have something to do with the defaul Page Pool size of 4MB in most of these cooked ROM's we're using? I seem to remember some of the very first WM6 ROM's we started to play around with had Voice Command working "properly" with regard to incoming call announcement. I've not yet tried Black 3.xx which has a 6MB PagePool - jj made a comment about 4 not being "enough".
I'd love to have this feature back.
Incidentally, I'm not the n00b my profile indicates - I've been browsing and playing around on here since owning my Wallaby, but I can't seem to remember that old username. Oh well.

Cab Fix
ZaJules created a cab fix for this, and I have had to use it on every rom since Vanilla WM 6.0. Check my sig, that's a few releases ago.
Here's the link: http://forum.xda-developers.com/showthread.php?t=296762&page=2&highlight=zajules+bt+cab
Also check out the search criteria: BT Cab and you can also add fix and guess what? It will show you the love.

No, not the BT "fix"
No, I'm not interested in the BT fix - I've accepted the fact that we'll never have true BT headset integration with the Hermes and VC 1.6, but incoming calls are no longer announced through the speaker as they were previously. I've also ruled out the "4MB PagePool" theory as I believe the LVSW variant I'm using has a 6MB Page File size.

Bump....is there a fix?

Yes; sort of. Go through this:
http://forum.xda-developers.com/showthread.php?t=312344

Here's a cab for the fix for MS Voice Command 1.6 announcing incoming callers through the loudspeaker. It works fine on the latest "official" WM6 ROM.
http://rapidshare.com/files/44098658/MSVC_1.60_WM6_8525.CAB

@ NRGZ28,
Do you have Unknown callers announced? Also what about notifications?

simple said:
@ NRGZ28,
Do you have Unknown callers announced? Also what about notifications?
Click to expand...
Click to collapse
I'm sorry but I havent tested that out. For me, the fact that known callers are announced is the most important. I would imagine that if it doesnt, that means it's unknown caller... hehe

OK, did you obtain this version or did you build it from a collection of files?
I noticed the following changes to the file and registry structure:
Build 4622
<parm name="ProcessorType" value="2577" />
<parm name="OSVersionMin" value="5.0" />
<parm name="OSVersionMax" value="6.9" />
<parm name="BuildNumberMin" value="0" />
<parm name="BuildNumberMax" value="-536870912" />
<parm name="UnsupportedPlatforms" value="HPCPALM PC2JUPITERSMARTPHONE" />
<parm name="AppName" value="Microsoft Voice Command US PPC 1.60 for M2M" />
<parm name="InstallDir" value="%CE1%\Voice Command" translation="install" />
<parm name="NumDirs" value="6" />
<parm name="NumFiles" value="46" />
<parm name="NumRegKeys" value="170" />
<parm name="NumRegVals" value="328" />
<parm name="NumShortcuts" value="2" />
Build 17913
<parm name="OSVersionMin" value="5.0" />
<parm name="OSVersionMax" value="6.9" />
<parm name="BuildNumberMin" value="0" />
<parm name="BuildNumberMax" value="-536870912" />
<parm name="AppName" value="PMC VC1.60 US" />
<parm name="InstallDir" value="%CE1%\Voice Command" translation="install" />
<parm name="NumDirs" value="8" />
<parm name="NumFiles" value="51" />
<parm name="NumRegKeys" value="173" />
<parm name="NumRegVals" value="338" />
<parm name="NumShortcuts" value="3" />

Related

Help me fix Orange VM Notifier on WM6 ROMS

Not sure if it affects everyone on Orange UK, but I know quite a few people no longer get the VM indicator when they have a VM waiting on Orange UK.
Instead you get an SMS that would normally turn on the VM indicator "[email protected]" (without the quotes), and another to turn it off when VM has been cleared.
I beleive the answer lies in
\HKCU\Software\Microsoft\SMS\Protocols
There is a clue in this thread: http://forum.xda-developers.com/showthread.php?t=219050
which states:
"Basically, the sms notification messages tell the phone to do things. For example the message to turn on the new SMS indicator is a blank text message with a subject of
Voice Mail
From
"Voice Mail System" . <[email protected]>
The SMS application should delete it afterward. After Talking to a smart guy from T-mobile Wireless Data group I also learned that this is a function of the Glenair voicemail system."
Can someone post the contents of that Hive from a standard Orange M3100 phone? I would guess we may need the app also?
On my phone (0320 WM6) there is no Protocols listed under \Software\Microsoft\SMS
Wotdyafink?
Doing a bit more research....
Could be in
[HKEY_LOCAL_MACHINE\Comm\Cellular\SMS\Protocols\<PROVIDER>]
"Name"="Microsoft <PROVIDER> SMS Protocol"
"DLL"= "<EXPORT_DLL_NAME>"
"ExportPrefix"="<PROVIDER>"
"Priority"=dword:<PRIORITY>
"AppName"="<APPLICATION_NAME>"
"Params"="<PARAMETERS>"
PLEASE can someone check what these are set to on a bog standard Orange PPC Phone?
I've dumped the entries and (hopefully) attached them to this post.
Are you saying the attached reg entries will fix the problem?
philg2000 said:
PLEASE can someone check what these are set to on a bog standard Orange PPC Phone?
Click to expand...
Click to collapse
Could just need a dump from any wm5 - the problem wasnt apparant on any roms proir to WM6. More likely to be something with smsproviders.dll....
I too have this problem since I upgraded to WM6 Black Edition 1.2
Any further ideas on how to rectify the problem?
Is it worth putting a call into Orange UK?
Thanks
Mark
Hmmm... All those reg entries are the same as those in the WM6 ROM.
So, yes, I guess it could be a problem with SMS_Providers.DLL.
Can someone post a WM5 version? I'll rename it, install it, and point the reg entries to it, so what happens...
I certainly wont be phoning Orange asking for help with a Cooked WM6 ROM !
darrellr said:
I've dumped the entries and (hopefully) attached them to this post.
Click to expand...
Click to collapse
Any chance you could pots entries in HKLM\Comm\Cellular\SMS\router ?
Or indeed the whole SMS hive?
@philg2000
Under SMS there is Protocols, Router, and Store but only Protocols has anything contained within it. The other two are completley empty.
Also attached is SMS_Providers.dll
Seen this?
I've posted this before but, may be something in here......
http://www.miousers.co.uk/viewtopic.php?t=144&highlight=dialmonitored
Hmmm... Oh well, I copied the WM5 version of SMS_Providers.dll to \windows as wm5_providers.dll.
CHanged all the references under HKLM\Comm\Cellular\SMS\Protocols
But I got no txt or notification at all. Just NOTHING :-(
So, changed entries back now....
One thing worth noting is that in the preconfig that's carried out when the device hard resets the following registry entries are created, note the comments;
<!--16. PLMN Names 17.9 RegistryKey for Orange UK USIM VMI workaround and 17.10 ONS display rule-->
<characteristic type="Registry">
<characteristic type="HKLM\SOFTWARE\OEM\PhoneSetting">
<parm name="ONSDisplayRule" datatype="integer" value="8"/>
<parm name="EnableUsimEF" datatype="integer" value="0"/>
</characteristic>
<characteristic type="HKLM\SOFTWARE\Microsoft\RIL\OperatorNames">
<parm name="65202" datatype="string" value="Orange BO"/>
<parm name="62402" datatype="string" value="Orange CAM"/>
<parm name="64602" datatype="string" value="Orange MG"/>
<parm name="61203" datatype="string" value="Orange CI"/>
</characteristic>
</characteristic>
Click to expand...
Click to collapse
"Orange UK USIM VMI workaround" - sounds interesting, however I've tried setting EnableUsimEF to 0, but still get the text messages with the symbols. I've just dumped the registry of a working vanilla Orange UK M3100 and will have a browse through to see if I can find anything.
Ok, time for me to get in on the act... I just discovered I had 6 bloody voice messages, so it's time to do some tweaking.
Olipro said:
Ok, time for me to get in on the act... I just discovered I had 6 bloody voice messages, so it's time to do some tweaking.
Click to expand...
Click to collapse
Excellent - look forward to the solution!
Me too, I found I had got 5 messages waiting... how frustrating...
Good luck...
ok, I've fixed it, it's the sms_providers.dll;
I nabbed a dll from an old WM5 AKU, signed it with the test developer certificate (gotta love that signing, NOT) and popped it on the phone.
rang myself and left a message and 'lo-and-behold it works.
signed DLL is provided... for the love of CHRIST please make sure you have the developer certificates from SCM on your PDA.
Perfect, thanks. you the man
Olipro said:
signed DLL is provided... for the love of CHRIST please make sure you have the developer certificates from SCM on your PDA.
Click to expand...
Click to collapse
OK - noob question, but the bit about developer certs....?
Olipro said:
signed DLL is provided... for the love of CHRIST please make sure you have the developer certificates from SCM on your PDA.
Click to expand...
Click to collapse
Nice one, thought so...... I'm at home without a sync cable so will have to try tommorow..
I presume the certs here can be used... http://forum.xda-developers.com/attachment.php?attachmentid=35814&d=1174572298
ibanyard said:
Nice one, thought so...... I'm at home without a sync cable so will have to try tommorow..
I presume the certs here can be used... http://forum.xda-developers.com/attachment.php?attachmentid=35814&d=1174572298
Click to expand...
Click to collapse
try them and find out

About to give up on WM6

Between the buggy as hell Call History, the unfixed phantom alarms, the non-existent reminders, and crappy third-party program support (Orb, etc.), I have found myself on the brink of going back to WM5. Now before I throw in the towel, anyone know if an update is being released to address these issues. If not, anyone know where I can find the T-Mobile WM5 ROM?
the phantom alarms has a fix look it up i cant remember where i found it.... i havent had a problem with my call history so wat is wrong wit yours?...the reminders has a fix also right on this forum u have to edit ur profile xml... and if your other problem has to do with the rotated video theres a fix for that too just look and you will find...and the other third party stuff dont know i guess wait for an update...
freyes01 freyes01 is offline
Member
Join Date: Apr 2006
Location: Miami
Posts: 35
[United States] [U.S.A. - T-Mobile]
Default
getwsted at HF found a solution for the screen rotation issue:
Add the following Key "Rotation" under HKLM\System\GDI\
e.g. [HKLM\System\GDI\Rotation]
Then Add this dword.
"LandscapeMode"=0
It solved my problem with Orb and other Videos with WMP in full screen mode.
__________________
Thanks,
Freddy Reyes
http://www.freddyreyes.com
Click to expand...
Click to collapse
this works for the video streams
Originally Posted by RandyRants
Posted here:
Code:
<characteristic type="Reminder">
<parm name="Script" value="v0p" />
<parm name="InitVol" value="4" />
</characteristic>
Click to expand...
Click to collapse
the reminder fix add this to your normal profile xml
Wow, I guess I should feel lucky. I dont have any of those problems with my WM6 upgrade s620. I have loaded documents-to-go, ewallet, MunduIM, Opera, and Mapopolis and the only problem I have is running out of memory.

Fix for playing ringtones over bluetooth headset.

If you're just looking for a quick fix, there's a cab attached that changes the registry. Otherwise, read on for an explanation.
After much searching, I finally found an explanation of the HandsFree Profile settings that let me actually hear my ringtones over the headset when someone called. The explanation of the bitmask for the supported features is taken from the Bluetooth Hands Free Profile Specification v1.5.
The registry key that needs to be changed, along with my settings for it:
Code:
[HKEY_LOCAL_MACHINE\Software\WIDCOMM\Plugin\HandsFree]
"SupportedFeatures"=dword:000005EF (1519)
A soft-reset is required before the changes will take effect.
Below are the details for the bitmask for the supported features. I only found an explanation of the first 9 bits, but that covered everything I cared about.
0x001 - Three-way calling
0x002 - EC and/or NR function
0x004 - Voice recognition function
0x008 - In-band ring tone capability (this is the relevant one)
0x010 - Attach a number to a voice tag
0x020 - Ability to reject a call
0x040 - Enhanced call status
0x080 - Enhanced call control (I also enabled this one, but I haven't verified it's actually working yet)
0x100 - Extended error result codes
Stud!
Man you are the man! People should be thanking you up and down for finding a fix for this ringtone issue. Anyway mighty thanks this fix works great!
Sorry but cudnt quite get it, do I have to change the value of SupportedFeatures to 1519 to get this thing to work
heck yeah! ton of thanks!! I was wondering why this wouldn't work..I'm going to try it after dinner..just flashed my first rom today, Energy, (yeah!!!) and gotta figure out how when I press the button on my BT headset to get the speak voice dialer thing to come up..
Sexkgp
Just download cab file and install.....the value will change to 1519 in the registry.....and then your golden!
So, I have a bluetooth carkit that runs as a "headset" and A2DP so the music can play over the speakers in the car. When a call comes in the ring that comes through the stereo is an upward sounding chime.... This will replaced that chim with the actual ring ton played on my phone? Is this the normal sound (the chime) for headsets or does every headset make its own ring sound when a call is coming in? Sorry just thought I would ask before giving this cab a go.
Thanks!
Fenux, you are a genius! I've been looking for something like this since I had my Treo 700P! This works flawlessly. Thanks a million.
htc wing
Hey I read your post about being able to hear ringtones. I’m a novice at this can anyone explain it to me in simple terms? I have a HTC wing. I downloaded the cab put don’t know where to install it.
I was looking at this part of your post but where do you get into the registry for your phone?
[HKEY_LOCAL_MACHINE\Software\WIDCOMM\Plugin\HandsFree] "SupportedFeatures"=dword:000005EF (1519)
Can you help a rookie?
Thanks,
Shawn
Oh my email is [email protected]
Fenux, your a dream come true, I have been looking for something like this for a very long time, now if you could only figure out the bluetooth and sms glitch I'd love you for life! LOL
smwis007 said:
Hey I read your post about being able to hear ringtones. I’m a novice at this can anyone explain it to me in simple terms? I have a HTC wing. I downloaded the cab put don’t know where to install it.
I was looking at this part of your post but where do you get into the registry for your phone?
[HKEY_LOCAL_MACHINE\Software\WIDCOMM\Plugin\HandsFree] "SupportedFeatures"=dword:000005EF (1519)
Can you help a rookie?
Thanks,
Shawn
Oh my email is [email protected]
Click to expand...
Click to collapse
Shawn,
If you're using the cab, you don't have to mess with the registry at all, that's what the cab does for you. Just copy it over to your phone (onto the memory card is best if you have one), and just run it from there. When it runs, it will ask you if you want to install to the phone or to the memory card, be sure to chose "phone". That's all that you have to do.
Now, that's not to say it will necessarily work on the Wing...the registry key that the cab modifies may be in a different place, or not exist at all on that phone.
sirphunkee said:
Shawn,
If you're using the cab, you don't have to mess with the registry at all, that's what the cab does for you. Just copy it over to your phone (onto the memory card is best if you have one), and just run it from there. When it runs, it will ask you if you want to install to the phone or to the memory card, be sure to chose "phone". That's all that you have to do.
Now, that's not to say it will necessarily work on the Wing...the registry key that the cab modifies may be in a different place, or not exist at all on that phone.
Click to expand...
Click to collapse
I copied the cab there....to my memory card but what is it suppose to do? I got this from the setup file
<wap-provisioningdoc>
- <characteristic type="Install">
<parm name="InstallPhase" value="install" />
<parm name="AppName" value="Fenux's Bluetooth Ringtone Fix" />
<parm name="NumDirs" value="0" />
<parm name="NumFiles" value="0" />
<parm name="NumRegKeys" value="1" />
<parm name="NumRegVals" value="1" />
<parm name="NumShortcuts" value="0" />
</characteristic>
<characteristic type="FileOperation" />
- <characteristic type="Registry">
- <characteristic type="HKLM\Software\WIDCOMM\Plugin\HandsFree">
<parm name="SupportedFeatures" value="1519" datatype="integer" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
smwis007 said:
- <characteristic type="HKLM\Software\WIDCOMM\Plugin\HandsFree">
<parm name="SupportedFeatures" value="1519" datatype="integer" />
Click to expand...
Click to collapse
It creates that registry value for you, which should just activate the feature that allows the ringtones to be sent over the bluetooth connection to your headset.
did anyone make a note of the original value? I forgot to jot it down before making changes. Oops
Mesquire said:
did anyone make a note of the original value? I forgot to jot it down before making changes. Oops
Click to expand...
Click to collapse
1383, on my US Tmo 6.5 stock ROM.
sirphunkee said:
1383, on my US Tmo 6.5 stock ROM.
Click to expand...
Click to collapse
thanks
changed my mind about hearing ringtone in earpiece so it's back to my original setup: ringtone on device, but sounds, notifications and alerts in earpiece
Htc wing
does anyone else have a wing that is trying to get the ringtones over the bluetooth headset. when i copy the cab over to my memory card it does nothing
smwis007 said:
does anyone else have a wing that is trying to get the ringtones over the bluetooth headset. when i copy the cab over to my memory card it does nothing
Click to expand...
Click to collapse
Did you click on the cab to run it?
wow amazing dude thanks i was looking for this :S since i have some free numbers and the usually call me and hang so i can call back now i can know if i should han ong or press to talk, thanks ;D
I have a bluetooth hands-free carkit, it works fine with calls , but when i got sms i got no notification in the car radio and my pro 2 also casue its on hands free give no sound at all..so sms go unnoticed when iam driving
any help to make sms notification on the hands-free?
Wow, man!! How did you found that 1519 number? I got the Hand Free Profile but couldn't understand how to put the numbers together. I changed SupportedFeatures to 1085 because is the number that makes me pick up calls from my car, but it would be great to combine both numbers.

[Q] FingerKB registry key moved in Mango?

Hi folks,
I found a way to add extra "alternate" keys to the WP7 keyboard. For example, when you press-and-hold on . you get the ability to intead insert ! or ? or -. Now, those are all very nice, but the , key has no such expansion, and there's no easy way to get to the ; ' " keys... so I added them as expansions on the , key.
The problem is, this doesn't work on Mango. I can still apply the changes (using ProvXML) but it seems that the registry key I need to set has moved. Since registry browsing doesn't work anymore, I don't know where that key went.
If somebody can look at a Mango registry dump or something and find out, that would be fantastic. I think the addition of user-switchable keyboard layouts is probably the source of the issue, but I'm not sure. The original provXML (works in NoDo), with path highlighted, is
<characteristic type="HKLM\Software\Microsoft\FingerKB\AlternateMappings">
<parm name="," value=";'"()" datatype="multiplestring" />
</characteristic>
Nobody? I really loved having this tweak on NoDo but without registry browsing I can't tell where it went. If somebody has some way to dump the relevant section of the registry from a Mango phone, that would be much appreciated!

Tasker Question

Hey everyone, I have a Tasker question. I don't own Tasker as I've never found a need for me yet, but I just had an idea that I'm hoping it can help with. So... I'll try to explain what I would like to do if possible.
I would like to have Tasker automatically connect to a specific OpenVPN profile anytime my phone connects to any WiFi profile, except for certain ones (like for home). With that, I'd like to have it auto-disconnect OpenVPN when losing WiFi and going back to cellular data.
Right now, I always connect to my personal VPN server to ensure my traffic is always encrypted while on open WiFi connections, but it would be awesome to automate that! :good:
Thanks!
You can definitely do that. Automating OpenVPN is a little tricky and specific (uses specific intent commands in Tasker). When I can get to my computer, I'll post a link on how to automate VPN.
For the rest, you can have Tasker execute commands based upon if WiFi connects or not. There is definitely a learning curve if you've never used Tasker, but it is so worth it, IMHO
beezar said:
You can definitely do that. Automating OpenVPN is a little tricky and specific (uses specific intent commands in Tasker). When I can get to my computer, I'll post a link on how to automate VPN.
For the rest, you can have Tasker execute commands based upon if WiFi connects or not. There is definitely a learning curve if you've never used Tasker, but it is so worth it, IMHO
Click to expand...
Click to collapse
Excellent, thanks for the reply! It's a good start to know what I'm looking to do is possible. :good:
I do exactly what you want using Tasker, OpenVPN for Android, and OpenVPN Tasker Plugin with Pure VPN or VPN Unlimited services.
And just to note, I use beta apps of all three, via the G+ Communities.
I have three profiles:
WiFi Connect Home (no VPN since I have one on my home router)
Wifi Connect Not Home - OVPN On
Wifi Not Connect - OVPN Off
Totally automatic and works flawlessly every single time! :good:
Pkt_Lnt said:
I do exactly what you want using Tasker, OpenVPN for Android, and OpenVPN Tasker Plugin with Pure VPN or VPN Unlimited services.
And just to note, I use beta apps of all three, via the G+ Communities.
I have three profiles:
WiFi Connect Home (no VPN since I have one on my home router)
Wifi Connect Not Home - OVPN On
Wifi Not Connect - OVPN Off
Totally automatic and works flawlessly every single time! :good:
Click to expand...
Click to collapse
Perfect, that's exactly what I'm looking for! I'm off to finally purchase Tasker!
I just have this setup today with Pi VPN (openvpn) setup in my Raspberry Pi 3 and it works beautifully. BTW, all you need is OpenVPN Connect (official OpenVPN client) and Tasker. No need for any additional plugins.
For any one who wants to use, here's the XML code. You just need to change 3 values highlighted in red (2 being your WIFI SSID and 1 the ovpn profile name). Enjoy!!
Code:
<TaskerData sr="" dvi="1" tv="5.1m">
<Profile sr="prof4" ve="2">
<cdate>1522947982090</cdate>
<edate>1522948087908</edate>
<flags>2</flags>
<id>4</id>
<mid0>2</mid0>
<nme>Home Wifi Disconnected</nme>
<State sr="con0" ve="2">
<code>160</code>
<pin>true</pin>
<Str sr="arg0" ve="3">[COLOR="Red"]YOUR_HOME_WIFI_SSID[/COLOR]</Str>
<Str sr="arg1" ve="3"/>
<Str sr="arg2" ve="3"/>
<Int sr="arg3" val="0"/>
</State>
</Profile>
<Profile sr="prof5" ve="2">
<cdate>1522948022826</cdate>
<edate>1522948094365</edate>
<id>5</id>
<mid0>3</mid0>
<nme>Home Wifi Connected</nme>
<State sr="con0" ve="2">
<code>160</code>
<Str sr="arg0" ve="3">[COLOR="red"]YOUR_HOME_WIFI_SSID[/COLOR]</Str>
<Str sr="arg1" ve="3"/>
<Str sr="arg2" ve="3"/>
<Int sr="arg3" val="2"/>
</State>
</Profile>
<Project sr="proj0" ve="2">
<cdate>1522900944427</cdate>
<mdate>1522948022826</mdate>
<name>Base</name>
<pids>4,5</pids>
<tids>2,3</tids>
<Img sr="icon" ve="2">
<nme>mw_action_home</nme>
</Img>
</Project>
<Task sr="task2">
<cdate>1522901779992</cdate>
<edate>1522947691018</edate>
<id>2</id>
<nme>PiVPN Connect</nme>
<pri>100</pri>
<Action sr="act0" ve="7">
<code>877</code>
<Str sr="arg0" ve="3">net.openvpn.openvpn.CONNECT</Str>
<Int sr="arg1" val="0"/>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3">net.openvpn.openvpn.AUTOSTART_PROFILE_NAME:PC [COLOR="red"]YOUR_OVPN_PROFILE_NAME[/COLOR]</Str>
<Str sr="arg5" ve="3">net.openvpn.openvpn.AUTOCONNECT:true</Str>
<Str sr="arg6" ve="3">net.openvpn.openvpn.APP_SECTION:PC</Str>
<Str sr="arg7" ve="3">net.openvpn.openvpn</Str>
<Str sr="arg8" ve="3">net.openvpn.unified.MainActivity</Str>
<Int sr="arg9" val="1"/>
</Action>
</Task>
<Task sr="task3">
<cdate>1522947884642</cdate>
<edate>1522947946697</edate>
<id>3</id>
<nme>PiVPN Disconnect</nme>
<Action sr="act0" ve="7">
<code>877</code>
<Str sr="arg0" ve="3">net.openvpn.openvpn.DISCONNECT</Str>
<Int sr="arg1" val="0"/>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3">net.openvpn.openvpn.STOP:true</Str>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3">net.openvpn.openvpn</Str>
<Str sr="arg8" ve="3">net.openvpn.unified.MainActivity</Str>
<Int sr="arg9" val="1"/>
</Action>
</Task>
</TaskerData>
credit: https://collinmbarrett.com/android-tasker-openvpn/
srikanth003 said:
I just have this setup today with Pi VPN (openvpn) setup in my Raspberry Pi 3 and it works beautifully. BTW, all you need is OpenVPN Connect (official OpenVPN client) and Tasker. No need for any additional plugins.
credit: https://collinmbarrett.com/android-tasker-openvpn/
Click to expand...
Click to collapse
I used that Collin Barrett link. I also tested the wholly bejesus out of both OpenVPN Connect and OpenVPN for Android / OpenVPN Tasker plugin. After a month of having both on my phone and testing one and then the other at coffee shops, on public transportation with wifi, government office wifi, and many more.
For me, the OpenVPN for Android / OpenVPN Tasker plugin was more powerful, faster to engage / disengage, and more reliable in various scenarios. That is why we have choice. I'm not going to carry a Rasberry Pi around to test your result. Glad it works for you. My solution works better for me.
Pkt_Lnt said:
I used that Collin Barrett link. I also tested the wholly bejesus out of both OpenVPN Connect and OpenVPN for Android / OpenVPN Tasker plugin. After a month of having both on my phone and testing one and then the other at coffee shops, on public transportation with wifi, government office wifi, and many more.
For me, the OpenVPN for Android / OpenVPN Tasker plugin was more powerful, faster to engage / disengage, and more reliable in various scenarios. That is why we have choice. I'm not going to carry a Rasberry Pi around to test your result. Glad it works for you. My solution works better for me.
Click to expand...
Click to collapse
Certainly, nothing against your solution. More choice works better :good:. I had issues with that Collin Barrett solution as well. And that's because it's outdated, due to OpenVPN Connect changing their implementation. This working one I provided is actually buried in the comments. And it's snappy as well.
BTW, it works with any ovpn profile with any vpn provider. Just that I'm running my own vpn to my home network to take advantage of Pi-Hole
srikanth003 said:
Certainly, nothing against your solution. More choice works better :good:. I had issues with that Collin Barrett solution as well. And that's because it's outdated, due to OpenVPN Connect changing their implementation. This working one I provided is actually buried in the comments. And it's snappy as well.
BTW, it works with any ovpn profile with any vpn provider. Just that I'm running my own vpn to my home network to take advantage of Pi-Hole
Click to expand...
Click to collapse
That is cool.
I have an ASUS RT-AC86U running custom Asuswrt-Merlin firmware with a strong SPI firewall add-on, an Ad Blocker and a program that compresses all display ads so they don't slow down even though blocked.
Oh yeah, and an OpenVPN client integrated into the router firmware, that allows selective routing of LAN clients based on website visited to allow things like Netflix and Hulu who do not like the proxy of a VPN. Working on a scripting solution to get around that now. :good:
That is why I want fast auto engage / disengage on my mobile devices as soon as they leave my home WiFi. :victory:
Pkt_Lnt said:
That is cool.
I have an ASUS RT-AC86U running custom Asuswrt-Merlin firmware with a strong SPI firewall add-on, an Ad Blocker and a program that compresses all display ads so they don't slow down even though blocked.
Oh yeah, and an OpenVPN client integrated into the router firmware, that allows selective routing of LAN clients based on website visited to allow things like Netflix and Hulu who do not like the proxy of a VPN. Working on a scripting solution to get around that now. :good:
That is why I want fast auto engage / disengage on my mobile devices as soon as they leave my home WiFi. :victory:
Click to expand...
Click to collapse
Whoa cool!
srikanth003 said:
Certainly, nothing against your solution. More choice works better :good:. I had issues with that Collin Barrett solution as well. And that's because it's outdated, due to OpenVPN Connect changing their implementation. This working one I provided is actually buried in the comments. And it's snappy as well.
BTW, it works with any ovpn profile with any vpn provider. Just that I'm running my own vpn to my home network to take advantage of Pi-Hole
Click to expand...
Click to collapse
Yup, your link to the comments section is the exact the implementation I use, works great. I'm running an openvpn server on my ASUS router with merlin firmware as well. Free and secure
beezar said:
Yup, your link to the comments section is the exact the implementation I use, works great. I'm running an openvpn server on my ASUS router with merlin firmware as well. Free and secure
Click to expand...
Click to collapse
You hang out on SNB? Using anything from thelonelycoder, Adamm, or kvic?

Categories

Resources