PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2
Register Community Search

Notices


View Poll Results: What you want to know about UC?
Basics - show me how to get started 72 35.29%
Editing and creating cabs - I want to share what I do 13 6.37%
XML Provisioning - I want to set up ActiveSync,WI-FI... automatically 40 19.61%
Scripting - I want to learn MortScript and how it can make UC easier 9 4.41%
Advanced Customizations - Removing the things I don't use 31 15.20%
What the hell is UC anyway? 39 19.12%
Voters: 204. You may not vote on this poll

Reply
 
LinkBack Thread Tools Display Modes
  #71 (permalink)  
Old 04-19-2010, 03:51 PM
shadowinc's Avatar
Lurker
Offline
Pocket PC: Touch Pro2
Carrier: VZW
 
Join Date: Sep 2008
Posts: 19
Reputation: 0
shadowinc is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Learn UC / Registry / XML Provisioning / CAB Editing {2010-03-15}

someone tell me whats wrong with this, or how I can troubleshoot XDA_UC? Using the latest Energy ROM, dropped the XML file into the XDA_UC folder. Not setting it up.

Code:
<wap-provisioningdoc>
   <characteristic type="EMAIL2">
  <characteristic type="{bef6bd14-cdcf-403f-a7a7-f4aa9055bdf8}">
   <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="REPLYADDR" value="myemail@gmail.com" />
   <parm name="AUTHNAME" value="myemail@gmail.com" />
   <parm name="AUTHSECRET" value="secret" />
   <parm name="DOMAIN" value="" />
   <parm name="AUTHREQUIRED" value="1" />
   <parm name="LINGER" value="0" />
   <parm name="RETRIEVE" value="-1" />
   <parm name="KEEPMAX" value="0" />
   <parm name="DWNDAY" value="3" />
                        <parm name="SMTPALTENABLED" value="0" />
                      <parm name="SMTPALTAUTHNAME" value="" />
                      <parm name="SMTPALTPASSWORD" value="" />
                        <parm name="SMTPALTDOMAIN" value="" />
                          <characteristic type="TAGPROPS">
       <parm name="8128000B" value="1"/>
       <parm name="812C000B" value="1"/>          
     </characteristic>
  </characteristic>
   </characteristic>
</wap-provisioningdoc>
Reply With Quote
  #72 (permalink)  
Old 04-19-2010, 04:40 PM
bsarlo's Avatar
PPCGeeks Regular
Offline
Pocket PC: Rhodium Touch Pro2
Carrier: Sprint
Location: Washington
 
Join Date: Feb 2010
Posts: 238
Reputation: 485
bsarlo is becoming a PPCGeeks regularbsarlo is becoming a PPCGeeks regularbsarlo is becoming a PPCGeeks regularbsarlo is becoming a PPCGeeks regularbsarlo is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Learn UC / Registry / XML Provisioning / CAB Editing {2010-03-15}

Quote:
Originally Posted by shadowinc View Post
someone tell me whats wrong with this, or how I can troubleshoot XDA_UC? Using the latest Energy ROM, dropped the XML file into the XDA_UC folder. Not setting it up.

Code:
<wap-provisioningdoc>
   <characteristic type="EMAIL2">
  <characteristic type="{bef6bd14-cdcf-403f-a7a7-f4aa9055bdf8}">
   <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="REPLYADDR" value="myemail@gmail.com" />
   <parm name="AUTHNAME" value="myemail@gmail.com" />
   <parm name="AUTHSECRET" value="secret" />
   <parm name="DOMAIN" value="" />
   <parm name="AUTHREQUIRED" value="1" />
   <parm name="LINGER" value="0" />
   <parm name="RETRIEVE" value="-1" />
   <parm name="KEEPMAX" value="0" />
   <parm name="DWNDAY" value="3" />
                        <parm name="SMTPALTENABLED" value="0" />
                      <parm name="SMTPALTAUTHNAME" value="" />
                      <parm name="SMTPALTPASSWORD" value="" />
                        <parm name="SMTPALTDOMAIN" value="" />
                          <characteristic type="TAGPROPS">
       <parm name="8128000B" value="1"/>
       <parm name="812C000B" value="1"/>          
     </characteristic>
  </characteristic>
   </characteristic>
</wap-provisioningdoc>
try changing to:

<parm name="LINGER" value="120" />

<parm name="8128000B" value="0"/>
<parm name="812C000B" value="0"/>
Reply With Quote
  #73 (permalink)  
Old 04-21-2010, 11:25 AM
PHaim's Avatar
Lurker
Offline
Pocket PC: Imagio
Carrier: Verizon
 
Join Date: Apr 2010
Posts: 5
Reputation: 0
PHaim is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Learn UC / Registry / XML Provisioning / CAB Editing {2010-03-15}

Since the door's already been opened, could someone take a look at my exchange xml code and maybe suggest why it isn't working? I've gotten gmail to set up properly but not exchange.

Quote:
<wap-provisioningdoc>
<characteristic type="Sync">
<characteristic type="Connection">
<parm name="Server" value="region.employer.com"/>
<parm name="AllowSSLOption" value="1"/>
<parm name="User" value="Username"/>
<parm name="Domain" value="us"/>
<parm name="Password" value="password"/>
<parm name="SavePassword" value="1"/>
</characteristic>
<characteristic type="Settings">
<parm name="PeakStartTime" value="0800"/>
<parm name="PeakEndTime" value="1800"/>
<parm name="PeakFrequency" value="-1"/>
<parm name="BodyTruncation" value="-1"/>
<parm name="SyncWhenRoaming" value="1"/>
<parm name="MIMETruncation" value="51200"/>
<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="Mail">
<parm name="Enabled" value="1"/>
<parm name="MailBodyTruncation" value="4294967295"/>
<parm name="MailFileAttachments" value="-1"/>
</characteristic>
<characteristic type="Calendar">
<parm name="Enabled" value="1"/>
</characteristic>
<characteristic type="Contacts">
<parm name="Enabled" value="1"/>
</characteristic>
<characteristic type="Tasks">
<parm name="Enabled" value="1"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
Thanks in advance for the assistance.


Edit: Also, I saw this question earlier in the thread but it was never really answered. Does anyone know where to find registry settings for setting up the facebook, twitter and youtube accounts as found in the Data services part of the Sense settings tab? Thanks.

Last edited by PHaim; 04-21-2010 at 11:37 AM.
Reply With Quote
  #74 (permalink)  
Old 04-21-2010, 11:52 AM
bsarlo's Avatar
PPCGeeks Regular
Offline
Pocket PC: Rhodium Touch Pro2
Carrier: Sprint
Location: Washington
 
Join Date: Feb 2010
Posts: 238
Reputation: 485
bsarlo is becoming a PPCGeeks regularbsarlo is becoming a PPCGeeks regularbsarlo is becoming a PPCGeeks regularbsarlo is becoming a PPCGeeks regularbsarlo is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Learn UC / Registry / XML Provisioning / CAB Editing {2010-03-15}

Quote:
Originally Posted by PHaim View Post
Since the door's already been opened, could someone take a look at my exchange xml code and maybe suggest why it isn't working? I've gotten gmail to set up properly but not exchange.
...
Change the Domain value from us to employer.com
Change the MIMETruncation value from 51200 to -1
MailBody Truncation from 4294967295 to -1

Let me know if that works.
Reply With Quote
This post has been thanked 1 times.
  #75 (permalink)  
Old 04-21-2010, 02:24 PM
PHaim's Avatar
Lurker
Offline
Pocket PC: Imagio
Carrier: Verizon
 
Join Date: Apr 2010
Posts: 5
Reputation: 0
PHaim is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Learn UC / Registry / XML Provisioning / CAB Editing {2010-03-15}

Quote:
Originally Posted by bsarlo View Post
Change the Domain value from us to employer.com
Change the MIMETruncation value from 51200 to -1
MailBody Truncation from 4294967295 to -1

Let me know if that works.
Changing those two registry values did the trick. I was reasonably sure that the domain for my employer's exchange server is us but I tried it both ways to be certain. It prompted me to switch it when I did employer.com but went right through with us. Thanks for the help with that!


As some previous posters have mentioned, I'm gonna put some effort into locating every setting and hopefully automate the whole process. I'm gonna spend a little more time looking for everything myself and post what I need help with all in one post so I don't get spammy.
Reply With Quote
  #76 (permalink)  
Old 04-21-2010, 09:56 PM
NinjaDuck's Avatar
VIP Duck
Offline
Pocket PC: RAPHAEL / TOPAZ / RHODIUM
Carrier: Verizon
Threadstarter
Location: Omnipresent
 
Join Date: Feb 2009
Posts: 825
Reputation: 6270
NinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Learn UC / Registry / XML Provisioning / CAB Editing {2010-03-15}

Quote:
Originally Posted by PHaim View Post
Changing those two registry values did the trick. I was reasonably sure that the domain for my employer's exchange server is us but I tried it both ways to be certain. It prompted me to switch it when I did employer.com but went right through with us. Thanks for the help with that!


As some previous posters have mentioned, I'm gonna put some effort into locating every setting and hopefully automate the whole process. I'm gonna spend a little more time looking for everything myself and post what I need help with all in one post so I don't get spammy.
The main question is does your employer expose the mobile services to the public internet. If so, they should be able to provide you the correct domain in you IT group. It may or may not be the same domain name as your internal network.
__________________
Some requests I have filled: Click Here
Reply With Quote
  #77 (permalink)  
Old 04-24-2010, 02:19 AM
SnittyKitty's Avatar
Lurker
Offline
Pocket PC: HTC Touch Pro 2
Carrier: T-Mobile
Location: Opelika, AL
 
Join Date: Oct 2008
Posts: 3
Reputation: 0
SnittyKitty is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via ICQ to SnittyKitty Send a message via AIM to SnittyKitty Send a message via Yahoo to SnittyKitty
Re: Learn UC / Registry / XML Provisioning / CAB Editing {2010-03-15}

Ninja Duck...Thank You for creating this tutorial, I promise you it will be printed, programs downloaded and I will do my level best to learn this from scratch turkey. I appreciate someone taking the time to do this from the beginning which is where I'm at and there is one thing I've learned about flashing and that is how quick it gets old having to do everything manually following flashing my device with the latest ROM. My memory serves me correct you also did some work with the Opera Mobile browser while it was in beta. Thanks again!
Reply With Quote
  #78 (permalink)  
Old 04-24-2010, 02:43 AM
bongohawk's Avatar
Lurker
Offline
Pocket PC: HTC Touch Pro
Carrier: Sprint
 
Join Date: Nov 2007
Posts: 24
Reputation: 0
bongohawk is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Learn UC / Registry / XML Provisioning / CAB Editing {2010-03-15}

I have a question about how to configure my email based on the following XML file:

<wap-provisioningdoc>

<characteristic type="Email2">

<characteristic type="{9d24a930-4e2b-11df-9879-0800200c9a66}">
<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="Me" />
<parm name="AUTHNAME" value="Me" />
<parm name="AUTHSECRET" value="password" />
<parm name="DOMAIN" value="" />
<parm name="REPLYADDR" value="myemail@gmail.com" />
<parm name="LINGER" value="120" />
<parm name="RETRIEVE" value="-1" />
<parm name="KEEPMAX" value="-1" />
<parm name="DWNDAY" value="7" />
<parm name="AUTHREQUIRED" value="0" />
<parm name="SMTPALTENABLED" value="0" />
<parm name="SMTPALTAUTHNAME" value="" />
<parm name="SMTPALTPASSWORD" value="" />
<parm name="SMTPALTDOMAIN" value="" />
<characteristic type="TAGPROPS">
<parm name="8128000B" value="0"/>
<parm name="812C000B" value="0"/>
</characteristic>
</characteristic>

</characteristic>

</wap-provisioningdoc>

Now my questions is, which "parm name" sets the "Message download limit" and the "Automatic Send/Receive" times? I was guessing that "Linger" was the one, but I want to set my time to "Manually". Do i just put in "0" or leave it blank?
Reply With Quote
  #79 (permalink)  
Old 04-24-2010, 10:27 PM
NinjaDuck's Avatar
VIP Duck
Offline
Pocket PC: RAPHAEL / TOPAZ / RHODIUM
Carrier: Verizon
Threadstarter
Location: Omnipresent
 
Join Date: Feb 2009
Posts: 825
Reputation: 6270
NinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Learn UC / Registry / XML Provisioning / CAB Editing {2010-03-15}

Quote:
Originally Posted by bongohawk View Post
I have a question about how to configure my email based on the following XML file:

<wap-provisioningdoc> ...</wap-provisioningdoc>

Now my questions is, which "parm name" sets the "Message download limit" and the "Automatic Send/Receive" times? I was guessing that "Linger" was the one, but I want to set my time to "Manually". Do i just put in "0" or leave it blank?
Leaving linger blank will default to 15 minutes. You want to set it to zero for manual.

As far as download limits (FROM MSDN), there are two options - one for the actual message and one for attachments:

RETRIEVE[Optional] Specifies the maximum size (in bytes) for messages retrieved from the incoming e-mail server. Messages beyond this size will still be retrieved, but will be truncated. Use a value of 0 to specify that you only want to download headers. Use a value of -1 (or 4294967295) to specify that you want to download the full messages.

KEEPMAX[Optional] Specifies the maximum size (in KB) for message attachments to be downloaded. Attachments that are larger will remain on the server, but the message itself will still be downloaded. Use a value of 0 to specify that you do not want any message attachments. Use a value of -1 (or 4294967295) to specify that you want all message attachments, no matter how large.
Reply With Quote
  #80 (permalink)  
Old 05-01-2010, 03:47 PM
J Lamp's Avatar
Lurker
Offline
Pocket PC: Tilt 2
Carrier: Rogers
 
Join Date: Apr 2010
Posts: 1
Reputation: 0
J Lamp is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Learn UC / Registry / XML Provisioning / CAB Editing {2010-03-15}

Awesome Thread.

So far I’ve managed to get my Hotmail account, WiFi for home and office, companies server certificate, various applications, registry settings and cabs all installing from my XDA_UC folder. The only thing I’ve had no success with is setting up my corporate email with our Exchange server.

I’ve tried copying xml from here and various other threads as templates, substituting my settings, no joy. All the data gets correctly inserted into the Outlook account settings except for the very first value when setting up, "Email Address," which is blank. Using the xml files to create the accounts seems to prohibit me from editing them after, so I simple delete the Outlook account and recreate it with all the same info, including the email address and everything works fine.

I’m wondering if the issue is due to the fact that I’m using an email alias on the Exchange server as opposed to the standard user name.

I tried rapiconfig.exe which created a lengthy xml with an "EmailAddress" parameter in settings. That didn’t help either.

So I’m either missing something (possible) or doing something dumb (probable.) Any tips would be appreciated.
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 07:32 AM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com