Quote:
Originally Posted by amikam
i've got a question, and i hope someone can actually help me to figure out a way to do this.
anyways...
when we add packages and customize our start menu or direct any ringtone to a different folder or any file using provxml or app.dat, we always get two copies of the files one in the windows folder and the other where ever we set it to be copied to.
now, my question is like this... i've been digging through the wm mobile forums and been trying to add a delete command like in mxip_office_100.provxml that should actually delete things, i've managed to get rid of all the duplicate shortcuts that exists in the windows folder but had zero luck with moving or deleting any other duplicate files like ringtones or files that get copied into any other folders from windows dir.
this is really important since every time that we add a package or create a shortcut, in reality some of them if not most or all just take double space on the device not to mention that in order to get a windows system running fast the windows root dir should ideally have less files.
if we can slove that issue we can actually end up with a fully loaded rom and about 70-80 mb free, not to mention a faster device.
i've spent a few good hours reading threads at xda and official wm website, and couldn't find anything or anyway to get this done proper if anyone has some information please share.
|
unfortunately, I dont think there is a way to delete a file from \windows after it has been copied elsewhere.
2 options come to mind:
1. modify your package to instead of installing to ie. \program files\your app, to \windows. for example, look at the Opera pkg, it was originally copying/moving to \program files, but changed to \windows
2. instead of including the files in the rom (ie, ringtones), create a cab that installs during UC to install to whatever directory u want it to. That was save on the dups.
Quote:
Originally Posted by Vancer
@orangekid ... this question will help you too i'm sure
@OMJ ... Hey does the TSK have to come before the CABs ?? Or can we install the cab that has the themes in it and then put the TSK line after that so it will set the theme all in the autorun process?
@orangekid ... if this is possible, then it will be totally set up after your phone resets from autorun. (which is what i think you are looking for) ... and if so, this is what your config_operator.txt will look like...
LOCK:Enabled
CAB: \Windows\Calkulins_Diamond_Tweaks.cab
CAB: \Windows\yourcab.cab (as many lines as you want for the cabs you want installed during autorun)
CAB: \Windows\Livven SimpleGloss 192dpi.cab
TSK: \Windows\ Livven SimpleGloss Green.tsk (or blue or black)
XML: \Windows\Start_Menu.xml
LOCK isabled
CFG: \Windows\SDAutoRun.txt
@OMJ ... while i'm at it... what the heck is Start_Menu.xml setting? Also, since I have been using SHASHIMI and not autorun for a while I never found out if SDautorun simply "sees" the internal storage like it is a storage card? In other words, I'm wondering if you can just put an sdconfig.txt in the root of the internal storage just like you do with a storage card and it just sees it the same and runs?
|
no, you can re-arrange the order any way u want it.
as for Start_Menu.xml, this is what it used to do, this is from calkulins....but I just checked Start_Menu.xml from the 4.2 kitchen & it is not doing anything, so it can be deleted from config_operator.txt.
Code:
<wap-provisioningdoc>
<characteristic type="FileOperation">
<characteristic type="%CE11%\System Tools\Comm Manager.lnk" translation="install">
<characteristic type="Move">
<parm name="Source" value="%CE11%\Comm Manager.lnk" translation="install" />
</characteristic>
</characteristic>
<characteristic type="%CE11%\System Tools\Internet Sharing.lnk" translation="install">
<characteristic type="Move">
<parm name="Source" value="%CE11%\Internet Sharing.lnk" translation="install" />
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
as far as SDconfig, yes, I am still using it....this is what mines looks like:
Code:
LOCK:Enabled
CAB: \Internal Storage\OMJ.cab
XML: \Internal Storage\omjprovisioning.xml
LOCK:Disabled
RST: Reset