Is there a way to modify,hexedit,hack an app that is hard coded to the Windows directory in the devices memory and redirect it to run from the SD card?
I've tried using Windows live Mobile from the SD card and it says some thing about trusted certificates or that it cannot find it's files.
I tried Hex editing the exe to change the directory from "\Windows\" to "\Storage Card\" but it doesn't work.
My devices is getting low on storage memory and i need to install every app from now on to the SD card.
Another app that has some dll's in the windows folder is Skype Mobile,i also tried hex editing it to change the path is looks at it's dlls,but didn't also didn't work.
Tried with CECabManager but i figured it's not the cab who gives the app the directory's to its files,they are coded inside the app itself.
Anyone has managed to run Skype,Windows Live Messenger or any other app that is hard coded into Windows folder to run from the SD Card?
Cheers,Anti.
Not sure about Windows Live Messenger (since it's stuck in rom), but for programs installed by cabs, I'm pretty sure there's a registry entry that deals with which real folders are the shell folders (for example Program Files would be "/Program Files"), You can change that, but do it before you install the cab. Incidently, you might have trouble with existing programs that use /Windows and when you soft reset, but this is not confirmed.
The thing is i have tried to run the app without installing the cab file.
I extracted the software from the cab and ran it from the sd card and it still din't find its files.
Nope,Din't work.
I edited the cab and It's registry to %InstallDir% but it did not work.
Has any one had any luck doing this?
Anyone done or tried this?
Related
Hi,
I've just updated my M2000 to WM5 and have followed the guide of wiki to install TomTom 5.1, but despite running the correct voice.cab file, TomTom doesn't register that it's installed, i've checked that the files copy over to the TomTom directory, and have even tried replacing the files using copies from my friends PPC2003 installation that works perfectly.
Any ideas?
Cheers,
Andy
Weird. I have tried several of those voice files, and they all work. Have you by any chance installed to a memory card? That doesn't seem to work very well.
map is on sd card, but all the other progs i've installed to the main memory. I've only tried voice05 but as far as I'm aware that is Jane/UK which is what I want.
Cheers,
Andy
You have to make an extra directory tomtom in the \tomtom map.
\tomtom\tomtom\ and in here the sound files *.chk
Belsj
I have tried copying the .chk file to both \TomTom\TomTom as well as \TomTom and \Storage Card\Great-Britain-Map\TomTom and none of these have worked. Is there something else I should be doing?
Cheers,
Andy
In total you have to copy 4 files
mobile device\tomtom\CurrentMap.dat
\TomTom\TomTom\data05.bmp
\TomTom\TomTom\data05.chk
\Program Files\navigator\data.chk
\Program Files\navigator\tomtom navigator.exe
\Program Files\navigator\navigator.cfg
that's all.
data05.bmp and .chk is for example, you can choose one of your own voices.
Look this up on your device other wise i send you my files so you can try them.
Good Luck
Belsj
Hello,
i have precisely the same problem.
Tried everything mentioned here without success.
Where do i find that *.bmp file? Its not located in the voice folder on the original cd. Ive put the voice cab file from the cd on my storage card and it installed fine, it installed the mentioned files except for that *.bmp file ( wich i assume is just a stupid bitmap?). I moved those files according to above instructions - no success.
Any help is much appreciated.
I fixed it,
make sure that theres just one copy of those *.chk files on your pda. Delete all copies in other folders except those in the \tomtom\tomtom folder.
Worked for me, i hope it helps you.
It finds all the files when I select to update the library. But when it tries to add them, the the status bar stays frozen and then it doesn't add it to the songs to the library. When I had windows mobile 5, I never had this problem. I have the At&t Version 8525. I can still open the folder and play it though. Small problem, but it bugs me. Anyone know what is going on?
Delete the WDRM folder from the memory card than try again.
solution
using the file explorer delete MSMETADATA folder in the store card on the root directory.
many thanks guys.........
just a small thing, by default the MSMETADATA and WDRM folders are hidden
so you'll have to set your pc to show hidden files, or you could use an alternative browser (such as total commander) on your ppc
try reading the wiki next time. the solution to this problem is in there.
EDIT: heres link to page in wiki about this:
http://wiki.xda-developers.com/index.php?pagename=Hermes_media
sorry, im new to this forum
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
How can I edit my cabs to change their default installation folder to SD/program files, for example, instead of their default installation folder which is usually somewhere on the device memory ?
I have got an app on my PC called WinCE Cab Manager. I used it to edit a cab file, changed the installation folder to \StorageCard\program files......but what it did was created a folder & subfolder on the device memory & named them StorageCard\program files
yassero said:
How can I edit my cabs to change their default installation folder to SD/program files, for example, instead of their default installation folder which is usually somewhere on the device memory ?
I have got an app on my PC called WinCE Cab Manager. I used it to edit a cab file, changed the installation folder to \StorageCard\program files......but what it did was created a folder & subfolder on the device memory & named them StorageCard\program files
Click to expand...
Click to collapse
Should it not be "Storage Card" - with a space?
go in the CAB information properties,
edit installation directory,
add folder "Storage card" on root
add program files there or whatever.
for files then keep "install dir"
-
remember that installing on sd is not standard install.
papo said:
go in the CAB information properties,
edit installation directory,
add folder "Storage card" on root
add program files there or whatever.
for files then keep "install dir"
-
remember that installing on sd is not standard install.
Click to expand...
Click to collapse
Yes. I did that & the result was that it has created a folder on the device memory called Storage Card & installed the app in a subfolder in that folder.
It neglected the physical Storage Card completely. My objective is to change the default install dir of all my cabs so when I use XDA_UC, it automatically install them to the SD Card. What XDA_UC currently does is semi-auto install whatever I put in XDA_UC/SD, meaning that it runs the installer & asks me to select where to install the app.
oh.. And other thing is, if your card is not plugged in/initialized when UC will start, it may just create a folder Storage Card and then initialize SD as "Storage Card2" ... happened to me pretty messy.
You can make cabs which don't ask to ask:
wceload.exe "%1" /askdest
but there is no param. for default=SD
http://forum.xda-developers.com/showpost.php?p=5090353&postcount=74
I reckon you need a wceload.exe replacement, or to make a mortscript to click on SD option every time for you.
Anyway advice on that link above, that SD apps usually don't need re-installing is right too
Other option would be forgot the cab. make a zip file of all files and reg file and use mortscript to import them.
papo said:
oh.. And other thing is, if your card is not plugged in/initialized when UC will start, it may just create a folder Storage Card and then initialize SD as "Storage Card2" ... happened to me pretty messy.
You can make cabs which don't ask to ask:
wceload.exe "%1" /askdest
but there is no param. for default=SD
http://forum.xda-developers.com/showpost.php?p=5090353&postcount=74
I reckon you need a wceload.exe replacement, or to make a mortscript to click on SD option every time for you.
Anyway advice on that link above, that SD apps usually don't need re-installing is right too
Other option would be forgot the cab. make a zip file of all files and reg file and use mortscript to import them.
Click to expand...
Click to collapse
It is easy to zip all my cabs in one zip file. How do I create a reg file & how do I import them with mortscript & what do I do after importing them ?
yassero said:
It is easy to zip all my cabs in one zip file. How do I create a reg file & how do I import them with mortscript & what do I do after importing them ?
Click to expand...
Click to collapse
you got it wrongly, the last option was not using CAB at all.
I don't know what you are trying to do. Hard to guess. Why would you want to install on SD on the first place?
In my case, I am placing maps and files which programs can only use from SD, I have them in zip and unzipping with 7zip which accepts plenty of arguments.
You know that CAB is something like zip. You don't need to use CAB and can have the same results. And if you creating those cab yourself, why not just create zips. And you have it compressed better too.
- what is reg? file containing registry entries. if you don't have any you don't need that.
- nothing to do after
- for files:
you place all files in folders in this zip file, starting with "Storage Card"
this will check SD card, if it's present and then unzip file "file.zip"
I have this file and 7zG.exe files in ROM-windows folder, but you can change that below.
for this script to run you need mortscript.exe and 7zip programs, they are free
==
SetMessageFont(17, "Tahoma" )
While( not DirExists("\Storage Card"))
SleepMessage( 99, "Insert SD card", "SD card missing", false, DirExists("\Storage Card"))
EndWhile
RunWait("\windows\7zG.exe"," x \windows\file.zip -y")
I am not that knowledgeable technically. I do not not create Cabs. All I am trying to do is figure out a way to have the cabs I have installed silently on the SD after I flash any new ROM. I place all my cabs on Storage Card in folder XDA_UC/SD. This is not a silent installation. It needs user intervention as on each cab installation, it prompts me to select where to install to (device or SD Card). I am very humble when it comes to reg files & stuff like that. I do not know how to write them or how to use them afterwards.
I have always wanted my settings saved aswell to be applied on the next ROM installation. Thanks to NRG, his ROMs come with Settings Export app that simplifies things but exporting all settings to Storage Card in folder XDA_UC & accordingly it is applied at new ROM installation.
why do you want to install to SD card?
What pda you have? Are you low on internal memory?
I only put an app on SD if I had less then 5MB internal free.
You should use your internal memory for programs as it's faster and better protected against lost clusters and unfinished writes.
And to use SD for personal data, as pictures, mp3 as it's easier to make backup of it and access speed doesn't matter there so much.
There is no reason keeping more then 5MB free of internal memory.
A time ago I put update of opera on SD, once when it crashed, it damaged file structures and I lost half of my data on SD.
You can have silent installs to internal memory.
-
Other thing is, as someone wrote before, for most of the apps you don't need to install again on SD card if they are still there. Before you reflash, backup
folder \windows\Start Menu and after reflash, copy it back.
Hello, I've recently uninstalled and wiped my SD card of Android. Now I'm trying to install it from the latest (01/23) cab file and I keep getting an installation error when running it on my phone. I've also tried to extract the cab file manually on my computer with 7-Zip, but I get decompression errors. And when I unrar the .rar file I get a completely flattened directory structure.
What am I doing wrong here?
Delete all the Android files and folders from your SD card. This means the Android, andboot, and any other Android related folders that may have been created by apps and such.
Copy everything that's left off of your SD card onto your computer.
Format the card to FAT32.
Put all the stuff back onto your SD card.
Reinstall XDAndroid.
I've never had luck with the cab. I think it has something to do with the size, and how the device handles cabs. For me, it has been easier to download the rar file, extract that on the desktop, and then copy over the andboot directory to your sdcard.
I usually create a staging location on the hard drive before copying it to the device. Doing this allows you to customize the files/configs: edit the startup.txt file on the desktop, replace the original rootfs with F22's new file that allows for keyboard mappings, etc. Then when it's all finished, simply copy the directory to the sdcard.
cajunflavoredbob said:
Delete all the Android files and folders from your SD card. This means the Android, andboot, and any other Android related folders that may have been created by apps and such.
Copy everything that's left off of your SD card onto your computer.
Format the card to FAT32.
Put all the stuff back onto your SD card.
Reinstall XDAndroid.
Click to expand...
Click to collapse
I tried this and it didn't work. Got an error half way through the install.
For pohket's suggestion, I'm limited to Linux tools, and unrar extracts a flat directory structure for me, so there isn't like an `andboot` or other such directories, just every file, which I don't know how to organize.
I ended up using an old release from November 1, 2010. It's been the most stable release I've used so far. (and also the only release I had saved on my computer)
earlz83 said:
Hello, I've recently uninstalled and wiped my SD card of Android. Now I'm trying to install it from the latest (01/23) cab file and I keep getting an installation error when running it on my phone. I've also tried to extract the cab file manually on my computer with 7-Zip, but I get decompression errors. And when I unrar the .rar file I get a completely flattened directory structure.
What am I doing wrong here?
Click to expand...
Click to collapse
I have the feeling the latest cab file was not working too well. In the end I used the rar files as well and extracted those.
the cab doesn't work!!!
earlz83 said:
Hello, I've recently uninstalled and wiped my SD card of Android. Now I'm trying to install it from the latest (01/23) cab file and I keep getting an installation error when running it on my phone. I've also tried to extract the cab file manually on my computer with 7-Zip, but I get decompression errors. And when I unrar the .rar file I get a completely flattened directory structure.
What am I doing wrong here?
Click to expand...
Click to collapse
I had the same problem with that cab, I did everything: erase, format, copy, download - many times from different computers...but doesn't work at all. You should download the RAR file and uncompress into the fat32 - SD card. Worked at the first time.
ps: this FRX04 2.2.1 is quite slower than the FRX03!!!
Also, it halts everytime!!! (in my rhodium 210).