FORUMS
Remove All Ads from XDA

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

250 posts
Thanks Meter: 3
 
By Sir.B, Senior Member on 12th February 2009, 01:42 AM
Post Reply Email Thread
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
Attached Files
File Type: zip Squeezer 1.0.zip - [Click for QR Code] (300.7 KB, 374 views)
File Type: zip Squeezer 1.1.zip - [Click for QR Code] (300.7 KB, 4205 views)
The Following User Says Thank You to Sir.B For This Useful Post: [ View ] Gift Sir.B Ad-Free
 
 
12th February 2009, 07:54 AM |#2  
AllTheWay's Avatar
Retired Senior Moderator
Flag Folsom, California
Thanks Meter: 100
 
More
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.
12th February 2009, 12:44 PM |#3  
Junior Member
Thanks Meter: 0
 
More
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,
12th February 2009, 01:22 PM |#4  
Member
Thanks Meter: 0
 
More
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
12th February 2009, 02:37 PM |#5  
sschrupp's Avatar
Senior Member
Flag Iowa
Thanks Meter: 9
 
More
If this works so well I wonder why Microsoft doesn't implement it?
12th February 2009, 03:04 PM |#6  
usrname's Avatar
Senior Member
Thanks Meter: 10
 
More
upx also works for large dll files!
12th February 2009, 03:11 PM |#7  
Senior Member
Thanks Meter: 5
 
More
Quote:
Originally Posted by andrewk21

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,

for that you'll need something along the lines of total commander
12th February 2009, 03:24 PM |#8  
Senior Member
Flag Brooklyn, NY
Thanks Meter: 83
 
More
i wish we could do this with manilia.exe but i tried and failed, it doesnt load, so had to restor it
12th February 2009, 03:43 PM |#9  
Rozenthal's Avatar
Retired Recognized Developer
Thanks Meter: 11
 
More
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
12th February 2009, 03:47 PM |#10  
Senior Member
Thanks Meter: 0
 
More
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.
12th February 2009, 04:11 PM |#11  
Sir.B's Avatar
OP Senior Member
Flag N Y C
Thanks Meter: 3
 
More
Talking
Quote:
Originally Posted by andrewk21

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,

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

Quote:
Originally Posted by usrname

upx also works for large dll files!

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

Quote:
Originally Posted by elite-fusion

i wish we could do this with manilia.exe but i tried and failed, it doesnt load, so had to restor it

i had the same experience, but
best performance boost for Manila/TouchFLO is CFC compression of images (more info here)
Post Reply Subscribe to Thread

Tags
compress, executable, speed up, startup, upx

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes