[SOLVED] editing office 2010 icon - Windows Mobile

I have managed to change all the folder icons in the start menu to custom icons except Office mobile 2010.
I have fixed the issue. Thanks to AndrewSH and Poyensa for pointing me in the right direction!
What I forgot to meniton is I am using OS 21913 wich comes with Office 2007. I removed it and upgraded to 2010.
As AndrewSH rightly said the mxipinit_startmenu_001.provxml controls the icons and over rights any reg files that are used. I found the the prov file had an incorrect entry in the start menu. It was pointing to Office Mobile instead of Office Mobile 2010. I updated the following code.
Code:
<characteristic type="Office Mobile 2010">
<parm name="Group" value="1" datatype="boolean" />
<parm name="Rank" value="900000788" datatype="integer" />
<parm name="Icon" value="\Windows\Start_Icon_Office.png" datatype="string" />
I then used Poyensa's idea of renaming the PNG files to suit. Thanks again for all your help guys!

GhostXSeries, file icon.lnk just defines how office folder looks in file explorer - a small office pictogram (like icons inside executables - calculator for example)
The icon for Start Menu (png file which you are trying to change for custom) is defined in mxipinit_startmenu_001.provxml
Code:
<characteristic type="Office Mobile">
<parm name="Group" value="1" datatype="boolean" />
<parm name="Rank" value="900000788" datatype="integer" />
<parm name="Icon" value="\Windows\Start_Icon_Office.png" datatype="string" />
Just to explain - you can not change icon name to ghostbla-bla-bla modifying rgu (or reg) because provxmls are processed AFTER rgu in cooking process. That means - first your setup rgu (or reg) file is processed and your icon is set up, then it's overwritten by provxml and you again have the default meaning in the registry.
Modify your provxml, or name your custom icon like original one and replace in the kitchen.

hi GhostX, why dont you just rename your ghst_office.png as Start_Icon_Office.png? attaching my silver icons as EXT package, just as example ....

Thanks for the reply guys. I did as you suggested and changed the icon names, but it hasn't worked. The Office start menu icon is a standard folder icon and the games icon is also wrong.
I did manage to change the settings icon as you can see in the picture.
I have attached my icons ext package to let you see what I am trying to do.
EDIT: Tried again and got games folder working with new icon, but Office folder is not.
EDIT 2: I replaced the icon.lnk file in the Office Mobole 2010 and it has changed the icon back to the standard office 2010 icon. See below. This icon is differnt to the Start_Icon_Office.png. It seems to be the office 2003 icon not 2010.
EDIT 3: Fixed it! I edited the registery from [HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\office mobile] to [HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\office mobile 2010] and it worked!! Now I just need to figure out how to edit it in my kitchen build!!!!

Related

Bluetooth Gateway

Is there a today screen plugin that displays whether the Bluetooth Gateway is open or closed and lets you change it. I have found myself often leaving the gateway open when the phone is silent. Thanks in advance.
Use the wireless today plugin - cab attached
Hi meschle,
you CAB is empty. Don't have any files inside neither reg keys...
Conchas said:
Hi meschle,
you CAB is empty. Don't have any files inside neither reg keys...
Click to expand...
Click to collapse
It does have a setup.xml file that writes the reg keys. There is no program its a reg hack and i dont think it will work on your universal anyhow.
Sorry you are right.
As I saw no effect at first, I've open it with WinCE CabManager to take a look, and saw nothing.
Checked now with Zip, and the .xml it's there.
Might be some new bug with the WinCE CabManager version 2...!?
By the way, do you know about some documentation that explains how to change registry via .xml files?
Conchas said:
Sorry you are right.
As I saw no effect at first, I've open it with WinCE CabManager to take a look, and saw nothing.
Checked now with Zip, and the .xml it's there.
Might be some new bug with the WinCE CabManager version 2...!?
Click to expand...
Click to collapse
I dont use wince cabmanager - i manually write the xml file - and put the cab together with smartarchiver - meant for smartphone but works a treat with wm5.
Its not difficult to write xml file i taught myself. Here is the one for the wireless plugin - you could use it as a template and change values to suit.
- <wap-provisioningdoc>
- <characteristic type="Install">
<parm name="InstallPhase" value="install" />
<parm name="AppName" value="Meschle Wireless plugin" />
<parm name="NumRegKeys" value="1" />
<parm name="NumRegVals" value="4" />
</characteristic>
- <characteristic type="Registry">
- <characteristic type="HKLM\Software\Microsoft\Today\Items\Wireless">
<parm name="DLL" value="netui.dll" datatype="string" />
<parm name="Order" value="0" datatype="integer" />
<parm name="Enabled" value="1" datatype="integer" />
<parm name="Type" value="4" datatype="integer" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
Thanks but problem
Thanks meschle for making that for me, but for some reason it shows up in my today opions but not on my today screen. I do notice the line that normally divides two items on the today screen is missing in teh place the plugin should be. I am using the stock 8125 rom(which displays the date in only one line). Is this problem cause by the 1/2 line difference in the date between roms? Thanks again.
Re: Thanks but problem
unvjarhead said:
Thanks meschle for making that for me, but for some reason it shows up in my today opions but not on my today screen. I do notice the line that normally divides two items on the today screen is missing in teh place the plugin should be. I am using the stock 8125 rom(which displays the date in only one line). Is this problem cause by the 1/2 line difference in the date between roms? Thanks again.
Click to expand...
Click to collapse
Yes sorry only works on aku2 roms, i.e. roms starting with number 2.
You could update your rom or try dktoday which also shows bluetooth on today screen.

[REF] How-To: automate backup (inc. Manila conf) before a ROM upgrade using SASHIMI

To start with, English is not my mother tongue, and I am only a poor little student , sorry for possible mistakes.
I have spend a lot of time gathering information and making trials on how to backup automatically my Touch HD before a ROM flash and restore it in the same state automatically after the flash, with focus in particular on Manila settings. I will describe here solutions that I have found, hope it will save time for others.
I will try to make this how-to simple, for the n00bs like me . Hence, sorry if some information seems useless/obvious for some people here.
This how-to is meant to save your time in finding information & testing, however, SASHIMI still require some amount of time to be set up correctly. If you consider you don't have more than 2 hours for it, don't start reading. Despite the initial amount of time to spend, it's worth it, trust me! If you are not convinced, take a look to my conclusion:
"With this method I am able to backup/restore almost all my data and settings automatically, including Manila configuration, Opera bookmarks, cache and cookies, Start Menu shortcuts organisation, WiFi settings, Email account settings, OS tweaks, Wallpaper, ringtones, notification, owner info, "my contact card" info, Facebook link with contact, messenger, windows live & facebook login/passwords, 3rd party application settings, etc... in less than 2 minutes!"
This how-to have been tested on several WM6.5 cooked ROMs with Manila 2.1. Concerning WM6.1 and other TF3D versions the principle should be the same, however file and registry path may differ.
My backup strategy involves:
- Microsoft MyPhone for contacts, agenda, tasks, mails, SMS/MMS, ringtones, and documents on internal storage.
- SASHIMI for everything else: Manila configuration (Programs Tab organisation, Weather cities, My Contact Card, Facebook, Push Pages...), Wifi/Bluetooth settings, Email accounts settings, applications settings, keyboard settings, OS tweaks, etc.
Step 1: What you need
First, go to http://www.winmo-experts.com and download SASHIMI v8.0 (you must be registered to be able to download). Once the package unzipped on your PC, you need to read the (very complete) documentation, which is in [extracted_folder]\documentation\sashimi.html. You may want to watch the tutorial videos as well.
If your ROM doesn't come with Microsoft MyPhone, go to http://myphone.microsoft.com (from your PC) or http://myphone.microsoft.com/install (from your phone) and install it. You also need to have a valid Windows Live ID account.
Note: For people who don't like the idea of having PIM data stored on a Microsoft server, you can use PimBackup instead, however, it offer less functionalities and is less convenient to use IMHO.
Step 2: How to organise your data
I recommend to put all data (music, pictures, documents) on the storage card as well as to install 3rd party applications on the storage card. However, if you happen to forget some pictures/music on the internal storage, Microsoft MyPhone will take care of that, as well as documents stored in My Documents.
Your contacts MUST NOT be stored in your SIM card. If you use contacts in your SIM card, use PIMBackup instead of Microsoft MyPhone.
Step 3: Configure SASHIMI
Ok, here is the big stuff. Be sure you read the SASHIMI documentation and watch the videos here. With this, you should be able to install SASHIMI on your storage card. Take the time to look at the data structure of the SASHIMI installation in your explorer and understand how it works. Now it's time to configure...
SASHIMI uses INI files in \SASHIMI\Program\INI to automate almost everything. The downside is that you have to do them yourself . However, once done, you can save a lot of time as it will backup and restore almost everything automatically . Example files are provided in \SASHIMI\Program\Help.
Step 3a: Registry backup
All registry backup is configured in the \SASHIMI\Program\INI\regexport.ini file. If it is not present, create it or copy from the sample files.
For Manila, the following entry must be backed up:
- Program Tab organisation:
HKEY_LOCAL_MACHINE\Software\HTC\Manila\ProgramLauncher
- Weather tab, and other things (Facebook account):
HKEY_CURRENT_USER\Software\HTC\Manila
- YouTube account, Facebook account:
HKEY_LOCAL_MACHINE\Software\HTC\HTCAccountManager
- "My Contact Card":
HKEY_CURRENT_USER\Software\HTC\People\OwnerInfo
- Push pages:
HKEY_LOCAL_MACHINE\Software\HTC\Manila\InternetPush\Enabled
Hence, my regexport.ini file looks like:
Code:
[Manila_Programs_Tab]
RegExportDirMode=Auto
key1=HKEY_LOCAL_MACHINE\Software\HTC\Manila\ProgramLauncher
[Manila_Weather_Cities]
RegExportDirMode=Auto
key1=HKEY_CURRENT_USER\Software\HTC\Manila
[HTC_Accounts]
RegExportDirMode=Auto
key1=HKEY_LOCAL_MACHINE\Software\HTC\HTCAccountManager
key2=HKEY_CURRENT_USER\Software\HTC\People\OwnerInfo
[Push_Web]
RegExportDirMode=Auto
key1=HKEY_LOCAL_MACHINE\Software\HTC\Manila\InternetPush\Enabled
But you can also do that:
Code:
[Manila_Settings]
RegExportDirMode=Auto
key1=HKEY_LOCAL_MACHINE\Software\HTC\Manila\ProgramLauncher
key2=HKEY_CURRENT_USER\Software\HTC\Manila
key3=HKEY_LOCAL_MACHINE\Software\HTC\HTCAccountManager
key4=HKEY_CURRENT_USER\Software\HTC\People\OwnerInfo
key5=HKEY_LOCAL_MACHINE\Software\HTC\Manila\InternetPush\Enabled
The advantage of splitting in different sections like I have done in my file is to better organise your file, and to get individual confirmation on each backup by SASHIMI. If you make one big section and ONE entry goes wrong while SASHIMI backup, you will not know what went wrong (not tested, need confirmation).
If you have 3rd party application installed which store settings in the registry, you also need to add the corresponding registry keys. To find where the data is stored, the easiest way is to:
- Open HTC Task Manager or any registry editor and perform a full registry backup. In HTC Task Manager go to Bottom Left icon -> Export All, name the file before_modification.reg.
- Open you app, change the settings that you want to backup (we don't care for the value, just change them, they must be different that when you launched the app), and close the app.
- Do a full registry backup again, name the file after_modification.reg.
- Transfer both registry backup files to your PC, and use WinDiff to compare the modifications. Do File->Compare Files, select the before_modification.reg file, press ok, then select the after_modification.reg file, press ok. Select the line which has appeared and click Expand, then in the Expand menu, select Right File only (only if you selected the after_modification.reg file in second). All the new/modified entries made after your setting modification are showed in yellow (some are due to the OS, ignore them).
Edit: ubumga also suggested using SKTracer to track changes, you may want to have a look.
Copy the key that you need to backup and create a new section in the regexport.ini file:
Code:
[My_App]
RegExportDirMode=Auto
key1=what you have found
key2=...
Create a new section for each app that you want to backup settings.
For advanced user, you can also store your tweaks/advanced settings in this INI file. For example, adding this section:
Code:
[MySettings]
RegExportDirMode = Auto
Notifications=HKCU\ControlPanel\Notifications
Sounds=HKCU\ControlPanel\Sounds
Phone=HKCU\ControlPanel\Notifications\Phone
SIP=HKCU\ControlPanel\SIP
Backlight=HKCU\ControlPanel\Backlight
GSensor=HKLM\drivers\builtin\gsensor
Power=HKLM\System\CurrentControlSet\Control\Power
PressureThreshold=HKLM\Drivers\TouchPanel\PressureThreshold
FingerPressure=HKLM\Software\OEM\TFLOSettings
Wallpaper=HKCU\ControlPanel\Desktop
For more on registry tweaks see the Wiki.
If you know that you will only edit some settings/tweak once and don't change them afterwards it is also possible to put a .REG file in \SASHIMI\Auto\REG with all your tweaks in the form key=value. For exemple I want my all program tab to display 4 column, my .REG file looks like:
Code:
[HKLM\Software\Microsoft\Shell\IconConfig\]
"HorizontalIconSpacing"=dword:112
"VerticalIconSpacing"=dword:115
"IconTitleFontSize"=dword:6
SASHIMI will execute the .REG file at restore and set the registry value.
Unfortunately, all apps does not store their settings in the registry, for those, see next section.
Step 3b: File backup
Some applications store their settings in INI files or XML files or other files. Once you know in which file, it is pretty easy to backup their settings.
SASHIMI uses \SASHIMI\Program\INI\filebackup.ini for backing up files. It works like the regexport.ini file.
For example, if you have installed TouchLockPro in your internal storage (which I do not recommend), its settings are stored in \Program Files\TouchLockPro\TouchLockPro.xml. In the filebackup.ini file, add:
Code:
[TouchLockPro]
FileBackupDirMode=Auto
TouchLockPro=\Program Files\TouchLockPro\TouchLockPro.xml
For backing up Manila Stock tab add (not tested):
Code:
[Manila_Stock_Tab]
FileBackupDirMode=Auto
stocks=\Application Data\HTC\*.*,*
For backing up Opera settings, bookmarks, cookies, etc:
Code:
[Opera]
FileBackupDirMode=Auto
Secure=\Windows\Opera9\secure\wand.dat
Skin=\Windows\Opera9\Skin\*.*
Cookies=\Windows\Opera9\cookies4.dat
Bookmarks=\Windows\Opera9\opera6.adr
Settings=\Windows\Opera9\opera.ini
If you have many apps, you may prefer to make one big section for applications:
Code:
[Applications]
FileBackupDirMode=Auto
TouchLockPro=\Program Files\TouchLockPro\TouchLockPro.xml
Secure=\Windows\Opera9\secure\wand.dat
Skin=\Windows\Opera9\Skin\*.*
Cookies=\Windows\Opera9\cookies4.dat
Bookmarks=\Windows\Opera9\opera6.adr
Settings=\Windows\Opera9\opera.ini
This backup method works well for applications which are packed with the ROM, or for applications that you have installed in your internal storage, after the ROM install (which I do not recommend, I already told you that ).
For application that you have installed in your storage card and which store settings information in a file in their installation folder, there is no need to backup those files, as they are already on your storage card, and won't be deleted after a ROM flash. There is no need to reinstall the application either ! (for most of the applications, this is not true for all). The only thing to do for those application is to backup the shorcut to the application executable from the windows start menu. For example, if I have a say MultimediaApp installed in my storage card, and the shortcut to my MultimediaApp in the Windows start menu is in my Multimedia folder. Here is my entry in the filebackup.ini file:
Code:
[Shortcuts]
app1=\Windows\Start Menu\Programs\Multimedia\MultimediaApp.Ink
app2=...
...
With this method you can also backup your ringtones (\My Documents\My Ringtones, but if you are using Microsoft MyPhone this is not necessary), Facebook links with your contacts (\FacebookInfo.vol) and other stuff I didn't think about.
Note:
You can also automatically copy files to your new ROM installation by placing them in the \SASHIMI\Auto\root\ folder, with appropriate subfolders for organisation purpose, see documentation (this is not really part of the backup process, it only concern restoration).
Step 3c: Automate applications installation
Ok, so if you are still following me at this point, you have done everything to backup your applications settings, right? But you also need your applications to be installed after your ROM flash. How about make all that automatic?
Well, it's very simple. For applications to be installed in internal storage, put your cabs in \SASHIMI\Auto\CAB. For application to be installed to the storage card, put your cabs in \SASHIMI\Auto\CAB\SC. That's it. For cabs that need user inputs during installation, see SASHIMI documentation for advanced options .
/!\ Applications already installed on the storage card shall not be re-installed, you just need to recreate the start menu shortcut, see Step 3b. However, it will not work for all apps, in this case, puting the cab in \SASHIMI\Auto\CAB\SC is the way to go, but remember to backup any settings file using Step 3b first.
/!\ If your new ROM does not contain Microsoft MyPhone, you should add its cab in this step.
If you want to change the place were the application shortcut is created in the start menu it's really easy. First launch SASHIMI->Tools->Additional tools->Make CustomLinks.INI, it will populate the configuration file for you.
SASHIMI uses another INI file to manage the shorcuts creation, named customlinks.ini. You can edit it to add the path where you want the shortcut for your app to be created, using the format: application_name=shortcut_path. The path is relative to the \Window\Start Menu\ folder, and the application name must be the exact name of the CAB used for installation (without .cab).
For exemple, here is my customlinks.ini:
Code:
[LNK Files]
ManillaTodayPagev0.4=\PROGRAMS\Settings\Manila
tasksplus151=\PROGRAMS\Tools
TotalCommander=\PROGRAMS\Tools
HD Tweak 0.5.4_English=\PROGRAMS\Settings\System
IrisBrowser=\PROGRAMS\Connectivity
MusicID=\PROGRAMS\Multimedia
CorePlayer v1.3.2a Build-6909 for PPC=\PROGRAMS\Multimedia
HDWallS_v0.24b=\PROGRAMS\Settings\Manila
Scan2PDF.Mobile.1.01=\PROGRAMS\Programs
MyPhone_Beta_WM_Professional=\PROGRAMS\Tools
FdcSoftTaskMgr3.1=\PROGRAMS\Tools
Notes:
- People already using UC (User Customisation) can add their existing installation script to SASHIMI, see documentation.
Step 3d: Mail accounts and Wifi settings
SASHIMI provides a tool to automatically configure emails accounts and wifi settings, it is called Makisu. Unfortunately, it does not retrieve already configured settings and accounts. You have to enter them all manually in this step. But after that, you will never ever have to configure them again in your life , whatever how many ROM flash you will do.
Launch MAKISU directly or go to SASHIMI->Tools->MyCustomTools->Makisu.
To add an email account select EMAIL and follow the instructions. At the end, when asked to add to XML say yes. Repeat the operation for each of your email account. If you have an Exchange account go for Exchange/active sync. After that, go to WIRELESS as many time as your number of favourite WiFi hotspots.
When your are done, go to XML Operation->Create XML. Select the \SASHIMI\Auto\XML folder and press OK. When asked to provision now press No. That's it.
If you encounter difficulties, remember to watch the videos.
Step 3e: Owner and Device Info
Launch SASHIMI, go to Tools->Registry Tools->Backup Owner, press OK.
It will create owner.reg file in \SASHIMI\Backups, copy or move it to \SASHIMI\Auto\REG\. That's it.
Step 3f: Advanced functions
SASHIMI also allow to execute EXE, MortScript and install certificates during user customisation process, see documentation.
-------------------------------------------------------------------
OK, now you are done for the configuration phase. Steps 1 to 3 are only to be done once. Backup your XML, REG and INI files on your PC (I personally backup the entire SASHIMI folder on my PC). The hard work is finished, now you can enjoy automatic backup/restore of all your data in just a few steps.
Step 4: Backup
Before flashing your new ROM:
Step 4a: PIM backup
To backup contacts, agenda, tasks, mails and SMS/MMS as well as music, picture and documents placed in the internal storage, just launch Microsoft MyPhone synchronisation.
Note: If an Exchange account is configured, its mails will not be backed up by MyPhone, you have to use your Exchange synchronisation. Same for Windows Live contacts.
Step 4b: SASHIMI backup (other data/settings backup)
You can do the backup manually or automatically.
Manually:
Launch SASHIMI, go to Tools->Registry Tools->Custom Export. It will backup all registry keys specified in your regexport.ini file. Pay attention to the logs to see if everything worked well for each step. Then go to Tools->File Tools->File Backup. It will backup all the files specified in your filebackup.ini. Pay attention to the logs once again.
Automatically:
Go to Start Menu -> SASHIMI -> SASHIMI Quicklinks -> FullBackup
Check once again that your Makisu XML file is in the SASHIMI\Auto\XML, your owner.reg file in \SASHIMI\Auto\REG and your cabs in \SASHIMI\Auto\CAB. Remember to include the Microsoft MyPhone cab if it is not included in the ROM you are going to flash.
Step 5: FLASH!
Step 6: Restore
Step 6a: SASHIMI
After flashing go to your storage card and launch SASHIMI (\SASHIMI\Program\Bin\SASHIMI). Select AUTO and check the logs. If you have many apps to be installed, the operation can take some times.
Step 6b: Microsoft MyPhone
Just launch Microsoft MyPhone and log in, it will download all your PIM data (you need a data connection at this time, and your time/date settings must be correct).
DONE!
For each new ROM flash, go through step 4 to 6. You will sometime need to modify your SASHIMI regexport.ini and filebackup.ini to add new tweaks/applications settings, but that's it.
Conclusion
With this method I am able to backup/restore almost all my data and settings automatically, including Manila configuration, Opera bookmarks, cache and cookies, Start Menu shortcuts organisation, WiFi settings, Email account settings, OS tweaks, Wallpaper, ringtones, notification, owner info, "my contact card" info, Facebook link with contact, messenger, windows live & facebook login/passwords, 3rd party application settings, etc... in less than 2 minutes!
I will attach my SASHIMI ini files to this post later on.
Thanks to:
bengalih for its great SASHIMI application
Mandragore for posting its INI files that helped me much and answering questions in other threads
murducky for its tuto on SASHIMI on Touch Pro
All XDA community, continue to share, share, share!
Exemple Config Files:
Here are my config files as an exemple:
filebackup.ini:
Code:
[Facebook]
FileBackupDirMode=Auto
info=\FacebookInfo.vol
[Opera]
FileBackupDirMode=Auto
Secure=\Windows\Opera9\secure\wand.dat
Skin=\Windows\Opera9\Skin\*.*
Cookies=\Windows\Opera9\cookies4.dat
Bookmarks=\Windows\Opera9\opera6.adr
Settings=\Windows\Opera9\opera.ini
[RSSHub]
FileBackupDirMode=Auto
channel=\Program Files\RSS Hub\ChannelData\Channels.opml
[Manila]
FileBackupDirMode=Auto
tabs=\Windows\26948339_manila
[Softwares]
FileBackupDirMode=Auto
HDTweaks=\Storage Card\Program Files\HD Tweak\HDTweak.xml
regexport.ini
Code:
[Manila]
RegExportDirMode=Auto
key1=HKEY_CURRENT_USER\Software\HTC\Manila
key2=HKEY_LOCAL_MACHINE\Software\HTC\Manila\ProgramLauncher
key3=HKEY_LOCAL_MACHINE\Software\HTC\Manila\InternetPush\Enabled
key4=HKEY_LOCAL_MACHINE\Software\HTC\Manila\Configuration
[Credentials]
RegExportDirMode=Auto
HTCAccounts=HKEY_LOCAL_MACHINE\Software\HTC\HTCAccountManager
WindowsLive=HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Live
Facebook=HKEY_LOCAL_MACHINE\Software\HTC\FacebookSDK
[Keyboard]
RegExportDirMode=Auto
Language=HKEY_LOCAL_MACHINE\Software\Tegic\eT9
[System]
RegExportDirMode=Auto
TimeFormat=HKEY_LOCAL_MACHINE\nls\overrides
[Softwares]
RegExportDirMode=Auto
TotalCommander=HKCU\Software\Ghisler
ManilaTodayPage=HKEY_LOCAL_MACHINE\Software\Microsoft\ManilaToday
Scan2PDF=HKEY_LOCAL_MACHINE\Software\Scan2PDF
HDWallS=HKEY_LOCAL_MACHINE\Software\HDWallS
Messenger=HKEY_CURRENT_USER\Software\Microsoft\pMSN
FacebookApp=HKEY_CURRENT_USER\Software\Microsoft\Facebook
WindowsLive=HKEY_LOCAL_MACHINE\Services\Windows Live
customlinks.ini
Code:
[LNK Files]
ManillaTodayPagev0.4=\PROGRAMS\Settings\Manila
tasksplus151=\PROGRAMS\Tools
TotalCommander=\PROGRAMS\Tools
HD Tweak 0.5.4_English=\PROGRAMS\Settings\System
IrisBrowser=\PROGRAMS\Connectivity
MusicID=\PROGRAMS\Multimedia
CorePlayer v1.3.2a Build-6909 for PPC=\PROGRAMS\Multimedia
HDWallS_v0.24b=\PROGRAMS\Settings\Manila
Scan2PDF.Mobile.1.01=\PROGRAMS\Programs
MyPhone_Beta_WM_Professional=\PROGRAMS\Tools
FdcSoftTaskMgr3.1=\PROGRAMS\Tools
History:
07/20
Added Manila Stock Tab backup method.
Added shortcut creation to launch automatic and/or scheduled SASHIMI backup.
07/21
Added Manila Tab order in the list.
Added RSS Hub subscribed channels in the list.
07/26
Added custom application shorcut creation in 3c.
Modified automatic backup method in 4b (I didn't noticed SASHIMI quicklinks at first, in fact it is not needed to create your own backup shortcut since it's already in the quicklinks).
Updated intro/conclusion.
07/28
Added stuff to the list, thanks to crankshaft
08/02
Added extra RSS Hub backup information
The List
I will try to list here where settings are stored by most common applications. Each setting can be in a:
R -> Registry entry (to add in your regexport.ini file)
F -> File (to add in your filebackup.ini file)
System
Power settings: R
HKEY_LOCAL_MACHINE\System\CurrentControlSet\C ontrol\Power\Timeouts
Volume: R
HKEY_LOCAL_MACHINE\Software\HTC\VolumeOverlay
Screen calibration: R
HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH
Regional settings: R
HKEY_LOCAL_MACHINE\reg
HKEY_LOCAL_MACHINE\nls\overrides
Time: R
HKLM\Time\TimeZoneInformation
HKCU\Software\HTC\Manila\WorldClock.*
Alarms: R
HKEY_LOCAL_MACHINE\Software\Microsoft\Clock\0
HKEY_LOCAL_MACHINE\Software\Microsoft\Clock\1
HKEY_LOCAL_MACHINE\Software\Microsoft\Clock\2
ActiveSync Settings: R
HKEY_CURRENT_USER\Software\Microsoft\ActiveSync
HKEY_CURRENT_USER\Software\Microsoft\ActiveSync\Partners
HKEY_CURRENT_USER\Software\Microsoft\ActiveSync\UnicodeMapping
Notification & Sounds: R
HKCU\ControlPanel\Notifications
HKCU\ControlPanel\Sounds
HKEY_CURRENT_USER\ControlPanel\SoundCategories
Manila
Tab order: R + F
F -> \Windows\26948339_manila
R -> HKEY_LOCAL_MACHINE\Software\HTC\Manila\Configuration
Programs tab: R
HKEY_LOCAL_MACHINE\Software\HTC\Manila\ProgramLauncher
Weather Cities + World Clock cities + other things (?) : R
HKEY_CURRENT_USER\Software\HTC\Manila
Clock and time format: R
HKEY_LOCAL_MACHINE\nls\overrides
Music Playlist: F
\Application Data\HTC\AudioManager_Eng\playlists\
My Contact Card: R
HKEY_CURRENT_USER\Software\HTC\People\OwnerInfo
Push Web Pages: R
HKEY_LOCAL_MACHINE\Software\HTC\Manila\InternetPush\Enabled
Stock Tab: F
\Application Data\HTC\*.*,*
Favorite Contacts: F
\PIM.VOL (Use SASHIMI->Tools->Additional Tools->Backup/Restore PIM)
Facebook and Youtube account: R
HKEY_LOCAL_MACHINE\Software\HTC\HTCAccountManager
Facebook links with contacts: F
\FacebookInfo.vol
TaskManager: R
HKEY_CURRENT_USER\Software\HTC\TaskManager
HTC X button settings:
HKEY_CURRENT_USER\Software\HTC\TaskManager
HKEY_CURRENT_USER\Software\HTC\TaskManager\ExclusiveList
HKEY_CURRENT_USER\Software\HTC\TaskManager\ExclusiveList\User
HKEY_CURRENT_USER\Software\HTC\TaskManager\Lite
HKEY_CURRENT_USER\Software\HTC\TaskManager\NoIconProcess
HKEY_CURRENT_USER\Software\HTC\TaskManager\TerminateProcess
Softkeys: R
HKLM\Software\HTC\Manila\HomeLSKPath
HKLM\Software\HTC\Manila\HomeLSKArguments
HKLM\Software\HTC\Manila\HomeLSKText
HKLM\Software\HTC\Manila\HomeRSKPath
HKLM\Software\HTC\Manila\HomeRSKArguments
HKLM\Software\HTC\Manila\HomeRSKText
Opera 9
Security stuff: F
\Windows\Opera9\secure\wand.dat
Skin: F
\Windows\Opera9\Skin\*.*
Cookies: F
\Windows\Opera9\cookies4.dat
Bookmarks: F
\Windows\Opera9\opera6.adr
Settings: F
\Windows\Opera9\opera.ini
Ringtones
Ringtones folder is backed up by Microsoft MyPhone:
\My Documents\My Ringtones
Association of ringtones with contacts is in:
\PIM.VOL (Use SASHIMI->Tools->Additional Tools->Backup/Restore PIM)
Keyboard
Keyboard Language: R
HKEY_LOCAL_MACHINE\Software\Tegic\eT9
RSS Hub
List of your channels: F -> if you change the settings and save the OPML file on the storage card, you don't need to backup this
\Program Files\RSS Hub\ChannelData\Channels.opml
Path of the channel list: R
HKEY_CURRENT_USER\Software\Ilium Software\RSS Hub
PPCPimBackup
Settings: R
HKEY_CURRENT_USER\Software\FdcSoft\PPCPimBackup
QuickGPS
HKEY_LOCAL_MACHINE\Software\HTC\QuickGPS
GAlarm
HKEY_CURRENT_USER\Software\ageye\G-Alarm
HKEY_CURRENT_USER\Software\ageye\G-Alarm\1
HKEY_CURRENT_USER\Software\ageye\G-Alarm\1\Playlist
HKEY_CURRENT_USER\Software\ageye\G-Alarm\0
HKEY_CURRENT_USER\Software\ageye\G-Alarm\0\Playlist
__________________
Thanks
Thanks for this. I've always wondered how i could back up everything to restore it after a rom update. Might take a bit of time to do, but once it's done i can flash away I think this should be made sticky.
Thanks a lot, I've recently asked a few questions about backing up settings, and this guide seems to answer a few of them. Something to do in the weekend!
Thank you so much ... subscribed!
Now i have a Thread i can refer to
I was tired to search and go to too many thread, each of them containing a piece of information... so I decided to include all in one big thread with a How To. I am still learning and will keep this thread updatted with my foundings. I am still building up my .INI, .REG and .XML files at the moment, I will share them as soon as I concider they are ready to be used.
Well I used a better 2 hours to study that stuff. I am no means computer illiterate - but it did take some time to realise how each of the stuff works.
And after taking the basic examples from the original author, I dumped the whole registry and browsed that thru for some stuff.
So I flashed from Miri's V23 to V25 and after connection setup ran the sashimi auto.
Some cabs were unfortunately not installed, some reg stuff was not changed. Haven't checked the file copies yet. But with the customemregs.ini and customfiles.ini I didn't have any errors when generating the lists with them.
Hmm... Have to take a look sometime again.
For example, my t-online email account did get configured - but pop3 gmail account did not get created at all.
abe
im gona spend 24hrs to read your masterpiece! cheers man! a great long article lol
An awesome guide - well done.
Perfect timing too as I've just become a 'flash junkie'
anssibragge said:
Well I used a better 2 hours to study that stuff. I am no means computer illiterate - but it did take some time to realise how each of the stuff works.
And after taking the basic examples from the original author, I dumped the whole registry and browsed that thru for some stuff.
So I flashed from Miri's V23 to V25 and after connection setup ran the sashimi auto.
Some cabs were unfortunately not installed, some reg stuff was not changed. Haven't checked the file copies yet. But with the customemregs.ini and customfiles.ini I didn't have any errors when generating the lists with them.
Hmm... Have to take a look sometime again.
For example, my t-online email account did get configured - but pop3 gmail account did not get created at all.
abe
Click to expand...
Click to collapse
Can you be more precise: how your INI files look like? What stuff didn't get changed in the registry? I am by no mean an expert, but maybe I can help.
For your emails account, all is done with makisu, maybe you made a mistake while answering makisu questions. I have a POP3 Gmail account and I also jumped from Miri v24 to v25 without problems
Thanks a lot. It's quite complicated.
Good work fella. I'd been hunting through the regisrty for thing I can add to Sashimi.
Here's what I'd come up with so far if anyones interested:
[TaskManager]
RegExportDirMode=Auto
key1=HKEY_CURRENT_USER\Software\HTC\TaskManager
[Single_Volume]
RegExportDirMode=Auto
key1=HKEY_LOCAL_MACHINE\Software\HTC\VolumeOverlay
[Quick_GPS]
RegExportDirMode=Auto
key1=HKEY_LOCAL_MACHINE\Software\HTC\QuickGPS
[Power_Settings]
RegExportDirMode=Auto
key1=HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Timeouts
[GAlarm]
RegExportDirMode=Auto
key1=HKEY_CURRENT_USER\Software\ageye\G-Alarm
key2=HKEY_CURRENT_USER\Software\ageye\G-Alarm\1
key3=HKEY_CURRENT_USER\Software\ageye\G-Alarm\1\Playlist
key4=HKEY_CURRENT_USER\Software\ageye\G-Alarm\0
key5=HKEY_CURRENT_USER\Software\ageye\G-Alarm\0\Playlist
good work!
Well, my gmail-settings are...
Code:
<characteristic type="EMAIL2">
<characteristic type="{0b0c0a06-0907-0303-0b01-070804060806}">
<parm name="CONNECTIONID" value="{436EF144-B4FB-4863-A041-8F905A62C572}" />
<parm name="SERVICENAME" value="Gmail Anssi" />
<parm name="SERVICETYPE" value="POP3" />
<parm name="INSERVER" value="pop.gmail.com" />
<parm name="OUTSERVER" value="smtp.gmail.com" />
<parm name="NAME" value="Anssi Bragge mobile" />
<parm name="AUTHNAME" value="xxx" />
<parm name="AUTHSECRET" value="xxx" />
<parm name="DOMAIN" value="" />
<parm name="REPLYADDR" value="[email protected]" />
<parm name="FORMAT" value="2" />
<parm name="LINGER" value="0" />
<parm name="RETRIEVE" value="51200" />
<parm name="KEEPMAX" value="" />
<parm name="DWNDAY" value="30" />
<characteristic type="TAGPROPS">
<parm name="8128000B" value="0"/>
<parm name="812C000B" value="0"/>
</characteristic>
<parm name="AUTHREQUIRED" value="1" />
<parm name="SMTPALTENABLED" value="0" />
<parm name="SMTPALTAUTHNAME" value="" />
<parm name="SMTPALTPASSWORD" value="" />
</characteristic>
The first email account was run halfway ok - but this second one not at all.
It is also a bit annoying, that I can only restore the most basic info, I can't change the behaviour what to do when deleting current message (show precious rather than show next), signature, the advanced server settings like leave message on server when deleting locally, ...
Or do I have to start searching for those again from the registry dump and add some parms myself in the xml code (I would assume so).
abe
instead of backing up the opml file for the RSS Hub,
if you are like me, who prefer to store the rss and opml files in the storage location, you can actually configure it accordingly in RSS Hub, and then backup the registry
HKEY_CURRENT_USER\Software\Ilium Software\RSS Hub
When you flash your ROM, just import this registry, your RSS list and content, are automatically displayed w/o having to reload the news again.
Even easier to back up RSS is to use the storage card for saving the status.
When starting RSS for the first time after the flash, say cancel for the initial "add channel", then go to options and change the save path to storage card, and when it asks if the current channels should be saved, say *No*, then the old status from the storage card will be returned.
abe
anssibragge said:
Well, my gmail-settings are...
Code:
<characteristic type="EMAIL2">
<characteristic type="{0b0c0a06-0907-0303-0b01-070804060806}">
<parm name="CONNECTIONID" value="{436EF144-B4FB-4863-A041-8F905A62C572}" />
<parm name="SERVICENAME" value="Gmail Anssi" />
<parm name="SERVICETYPE" value="POP3" />
<parm name="INSERVER" value="pop.gmail.com" />
<parm name="OUTSERVER" value="smtp.gmail.com" />
<parm name="NAME" value="Anssi Bragge mobile" />
<parm name="AUTHNAME" value="xxx" />
<parm name="AUTHSECRET" value="xxx" />
<parm name="DOMAIN" value="" />
<parm name="REPLYADDR" value="[email protected]" />
<parm name="FORMAT" value="2" />
<parm name="LINGER" value="0" />
<parm name="RETRIEVE" value="51200" />
<parm name="KEEPMAX" value="" />
<parm name="DWNDAY" value="30" />
<characteristic type="TAGPROPS">
<parm name="8128000B" value="0"/>
<parm name="812C000B" value="0"/>
</characteristic>
<parm name="AUTHREQUIRED" value="1" />
<parm name="SMTPALTENABLED" value="0" />
<parm name="SMTPALTAUTHNAME" value="" />
<parm name="SMTPALTPASSWORD" value="" />
</characteristic>
The first email account was run halfway ok - but this second one not at all.
It is also a bit annoying, that I can only restore the most basic info, I can't change the behaviour what to do when deleting current message (show precious rather than show next), signature, the advanced server settings like leave message on server when deleting locally, ...
Or do I have to start searching for those again from the registry dump and add some parms myself in the xml code (I would assume so).
abe
Click to expand...
Click to collapse
This is not due to SASHIMI but to the Microsoft XML provisionning limited functionalities, so it is simply not possible to do that using XML and/or Makisu. If you want to backup this kind of settings you have to locate where it is stored in the registry (I assume it is in the registry) and then add the settings to a .REG file in SASHIMI/Auto/REG.
Apart from that I looked at your XML and it looks like mine except for some values like retrieve etc. Maybe try to remove space in your names (service name & name) because I haven't ones and I have no connection ID set, that's the only difference I can see.
My Gmail account looks like:
Code:
<characteristic type="EMAIL2">
<characteristic type="{00070100-0e04-0300-0b10-050a0c080d00}">
<parm name="CONNECTIONID" value="" />
<parm name="SERVICENAME" value="Gmail" />
<parm name="SERVICETYPE" value="POP3" />
<parm name="INSERVER" value="pop.gmail.com" />
<parm name="OUTSERVER" value="smtp.gmail.com" />
<parm name="NAME" value="xxx" />
<parm name="AUTHNAME" value="xxx" />
<parm name="AUTHSECRET" value="xxx" />
<parm name="DOMAIN" value="" />
<parm name="REPLYADDR" value="xxx" />
<parm name="FORMAT" value="2" />
<parm name="LINGER" value="120" />
<parm name="RETRIEVE" value="2048" />
<parm name="KEEPMAX" value="0" />
<parm name="DWNDAY" value="3" />
<characteristic type="TAGPROPS">
<parm name="8128000B" value="1"/>
<parm name="812C000B" value="0"/>
</characteristic>
<parm name="AUTHREQUIRED" value="1" />
<parm name="SMTPALTENABLED" value="0" />
<parm name="SMTPALTAUTHNAME" value="" />
<parm name="SMTPALTPASSWORD" value="" />
</characteristic>
</characteristic>
@zenkinz: I have added your RSS Hub suggestion to the List, thanks.
Please continue to share your settings all !
anssibragge said:
Even easier to back up RSS is to use the storage card for saving the status.
When starting RSS for the first time after the flash, say cancel for the initial "add channel", then go to options and change the save path to storage card, and when it asks if the current channels should be saved, say *No*, then the old status from the storage card will be returned.
abe
Click to expand...
Click to collapse
no need just load the registry using sashimi or UC, and you can run RSS Hub w/o having a need to change anything.

[HELP] How to change icons and rearrange start menu when cooking?

Hi
I have spent the past couple of days cooking my own rom for personal use, and so far this forum have been a huge help. Thanks guys!
I have searched the forums, and google but have found no solution to my problem. I need a method to change the icons in my start menu, and deleting/adding links while cooking it into the rom.
Can anybody help me?
Cheers!
mxipupdate_projectdefault_a_000.provxml (new folders/subfolders also have to be in initflashes.dat)
mxipinit_startmenu_001.provxml (i only remove the search- and help-links)
the according numbers "900000XXX" can be used to define the order.
Code:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\Security\Shell\StartInfo\Start\Today">
<parm name="Name" datatype="string" value="Startbildschirm" />
<parm name="Rank" datatype="integer" value="900000718" />
</characteristic>
<characteristic type="HKLM\Security\Shell\StartInfo\Start\Multimedia">
<parm name="Group" datatype="integer" value="1" />
<parm name="Icon" datatype="string" value="\Windows\HTC_multimedia.png" />
<parm name="Rank" datatype="integer" value="900000518" />
</characteristic>
..................
make sure you save it in utf-8-format.
one single error (or file/folder not found) within the provxml-file and it will be ignored at installation of rom.
you can rename the *.provxml to *.xml and doubleclick it to see where the errors are.
I made the changes to mxipupdate_projectdefault_a_000.provxml but it doesn't seem to be processed. I open it in IE as xml and there's no error.
what else could be wrong?
like i said... one single file/folder not present (initflashes.dat) and the provxml will be ignored. don't just check for format errors.
I find the best way is to use iniflashfiles.dat, create my folder structure and modify the existing apps to where I want. Then in SYS there are some provxml files like for Windows Live, Skybox etc. I make a copy of these and put in my operatorPkg folder and modify them to the folder I want. The file in OperatorPkg will overwrite the original.
bobsbbq said:
I find the best way is to use iniflashfiles.dat, create my folder structure and modify the existing apps to where I want. Then in SYS there are some provxml files like for Windows Live, Skybox etc. I make a copy of these and put in my operatorPkg folder and modify them to the folder I want. The file in OperatorPkg will overwrite the original.
Click to expand...
Click to collapse
ok looks like that's what I'll do.
do you know which package create the HTC shortcuts and the widget shortcuts?
zenkinz said:
ok looks like that's what I'll do.
do you know which package create the HTC shortcuts and the widget shortcuts?
Click to expand...
Click to collapse
The HTC shortcuts are created from Manila Core\0409 reg file. You can delete them if you don't want and change the reg setting for AutocreateShortcutEnabled to 0
for Widgets I never use them. I would like to know how to change these myself. Maybe someone else can help with this.

Converting a PPC EXE to OEM

I'd like to cook this hot fix into my ROM. Can anybody help me with this? Even if you just make it a Cab that I can turn into a OEM I would greatly appreciate it.
Since you're looking to cook this into a ROM and since you'll likely run into this scenario again; here's the long method of doing it in case the shortcut methods don't work.
Step 1: Extraction
Use WinRAR (or other extract) to extract the contents of the .EXE
Open _SETUP.XML with a text editor
Step 2: Rename Files
Rename the extracted files as per the names in the .XML.
Here is an example; extracted filename in blue should be renamed to green.
Code:
<characteristic type="FileOperation">
<characteristic type="\temp" translation="install">
<characteristic type="MakeDir" />
<characteristic type="[COLOR="green"][B]HTCIMSSvc.exe[/B][/COLOR]" translation="install">
<characteristic type="Extract">
<parm name="Source" value="[COLOR="Blue"][B]HTCIMS~1.001[/B][/COLOR]" />
<parm name="NoSkip" />
</characteristic>
Step 3: Examine .XML & .REG
Examine the contents of the .XML file. If the file contains several actions, you would likely rename the file to .PROVXML - this thread has some good links for you to review.
Tip, file copy operations could be moved to a INITFLASHFILES.DAT file eliminating the need for the .PROVXML.
Examine the contents of the .REG file. The contents of the file will become your .REG (or.RGU) file for your OEM package.
Tip, look at the structure of an existing OEM package (ex: there are some for PkgToolsBuildOS & VisualKitchen).
A few other observations
bootstrap; this hotfix runs a setup bootstrap. You may need to perform a pre/post device capture using an application similar to dotFRED Task Manager. Here's how with dotFRED Task Manager:
Launch the dotFRED Task Manager, select Registry, select Export Registry, exit.
Run the hotfix, don't restart if possible.
Launch dotFred Task Manager, select Registry, select Export Registry, exit. Restart.
Launch dotFred Task Manager, select Registry, select Export Registry, exit.
You should now have 3 registry exports (or 2 if a forced restart): pre-install, post-install, post-restart. Use a comparison tool (ex: BeyondCompare) on your PC to compare the contents of these exports so as to isolate any pertinent actions/registry changes executed by the bootstrap.
registry changes; this hotfix applies changes to the Windows registry.
shortcuts; none created.
files; there are six files in this hotfix payload. Since you will be cooking a custom OEM package with the hotfix, it's possible you won't need most of these files as they are typically used by the hotfix installer.
directories; there are two folders created in this hotfix payload. Since you will be cooking a custom OEM package with the hotfix, it's possible you won't need to create these directories as they are typically used by the hotfix installer (temp) or already exist (windows).
Code:
<characteristic type="Install">
<parm name="InstallPhase" value="install" />
<parm name="[COLOR="red"][B]SetupDLL[/B][/COLOR]" value="[COLOR="red"][B]1[/B][/COLOR]" />
<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 RAP_S00870" />
<parm name="InstallDir" value="%CE1%\RAP_S00870" translation="install" />
<parm name="[COLOR="magenta"][B]NumDirs[/B][/COLOR]" value="[COLOR="magenta"][B]2[/B][/COLOR]" />
<parm name="[COLOR="blue"][B]NumFiles[/B][/COLOR]" value="[COLOR="Blue"][B]6[/B][/COLOR]" />
<parm name="[COLOR="cyan"][B]NumRegKeys[/B][/COLOR]" value="[COLOR="cyan"][B]1[/B][/COLOR]" />
<parm name="[COLOR="cyan"][B]NumRegVals[/B][/COLOR]" value="[COLOR="cyan"][B]1[/B][/COLOR]" />
<parm name="[COLOR="purple"][B]NumShortcuts[/B][/COLOR]" value="[COLOR="purple"][B]0[/B][/COLOR]" />
</characteristic>
HTH,
hilaireg said:
Since you're looking to cook this into a ROM and since you'll likely run into this scenario again; here's the long method of doing it in case the shortcut methods don't work.
---------- SNIP ---------------
HTH,
Click to expand...
Click to collapse
I like your method for comparing registries with beyond compare, I'll have to try that one day. I've always used sktracker
TheSlimHim said:
Thank you very much for taking your time to help me. You gave me a very detailed explanation with examples to my question. I did steps 1 and 2 using 7zip and notepad++. However for Step 3, I have ran into a snag. I'm not sure what you are telling me to do.
Part 1: I read the thread you directed me to but I am still a bit confused on what it is I should do. I normaly add OEM packages this way.
Click to expand...
Click to collapse
I've used Ervius Visual Kitchen and PkgBuildOS; in these kitchen an OEM package structure is typically as follows:
PkgToolsBuildOS
<packagename>
<guid>.rgu
<guid>.dsm
files
modules
.provxml
shortcuts
initflashfiles.txt
option.xml​
Visual Kitchen
<packagename>
<guid>.rgu
<guid>.dsm
app.reg
app.dat
_skip
<Files>​files
modules
.provxml
shortcuts​
Haven't used the kitchen you are using. The best approach for you to take is examine a few packages in your kitchen (ex: Opera, Zip, etc.) to determine the structure you will need to follow.
Part 2: I can not find any reg or rgu files in the archive.
Can you please try to guide me a little bit more? I appreciate what you have already done to help me, however I am just beginning to become a Chef and am very eager to learn. I have previous experience in the programming world.
Click to expand...
Click to collapse
In the hotfix package you are working on;
HTCIMS~1.001 = CM_Entries.xml
PLATFO~1.004 = Platformxxx.reg
The .XML indicates where HTCIMSSvc.exe (in this case .\Windows) should be copied and also contains a HKLM registry entry.
The .REG is empty.
The challenge with this package is that it also contains a bootstrap (SetupDLL/CESetupDLL) and the _setup.xml also contains an HKCU registry entry. This typically indicates that the bootstrap setup may be adding registry entries as well. In such cases, the best approach is to perform pre/post registry captures to see what pertinent registry changes are made ... similar to repackaging application on a Windows platform (ex: InstallShield, Wise, etc.)
I have done all but one of the "requirements to start becoming a Chef" as one member has listed. That one is making my own cab. However I have made my own Reg edit programs for PCs among other things.
Thank you very much for your time,
TheSlimHim
Click to expand...
Click to collapse
No worries; we were all n00bies at one time or other. And just when you think you know what you're doing, someone will come along and show you a better method - happens to me all the time.

[HOW TO] Blacklist processes in WM

Hello,
I've got some windows mobile 5 handhelds that I'm running in kiosk mode. One of the applications that can be run from the kiosk has the ability to access Internet Explorer. I want to be able to disable internet explorer so even when the user tries to access this feature, IE will not pop-up.
From what I've seen while searching on google, there is no direct way to remove PIE or even disable it. I've searched ways to black list programs and found this link here: http://www.satter.org/2007/03/lets_shell_some.html. This seems like it would work. It's a registry fix but I can't seem to get the .CPF file to update the configuration on the handheld. The error I get is 'your device settings cannot be changed by Test.cpf'. I assume I need to sign the .CPF file but I am unsure how to do this exactly...
Any thoughts if this will work or other methods???
Thanks!
Zac
Ok so after looking into this further I learned the certificates in the WM5 and 6 SDK folders are outdated. I downloaded newer certificates and installled the updated certs.sdk to the handheld but the cpf file still will not work. The error now is: 'The program or setting could not be installed because it is not digitally signed with a trusted certificate.' The updated certs I got are all trusted (I think). The cert I am using is SDKSamplePrivDeveloper.pfx.
Nevermind, got it to work. I didn't need to do any signing at all, just needed to remove some not needed XML in my _setup.xml file.
For what it's worth, here's the XML to blacklist an application (in this case PIE):
Code:
<?xml version="1.0" encoding="utf-8" ?>
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\Security\Policies\Shell">
<parm name="DisallowRun" value="1" datatype="integer" />
</characteristic>
<characteristic type="HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun">
<parm name="1" value="iexplore.exe" datatype="string" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
Well done, solved your problem yourself, and in the mean time a new guide generated for people who wanted to do this.
Thansk
madnish30.
hi,
thanks for this tweak very interesting but i'm on WM 6.5.5 Titanium Energy Rom and there is no _setup.xml, can not find it so can not do this tweak or i missed something , could you help, be more explicit...
Second question, is there a possibility to know exactly witch applications, process are launch when windows start?
Thanks
V.
MakeCab Tutorial
voyd said:
hi,
thanks for this tweak very interesting but i'm on WM 6.5.5 Titanium Energy Rom and there is no _setup.xml, can not find it so can not do this tweak or i missed something , could you help, be more explicit...
Second question, is there a possibility to know exactly witch applications, process are launch when windows start?
Thanks
V.
Click to expand...
Click to collapse
Hello,
You create an XML file on your PC called _setup.xml and use makecab.exe that comes with the WM5/6 SDK from the command line to create a CAB file.
But, to make life simpler, I've attached this zip file which has makecab.exe, my _setup.xml, and also a task manager program you can run on WM that I've downloaded (it has a registry editor built into it too, which is convenient ).
To use:
1) Make any changes you need to _setup.xml
2) Run makecab.exe from the command line with this syntax: "makecab _setup.xml <'filename'.cab>"
3) Install this on the handheld, reboot device, run the program you've blacklisted and enjoy the access denied pop up!
Blacklist _setup.xml:
Code:
<?xml version="1.0" encoding="utf-8" ?>
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\Security\Policies\Shell">
<parm name="DisallowRun" value="1" datatype="integer" />
</characteristic>
<characteristic type="HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun">
<parm name="1" value="iexplore.exe" datatype="string" /> <!-- change 'value' to whatever program you want blacklisted -->
<!-- <parm name="2" value="ANOTHER_PROGRAM.exe" datatype="string" /> -->
<!-- <parm name="3" value="YET_ANOTHER_PROGRAM.exe" datatype="string" /> -->
</characteristic>
</characteristic>
</wap-provisioningdoc>
Disable Backlist _setup.xml:
Code:
<?xml version="1.0" encoding="utf-8" ?>
<wap-provisioningdoc>
<characteristic type="Registry">
<!-- Disable DisallowRun -->
<characteristic type="HKLM\Security\Policies\Shell">
<parm name="DisallowRun" value="0" datatype="integer" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
To answer your second question, most startup programs will be listed under the /Windows/StartUp folder.
Hope this helps!
madnish30 said:
Well done, solved your problem yourself, and in the mean time a new guide generated for people who wanted to do this.
Thansk
madnish30.
Click to expand...
Click to collapse
Thank you! Glad to help out!
another alternative
Hello people,
Here's another alternative which does not involve making cab files / fiddling with the registry (not all devices support this, since they are ROM_hardcoded);
WM5/6 command DONOTHiNG.EXE copy to device make shortcut link to Program Files
http://www.stephan-brenner.com/?p=190
Rename iexplore.exe to *.bak
Copy donothing.exe to \Windows\
Rename donothing.exe to iexplore.exe
done
Of course there are 101 other wonderfull 'solutions' to think of using donothing.exe
ThanX a ton for these wonder full wapprovisioning xml
FYC:
WinCE CAB Analyzer (MSCEInf): .CAB extraction
ExtenDir CABS .CAB creation (PgDn a bit) (optionally ExtenDir should be switched off if you're not using it!! )
Converting packages or your favorite tweaks to a setup cab was never so easy!
o/~
Senax said:
Hello people,
Here's another alternative which does not involve making cab files / fiddling with the registry (not all devices support this, since they are ROM_hardcoded);
WM5/6 command DONOTHiNG.EXE copy to device make shortcut link to Program Files
http://www.stephan-brenner.com/?p=190
Rename iexplore.exe to *.bak
Copy donothing.exe to \Windows\
Rename donothing.exe to iexplore.exe
done
Of course there are 101 other wonderfull 'solutions' to think of using donothing.exe
Click to expand...
Click to collapse
This method does work, the only concern I had with this was what if an administrator needs to get have access to that program that is overwritten? In my case if I overwrote iexpore.exe then I'd have no way of accessing the internet or downloading any vital programs (unless they were already installed before hand). My device had no way to USB connect and bluetooth file transferring was becoming a pain to get to work so that's why I used the CAB method downloading them first through PIE from a virtual directory then disabling PIE.
But hey, if you're sure you won't need PIE or any other program you want disable this method works great!
Thanks!
Or Batch iT
Why not make a batch file? Use a standard ASCII editor like Notepad.exe and copy + paste the following code (assuming running from C drive). Make sure Word-Wrap = OFF (always while editing (source))!
Code:
@ECHO OFF
@REM renaming of blacklisted application(s) back to original so one can operate executables as expected
C:
CD\
CD Windows\System32\
@REM Remember the short 8.3 filename (stick to that within batch files).
REN YourExecutable.exe donothin.exe
@REM Assuming you renamed original *.exe to *.e_e
REN YourExecutable.e_e Depends.exe
@REM Need to switch drives/partition? Just type its letter D: [ENTER] CD\ [so windows its current PATH is the root of the current drive].
:END
EXiT
Online DOS_Batch handbook
Senax said:
Why not make a batch file? Use a standard ASCII editor like Notepad.exe and copy + paste the following code (assuming running from C drive). Make sure Word-Wrap = OFF (always while editing (source))!
Code:
@ECHO OFF
@REM renaming of blacklisted application(s) back to original so one can operate executables as expected
C:
CD\
CD Windows\System32\
@REM Remember the short 8.3 filename (stick to that within batch files).
REN YourExecutable.exe donothin.exe
@REM Assuming you renamed original *.exe to *.e_e
REN YourExecutable.e_e Depends.exe
@REM Need to switch drives/partition? Just type its letter D: [ENTER] CD\ [so windows its current PATH is the root of the current drive].
:END
EXiT
Online DOS_Batch handbook
Click to expand...
Click to collapse
Nice! Very simple to use!

Categories

Resources