How to reduce windows folder files - Touch HD Windows Mobile ROM Development

Hi,
I'm just testing my cooking skills on sparkienl's kitchen.
Problem is I've noticed that every package I put inside my ROM, even if I redirect it to the program files, puts it files on both program files and windows folder.
now, normally this wouldn't bother me much - but the folder has well over 5000 files (had about double that number before), since I presume it has an impact on performance I'de like to know if I can safely delete the files on the window folder (and how) or not,
thanks in advance and sorry if the question was asked before - I did lots of searching and couldn't find anything helpful

Euch said:
Hi,
I'm just testing my cooking skills on sparkienl's kitchen.
Problem is I've noticed that every package I put inside my ROM, even if I redirect it to the program files, puts it files on both program files and windows folder.
now, normally this wouldn't bother me much - but the folder has well over 5000 files (had about double that number before), since I presume it has an impact on performance I'de like to know if I can safely delete the files on the window folder (and how) or not,
thanks in advance and sorry if the question was asked before - I did lots of searching and couldn't find anything helpful
Click to expand...
Click to collapse
Why not ask this query within kitchen thread?

I wouldnt go about just deleting files from the windows directory. That said, i think the program extendir can be used to move files out of the windows directory whilst still leaving them functional. I think it must be cooked into ROM or something (i never looked into it) or if the project is still on.

Fallen Spartan - because it happend on both Sparkienl's and Juggler's kitchens I've tried, so I presumed its more of a common ROM cooking question then a kitchen specific one - your call on whether to keep the thread open,
Ask - thanks, looks like a great addition to te ROM, but as far as I've read its only for files added after the ROM have been flashed, meaning I will need to create a bare ROM, its not so far from what I want - but there are still those pesky thousends of files

Related

Post Exteneded Rom Links Here.

We have lost the exteneded roms again.
This is the 2nd time that I know of.
I think this has to do with the fact that they were not linked to post thus unkonw files get killed. I read that some were when I first came here.
I have most of them and will start uploading them again, linking them to a post.
Anybody have a better idea or know why they have gone?
Not sure whether they've been deleted or not, unless you have been reposting. They are under BlueAngel_Roms instead of Extended_Roms. Things seem to keep getting moved.
And what are they doing there ?
Sure I have been uploading to ExtenedRoms for over an hour now.
I will move the buggers!
Rename The Folder Exteneded_Roms
Clean up the file names
Gee I love house work thought I was would be cooking in the Rom Kitchen, but no.
We are going to have to post the links as they got killed once before.
Thought you were out.
Can you belive this!
Got a folder name that says "Dont touch MDAIIIUser Uploading" and we have dowloades.
You around need so help.
ok done
cleaned up the Exteneded_Roms
Will post in the morning.
We need to take these apart and find what version they are then rename them.
ftp://xda:[email protected]/BlueAngel/Exteneded_Roms/IIs Asia WWE Ext ROM.zip
ftp://xda:[email protected]/BlueAngel/Exteneded_Roms/Seimens_SX66_Ext_ROM_ENG.zip
ftp://xda:[email protected]_MDAIII_Extended_Rom_Inc_DeviceInfo.zip
Do you need some assistance with the Excel sheet for ROM Versions and contained cab files?
Is there a neater way of structuring the ftp server directories? Is there any way of setting folder permissions on the server for read/write only and not alter/delete?
Bebbo
Do I need help in the Exteneded Rom Kitchen. Does the .... (ok no bad jokes)
Sure do BIG Time!!! Its not my kitchen, I just work there!
The Idea of the Kitchen is not realy to find out what version number Orange Rom A has for an application but to see if Orange's Rom A has application / Patches that are better than our base.
The Sheet just is a list of the files which go:
Base (I-mate) + Rom A + Rom B = Extended Rom Kitchen (ERK) Rom
My end goal is to generate a ERK Rom Version which is as upto date as possible.
And have this info on wiki so we dont need to hunt for it.
How far am I, Well The UK orange rom has been looked at but info not posted in the kitchen.
( I think RTP worked on that but I am not sure as I was haveing PMs with few people about that rom. )
We have the 3 roms above that need to be looked and info posted in the Kitchen and added to the Excel Sheet.
The Excel Sheet needs to be made to look nice so the rest of us can undersatand it.
We need to check against the "List of know Blue angels" to see what rom is missing and see if we can find it.
Oh yes and its friday, I get to pick my kids as its "The 3rd weekend of every month" and as my ex-wife has got a date, thus By 12:00.
Chances of me doing much till monday are ZERO.
So you want a job, pay is s**t, hours are bad, it can get hot in the kitchen when there is a fire and you lose all your stuff.
You need to understand Roms, read cab files, use your brain and most of all admit to the fact that you don't know everything and thus ask.
I am looking for Pastry Chef as well. One that can write applications.
Is there any way of setting folder permissions on the server for read/write only and not alter/delete?
Click to expand...
Click to collapse
Given that at the moment we are all the user XDA, I would say no.
What we need is a "BA_Admin" that revokes the rights of XDA to Read only, then we just get into the next problem, the person that posted (XDA) can't update it, so he needs to be BA_Admin...
The FTP site is a public place and like Toilets some people just can't pee in the Pot like the rest of us and sonebody has to clean up the mess.
Is there a neater way of structuring the ftp server directories?
Click to expand...
Click to collapse
Got some ideas, then share them with us.
Will have a look at dir structure but seems reasonable to me at the moment (Though Extended is the correct spelling ). Will use my WinCE CAB Manager to see what if anything is different on rom's you haven't had chance to view yet and generally assist where I can.
I will have a look at the orange rom as well, time permitting.
Would it be better to extract the .nbf files to sub dirs under the Extended_ROMS dir and have similar structure for radio and CE ROM?
ie ->
BlueAngel/Extended_Roms/Imate_PDA2k_WWE_12200_162_10600_SHIP/ms_.nbf
(With cabs extracted as well under a cabs sub dir?)
BlueAngel/CE_Roms/Imate_PDA2k_WWE_12200_162_10600_SHIP/nk.nbf
BlueAngel/Radio_Roms/Imate_PDA2k_WWE_12200_162_10600_SHIP/radio_.nbf
Or leave as is and use the kitchen with a CAB's dir under it with all known versions of cab files so we can select the most appropriate ones?
I've posted the document on the Orange 1.12.139 ROM into the Kitchen. It's fairly large since there is so much in the Orange ROM.
Here's a link:
ftp://xda:[email protected]_1_22/Docs/Orange_WWE_1.12.139_ExtROM.doc
Unfortunately nothing really new though (Wish I had known you were doing this rom - just wasted 2 hours!).
I haven't looked at the WModem.exe update yet - any ideas what this is for?
Who keeps moving files in the BlueAngel section of the FTP server? Makes life difficult having to keep searching each time. Please let us all know what you are trying to achieve as it keeps breaking links on other web pages!
Running it comes up with this text:
The utility will simulate this device as a wireless modem, and let your PC/Notebook be connected to network wirelessly.
Before you press the 'Start' button, please make sure you have connected the device to your PC/Notebook by serial or IrDA connection and disabled the Activesync.
When the wireless modem is activated you will not be able to receive any voice calls.
Click to expand...
Click to collapse
It then gives options for Serial, IrDA, USB and Bluetooth. Start, Stop and View Log buttons. Plus connection status LEDs - Connection, Send Data and Receive Data.
I've never tried it. I tend to use something more direct for dialup from my laptop.
OK guys!!!
I don't know what your naming system is but I've uploaded the O2 UK EXT ROM and I've called it "O2_UK_XDAIIs_Ext_ROM_112178_WWE.zip". This one is the original from my device.
Regards,
Dom
Ext_ROM password??
MDAIIIUser said:
ok done
cleaned up the Exteneded_Roms
Will post in the morning.
We need to take these apart and find what version they are then rename them.
ftp://xda:[email protected]/BlueAngel/Exteneded_Roms/IIs Asia WWE Ext ROM.zip
ftp://xda:[email protected]/BlueAngel/Exteneded_Roms/Seimens_SX66_Ext_ROM_ENG.zip
ftp://xda:[email protected]_MDAIII_Extended_Rom_Inc_DeviceInfo.zip
Click to expand...
Click to collapse
Any known pw's for those .nbf files? I tried Rom editor but couldn't recognize the pw's
Re: Ext_ROM password??
Cyber-mate said:
Any known pw's for those .nbf files? I tried Rom editor but couldn't recognize the pw's
Click to expand...
Click to collapse
They aren't .nbf files???????? They are zipped up (rar'd up) cab files extracted from the extended roms.
+*+*+*+ FOR INFO +*+*+*+
The xda3nbftool has an extra command line option of -t which attempts to discover the xor key used to encrypt the .nbf files. This seems to work well for all files except the radio_.nbf file which causes it problems. Try it on roms that you are having problems with to see if it is the correct key. You can check the resulting .nba file with a hex editor to ensure the PH20B and other data is shown at the beginning of the .nba file.
+*+*+*+*+*+*+*+*+*+*+*+
I have pulled the above ext roms apart and the version numbers are as follows:
IIs Asia WWE Ext ROM.zip = Version "1.12.925 WWE"
Seimens_SX66_Ext_ROM_ENG.zip = Version "1.20.115 WWE"
T-Mobile_MDAIII_Extended_Rom_Inc_DeviceInfo.zip = Version "1.06.117 WWE"
Files renamed appropriately so any links will now be broken (plus the fact that some kindly person has renamed the Extended ROM directory to its correct spelling!)

Trouble with ROM cooking

(First post and not really good english)
One week after i bought my phone (HTC P4350, unbranded) i discovered this site/forum. A very usefull site, i learned much.
Now i am going to try to build my own rom. Based on this howto. (not Vista, but XP Professional)
(WM6: All WM6/WM6.1 ROMS --> All Official HTC Roms --> WWE version)
first i followed the howto without modifications to SYS and OEM to test if everything was working. result: as expected, a working phone.
next step was to remove some folder from SYS.
first try: remove 'windows update' (AUTOUPDATE, Autoupdate_Lang_0409)
flashed to phone, result: Start->Settings->Tab System->Windows Update fully functional, so it is not removed at al,
second try:
restored AUTOUPDATE, Autoupdate_Lang_0409
removed INTERNETSHARING
flashed to phone, result: Start->Programs->Internet Sharing, functional for so far i could test (no internet on phone, sim in other phone), but IntShrUI.exe was available in \Windows
Troubleshooting/Guesses about what went wrong
- Am i deleting stuf in the right directory (C:\Core\Hypercore\Build\SYS)
- Can i continue working in the kitchen after i flashed one time, or should i delete c:\core and start al over again by every modification?
after some houres searching on google and this site i did not found the solution or anyone with a problem like this.
i am doing something wrong, but do not know what.
'Met vriendelijke groet' (Greetings)
Robin
You're doing fine. Not sure why you would still have functioning parts after removing them... you took them off the SYS folder and place them where? (Somewhere NOT in the build folder.)
no, not in the build folder, i put a 'backup'/'copy' in a subfolder of 'my documents'
so i don't think that is the problem
edit:
i carefully read the howto for x time again and know i am wondering if (as below, quote) also goes for SYS folder, find everything with 'intshrui.exe', 'internet sharing', 'autoupdate', 'autoupdate.exe', etc
Add the oem packages into the oem folder. Total commander and networkwzard don’t require removal off default files from the oem folder, but comm. Manager do, and so do htc home. The way I use to find duplicate files, is before I add the oem packages, I open in.ex the new package with comm manager, and I highlight the OEM folder and rightclick and choose searchtab. Search for files, type in search “comm.” And all files containing the word “comm.” Will be displayed, dele them (make sure they belong to comm manager, that the names matches the one in your package)
When you have searched for all files in your package, and deleted them from the OEM folder, you can add you package.
Follow same steps for all packages you add, that can have duplicate files, if you don’t you will get error when building the rom, and the build process will terminate, tell you what file is duplicate. You must then find the file, and remove it (don’t remove the one in your new package)
Click to expand...
Click to collapse
You did it correctly... I wonder if it's really building the ROM or just flashing what's already in there...
I would offer that you use my kitchen, but I think you would definitively keep trying at the HyperCore because it sounds like you might be one of the next generation of cooks. My kitchen is more for the average person who doesn't want to or have the time to learn how to cook but wants their own custom ROM.
what i want for now i a rom with the software i 'need' of like.
i will give your kitchen a try, this link right?
but i don't give up with HyperCore because it should work. if other can do it, i can do it (i think)
r.g.j.jansman said:
what i want for now i a rom with the software i 'need' of like.
i will give your kitchen a try, this link right?
but i don't give up with HyperCore because it should work. if other can do it, i can do it (i think)
Click to expand...
Click to collapse
I'll be uploading Beta 2 soon with a LOT of fixes, you might want to wait until then. Any packages that you'd like to see there before I start uploading?
most packages that i need are in the list.
Basis apps like Office, audio manager are there, same goes for tools.
Your kitchen works easy. Nice work.
With the current release (downloaded at +/- 20:00 GMT+1) has some errors while building. Such as 'the file 'temp\dump\winlive.htm' already exists'.
i think i can handle those error my self, isn't it?
Greeting
Robin
r.g.j.jansman said:
most packages that i need are in the list.
Basis apps like Office, audio manager are there, same goes for tools.
Your kitchen works easy. Nice work.
With the current release (downloaded at +/- 20:00 GMT+1) has some errors while building. Such as 'the file 'temp\dump\winlive.htm' already exists'.
i think i can handle those error my self, isn't it?
Greeting
Robin
Click to expand...
Click to collapse
the double in \tem\ is not important... but there msut be a double in one of the sys or oem folders. try to search them and delete one of them....
Exactly. Do a search for the OEM and SYS folder for the files in question and delete the duplicate. All these errors have been fixed in the Beta 2, but I haven't had time to upload them, yet. (Tried last night but the connection went out half way through it.)
On a brighter note, I'm slowly buying all the parts I need this week to finally rebuild my computer!! (For those that have been here long enough to know my PC fried and I've been working off my ancient laptop for a while.)
when you have uploaded beta2 i will give it a try
good luck with (re)building your pc
i think i know what went wrong..
When starting Hypercore\Panel\Build\BuildOS there are for me 3 options
1. Start "Build OS"
2. Create OS.nb from Sys and OEM
4. Flash
The first time (without changes to SYS and OEM) i copied OS.nb to HyperCore\Tools\RUU for flashing my phone.
By the second test with changes to SYS and OEM i started BuilOS, followed all 3 steps but did not copy OS.nb to HyperCore\Tools\RUU so the first ROM is flashed again, and not my modified ROM
I will now give it another try and will let know the result. But i'm pretty sure this was the problem.
Thanks already for trying to help me.
That would DEFINITIVELY be a problem. lol
After you run 1, then 2, the os.nb will be at the build folder after.
Still some trouble
here i am again.
i don't know if i should start a new thread or go further with this one.
After i removed some software, i am now trying to add software (oem packages). As source i have some cab files. They have to be converted to an oem package, (i read, found on this forum). So i tried to.
Reading and applying this one, and this one BuildOS make trouble.
An messagebox appears with 'Data Exception' and in the bottom (status) is says
[ Error, Last status: "Processing: OEM\OEMAPPS... Searching for dsm file" ]
I tried also with an OEM Package (PocketRAR) downloaded from here.
It keeps saying the same error.
Who can help me?
if you need more information you can ask me for it.

Creating your own ROMs

I am a software developer by trade and so I hope I will be comfortable with creating my own ROM. However, I have no idea where to begin! Can anyone point me in the right direction?
on the wiki you can all read about it.
xmoo said:
on the wiki you can all read about it.
Click to expand...
Click to collapse
Thanks for the quick replu xmoo. I've had a look there before but it's not answering any questions. I have no idea what dev environment I need nor how to do it. Am I missing something or is it just my Sunday head?
you need a kitchen, in the kitchen you unpack a ROM image, you then exchange, remove or add files to the extracted ROM image. then you repack it. thats it. no programming skills involved.
and all information regarding kitchens can be found in the wiki, I did at least.
schaggo said:
you need a kitchen, in the kitchen you unpack a ROM image, you then exchange, remove or add files to the extracted ROM image. then you repack it. thats it. no programming skills involved.
and all information regarding kitchens can be found in the wiki, I did at least.
Click to expand...
Click to collapse
Thanks for the info.
I have Hard-SPL'ed my X1 and am ready for a new ROM now. I have downloaded a NBH file and used the NBHUtil to unpack it. Is this the point at which I customise the individual parts? If so what do I use to do this with the NB files?
NBHUtil is not a kitchen, its a utility only. And NB files are just the components of the NBH file, like a NB for the radio part, a NB for the OS part, a NB for ... you get the idea. The actual contents (exe, dll, eg.: files that ARE windows mobile) are encoded inside the NB's.
Search for "RaphaelKitchen" version 0.62, download that. Once you got that far, get back in here and I'll give you the config files you'll need for the RaphaelKitchen.
Instructions on how to do what: http://forum.xda-developers.com/showthread.php?t=427507
In that message, leave out the parts about dumping and get directly to the instructions for the kitchen. The actual "cooking" (thats what its called, hence its called a kitchen) comes between instructions "e, b (for dumped ROM),space key" cuz now you just unpacked the ROM and you have tons and tons of DLLs, EXEs, eg.: you unpacked the NBH in NBs and decoded the NBs to its contents.
You cook by removing and adding stuff to the respective folders.
After you did that, continue by following the post: "c, a, press BuildOS Play icon and wait to finish, Close BuildOS, close PagePool Changer and press space" which equals putting the files back together and compiling a new NBH which you can flash...
and i'm sorry but the WIKI acutally REALLY does explain all that:
http://wiki.xda-developers.com/index.php?pagename=Kaiser ROM Kitchen Tutorial
The RaphaelKitchen is a modified version of alex kitchen for the kaiser, it is essentially exactly the same.
Cheers Schaggo!
I was looking at the Xperia Wiki not the main Wiki My bad sorry.
I'll give this a go later and report back
No problem, no problem. As I said, as you start cooking, get back in here and I'll provide pre-edited config files with all the settings for the X1.
schaggo said:
No problem, no problem. As I said, as you start cooking, get back in here and I'll provide pre-edited config files with all the settings for the X1.
Click to expand...
Click to collapse
Hi, could you provide the pre-edited config files for X1? Thanks.
Ok so here's what I have done:
Download and unpacked RaphaelKitchen 0.62 as stated.
Ran it with 'e' then 'a' as the command line parameter to extract the NB files again (just to see).
Found all the NB files in BaseROM folder and a sh*tload of mixed files in the temp folder. At the root I have a couple of BIN files as well as some NB related files. dump_imgfs and dump_xip are the main folders in there with lots of bits beneath then. Is this right?
Then ran the build ROM commands as you stated. Pagepool wasn't open though(?) or couldn't see it anyway. Everything else went to plan and I got a NBH file in the end.
I expected the packages folder to be populated but nothing went in. Has this all gone to plan?
**Edit: Also never saw PagePool **
Here is the extra config you need for X1
Extract and put the files in the root of the RaphaelKitchen.
Run "X1Kitchen.CMD".
This is what I am using for "e"xtract and "c"ook a room and it's working perfectly w/ me. Other options is not tested or use by me.
I even added/modded some more files. Replace all files and run RaphaelKitchen.cmd and continue as instructed in the manual.
Cheers guys. Will try this config tonight and get back to you
In the extract ROM there are two options:
- one needs RUU_signed.nbh only
- the other one needs RUU_signed.nbh + part01.raw and part02.raw
which is the right one to choose? if b): where do i get those files?
/edit: never mind, figured it out myself
Flashing now :-D
For future reference, if some more people ask:
if you just want to unpack an existing ROM image (nbh-file) use option 1. this unpacks the file and fills up the folders with the files to cook with.
if you want to reconstruct a ROM you (or someone else) dumped from his device, chose option 2. this decodes the raw-files (dumps) according to (simply spoken, please forgive my inaccuracy ) the template which is given by the nbh-file. without the nbh-file the kitchen doesnt know how to decode the raw-files, it needs a reference file (the nbh) to do so.
hi i'm a noob to the whole wm scene and i'd like to learn how to cook my own roms as well. I've downloaded the kovsky kitchen but i can't find anywhere on how to use it. i've looked in the wiki but can't find how to use kitchens. maybe i've overlooked something. at any rate, if someone could post a link on a tutorial or any info that could get me started, it'd be greatly appreciated. thanks in advance
figurine said:
hi i'm a noob to the whole wm scene and i'd like to learn how to cook my own roms as well. I've downloaded the kovsky kitchen but i can't find anywhere on how to use it. i've looked in the wiki but can't find how to use kitchens. maybe i've overlooked something. at any rate, if someone could post a link on a tutorial or any info that could get me started, it'd be greatly appreciated. thanks in advance
Click to expand...
Click to collapse
take yer pick, but the first one looks okay!
http://www.google.com/cse?cx=000825...orial&sa=Search&cof=FORID:0&ie=utf-8&oe=utf-8
thanks! one more thing... should i backup my original rom? if so, how do i do this?
Hypercore and X1 "kovsky"
i just had to ask, well kovsky kitchen works for the experia right? so hypercore multidevice, shows no experia or kovsky config, #11 post says raphael kitchen xperia.cmd, so you can use that kitchen for x1 as well, so how do you get hypercore/X1? to work

Extracting files from ROM

Hello!
My question is: how can I extract for eg. programs .cab files from .image or .nbh ROM?
I want to get original Mobile Opera 9.5 from R2AA UK Generic ROM, because some other version of opera overwritten it and I don't want it - just need original one back.
Check this thread in Development and Hacking, a tool to view files inside nbh ROM files: http://forum.xda-developers.com/showthread.php?t=377514
Thanks! It helped. Is it also a way of cooking a new custom rom?
Edit:
I exported the file... but its "hidden" without option to make it visible. How to make it normally visible?
I'd really kick back, make yourself a couple of weeks worth of coffee and read, read read and then read some more.
There's quite a lot in the wiki on how to cook roms, which serves as a good start but to do it properly it will help to know some of the background to what you're doing.
Hence the reading.
FWIW I've just started playing with ervius visual multilang kitchen, it's quite nice, much better than some of the others. Do a search on it if you want to find it and try visualkitchen_v2_1
Of course it's a bit worrying that you want to cook your own roms, without knowing what's inside the one you're using.
IF you want the opera from r2aa and you're using a stock unmodified R2aa then look in windows (using a proper file explorer such total commander)
or use the search on here, as the one I posted has been linked a huge amount of times already, including 3 times in the past 2 days. .
http://forum.xda-developers.com/showthread.php?t=469420&highlight=kitchen
This is the link to ervius' kitchen
http://forum.xda-developers.com/showthread.php?t=377514
this is a good prog for viewing .nbh files
vinokirk said:
http://forum.xda-developers.com/showthread.php?t=469420&highlight=kitchen
This is the link to ervius' kitchen
http://forum.xda-developers.com/showthread.php?t=377514
this is a good prog for viewing .nbh files
Click to expand...
Click to collapse
nah you need to let people learn to use the search engine
he he he...just doing a good dead...maybe st peter will let me thru the pearly gates for this
Also im getting sick of seeing things in a thread and then never being able to find them again!!!
Same thing with prog and apps, ill download them then i can never remember what they are for, where i put them or where i unzipped them to...ARRRGGGGHHHHHH
vinokirk said:
he he he...just doing a good dead...maybe st peter will let me thru the pearly gates for this
Also im getting sick of seeing things in a thread and then never being able to find them again!!!
Same thing with prog and apps, ill download them then i can never remember what they are for, where i put them or where i unzipped them to...ARRRGGGGHHHHHH
Click to expand...
Click to collapse
Big folder (or series of folders) on the SD card with a text doc listing what does what. that's what I do..

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

Going through some posts in the blackstone forum I discovered an interesting thread by Sir.B...
He talked about an old trick used for older devices to fit WM6 onto them with the side effect that load times of applications is much faster and tried this on his Blackstone.
I just gave it a try and it's impressive. So far I only tried it on HTC Album and Navigon Mobile Navigator 7:
HTC Album now loads in about 1 sec (previously about 4-5 sec)
Navigon MN 7 loads in about 2 sec (previously about 6-9 sec)
Seems to work flawless on any WM Device ;-)
I'm loving it!!!
Many thanks to Sir.B and everyone else at XDA-DEV!
I attached version 1.1 (which worked fine for me); 1.0 can be found on the original post.
Here's the quote and the link to the original post...
Sir.B said:
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 compatability
to get you started
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
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
Click to expand...
Click to collapse
LINK
amazing!! It works! Thanks very much.
I tryed successful SecondToday.exe , iDialer.exe , Destinator.exe
this looks quite interesting..will try it with all my programs after i backup the exe files
Giannis86 said:
this looks quite interesting..will try it with all my programs after i backup the exe files
Click to expand...
Click to collapse
It backs up the exes automatically. I did it on my device, Didn't notice any difference. Then again, it might be because my rom is already fast
List of EXEs that WORK / DON'T WORK
sosimple said:
amazing!! It works! Thanks very much.
I tryed successful SecondToday.exe , iDialer.exe , Destinator.exe
Click to expand...
Click to collapse
I guess we should start a list with Applications that work / don't work.
EXEs that WORK
AdobeReaderLE.exe
ASyncKiller.exe
BCR.exe
Camera.exe
Destinator.exe
FMRadio.exe
GoogleMaps.exe
HTCAlbum.exe
iContact.exe
iDialer.exe
KeePassPPC.exe
kinoma.exe
Labyrinth.exe
LongPressEndKeyApp.exe
MobileNavigator.exe (Navigon MN7)
MP3Trimmer.exe
MusicID.exe
Opera9.exe
OperaL.exe
QuickGPS.exe
RSSHub.exe
s2p.exe
s2u2 Settings.exe
s2v.exe
SecondToday.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
...to be continued
I compressed with the above methode 105 .exe files of the windows folder (of a htc diamond). I compressed every exe file that i found in windows. I deleted all that had 0 kb file size as probably those files does not compressed corectly or something is wrong. So the exe files that left, was 105 exe files. I puted all those to windows folder ,overwriting the originals . I saved 15 Mb or more of space, the phone was extremely fast ,but cant run manila. I try to find which of the files must changed to the originals to run manila. I am sure it must be 2 or 3 files , but how can i find which 2-3 of the 105 files must be changed?
If i make it , i will give the full list of files that can be changed to earn max space and max speed
I compressed 104 files of windows folder without problem!
So i found the file that caused problem and manila didn't start. It was _mpman.exe By changing all the 104 others , no problem until now. I giving all the list with the 104 files of window folder of a diamond running manila 2.0.3 if anyone else want to try. Here is the list :
catalog.exe
CommManagerLink.exe
LaunchMSItem.exe
MobileCalculator.exe
tdsserver.exe
WelcomeCenter.exe
AdvancedConfig.exe
__cusTSKTEMP.exe
_mp07.exe
_mp08.exe
AdvancedNetwork.exe
AlbumSearcher.exe
ArcMC.exe
arinvalid.exe
AudioBooster.exe
AudioManager_Eng.exe
AutoAttribute.exe
AutoFormatMoviNAND.exe
AutoRun.exe
AutoShortcut.exe
Biotouch.exe
btdwake.exe
BTFtpClient.exe
btlauncher.exe
btrenamedir.exe
CheckAutoRun.exe
ClearStorage.exe
CommManager.exe
ConfigureDevice.exe
ConnectionSetup.exe
ConnectionSetupAuto.exe
DataDisconnect.exe
DeviceInfo.exe
EndKey.exe
EngInfo.exe
eT9MyWords.exe
FaxView.exe
felvop.exe
FieldTest.exe
FMRadio.exe
GAlarmWakeup.exe
HACSetting.exe
HTCMessage.exe
HTCStartUp.exe
HTCUSBToPCPopUp.exe
IA_Zip.exe
JBlend_AMS.exe
JBlend_VM.exe
KeyLock.exe
Labyrinth.exe
LongPressEndKeyApp.exe
ManilaActivateToday.exe
ManualFormatMoviNAND.exe
MicrophoneAGC.exe
MP3Trimmer.exe
NewMailAccount.exe
OneNoteMobile.exe
PhoneAgent.exe
PlayShow.exe
Powerexe.exe
PowerOffWarning.exe
ppt.exe
pword.exe
pxl.exe
QuickGPS.exe
Recorder.exe
Redial.exe
RegistryCSPTool.exe
remote.exe
RUpdate.exe
saplaywm.exe
SAPSettings.exe
sdpready.exe
SignatureReplace.exe
SIM_MGR.exe
SIMLock.exe
SIPGT_app.exe
startkey2.exe
StartUPBioTouch.exe
STK_UIPPC.exe
StopEvtSnd.exe
StorageLow.exe
StreamingPlayer.exe
TaskManagerApp.exe
TaskManagerLite.exe
TFSettings.exe
TmAppLauncher.exe
Transport.exe
USBtoPC.exe
VCDaemon.exe
VocabSetting.exe
VoiceCommander.exe
voicemail.exe
VTKey.exe
wcsan.exe
WLANSettings.exe
WLMImageUpdate.exe
WLMLauncher.exe
WLMMessenger.exe
WLMSetup.exe
WMADBG.exe
xT9Settings.exe
YouTube.exe
ZipView.exe
This works really well on my Verizon TP, but when I did it on all the .exe's in the Windows directory, it messed up the HTC volume control program. I'm not sure which .exe it was but afterwards, when I hit the volume up/down hard keys, only the Windows volume pop-up would come up. I've had to do a hard reset to get it back.
I agree that a list of .exe's that it works well on would be really helpful.
My 2 cents
Hi, I think it's a bit useless to do all exe files: If you compress a 16 Kb exe file to 12 Kb the loading time will not make a huge difference. Also, after two or three reads from the storage memory the program should actually be cached in memory assuming that you have made the cache performance tweaks. Furthermore this seems only sensible for exes that you use often; why would you want to do "ClearStorage.exe" which basically does the hard-reset from the control panel?
The big performance gain and space safe comes from large exe files that are cut to about 1/3 in size. Here it does make a huge difference. I am currently trying and running:
Opera9.exe and OperaL.exe << Edited after comments of PierreDiamond which is very right to leave the Pre alone.
Googlemaps.exe
HTCAlbum.exe
Camera.exe
HTC_GPStool.exe
TomTomNavigator.exe
ScummVM*.exe
The biggest effects were seen with Opera (6MB), Tomtom (7MB) and ScummVM (4.5 MB)(!!! : -) ). For Camera.exe and HTC_Album.exe I am not 100% confident that I am going to keep these. The speed gain is very little, and it does seem to affect the Manilla stability a little bit when more stuff is running. However I am not sure whether this is fully related to compressing the programs. So for now I am still trying.
Another thing I noticed is that it does not like exe programs which are still linking to outside files / sources such as 3.5 Net. An example of this is the Lightsaber program (Saber.exe).
I tried with some prog (MP3Trimmer, Powerpoint, Opera, Acrobat Reader)
Works great! But NOT for Opera! Because there's a OperaPre which launch Opera after SoftReset while Boot... and it seems to be, that the driver for decompress needs much time to load and needs additional RAM when its needed while boot. I had a CPU consumption around 6 % more.
Also - never pack something which is started automatically after soft reset. The other programms like Acrobat Reader or Powerpoint - everthing's fine and are really a little bit faster to start and less need in main storage.
Thanks for this Tweak
Pierre
dlee83 said:
This works really well on my Verizon TP, but when I did it on all the .exe's in the Windows directory, it messed up the HTC volume control program. I'm not sure which .exe it was but afterwards, when I hit the volume up/down hard keys, only the Windows volume pop-up would come up. I've had to do a hard reset to get it back.
Click to expand...
Click to collapse
Why did you do a hard reset? Squeezer makes a backup of the original file in the folder "2_Backup". Therefore you could just copy those back to the device.
maybe I better ask this question here:
i tried this method and copied the file in to the windows folter with total commander - over active-sync I could not overwrite the files. But now even less space is available..
aand.. when i copied all the files it asked me only about 5 times if i wanted to overwrite this file... so my explanation is that these are files which are stored in the rom.. so they got not overwritten but only doubled...
is this possible? and what can I do about it?
=> the problem is of course the data-memory and not the programm-memory
=> it really seems that the files are doubled...
the part of compressing exe at the PC gone well but i can't copy/paste the compressed exe back at touch pro , original files place is windows...i think this folder is a ROM folder...help.....please...
chaelli said:
maybe I better ask this question here:
i tried this method and copied the file in to the windows folter with total commander - over active-sync I could not overwrite the files. But now even less space is available..
aand.. when i copied all the files it asked me only about 5 times if i wanted to overwrite this file... so my explanation is that these are files which are stored in the rom.. so they got not overwritten but only doubled...
is this possible? and what can I do about it?
=> the problem is of course the data-memory and not the programm-memory
=> it really seems that the files are doubled...
Click to expand...
Click to collapse
massoh said:
the part of compressing exe at the PC gone well but i can't copy/paste the compressed exe back at touch pro , original files place is windows...i think this folder is a ROM folder...help.....please...
Click to expand...
Click to collapse
It should work with Total Commander. The files should not be doubled, but overwritten. Therefore overall storage (data memory) should decrease.
If I'm not mistaken (please correct me If I am) ROM storage for extended ROM etc. and data memory (flash chip) / programm memory (RAM) is separated. (?)
you can copy the apps with activesync but if you wanna put them back into the windows folder then your going to need totalcommander
I did copy it with total commander.. and it only overwrote about 5 exe files.. the others where doubled (I tested it - I deleted one of the exe files... and when the list reloaded the file was there again - but there was no error)..
do I have to use special settings in total commander?
Any chance to improve the tool so it has a list of known-NOT-to-work-after-compression EXEs?
It would be more foolproof as it would skip the problematic files automatically.
Edit: actually I might do it myself, I know how I can code this.
That would be a great addition!
snark_be said:
Any chance to improve the tool so it has a list of known-NOT-to-work-after-compression EXEs?
It would be more foolproof as it would skip the problematic files automatically.
Edit: actually I might do it myself, I know how I can code this.
Click to expand...
Click to collapse
snark_be said:
Any chance to improve the tool so it has a list of known-NOT-to-work-after-compression EXEs?
It would be more foolproof as it would skip the problematic files automatically.
Edit: actually I might do it myself, I know how I can code this.
Click to expand...
Click to collapse
yes please, when you are done
share with everyone this great addition
it would be a great help for many people
but who is going to maintain that list across so many ROMs and versions?
chaelli said:
I did copy it with total commander.. and it only overwrote about 5 exe files.. the others where doubled (I tested it - I deleted one of the exe files... and when the list reloaded the file was there again - but there was no error)..
do I have to use special settings in total commander?
Click to expand...
Click to collapse
Same here. I've actually lost some space, after copying the compressed .exe files to Windows dir using Total Commander. The file sizes of new files are correct and smaller than before...
It seems like it keeps backup copies of the replaced files somewhere?

Categories

Resources