Announcement: Wizard "Squeezer" Program - 8125, K-JAM, P4300, MDA Vario Software Upgrading

Hi All,
Welcome to the Rom-Packer "Squeezer" module!
This was originally included with my Wizard Rom-Packer kitchen, but as the technology is applicable to most programs installed in the Wizard (or actually most devices), in either storage memory or SD card, I have decided to release it to the wider community of non-cookers.
This program uses the open source program UPX to compress .exe files. The compression is quite remarkable. Generally the files end up less than half their original size. I have tested the process on all the main Office programs, and they work fine. The loading speed of the programs is actually improved, because the storage memory is so much slower than ram memory, so the time gained by transferring a smaller amount of data from the storage memory to ram when you run the program is more than enough to make up for the time spent uncompressing in ram.
The larger programs really seem to "pop" in comparison. Besides the Office programs, I have tested it on apps such as: eWallet, iSilo, ListPro, and Skype and found it works well, speeding load times with a smaller storage and SD card footprint.
The process "may" work with some .dll files as well, but I haven't tested them as extensively. A few programs will not work well in this mode, or refuse to load, so keep the original copies as backups. You will also find a few programs (adobe reader, pocketXpdf) which have already been compressed with this technology!
So, here's what you do:
1) Make sure the original program is installed correctly.
2) Locate the .exe file which was installed in Program Files in your PDA or the SD card.
3) Save a copy of this file somewhere in case it doesn't work.
4) Copy all the .exe files you want to compress into the SqueezeRoom directory.
5) Run Squeezem.bat
6) Take the compressed files out of the SqueezeRoom directory and replace the originals with those.
7) Run the program in the usual way. If all is well, Great! you're done!
8) If there's a problem, you can try a soft-reset before undoing the experiment.
9) If that doesn't help, copy the copy you made in step 3 back to the original location, overwriting the compressed copy.
Of course, I strongly recommend that you run a good backup utility, such as SPB backup, before beginning, just in case you make a big mistake somewhere.
Rapidshare Link: http://rapidshare.com/files/33717970/Rom-Packer_Squeezer.rar
Have fun!

Have you tried compressing dll files before?? I read the readme file...but since you wrote it, have you tested them.

Re: dll files
freeyayo50 said:
Have you tried compressing dll files before?? I read the readme file...but since you wrote it, have you tested them.
Click to expand...
Click to collapse
I tried one, but it didn't work. According to the UPX documentation it sometimes works on .dll files, so if you find a large one it works with, let us know!
Regards,

This program is amazing!!! I can see a notable increase in performance on my device. I compressed about almost all my apps (about 25-30 exe's) and about 5-8 dll's. So far the dll's that I have compressed have been working.
You can see a huge increase in performance the bigger the exe file is. Apps like Wisbar/WAD start up about 3-4 sec faster,
Opera about 3 sec (4MB compressed down to 1.7MB)
AIM 2 sec faster
Camera.exe maybe 1 sec (I couldn't really tell the difference)
Verichat 2 sec
FoxitReader 2-3 sec
IM+ 3-4 sec
SPB Imageer 2-3 sec
Resco Radio 2 sec
Total Commander 1-2 sec
Midlet Manager(jmm.exe) 2 sec faster
and calculator.exe seems to pop open .
When it comes to games, which usually are 2-4MB in size, they open 4-7 sec faster than normal. One of my games was 4MB than shrunk down to about 1.4MB after compressed.
This program also saves a crazy amount of space as well. My main memory free space before was 6.5MB, than after compression, increased to 11.8MB
It also seems like there is more free RAM than normal, but I'm still veiwing that. Posted some SS of compressed file sizes.

I just discovered that .cpl(Control Panel Extension) files can also be compressed. I just compressed SoftKeyAppletEx.cpl and ThemeManager.cpl for those who know what they are. They still work after compression. There not that big but I get about 50-60% compression from them.

Great finds!
Wow, freeyayo50!
Great finds, and thanks for reporting them. It's great to see this little bugger being useful!
BTW, You're packing a lot into your machine! Do you use an sd card?
Best wishes,

edhaas said:
Wow, freeyayo50!
Great finds, and thanks for reporting them. It's great to see this little bugger being useful!
BTW, You're packing a lot into your machine! Do you use an sd card?
Best wishes,
Click to expand...
Click to collapse
Thanx, just tryin to help out the community .
And yes, I am using a 1GB Mini SD card. I use it to hold most of my apps and all my music.
I dont understand why developers dont use this. So far everything that I have compressed has been working perfectly fine. I just luv how much space this thing saves.

as of now i'am building an rom with all dll and exe and cpl upx-ed. Just finished packing and now Build os is building. then i will try if it will run

Now it's flashing to my mda

It was to much. The rom wont load. stops at second boot screenthe 3th wont load.

A noble experiment!
ivanwinkel said:
It was to much. The rom wont load. stops at second boot screenthe 3th wont load.
Click to expand...
Click to collapse
Oh well, you went all out and I applaud you for it! Valiant effort!
Regards,

Email App?
Anybody know which app controls the email accounts?
I use the blackberry client and it takes forever to load up..even when in the background! Creating new mail also takes it's own sweet time!
Would love to squeeeeze a bit more performance out of my wizard!

Andy Phillips said:
Anybody know which app controls the email accounts?
I use the blackberry client and it takes forever to load up..even when in the background! Creating new mail also takes it's own sweet time!
Would love to squeeeeze a bit more performance out of my wizard!
Click to expand...
Click to collapse
I believe you may be talking about the tmail.exe in the \Windows folder.

main OS dlls and exe SOULD NOT be compressed with upx.....this was tested ages ago by rom cookers it will cause problems....true some files can be upx you should leave the OS files alone.

faria said:
main OS dlls and exe SOULD NOT be compressed with upx.....this was tested ages ago by rom cookers it will cause problems....true some files can be upx you should leave the OS files alone.
Click to expand...
Click to collapse
Thanks for the tip, faria!
(Translation: Avoid messing with the sys\os subdirectory, and be careful with the others. Most of these apps are small, so you wouldn't be gaining much anyway.)

wow nice program thanks!
doesnt work with tomtom btw crashes when I start it

kadooosh said:
wow nice program thanks!
doesnt work with tomtom btw crashes when I start it
Click to expand...
Click to collapse
Hi, It worked with my TomTom!? I'm pretty sure I compressed it. Just the main .exe, not any of the supporting stuff. I'll double check it when I get home tonight, (or tomorrow to be honest, I have a big project for school right now)

Tested and working with opera.dll from Opera 8.60u2. It's a huge 5 MB file that once compressed is less than 2 MB . There seems to be no side effects, besides saving over 3 MB of storage. Great program!

igalan said:
Tested and working with opera.dll from Opera 8.60u2. It's a huge 5 MB file that once compressed is less than 2 MB . There seems to be no side effects, besides saving over 3 MB of storage. Great program!
Click to expand...
Click to collapse
Where did you find this opera.dll at??

edhaas said:
Hi, It worked with my TomTom!? I'm pretty sure I compressed it. Just the main .exe, not any of the supporting stuff. I'll double check it when I get home tonight, (or tomorrow to be honest, I have a big project for school right now)
Click to expand...
Click to collapse
oh I just noticed my old exe didnt work either.. must be cause I installed wm6
moprhgear doesnt work either(emulator)

Related

POLL: move PowerPoint/Word/Excel .exe to EXTROM installer?

EDIT: Duh, forgive me, I have put the wrong KB sizes above. correct values are below.
PRO: if you don't use, have never used and will never use one or more of these apps the ROMs can pack more add-on software which won't have to be installed or take up storage space.
CON: If you use them it gets a little bit less convenient, as you have to install it after a hard reset.
NOTE: I don't know how much the system needs those dlls, but I guess they are not deeply embedded in it and might not even need to be installed, unless ActiveSync desperately needs them to convert files back and forth. Which does not make sense to me, at least images, when there is any conversion process, are processed in the PC, as it is much more powerful...
Footprint:
Office dlls:
office.dll: +63KB
officeres.96.dll: +95 KB
officeres.dll: +96 KB
Pocket PowerPoint:
ppt.exe: +2.277 KB
Pocket Excel:
pxl.exe: +852 KB
pxlfile.dll: +34KB
pxl2xls.dll: +47KB
xls2pxl.dll: +78KB
SubTotal: 1.011 KB
Pocket Word:
pwod.exe:+227 KB
Total: 3.769 KB
There could be more Office-related dlls scattered around, but I don't know how to identify them...
I say pack all those files into a self installer CAB and it can be up to the user to include it or not. In theory if we could ever agree on a nice stable base rom to build an online ROM kitchen like the XDA had/has and make everything else optional.
An online ROM kitchen would be sweet!
theloon said:
An online ROM kitchen would be sweet!
Click to expand...
Click to collapse
we'll see on the next couple of days... maybe we'll post it on the forum... BA WM5 rom kitchen... I sure Black6spdZ, xplode, thingonaspring, Midget and others will make it better :wink:
I just need to arange and fix a few stuff, since most people more prefer bepe's ways, for me it just gettin a little complicated to manage it work with bepe's way...lol...
I voted to keep it in the ROM, but only because I'm 99.99% sure that moving them will cause all sorts of problems. Any app launcher or today plugin that integrates with the office apps will break. They'll have hardcoded the path to the /windows directory, I'd put money on that. You might be able to replace the /windows exes with small launchers that point to the storage card I suppose.
I think the compression of the apps holds a lot of potential. Is there a compression tool that decompresses to the RAMdisk and runs from there? That would be the best of both worlds; the file is compressed in the ROM but only needs to be decompressed once on each RAM reset.
fraser said:
I voted to keep it in the ROM, but only because I'm 99.99% sure that moving them will cause all sorts of problems. Any app launcher or today plugin that integrates with the office apps will break. They'll have hardcoded the path to the /windows directory, I'd put money on that. You might be able to replace the /windows exes with small launchers that point to the storage card I suppose.
I think the compression of the apps holds a lot of potential. Is there a compression tool that decompresses to the RAMdisk and runs from there? That would be the best of both worlds; the file is compressed in the ROM but only needs to be decompressed once on each RAM reset.
Click to expand...
Click to collapse
We already have UPXed version of Office apps and dlls working, I believe Helmi will integrate them in the next version.
The 3.769 KB file footprint for the files above becomes around 1.450 KB, that's around 2.2MB of space saving.
For those who don't know:
UPX is a compression method meant to have extremely fast decompression speeds and very low resource comsumption. If I understood correctly, the ARM assembler-optimized UPX decompressor which is added to our dlls and exes is 224 bytes.
From the website, a memcpy on a Pentium 233 (dunno the OS) happened at 60MB/s, while the UPX decompression of the same data was 13MB/s.
fraser said:
I voted to keep it in the ROM, but only because I'm 99.99% sure that moving them will cause all sorts of problems.
Click to expand...
Click to collapse
This is VERY true. Accessing the files would require a launcher as fraser says, and/or accessing any UPX'd resources in the DLL, or EXE without loading it in will cause cataclysmic failures in the calling application. The dangers are VERY high.
Brazilian Joe said:
I think the compression of the apps holds a lot of potential. Is there a compression tool that decompresses to the RAMdisk and runs from there? That would be the best of both worlds; the file is compressed in the ROM but only needs to be decompressed once on each RAM reset.
Click to expand...
Click to collapse
In theory you could do this with the RamDisk now, and use a RAR/ZIP/7Zip style archive on a SD Card (or in ROM). Simply run (on boot) an unarchive of the contents to RAM, and away you go. But in theory this isn't any better (and in reality is worse than) just installing the applications to the RAMDisk in the first place, and/or keeping a second "SD Card" just for the hard-reset cases when you want to re-install everything.
Brazilian Joe said:
We already have UPXed version of Office apps and dlls working, I believe Helmi will integrate them in the next version.
Click to expand...
Click to collapse
Just take care of PIM Managers, and other applications which may make direct usage of these applications. Also, a UPX'd DLL will require longer/slower load times due to decompression overhead as well as the IMGFS decompression requirements itself (even though the IMGFS portion will be 1:1 - i.e. uncompressed).
Brazilian Joe said:
The 3.769 KB file footprint for the files above becomes around 1.450 KB, that's around 2.2MB of space saving.
Click to expand...
Click to collapse
It will unfortunately be MUCH less than that. Try building the ROM with the UPX'd applications and check the free sectors, and then compare that to a ROM with them replaced. The difference in free sectors * 512 bytes per sector is the REAL compression ratio achieved.
My guess is that UPX is about 40-60% better than the IMGFS, so this would mean a gain of around 1.1Mb in the ROM, and not 2.2Mb. But 1.1Mb of useful space is DEFINATELY nothing to be sneezed at! ;-)
Keep in ROM ...
Oh yeah, and I voted to keep the MS Apps in ROM.
Powerpoint could/should be compressed, and possibly Word/Excel if they're still 100% safe (they were in my testing in TuMa v1.3). Compressing any of the core OS though - ICK. I'm not in favour of that.
Save as much as we can, without going crazy ... and keep the Core OS, the Core OS. All the features we want to add should be exactly that - features!

Very Important Note To Increase The Wm5 Spped

I have noticed in all the roms coocked by Bepe Rom Kitchen there is some kind of Problem that decrease the speed of wm5 , it is the rgu and dsm files in the rom under windows folder these are the registry fles that we can exclude them from the rom after they will be saved in the rom these ara about 100 files with 1 or 2 kb size but this decrease the speed of windows folder , the way to exclude them safely coock the rom as usual first start createOS.exe it will generate the TEMP Folder then start the createROM.bat it will build the boot hive and the stopes and ask you to press any button to continue this is the time to delete the rgu and dsm files go to search and find all the rgu and dsm files and be sure to search the hidden files too because most of these files is hidden and when you finish o back to create ROM.bat and finish the rom Building and the first thing you will notice is the speed of opening the windows folder .
Note: you can exclude all the unnessery files that we dont need like the help files *.tm and the note files *.pwi and the word files *.dot etc...
Ahmedkom
That's quite interesting. I'd noted the slow performance in opening "/windows" in Total Commander and I'd often wondered if this impacted the phone. There are way too many files in there, but it was an issue on WM2003 as well and has it's root in desktop Windows. Every time the filesystem has to retrieve a file from there, it has to lookup it's information in a table. While there are ways of writing fast lookups, reducing the input set is often far better. As "/Windows" is quite possibly the busiest directory on the phone, any boost here has to be worthwhile.
Thanks ahmedkom for bringing up this interesting subject, for although there is a tremendous speed gained by mamaich's virtual page pool the Hima beats BA 3:1 when it comes to openning the /Windows dir.
This is true even if the Hima ROM compared to was prepared using Bepe's ROM cook tools. But, then again as you mentioned the BA .dsm & .rgu files are a lot more in numbers compard to the the Hima ROM.
Would you mind sharing how much speed improvement in number of wait cursor 360 degree turns was gained by eliminating those reg & .dsm files? My almost fully loaded BA displays /Windows dir & files after 4 wait cursor turns as against 1.5 turns of a similaryly loaded Hima (using Resco Explorer as File Mgr.).
Cheers!
sure, imagine how fast it's going to be if you delete all files from /windows !!
Honestly, when a 400Mhz CPU is not enough to display a listing of 100 files, something is veeeery wrong. The only reason i put up with with this, is that there's no alternatives with the big screen and gsm phone.
Anyhow, I have latest Helmi build and in calendar just going from day to day, back and forth within the same week is slow noticeably slow. It's obviously re-reading big chunks of data from flash every time, no matter how many times you go between Thur and Fri.
So, given that calendar app is so obtuse, it would be nice to have a file / disk cache on OS level -- which i believe Helmi ROM already has but somehow it aint working...
yeah i just realised Helmi's RAMdisk is just a partition for temp files in ram...

Faria AKU 3.2 Test Rom (Not Public Release)

I installed the Rom last night.
Here is the (short) list of program I have installed:
E-TEN Dialer (with Vista Theme)
Inesoft Cash Organizer '05 Premium (with MS Money Sync)
WisBar Advance
Cyberon Voice Commander 1.6
I have set-up my Cingular Data Connection (wap.cingular APN)
I have paired my Jabra BT500 Headset
I have synced my personal Laptop and Work PC via USB Cable.
So far the only Issue I have to report is with setting the Buttons.
When I select an option in the dropdown list, it doesn't match what is assigned (if I select <None> it show <OK/Close> as the assignment). This seems to be the case for everything above "<Today>" in the list. I wonder if it has something to do with the .RegEdit Entry at the top of the list?
P; When I select an option in the dropdown list, it doesn't match what is assigned (if I select <None> it show <OK/Close> as the assignment). This seems to be the case for everything above "<Today>" in the list. I wonder if it has something to do with the .RegEdit Entry at the top of the list
S; remove the regedit entry from phm traylaunch in the accesories folder. and it will be fixed.or
remove the period from the LinkName (in "\Windows\Start Menu\Programs\System" folder)
..................................................................................................................................................................................................
about task manager issue;
this is the way it works.i spoke to the develepor,and he said that people requested to work that way.this is not a fault in the rom.
......................................................................................................................................................................
tahoma.ttf is in the rom,futher more cleartype is enabled by default in the rom.
............................................................................................................................................
the runonce file is a bit temperemental.you have to click several times to run some times.
the runonce file will only run once per hard reset.it was ingenered to do so
Only one problem till now - SMS Notifier doesn't work. It says:"MissingMethodException, File or assembly name 'Microsoft.WindowsMobile.Status, version 1.0.0.0, Culture neutral, Public keyToken 31BF3856AD364E35', or one of its dependencies was not found.
any idea?
faria said:
nice debuging ....i think you are correct.i will see to it.i will remove the file from the rom
dr.p [my second.. hehe] reported the same.
remove the regedit entry from phm traylaunch in the accesories folder. and it will be fixed.
Click to expand...
Click to collapse
Actually, all I had to do was remove the period from the LinkName (in "\Windows\Start Menu\Programs\System" folder) and everything is working fine now.
Xtriny said:
Only one problem till now - SMS Notifier doesn't work. It says:"MissingMethodException, File or assembly name 'Microsoft.WindowsMobile.Status, version 1.0.0.0, Culture neutral, Public keyToken 31BF3856AD364E35', or one of its dependencies was not found.
any idea?
Click to expand...
Click to collapse
yes i thinks is something to do with netcf 2 sp1.i cant find the cause ,it is the same as hichtiker.if noone finds a solucion it will be removed from the rom.
faria said:
yes i thinks is something to do with netcf sp1.i cant find the cause ,it is the same as hichtiker.if noone finds a solucion it will be removed from the rom.
Click to expand...
Click to collapse
It is not so important app, so it can be deleted from ROM, I think
I hate to say it, but this rom stalled at 99% on my G4 device. I let it stay that way for 25 minutes before I got worried and reflashed Molski's back on so I can make sure the battery didn't die. Any ideas ?
i would like to see a 8mb pagepool but also would like all thirdparty software removed so testing is accurate.
also it seems that your rom works w/o the ext rom and w/o running runonce but the windows directory is filled with too many extras.
what do you want this test to accomplish?
It works really good. 8MB p.pool is great but not removed third party apps (my opinion)
I don't mind the 3rd party apps
Since they don't waste space (removing them frees up nothing).
As for the Start Menu, I would guess that most "Power Users" either customize this anyway or use a launcher (iLauncher, WA Desktop, etc) so no big deal to me really. I just won't click on something that I don't use.
I am enjoying TCPMP and PHM Tray Launch, which are apps I've never used before.
jeffbar1 said:
i would like to see a 8mb pagepool but also would like all thirdparty software removed so testing is accurate.
also it seems that your rom works w/o the ext rom and w/o running runonce but the windows directory is filled with too many extras.
what do you want this test to accomplish?
Click to expand...
Click to collapse
without the runonce installation most softwate and bluethoth etc will fail.
the point of the roms is to have the exras appa without consuming the storage.so u can still install yours.
another first to this rom is that pdf reader is runing from the extended rom!!!!! that took major work.also most apps are higly compressed.pdf reader is 7mb in original form.were mine is 2.9mb.i mean, how do you make something run from a hidden-write-protected drive?????!!
that runonce installer is ther for a reason.
i dont belive that anyone achived to turn cleartype font on automaticly either.i did.
just a few.....
the purpose is to test the rom so i can find out if is good enough to put in the public domain.
like a said before there is plenty roms up there to chose from.
i think it would be better to have as much free program memory as possible rather than worrying about storage memory.
jeffbar1 said:
i think it would be better to have as much free program memory as possible rather than worrying about storage memory.
Click to expand...
Click to collapse
removed apps from ROM will not free much programm memory. Only running apps "eats" RAM and you can close it. Like I said, it would be great to change p.pool sizel. I used ROM with 8MB p. pool with Wisbar, iLauncher, SPB Weather, and other apps in ROM and my free RAM was about 26 MB, storage about 38 MB
ok, installed and everithing appears ok exept for 1 lil detail...some of the lnks on startup folder r in rom and cant be deleted (i try to delete them and get an error)... i mean...i hate the tray bar and cant delete as example the bt-init to delete that icon among others to remove that bar...i mean...i know that is dumb to delete programs cause they dont take space on storage, but they DO take space on today screen...other than that detail i think everithing is ok...
kyphur said:
Since they don't waste space (removing them frees up nothing).
As for the Start Menu, I would guess that most "Power Users" either customize this anyway or use a launcher (iLauncher, WA Desktop, etc) so no big deal to me really. I just won't click on something that I don't use.
I am enjoying TCPMP and PHM Tray Launch, which are apps I've never used before.
Click to expand...
Click to collapse
how do the 3rd party apps not take up memory or program memory
Faria,
what about make your ROM twice? One with 12MB, second one with 8MB paging pool. Everyone can choose which one to use... It should be the best to decide.
PPC Memory Primer
jeffbar1 said:
how do the 3rd party apps not take up memory or program memory
Click to expand...
Click to collapse
The types of Memory that a PPC Device Has:
ROM
Storage Memory
Program Memory
The ROM is where the OS is. There is a defined amout of space on the DOC for the ROM Image. If you Don't fill it up then that extra space is still consumed by the ROM Image and you can't use it. Think of it as a CD, if you burn only 200MB of data onto a single session CD you can't install programs onto the remaining 500MB even though you have that unused capacity.
Storage Memory is like the HardDrive on your PC. When you install programs to "Device" they are stored here. User Data which is not directed to the Sotrage Card is also stored here. The OS makes it appear as though the ROM & Storage Memory are one and the same but they are not.
Program Memory is equivelant to the RAM on your PC. This is the workspace where all of the Apps run and the OS does it's work. Having a program installed doesn't consume RAM. Running the program does.
So....
If the extra apps are embedded into the ROM then all they are doing is filling up space that you normally can't utilize. If it keeps you from having to install 2 programs onto your "device" then it will preserve Storage Memory.
Forget about my suggestion, but something have to be checked, after 2 soft resets now it let me delete the .lnk´s
Did not saw the operator config stuff (i may have missed it), but everything else is fine.
Here is a set of config settings (ppc and smartphone) for all the 3 french operators ... It may be usefull ...
After applying the bouygues one, i send a text message and had notification
kyphur said:
The types of Memory that a PPC Device Has:
ROM
Storage Memory
Program Memory
The ROM is where the OS is. There is a defined amout of space on the DOC for the ROM Image. If you Don't fill it up then that extra space is still consumed by the ROM Image and you can't use it. Think of it as a CD, if you burn only 200MB of data onto a single session CD you can't install programs onto the remaining 500MB even though you have that unused capacity.
Storage Memory is like the HardDrive on your PC. When you install programs to "Device" they are stored here. User Data which is not directed to the Sotrage Card is also stored here. The OS makes it appear as though the ROM & Storage Memory are one and the same but they are not.
Program Memory is equivelant to the RAM on your PC. This is the workspace where all of the Apps run and the OS does it's work. Having a program installed doesn't consume RAM. Running the program does.
So....
If the extra apps are embedded into the ROM then all they are doing is filling up space that you normally can't utilize. If it keeps you from having to install 2 programs onto your "device" then it will preserve Storage Memory.
Click to expand...
Click to collapse
so you are saying that even though the extra apps are running they don't use the RAM they use ROM, thats hard to beleive.

Mystery storage memory bloat

My storage memory seems to steadily but significantly grow and grow. It is now at 98% full and I can't find any space. Normally after a hard reset and installing all of my data and apps this figure is in the 80% range. I do keep my temporary internet files cleaned out by removing everything from Windows\Profiles\guest\Temporary Internet Files which can generally free up a very large amount of space, say 10+ MB or so. The obvious additional pieces of information are:
-no new large files added
-quite a few SMSs - but not a thousand, maybe 50-200 total
-no new programs installed
-the mystery bloat seems to be in the Windows directory which is now 138MB (seems odd) as reported by Resco Explorer
I have used find large files feature and have thoroughly browsed my Windows directory and just can not find the large file(s) causing this. Could this be some kind of memory leak? This is the second time this has happened and the last time I resorted to a hard reset which drastically improved the problem (got rid of it and got me back down to the 80% level again which it seemed to stay at for quite some time). I really do not want to get in this mandatory endless hard reseting loop.
BTW: AT&T device and ROM, bloatware removed by reset during bloatware installation at start up. Any advice greatly appreciated.
you sure your removing the PIE cache by opening PIE and selecting to clear history and delete files by going to tools/options in PIE? thats the most common place you get internal memory getting eaten up. ive had 40mb go through PIe because i forgot to delete the files through the PIE settings
Thanks. Emptying that directory does the same thing. Just to be sure I did that anyway. No change. At 96% now. Ugh.
Give us a list of...
Device, is it a stock AT&T Tilt or one of the beta's we are hearing about?
Firmware, items shown on startup from soft reset!
Installed Apps/Cabs,
cause you could have something storing log files that you don't know about!
then we can have a reference of where to go!
OK here goes...
R 1.27.12.11 (std AT&T)
G 22.45.88.07H
D 1.57.00.00
Aps (in addition to std. ROM):
Opera
G Maps
Resco Expl+Today
TT6
iGuidance4
PC MAME
Calc98
Kaiser Notification (LED control)
TCPMP
World Card Mobile
Weather to Go (Tonaya)
MS Voice Com.
MS Live Search
Flash Video Bundle
Thanks again!
Look for a file named Today in the Windows directory. I noticed this on my Tilt ROM and it was steadily growing. It's safe to delete.
Also check your email, this can grow rapidly if you get attachments.
?Glitch
Does google maps save it's map cache to the storage card? I thought it didn't. If not, that would likely cause your memory to drop if you use google maps a lot.
Thanks so much guys.
@URPREY: The only file like that is Today_Order_23Jul07.cab and it is a whopping 3kB
@?Glitch: I only use SMS not MMS not e-mail, I think these guys are pretty darn small.
@snoogisnguy: I thought google maps downloaded everything it needed sort of in real time and cleaned stuff up in real time as well. Can you point me to a directory to examine for large files?
Bribe
OK hate to resort to a "bribe", but this problem is killing me. $25 to the person who can solve it. I'd be happy to simply make another donation to the forum as well.
Google maps keeps almost everything it downloads, if you use that a lot that would be my first guess.
check My device/application data/GoogleMaps and the file cashe-GLM.
Mine's about 2M and i rarely use it.
Try memmaid from Dinarsoft. It can evaluate your storage usage, including the google cache and tell you what is taking up the space. It's got a free 15 day trial.
http://www.dinarsoft.com/memmaid/
hard reset and start again... might be an issue that you may never find
on another note, why dont you sync up to windows and check the file/folder size of each one you have... theres not that many and so it should only take a few minutes
atleast that way you can narrow it down to what area of your phone is taking up so much memory... and then narrow it down to a file hopefully
just an idea
swamp2 said:
Thanks so much guys.
@URPREY: The only file like that is Today_Order_23Jul07.cab and it is a whopping 3kB
Click to expand...
Click to collapse
Which file explorer did you use to check? The file that was on mine was a hidden file and had no extension so I only saw it with Total Commander. It grew very quickly and I had to delete it several time. I believe it was a cache file for the today screen. I use an RSS today plugin and I think that's what caused it. I have no issues after changing to a cooked ROM.
dunneldeen said:
Try memmaid from Dinarsoft. It can evaluate your storage usage, including the google cache and tell you what is taking up the space. It's got a free 15 day trial.
http://www.dinarsoft.com/memmaid/
Click to expand...
Click to collapse
Thanks guys! All of the other suggestions, although great ideas, turned out to not be the culprit. The one above, with some more detective work was the winner. Memmaid located a folder called ~Recycled that was 15+ MB. It is a bug (or maybe even a "feature") in Resco Explorer that it does not show this directory ewven when you check show everything such as hidden, system, in ROM, etc. This directory held some files that were cached images from web browsing as well as other unidentifiable files. Memmaid also nicely deleted the entire directory. All was well until I got a bit too aggressive and used Memmaid to move all of the application caches to the memory card. This made my system very unstable, slow and almost unuseable. Luckily I could get back in Memmaid and undo those changes. Anyway a bit of a long struggle but finally this very annoying and crippling problem is solved. I really hope this thread helps out others with a similar problem.
As a follow up question does anyone know how to prevent such bloat in this directory in the first place? Seems like a very crippling feature of WM wihtout access to this directory.
dunneldeen: Was your suggestion enough of a solution that you want the "bribe" money? Thanks again either way!
You simply have to remove "recycle bin" feature from Resco Explorer settings, so your files will be deleted as soon as you do it and they will doesn't go to the recycle bin that in theory you have to empty manually, like your do with the one on your PC.

UPX - Compression of exe for better speed - Base for cooker

Hi all,
After reading some news on UPX, a great tools that can compress AMR file, I have decide to investigate this.
So I download the version with UCL include (that my ubuntu for that )
I have try several compression and replace over the rom file just to see the difference.
And of course, it's really better when it work on apps.
They compress by ration of 50% to 70% apps, so Opera for example run really more faster now with that, also Album is really more faster and of course the famous AudioManager_Eng !!!
It load music (even with 4G of music with lot's of different artist and album) in around 1 or 2 sec, before they take nearly 10s to show the playlist !
So technical they pack the exe, optimize it for size and speed.
I want to introduce a list of successfull tools that work really better with this tools.
Thanks to that, I really hope cooker will use it to cook already compressed file into they rom.
Ok, Second post will be all apps that work well
and Thirst post all one that is useless to do it because size is more important after or program stop working and has some bugs.
Let's go
Edit :
Seems NRV compression better, so I will test it more and report
Second post for working apps
Here list of working apps :
I use UPX-UCL with --best option : upx --best *.exe (on linux, should work on windows and other)
See the site : http://upx.sourceforge.net/
Opera : 2.7M (compressed size), 6.3 (unpack) : really nice feeling, page appear more faster, running apps is shorter, wonderfull !
AlbumSearcher (for thumbmail)
AudioManager : awesome the new speed, it open list in 1 or 2 seconds for 4G of music !
AdobeReaderLE
Camera
GoogleMap (already use it in fact, the GoogleMap_Compressed use UPX)
HTCAlbum : speed is great ! so as other tools but wow !
RSSHub : nearly the same, hard to compare
StreamingPlayer : run faster, great
Kinoma : already use it but not with --best option (so I have unpack and repack with best, take 1M instead of 1,7, run faster )
WkTask : hard to now, but work well !
List of non working apps
Here the list of non working or useless compression apps :
CorePlayer : work but take more place (1,7 instead of 1,6), so useless to use it
TotalCommander : .NET not support yes, so any other .NET apps it's useless to for moment
DiamondBackgroundChanger : don't work
Manilla : don't work, TF3D won't work after, so don't compress it
So I'm waiting for brave people to help me grow up this list, this free gpl tool is really nice to be known !
don't forget, use it with UPX --best option
http://mobile-sg.com/software/?p=UPX4PPC&platform=ppc
is more easy
[REF][TUT] Improve program launch times - UPX Squeezer BATCH
Why start a new discussion? Sir B. allready covered that one
http://forum.xda-developers.com/showthread.php?t=481880
kwbr said:
Why start a new discussion? Sir B. allready covered that one
http://forum.xda-developers.com/showthread.php?t=481880
Click to expand...
Click to collapse
Oh sorry, I see, thanks for all links
I do that because it seems no cooker use it ... I was thinking that's was a new think.
my fault to lake of searching
let's continue on other thread
Oh, I've try UPX --brute mode with NRV compression library
For opera : 2,0 m instead of 6,7 !!!
So far better than --best and ucl
Work really well by the way
hi bro thanks for this work, when u compreessed opera u might see that ur program memory might be higher than normal, if you can cha=eck this for me, it happen in previous roms i try the compression on opera
The compression won't make the actual program speed any faster (like opera loading pages), that's just placebo effect. Why? Because when the compressed program is loaded, it will be uncompressed to the ram, and will run and act excatly like the uncompressed program.
"Running a compressed executable essentially unpacks the original executable code, then transfers control to it. The effect is the same as if the original uncompressed executable had been run, so compressed and uncompressed executables are indistinguishable to the casual user."
http://en.wikipedia.org/wiki/Executable_compression
However, the initial program loading will be noticeable faster for bigger exe files, naturally because of the slow flash memory.
duttythroy said:
hi bro thanks for this work, when u compreessed opera u might see that ur program memory might be higher than normal, if you can cha=eck this for me, it happen in previous roms i try the compression on opera
Click to expand...
Click to collapse
Hi dutty
Opera take 1,9 m compressed other upx --brute mode !
Ok, when I launch, with or without compression, take 45k ok memory
So, upx tools can accelerate their launch time,
and compress all dll could also speed up global windows, because launch time of them will be shorter so, running tools with be faster
inside tools I think they load external dll, and so if their launch time is shorter, app could be faster
it's a theory
Vinski- said:
The compression won't make the actual program speed any faster (like opera loading pages), that's just placebo effect. Why? Because when the compressed program is loaded, it will be uncompressed to the ram, and will run and act excatly like the uncompressed program.
"Running a compressed executable essentially unpacks the original executable code, then transfers control to it. The effect is the same as if the original uncompressed executable had been run, so compressed and uncompressed executables are indistinguishable to the casual user."
http://en.wikipedia.org/wiki/Executable_compression
However, the initial program loading will be noticeable faster for bigger exe files, naturally because of the slow flash memory.
Click to expand...
Click to collapse
Ok I'm partially agree
any tools will take less time to launch, thanks to their smaller size.
Memory could be nearly the same, of course
but as I say before, if we compress all exe and all dll (that can be compressed), I really think apps could be faster, why ?
Imagine, tools need 50 dll to be launch, not necessary at launch time but during certain function. So, you clic on a function, start loading lots of dll to do it, if global launch time of them is shorter, app will be faster.
Ok for opera and render engine, but for other case ...
what do you think on it ?
I agree with u, if some function needs disc access for loading dll's, compression would help. Definatetly its worth compressing some bigger files, like opera, I have done that. But for smaller files ~100kb this might not bring any real advantage, bc I believe this also brings overhead for the cpu. It needs to unpack these files on the fly.

Categories

Resources