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)

dave01978 03-20-2009 12:16 AM

Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!
 
ok dumb question set this up, and added 3 email accounts but it only sets up the 1 any ideas?

<wap-provisioningdoc>
<!-- *** Start Configuring Gmail IMAP *** -->
<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="usernamel@gmail.com" />
<parm name="AUTHSECRET" value="Password" />
<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>
<!-- *** End Configuring Gmail IMAP *** -->
<!-- *** Start Configuring Gmail IMAP *** -->
<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="usernamel@gmail.com" />
<parm name="AUTHSECRET" value="Password" />
<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>
<!-- *** End Configuring Gmail IMAP *** -->
<!-- *** Start Configuring Gmail IMAP *** -->
<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="usernamel@gmail.com" />
<parm name="AUTHSECRET" value="Password" />
<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>
<!-- *** End Configuring Gmail IMAP *** -->
</wap-provisioningdoc>

reigndropz 03-20-2009 12:31 AM

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

Originally Posted by dave01978 (Post 784666)
ok dumb question set this up, and added 3 email accounts but it only sets up the 1 any ideas?

<wap-provisioningdoc>
<!-- *** Start Configuring Gmail IMAP *** -->
<characteristic type="EMAIL2">
<characteristic type="{2c431f22-e28f-4ac7-a876-3fb1b08b728c}">

<characteristic type="{2c431f22-e28f-4ac7-a876-3fb1b08b728c}">

Are your characteristic types supposed to be the same? Im new at this too, but that looks odd to me

reigndropz 03-20-2009 12:37 AM

Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!
 
ok here goes......

I'm trying to add shortcuts to my start menu......can anyone help me fix this?

<wap-provisioningdoc>

<characteristic type="%CE2%\Start Menu\" translation="install">
<characteristic type="RemoveDir" />


<characteristic type="%CE2%\Start Menu\" translation="install">
<characteristic type="MakeDir" />

<characteristic type="Battery Monitor.lnk" translation="install">
<characteristic type="Shortcut">
<parm name="Source" value="%CE2%\BatteryMonitor.exe" translation="install"/>
</characteristic>
</characteristic>

</characteristic>

<characteristic type="%CE2%\Start Menu\" translation="install">
<characteristic type="MakeDir" />

<characteristic type="Camera.lnk" translation="install">
<characteristic type="Shortcut">
<parm name="Source" value="%CE2%\Camera.exe" translation="install"/>
</characteristic>
</characteristic>

</characteristic>

<characteristic type="%CE2%\Start Menu\" translation="install">
<characteristic type="MakeDir" />

<characteristic type="File Explorer.lnk" translation="install">
<characteristic type="Shortcut">
<parm name="Source" value="%CE2%\fexplore.exe" translation="install"/>
</characteristic>
</characteristic>

</characteristic>

<characteristic type="%CE2%\Start Menu\" translation="install">
<characteristic type="MakeDir" />

<characteristic type="PHM RegEdit.lnk" translation="install">
<characteristic type="Shortcut">
<parm name="Source" value="\Program Files\PHM Tools\regedit.exe" translation="install"/>
</characteristic>
</characteristic>

</characteristic>

<characteristic type="%CE2%\Start Menu\" translation="install">
<characteristic type="MakeDir" />

<characteristic type="psShutXP.lnk" translation="install">
<characteristic type="Shortcut">
<parm name="Source" value="Program Files\psShutXP\psShutXP.exe" translation="install"/>
</characteristic>
</characteristic>

</characteristic>

</wap-provisioningdoc>

cpnichols 03-20-2009 12:53 AM

Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!
 
So I have been following this for a bit, and have tried to make my own SDconfig.txt file. and it sort of worked. Basically the email xml worked but nothing installed and the weather one (which is for the HTC weather thing) did not. None of the CAB files installed. I think this seems to be related to the LOCK and HIDE stuff. Can someone explain to me where you put those and why? I would appreciate any help.

SDConfig.txt:

LOCK:Enabled
CAB: \Storage Card\My Documents\installs\CorePlayer.cab
CAB: \Storage Card\My Documents\installs\LumosSetupV09.CAB
CAB: \Storage Card\My Documents\installs\PictureMail.CAB
CPY1:\Storage Card\My Documents\installs\restore\Lumos\settings.txt
CPY2:\Program Files\Lumos\settings.txt
XML: \Storage Card\My Documents\installs\restore\emails.xml
XML: \Storage Card\My Documents\installs\restore\weather.xml
LOCK:Disabled
RST: Reset

Weather:

<wap-provisioningdoc>
<characteristictype="Registry">
<!-- Task Manager "X" -->
<characteristictype="HKCU\Software\HTC\TaskManag er ">
<parmname="EnableTapAndHold"value="0"datatype="i nt eger"/>
</characteristic>
<characteristic type="HKCU\Software\HTC\Manila" translation="filesystem">
<parm name="Weather.CityList" datatype="string" value="NAM|US|CA|LOS ANGELES" />
</characteristic>
</characteristic>
</wap-provisioningdoc>

ryangruhn 03-20-2009 10:02 AM

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


<!-- Task Manager "X" -->
<characteristictype="HKCU\Software\HTC\TaskManag er ">
<parmname="EnableTapAndHold"value="0"datatype="i nt eger"/>
</characteristic>

I created this one that you copied however somewhere along the way it put spaced in your text that shouldn't be there. It should be:

Quote:

TaskManager

and

integer
Always check your code in a browser to make sure it comes up. If there is an error it won't come up correctly and you'll need to fix it.

reigndropz 03-20-2009 11:24 AM

Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!
 
Here is my complete xml. Its still not working, can someone take a quick peek at this? I'm just trying to remove the original shortcuts in the start menu and replace my own with them, but when I "test" it by opening it up in the IE, I get the "
End tag 'characteristic' does not match the start tag 'wap-provisioningdoc'." error.



Code:

<wap-provisioningdoc>
    <characteristic type="EMAIL2" recursive="true">
        <characteristic type="{6E1145C4-F35F-0EC9-182D-F73C2DCBEFD7}">
            <parm name="SERVICENAME" value="Gmail"/>
            <parm name="SERVICETYPE" value="IMAP4"/>
            <parm name="INSERVER" value="imap.gmail.com"/>
            <parm name="AUTHNAME" value="blahblahblueblue"/>
                                                  <parm name="AUTHSECRET" value="aaaaaaaaaaaaaa"/>
            <parm name="DOMAIN" value=""/>
            <parm name="OUTSERVER" value="smtp.gmail.com"/>
            <parm name="REPLYADDR" value="blahblahblublue@blah.com"/>
            <parm name="SMTPALTAUTHNAME" value="blahblahblublue@blah.com"/>
            <parm name="SMTPALTDOMAIN" value=""/>
            <parm name="NAME" value=""/>
            <parm name="LINGER" value="15"/>
            <parm name="RETRIEVE" value="51200"/>
            <parm name="KEEPMAX" value="4294967295"/>
            <parm name="DWNDAY" value="3"/>
            <parm name="FORMAT" value="2"/>
            <parm name="AUTHREQUIRED" value="1"/>
        </characteristic>
    </characteristic>


<characteristic type="FileOperation">
 
<characteristic type="%CE2%\Start Menu\" translation="install">
<characteristic type="RemoveDir" />
</characteristic>
</characteristic>

<characteristic type="%CE2%\Start Menu\" translation="install">
<characteristic type="MakeDir" />
</characteristic>
</characteristic>
 
<characteristic type="Battery Monitor.lnk" translation="install">
<characteristic type="Shortcut">
<parm name="Source" value="%CE2%\BatteryMonitor.exe" translation="install"/>
</characteristic>
</characteristic>
 
<characteristic type="Camera.lnk" translation="install">
<characteristic type="Shortcut">
<parm name="Source" value="%CE2%\Camera.exe" translation="install"/>
</characteristic>
</characteristic>
 
<characteristic type="File Explorer.lnk" translation="install">
<characteristic type="Shortcut">
<parm name="Source" value="%CE2%\fexplore.exe" translation="install"/>
</characteristic>
</characteristic>
 
<characteristic type="PHM RegEdit.lnk" translation="install">
<characteristic type="Shortcut">
<parm name="Source" value="\Program Files\PHM Tools\regedit.exe" translation="install"/>
</characteristic>
</characteristic>
 
<characteristic type="psShutXP.lnk" translation="install">
<characteristic type="Shortcut">
<parm name="Source" value="Program Files\psShutXP\psShutXP.exe" translation="install"/>
</characteristic>
</characteristic>

 
 
<characteristic type="Registry">
<characteristic type="HKLM\Software\HTC\EnlargeMenu">
        <parm name="Enable" datatype="integer" value="1"/>
      </characteristic>
</characteristic>

</characteristic>
 
</wap-provisioningdoc>

Email sets up fine. just nothing else

ryangruhn 03-20-2009 12:10 PM

Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!
 
I'd suggest adding one thing at a time and make sure each works before you add more.

reigndropz 03-20-2009 02:01 PM

Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!
 
Is there a way to test the xml on my device without reflashing it?

lnchbx13 03-20-2009 02:02 PM

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

Originally Posted by dave01978 (Post 784666)
ok dumb question set this up, and added 3 email accounts but it only sets up the 1 any ideas?

<characteristic type="EMAIL2">

I agree with reigndrops, I don't think that your email is supposed to all three say EMAIL2. Was it the last email that stayed? Try naming the second and third one to EMAIL3 and EMAIL4 and see if that changes it.

Quote:

Originally Posted by reigndropz (Post 784687)
Are your characteristic types supposed to be the same? Im new at this too, but that looks odd to me


FatFrosty 03-20-2009 02:11 PM

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

Originally Posted by dave01978 (Post 784666)
ok dumb question set this up, and added 3 email accounts but it only sets up the 1 any ideas?

<wap-provisioningdoc>
<!-- *** Start Configuring Gmail IMAP *** -->
<characteristic type="EMAIL2">
<characteristic type="{2c431f22-e28f-4ac7-a876-3fb1b08b728c}">

<characteristic type="EMAIL2">
<characteristic type="{2c431f22-e28f-4ac7-a876-3fb1b08b728c}">

<characteristic type="EMAIL2">
<characteristic type="{2c431f22-e28f-4ac7-a876-3fb1b08b728c}">

</wap-provisioningdoc>

You need to have a different *insert correct terminology here* for each one. (the long string of characters). Each account needs a unique one, you're installing the third one over the second one, which is installed over the first one. Email2 is fine and pertains to a class of account.

Edit: It's called a GUID (Global Unique Identifier) and you can get a completely unique one at http://www.guidgen.com/. It's unique because it's tied to the time of it's creation.


All times are GMT -4. The time now is 05:35 PM.

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


Content Relevant URLs by vBSEO 3.6.0