yashsingh1/xdaforums huggingface dataset:
[Touch HD General] cybermaus:
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.
[Touch HD General] elite-fusion:
yea true, that would be GREAT!!!!! the roms would be superfast!!!!
[Touch HD General] kwill:
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:)
[Touch HD General] Sir.B:
i recommendation you read the WIKI and FORUMS,

this is a general question that has been addressed better than i can many times

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 ;)
[Touch HD General] Rozenthal:
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 :(
[Touch HD General] Rozenthal:
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.
[Touch HD General] cybermaus:
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.
[Touch HD General] cybermaus:
Interesting: Coreplayer gives me an "already packed by UPX"

Seems they learned this trick before.....
[Touch HD General] jake_tenfloors:
SKtools is a lot faster loading up now!

Garmin Mobile is about the same tbh!

SO ye, thanks :)
[Touch HD General] Svegetto:
so how does this accomplish the increased load lengths? (as technical/detailed as you can please) thanks
[Touch HD General] Sir.B:
you must mean "decreased"

in the first post there is a link to the actual UPX site, lots of interesting and technical information there.
[Touch HD General] andrewk21:
Actually I had the same problem, but in my case Resco File Explorer helped.

I.	Copy 3 Compressed to your Storage card

II.	Select ALL of your files in 3 Compressed and copy & past with Resco to Windows Directory.

Worked fine in my case. Good hunting!
[Touch HD General] cybermaus:
In a very simplified manner: Because the files are smaller, it takes less time to read them from flash. They need to be decompressed, so that add a little time again but there seems to be net benefit.
[Touch HD General] gierran:
Sir.B,

If I well mean, I have a smart possibility to increase a speed launch about a lot of file.exe as u showed in first post.

Well what I gain in speedy I think lost in memory space because I have to copy same (exe) files just resident into "1-original folder". It's this true?

Then at end processes I have replace a new exe compressed file from "3_compressed" folder into where I like it. It's true?

Ovviously I'like preserve also a memory (ram) space. I have a touch hd and also if it has memory ram enough, but I prefer if is possibile install all news folders (1-original, 2_backup and 3_compressed folders) in SD card. In that case, how I lost in speedy? Or all compression process is possibile in memory device only?

thank in advance
[Touch HD General] cybermaus:
Possibly you are mistaking internal flash storage for ram? Even if you would copy the compressed file back to internal storage, it will not cost you ram, only internal flash. Only once you run the program, a working copy is put into ram.

Anyway, the compression also works from external (SD) storage.

My personal rule is that any program that is permanently running or an OS extension, like today plugins, SIP extentions, no-curtain hacks, memory resident utilities, etc, then it is really better to store internally. Otherwise, if you take out the SD card or use it in USB-drive mode, your OS crashes. All the other applications can go onto the SD card.
[Touch HD General] gierran:
ovviously I mean apply UPX not at all programs, but only a lot of programs, hard programs only.

However thank again. I'll try just now what times are gained by same tests.
[Touch HD General] frederikk:
Tried it on several programs already listed on my touch HD... looks ok. Now i have to see if there is no drawbacks if i launch several programs and the "decompression" process on those several launched progz :)

Ciao

Fred
[Touch HD General] gierran:
I just copied Squeezer folder on touch hd. Then I choosed a navigator.exe to copy as first file into 1_original folder.

iii. How to use

1. just drop some exe files into the "1_Original" folder

(great test is HTCAlbum.exe or GoogleMaps.exe)

2. run the “run.bat” file

3. copy the exe files from “3_Compressed” to where you found them

run.bat say to open navigator.exe, then I open and closed it. But I haven't any file into 2_backup and 3_compressed folder.

Wher do I mistake?

thx
[Touch HD General] gierran:
it's all OK on pc. I runned instead on my device!!!! Sorry
[Touch HD General] Rozenthal:
This was one of the first things I tried, and still could not overwrite the files in Windows. No matter what I tried :( I get an error saying "The file already exists" and that's it :P
[Touch HD General] Svegetto:
I see, (and yes i meant decreased, lol).....so I'm thinking read time from ROM is slower than CPU time needed to decompress the file?.....I'll go to the site (but thanks for the info)
[Touch HD General] gierran:
Well. I just same try of rozenthal. I use Yota caller (resident in SD). So u can't erase dprog.exe, but only overwrite it. Infact afetr remain in folder a old dprog.exe. I rename as txt file, but isn't possibile erase it. U need a SR and then u can erase it.

Till now I have checked applications as navigators (iGO8 and Navigon 7) and Yota caller resident on SD. But I hoped to have just a little better launch time. Instead I look same about same time with and without compressions.

I have to check other applications but this time resident in memory device.
[Touch HD General] kkchan:
Hi,

My SKTools just dissapear after show splash screen when run after exe been compressed.
[Touch HD General] jolas:
Mine too :(
[Touch HD General] mr.jaguar:
I mentioned this to my chef and his comment was that it caused more trouble than it was worth.. anyone have any ideas about that? or anyone have any problems?

thanks

pat
[Touch HD General] S_K:
SKTools will not work after compression
[Touch HD General] cerato:
nope :)

compressed:

Opera9

OperaL

Camera

HTCAlbum

S2U2 settings

LongPressEndKeyApp

AdobereaderLE

RSSHub

Work fine :)
[Touch HD General] cybermaus:
So far, I had one program that jammed on me after compression (rlToday.dll a today plugin)

Many others could not be compressed for one reason or another. Others could be compressed, but did not save so much time, even though they were big. Like PowerPoint, AdobeReader, they are huge, but they also already have some mechanism to load fast and did not benefit.

Then there is also the warning on the UPX website that compressed routines cannot be share-loaded anymore. So specifically for OS related dll and exe, there may indeed be more problems than for add-ons. That is explicitly mentioned in the UPX website.

So in retrospect your chef is probably right. Every single item needs to be tested, and if it is an OS routine that can be called from many places, you may miss a test case. Also many programs worked but do not really become faster.

So probably best used for specific cases only, like TomTom, which really did speed up a lot. But if you do find a *specific* item that a) seems to work; b) is sped up a lot; c) is in your ROM; d) you are willing to test extensively, you may consider mentioning that specific one to you chef
[Touch HD General] Sir.B:
you'll have to respect your chef's decision, it's all personal preference. this can be a lot of pain to test.

Personally i don't recommend DLL compression, you'll never notice the results (my list does not contain any DLLs)

also to clear things up (as the subject of the thread states) this ONLY improves initial application load-times, not how fast things run. no magic here

so if it's something that always runs in the background (ex. cprog.exe largestartmenu.dll, all types of today plugins and many more) you'll never notice the benefit.

compressing everything insight will not give any extra gains,

compressing a few choice everyday used apps will

because its so much trial and error this is advanced tweaking,

the batch file creates backups for you for that reason

Exactly :D

P.S. please don't forget to share your results

P.P.S. list of some more applications that work

Vexed.exe

lightsaber.exe

FingerMenuCLOSE.exe

FingerMenuCTRL.exe

FingerMenuCONFIG.exe

kinoma.exe
[Touch HD General] Major_Sarcasm:
Damned good thread, thanks Sir.B.

Programs I've squeezed so far:

AdobeReaderLE.exe

AEBPlus.exe

AEBPlusSettings.exe

Camera.exe

cecmd.exe (Total Commander)

FMRadio.exe

GoogleMaps.exe

Home2.exe (PointUI)

HTCAlbum.xex

MP3Trimmer.exe

Opera9.exe

OperaL.exe

QuickGPS.exe

RSSHub.exe

USBtoPC.exe

voicecmd.exe

YouTube.exe

No problems and noticeable speed improvements when launching standalone apps.
[Touch HD General] yatrg:
iGuidance v4 does not work after compression.
[Touch HD General] whereSTheFUhd?!:
Will a hard reset restore everything back to factory stock?
[Touch HD General] Sir.B:
yes ofcourse
[Touch HD General] Koffein Schluck:
Works! Even stooped the times it takes to load before and after the packing!

My best result I got my compressing AdobeReaderLE, Camera and and iGo8.

Thank you for this tuning tip! I'm a tweak hunter and this one is really georgeous! :cool:
[Touch HD General] Steve James:
Sprite Backup doesn't work if any of the executables are compressed.

Also, having a problem with extension icons after compressing some executables. CodeWallet Pro .cw5, Cash Organizer .icb and Adobe .pdf extensions don't show up correctly in File Explorer.

Seems to be a problem if the icon is referenced at an offset in the executable.

I must admit that I've spent more time on this that I'll ever save from TomTom loading 3 seconds quicker!
[Touch HD General] Sir.B:
sorry your experience sux

thanks for sharing

here is another one that works

bejeweled2.exe
[Touch HD General] Steve James:
Could someone else (who has compressed Adobe Reader 2.5) just confirm whether or not pdf documents still show up with the pdf icon in File Explorer please?

Not sure if problems are down to a cooked ROM I'm running.

Thanks

Steve
[Touch HD General] Sir.B:
i can confirm that

but try this attached EXE //EDIT: attachment removed, batch file updated in the first post

there is an option in UPX not to compress icons inside EXEs

let us know if this EXE works (it does for me, i now see icons in Explorer for PDF files)
[Touch HD General] ou2mame:
i haven't read this entire thread, but here's some of the more obscure programs that i did this to that seem to have no side effects.

kinoma

google maps

iris browser (new just released yesterday)

pencil box

photogenics

pocket artist

pocket gravity

rpicviewpro (resco photo viewer pro, and rcapture.exe also)

skyfire

these are programs that i use everyday and had longer than average load times, and the load time has been significantly decreased.
[Touch HD General] davenukem:
Ok, how do i go about doing this to files in the windows folder. Could somebody give a guide to actually RENAMING THE FILE because when i attempt to do this with Total Commander it appears it does nothing and i can't copy the file anywhere. Any help would be appreciated. Btw... is total commander supposed to be used from the PC (using mobile version), not sure if TC can be used like Active Sync.
[Touch HD General] agrenwa:
I'm wondering after going through the process of compression with succes I flash a new rom is there a way to backup and restore the compressed files so I don't have to do this with every flash
[Touch HD General] Steve James:
Brilliant, works a treat. Have also fixed CodeWallet and Cash Organizer.

Now to see if the 'don't compress resources' flag fixes the Sprite Backup problem!

Thanks very much

Steve
[Touch HD General] Sir.B:
i'm sorry, this is beyond the scope of this thread

and this has been addressed much better numerous times in other threads

please search and explore this forum

also simply consider skipping the few files you can't replace/rename, and move on to others

glad it works, I'll be updating the batch with this switch, for general compatibility

let us know how other things work out for you

there is a way, but i don't recommend doing this

because the Chef may have updated the version of the app within the ROM

replacing that EXE you'll in fact be downgrading

this may introduce bugs that are hard to hunt down

worse yet you may not have some new options or features ;)

just re-compress the EXEs from the new ROM
[Touch HD General] chronster:
what happens when you compress things like gwes.exe or rundll32.exe?
[Touch HD General] wmvdg123:
How is this different from upx4ppc? Does it improve the compression ratio?
[Touch HD General] chronster:
Can someone try this with pictureMail.exe?
[Touch HD General] Sir.B:
your PPC breaks, [jk]and you get a tumor[/jk] :)

you should, and tell us how it goes, the batch does create a back up for you

if this is confusing this is not a tweak for you

this runs on your Computer not your phone

this has no GUI, so may be harder more confusing to use

i never used upx4ppc so this is not an expert observation :|

i don't know what options it has or what level of compression is used

i personally want to manage my backups on my PC not PPC (which seems i'd have to do with upx4ppc)
[Touch HD General] chronster:
IDZ NOT A TUMAH

haha. kindergarten cop with Arnold Schwarzenegger 1990. rent it

Ok I'll let u know. I was just being lazy lol
[Touch HD General] chrissilui:
Does anyone know if it´s possible to compress and speed up Contacts?
[Touch HD General] chronster:
This is nice. I uncompressed the squeezer zip into it's own directory on the desktop of my PC, then I hooked up my phone via active sync and selected browse files and folders. Now I can optimize the exe, replace it on the phone, and run it right from the phone to test.

Here's my results:

SprintTV:

Launcher.exe - works

SprintTV.exe - works

TickerTape.exe - .net not supported

Skyfire.exe - appears to work

AudioBooster.exe - works

PictureMail.exe - works

PictureMailWAP.exe - works

There aren't really any other apps I can think of that I wait on.
[Touch HD General] chronster:
Ok here are some files I'd like someone to test for me (I'm at work and just got caught by my boss messing with this LOL.)

All these exe files are located in \Windows:

calendar.exe

catalog.exe

connmgr.exe

fexplore.exe

LiveSearch.exe

notes.exe

OneNoteMobile.exe

pxl.exe

pword.exe

ppt.exe

updatePRL.exe

Compressing these may decrease ram usage (and startup times:)

Biotouch.exe

PhoneAgent.exe

poutlook.exe
[Touch HD General] Sir.B:
compressing these will not, again NOT, decrease memory usage

this is a tweak for launch time only, please READ the tread CAREFULLY (it's not that long)

and please don't ask others to become gene-pigs for you

some of these files maybe risky to compress, with NO noticeable gains (read the thread)

wait until you get home, like the rest of us have to :)
[Touch HD General] chronster:
wait a tick. If I have program that's 1mb in size that loads up in my startup folder, doesn't it take up 1mb of ram? So compressing that file to like 500kb would mean it would only take up 500kb or ram?

Also, Sir. B, do me a favor and try running this compression tool against your entire \Windows directory and lets see what happs :D
[Touch HD General] Sir.B:
please read UPX documentation

programs are decompressed on the fly when loaded into RAM from ROM/STORAGE

so when running they are still their original size

the launch times improvement is because it's faster to read a small file and decompress it, than to read the original big file

again this is the reason why you will not see any improvements with things that run in the background at all times

NO (many reasons why not and i don't want to re-list them again and again)

//EDIT: glad you were joking, i thought so, but it's hard to tell with just text
[Touch HD General] chronster:
aww cmon guy. Be my gene-pig! LOL I'm just kidding man. I was being facetious. Also, thank you so much for this find. I forgot to say that :P

Anyways, more programs I tested it against and works:

AEButton plus (AEButton.exe) Loads faster now

Mundu Radio.exe

TeleNav.exe (Sprint's navigation located at \Program Files\TeleNav\TeleNav.exe Loads up WAY faster now.)

More files that won't compress:

AdvancedConfig

GNAgent.exe

TaskFacade

MortScript's autoRun.exe worked, but mortScript.exe already is compressed. The fact that they did one and not the other could indicate that I'll run into issues (like perhaps they have found issues and its what kept them from compressing that particular file.)

Barcorama.exe

NFL Mobile Live.exe

PocketPicture

RegistryEditor.exe

edit:

OK I just wanted to add that Squeezer 1.1 is needed for Mundu and Sprint navigation. Everything else compressed fine, but in the programs folder, the phone started lagging bad trying to load the icon.

Thanks again Sir B.
[Touch HD General] harrispo:
Pocket Player (pocketplayer.exe) works fine

Very minor difference in loading speed though
[Touch HD General] Steve James:
Hi Sir.B

Unfortunately adding the ignore resources flag does not fix the problems with Sprite Backup. I assume it's because it's doing some fancy stuff to generate self expanding backups etc.

Cheers

Steve
[Touch HD General] sbirsen:
My Tomtom still takes around 6 sec, same as before.

However the camera application appears to load faster.

Tomtom is on the storage card, would that make a difference ?
[Touch HD General] potatochip:
TomTom

Egress

Nimbuzz

Opera9

SPBDiary.dll

all work with significant improvement in startup.

This is how things should work :-)
[Touch HD General] chronster:
http://xdaforums.com/showthread.php?t=459125 This guy wrote a program that basically replaces all your menus with finger friendly menus. The problem was, it's pretty sluggish, especially the config app. After compressing the EXE's with Sir B's utility, everything starts up much faster. The configuration exe profited the most from the compression.
[Touch HD General] aussiebum:
Hi all, for those people who want to do the UPX compression directly on their phone AND have backups created for them use UPX4PPC => http://xdaforums.com/showthread.php?t=394088

Works quite well - had it done on "Four Winds Mahjong" exe and can report it started up noticably faster :) after discovering this thread going to try on it other stuff too...
[Touch HD General] davideuck:
This app is SUPER, no doubts! :D

I want to suggest one thing. I've used squeezer for at least 70% of the exe files into my rom. I don't have problems with all them but I've noticed a thing. When I've used Opera9.exe compressed, when I exited from Opera, my ram was around 90 Mb. With the SAME usage(I've done many many tests trying to opening the same pages), using the standard Opera9.exe I had around 100/105 Mb of free ram. This is a big difference, expecially for a rom with dynamic pagepool.

Then I suggest to don't use squeezer for Opera9.exe. But worked good for all the other exe files listed on first post... ;)
[Touch HD General] kwbr:
Hi David you are right. Once loaded into memory the exe will consume more space compared with the original exe. I noticed this when I used to cook for Elf which is short on memory. So it is not always a good idea to compress (e.g. for programs that run as service in the background).
[Touch HD General] chihliouma:
This is amazing. I've tried pocket MSN and SKYPE, and both can work well.
[Touch HD General] Nvidia32:
Work well

* AdobeReaderLE.exe

* ASyncKiller.exe

* BCR.exe

* Bubbles.exe

* Camera.exe

* ConnApp.exe

* Explorer.exe

* FMRadio.exe

* GoogleMaps.exe

* HTCAlbum.exe

* iLock2.exe

* IrisBrowser.exe

* Labyrinth.exe

* LongPressEndKeyApp.exe

* MN7LS.EXE

* MobileShell.exe

* MP3Trimmer.exe

* MusicID.exe

* NFBrowser.exe

* NFLauncher.exe

* OperaL.exe

* PanelManager.exe

* PimUIHelper.exe

* QuickGPS.exe

* QuickMark.exe

* regedit.exe

* RSSHub.exe

* RViewer.exe

* s2p.exe

* S2PCHR.exe

* s2u2 Settings.exe

* s2u2.exe

* Skyfire.exe

* StreamingPlayer.exe

* USBtoPC.exe

* YouTube.exe
[Touch HD General] harrispo:
I did this to most of my programs - including the inbuilt HTC stuff. My phone now runs like a dream :D
[Touch HD General] RaceFace:
Application List

All these applications work after squeezing:

__cusTSKTEMP.exe

AccelerometerCalibrator.exe

AdobeReaderLE.exe

AdvancedNetwork.exe

AlbumSearcher.exe

ArcMC.exe

ASyncKiller.exe

AudioBooster.exe

AudioManager_Eng.exe

AutoAttribute.exe

AutoRun.exe

AutoShortcut.exe

BCR.exe

Camera.exe

cecmd.exe

cgacutil.exe

CheckAutoRun.exe

CleanGPSData.exe

ClearStorage.exe

CommManager.exe

ConfigureDevice.exe

ConnectionSetup.exe

ConnectionSetupAuto.exe

CVDSetting.exe

DataDisconnect.exe

DeviceInfo.exe

EndKey.exe

eT9MyWords.exe

FaxView.exe

FMRadio.exe

GoogleMaps.exe

HTCAccountManager.exe

HTCAlbum.exe

HTCMessage.exe

HTCUSBToPCPopUp.exe

IA_Zip.exe

jbed.exe

Labyrinth.exe

LongPressEndKeyApp.exe

ManilaActivateToday.exe

MicrophoneAGC.exe

MP3Trimmer.exe

Mute.exe

NewMailAccount.exe

OneNoteMobile.exe

OperaL.exe

PhoneAgent.exe

Pigeon.exe

PKG.exe

Powerexe.exe

PowerOffWarning.exe

ppt.exe

pword.exe

pxl.exe

QuickGPS.exe

rar.exe

Recorder.exe

Redial.exe

regedit.exe

RSSHub.exe

RSSHubWakeUp.exe

SAPSettings.exe

SDDialer.exe

sdpready.exe

SIMLock.exe

SIM_MGR.exe

SpbWirelessMonitor.exe

startkey.exe

StartUPBioTouch.exe

STK_UIPPC.exe

StorageLow.exe

StreamingPlayer.exe

TaskManagerApp.exe

TaskManagerLite.exe

TFSettings.exe

Transport.exe

Uploader.exe

USBtoPC.exe

voicemail.exe

VTKey.exe

wcsan.exe

WiFiSettings.exe

Wifi_ON-OFF.exe

WirelessRpConn.exe

WLANSettings.exe

WLMLauncher.exe

WLMMessenger.exe

WLMSetup.exe

wt5tstpg.exe

xT9Settings.exe

YouTube.exe

ZipView.exe
[Touch HD General] chronster:
wow great lists guys
[Touch HD General] Sir.B:
YES

thank you everyone for your contributions

i'm sure many people will find these lists useful
[Touch HD General] RaceFace:
Thanks.....
[Touch HD General] 10184911:
Great app! tested out in the following apps. They all worked.

camera.exe - Faster

goodMaps.exe - No much faster

HTCAlbum.exe - Faster

iGO8.exe (v8.0.x) - No much faster

SPB Time.exe - No difference

YouTube.exe - Faster