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 > CDMA TP Development
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #181 (permalink)  
Old 03-25-2009, 12:56 PM
kockroach's Avatar
N00b
Offline
Pocket PC: Touch Pro
Carrier: Sprint
Location: Chicago
 
Join Date: Dec 2007
Posts: 33
Reputation: 45
kockroach is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!

Quote:
Originally Posted by elephant007 View Post
Solutions people, that's what we all do here at PPCGEEKS!!!


Registry Code
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Inbox\Settings]
"AttsOnCard"=dword:00000001
XML
Code:
<wap-provisioningdoc>
   <characteristic type="Registry">
      <characteristic type="HKCU\Software\Microsoft\Inbox\Settings" translation="filesystem">
         <parm name="AttsOnCard" datatype="integer" value="1"/>
      </characteristic>
   </characteristic>
</wap-provisioningdoc>
Isn't that just the attachments? I think, based on what I found, you have to move the "cemail.vol" file to the SD Card.
__________________
Former Sprint Mogul owner running with dcd1182's ROMs.
Current Sprint TP owner running with

Reply With Quote
  #182 (permalink)  
Old 03-25-2009, 01:31 PM
ryangruhn's Avatar
PPCGeeks Regular
Offline
Pocket PC: Touch Pro
Carrier: Spring
Threadstarter
 
Join Date: Nov 2007
Posts: 136
Reputation: 105
ryangruhn is keeping up the good workryangruhn is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!

Quote:
Originally Posted by kockroach View Post
You want the "truncation" values to be "-1". That will pull in the full email. Not sure about the Storage Card question though. I keep mine in the internal memory.

For instance, this is my set up for "Sync". It took me a bit to get it to work:
Code:
<wap-provisioningdoc>
   <characteristic type="Sync">
      <characteristic type="Connection">
         <parm name="Server" value="xxxx"/>
         <parm name="User" value="xxxx"/>
         <parm name="Password" value="xxxx"/>
         <parm name="SavePassword" value="1"/>
         <parm name="Domain" value=""/>
         <parm name="AllowSSLOption" value="1"/>
         <parm name="UseSSL" value="1"/>
         <parm name="EnableRNDIS" value="1"/>
      </characteristic>
      <characteristic type="Settings">
         <parm name="PeakStartTime" value="0800"/>
         <parm name="PeakEndTime" value="1800"/>
         <parm name="PeakFrequency" value="-1"/>
         <parm name="OffPeakFrequency" value="0"/>
         <parm name="BodyTruncation" value="-1"/>
         <parm name="SendMailItemsImmediately" value="1"/>
         <parm name="MailBodyTruncation" value="-1"/>
         <parm name="HTMLTruncation" value="-1"/>
         <parm name="MIMETruncation" value="-1"/>
         <parm name="SyncWhenRoaming" value="1"/>
         <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="CalendarAgeFilter" value="6"/>
      </characteristic>
      <characteristic type="Contacts">
         <parm name="Enabled" value="1"/>
      </characteristic>
      <characteristic type="Mail">
         <parm name="Enabled" value="1"/>
         <parm name="EmailAgeFilter" value="5"/>
      </characteristic>
      <characteristic type="Tasks">
         <parm name="Enabled" value="0"/>
      </characteristic>
   </characteristic>
</wap-provisioningdoc>
Interesting. I wonder if this has been tried for Windows Live.
Reply With Quote
  #183 (permalink)  
Old 03-25-2009, 01:37 PM
elephant007's Avatar
domo arigato mr roboto
Offline
Pocket PC: Samsung Moment
Carrier: Sprint since Feb 11, 2002
 
Join Date: Jan 2007
Posts: 1,248
Reputation: 3584
elephant007 is still contributing even after becoming a VIPelephant007 is still contributing even after becoming a VIPelephant007 is still contributing even after becoming a VIPelephant007 is still contributing even after becoming a VIPelephant007 is still contributing even after becoming a VIPelephant007 is still contributing even after becoming a VIPelephant007 is still contributing even after becoming a VIPelephant007 is still contributing even after becoming a VIPelephant007 is still contributing even after becoming a VIPelephant007 is still contributing even after becoming a VIPelephant007 is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!

Quote:
Originally Posted by kockroach View Post
Isn't that just the attachments? I think, based on what I found, you have to move the "cemail.vol" file to the SD Card.
I thought that is what was asked, just the attachments? Well if not, I can go back to the drawing board.
Reply With Quote
  #184 (permalink)  
Old 03-25-2009, 01:47 PM
zikronix's Avatar
Regular 'Geeker
Offline
Pocket PC: I dont even have a phone.
Carrier: Pony Express
Location: 33.42542423822571, -111.9400405883789
 
Join Date: Feb 2009
Posts: 391
Reputation: 295
zikronix is becoming a PPCGeeks regularzikronix is becoming a PPCGeeks regularzikronix is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!

ok so all my cabs install fine...but i have issues with the prov.xml

some stuff imports some stuff doesnt....i even broke them up into different files any ideas where to even begin. I know its right becuase...sashimi...imports them flawlessly also im not doing any email account importing this is only software and system settings.

Last edited by zikronix; 03-25-2009 at 01:49 PM.
Reply With Quote
  #185 (permalink)  
Old 03-25-2009, 05:38 PM
kockroach's Avatar
N00b
Offline
Pocket PC: Touch Pro
Carrier: Sprint
Location: Chicago
 
Join Date: Dec 2007
Posts: 33
Reputation: 45
kockroach is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!

Quote:
Originally Posted by zikronix View Post
ok so all my cabs install fine...but i have issues with the prov.xml

some stuff imports some stuff doesnt....i even broke them up into different files any ideas where to even begin. I know its right becuase...sashimi...imports them flawlessly also im not doing any email account importing this is only software and system settings.
Part of it will depend on what you are importing. It took me a few times to figure out what could and could not be added when I was doing my "Sync" provisioning XML. You can always post some code for others to look at and make suggestions.
Reply With Quote
  #186 (permalink)  
Old 03-25-2009, 06:34 PM
LunaticSerenade's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro
Carrier: Verizon Wireles
Location: Columbus, OH
 
Join Date: Nov 2008
Posts: 176
Reputation: 155
LunaticSerenade is keeping up the good workLunaticSerenade is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!

how many email addresses can you have the provxml set up? I have several accounts (none exchange, but I have them for various work and personal purposes) that I would like to have set up.

I found code on xda that I thought would work, but it didn't.

Although it may be due to my sdconfig failing miserably...lol
__________________
Current: HTC Droid Incredible [MikMik]Droid Incredible HD-1.0.3[sense 3.5 GB 2.3.5]
Previous: HTC Touch Pro (VZW)||ROM: MightyROM 6 (Final)
Lets go out west and bask/in the overcast/walking in the rain/we'll see the beauty in life again/ -Darkest Hour
Search is your best friend.
Reply With Quote
  #187 (permalink)  
Old 03-25-2009, 09:03 PM
xdanimalx's Avatar
PPCGeeks Regular
Offline
Pocket PC: Touch Pro
Carrier: Sprint
 
Join Date: May 2008
Posts: 137
Reputation: 40
xdanimalx is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!

I can't get my XML file working..
Here is my SDconfig.txt
Code:
LOCK:Enabled
CAB: \Storage Card\Apps\PictureMail.cab
CAB: \Storage Card\Apps\RescoExplorer.CAB
LOCK:Disabled
HIDE:Enabled
CAB: \Storage Card\Apps\IMPLUS.cab
HIDE:Disabled
LOCK:Enabled
CAB: \Storage Card\Apps\sprint-navigation.cab
CAB: \Storage Card\Tweaks\SMS160.cab
CAB: \Storage Card\Tweaks\Advanced_Configuration.CAB
CAB: \Storage Card\Skins\Sprint2FlipClock.cab
XML: \Storage Card\gmail.xml
LOCK:Disabled
HIDE:Enabled
CPY1:\Storage Card\Apps\IMPlus.exe
CPY2:\Program Files\IMPlus\IMPlus.exe
HIDE:Disabled
LOCK:Enabled
LOCK:Disabled
RST: Reset
And my gmail.xml
Code:
- <wap-provisioningdoc>
<!--  Gmail Settings 
  --> 
<characteristic type="EMAIL2">
<characteristic type="{2c431f22-e28f-4ac7-a876-3fb1b08b728c}">
  <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="Your Name" /> 
  <parm name="REPLYADDR" value="" /> 
  <parm name="AUTHNAME" value="xxx" /> 
  <parm name="AUTHSECRET" value="xxx" /> 
  <parm name="DOMAIN" value="" /> 
  <parm name="AUTHREQUIRED" value="1" /> 
  <parm name="LINGER" value="60" /> 
  <parm name="RETRIEVE" value="-1" /> 
  <parm name="KEEPMAX" value="512" /> 
  <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>
<characteristic type="HKCU\Software\HTC\Manila" translation="filesystem">
  <parm name="Weather.CityList" datatype="string" value="NAM|US|MI|ANN ARBOR" />
  </characteristic>
</characteristic>
<characteristic type="HKLM\System\GWE">
    <parm name="cxHScr" value="20" datatype="integer"/>
    <parm name="cyHScr" value="13" datatype="integer"/>
    <parm name="cxVScr" value="13" datatype="integer"/>
    <parm name="cyVScr" value="20" datatype="integer"/>
  </characteristic>
  </wap-provisioningdoc>
Reply With Quote
  #188 (permalink)  
Old 03-25-2009, 09:28 PM
reigndropz's Avatar
Halfway to VIP Status
Offline
Pocket PC: Evo
Carrier: Sprint
Location: VA
 
Join Date: Feb 2009
Posts: 550
Reputation: 805
reigndropz knows their stuffreigndropz knows their stuffreigndropz knows their stuffreigndropz knows their stuffreigndropz knows their stuffreigndropz knows their stuffreigndropz knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!

Quote:
Originally Posted by xdanimalx View Post
I can't get my XML file working..
Here is my SDconfig.txt
[code]LOCK:Enabled
CAB: \Storage Card\Apps\PictureMail.cab
CAB: \Storage Card\Apps\RescoExplorer.CAB
LOCKisabled
HIDE:Enabled
CAB: \Storage Card\Apps\IMPLUS.cab
HIDEisabled
LOCK:Enabled
CAB: \Storage Card\Apps\sprint-navigation.cab
CAB: \Storage Card\Tweaks\SMS160.cab
CAB: \Storage Card\Tweaks\Advanced_Configuration.CAB
CAB: \Storage Card\Skins\Sprint2FlipClock.cab
XML: \Storage Card\gmail.xml
LOCKisabled
HIDE:Enabled
CPY1:\Storage Card\Apps\IMPlus.exe
CPY2:\Program Files\IMPlus\IMPlus.exe
HIDEisabled
LOCK:Enabled
LOCKisabled
RST: Reset

How does your SDConfig even work like that? I didnt know you could have multiple lock commands in the same file....and whats the purpose for that?
Reply With Quote
  #189 (permalink)  
Old 03-25-2009, 09:32 PM
reigndropz's Avatar
Halfway to VIP Status
Offline
Pocket PC: Evo
Carrier: Sprint
Location: VA
 
Join Date: Feb 2009
Posts: 550
Reputation: 805
reigndropz knows their stuffreigndropz knows their stuffreigndropz knows their stuffreigndropz knows their stuffreigndropz knows their stuffreigndropz knows their stuffreigndropz knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!

Quote:
Originally Posted by FatFrosty View Post
I think I've done it so I'll go ahead and share. This solution requires Mortscript. It's the most lightweight program I've seen but one of the most powerful.

The problem I've seen others have is that all the shortcuts in the start menu are checked 'System Files'. This script goes through each of the Start Menu folders and removes all file attributes, then deletes it, one by one.

Here's the Mortscript Code:
Code:
# First delete the Start Menu's original contents
SrcDir = "\Storage Card\Cabs\Start Menu"
aDir = "\Windows\Start Menu"

ForEach bDir in directories ( aDir & "\*" )
If ( bdir ne "\Windows\Start Menu\Settings" )
  if ( ElementCount( DirContents( bDir, DC_FILES ) ) > 0 )
    ForEach tbdFile in files ( bDir & "\*" )
      SetFileAttribs( tbdFile , 0 , 0 , 0 )
      delete( tbdFile )
    EndForEach
  endif
  if ( ElementCount( DirContents( bDir, DC_DIRS ) ) > 0 )
    ForEach cDir in directories ( bDir & "\*")
      if ( ElementCount( DirContents( cDir, DC_FILES ) ) > 0 )
        ForEach tbdFile in files ( cDir & "\*" )
          SetFileAttribs( tbdFile , 0 , 0 , 0 )
          delete( tbdFile )
        EndForEach
      Endif
      if (ElementCount( DirContents( cDir, DC_DIRS ) ) > 0 )
        ForEach dDir in directories (cDir & "\*")
          if ( ElementCount( DirContents( dDir, DC_FILES ) ) > 0 )
            ForEach tbdFile in files ( dDir & "\*" )
              SetFileAttribs( tbdFile , 0 , 0 , 0 )
              delete( tbdFile )
            EndForEach
          Endif
          if ( ElementCount( DirContents( dDir, DC_DIRS ) ) > 0 )
            ForEach eDir in directories (dDir & "\*")
              if ( ElementCount( DirContents( eDir, DC_FILES ) ) > 0 )
                ForEach tbdFile in files ( eDir & "\*" )
                  SetFileAttribs( tbdFile , 0 , 0 , 0 )
                  delete( tbdFile )
                EndForEach
              Endif
              if ( ElementCount( DirContents( eDir, DC_DIRS ) ) > 0 )
                message ( "Some folders are too deep. May require manual deletion.", "Error - fDir" )
              Endif
              Deltree ( eDir )
            EndForEach
          Endif
          Deltree ( dDir )
        EndForEach
      EndIf
      DelTree  ( cDir )
    EndForEach
  endif
  Deltree( bDir )
Endif
EndForEach
ForEach tbdFile in files ( aDir & "\*" )
  SetFileAttribs( tbdFile , 0 , 0 , 0 )
  Delete( tbdFile )
EndForEach

# Then Recreate from a premade source

Foreach tbcDir in directories ( SrcDir & "\*" )
  Xcopy( SrcDir & "\*", aDir, 1, 1 )
Endforeach
Foreach tbcFile in files ( SrcDir & "\*" )
  Xcopy( SrcDir & "\*", aDir, 1, 1 )
Endforeach

# Lastly, delete the script copied to the Memory.
Delete ( "\CustomStartMenu.mscr" )
And here's how I implemented it inside SDConfig.txt:
Code:
CAB: \Storage Card\Cabs\MortScript-4.2-PPC.cab
CPY1:\Storage Card\Cabs\CustomStartMenu.txt
CPY2:\CustomStartMenu.mscr
EXEC:\CustomStartMenu.mscr
SET UP: Take note, it's stored as a txt file in my storage card to prevent any misfirings. The only things I believe that need to be changed from device to device is the directory of the cab in SDConfig, and the first variable in the script, 'SrcDir'. I wouldn't really mess with 'aDir', it can potentially be a Mortscript Virus.

My replacement Start Menu was already set up on my SD card. The easiest way I found was to organize the real start menu however I liked it, then just copied all of the contents over to my SD. I copied the Settings folder to my SD card (which is apparently empty) for backup, but the script is supposed to skip over the settings folder when deleting. It's partially because Mortscript doesn't want to automatically copy over the settings folder for some reason. But the reason could easily be poor coding on my part.

Limitations: The deletion portion of this script is limited to about five levels deep into the start menu. So if you originally have this folder -> \Start Menu\Programs\Utilities\Internet\IM\, it'll prolly throw up an error. I've never seen a rom that organized the start menu for you so I think 3 levels is overkill. I haven't seen and don't think there will be any limitation on how deep of folders you can copy.

If there are any problems I'll help as much as I can.
Man this is exactly what I want to do! I want to have my start menu erased and them my new shortcuts put into that start menu folder.....I just wish I could make sense out of what you posted!! I need help lol
Reply With Quote
  #190 (permalink)  
Old 03-25-2009, 10:29 PM
ryangruhn's Avatar
PPCGeeks Regular
Offline
Pocket PC: Touch Pro
Carrier: Spring
Threadstarter
 
Join Date: Nov 2007
Posts: 136
Reputation: 105
ryangruhn is keeping up the good workryangruhn is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!

Everyone,

I'm looking to organize this thread and put links in the first post to some of the most useful posts on this thread. Additionally, and almost more importantly I've posted some of the requests we've gotten in the first thread. I'm in hopes that someone somewhere has a clear example of code for us to model our .xml files after pertaining to the topic.
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro > CDMA TP Development


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 01:46 AM.


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