VoIP using like DECT at home - Touch HD General

Hey guys,
i got fully internet by 1&1, so also the telephone. i wanna know if it's possible to get my HD set like a normal telephone when i'm at home.
So i had thoughts about using voip and wifi to get this managed, so that i can use my normal telephone number on the HD, when connected to my fritzbox.
Are that possible thoughts?
If yes, how can i manage to get that target?

Voip on Touch HD
I'm glad to answer yes! Pls see my post at forum.xda-developers.com/showpost.php?p=3184203&postcount=510 and go to http://forum.xda-developers.com/show...ht=destr0+VOIP to download the necessary cab.
I tried this on official Htc Rom, works as well. Before installing, disable tf3d. After reset, run SIPConfig Tool and enter account detail. Under Tools, enable or disable Voip over 3g depending on data plan or contractual restrictions. On the Today screen, you will see an Internet Calling option, it's used to activate or disable the use of the Ip line instead of GSM. If you wish to use tf3d, go to Settings, Today uncheck Internet Calling and check tf3d. To place a call, press the send key, tap settings, go to Internet tab, set to Whenever available. Now, every time you activate your wifi, calls will be routed through Voip. You can see your Voip provider named on the top of the Phone app instead of your cellular operator. A short squeaky beep also plays before each call, signalling you're using the Voip.
Let me know if it works with you too!
Anyone able to edit the dialing plan to on the topic accept numbers starting with international code '+' instead of 00? This would allow the ip phone to perfectly integrate with the contacts book. I've found a couple of threads but I wasn't successful in implementing the proposed changes to make it work.

thx for ur information, but what to put in details at slip config? username/pw and slip server?

Prophete said:
I'm glad to answer yes! Pls see my post at forum.xda-developers.com/showpost.php?p=3184203&postcount=510
Click to expand...
Click to collapse
Amazing ... finally working VoIP for WM 6.1 and sound routed through internal speaker !!! Thanks a lot for the link. Works great on my HD with stock ROM and internetcalls.com (betamax family) as VoIP provider.

Parameters SIP COnfig
4varic3 said:
thx for ur information, but what to put in details at slip config? username/pw and slip server?
Click to expand...
Click to collapse
You need to subscribe an account wit ha Voip provider, f.i. at voipbuster, where you choose a username and a password. The Voip provider will then debit your bank account or credit card. The sip server to be inputed looks always like this:
sip.providename.extension (extension: com, de, it or other)

For those who installed that cab (destr0_VOIP_WM61___SIP_Config_1.1.CAB) and who has their GPS killed ... here is the answer ...
1. You have to take this cab and unzip it do some directory
2. Modify _setup.xml file and DELETE entries related to dnsapi.dll. Here is how it should look like:
<wap-provisioningdoc>
<characteristic type="Install">
<parm name="InstallPhase" value="install" />
<parm name="OSVersionMin" value="4.0" />
<parm name="OSVersionMax" value="5.99" />
<parm name="BuildNumberMin" value="0" />
<parm name="BuildNumberMax" value="-536870912" />
<parm name="AppName" value="destr0 VOIP and SIP Configuration" />
<parm name="InstallDir" value="%CE1%\Sip Config Tool" translation="install" />
<parm name="NumDirs" value="3" />
<parm name="NumFiles" value="5" />
<parm name="NumRegKeys" value="16" />
<parm name="NumRegVals" value="36" />
<parm name="NumShortcuts" value="1" />
</characteristic>
<characteristic type="FileOperation">
<characteristic type="%InstallDir%" translation="install">
<characteristic type="MakeDir" />
<characteristic type="SipConfig.exe" translation="install">
<characteristic type="Extract">
<parm name="Source" value="SIPCON~1.001" />
</characteristic>
</characteristic>
</characteristic>
<characteristic type="%CE2%" translation="install">
<characteristic type="MakeDir" />
<characteristic type="ipdialplan.xml" translation="install">
<characteristic type="Extract">
<parm name="Source" value="IPDIAL~1.003" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="rtcdll.dll" translation="install">
<characteristic type="Extract">
<parm name="Source" value="00RTCDLL.004" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="voipphonecanvas.dll" translation="install">
<characteristic type="Extract">
<parm name="Source" value="VOIPPH~1.005" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="ringback.wma" translation="install">
<characteristic type="Extract">
<parm name="Source" value="RINGBACK.006" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
</characteristic>
<characteristic type="%CE11%" translation="install">
<characteristic type="MakeDir" />
<characteristic type="Sip Config Tool.lnk" translation="install">
<characteristic type="Shortcut">
<parm name="Source" value="%InstallDir%\SipConfig.exe" translation="install" />
</characteristic>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="Registry">
<characteristic type="HKLM\Comm\RTC\AdapterTypes">
<parm name="1" value="131073" datatype="integer" />
<parm name="2" value="131074" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Security\Phone\VoIP">
<parm name="VoIPPhoneCanvasIsAvailable" value="1" datatype="integer" />
<parm name="HandsetModeMaxVolume" value="52428" datatype="integer" />
<parm name="SpeakerModeMaxVolume" value="65535" datatype="integer" />
</characteristic>
<characteristic type="HKCU\Software\Microsoft\Vmail">
<parm name="VMailFlags" value="4" datatype="integer" />
</characteristic>
<characteristic type="HKLM\System\State\VoIP\Phone">
<parm name="Network Preferences" value="0" datatype="integer" />
</characteristic>
<characteristic type="HKCR\VoIP\CLSID">
<parm name="" value="{3BBDAFA4-5F80-4382-8543-715801B701E1}" datatype="string" />
</characteristic>
<characteristic type="HKCR\CLSID\{3BBDAFA4-5F80-4382-8543-715801B701E1}\InprocServer32">
<parm name="" value="voipphonecanvas.dll" datatype="string" />
</characteristic>
<characteristic type="HKLM\Security\Provisioning\CSPs\.\Vendor\MSFT\VoIP">
<parm name="" value="{DAB192CE-B659-460c-AE27-0F32ECB471D4}" datatype="string" />
</characteristic>
<characteristic type="HKLM\System\VoIP\SIP">
<parm name="RtcInitFlags" value="0" datatype="integer" />
<parm name="OutgoingFailOn302" value="0" datatype="integer" />
<parm name="EnablePort5060" value="0" datatype="integer" />
</characteristic>
<characteristic type="HKCU\ControlPanel\Sounds\RingTone2">
<parm name="Script" value="apw3r" datatype="string" />
<parm name="Category" value="Ring" datatype="string" />
</characteristic>
<characteristic type="HKCU\ControlPanel\Sounds\DialingVoIP">
<parm name="Sound" value="dpadctl.mid" datatype="string" />
<parm name="Script" value="p" datatype="string" />
<parm name="Category" value="InCallFeedback" datatype="string" />
</characteristic>
<characteristic type="HKCU\ControlPanel\Sounds\TransferComplete">
<parm name="Sound" value="dpadctl.mid" datatype="string" />
<parm name="Script" value="p" datatype="string" />
<parm name="Category" value="InCallFeedback" datatype="string" />
</characteristic>
<characteristic type="HKCU\ControlPanel\Sounds\RingbackVoIP">
<parm name="Sound" value="ringback.wma" datatype="string" />
<parm name="Script" value="apw3r" datatype="string" />
<parm name="Category" value="InCall2" datatype="string" />
</characteristic>
<characteristic type="HKCR\CLSID\{7a42ea29-a2b7-40c4-b091-f6f024aa89be}\InprocServer32">
<parm name="" value="rtcdll.dll" datatype="string" />
</characteristic>
<characteristic type="HKLM\Software\Microsoft\Today\Items\"Internet Calling"">
<parm name="DLL" value="voipphonecanvas.dll" datatype="string" />
<parm name="Enabled" value="1" datatype="integer" />
<parm name="Flags" value="0" datatype="integer" />
<parm name="Options" value="0" datatype="integer" />
<parm name="Order" value="99" datatype="integer" />
<parm name="Selectability" value="2" datatype="integer" />
<parm name="TabOrder" value="50" datatype="integer" />
<parm name="Type" value="4" datatype="integer" />
<parm name="ST_EMbedded" value="" datatype="string" />
</characteristic>
<characteristic type="HKCU\System\State\Messages\vmail\VoIP\Unread">
<parm name="" value="" datatype="string" nooverwrite="1" />
</characteristic>
<characteristic type="HKLM\Software\HTC\VoIP">
<parm name="" value="" datatype="string" nooverwrite="1" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
3. use cabarc.exe (google it) to assemble everything back. Use you favorite ipdialplan.xml - just rename it to IPDIAL~1.003
Here is my command (single line):
CABARC.EXE N voip_nickb.cab _setup.xml 00RTCDLL.004 IPDIAL~1.003 RINGBACK.006 SIPCON~1.001 VOIPAN~1.000 VOIPPH~1.005
4. move cab (in my case voip_nickb.cab ) to your device and install.
5. Run SipConfig and configure you VoIP provider
6. Soft-reset
7. New Today's plugin will apear. My has name "Internetcalls", because my VoIP provider is internetcalls.com. Click on it and select ".. wherever not available" (or something like that)
8. Start WiFi and click on Todays plugin until in says "Selected"
9. Start calling
I have VoIP outgoing call working fine using internal speaker. And I have GPS working too

Prophete said:
I'm glad to answer yes! Pls see my post at forum.xda-developers.com/showpost.php?p=3184203&postcount=510 and go to http://forum.xda-developers.com/show...ht=destr0+VOIP to download the necessary cab.
Anyone able to edit the dialing plan to on the topic accept numbers starting with international code '+' instead of 00? This would allow the ip phone to perfectly integrate with the contacts book. I've found a couple of threads but I wasn't successful in implementing the proposed changes to make it work.
Click to expand...
Click to collapse
Here is my dialing plan for internetcalls.com (betamax family). They need 00 in front of phone numbers. And I do have all my contacts as +1 (xxx) xxx-xxxx. It works for me. See that I'm in area code 813, so you may want to modify this. Supports 11, 10, 7 digits calling, as well as international format.
<dialplan xmlns='http://schemas.microsoft.com/embedded/VoIP'>
<dialplan-header>
<host>#use_sipsrv_host_name#</host>
</dialplan-header>
<!-- Dial Plan rules -->
<!-- IP address rules -->
<rule pattern='\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}'
restrict='Cell,SMS'
/>
<rule pattern='(\d{1,3})\*(\d{1,3})\*(\d{1,3})\*(\d{1,3})'
dial='\1.\2.\3.\4'
display='\1.\2.\3.\4'
transfer='\1.\2.\3.\4'
restrict='Cell,SMS'
/>
<!-- 11-digits rules -->
<rule pattern='1\s*-?\s*(\d{3})\s*(\d{3})\s*-?\s*(\d{4})(\s*[Xx]\s*\d+)?'
dial='sip:0111\1\2\[email protected]$host$'
display='1 (\1) \2-\3'
transfer='sip:0111\1\2\[email protected]$host$'
/>
<rule pattern='1\s*-?\s*\((\d{3})\)\s*(\d{3})\s*-?\s*(\d{4})(\s*[Xx]\s*\d+)?'
dial='sip:0111\1\2\[email protected]$host$'
display='1 (\1) \2-\3'
transfer='sip:0111\1\2\[email protected]$host$'
/>
<rule pattern='\+\s*1\s*-?\s*(\d{3})\s*(\d{3})\s*-?\s*(\d{4})(\s*[Xx]\s*\d+)?'
dial='sip:0111\1\2\[email protected]$host$'
display='+1 (\1) \2-\3'
transfer='sip:0111\1\2\[email protected]$host$'
/>
<rule pattern='\+\s*1\s*-?\s*\((\d{3})\)\s*(\d{3})\s*-?\s*(\d{4})(\s*[Xx]\s*\d+)?'
dial='sip:0111\1\2\[email protected]$host$'
display='+1 (\1) \2-\3'
transfer='sip:0111\1\2\[email protected]$host$'
/>
<!-- Russia -->
<rule pattern='\+\s*7\s*-?\s*\((\d{4})\)\s*(\d{3})\s*-?\s*(\d{3})(\s*[Xx]\s*\d+)?'
dial='sip:0117\1\2\[email protected]$host$'
display='+7 (\1) \2-\3'
transfer='sip:0117\1\2\[email protected]$host$'
/>
<rule pattern='\+\s*7\s*-?\s*\((\d{3})\)\s*(\d{3})\s*-?\s*(\d{4})(\s*[Xx]\s*\d+)?'
dial='sip:0117\1\2\[email protected]$host$'
display='+7 (\1) \2-\3'
transfer='sip:0117\1\2\[email protected]$host$'
/>
<!-- 10-digits rules -->
<rule pattern='(\d{3})\s*(\d{3})\s*-?\s*(\d{4})(\s*[Xx]\s*\d+)?'
dial='sip:0111\1\2\[email protected]$host$'
display='(\1) \2-\3'
transfer='sip:0111\1\2\[email protected]$host$'
/>
<rule pattern='\((\d{3})\)\s*(\d{3})\s*-?\s*(\d{4})(\s*[Xx]\s*\d+)?'
dial='sip:0111\1\2\[email protected]$host$'
display='(\1) \2-\3'
transfer='sip:0111\1\2\[email protected]$host$'
/>
<!-- 7-digits rules -->
<rule pattern='(\d{3})\s*-?\s*(\d{4})'
dial='sip:0111813\1\[email protected]$host$'
display='\1-\2'
transfer='sip:0111813\1\[email protected]$host$'
/>
<!-- Plus Sign -->
<rule pattern='(\+)(\d+)'
dial='sip:00\[email protected]$host$'
display='011\2'
transfer='sip:011\[email protected]$host$' />
<!-- SIP URI rules -->
<rule pattern='[Ss][Ii][Pp][Ss]?:\s*(\d{3})(\d{3})(\d{4})@(.+)'
display='(\1) \2-\3'
restrict='Cell,SMS'
/>
<rule pattern='([Ss][Ii][Pp][Ss]??\s*([a-zA-Z0-9_-]+)@(.+)'
display='\2'
restrict='Cell,SMS'
/>
<rule pattern='[Ss][Ii][Pp][Ss]?:\s*([^@]+)'
display='\1'
restrict='Cell,SMS'
/>
<!-- 5-digits rules -->
<rule pattern='(\d{3})-?(\d{2})'
dial='sip:\1\[email protected]$host$'
display='\1\2'
transfer='sip:\1\[email protected]$host$'
/>
<rule pattern='1\s*\((\d{3})\)\s*(\d)'
dial='sip:1\1\[email protected]$host$'
display='1\1\2'
transfer='sip:1\1\[email protected]$host$'
/>
<!-- Only digits -->
<rule pattern='(\d+)'
dial='sip:\[email protected]$host$'
display='\1'
transfer='sip:\[email protected]$host$'
/>
</dialplan>

in opposit to the other answeres to your question I have understood that you like to use 1&1 as VoIP Provider. I have tried it several times and I don´t believ that it will work. You have to use an additional provider for VoIP calls via your HD
4varic3 said:
Hey guys,
i got fully internet by 1&1, so also the telephone. i wanna know if it's possible to get my HD set like a normal telephone when i'm at home.
So i had thoughts about using voip and wifi to get this managed, so that i can use my normal telephone number on the HD, when connected to my fritzbox.
Are that possible thoughts?
If yes, how can i manage to get that target?
Click to expand...
Click to collapse

bogdatov said:
Amazing ... finally working VoIP for WM 6.1 and sound routed through internal speaker !!! Thanks a lot for the link. Works great on my HD with stock ROM and internetcalls.com (betamax family) as VoIP provider.
Click to expand...
Click to collapse
DUDE how did you fix that?! the sound is here still coming trough the rear speaker.. with a very low volume!

Voip Info for Voip.com
Sorry for the question. NOOB here. But, How do I get username and password for Voip.com. From what I have experienced I don't think they can provide me with that info. I have a small box in that connects to my modem which servers as my phone. Please help. Thanks. I have an Sprint HTC Diamond

cobrawnl said:
DUDE how did you fix that?! the sound is here still coming trough the rear speaker.. with a very low volume!
Click to expand...
Click to collapse
I took existing cab - destr0 from http://forum.xda-developers.com/showthread.php?t=401608
and modified it to remove one DLL which caused GPS to fail. Also I modified ipdialplan.xml to handle 7-digit calls with area code of 813. You can always overwrite it in \windows with your favorite dial plan. Here is the cab I use now. Sound comes just like in regular call.
Also ... before I installed destr0's cab I made full backup with SPB Backup. Since destr0's cab killed my GPS, I restored HD from backup and THEN installed my cab. Just to make sure they do not interfere

bogdatov said:
I took existing cab - destr0 from http://forum.xda-developers.com/showthread.php?t=401608
and modified it to remove one DLL which caused GPS to fail. Also I modified ipdialplan.xml to handle 7-digit calls with area code of 813. You can always overwrite it in \windows with your favorite dial plan. Here is the cab I use now. Sound comes just like in regular call.
Also ... before I installed destr0's cab I made full backup with SPB Backup. Since destr0's cab killed my GPS, I restored HD from backup and THEN installed my cab. Just to make sure they do not interfere
Click to expand...
Click to collapse
Great! so if i give my touch hd a hard reset. And then install your cab. it will working fine?!
ill give it a try! and i will let you know! tnx!
EDIT: Damn! its not working again! the sound is still coming from the rear speaker! what do you have what i dont?

Not available on Today Screen
bogdatov said:
I took existing cab - destr0 from http://forum.xda-developers.com/showthread.php?t=401608
and modified it to remove one DLL which caused GPS to fail. Also I modified ipdialplan.xml to handle 7-digit calls with area code of 813. You can always overwrite it in \windows with your favorite dial plan. Here is the cab I use now. Sound comes just like in regular call.
Also ... before I installed destr0's cab I made full backup with SPB Backup. Since destr0's cab killed my GPS, I restored HD from backup and THEN installed my cab. Just to make sure they do not interfere
Click to expand...
Click to collapse
I tried installing this on my phone, configuring my SIP, but it is not showing on the Today Screen. I soft reset the phone and made sure it was selected under the Today Screen Settings. I even unchecked, applied, and rechecked, applied to make sure.
Any suggestions?

Related

green battery icon on t-mobile roms fixed!

for more info, see here: http://forum.xda-developers.com/viewtopic.php?t=52221
Jimm98y said:
for more info, see here: http://forum.xda-developers.com/viewtopic.php?t=52221
Click to expand...
Click to collapse
Nicely done Jimm98y, i dont have a green icon but it worked on my device. My only tip would be on the greenbatteryfix.cab installer to give no option to install on device or storage card - just install straight to windows with no dialog. Cheers
yes, I know what you mean but I don't know how to make it. But if you choose storage or storage card, the fix is always installed in windows folder...
Jimm98y said:
yes, I know what you mean but I don't know how to make it. But if you choose storage or storage card, the fix is always installed in windows folder...
Click to expand...
Click to collapse
I just put together this xml for a cab for a gx.dll fix. It gives no prompt destination dialog if that helps to modify yours.
<wap-provisioningdoc>
<characteristic type="Install">
<parm name="InstallPhase" value="install" />
<parm name="AppName" value="gx dll fix" />
<parm name="NumDirs" value="1" />
<parm name="NumFiles" value="1" />
<parm name="NumRegKeys" value="0" />
<parm name="NumRegVals" value="0" />
<parm name="NumShortcuts" value="0" />
</characteristic>
<characteristic type="FileOperation">
<characteristic type="%CE2%" translation="install">
<characteristic type="MakeDir" />
<characteristic type="gx.dll" translation="install">
<characteristic type="Extract">
<parm name="Source" value="gx.dll" />
</characteristic>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="Registry">
</characteristic>
</wap-provisioningdoc>
yes, it works, thanks very much, I use it in new version of this fix. And does anybody know how to import the cab with certificate into the cab with fix?
Jimm98y said:
yes, it works, thanks very much, I use it in new version of this fix. And does anybody know how to import the cab with certificate into the cab with fix?
Click to expand...
Click to collapse
I would at first try it like this
<wap-provisioningdoc>
<characteristic type="Install">
<parm name="InstallPhase" value="install" />
<parm name="AppName" value="gx dll fix" />
<parm name="NumDirs" value="1" />
<parm name="NumFiles" value="2" />
<parm name="NumRegKeys" value="0" />
<parm name="NumRegVals" value="0" />
<parm name="NumShortcuts" value="0" />
</characteristic>
<characteristic type="FileOperation">
<characteristic type="%CE2%" translation="install">
<characteristic type="MakeDir" />
<characteristic type="gx.dll" translation="install">
<characteristic type="Extract">
<parm name="Source" value="gx.dll" />
</characteristic>
</characteristic>
<characteristic type="sdkcerts.cab" translation="install">
<characteristic type="Extract">
<parm name="Source" value="sdkcerts.cab" />
</characteristic>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="Registry">
</characteristic>
</wap-provisioningdoc>
obviously ignore gx.dll bit, just add sdkcerts.cab section and change value of numfiles at top to '2'
Actually that may not work, but his may - diff order.
</characteristic>
<characteristic type="FileOperation">
<characteristic type="%CE2%" translation="install">
<characteristic type="MakeDir" />
<characteristic type="sdkcerts.cab" translation="install">
<characteristic type="Extract">
<parm name="Source" value="sdkcerts.cab" />
</characteristic>
</characteristic>
<characteristic type="gx.dll" translation="install">
<characteristic type="Extract">
<parm name="Source" value="gx.dll" />
sdkcerts.cab should be first to install! lol
yes, it could work, but I use cabwiz.exe to make a cab, how it looks in *.inf file? Or If I use the xml file, how can I compile it into the cab?
Jimm98y said:
yes, it could work, but I use cabwiz.exe to make a cab, how it looks in *.inf file? Or If I use the xml file, how can I compile it into the cab?
Click to expand...
Click to collapse
I'll pm you

cab file for gprs connection

Hi All,
I found nice way to automate gprs connection settings creation and I believe that I have to share this with community. Probably for most of you it is not something new- sorry for these that are knowledgable, but for me it was real progress ... so three steps:
1. Create simple txt file like shown bellow and rename it to _setup.xml. Make changes to suit your operator - APN, usename, password and connection name
---------begin of file-------------------------------
<wap-provisioningdoc>
<characteristic type="Install">
<parm name="InstallPhase" value="install" />
<parm name="AppName" value="CAB Provisioning File" />
<parm name="NoUninstall" value="1" />
<parm name="NumDirs" value="1" />
<parm name="NumFiles" value="1" />
<parm name="NumRegKeys" value="0" />
<parm name="NumRegVals" value="0" />
<parm name="NumShortcuts" value="0" />
</characteristic>
<characteristic type="CM_GPRSEntries">
<characteristic type="NAME-OF-CONNECTION">
<parm name="DestId" value="{436EF144-B4FB-4863-A041-8F905A62C572}" />
<characteristic type="DevSpecificCellular">
<parm name="GPRSInfoAccessPointName" value="PUT.YOUR.APN.NAME.HERE" />
</characteristic>
<parm name="UserName" value="USERNAME" />
<parm name="Password" value="PASSWORD" />
<parm name="Enabled" value="1" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
---------end of file-------------------------------
2. Download the following util from MS Site
http://support.microsoft.com/kb/310618
3. do the following
makecab /D COMPRESS=OFF _setup.xml gprs.cab
4. Move the gprs.cab to your device and execute it ... and the magic works.
What I'm looking for is how to install certificate on device - issued from my internal CA....
Regards,
BB.
I take it that you are looking for a way to install a certificate with a CAB and not just copy the certificate to the device and 'run' it?
If so, have a look here: http://www.microsoft.com/technet/itsolutions/mobile/deploy/msfp_b.mspx

Mail provisioning in a cab file?

I'm getting tired of entering my exchange info every time I update my device... I've already got a cab with the settings for my provider, but does anyone know if I can provision my phone for my exchange server with a cab file?
Nevermind... I found it already...
I'm a happy guy now... One cab file configures MMS, my EDGE connection AND my exchange settings...
Great thread. How about linking to where you found the solution for the rest of us lazy suckers.
liquidsilver said:
Great thread. How about linking to where you found the solution for the rest of us lazy suckers.
Click to expand...
Click to collapse
Sure...
1) I found the xml file that provisions the server:
Code:
<wap-provisioningdoc>
<characteristic type="Sync">
- <characteristic type="Connection">
<parm name="Server" value="EXCHANGE SERVER NAME HERE" />
<parm name="Password" value="EXCHANGE PASSWORD HERE" />
<parm name="User" value="USERNAME HERE" />
<parm name="Domain" value="EXCHANGE DOMAIN NAME HERE" />
<parm name="SavePassword" value="1" />
<parm name="UseSSL" value="1" />
<parm name="AllowSSLOption" value="1" />
<parm name="URI" value="Microsoft-Server-ActiveSync" />
</characteristic>
- <characteristic type="Settings">
<parm name="PeakStartTime" value="0800" />
<parm name="PeakEndTime" value="1600" />
<parm name="PeakFrequency" value="30" />
<parm name="OffPeakFrequency" value="120" />
- <characteristic type="PeakDays">
<parm name="Sun" value="0" />
<parm name="Mon" value="1" />
<parm name="Tue" value="1" />
<parm name="Wed" value="1" />
<parm name="Thr" value="1" />
<parm name="Fri" value="1" />
<parm name="Sat" value="0" />
</characteristic>
</characteristic>
- <characteristic type="Calendar">
<parm name="Enabled" value="1" />
<parm name="SyncSwitchPurge" value="3" />
</characteristic>
- <characteristic type="Contacts">
<parm name="Enabled" value="1" />
<parm name="SyncSwitchPurge" value="3" />
</characteristic>
- <characteristic type="Mail">
<parm name="Enabled" value="1" />
</characteristic>
- <characteristic type="Tasks">
<parm name="Enabled" value="1" />
</characteristic>
</wap-provisioningdoc>
2) Save this as _setup.xml
3) Convert it to a CAB with Makecab (found in any windows install). Type
Code:
makecab _setup.xml mailsetup.cab
Then just run the file on your device. In my case I added the Exchange settings to the end of the provider setup xml found here on xda developers.
This is excellent. But I wonder if you could make the MMS and GPRS settings available as well ?
I tried to use this to set up my exchange information on my phone but when I run the cab on my phone, I get installation unsuccessful. I followed the instructions, but apparently didn't do something right. Any suggestions?
Alien: I actually created a program that will setup your exchange and wifi setting and make a cab.
http://forum.xda-developers.com/showthread.php?t=315853
I hope that helps, generally when making the XML and it gives an error its something very small and easily overlookable (I know it was for me).

Using XML for phone set up

Ok, so im a chronic flasher and have to set up my phone alot. Now Im no expert but have learned a few tricks in my day and wanted to share them with everyone and also hopefully have other people contribute so we can all learn a little more.
It seems that you can do alot with xml, from registry settings to email set up, etc... With Wince Cab manager you manually put in registry settings, but some of them cant be installed, they need to be provisioned. For example:
ghisler's Total Commander has the ability to do FTP which for me comes in really handy. However the FTP info is stored in the registry, when you try to put this info in wince and try to install the cab it will fail everytime (could have been the format of the password, but regardless xml is more fun). So in order to get the registry settings in i had to use this format:
Code:
<characteristic type="Registry">
<characteristic type="HKCU\SOFTWARE\Ghisler\ftp\servers\Connection name" translation="filesystem">
<parm name="firewall" datatype="string" value="" />
<parm name="password" datatype="string" value="password" />
<parm name="remotedir" datatype="string" value="" />
<parm name="sendcmds" datatype="string" value="" />
<parm name="server" datatype="string" value=[URL="ftp://ftp.server.com/"]ftp.server.com[/URL] />
<parm name="servertype" datatype="string" value="" />
<parm name="username" datatype="string" value="username" />
</characteristic>
</characteristic>
My next pet peeve was email setup..
I use Gmail IMAP and mail2web for push mail.
Gmail imap:
Code:
<wap-provisioningdoc>
<characteristic type="EMAIL2">
<characteristic type="{7B3D74EC-35D9-45e3-B8F3-E38F4B90D174}">
<parm name="SERVICENAME" value="Gmail" />
<parm name="SERVICETYPE" value="IMAP4" />
<parm name="INSERVER" value="imap.gmail.com" />
<parm name="OUTSERVER" value="smtp.gmail.com" />
<parm name="NAME" value="my name" />
<parm name="AUTHNAME" value=[EMAIL="[email protected]"][email protected][/EMAIL] />
<parm name="AUTHSECRET" value="password" />
<parm name="DOMAIN" value="" />
<parm name="REPLYADDR" value="testme[EMAIL="[email protected]"]@gmail.com[/EMAIL]" />
<parm name="LINGER" value="15" />
<parm name="RETRIEVE" value="2048" />
<parm name="KEEPMAX" value="25" />
<parm name="DWNDAY" value="3" />
<parm name="AUTHREQUIRED" value="1" />
<parm name="SMTPALTENABLED" value="1" />
<parm name="SMTPALTAUTHNAME" value="testme[EMAIL="[email protected]"]@gmail.com[/EMAIL]" />
<parm name="SMTPALTPASSWORD" value="password" />
<parm name="SMTPALTDOMAIN" value="smtp.gmail.com" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
I havent had to set up a pop3 account yet, but according to M$ here is the xml code for it:
Code:
<wap-provisioningdoc>
<characteristic type="EMAIL2">
<characteristic type="{GUID}">
<parm name="SERVICENAME" value="example.com"/>
<parm name="SERVICETYPE" value="POP3"/>
<parm name="INSERVER" value="myemail.example.com"/>
<parm name="OUTSERVER" value="myemail.example.com"/>
<parm name="AUTHREQUIRED" value="1"/>
<characteristic type="TAGPROPS">
<parm name="8128000B" value="1"/>
<parm name="812C000B" value="1"/>
</characteristic>
<parm name="AUTHNAME" value="[email protected]"/>
<parm name="AUTHSECRET" value="password"/>
<parm name="REPLYADDR" value="[email protected]"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
Then Mail2web push mail through activesync and also calendar and contacts:
Code:
<characteristic type="Sync">
<characteristic type="Settings">
<parm name="BodyTruncation" value="1024" />
</characteristic>
<characteristic type="Connection">
<parm name="Domain" value="DOMAIN" />
<parm name="Password" value="password" />
<parm name="SavePassword" value="1" />
<parm name="Server" value="mobile.exchange.mail2web.com" />
<parm name="User" value="myemail_mail2web_" />
<parm name="URI" value="Microsoft-Server-ActiveSync" />
</characteristic>
<characteristic type="Mail">
<parm name="Enabled" value="1" />
<parm name="MailBodyTruncation" value="1024" />
<parm name="MailFileAttachments" value="1024" />
</characteristic>
<characteristic type="Calendar">
<parm name="Enabled" value="1" />
</characteristic>
<characteristic type="Contacts">
<parm name="Enabled" value="1" />
</characteristic>
</characteristic>
So i hope some of this helps everyone... im no expert on this and its pretty new territory but will answer what i can. Would also appreciate hints, tips, etc from the pro's..
I've started doing this as well, even created a little application to help install them... can be found below, if you find bugs or have feature requests, please post in the thread below so I can track them all in one location
http://forum.ppcgeeks.com/showthread.php?t=15977
Thanks for posting you guys, Complete noob to this,
1. So I install vinny's app ( Storage Card )
2. Copy & Paste Shogunmarks files to pc
3. Edit xml files to include my info
4. Copy to same folder as 1. on ppc.
5. After Hard reset just run Vinnys app.
Sounds to easy when you write it down . Thanks again.
Alot of this info can be found over at M$ if you know what to search for, plus you can utilize xml for lots of different commands. For example this script below will create a folder "test folder" in the "programs" directory, then after it creates it then it copies "test.exe" from the cab file and places it in the "test folder".
Code:
<wap-provisioningdoc>
<characteristic type="FileOperation">
<characteristic type="%CE1%\test folder" translation="install">
<characteristic type="MakeDir" />
<characteristic type="test.exe" translation="install">
<characteristic type="Extract">
<parm name="Source" value="CE1\test folder\test.exe" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
Just an FYI i am a noob to the xml stuff, but have picked up most of it pretty quick... what i post in this thread is the things i am picking up along the way. Its kinda like my personal notepad that can be displayed publicly
Great thread; very useful information. Would you say the best way to "import" these settings is to create a cab with them inside of the provisioning xml, or would you use the other method described in this post (using that program someone else posted)?
arexben said:
Great thread; very useful information. Would you say the best way to "import" these settings is to create a cab with them inside of the provisioning xml, or would you use the other method described in this post (using that program someone else posted)?
Click to expand...
Click to collapse
i would say it depends on your needs... what prompted this is that i created cab to install all my settings since i flash alot. So i use a cab, then i can import my ringtones, etc... however i am also interested in the other method as i should be able to pretty much accomplish the same function... i would say play around with it and see what works best for you. I personally like using OCP's wince cab manager which does allow xml files for provisioning.
shogunmark said:
Gmail imap:
Code:
<wap-provisioningdoc>
<characteristic type="EMAIL2">
<characteristic type="{7B3D74EC-35D9-45e3-B8F3-E38F4B90D174}">
<parm name="SERVICENAME" value="Gmail" />
<parm name="SERVICETYPE" value="IMAP4" />
<parm name="INSERVER" value="imap.gmail.com" />
<parm name="OUTSERVER" value="smtp.gmail.com" />
<parm name="NAME" value="my name" />
<parm name="AUTHNAME" value=[EMAIL="[email protected]"][email protected][/EMAIL] />
<parm name="AUTHSECRET" value="password" />
<parm name="DOMAIN" value="" />
<parm name="REPLYADDR" value="testme[EMAIL="[email protected]"]@gmail.com[/EMAIL]" />
<parm name="LINGER" value="15" />
<parm name="RETRIEVE" value="2048" />
<parm name="KEEPMAX" value="25" />
<parm name="DWNDAY" value="3" />
<parm name="AUTHREQUIRED" value="1" />
<parm name="SMTPALTENABLED" value="1" />
<parm name="SMTPALTAUTHNAME" value="testme[EMAIL="[email protected]"]@gmail.com[/EMAIL]" />
<parm name="SMTPALTPASSWORD" value="password" />
<parm name="SMTPALTDOMAIN" value="smtp.gmail.com" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
Click to expand...
Click to collapse
I have followed this example to the T and its still not working. I have tried making it into a cab, and i have tried loading the xml file using Slueth's UC....any idea what i am doing wrong. When i make a cab file from it, it either does nothing or says installation fails. Im not sure if the xml file has to be name something special or if im missing a step, but any insight is greatly appreficated. Thank you.
elosogrande7076 said:
I have followed this example to the T and its still not working. I have tried making it into a cab, and i have tried loading the xml file using Slueth's UC....any idea what i am doing wrong. When i make a cab file from it, it either does nothing or says installation fails. Im not sure if the xml file has to be name something special or if im missing a step, but any insight is greatly appreficated. Thank you.
Click to expand...
Click to collapse
you could also try oemizer, which generates the files for you:
www.tiermann.net
What's the value for domain? When I enter my login name manually the field for domain becomes grey-highlighted! :-?
A few short words: it isn't working for me too at the moment!
Hi elosogrande7076
I had the same problem and found a error in the xml file.
doublecheck that all emailadresses are in this format "[email protected]" and do not forget the ".
In the example is a emailadresse without the " and this makes your installation fail.
<wap-provisioningdoc>
<characteristic type="EMAIL2">
<characteristic type="{7B3D74EC-35D9-45e3-B8F3-E38F4B90D174}">
<parm name="SERVICENAME" value="Gmail" />
<parm name="SERVICETYPE" value="IMAP4" />
<parm name="INSERVER" value="imap.gmail.com" />
<parm name="OUTSERVER" value="smtp.gmail.com" />
<parm name="NAME" value="my name" />
<parm name="AUTHNAME" [email protected] />
<parm name="AUTHSECRET" value="password" />
<parm name="DOMAIN" value="" />
<parm name="REPLYADDR" value="[email protected]" />
<parm name="LINGER" value="15" />
<parm name="RETRIEVE" value="2048" />
<parm name="KEEPMAX" value="25" />
<parm name="DWNDAY" value="3" />
<parm name="AUTHREQUIRED" value="1" />
<parm name="SMTPALTENABLED" value="1" />
<parm name="SMTPALTAUTHNAME" value="[email protected]" />
<parm name="SMTPALTPASSWORD" value="password" />
<parm name="SMTPALTDOMAIN" value="smtp.gmail.com" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
Still having the same issue as well Gmail. Do I have to generate my own
<characteristic type="{7B3D74EC-35D9-45e3-B8F3-E38F4B90D174}">
Code:
<wap-provisioningdoc>
<characteristic type="EMAIL2">
<characteristic type="{7B3D74EC-35D9-45e3-B8F3-E38F4B90D174}">
<parm name="SERVICENAME" value="Gmail" />
<parm name="SERVICETYPE" value="IMAP4" />
<parm name="INSERVER" value="imap.gmail.com" />
<parm name="OUTSERVER" value="smtp.gmail.com" />
<parm name="NAME" value="First Last" />
<parm name="AUTHNAME" value="[email protected]" />
<parm name="AUTHSECRET" value="password" />
<parm name="DOMAIN" value=" " />
<parm name="REPLYADDR" value="[email protected]" />
<parm name="LINGER" value="15" />
<parm name="RETRIEVE" value="-1" />
<parm name="KEEPMAX" value="-1" />
<parm name="DWNDAY" value="3" />
<parm name="AUTHREQUIRED" value="1" />
<parm name="SMTPALTENABLED" value="1" />
<parm name="SMTPALTAUTHNAME" value="[email protected]" />
<parm name="SMTPALTPASSWORD" value="password" />
<parm name="SMTPALTDOMAIN" value="smtp.gmail.com" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
the exchange directpush XML was missing a parameter
Code:
<wap-provisioningdoc>
<characteristic type="Sync">
<characteristic type="Connection">
<parm name="Domain" value="DOMAIN" />
<parm name="Password" value="PASSWORD" />
<parm name="SavePassword" value="1" />
<parm name="Server" value="EXCHANGE.SERVER.COM" />
<parm name="User" value="USERNAME" />
</characteristic>
<characteristic type="Settings">
<parm name="PeakStartTime" value="0600"/>
<parm name="PeakEndTime" value="1800"/>
<parm name="PeakFrequency" value="0"/>
<parm name="BodyTruncation" value="5120"/>
<characteristic type="PeakDays">
<parm name="Sun" value="0"/>
<parm name="Mon" value="1"/>
<parm name="Tue" value="1"/>
<parm name="Wed" value="1"/>
<parm name="Thr" value="1"/>
<parm name="Fri" value="1"/>
<parm name="Sat" value="0"/>
</characteristic>
</characteristic>
<characteristic type="Calendar">
<parm name="Enabled" value="1"/>
</characteristic>
<characteristic type="Contacts">
<parm name="Enabled" value="1"/>
</characteristic>
<characteristic type="Mail">
<parm name="Enabled" value="1"/>
<parm name="MailBodyTruncation" value="1024" />
<parm name="MailFileAttachments" value="1024" />
</characteristic>
<characteristic type="Tasks">
<parm name="Enabled" value="1" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
elosogrande7076 said:
I have followed this example to the T and its still not working. I have tried making it into a cab, and i have tried loading the xml file using Slueth's UC....any idea what i am doing wrong. When i make a cab file from it, it either does nothing or says installation fails. Im not sure if the xml file has to be name something special or if im missing a step, but any insight is greatly appreficated. Thank you.
Click to expand...
Click to collapse
You have to convert your XML file to UTF-8 format. ANSI files don't work. You can use Notepad++ for this.
Hello, I'm able to create my own cab to config my email account, but I still need two parameters:
1. What is the parameter for 'delete mails from server ' / 'leave mails on server'
2. what is the parameter for 'click on send to send/receive'
Info: I found the parameter 'FORMAT' to set the mailformat as plain text or html
Is there a parameter for the Mail2Web XML to set it to download just today's messages? It always defaults to 3 days. I can set it to one day for my Gmail account, but don't see anything similar for my Exchange Server settings.
Orbitter2 said:
Hello, I'm able to create my own cab to config my email account, but I still need two parameters:
1. What is the parameter for 'delete mails from server ' / 'leave mails on server'
2. what is the parameter for 'click on send to send/receive'
Info: I found the parameter 'FORMAT' to set the mailformat as plain text or html
Click to expand...
Click to collapse
Maybe this two parameters are stored in the registry? Where? Am I the only one who want to config his emailaccount completely?
I am kind of retarded when it comes to this. Has anyone ever created a "template" cab for email and we just edit the xml file inside? I'm definitely tired of setting my gmail up after each rom I try out....tia
I have created the cab files but they still won't install. (one for my gmail and one for my wifi)
Ok. I was able to make a successful cab from shogunmark's xml file for my gmail. Now, I tried to do the same thing for my wifi settings and make a cab file but I get installation unsuccessful. Any ideas from the gurus????

HTC Hotfix for sms not sounding (Diamond2)

Can someone find out what does this fix do? Many people have this problem on HD too.
http://www.htc.com/asia/SupportDownload.aspx?p_id=249&cat=0&dl_id=592
xml
I found this XML after "unzip" the hotfix .exe. It appears not to be some simple registry settings. As i understand there are some files that will be overwrite, especially rilphone.dll.
¿Does HD and TD2 share hardware? I assume that will allow us to try this files...
<wap-provisioningdoc>
<characteristic type="Install">
<parm name="InstallPhase" value="install" />
<parm name="SetupDLL" value="1" />
<parm name="OSVersionMin" value="3.0" />
<parm name="OSVersionMax" value="4.21" />
<parm name="BuildNumberMin" value="0" />
<parm name="BuildNumberMax" value="-536870912" />
<parm name="UnsupportedPlatforms" value="JUPITERHPC" />
<parm name="AppName" value="HotFix TOP05002" />
<parm name="InstallDir" value="%CE1%\TOP05002" translation="install" />
<parm name="NumDirs" value="2" />
<parm name="NumFiles" value="6" />
<parm name="NumRegKeys" value="1" />
<parm name="NumRegVals" value="1" />
<parm name="NumShortcuts" value="0" />
</characteristic>
<characteristic type="FileOperation">
<characteristic type="\temp" translation="install">
<characteristic type="MakeDir" />
<characteristic type="rilphone.dll" translation="install">
<characteristic type="Extract">
<parm name="Source" value="rilphone.001" />
<parm name="NoSkip" />
</characteristic>
</characteristic>
</characteristic>
<characteristic type="\Windows" translation="install">
<characteristic type="MakeDir" />
<characteristic type="CM_Entries.xml" translation="install">
<characteristic type="Extract">
<parm name="Source" value="CM_ENT~1.002" />
<parm name="NoSkip" />
</characteristic>
</characteristic>
<characteristic type="CheckFile.exe" translation="install">
<characteristic type="Extract">
<parm name="Source" value="CHECKF~1.003" />
<parm name="NoSkip" />
</characteristic>
I posted a method of fixing the SMS issue on the touch HD a few weeks back that works 100%, so you might want to search for that before HTC release a fix for us or someone ports the diamond 2 fix
spud_work said:
I posted a method of fixing the SMS issue on the touch HD a few weeks back that works 100%, so you might want to search for that before HTC release a fix for us or someone ports the diamond 2 fix
Click to expand...
Click to collapse
Thanks for the tip but before posting i searched all over the forum and not find any solution. Only "workarounds". Just in case someone find the workarounds useful they can find it here. Your post suggest the need to set to on the "wake up on sms" and install third party software. This is about a solution that the manufacter provided to other device to have the behavior that the device was design for (to have sms sound without having to leave standby mode)...i would like to get the feature that i payed HTC for ...
thanks!

Categories

Resources