How do I overwrite a file "in ROM memory"? - Touch Pro2, Tilt 2 Windows Mobile General

There are a number of TP2 tweaks which require the editing or replacement of files - for example, there is supposedly a way of increasing the loudspeaker volume which involves replacing a file called AudioPara3.csv with an edited version. This file sits in the Windows folder.
I'm using Resco File Explorer on my TP2, with the corresponding shell extensions installed on my desktop Windows, but nothing I do will allow me to edit that file. Trying to overwrite it (by dragging the copy into the appropriate Explorer window on my desktop PC) fails, telling me that I don't have the necessary permissions. If I look at the file properties on my TP2, it's set to read-only. If I try clearing the read-only checkbox this looks as if it's going to work, but actually if I go back into properties again, it's still set to read-only. There's another (disabled) checkbox in the properties labeled "ROM" which is ticked - I assume it's this that is causing the problem.
I've also tried renaming the file - that, again, appears to work but what it actually does is to create a duplicate of the file with the new name while leaving the old file intact.
There must presumably be a way of overwriting this file, otherwise no one would have been able to install the tweak!
I have a similar problem with the weather database file - so I can't add in extra locations.
What am I missing?

Try doing it on the TP2 itself with Resco File Explorer. I do not have any problem so far. Not too sure when you use it on the desktop.

weenween said:
Try doing it on the TP2 itself with Resco File Explorer. I do not have any problem so far. Not too sure when you use it on the desktop.
Click to expand...
Click to collapse
Several options in Resco File Explorer failed, but using the Copy To option worked, for some reason.
Don't think it actually made the speakers any louder, though.

You can also try Total Commander (not like it'll make the speakers louder, but for future reference).

Total Commander will work OR you can rename the original file, then copy the new one in.
I recommend (strongly!) the former since if you screw up you can fix it without a hard reset!

What is wrong with this file?
Hello,
I'd like to ask for some expert help.
I finally managed to edit an EXE file from Windows - just translating Japanese text to English. I used the MEditor suite. After saving, I "dropped" the file onto the SignCode.exe as per instructions.
When I transferred the file to its original location and overwrote the original one, I get:
"Cannot open... A critical component is either missing or cannot start because program memory is unavailable...."
I am sure I didn't change anything else but texts. So what could be wrong?
I am attaching the two files - the original and the edited - for someone to please look at them and let me know if there's anything I can do. This is Sharp's Barcode Reader.exe
Thanks!

Related

Unable to change files in \Windows on TMobile Dash WM6

I'm trying to remap the TZones button on my Dash. However, when I try to manipulate Short_IE.lnk in \Windows on my phone via Total Commander it does not work. I cannot change the file. I have tried an app unlocker mentioned in [http://forum.xda-developers.com/showthread.php?t=281838] but I am not sure if that will do the trick.
Any ideas?
have you tried dragging the file onto your desktop, editing it there and moving it back to your \windows folder?
I suppose that might work, if \Windows could be located through Windows explorer. I'm not sure how to use ActiveSync to write files to the \Windows directory on the phone either. I just pop up My Computer and transfer files to my SD card directly.
at0msk said:
I suppose that might work, if \Windows could be located through Windows explorer. I'm not sure how to use ActiveSync to write files to the \Windows directory on the phone either. I just pop up My Computer and transfer files to my SD card directly.
Click to expand...
Click to collapse
You can't write files to the \Windows directory via ActiveSync. You'll have to write them to My Documents or another visible folder while in ActiveSync. Then using your phone's File Explorer, copy and paste the file from whereever ActiveSync placed it to the \Windows directory.
Rip Syntaxx said:
You can't write files to the \Windows directory via ActiveSync. You'll have to write them to My Documents or another visible folder while in ActiveSync. Then using your phone's File Explorer, copy and paste the file from whereever ActiveSync placed it to the \Windows directory.
Click to expand...
Click to collapse
I can drag and drop at least some files straight to \windows through activesync... specifically the eT9 files for fixing keymapping. Is that not normal?
I've used the unlock method listed here (alternative way) http://www.modaco.com/content/HTC-Monet-Monet-MoDaCo-com/251706/Application-unlock-for-Monet/ and the phone is reported to be fully unlocked. I am still unable to change the Short_IE.lnk file in the \Windows directory. I'm still using Total Commander. I'm trying to rename the Short_IE.lnk file to Short_IE_o.link (original) so that I can rename Short_IE1.lnk which has my desired mapping. I'm just told "Cannot copy or move file!"
Well that's just great. I guess I don't understand this fully. I created a text document on my desktop and renamed it to Short_IE.lnk. From there I dropped it into the Application Data folder and used Total Commander to move it to \Windows. Overwrote the file without a hiccup. Seriously, WTF. Why wouldn't I just be able to edit the shortcut directly? It worked nonetheless but now when I try to use the key (mapped it to point to a shortcut) I'm told that there is no application associated with xxx.lnk (which opens a blank sms message to the person of my choice) and to open that file within the proper program. Now if I run the shortcut directly, it works. I may just edit the Short_IE to open the blank sms message and trash having it point to the shortcut I already made.
skisteven1 said:
I can drag and drop at least some files straight to \windows through activesync... specifically the eT9 files for fixing keymapping. Is that not normal?
Click to expand...
Click to collapse
I wouldn't think so because most of us, I know I cannot, are unable to see the \Windows directory via ActiveSync or Windows Explorer.
at0msk said:
I wouldn't think so because most of us, I know I cannot, are unable to see the \Windows directory via ActiveSync or Windows Explorer.
Click to expand...
Click to collapse
Really? Through ActiveSync (4.5, XP Pro), I click explore, and then open a folder called "full device", or something similar (don't have it in front of me) -- that puts me at the root folder. From there I can open "storage card", "windows", "my documents", etc.
Strange... I always thought that was normal (since it's been that way over 3 computers and 2 phones..)
at0msk said:
I wouldn't think so because most of us, I know I cannot, are unable to see the \Windows directory via ActiveSync or Windows Explorer.
Click to expand...
Click to collapse
Maybe on your desktop open my computer, then go to tools>folder options>view>Show hidden files and folders>OK.
Now you can see your \Windows directory through AS.
YOU CAN drag and drop files to the device's \windows directory. There's policies defined in some ROMs (like Roger's) that will not let you do that. But with Kavana's latest... it's not a problem.
Try changing policies 1005 and 1017 to hex "16" in the registry, in order to relax the permissions even more.
--NRGZ28
Just use resco file explorer...
OrganicM said:
YOU CAN drag and drop files to the device's \windows directory. There's policies defined in some ROMs (like Roger's) that will not let you do that. But with Kavana's latest... it's not a problem.
Try changing policies 1005 and 1017 to hex "16" in the registry, in order to relax the permissions even more.
--NRGZ28
Click to expand...
Click to collapse
Or just run SDA app unlock =)
OrganicM said:
YOU CAN drag and drop files to the device's \windows directory. There's policies defined in some ROMs (like Roger's) that will not let you do that. But with Kavana's latest... it's not a problem.
Try changing policies 1005 and 1017 to hex "16" in the registry, in order to relax the permissions even more.
--NRGZ28
Click to expand...
Click to collapse
THANK YOU! I'm glad I wasn't going crazy.
OK Here's one for you!
New issue! I use Total Commander to create a shortcut that points to my Storage Card. I place the shortcut in my Start Menu. When I go to open that shortcut...guess what! WINDOWS CANNOT FIND STORAGE CARD OR ONE OF ITS COMPONENTS. WHAT THE ****. If I use Windows Explorer on my computer to navigate to a directory that I place the shortcut in I can double click on it and I am taken right to my storage card. If I click on the shortcut while in Total Commander on the phone I am taken to my storage card.
WTF is wrong with WM6? Why would a valid-everyfuckingwhere-else shortcut not work when placed in the Start Menu?
Relax on the cursing
at0msk said:
New issue! I use Total Commander to create a shortcut that points to my Storage Card. I place the shortcut in my Start Menu. When I go to open that shortcut...guess what! WINDOWS CANNOT FIND STORAGE CARD OR ONE OF ITS COMPONENTS. WHAT THE ****. If I use Windows Explorer on my computer to navigate to a directory that I place the shortcut in I can double click on it and I am taken right to my storage card. If I click on the shortcut while in Total Commander on the phone I am taken to my storage card.
WTF is wrong with WM6? Why would a valid-everyfuckingwhere-else shortcut not work when placed in the Start Menu?
Click to expand...
Click to collapse
I agree with mikey on the foul language,,,,, when you create your shortcut to your storage card, are you making the shortcut to a folder or an .exe file? if you are making the shortcut to just your storage card ( or a folder) you must (i think) also include what browsing program to use inside your .lnk file. If its an .exe you are linking to then try and put quotations at beginning and end of your shortcut ( ex: #16 "storage card\program files\games\pocketnester.exe" ) otherwise you need it to look something like this #16 fexplore.exe - "\storage card\" ...( not sure if the latter string is completely correct , but you get the idea)
see the reason why this is working while you are in windows explorer (fexplore.exe) or total commander is because you are at that time in some sort of file explorer program. But if you do it straight through your start menu you are not actively in a file explorer program and windows doesnt understand what to use to browse to that directory
pudgedaddy said:
I agree with mikey on the foul language,,,,, when you create your shortcut to your storage card, are you making the shortcut to a folder or an .exe file? if you are making the shortcut to just your storage card ( or a folder) you must (i think) also include what browsing program to use inside your .lnk file. If its an .exe you are linking to then try and put quotations at beginning and end of your shortcut ( ex: #16 "storage card\program files\games\pocketnester.exe" ) otherwise you need it to look something like this #16 fexplore.exe - "\storage card\" ...( not sure if the latter string is completely correct , but you get the idea)
see the reason why this is working while you are in windows explorer (fexplore.exe) or total commander is because you are at that time in some sort of file explorer program. But if you do it straight through your start menu you are not actively in a file explorer program and windows doesnt understand what to use to browse to that directory
Click to expand...
Click to collapse
I see what you're saying here. Makes sense. I just thought that, you know...it's Windows, there's a Start menu and whatnot so I figured that some form of explorer was already running in the background so I guess I'm lost as to why one would need to invoke a file explorer to navigate the directories. But this is a phone moreso than a computer. Also, I was tired from a long day at work lol. Frustration clouds the mind. I'll try the fexplore.exe suggestion. Any idea if the 16# is right? I'm not sure what that is for...I see those thrown around and I thought they were button mappings...
Edit: Negative on #16 fexplore.exe - "\storage card\" or 16#:fexplore.exe -"\Storage Card\" or 16#"\Windows\fexplore.exe -\Storage Card\"....
at0msk said:
I see what you're saying here. Makes sense. I just thought that, you know...it's Windows, there's a Start menu and whatnot so I figured that some form of explorer was already running in the background so I guess I'm lost as to why one would need to invoke a file explorer to navigate the directories. But this is a phone moreso than a computer. Also, I was tired from a long day at work lol. Frustration clouds the mind. I'll try the fexplore.exe suggestion. Any idea if the 16# is right? I'm not sure what that is for...I see those thrown around and I thought they were button mappings...
Edit: Negative on #16 fexplore.exe - "\storage card\" or 16#:fexplore.exe -"\Storage Card\" or 16#"\Windows\fexplore.exe -\Storage Card\"....
Click to expand...
Click to collapse
Well i tried everything i could too. i know there is probably a way for either file explorer or resco explorer to go to the storage card as soon as it is launched. Personally i dont have this issue because i use smarttoolkit and there is immediate access to the storage card via the start menu without using any 1st or 3rd party file explorers but you may not want to use this proggy so i thought i'd help. sorry i couldn't solve your question
ok i got it! you can do it one of 2 ways: 1. edit the .lnk file with this #40"\windows\explorer.exe" "\storage card" 2. You can use resco explorer and navigate to the storage card and do a copy.....then paste shortcut in the \windows\start menu directory. cheers!

Delete File in Windows Mobile 6

Hi, how can I delete a file in \Windows folder? it seems complaining that the file is in ROM, I had tried many way even using other File Explorer or via ActiveSync. None of them work.
How can I delete a file in \Windows folder in my Microsoft Windows Mobile 6?
Maybe Resco Explorer or Total Commander CE will help.
if it's built in the rom, you might be unable to delete that file.
Please be more specific: which file do you wish to delete?
Maybe you'd have to recook the ROM without that file.
Regards,
EquinoXe
Things built into the rom are "READ ONLY MEMORY" therefore cannot be deleted. if the file is only marked as system and readonly though you can change its atributes using total commander. just long click on item to bring up menu and go to properties. there you need to uncheck everything and delete
I had downloaded Total Commander and installed it, the checked file attributes are 'read only' and 'in rom'; so I guess the file shall be consider undeleteable.
Now I had to learn how to recook, any good guide how can I recook the ROM that I have?
similar problem
I downloaded some software and it came up as being faulty software. The file was a zip folder titled : res_ppc-custom.icons
I tried through my windows mobile device center to uninstall it, but it was never actually installed completely in the first place.
I then tried to delete the file a few times. Once directly from my pda, once through the device center and again through my pc windows explorer. All three attempts were unsuccessful.
How can I get rid of this thing?
Thanks in advance
perhaps you may want to check if the file being accessed by other software, easiest way is to soft reset and try to delete it.
That did the trick! Thanks so much
Move files to storage card
OK I want to move some files (not ROM) in Windows and keep getting error. For example Opera.exe is not marked as anything in properties yet I can't seem to delete the file. I did copy it to my storage card without any issue but can't delete the original from Windows directory. Any suggestions since Total Commander won't delete it. Will edit registry to find it on the Storage Card.
Deleting files in Windows folder
mynullvoid said:
Hi, how can I delete a file in \Windows folder? it seems complaining that the file is in ROM, I had tried many way even using other File Explorer or via ActiveSync. None of them work.
How can I delete a file in \Windows folder in my Microsoft Windows Mobile 6?
Click to expand...
Click to collapse
I have the same problem - I have colpilot.wm6ppc.cab in my Windows directory. It's 12.6mb, I don't want it, and it's taking up a lot of storage space. My phone is a T-Mobile MDA and it obviously came with CoPilot as an option, but I think it's really unfair that the cab is right there in the Windows dir and I can't get rid of it....
Any help gratefully received....
Cheers,
Ed.
The cab is cooked in as part of the rom; there's nothing you can do about it, except flash a custom rom (this is one of the main reasons people flash custom roms). Be glad it was installed as a cab and not as a full package-at least cabs are compressed are a single file.
Farmer Ted said:
The cab is cooked in as part of the rom; there's nothing you can do about it, except flash a custom rom (this is one of the main reasons people flash custom roms). Be glad it was installed as a cab and not as a full package-at least cabs are compressed are a single file.
Click to expand...
Click to collapse
I think the issue is not on the files in ROM.
I have the same problem. I've copied a file under Windows folder and after that I'm unable to delete it.
Strangely I'm able to rename it, which should mean that file is not in use, however deletion is not possible.
I've used TotalCommander, the built-in Explorer and also connected the phone via ActiveSync, but still nothing happens and access seems to be denied.
The exact message is "deletion error".
Any idea?
Thanks.
Cheers...
-nOra-
A very common problem with Windows explorer is reported on all Windows help forums. I've seen people complaining about problem with long path files deletion.
Some common problems with Windows Explorer people talk about:
- Doesn't allow to delete files with long path names
- Pops up error while deleting unwanted files or unnecessary files
- Errors like: Access denied, sharing violation, source in use etc.
I've found a very simple but smart solution for all these above mentioned common problems. A very simple but powerful tool to overcome these problems. Everyone who plays with the files must have this tool. Its compatible with all versions of Microsoft Windows.
johnylog.software said:
A very common problem with Windows explorer is reported on all Windows help forums. I've seen people complaining about problem with long path files deletion.
Some common problems with Windows Explorer people talk about:
- Doesn't allow to delete files with long path names
- Pops up error while deleting unwanted files or unnecessary files
- Errors like: Access denied, sharing violation, source in use etc.
I've found a very simple but smart solution for all these above mentioned common problems. A very simple but powerful tool to overcome these problems. Everyone who plays with the files must have this tool. Its compatible with all versions of Microsoft Windows.
Click to expand...
Click to collapse
Could you please tell us the name of this wonderfull tool, and how to have?
djulen said:
Could you please tell us the name of this wonderfull tool, and how to have?
Click to expand...
Click to collapse
Based on how he said it, I have to really wonder if he really does have such a tool...
badbwoydes said:
Based on how he said it, I have to really wonder if he really does have such a tool...
Click to expand...
Click to collapse
Use Total Commander to modify the contents of the \Windows directory.
Yes, but you won't be able to delete a ROM file anyway.
In the \Windows folder, you commonly encounter three kinds of files :
- Pure ROM files (can't be deleted nor renamed nor moved, nor even copied, but can be overwritten, consuming internal storage memory space in the process to store the new copy, that will become used instead) ;
- Files put there by installation CABs or else (can be freely deleted, renamed or moved, provided they're not currently used by a running process) ;
- Files put on top of previously existing ROM files, wearing the same name (deleting, renaming or moving them will thus make the original ROM file undertneath to reappear with its original contents and attributes).
Once you've understood that, you'll be more aware of what's cooking there.
ROM files can't even be copied, but you can use ROMExtractor to copy them elsewhere, in case you want to study them, or use them in your own ROM (useful to get up-to date versions from another HTC device to cook your own ROM).
Since ROMExtractor is a very minimalistic tool (you have to type in all the files names with their path, same for the target copy, all one by one !) manually extracting hundreds (even thousands) of files is a very tedious taks, I made a MortScript to automate the process in order to extract all those DLLs, EXEs, MUIs, etc. files that can't be directly copied from a phone's ROM.
On the other hand, you absolutely can't delete a ROM file to make room. Overwriting it with a file wearing the same name will jut result in actually adding the new file, thus consuming even more room. The new file will just be used instead of the original one (so you can still update or personalize the ROM).
As a direct consequence, the only way to get rid of unwanted ROM files or permanently replacing them with up-to-date ones is to cook a ROM and flash it to the device to replace the old one.
That's way how operating systems can become better and better, and save space at the same time.
And no, Windows Mobile isn't dead : I'm not quite finished with fixing it until it's perfect, so it's not over yet. LOL

Putting new programs / cab files onto the pro 2?

So, I used to have a tytn2, and played with it a bit, so I am familiar with how to put cab files on it, etc.
I'm stumped right now... because I have my new pro 2, and when I download the program, it is supposed to show up as a cab file, when I unzip it. But actually, when I unzip it, I just am seeing several files, such as one ending in xml, and then another one or few ending with 000, or 001, 002, etc.
From what I remember, when I used to put the cab files onto my tytn2, I would just unzip whatever the program was, and I could see a cab file there, which I would then transfer to my device and then run.
What in the world am I doing wrong here?
Help would be super appreciated!
problem solved
problem solved, im an idiot. for some reason my system is showing the cab file as a zip file which wants to be unzipped. so i've not realized that i've been double clicking cab files, and then winzip is showing me the insides of those files.
= )
So I take it you just changed the file name from zip to cab?
Either that or he has the file explorer on his computer set to hide known extensions. Cab files are recognized as compressed file formats by many handlers like 7zip. Which is why he might have confused the icon for a zip file if he couldn't see the file extension.

Delete File in "/Windows"

I have researched and I know you can't delete ROM files, but they can be replaced. I tried, but the same message, stating the file is protected, appeared. I am trying to delete or replace a file called "ATT_Warhawk_boot" which is the file that makes an annoying and unnecessary sound while turning on the phone. I have messed with the registry and concluded that this is the best way. Does anyone know of a program or would like to walk me through any tactics that can help me?
Note that not all files can be replaced. But most of them can.
For a freeware solution use Total Commander on your device. This is a very powerful File Explorer for Windows Mobile. It also contains a registry editor.

HTC TP2 ROM manipulation

Yesterday, I tried copying the HTCSendorSDK.dll through ActiveSync. I got Access Denied and though that the dll must be in use. Then I used File Browser on the phone to copy the file to another folder. It said that it can't copy a file included in the ROM. I haven't made any other changes and since then Opera and Weather don't connect. Internet Explorer is able to browse the web, vxUtils says I have two valid IPs and I'm able to use HTTP GET and Ip lookups.
Any ideas if me attempting to copy the ROM included file screwed something up?
Any other ideas for troubleshooting?
Thanks
Chris
use something like total commander to copy the file.
you should be able to find a .cab to install total commander, which will allow you to copy or move the file.
fixitchris said:
Yesterday, I tried copying the HTCSendorSDK.dll through ActiveSync. I got Access Denied and though that the dll must be in use. Then I used File Browser on the phone to copy the file to another folder. It said that it can't copy a file included in the ROM. I haven't made any other changes and since then Opera and Weather don't connect. Internet Explorer is able to browse the web, vxUtils says I have two valid IPs and I'm able to use HTTP GET and Ip lookups.
Any ideas if me attempting to copy the ROM included file screwed something up?
Any other ideas for troubleshooting?
Thanks
Chris
Click to expand...
Click to collapse
You can always delete replaced files that were in rom. This will make the system revert to the original file that was overwritten. This always works without issue unless the overwritten file was something that gets changed or updated like certain .ini files, etc...
for overwritting system files, I recommend Resco file explorer. It is hands down the best file/registry explorer/editor. Google beta 2 for a free trial.

Categories

Resources