When a ROM-based file is overwritten, how does WM access it? - General Topics

I'm using one of the cooked ROMs in my Touch. It is packed with applications (included in the ROM). I wanted to upgrade one of the prepacked applications to a newer version. When I use Resco Explorer to overwrite one of the apps, I can clearly see that the file was replaced. The newer file is larger in size.
However, when I load that application, the version that is reported is still the older version.
I then removed the new version, and saw that the old version in ROM reverted to the directory.
How does WM handle file access? When I overwrite a file that is in ROM, does WM still somehow read the version that is in ROM? Anyway to change this behavior?
I'm now wondering if I must load the new version to a different/new directory, and change all the short cuts.
Thanks for any help.

Related

Windows Media Player 10 cab

Has anyone managed to extract the Windows Media Player 10 cab file from the extended rom?
When WMP10 came out and it was decided not to make it available for download, I remember some people saying it that they had extracted it from the Ext ROM of their new devices that had it but I dont think the cab was ever posted on a thread.
Does anyone have it? If so, does itwork by just installing it on another ppc that is relatively older - i.e. one that didnt ship with it.
That would be really good, as I don't want to put the chinese translated ROM back on my phone.
Unfortunately WMP10 isn't stored on the Ext ROM so just extracting it is out of the question. It appears to be embedded into the OS.
So I doubt you'll be able to get it as an upgrade install soz

HTC Home plugin not using Windows directory (quicker)

Hello
I noticed that many installations of HTC Home plugin put their files in Windows directory. This leads to speed problems.
It is better to use the version which puts its files into a separate directory HTCHome.
http://forum.xda-developers.com/showpost.php?p=1388377&postcount=609
Mirek
I thought all rom files went into the \Windows directory and that only via initfiles.dat (I think that's the file) would files be copied elsewhere (ie, using up double the space).
Please, correct me if I am wrong. Also, how do you put ROM files in a location other than \Windows?
I've re-heated a couple ROMS with the update HTCHome plugin that uses a server other than htc.accuweather.com because TMob has problems with it. It orginally pointed to \HTCHome for some of the files so I had to change the HTCHome.dll to use \Windows instead otherwise I would need to copy those needed files to \HTCHome which was a waste of space. I don't notice any slowness with it running from \Windows though. YMMV.
Using other location then Windows is good when adding the plugin later (I mean when it is not part of the original ROM).
HTC Home plugin has many files and when these are added to Windows it slows down significantly booting times/showing the content of Windows directory.
I think that if the plugin is part of the ROM there is not the speed problem. I had it as part of a Whiterat's ROM and it was ok.
But installing HTC Home which puts its files to Windows to TNT 4.0 rom (which does not have it) lead to a lot of problems...
The above mentioned version is ok - I installed it on TNT 4.0 without having any problems.
Mirek
tekknogenius said:
I thought all rom files went into the \Windows directory and that only via initfiles.dat (I think that's the file) would files be copied elsewhere (ie, using up double the space).
Please, correct me if I am wrong. Also, how do you put ROM files in a location other than \Windows?
I've re-heated a couple ROMS with the update HTCHome plugin that uses a server other than htc.accuweather.com because TMob has problems with it. It orginally pointed to \HTCHome for some of the files so I had to change the HTCHome.dll to use \Windows instead otherwise I would need to copy those needed files to \HTCHome which was a waste of space. I don't notice any slowness with it running from \Windows though. YMMV.
Click to expand...
Click to collapse
tekknogenius, can you please share your .dll so that those of us who want to use the weather server workaround on T-Mobile, can do so on other cooked roms?
johnnycs said:
tekknogenius, can you please share your .dll so that those of us who want to use the weather server workaround on T-Mobile, can do so on other cooked roms?
Click to expand...
Click to collapse
Here's where I posted it already... note this is for the 6-tab version (if that matters)
http://forum.xda-developers.com/showthread.php?p=1463506#post1463506
at last, someone figured it out here, lol
mobi can you see this?
btw, throw weather xml to /windows(maybe someone said that already, didn't read whle thing..).
that's all.
tekknogenius said:
Here's where I posted it already... note this is for the 6-tab version (if that matters)
http://forum.xda-developers.com/showthread.php?p=1463506#post1463506
Click to expand...
Click to collapse
I disabled the HTC Home plug-in, then overwrote the existing HTCHome.dll, but when I go to re-enable it, it is no longer in the list of Today items.
I tried to enable it manually through the registry, but no luck

Program Removal

How do you remove a program from a windows mobile 6 device that was not installed with a .cab file?
I installed iContact v0.2 and recently upgraded to a newer version. I can't seem to get rid of the old version being that it does not show in the list of programs to uninstall.
have you tried using a file explorer and manually deleting the file and it's folder from your phone?
Yes, I have. That's why I'm so confused.

cab uninstallation cache?? retrieving in-use system dll

If someone installs a cab that overwrites a system dll but makes a copy of the dll somewhere to restore when the time comes to uninstall that application, where would I find that copy? I am having a heck of a time trying to copy a stock dll from my phone. I can overwrite the dll when I install the app and when I uninstall it the old one is back. the stock one is 14k and the other is 20k. they are different files altogether. I thought maybe if I could get at the file while it was stored away in the cab manager then I could retrieve the file and life could go on. I can't just copy the file with activesync - it says access denied. I try to copy it with total commander on the device and that does not work. I even wrote a mortscript to copy the file and that did not work either. I think it is because the file is in use - it's the file that controls the data connection. I tried shutting off the data connection but still cannot get to it. can anyone offer any tips?
another Idea might be to include mortscript as an OEM and then execute the script that copies the file during autorun right after the rom is flashed?
thanks all.
edit: same result when trying to copy the dll from a stock sprint, touch pro, custom rom sprint tp, or custom rom verizon tp

How to downgrade with official desktop updater!?

Hey,
I tried to pot my Treo back to WM6 from Vodafone with the original updater, but it keeps telling me that my device is not supported because of language issues (Right now there is WM6.1 working on it in english and I need to flash the German WM6). when I open the installer with WINRAR I can see a couple of *.nbh files (cheeimg.nbh and cheeimg_fw.nbh). Is it eventually possible to just take one of them and flash it? or do they anyway require to have a preinstalled stock ROM to update with them? And why are there so many other files in, when i usually actually just need one nbh file as a rom?
Thanks for helping me understand my phone
bump
i d like to know that aswell. did you fixed the issue by now?
If you want to use the official updater you need to modify the payloads.xml file.
You can find it by opening the official updater, but don't start the upgrade. Opening the updater will extract a bunch of files to your TEMP folder. The payloads.xml file will be in one of the subfolders. The folder is called something random so you'll have to seach for it, but you'll see a bunch of Palm icons in it so you'll know you're there.
You can edit the payloads.xml file with any text editor. Notepad works fine.
If you are changing carriers as part of the update, you will probably need to change the carrier code to the one matching the currently installed ROM. This is AT&T, for example.
Code:
<carrier_codes>CNG,ATT</carrier_codes>
I think Vodofone is VF, but you'll have to do some searching to confirm that.
Then you need to change the revision range to allow the downgrade.
Code:
<revision_range>
<low>1.13</low>
<high>3.00</high>
</revision_range>
Save it when you are done, and then start the updater. It should work. If not, there are plenty of posts here about downgrading ROM's, so search around until you find something that works for you.
And yes, you can extract the ROM's from a desktop updater and flash using the SD card method, assuming of course you have successfully HardSPL'd your phone. You need the CHEEIMG_FW.nbh file, but must rename it to CHEEIMG.nbh before putting it on the SD card.
You don't need to Hard-SPL in order to flash official Palm WM ROMs from a MiniSD.

Categories

Resources