PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   CDMA TP Development (http://forum.ppcgeeks.com/forumdisplay.php?f=68)
-   -   Post Your SDconfig.txt, provisioning.xml, etc. Files Here! (http://forum.ppcgeeks.com/showthread.php?t=59566)

kockroach 03-25-2009 12:56 PM

Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!
 
Quote:

Originally Posted by elephant007 (Post 798275)
Solutions people, that's what we all do here at PPCGEEKS!!! :headbang:


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.

ryangruhn 03-25-2009 01:31 PM

Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!
 
Quote:

Originally Posted by kockroach (Post 798174)
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.

elephant007 03-25-2009 01:37 PM

Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!
 
Quote:

Originally Posted by kockroach (Post 798315)
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.

zikronix 03-25-2009 01:47 PM

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.

kockroach 03-25-2009 05:38 PM

Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!
 
Quote:

Originally Posted by zikronix (Post 798446)
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.

LunaticSerenade 03-25-2009 06:34 PM

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

xdanimalx 03-25-2009 09:03 PM

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>


reigndropz 03-25-2009 09:28 PM

Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!
 
Quote:

Originally Posted by xdanimalx (Post 799743)
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


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?

reigndropz 03-25-2009 09:32 PM

Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!
 
Quote:

Originally Posted by FatFrosty (Post 798238)
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. :-P

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

ryangruhn 03-25-2009 10:29 PM

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.


All times are GMT -4. The time now is 06:26 PM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0