Memory savings!! - 8125, K-JAM, P4300, MDA Vario General

UPX rules! This was mentioned off-handedly in a thread a day or so ago -- http://forum.xda-developers.com/viewtopic.php?t=51984 -- and it is simply amazing! It packs exe and dll files at about 1/3 the size, plus they run faster. More information here in Universal forum -- http://forum.xda-developers.com/viewtopic.php?t=49990&highlight=upx
Here is how I found it works.
1. Unzip the program on your desktop computer, someplace simple to find (like "c:\upx")
2. Copy the exe and dll files from your ppc over to your desktop into that same folder. (I backed up AND saved backup copies of the files before going on.)
3. Go to Run and type cmd to open a command window. Use cd to navigate to the folder ("cd .." until you get to root, then "cd upx" or whatever directory you used.)
4. type "upx some.exe --brute" and magically the file reduces size by about 2/3! Amazing! Same name as before but smaller.
5. Copy the new files back to your ppc, same folder as before.
NOTES:
1. You may have to stop a program before you can copy back (e.g., VoiceCommand) or disable if it's a Today plug-in (e.g., PocketBreeze).
2. Only do this with programs you installed. If you compact a program in ROM, you will save nothing.
That's it! I'm no uber-geek, so if I can do it, so can you. But I thought the step-by-step might be helpful to other mere mortals.

Looks cool, but I have 2 gigs storage space so I won't be running low anytime soon.

mattucd said:
Looks cool, but I have 2 gigs storage space so I won't be running low anytime soon.
Click to expand...
Click to collapse
Agree... I only did this with programs that I installed into main memory.

I am glad someone noticed my previous post! lol
I have pretty much all my exe's on my main memory and storage card compressed - but use upx compress your_program.exe command as file will open faster than with the brute command.
I use it to speed my device up and save memory - try it definite speed increases esp on the large files.
A word of warning though backup all you storage card and programs on main memory occ an exe or dll compression results in the file not working so has to be replaced with the original. (this happens more frequently with the dll's and thats why i decided to leave the dll compression well alone for now)

meschle said:
I am glad someone noticed my previous post! lol
... but use upx compress your_program.exe command as file will open faster than with the brute command.
Click to expand...
Click to collapse
Yeah, some people read all the way to the end of a thread.
Could you explain the exact syntax you use? Possibly:
upx --compress your_program.exe ?
Or what?

Yes ok if the program was called explorer.exe
From the command prompt: upx compress explorer.exe
simple as that 8)

LOVE THIS PROGRAM!!!! This thing works great! LuXx

wgary said:
I Agree... I only did this with programs that I installed into main memory.
Click to expand...
Click to collapse
Quick question...How can we move an EXE files under the windows programs in the main memory to the UPX ...\folder in the desktop computer?

leeky said:
wgary said:
I Agree... I only did this with programs that I installed into main memory.
Click to expand...
Click to collapse
Quick question...How can we move an EXE files under the windows programs in the main memory to the UPX ...\folder in the desktop computer?
Click to expand...
Click to collapse
In the ActiveSync on your PC, hit the Explore button with opens it into a File Explorer window. Then you can drill down to /Windows, copy the files, and paste them into the UPX folder. Don't forget to backup!
Also note improved syntax in previous post:
"upx compress program_name.exe"

leeky said:
wgary said:
I Agree... I only did this with programs that I installed into main memory.
Click to expand...
Click to collapse
Quick question...How can we move an EXE files under the windows programs in the main memory to the UPX ...\folder in the desktop computer?
Click to expand...
Click to collapse
In the ActiveSync on your PC, hit the Explore button with opens it into a File Explorer window. Then you can drill down to /Windows, copy the files, and paste them into the UPX folder. Don't forget to backup!
Also note improved syntax in previous post:
"upx compress program_name.exe"

wgary said:
In the ActiveSync on your PC, hit the Explore button with opens it into a File Explorer window. Then you can drill down to /Windows, copy the files, and paste them into the UPX folder. Don't forget to backup!
Also note improved syntax in previous post:
"upx compress program_name.exe"
Click to expand...
Click to collapse
I did as what you mentioned but it won't let me paste because of the write protect file system (the one under the my device\windows\......there are several EXE files I would like to compress it such as. excel.exe and camera.exe.....but no luck

leeky said:
wgary said:
In the ActiveSync on your PC, hit the Explore button with opens it into a File Explorer window. Then you can drill down to /Windows, copy the files, and paste them into the UPX folder. Don't forget to backup!
Also note improved syntax in previous post:
"upx compress program_name.exe"
Click to expand...
Click to collapse
I did as what you mentioned but it won't let me paste because of the write protect file system (the one under the my device\windows\......there are several EXE files I would like to compress it such as. excel.exe and camera.exe.....but no luck
Click to expand...
Click to collapse
Those are in ROM so this really won't help. Just works with apps you install.

I just used UPX on a whole load of programs and dll files and saved a whole chunk of space!
For users that have not given this a go yet, it is important to make a backup of the file you are about to compress! Even though they might compress successfully and still appear to run, you may encounter some oddities. For example, I just shrunk down the registry viewing/editing plugin for Resco Explorer and whilst I can still edit it etc I found that some of the dialog boxes are missing some caption text

Related

n00b question about adding my own programs

Okay I understand you have to use mkrom and Linux (or cygwin on Windows) to roll your own ROM my question is regarding how one could say remove one program from the SE ROM and include something else, for instance take off the byte counter and put another different counter on or such, would you just copy the necessary files (.exe and dll's) to the files1 or files2 folder and that's it ? What more is involved? Thanks in advance!
for simple programs, that is all there is to it.
some might need more research, as to which registry settings need to be tweaked to get te program to run from the windows directory. and what settings it needs to run at all.
You copy the files to either files1 or files2. Both sets of files end up in the \Windows subdir. So if you do not want to copy the files to RAM (see below), you should make sure the program is set to run from \Windows. Then you add any necessary registry keys to "default.reg", and any file-copy or directory creation commands to initobj.txt. Then run "mkrom <ROMfile>" and hey-presto.
Thanks so much for all your guys awesome work!!
entropy1980 said:
ok sounds good, what would one need to do to mod the registry for the programs (By that I mean prior to booting) I don't want to be mucking around with a reg editor after the device boots just to get the progs to work...
Click to expand...
Click to collapse
Not sure I understand the question. Default.reg just holds the entire registry as present after a cold restart. So if you put something in there, this will be in the registry when the device wakes up.
I think we wrote at the same time , so you answered my question before I posted it !!! What you said made complete sense! Thanks!
entropy1980 said:
[...]so you answered my question before I posted it !!! [...]
Click to expand...
Click to collapse
I installed the phpBB telepathy mod a couple of days ago, so I guess it's working.
Hey I knew you were going to say that.... :lol: :lol:
hi,
i want to add the skelmir java virtual machine (thats default installed in windows\ceej) and copy the swingall.jar in the windows\ceej map.
I have the cab file of the virtual machine but i can't find out which files are in it (when i open it with cabextract is shows .001 files and not the files that i find back in the device)
please help me
Using Special Edition ROM, Tthe CabInst tool will run CAB files on the device if you move it there manually and double-tap it. It allows to set a new directory to install in.
Also the System Snapshot tool will write a file in the root of the device which holds a list of the entire filesystem and registry contents, so you can compare and see what changed. UltraEdit for the desktop has a compare function.
Good luck...
hi,
i installed it to a seperate directory and zipped the files. i also took a snapshot when the xda was fresh and after install. i only can't find where the xda's gets is files from in:
43 <! [\Windows\AppMgr]
8544 <! 31/12/2002 12:31 1632 FC0E9EE1 Skelmir CEEJ Virtual Machine.DAT
8576 <! 16/02/2003 23:10 27 AEBB1DF3 CEEJ.lnk
8587 <! 16/02/2003 23:10 40 1EAF4EB3 CEEJ Examples.lnk
8588 <! 16/02/2003 23:10 27 AEBB1DF3 CEEJ.lnk
because these are not in the map where i extracted the cab file too. maybe you can take a look for me and tell me what i have to change in mkrom to have ceej by default installed
the extraced cab map:
http://www.devosjansen.nl/xda/java installed.rar
the snapfiles:
http://www.devosjansen.nl/xda/xda snapshots files.rar
thanks in advance
laurens0619 said:
hi,
i installed it to a seperate directory and zipped the files. i also took a snapshot when the xda was fresh and after install. i only can't find where the xda's gets is files from in:
43 <! [\Windows\AppMgr]
Click to expand...
Click to collapse
These files are generated during the install process, and contain uninstall information. You do not need to write them if you install in ROM, since you don't need/want your programs to show up the in the 'Add/Remove Programs' dialogue.
ah i understand,
so i just put the files in the files1 or files2 directory and add this reg files to the default.reg? i dony really understand the readme file
ah little kick,
isn't also good for the next SE rom? because you have finally a java virtual machine on the xda and the app is freeware (got it from www.skelmir.com)
laurens0619 said:
isn't also good for the next SE rom?
Click to expand...
Click to collapse
Noted...
nice but can you please help me out for the moment? i dont know which part i must add to the default.reg file
laurens0619 said:
I dont know which part i must add to the default.reg file
Click to expand...
Click to collapse
default.reg holds the registry that is present when the system wakes up from cold-boot. So any registry entries your installer (or first run of the app) has made that you would like to have present should go in there. Clear enough?
almost
so i just copy paste the **** at the end of the reg file? and the files in the files 2 map
but how will the rom know where to put the files??
sorry if i'm stupid but i don't want to f*ck my rom so i can use me xda's as a frisbee
Yes, the registry entries can be pasted at the end of default.reg. It doesn't matter if there's earlier entries with the same values, since the latter ones override.
All files in files1 and files2 will end up in \Windows, and if you want them somewhere else, (where they'll take up RAM), you must manually copy them (or pre-made links pointing to them) by issueing commands in initobj.txt.
Take a real close look at initobj.txt, and you'll get the picture.

real simple request for all developers out there...

So i fall a little short in developing, and was wondering if someone could make a quick exe... Here is what i am looking for: I need a simple exe to run off of my wm6 phone that will copy the file PalmMsgV001 from the Windows directory to my storage card in a folder with the current date.. to be more specific something like this:
copy \Windows\PalmMsgV001 to \Storage Card\Back_up\Palm_back\110807 (the date using the format 11/08/07)
Maybe you could make it customizable for other people as well... but im just looking for a quick exe to throw on my card that will make it real easy to back it up
shogunmark said:
So i fall a little short in developing, and was wondering if someone could make a quick exe... Here is what i am looking for: I need a simple exe to run off of my wm6 phone that will copy the file PalmMsgV001 from the Windows directory to my storage card in a folder with the current date.. to be more specific something like this:
copy \Windows\PalmMsgV001 to \Storage Card\Back_up\Palm_back\110807 (the date using the format 11/08/07)
Maybe you could make it customizable for other people as well... but im just looking for a quick exe to throw on my card that will make it real easy to back it up
Click to expand...
Click to collapse
And how much do you pay for it?
Here it is...
shogunmark said:
So i fall a little short in developing, and was wondering if someone could make a quick exe... Here is what i am looking for: I need a simple exe to run off of my wm6 phone that will copy the file PalmMsgV001 from the Windows directory to my storage card in a folder with the current date.. to be more specific something like this:
copy \Windows\PalmMsgV001 to \Storage Card\Back_up\Palm_back\110807 (the date using the format 11/08/07)
Maybe you could make it customizable for other people as well... but im just looking for a quick exe to throw on my card that will make it real easy to back it up
Click to expand...
Click to collapse
Here it is...
The applications is a command line application an works with 2 paramenters. 1º is the full path of the file or files patter that want to copy, in your case "\Windows\PalmMsgV001", other examples could be "\Test\log*" or "\*.txt". 2º is the full path of the destination directory without the date directory, in your case "\Storage Card\Back_up\Palm_back".
In the attached zip I include the application (CopyBackUp.exe) and the shortcut (.lnk) with the parameters required for your case ('CopyBackUp.exe \Windows\PalmMsgV001 "\Storage Card\Back_up\Palm_back"').
Just extract the .exe to the root folder ("\") and the .lnk wherever you want (ie. "\Windows\Start Menu").
Any small donation would be appreciated.
Enjoy...
finthamoussu said:
Here it is...
The applications is a command line application an works with 2 paramenters. 1º is the full path of the file or files patter that want to copy, in your case "\Windows\PalmMsgV001", other examples could be "\Test\log*" or "\*.txt". 2º is the full path of the destination directory without the date directory, in your case "\Storage Card\Back_up\Palm_back".
In the attached zip I include the application (CopyBackUp.exe) and the shortcut (.lnk) with the parameters required for your case ('CopyBackUp.exe \Windows\PalmMsgV001 "\Storage Card\Back_up\Palm_back"').
Just extract the .exe to the root folder ("\") and the .lnk wherever you want (ie. "\Windows\Start Menu").
Any small donation would be appreciated.
Enjoy...
Click to expand...
Click to collapse
This worked perfectly.. and am more than happy to kick you a small donation!!! pm me and let me know where to send it!
and also as i am looking at the shortcut, it appears that in theory you could make this little exe copy whatever you want, just would have to edit the short cut.. interesting...
shogunmark said:
and also as i am looking at the shortcut, it appears that in theory you could make this little exe copy whatever you want, just would have to edit the short cut.. interesting...
Click to expand...
Click to collapse
Yes, it tried to make it a bit more generic that what you were asking for, so maybe it could be usefull to somebody else
CopyBackUp V1.1
Attached is the new version of the application.
The changes are:
The first 2 parameters still being the same.
The next parameters are optional, and works as follow:
New commands:
·-kb[List of processes to Kill Before the backup is made]
Kills the specified list of processes before the backup
·-rb[List of processes to Run Before the backup is made]
Runs the specified list of processes after the backup
·-ka[List of processes to Kill After the backup is made]
Kills the specified list of processes before the backup
·-ra[List of processes to Run After the backup is made]
Runs the specified list of processes after the backup
·-noui
Runs the application without showing windows messages (only “Invalid Arguments” is showed)
These commands can be used multiple times, are case insensitive, and before backup commands and after backup commands are executed as they appears.
Sample:
copybackup.exe “/Directory with spaces/*.log” /Test –rb /test/test.exe /test2.exe –ka test2.exe –kb aaa.exe –NoUI –ra “/dir dir/bb.exe” –KA b.exe
This will
1.1. Run /test/test.exe
2.2. Run /test2.exe
3.3. Kill aaa.exe
4.4. Perform the backup of “/Directory with spaces/*.log” to /Test/[Date]
5.5. Kill test2.exe
6.6. Run “/dir dir/bb.exe”
7.7. Kill b.exe
All this without Windows UI messages
The application will fail only if some of the processes to run is not found, It won’t fail it some process to kill is not found.
Enjoy.
well i did find error.. maybe..
If i use:
\CopyBackUp.exe \Windows\PalmMsgV001 "\Storage Card\Back up\Palmbackup"
Then it does as mentioned before...
If i manually kill messagingapp.exe first and use this then it works, it will copy the file and run the app:
\CopyBackUp.exe \Windows\PalmMsgV001 "\Storage Card\Back up\Palmbackup" -ra messagingapp.exe
But if i leave messagingapp.exe running it will not kill it or copy the file, just throws up an error box that says "error":
\CopyBackUp.exe \Windows\PalmMsgV001 "\Storage Card\Back up\Palmbackup" -kb messagingapp.exe
and i did verify that the process is running
shogunmark:
Are you sure that have extracted both files in the same directory?
This problem looks like copybackup.exe is not finding in the same directory OpenNETCF.dll.
This dll is needed when you use -kb or -ka, as is used to enumerate running processes.
I have made the test copybackup.exe /*.log /test -kb iexplore.exe and it works perfectly (Kills Internet Explorer before)
Can you cheek this?
Cheers
Hi finthamoussu,
Your application sounds really cool. I can appreciate the running processes fuctionality as that is a little bit tricky in .net. Good work!
Regards,
Slither2006.
I think this is a really useful app. Forgive my ignorance but where do you run the exe on the PC or on the device?
If on the device do we need to copy OpenNETCF.dll there as well? Which folder?
Thanks
gekkkko said:
I think this is a really useful app. Forgive my ignorance but where do you run the exe on the PC or on the device?
If on the device do we need to copy OpenNETCF.dll there as well? Which folder?
Thanks
Click to expand...
Click to collapse
Hi, you need to copy both files to the device (to any folder you want).
An to use it just call the exe with the parameters you need (look at previous post).
Enjoy

Automated copy (restore) from SD card to the device

Hello,
I'm looking for a way that copies my backup files (these can be anything) to the device in an automated way.
Instead of copying each file manually, I would like to run a bat file or exe file that does this for me.
The problem is that windows mobile doesnt have a command line interpreter so bat files wont work.
Is there anyone that could point me to a direction how I can make this (what I need, etc...) ?
I also want to avoid using 3rd party software on my device to do this job.
Just an exe or something else that does the job.
Thanks
It really depends on what you're backing up. PIM data is good with PIM Backup (or similar).
texarcana said:
I also want to avoid using 3rd party software on my device to do this job.
Just an exe or something else that does the job.
Click to expand...
Click to collapse
Those two contradict as no such program exists natively.
ill explain some more:
what I want to backup isnt that important right now, it can be a txt file or a config file, an image, an mp3, ...
I'm more interested in a way how to do it
If S:\ is the location of my SD card and C:\ is the location of my windows mobile device then i want a script or an exe file or something that does the following (instead of having to do it manually):
copy S:\file1 to C:\
copy S:\file2 to C:\
copy S:\file3 to C:\
...
I use mortscript for backup and restore.
very useful
dan1967 said:
I use mortscript for backup and restore.
very useful
Click to expand...
Click to collapse
thx for the tip, it works great.
Even made myself a link in the startmenu, this beats using the explorer and doing everything manually
I've found my own solution to this one. It's not very exciting and it's pretty low-tech, but I keep a directory on my storage card called "Backup". Inside of it is an exact replica of my file structure I want to backup. For example: \Storage Card\Backup\Windows\BatteryStatus\. (In this case, this is where I keep my custom BS skins.) Then I go in with Total Commander, select the Backup folder, hit "copy", and the directory path pops up. I take \Storage Card\Backup\ and delete it, so I'm copying to the root of my main memory. Hit "OK" and voila! Settings restored. Primitive, I know, but it works.
Zoltair Wright,
If you want, you can take this 1 step higher in automating it with mortscript like i did. Then its only 1 click on a link in the start menu and it's done.
You can put the deleting, copying or moving in the script.
It's very easy to use and the manual explains a lot.
If you want I can attachment my tiny script as an example.
Cheers

[REF][TUT] Improve program launch times - UPX Squeezer BATCH

this is an old trick that was/is used for older devices to fit WinMo 6 on them
but a side effect is faster application load times
i figured i'd try it on the Blackstone and difference is noticeable
HTCAlbum loads in about 1 Second, before it took about 4
so i'm sharing this with anyone who is interested
The batch file is kept as simple as possible for everyone's ease of use
but this is pretty advanced tweaking, so all common warnings apply
and/or
if you are not comfortable with getting files from/to your PocketPC
and/or
can't figure out how to extract this zip and read the "read me.txt"
and/or
don't know what “any key” is DO NOT TRY THIS!
(read the forum and the wiki a bit more, and you'll gain the knowledge)
Version History:
v 1.0 - initial release
v 1.1 - no icon compression switch added to the batch, for more general compatibility
v alt - here geistteufel has released a new branch of the batch file,
this version uses a different method for packing files and may achieve better compression.
At the same time problems have been reported in the past with this method so all usual warnings apply.
a short list of EXEs that i have UPXed and work well for me
AdobeReaderLE.exe
ASyncKiller.exe
BCR.exe
Camera.exe
FMRadio.exe
GoogleMaps.exe
HTCAlbum.exe
iContact.exe
KeePassPPC.exe
kinoma.exe
Labyrinth.exe
LongPressEndKeyApp.exe
MP3Trimmer.exe
MusicID.exe
Opera9.exe
OperaL.exe
QuickGPS.exe
RSSHub.exe
s2p.exe
s2u2 Settings.exe
s2v.exe
StreamingPlayer.exe
TomTom Navigator.exe
USBtoPC.exe
WMRegOptimizer.exe
YotaCenter.exe
YotaCenterUpdater.exe
YouTube.exe
and here is a list of things NOT to compress
manila.exe
cprog.exe
thumbCal.exe
calculator.exe
wt5jetpr.exe
any DLL
Please share your findings so that others can benefit from it
(SEARCH this thread for your application name or EXE filename)
note: you'll have to repeat this proses after upgrading your applications
big thanks to;
edhaas - for the original simple to use batch file More info in this THREAD
UPX Team - a lot of technical info on the Website
kwbr - for a great ROM
and especially XDA-DEVELOPERS as a whole
Wow!
Thank you for sharing this. This also works great for S2U2. I noticed a difference in loading times. Also applied to this to iGO.exe and a few other .exe's
Thanks again for posting this.
Looks like hdtweak.exe and fdotfreds taskmanger have this done already.
Thanks for your explanations, everything worked fine till I had to copy files to Windows directory: access denied. What must I do to be able to copy files to WD?
Thanks and kind regards,
very very good! I try with commManager, yota contact, opera 9, resco explorer 2008 .....there is a time reduction in all! best performance in yota contacts from 5 seconds to 1 second
If this works so well I wonder why Microsoft doesn't implement it?
upx also works for large dll files!
andrewk21 said:
Thanks for your explanations, everything worked fine till I had to copy files to Windows directory: access denied. What must I do to be able to copy files to WD?
Thanks and kind regards,
Click to expand...
Click to collapse
for that you'll need something along the lines of total commander
i wish we could do this with manilia.exe but i tried and failed, it doesnt load, so had to restor it
I'm also having problem removing protection from some of the files :/
I tried to change properties via Resco Explorer, but without succes. As soon as I remove "Read only" attribute and click "Done", the attribute restores itself and I can't overwrite the new files.
I managed to update Yota; GoogleMaps, Nimbuzz and Opera - all load with visible speed improvement.
Tried Total Commander but can't get it to see my phone
It isnt working on the diamond saber. Icontacts and Yota center went well
WAUWW!!! my TomTom is now really fast!!
Thanks for sharing this app.
andrewk21 said:
Thanks for your explanations, everything worked fine till I had to copy files to Windows directory: access denied. What must I do to be able to copy files to WD?
Thanks and kind regards,
Click to expand...
Click to collapse
some files maybe in memory (used by your phone)
a trick to try is
connect with ActiveSync to the phone
browse into windows folder
rename the file you will be replacing (ex. HTCAlbum.exe to HTCAlbum.old.exe)
copy the UPXed version
restart device and test
if everything works delete the ".old." file
usrname said:
upx also works for large dll files!
Click to expand...
Click to collapse
it does indeed,
but in my experience with less noticeable results and much less reliability
so i didn't mention this
please list any DLLs that you have UPXed with us so that we can all benefit
elite-fusion said:
i wish we could do this with manilia.exe but i tried and failed, it doesnt load, so had to restor it
Click to expand...
Click to collapse
i had the same experience, but
best performance boost for Manila/TouchFLO is CFC compression of images (more info here)
Sir.B, can you please share info on how to remove attributes from System files? Tried through Resco File Explorer, but no effect - still can't overwrite old files, always having errors :/
Wow. This is great!
TomTom V7.450 From 6 down to 3 sec to splash screen!
I wonder if it would be possible to do this to all the exe and dll before cooking.
PocketPlayer also works. But most startup time is the drive scanning.
Google Maps also works, but it started up fast anyway. (also the 2 largest dll worked)
gpsVP works, but was already subsecond.
CommManager.exe worked, was a little faster
AdobeReaderLE worked but despite being a huge program, loaded fast to begin with.
PowerPoint worked but also despite being a huge program, loaded fast to begin with.
CorePlayer reports 'Already compressed'
G-Alarm reports '.net not (yet) supported), except for 2 dll's, they worked.
cybermaus said:
Wow. This is great!
I wonder if it would be possible to do this to all the exe and dll before cooking.
Click to expand...
Click to collapse
yea true, that would be GREAT!!!!! the roms would be superfast!!!!
thanks much for this tutorial. i upxed most of the exes u had listed and MAN, it really changed launch times in the apps. htcalbum is awesome and even s2p is launching faster
Rozenthal said:
Sir.B, can you please share info on how to remove attributes from System files? Tried through Resco File Explorer, but no effect - still can't overwrite old files, always having errors :/
Click to expand...
Click to collapse
i recommendation you read the WIKI and FORUMS,
this is a general question that has been addressed better than i can many times
cybermaus said:
...I wonder if it would be possible to do this to all the exe and dll before cooking.
Click to expand...
Click to collapse
elite-fusion said:
yea true, that would be GREAT!!!!! the roms would be superfast!!!!
Click to expand...
Click to collapse
to replace all EXE & DLL files would be quite an undertaking
because it's such a trial and error process (manila.exe and mode9.dll don't like to be UPX-ed, maybe many more)
and benifits are only noticeble for the largest of files
never hurts to talk with your chefs
Sir.B said:
some files maybe in memory (used by your phone)
a trick to try is
connect with ActiveSync to the phone
browse into windows folder
rename the file you will be replacing (ex. HTCAlbum.exe to HTCAlbum.old.exe)
copy the UPXed version
restart device and test
if everything works delete the ".old." file
Click to expand...
Click to collapse
No matter what software I tried, I just can't get to replace the protected system files.
I tried Resco, I removed the attributes but they're back as soon as I click "Done".
I also tried your described method, but clicking on "rename" in Windows Explorer via ActiveSync - nothing happens. The files seem to be permanently locked
Sir.B said:
i recommendation you read the WIKI and FORUMS,
this is a general question that has been addressed better than i can many times
Click to expand...
Click to collapse
Actually, I have been searching all over forums, but none of the methods described worked for me. Most recommend using Resco or Total Commander, both of which don't work for me. All of the files that have "ROM" attribute simply refuse to be modified in any way.
Thats right. You cannot modify ROM files. You cannot even copy ROM files. You'd have to dump the ROM to PC, which is not trivial. Best to only use this on post-installed programs that are not in ROM.
Interesting: Coreplayer gives me an "already packed by UPX"
Seems they learned this trick before.....

opera memory problem

good day
can someone tell me how to move the cahe folder of opera browser from the phone memory to the card memory i have an hd blackston wm 6.1
thanks
Hi there,
you can try the following (sourced from mobilitysite.com):
Move data and cache around to save memory
By default Opera installed a bunch of files and keeps cache in precious application data space (RAM). At least with the WM2003se version. By moving all of these files to a CF Card or SD memory stick you free up valuable RAM.
1) Edit the "Opera.ini" file located in "\Application Data\Opera"
2) Go to the "[User Prefs]" group
3) Change "Opera Directory=\Application Data\Opera" to a location that you would prefer such as "\cf card\opera"
4) Change "Help Directory=\Application Data\Opera\Help" to a location that you would prefer such as "\cf card\opera\help"
5) Move the following files and folders to the location that you specified above:
cach4 (folder)
help (folder)
imgcss (folder)
startpage (folder)
styles (folder)
chartables.bin
cookies4.dat
global.dat
opcacrt6.dat
opera.dir
oprand.dat
opssl6.dat
viger.dat
vlink4.dat
You are left with these files/folders in "\Application Data\Opera"
skin (folder)
opera6.adr
input.ini
opera.ini
english.lng
Mastoid said:
Hi there,
you can try the following (sourced from mobilitysite.com):
Move data and cache around to save memory
By default Opera installed a bunch of files and keeps cache in precious application data space (RAM). At least with the WM2003se version. By moving all of these files to a CF Card or SD memory stick you free up valuable RAM.
1) Edit the "Opera.ini" file located in "\Application Data\Opera"
2) Go to the "[User Prefs]" group
3) Change "Opera Directory=\Application Data\Opera" to a location that you would prefer such as "\cf card\opera"
4) Change "Help Directory=\Application Data\Opera\Help" to a location that you would prefer such as "\cf card\opera\help"
5) Move the following files and folders to the location that you specified above:
cach4 (folder)
help (folder)
imgcss (folder)
startpage (folder)
styles (folder)
chartables.bin
cookies4.dat
global.dat
opcacrt6.dat
opera.dir
oprand.dat
opssl6.dat
viger.dat
vlink4.dat
You are left with these files/folders in "\Application Data\Opera"
skin (folder)
opera6.adr
input.ini
opera.ini
english.lng
Click to expand...
Click to collapse
i didnt know what do you mean by edit (opera.ini)) is their any cab file without doing all this? thanks for trying helping me
abiis said:
i didnt know what do you mean by edit (opera.ini)) is their any cab file without doing all this? thanks for trying helping me
Click to expand...
Click to collapse
Try connecting via Activesync on your PC to locate the Opera.ini file, not through File Explorer, Resco Explorer, or Total Commander. If you still cannot find the file, on your PC, go to the Control Panel, Folder Options. In Folder Options on the View tab, under Hidden Files and folders, select the Show Hidden Files and Folders radio option, click OK.
1.Connect your phone to your computer, and connect to ActiveSync.
2.Open the ActiveSync window, then click the Explore Device button.
3.Navigate to \Application Data\Opera 9.x.
4.Find the opera.ini file (If you don't have file extensions enabled, it should just show as "opera".)
5.Copy the file to your desktop.
6.Open the file in a text editor, such as Notepad. Immediately do a File>Save as and rename the file to something other than opera.ini. This is your backup, just in case.
7.Now open the original opera.ini file. Scroll down to the [User Prefs] section and insert the following line: Cache Directory4=\Storage Card\operacache\. (Note: "operacache" can be renamed to anything you want.) Save and close the file.
8.Copy the new file back to your device, into the same \Application Data\Opera 9.x.
I'm not aware of any other ways to get around this.
mastoid said:
try connecting via activesync on your pc to locate the opera.ini file, not through file explorer, resco explorer, or total commander. If you still cannot find the file, on your pc, go to the control panel, folder options. In folder options on the view tab, under hidden files and folders, select the show hidden files and folders radio option, click ok.
1.connect your phone to your computer, and connect to activesync.
2.open the activesync window, then click the explore device button.
3.navigate to \application data\opera 9.x.
4.find the opera.ini file (if you don't have file extensions enabled, it should just show as "opera".)
5.copy the file to your desktop.
6.open the file in a text editor, such as notepad. Immediately do a file>save as and rename the file to something other than opera.ini. This is your backup, just in case.
7.now open the original opera.ini file. Scroll down to the [user prefs] section and insert the following line: Cache directory4=\storage card\operacache\. (note: "operacache" can be renamed to anything you want.) save and close the file.
8.copy the new file back to your device, into the same \application data\opera 9.x.
I'm not aware of any other ways to get around this.
Click to expand...
Click to collapse
hi
one more question plz if i do this steps will opera browser have speed problems thank you for helping me
abiis said:
hi
one more question plz if i do this steps will opera browser have speed problems thank you for helping me
Click to expand...
Click to collapse
Hi Abiis,
Yes. Unfortunately, this will affect the speed of your browser. I'm not saying you should try this, all I have done is posted a possible solution in reference to your query. I personally wouldn't recommend putting the cache on the storage card as this will result in slowing down the browser and possibly make it crash more often.
It is entirely up to you whether you try this but if you do not want a slow and laggy browser, then I would suggest you avoid doing this.
Good luck
Mastoid said:
Hi Abiis,
Yes. Unfortunately, this will affect the speed of your browser. I'm not saying you should try this, all I have done is posted a possible solution in reference to your query. I personally wouldn't recommend putting the cache on the storage card as this will result in slowing down the browser and possibly make it crash more often.
It is entirely up to you whether you try this but if you do not want a slow and laggy browser, then I would suggest you avoid doing this.
Good luck
Click to expand...
Click to collapse
HI Mastoid
thank you for your help thats what i want to know and thanks for your time you helped me a lot thanx bro
good day
abiis said:
HI Mastoid
thank you for your help thats what i want to know and thanks for your time you helped me a lot thanx bro
good day
Click to expand...
Click to collapse
No problem man, anytime
solution found, thread closed by request

Categories

Resources