Advanced Customizations - Removing the things I don't use...
For me, removing stuff from a ROM falls in to only a couple of categories:
- Shortcuts I will never use
- Hiding features to optimize the device to how I use it
- Disabling Service / Devices to save memory and battery life
- Got other suggestions, I am all ears...
Removing / Moving Shortuts
One could argue that you should just figure out how to remove the application, but as long as it is not memory resident, who cares...
I am demonstrating this with XML since the poll shows more interest for this. This can also easily be done with a MortScript.
In
example #1, I will show how to remove a shortcut you do not want:
Code:
<wap-provisioningdoc>
<characteristic type="FileOperation">
<!-- DELETE A SHORTCUT YOU DO NOT NEED -->
<characteristic type="%CE11%\7-Zip.lnk" translation="install">
<characteristic type="Delete">
<parm name="ForceDelete"/>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
In
example #2, I will show you how to move links from one folder to another (reorganize)
Code:
<wap-provisioningdoc>
<characteristic type="FileOperation">
<characteristic type="%CE11%\Other" translation="install">
<!-- MAKE THE DIRECTORY IF IT DOES NOT EXIST -->
<characteristic type="MakeDir" />
<!-- FIRST PICK THE DESTINATION -->
<characteristic type="Resco Update.lnk" translation="filesystem">
<characteristic type="Move">
<parm name="Source" value="%CE11%\Resco Update.lnk" translation="install"/>
<parm name="RemoveAttributes" value="HRS" />
</characteristic>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
**I tend to use MortScript for this because you can easily test if the file exists and avoid errors
Hiding Manila Tabs
Easy Easy REG file for this one. Just set the last number to 2 in order to hide a tab:
Code:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\HTC\Manila]
"Manila://album.page.hidden"=dword:00000000
"Manila://calendar.page.hidden"=dword:00000000
"Manila://docexplorer.page.hidden"=dword:00000002
"Manila://email.page.hidden"=dword:00000002
"Manila://footprints.page.hidden"=dword:00000002
"Manila://home.page.hidden"=dword:00000000
"Manila://inforwidget.page.hidden"=dword:00000002
"Manila://reader.page.hidden"=dword:00000002
"Manila://internet.page.hidden"=dword:00000002
"Manila://messaging.page.hidden"=dword:00000000
"Manila://music.page.hidden"=dword:00000000
"Manila://people.page.hidden"=dword:00000000
"Manila://settings.page.hidden"=dword:00000000
"Manila://twitter.page.hidden"=dword:00000002
"Manila://weather.page.hidden"=dword:00000000
Removing a File / Folder Sample
Code:
<characteristic type="FileOperation">
<characteristic type="%CE2%\NinjaDuck" translation="install">
<characteristic type="%CE2%\NinjaDuck\Entropy.txt" translation="install">
<characteristic type="Delete">
<parm name="ForceDelete"/>
</characteristic>
</characteristic>
<characteristic type="%CE2%\NinjaDuck" translation="install">
<characteristic type="RemoveDir" />
</characteristic>
</characteristic>
</characteristic>
Disabling Services and Devices
Coming soon....