[HELP] Problems in cooking ROM - Touch Viva, MDA Basic ROM Development

Hi everyone,
I am cooking a ROM for opal with oskitchen, and I want the help of chefs for the following things:
1-Want to remove these 5 programs from the programs tab which are selected by default [SOLVED Post#12]
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2-Want to remove this whole tab, but don't know the registry tweaks to apply [SOLVED Post#8](thanks to haytham-)
3-Don't want to cook Bluetooth Explorer, but don't know how [SOLVED Post#11]
4-Want to remove some shortcuts from start menu like java, shutdown, voice recorder etc, during cooking process
5-Want to delete default internet favorites
6-Remove default manila cities [SOLVED Post#13]
Waiting for help...........

for #4 : uncheck everything that you dont like in main program menu

arianesfahani said:
for #4 : uncheck everything that you dont like in main program menu
Click to expand...
Click to collapse
Thanks, but i want to cook these things in the ROM, just want to remove their shortcuts from start menu.

help
Dblaster said:
Thanks, but i want to cook these things in the ROM, just want to remove their shortcuts from start menu.
Click to expand...
Click to collapse
i think change location of those applications to folder for it go in app. package and edit in app.dat file
Directory("\Windows\Start Menu\Tools"):-File("application name.lnk","\Windows\_application name.lnk")
so it will send shortcuts in tools.

mehulkarate said:
i think change location of those applications to folder for it go in app. package and edit in app.dat file
Directory("\Windows\Start Menu\Tools"):-File("application name.lnk","\Windows\_application name.lnk")
so it will send shortcuts in tools.
Click to expand...
Click to collapse
Thanks Mehul, but i saw one thing that there is a shortcut file in the ext package of programs(e.g. quick shutdown, voice recorder), i think that i should delete it so its shortcut will not appear

search search search

findbom said:
search search search
Click to expand...
Click to collapse
Man i've opened this thread after a lot o'searching, so don't tell me to......

No. 2 SOLVED!!!!!!
Thanks to haytham- for his help, i have successfully removed the LOCATION Tab.
Here's how i did it:
I just changed 1 to 0 in HTCHomeSettings XML (the one in RED)
Code:
<Tabs>
<HomeWidget enable="1" tab_bg_icon="7,8" tab_icon="69,70" big_icon="29,30" />
<OperatorWidget enable="0" tab_bg_icon="120,129" tab_icon="145,147" big_icon="200,218" />
<PeopleWidget enable="1" tab_bg_icon="19,20" tab_icon="168,169" big_icon="59,60" />
<MyFavesWidget enable="0" tab_bg_icon="219,220" tab_icon="221,222" big_icon="223,224" />
<MessagingWidget enable="1" tab_bg_icon="15,16" tab_icon="115,165" big_icon="37,38" />
<EmailWidget enable="1" tab_bg_icon="11,12" tab_icon="111,112" big_icon="33,34" />
<FootprintsWidget enable="0" tab_bg_icon="229,230" tab_icon="231,232" big_icon="233,234" />
<InternetWidget enable="1" tab_bg_icon="9,10" tab_icon="71,110" big_icon="31,32" />
<PhotoWidget enable="1" tab_bg_icon="21,22" tab_icon="170,171" big_icon="61,62" />
<MusicWidget enable="1" tab_bg_icon="17,18" tab_icon="166,167" big_icon="39,58" />
<TVWidget enable="0" tab_bg_icon="242,243" tab_icon="244,245" big_icon="246,247" />
<WeatherWidget enable="1" tab_bg_icon="27,28" tab_icon="176,177" big_icon="67,68" />
<LocationWidget enable="[COLOR="Red"]0[/COLOR]" tab_bg_icon="13,14" tab_icon="113,114" big_icon="35,36" />
<SettingsWidget enable="1" tab_bg_icon="25,26" tab_icon="174,175" big_icon="65,66" />
<LauncherWidget enable="1" tab_bg_icon="23,24" tab_icon="172,173" big_icon="63,64" />
</Tabs>

1) possible solution:
get the source packages from my kitchen ("2D Manila v2.0.20163224.00" and "2D Manila v2.0.20163224.00 Default Skin") and then you have to copy your theme into "2D Manila v2.0.20163224.00 Default Skin", you should get your manila without links. unfortunately now I do not remember how I did it to delete the links, if I remember I tell you...
4) create a package with an app.dat iside. then open app.dat with a notepad ad put this string inside it:
Directory("\Windows"):-File("nameofthelink.lnk","\Windows\Start Menu\Programs\nameofthelink.lnk")
(I'm not sure that it works)
Alternatively you can search and delete the links in the kitchen
good luck!

Thanks Pajerm, but that didn't work.
For No. 4 i made a app.dat file in package of voice recorder, and added this string:
Code:
Directory("\Windows"):-File("Recorder.lnk","\Windows\Start Menu\Programs\Recorder.lnk")
Is it right?????

No. 3 SOLVED!!!!!!
Okay, for removing bluetooth explorer, just uncheck this package in EXT packages:
Code:
BT Ftp v1.2.33281.91

No. 1 SOLVED!!!!!!
At last, I've succeeded in removing manila default launcher apps.
Go to "Sources\Devices\HTC Opal\EXT Packages\HTC Opal Packages\Operator Pkg\files" and open this "mxipupdate_oemoperators_107"
In it, just delete this:
Code:
<!--Manila 2D Programs Tab-->
<characteristic type="Registry">
<characteristic type="HKLM\Software\HTC\Manila2D\Launcher" translation="filesystem" />
<characteristic type="HKLM\Software\HTC\Manila2D\Launcher\0" translation="filesystem">
<parm name="DispName" datatype="string" value="YouTube" translation="filesystem" />
<parm name="Path" datatype="string" value="\Windows\YouTube.lnk" translation="filesystem" />
<parm name="IsLock" datatype="integer" value="0" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Manila2D\Launcher\1" translation="filesystem">
<parm name="DispName" datatype="string" value="RSS Hub" translation="filesystem" />
<parm name="Path" datatype="string" value="\Windows\RSS Hub.lnk" translation="filesystem" />
<parm name="IsLock" datatype="integer" value="0" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Manila2D\Launcher\2" translation="filesystem">
<parm name="DispName" datatype="string" value="Calculator" translation="filesystem" />
<parm name="Path" datatype="string" value="\Windows\calc.lnk" translation="filesystem" />
<parm name="IsLock" datatype="integer" value="0" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Manila2D\Launcher\3" translation="filesystem">
<parm name="DispName" datatype="string" value="Notes" translation="filesystem" />
<parm name="Path" datatype="string" value="\Windows\notetake.lnk" translation="filesystem" />
<parm name="IsLock" datatype="integer" value="0" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Manila2D\Launcher\4" translation="filesystem">
<parm name="DispName" datatype="string" value="Camera" translation="filesystem" />
<parm name="Path" datatype="string" value="\Windows\camera.exe" translation="filesystem" />
<parm name="IsLock" datatype="integer" value="0" />
</characteristic>
</characteristic>
and that's an end to all default apps.

No. 6 SOLVED!!!!!!
Its solved too. Just follow the steps in Post#12 and delete this:
Code:
<!--Manila 2D Weather Tab-->
<characteristic type="Registry">
<characteristic type="HKLM\Software\HTC\Manila2D\Weather\0" translation="filesystem">
<parm name="LocationCode" datatype="string" value="MEA|AE|AE005|DUBAI" translation="filesystem" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Manila2D\Weather\1" translation="filesystem">
<parm name="LocationCode" datatype="string" value="MEA|SA|SA007|RIYADH" translation="filesystem" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Manila2D\Weather\2" translation="filesystem">
<parm name="LocationCode" datatype="string" value="MEA|SA|SA011|JEDDAH" translation="filesystem" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Manila2D\Weather\3" translation="filesystem">
<parm name="LocationCode" datatype="string" value="AFR|EG|EG011|CAIRO" translation="filesystem" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Manila2D\Weather\4" translation="filesystem">
<parm name="LocationCode" datatype="string" value="MEA|QA|QA001|DOHA" translation="filesystem" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Manila2D\Weather\5" translation="filesystem">
<parm name="LocationCode" datatype="string" value="MEA|AE|AE002|ABU DHABI" translation="filesystem" />
</characteristic>
</characteristic>
and you're all done.

Related

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

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????

Creating installation cab (file ops) with registry tweaks

Hi, after looking for long time on this forum and on google, I'm stuck
I'm looking a way, with tools MAKECAB, to create an autoinstall file with registry tweak.
The goal is to purpose an addons for TF3D Config, and auto apply all tweaks during installation process.
So
I already have this :
Code:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\System\GDI\GLYPHCACHE">
<parm name="limit" value="131072" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Drivers\SDCARD\ClientDrivers\Class\SIM_Class">
<parm name="DisablePowerManagement" value="0" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Drivers\SDCARD\ClientDrivers\Class\MMC_Class">
<parm name="DisablePowerManagement" value="0" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Drivers\SDCARD\ClientDrivers\Class\NAND_Class">
<parm name="DisablePowerManagement" value="0" datatype="integer" />
</characteristic>
<characteristic type="HKLM\System\CurrentControlSet\Control\Power\Timeouts">
<parm name="ACResumingSuspendTimeout" value="90" datatype="integer" />
</characteristic>
<characteristic type="HKLM\System\CurrentControlSet\Control\Power\Timeouts">
<parm name="BattResumingSuspendTimeout" value="90" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Camera\P6">
<parm name="Enable" value="1" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Camera\P8">
<parm name="Enable" value="1" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Camera\P9">
<parm name="Enable" value="1" datatype="integer" />
</characteristic>
<characteristic type="HKCU\ControlPanel\Phone">
<parm name="Vol" value="34952" datatype="integer" />
</characteristic>
<characteristic type="HKCU\ControlPanel\BackLight">
<parm name="AutoDeviceLockEnable" value="0" datatype="integer" />
</characteristic>
<characteristic type="HKCU\ControlPanel\BackLight">
<parm name="AutoDeviceLockTimeout" value="5" datatype="integer" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
I just want to copy a file name tweaks_custom.xml to TF3D Install directory
Here my try :
Code:
<wap-provisioningdoc>
<characteristic type="Install">
<parm name="InstallPhase" value="install" />
<parm name="OSVersionMin" value="4.0" />
<parm name="OSVersionMax" value="6.99" />
<parm name="BuildNumberMin" value="0" />
<parm name="BuildNumberMax" value="-536870912" />
<parm name="AppName" value="Celogeek TF3D Custom Tweaks" />
<parm name="InstallDir" value="%CE1%\Diamond TF3D Config" translation="install" />
<parm name="NumDirs" value="1" />
<parm name="NumFiles" value="1" />
<parm name="NumRegKeys" value="0" />
<parm name="NumRegVals" value="14" />
<parm name="NumShortcuts" value="0" />
</characteristic>
<characteristic type="FileOperation">
<characteristic type="%CE1%\Diamond TF3D Config" translation="install">
<characteristic type="MakeDir" />
<characteristic type="tweaks_custom.xml" translation="install">
<characteristic type="Extract">
<parm name="Source" value="ctweaks.001" />
</characteristic>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="Registry">
<characteristic type="HKLM\System\GDI\GLYPHCACHE">
<parm name="limit" value="131072" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Drivers\SDCARD\ClientDrivers\Class\SIM_Class">
<parm name="DisablePowerManagement" value="0" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Drivers\SDCARD\ClientDrivers\Class\MMC_Class">
<parm name="DisablePowerManagement" value="0" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Drivers\SDCARD\ClientDrivers\Class\NAND_Class">
<parm name="DisablePowerManagement" value="0" datatype="integer" />
</characteristic>
<characteristic type="HKLM\System\CurrentControlSet\Control\Power\Timeouts">
<parm name="ACResumingSuspendTimeout" value="90" datatype="integer" />
</characteristic>
<characteristic type="HKLM\System\CurrentControlSet\Control\Power\Timeouts">
<parm name="BattResumingSuspendTimeout" value="90" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Camera\P6">
<parm name="Enable" value="1" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Camera\P8">
<parm name="Enable" value="1" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Camera\P9">
<parm name="Enable" value="1" datatype="integer" />
</characteristic>
<characteristic type="HKCU\ControlPanel\Phone">
<parm name="Vol" value="34952" datatype="integer" />
</characteristic>
<characteristic type="HKCU\ControlPanel\BackLight">
<parm name="AutoDeviceLockEnable" value="0" datatype="integer" />
</characteristic>
<characteristic type="HKCU\ControlPanel\BackLight">
<parm name="AutoDeviceLockTimeout" value="5" datatype="integer" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
How can I pack it to a cab, and make it work ?
rename it _setup.xml
use makecab.exe like this from command line:
makecab.exe _setup.xml cabfilename.cab
your second xml doesn't look wellformed to me, it should begin like the first one with <wap-provisioningdoc> among other things.
geistteufel said:
How can I pack it to a cab, and make it work ?
Click to expand...
Click to collapse
Take a look in this thread...
http://forum.xda-developers.com/showthread.php?t=409306
ok thanks
its for registry tweak only
I know how to do that
I was looking for a free and easy way (no installing visual studio or big soft), to make installer with local file in cab and registry tweaks
for registry I have found makecab, work fine, under windows.
for copie file with local resource (in the cab), I have found pocketpc-cab (on linux)
I'm not really happy to go and back, and make 2 soft ...
WinCE Cab was my better solution, but it's not free.
how can I make it for free ?

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!

[Q][Solved]Is there any way to make a provxml for WiFi that sets WPA 2 + AES?

Topic says it all. I have WPA2 AES on my network, and I can't find any way to make a provxml that makes that. Does anybody know of such a tool?
Here you have:
Code:
<characteristic type="CM_WiFiEntries">
<characteristic type="mywireless">
<parm name="DestID" value="{436EF144-B4FB-4863-A041-8F905A62C572}" datatype="string"/>
</characteristic>
</characteristic>
<characteristic type="Wi-Fi">
<characteristic type="access-point">
<characteristic type="mywireless">
<parm name="DestId" value="{436EF144-B4FB-4863-A041-8F905A62C572}" datatype="string"/>
<parm name="Encryption" value="6" datatype="integer"/>
<parm name="Authentication" value="7" datatype="integer"/>
<parm name="Hidden" value="1" datatype="boolean"/>
<parm name="AdHoc" value="0" datatype="integer"/>
<parm name="KeyProvided" value="0" datatype="integer"/>
<parm name="NetworkKey" value="xxxxxxxxxxxxxx"/>
<parm name="KeyIndex" value="1" datatype="integer"/>
<parm name="Use8021x" value="0" datatype="boolean"/>
<parm name="EAPType" value="13" datatype="integer"/>
<parm name="KeyProvided" value="0" datatype="integer"/>
<parm name="KeyIndex" value="1" datatype="integer"/>
</characteristic>
</characteristic>
</characteristic>
Adjust your wifi name, password if it is hidden...
Thanks! That was almost, but it gave me an error a page long, starting with :
Code:
System.XmlException: There are multiple root elements. Line 6, position 2.
And a bunch of "throw" and "parse". But using your values for encryption and authentication I was able to build one that worked, so now I'm all good! This is what it became:
Code:
<wap-provisioningdoc><characteristic type="CM_WiFiEntries">
<characteristic type="MyWifi">
<parm name="DestID" value="{A1182988-0D73-439e-87AD-2A5B369F808B}"/>
</characteristic>
</characteristic>
<characteristic type="Wi-Fi">
<characteristic type="access-point">
<characteristic type="MyWifi">
<parm name="DestID" value="{A1182988-0D73-439e-87AD-2A5B369F808B}"/>
<parm name="Hidden" value="0" />
<parm name="Encryption" value="6" />
<parm name="Authentication" value="7" />
<parm name="KeyIndex" value="1" />
<parm name="NetworkKey" value="**********" />
<parm name="KeyProvided" value="0" />
<parm name="Use8021x" value="0" />
<parm name="EAPType" value="0" />
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
And in case you wonder: No, my WiFi password is not **********...
Mastiff said:
Thanks! That was almost, but it gave me an error a page long, starting with :
Code:
System.XmlException: There are multiple root elements. Line 6, position 2.
And a bunch of "throw" and "parse". But using your values for encryption and authentication I was able to build one that worked, so now I'm all good! This is what it became:
Code:
<wap-provisioningdoc><characteristic type="CM_WiFiEntries">
<characteristic type="MyWifi">
<parm name="DestID" value="{A1182988-0D73-439e-87AD-2A5B369F808B}"/>
</characteristic>
</characteristic>
<characteristic type="Wi-Fi">
<characteristic type="access-point">
<characteristic type="MyWifi">
<parm name="DestID" value="{A1182988-0D73-439e-87AD-2A5B369F808B}"/>
<parm name="Hidden" value="0" />
<parm name="Encryption" value="6" />
<parm name="Authentication" value="7" />
<parm name="KeyIndex" value="1" />
<parm name="NetworkKey" value="**********" />
<parm name="KeyProvided" value="0" />
<parm name="Use8021x" value="0" />
<parm name="EAPType" value="0" />
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
And in case you wonder: No, my WiFi password is not **********...
Click to expand...
Click to collapse
Yeah, sorry it wasn't a full xml, it was a fragment of my provision xml. (It configure UMTS, operator, Wifi, bluetooth...)
Glad you figured out
I'm glad to!
Hello,
When I found this tread I was very happy. I tried your xml file but without result. I can connect to the wireless router from my PC but cannot from my HD2. Here are the steps that I done:
1. Create a _setup.xml file with exact your data, except network name and password
2. I created a .cab with "makecab _setup.xml config.cab" and instaled on my HD2
I always get incorrect password.
This is the content of my _setup.xml file.
<wap-provisioningdoc><characteristic type="CM_WiFiEntries">
<characteristic type="[email protected]">
<parm name="DestID" value="{A1182988-0D73-439e-87AD-2A5B369F808B}"/>
</characteristic>
</characteristic>
<characteristic type="Wi-Fi">
<characteristic type="access-point">
<characteristic type="[email protected]">
<parm name="DestID" value="{A1182988-0D73-439e-87AD-2A5B369F808B}"/>
<parm name="Hidden" value="0" />
<parm name="Encryption" value="6" />
<parm name="Authentication" value="7" />
<parm name="KeyIndex" value="1" />
<parm name="NetworkKey" value="~1qaz2345" />
<parm name="KeyProvided" value="0" />
<parm name="Use8021x" value="0" />
<parm name="EAPType" value="0" />
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
The encryption of the router is WPA2-PSK with AES.
Any ideas? Can be the sing ~ from the password the source of my problem?
I cannot change the router password if you think about this.
Thank you.
I had similar problems connecting myself the first time, but that turned out to be that you have to turn on wifi N manually, at least with the ROM I have. Any chance that's your problem too? If not I can't think of any other possibilites than the ~ in your password, and you're probably SOL if you can't get that changed. Sorry.
starbucks2010 said:
Hello,
When I found this tread I was very happy. I tried your xml file but without result. I can connect to the wireless router from my PC but cannot from my HD2. Here are the steps that I done:
1. Create a _setup.xml file with exact your data, except network name and password
2. I created a .cab with "makecab _setup.xml config.cab" and instaled on my HD2
I always get incorrect password.
This is the content of my _setup.xml file.
<wap-provisioningdoc><characteristic type="CM_WiFiEntries">
<characteristic type="[email protected]">
<parm name="DestID" value="{A1182988-0D73-439e-87AD-2A5B369F808B}"/>
</characteristic>
</characteristic>
<characteristic type="Wi-Fi">
<characteristic type="access-point">
<characteristic type="[email protected]">
<parm name="DestID" value="{A1182988-0D73-439e-87AD-2A5B369F808B}"/>
<parm name="Hidden" value="0" />
<parm name="Encryption" value="6" />
<parm name="Authentication" value="7" />
<parm name="KeyIndex" value="1" />
<parm name="NetworkKey" value="~1qaz2345" />
<parm name="KeyProvided" value="0" />
<parm name="Use8021x" value="0" />
<parm name="EAPType" value="0" />
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
The encryption of the router is WPA2-PSK with AES.
Any ideas? Can be the sing ~ from the password the source of my problem?
I cannot change the router password if you think about this.
Thank you.
Click to expand...
Click to collapse
Take care of the encoding of the file... And obvisuly, of the xml header
Asking a novice question:
I see this is something to have advance security in WiFi.
But still can you please explain what is this all about and where this file should go during cooking?
I use Linksys E2000 WiFi router with a "2.4 GHz" settings and when I set that to "5 GHz" I cant access internet from Mobile (Topaz), but both way PC can have internet without issue.
May be I should do some basic homework here
Thanks.

Categories

Resources