this is an old trick that was/is used for older devices to fit WinMo 6 on them
but a side effect is faster application load times
i figured i'd try it on the Blackstone and difference is noticeable
HTCAlbum loads in about 1 Second, before it took about 4
so i'm sharing this with anyone who is interested
The batch file is kept as simple as possible for everyone's ease of use
but this is pretty advanced tweaking, so all common warnings apply
and/or
if you are not comfortable with getting files from/to your PocketPC
and/or
can't figure out how to extract this zip and read the "read me.txt"
and/or
don't know what “any key” is DO NOT TRY THIS!
(read the forum and the wiki a bit more, and you'll gain the knowledge)
Version History:
v 1.0 - initial release
v 1.1 - no icon compression switch added to the batch, for more general compatibility
v alt - here geistteufel has released a new branch of the batch file,
this version uses a different method for packing files and may achieve better compression.
At the same time problems have been reported in the past with this method so all usual warnings apply.
a short list of EXEs that i have UPXed and work well for me
AdobeReaderLE.exe
ASyncKiller.exe
BCR.exe
Camera.exe
FMRadio.exe
GoogleMaps.exe
HTCAlbum.exe
iContact.exe
KeePassPPC.exe
kinoma.exe
Labyrinth.exe
LongPressEndKeyApp.exe
MP3Trimmer.exe
MusicID.exe
Opera9.exe
OperaL.exe
QuickGPS.exe
RSSHub.exe
s2p.exe
s2u2 Settings.exe
s2v.exe
StreamingPlayer.exe
TomTom Navigator.exe
USBtoPC.exe
WMRegOptimizer.exe
YotaCenter.exe
YotaCenterUpdater.exe
YouTube.exe
and here is a list of things NOT to compress
manila.exe
cprog.exe
thumbCal.exe
calculator.exe
wt5jetpr.exe
any DLL
Please share your findings so that others can benefit from it
(SEARCH this thread for your application name or EXE filename)
note: you'll have to repeat this proses after upgrading your applications
big thanks to;
edhaas - for the original simple to use batch file More info in this THREAD
UPX Team - a lot of technical info on the Website
kwbr - for a great ROM
and especially XDA-DEVELOPERS as a whole
Wow!
Thank you for sharing this. This also works great for S2U2. I noticed a difference in loading times. Also applied to this to iGO.exe and a few other .exe's
Thanks again for posting this.
Looks like hdtweak.exe and fdotfreds taskmanger have this done already.
Thanks for your explanations, everything worked fine till I had to copy files to Windows directory: access denied. What must I do to be able to copy files to WD?
Thanks and kind regards,
very very good! I try with commManager, yota contact, opera 9, resco explorer 2008 .....there is a time reduction in all! best performance in yota contacts from 5 seconds to 1 second
If this works so well I wonder why Microsoft doesn't implement it?
upx also works for large dll files!
andrewk21 said:
Thanks for your explanations, everything worked fine till I had to copy files to Windows directory: access denied. What must I do to be able to copy files to WD?
Thanks and kind regards,
Click to expand...
Click to collapse
for that you'll need something along the lines of total commander
i wish we could do this with manilia.exe but i tried and failed, it doesnt load, so had to restor it
I'm also having problem removing protection from some of the files :/
I tried to change properties via Resco Explorer, but without succes. As soon as I remove "Read only" attribute and click "Done", the attribute restores itself and I can't overwrite the new files.
I managed to update Yota; GoogleMaps, Nimbuzz and Opera - all load with visible speed improvement.
Tried Total Commander but can't get it to see my phone
It isnt working on the diamond saber. Icontacts and Yota center went well
WAUWW!!! my TomTom is now really fast!!
Thanks for sharing this app.
andrewk21 said:
Thanks for your explanations, everything worked fine till I had to copy files to Windows directory: access denied. What must I do to be able to copy files to WD?
Thanks and kind regards,
Click to expand...
Click to collapse
some files maybe in memory (used by your phone)
a trick to try is
connect with ActiveSync to the phone
browse into windows folder
rename the file you will be replacing (ex. HTCAlbum.exe to HTCAlbum.old.exe)
copy the UPXed version
restart device and test
if everything works delete the ".old." file
usrname said:
upx also works for large dll files!
Click to expand...
Click to collapse
it does indeed,
but in my experience with less noticeable results and much less reliability
so i didn't mention this
please list any DLLs that you have UPXed with us so that we can all benefit
elite-fusion said:
i wish we could do this with manilia.exe but i tried and failed, it doesnt load, so had to restor it
Click to expand...
Click to collapse
i had the same experience, but
best performance boost for Manila/TouchFLO is CFC compression of images (more info here)
Sir.B, can you please share info on how to remove attributes from System files? Tried through Resco File Explorer, but no effect - still can't overwrite old files, always having errors :/
Wow. This is great!
TomTom V7.450 From 6 down to 3 sec to splash screen!
I wonder if it would be possible to do this to all the exe and dll before cooking.
PocketPlayer also works. But most startup time is the drive scanning.
Google Maps also works, but it started up fast anyway. (also the 2 largest dll worked)
gpsVP works, but was already subsecond.
CommManager.exe worked, was a little faster
AdobeReaderLE worked but despite being a huge program, loaded fast to begin with.
PowerPoint worked but also despite being a huge program, loaded fast to begin with.
CorePlayer reports 'Already compressed'
G-Alarm reports '.net not (yet) supported), except for 2 dll's, they worked.
cybermaus said:
Wow. This is great!
I wonder if it would be possible to do this to all the exe and dll before cooking.
Click to expand...
Click to collapse
yea true, that would be GREAT!!!!! the roms would be superfast!!!!
thanks much for this tutorial. i upxed most of the exes u had listed and MAN, it really changed launch times in the apps. htcalbum is awesome and even s2p is launching faster
Rozenthal said:
Sir.B, can you please share info on how to remove attributes from System files? Tried through Resco File Explorer, but no effect - still can't overwrite old files, always having errors :/
Click to expand...
Click to collapse
i recommendation you read the WIKI and FORUMS,
this is a general question that has been addressed better than i can many times
cybermaus said:
...I wonder if it would be possible to do this to all the exe and dll before cooking.
Click to expand...
Click to collapse
elite-fusion said:
yea true, that would be GREAT!!!!! the roms would be superfast!!!!
Click to expand...
Click to collapse
to replace all EXE & DLL files would be quite an undertaking
because it's such a trial and error process (manila.exe and mode9.dll don't like to be UPX-ed, maybe many more)
and benifits are only noticeble for the largest of files
never hurts to talk with your chefs
Sir.B said:
some files maybe in memory (used by your phone)
a trick to try is
connect with ActiveSync to the phone
browse into windows folder
rename the file you will be replacing (ex. HTCAlbum.exe to HTCAlbum.old.exe)
copy the UPXed version
restart device and test
if everything works delete the ".old." file
Click to expand...
Click to collapse
No matter what software I tried, I just can't get to replace the protected system files.
I tried Resco, I removed the attributes but they're back as soon as I click "Done".
I also tried your described method, but clicking on "rename" in Windows Explorer via ActiveSync - nothing happens. The files seem to be permanently locked
Sir.B said:
i recommendation you read the WIKI and FORUMS,
this is a general question that has been addressed better than i can many times
Click to expand...
Click to collapse
Actually, I have been searching all over forums, but none of the methods described worked for me. Most recommend using Resco or Total Commander, both of which don't work for me. All of the files that have "ROM" attribute simply refuse to be modified in any way.
Thats right. You cannot modify ROM files. You cannot even copy ROM files. You'd have to dump the ROM to PC, which is not trivial. Best to only use this on post-installed programs that are not in ROM.
Interesting: Coreplayer gives me an "already packed by UPX"
Seems they learned this trick before.....
Related
Wazzzzzzzzaaa???
This is my first C# util!
It facilitates ExtRom update process. All you need to do is to put your cab files to Ext and run this utility, then the utility will create Config.txt at Ext with all cabs specified as "CAB: path2cab". If you need to get your original Config, then check ConfigOld at Ext
C# Programmers let's unite!!! ))
ps: the utility is not verbose one, so you won't see any messages & lame stuff. If you see something, then there is a problem
that's good boy! will try it l8r..
THANKS!
Man, wher z feedback?? Did u try it?
Yo,
boobee said:
that's good boy! will try it l8r..
THANKS!
Click to expand...
Click to collapse
Boy, hope you finaally tried it! And try this one also. This is my 2nd C# util
Shortly what it does:
UnZips your files with consecutive registry values (reg V4) import and splash writing
It means that you can zip all your files to one file called Setup.zip and place it anywhere (storage/ext). After hard reset, the utility is called and it extracts all your files and restores your favorite registry settings (saved to Setup.reg) and writes your splash.
btw: read za manual !
ps: the concept is the same, if u see somethin' then there is a trouble
Re: Man, wher z feedback?? Did u try it?
Attention!
The file was re-uploaded, so there mustn't be any CRC errors now
System Requirements
Regarding system requirements, the program needs old version of ER\Autorun.exe that understands ER\Config.txt
Program was not tested on XDA1! It was partially tested (w/o hard-resets on XDA2 / 1.72TM
Version 1.1
Wazzza!
Here is a new version of Restorator utility. The new features are:
+ now it deletes content of \My Documents;\Windows\Start Menu;\Windows\Startup folders (as people wanted
+ TimeZone offset is not resetted anymore
Note:
Make sure you have prepared your customized Start Menu (!!!) and Startup (!!!) folders, otherwise you won't be able to see Programs after hard-resetting your device. Please, check the attached sample to prevent yourself from having problems with this utility or use version 1.0 that don't delete anything
Umm... could anyone translate this into English for me?
I don't even understand the title of the thread.
In another thread, SP says that one of these downloads will retrieve data back on hard resets. Sounds like a useful tool, if only I understood what the hell these posts mean. :lol:
For Ben
sublimatica said:
Umm... could anyone translate this into English for me?
Click to expand...
Click to collapse
Here we go...
(assuming that you downloaded 'RestoreItV1_1_PPC.ARMV4.CAB' & installed it to your device)
This program is designed to restore your files, folders and registry settings from a ZIP-format archive and it can also write some splash screens
For this purpose, you need to make a ZIP-format archive with files & folders you want to get restored after hard-reset. Just run your favorite pocket zip archiver (for instance PocketRAR) and archive those files & folders that you want to see after hard-resetting device. Name your archive "Setup.zip" and place it to one of the following places: storage, storage card or extended rom.
Before doing further instruction make sure you have unlocked your ExtendedROM using ExtUnlocker.
If your rom is unlocked try to run the utility from \Storage\RestoreIt. If you had no messages after running it, then the utility installed itself successively. And your files & folders placed to 'Setup.zip' will be restored on next hard-resets.
If you're interested in restoring registry settings, then you need to get pocket registry editors that support exporting/saving to .reg files. After saving your favorite registry settings you will need to combine them to one .reg file and name it 'Setup.reg'. Then, you will need to place it to your archive's root folder (aka '\') So, you will have a file 'Setup.reg' placed to the root folder of your 'Setup.zip'. That's all folks
I strongly recommend you to see sample 'setup.zip' & 'manual.txt'
DON'T FORGET TO PUT YOUR CURRENT '\WINDOWS\STARTUP' & '\WINDOWS\START MENU' FOLDERS TO YOUR SETUP.ZIP!!!
You're welcome to ask me questions anytime!
Aaah, OK. That makes more sense
Sounds like a handy little tool then. Might have a play later.
Thanks, SP!
RAR-support
Is there anyone who is interested in rar-support for restorator?
Attention: Restorator v1.0 & 1.1
Attention: Restorator v1.0 & 1.1 are originally supported by I-Mate 1.72! All you need to do here is to use Extended ROM unlocker prior to running the utility
Feedback
Any feedback so far?
SP,
Restorator seems like a winner!!! I have been hitting my head on the rocks for a while trying to script a recovery using nscriptm as a scripting tool to call cab files which I keep on a storage card. Looks like using your tool a lot of the tedious scripting can be simplified by simply copying the files where they need to go. The challenge is knowing exactly what to copy & where... Is it possible to add the ability to call CAB files to your already excellent utility?
I am imagining putting all the CAB files in say a folder like \CABs in the Setup.zip and then having Restorator calling them one by one after finishing off with all else that it does. Can this be done? Additionally can you add ability to call registry imports at two points? You may wish to call registry import at the beginning and once more at the end after all cab file execution has been completed. This would be useful to restore application settings etc which the cab execution would overwrite to default. You would obviously need to keep two .reg files in the zip file. Does this make sense?
Thanks once again for all your efforts. Regards
Hi Mate
k_kirk said:
SP,
Thanks once again for all your efforts. Regards
Click to expand...
Click to collapse
Thanks for your motivating feedback.
I'm planning to put your features in 3 to 5 days...(hope to get some free time on these days).
And more ideas and recommendations are welcome!!!
SP
SP, thanks for continuing to work on this utility. I am waiting eagerly for your next update. I will set it up and test it with a hard reset so we can see real outcome. Let me know when ready please. Thanks
Re: Hi Mate
SP said:
k_kirk said:
SP,
Thanks once again for all your efforts. Regards
Click to expand...
Click to collapse
Thanks for your motivating feedback.
I'm planning to put your features in 3 to 5 days...(hope to get some free time on these days).
And more ideas and recommendations are welcome!!!
SP
Click to expand...
Click to collapse
Hi SP, this utility sounds great. Does it work with the XDA I as well????
Re: Hi Mate
Hi SP, this utility sounds great. Does it work with the XDA I as well????
Click to expand...
Click to collapse
Unfortunately I don't have an XDA 1 device at my disposal and I'm unfamiliar with its tech info.
What happens when your xda1 is hard resetted? Does it install cab files? or does it run any configuration software?
If there is a such software (on XDA2 it is autorun.exe placed at ExtendedROM), then you must specify in the runner (which starts on hard-resets) the call to the restorator utility
Looking forward to assist you in porting restorator for XDA1 devices
Cheers
Hi SP. Just dropping by. Any news on new version of Restorator? Cheers.
Restorator V1.2
k_kirk said:
Hi SP. Just dropping by. Any news on new version of Restorator? Cheers.
Click to expand...
Click to collapse
Sorry for the delay...
I'm having lack of time now, thus I couldn't test it very well . Just let me know if you found some bugs...
Now you can create "\CABS" folder and place your cabs there. They will be processed after extraction and before registry import. So, you don't need to have two .reg files then.
I'm looking forward to your new ideas!
ps: another attachment is a set of registry settings splitted by .reg files. I'm using them to get my setup.reg. Just change what you need, delete some of them and run "make.bat". It will create setup.reg with all your settings.
btw, check out "Usher_-_Yeah_[44k].wma" & "Maroon5_-_This_Love_[64k].wma". Home-made ringtones ;-)))
for those who hadn't used Restorator before. !!! DON'T FORGET TO PUT YOUR "START MENU" & "STARTUP" FOLDERS TO THE SETUP.ZIP !!! AND READ DA MANUAL!!!
Cheers
SP,
I tried the Restore-It utility today and found that the earlier functionality of copying files & importing registry etc from setup.zip works quite well.
The \CABS folder was also restored onto my device so I guess thats an indication that my setup.zip file was contructed properly. I am sad to report that none of my cab files were triggered by Restore-It though. I think there is a small bug thats holding back this behaviour.
Your kind assistance to check & correct this will be most appreciated.
Thanks & Best Regards
Hi all,
Havn't posted for a while but I am still here! My exec seems to be running pretty fast now, using ozVGA
Anyways, just installed 2 patched *.exe files into windows directory (Backlight.exe.0409.mui.exe and Power.exe.0409.mui.exe) but me being stupid, I forgot to make a back up of the ORIGINAL backlight.exe and power.exe (located in the Windows DIR on the phone)...
So could somebody PLEASE upload me them two files, as I really need to restore them because using ozvga is hurting my eyes at the moment!
Thank you!
Not sure if this is what you want, since they are ROM files.
They originally had Read-Only, Hidden & System attributes set, but don't know if those will survive being compressed with WinZIP.
HTH
Exactly what i needed.. but I have no such luck of getting them onto the exec! i remove the attributes and it still doesn't let me copy!! DOH! any ideas? and thank you for such a quick reply
peteypye said:
Exactly what i needed.. but I have no such luck of getting them onto the exec! i remove the attributes and it still doesn't let me copy!! DOH! any ideas? and thank you for such a quick reply
Click to expand...
Click to collapse
Sorry, wait a minute... That's better just got my spare (hopefully working) brain cell out of cold storage. :roll:
Both files are shown as "ROM" files if I look at their properties in the \Windows\ folder using Resco Explorer, so, errr..... won't they already be there if you delete whatever you've currently replaced them with?
Unfortunately, neither ActiveSync Explore, nor the PDA's File Explorer appear to allow you to overwrite an existing system file on the PDA. Resco's Explorer does allow this, although you get a message saying that the world will probably end if you do. I just tried copying another program into Windows as Backlight.exe. Then deleted my program, and the original was available again. But as mentioned, not posible with File Explorer, nor ActiveSync Explore.
Ok, simply by deleting the two files restored the default versions and fixed my problem.
Thanks for your advice, astage.
peteypye said:
Thanks for your advice, astage.
Click to expand...
Click to collapse
Nothing to thank me for ..... since I'm just another fish out of water...
astage said:
Not sure if this is what you want, since they are ROM files.
They originally had Read-Only, Hidden & System attributes set, but don't know if those will survive being compressed with WinZIP.
HTH
Click to expand...
Click to collapse
link not working .
Hope someone can help.
As usual i am putting new cabs into my documents on the pc and syncing. But when i open file explorer, these new cabs are now showing as windows files that cannot be open as oppossed to cabs as they used to be.
I'm a bit of a noob ,so i'm not sure i have explained this very well but hopefully someone can help.
Thanks in advance.....
sounds like you are extracting the cabs to me, i just have a folder on my sd card i call general crap, and i copy all my cabs in there, go to file explorer sd card then general crap then click on what i want to install
Thanks very much for the swift response. Its very odd that this has started happening all of a sudden. Some cabs ie wallpapers, are going into my documents, but others as i said seem to now be windows files and not cabs, once they are in my documents and cannot be opened, very very frustrating !! I'll try what you said this evening and see if it works, but i cannot understand why it would all of a sudden be extracted when thats never been the case before ?
I'm sure i must have changed something, but i wish i new what
Cheers again for your help. I would be lost without this site, and my HD2 would be no-where near as much fun.
Thanks for the help, but it didn't work. Files still appear as window type files that i cannot open instead of the usual cabs. Wish i new whats changed, but unless anyone has a suggestion, i can feel a dreaded hard reset coming on !!!
Can you not just explore your device with activesync and copy the files manually, rather than using some method of synching? Or, connect as a USB drive and copy the files to your memory card. Either they're not actually cab installers, or the sync process is doing something to them.
Just tried both your suggestions, but with no luck. But thanks anyway for the reply. Wish i new what has changed but something has .
NREYNOLDS said:
Just tried both your suggestions, but with no luck. But thanks anyway for the reply. Wish i new what has changed but something has .
Click to expand...
Click to collapse
What actually happens then when you click a cab file? Do any old cab files work, or is it now all cab files that won't work?
It says " The file ????? cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. If the problem persists, try reinstalling or restoring this file "
You can see before you try to open it that its not right, as i say , it appears to be a window file not a cab, once it goes on my device, though judging by the size of the file it is all there !!!
Wallpaper cabs seem to be working for some reason though.
Using your PC, browse to the folder on your phone and see what the file is called. If it doesn't look like a cab file should, then it probably won't have a .cab extension. (I only say this because the file explorer on the phone does not show file extensions. Your PC may not be set up to do so either though. The alternative is to use Total Commander or Resco to see what the file extension is.)
Can you give me a link to a cab file that doesn't work for you?
http://forum.xda-developers.com/showthread.php?t=576232
Shortcuts to start menu folders is one of the cabs. As above .
I'll have a play with the other things youv'e said.
Thanks again for you help.
NREYNOLDS said:
http://forum.xda-developers.com/showthread.php?t=576232
Shortcuts to start menu folders is one of the cabs. As above .
I'll have a play with the other things youv'e said.
Thanks again for you help.
Click to expand...
Click to collapse
Don't thank me till we've fixed it
Did you first unzip the file in that linked thread?
No, i'm putting it on unzipped as i normally do.
Looking at them on the pc, they appear as normal .
NREYNOLDS said:
No, i'm putting it on unzipped as i normally do.
Looking at them on the pc, they appear as normal .
Click to expand...
Click to collapse
Well the link you gave me is a zip file with a cab file in it, so you would need to unzip it first. Cab files are actually a format of compression, so it's likely that a cab file and a zip file would have the same icon on your PC. It's for reasons like that that I always make sure to have file extensions switched on on my PC.
Try unzipping it and copying the contents to your phone and see how you get on with that.
You are a life saver. Now I can say thank-you very much, that worked perfectly. This website is brilliant for those of you who know what your doing and for those like me who just like to play with their device and make use of the knowledge on this site.
Thanks again.
NREYNOLDS said:
You are a life saver. Now I can say thank-you very much, that worked perfectly. This website is brilliant for those of you who know what your doing and for those like me who just like to play with their device and make use of the knowledge on this site.
Thanks again.
Click to expand...
Click to collapse
You're welcome mate. Glad you got it sorted.
I tried to keep the title as descriptive and short as possible, I hope it makes sense
I picked up the kitchen of nhathoa (a retired Topaz cook) hoping to get it customized to make it exactly the way I want but I'm running into some issues.
Long story short, I'm using Ervius Visual Kitchen (1.8.2) and I noticed that the EXT packages I added end up leaving two copies of the files, a copy under \windows\ and another one in the places I specified using app.dat using:
Code:
Directory("\Program Files\bla\"):-File("bla.exe","\Windows\bla.exe")
Is there some way to get rid of the copy under \Windows\ ??
I know that I could simply leave everything there and discard the app.dat files but I would really prefer having everything organized properly (I have a bit of an OCD when it comes to organizing everything neatly ).
I'm pretty sure that this is a rather simple and noobish issue but I couldn't find anything relevant by searching and I took a look at some ext packages by various cooks and noticed the same behaviour.
MusikMonk said:
I tried to keep the title as descriptive and short as possible, I hope it makes sense
I picked up the kitchen of nhathoa (a retired Topaz cook) hoping to get it customized to make it exactly the way I want but I'm running into some issues.
Long story short, I'm using Ervius Visual Kitchen (1.8.2) and I noticed that the EXT packages I added end up leaving two copies of the files, a copy under \windows\ and another one in the places I specified using app.dat using:
Code:
Directory("\Program Files\bla\"):-File("bla.exe","\Windows\bla.exe")
Is there some way to get rid of the copy under \Windows\ ??
I know that I could simply leave everything there and discard the app.dat files but I would really prefer having everything organized properly (I have a bit of an OCD when it comes to organizing everything neatly ).
I'm pretty sure that this is a rather simple and noobish issue but I couldn't find anything relevant by searching and I took a look at some ext packages by various cooks and noticed the same behaviour.
Click to expand...
Click to collapse
No, it's call Read-Only-Memory (ROM) and is the reason you can hard-reset your phone. Every file you cook into the ROM is in \windows. Two ways I know of to reduce the amount of files would be to zip them and have a mortscript unzip them to the proper location during customization or cook in a cab containing all of the files and have it run during customization.
That makes a lot of sense, I really feel ashamed that I didn't figure it out earlier
EXT packages seemed easier than bothering to read about customization but I guess it's time to start reading about this kind of stuff.
Thread marked as solved.
Thanks for the quick reply!
Yup, files in rom are in rom forever, or until you flash again, lol. The trick is to just run bla.exe from \windows. I would say that 90% of the time, bla.exe runs just fine out of the windows directory (especially if it's the only file in the package). When people create cabs, they naturally install the app in \program files, but in general apps don't need to be in a specific folder. If there are other files present, usually an .exe will search within its own folder for those files. So, if you just cook everything straight into windows, you'll be good to go. It's easy enough to test: just move all the files from program files to windows after installing a cab, fix the shortcut in the start menu, and then try to run the app. It's always a good idea to do a soft reset and try again (found this out the hard way many times). The one thing you have to watch out for is settings files, like .dat files. These files frequently have to be archived (not read-only). Particularly with apps that use net 3.5, if there's a setting file that is read-only, the app won't boot and you'll get an error message. The fix is to name the file settings-1.txt (or whatever) and have an app.dat rename it to settings.txt (and keep it in \windows).
Also, remember to fix the shortcut path in the start menu, and examine the registry entries to see if there are any paths for files present-you may need to change them to point to \windows (this could also be true in settings files).
mwalt2 said:
No, it's call Read-Only-Memory (ROM) and is the reason you can hard-reset your phone. Every file you cook into the ROM is in \windows. Two ways I know of to reduce the amount of files would be to zip them and have a mortscript unzip them to the proper location during customization or cook in a cab containing all of the files and have it run during customization.
Click to expand...
Click to collapse
This actually made me think a little bit. When you think about read only, I always thing can't delete or overwrite. Obviously I can run a cab and replace a file that is located in the \Windows directory, that leads me to believe there is a way to delete a file or maybe even replaced with an empty file of the same name.
You can over-write a rom file, but the rom file is still there. The file system just flags it somehow or another and tells the device to ignore it and instead use the new file.
TMartin03 said:
This actually made me think a little bit. When you think about read only, I always thing can't delete or overwrite. Obviously I can run a cab and replace a file that is located in the \Windows directory, that leads me to believe there is a way to delete a file or maybe even replaced with an empty file of the same name.
Click to expand...
Click to collapse
The new file you copy over goes into the "user" partition of the file system and windows knows to use that file instead. Once you delete this newly copied file from \windows, the old one from the ROM will take its place back in the filesystem.
Farmer Ted said:
Yup, files in rom are in rom forever, or until you flash again, lol. The trick is to just run bla.exe from \windows. I would say that 90% of the time, bla.exe runs just fine out of the windows directory (especially if it's the only file in the package). When people create cabs, they naturally install the app in \program files, but in general apps don't need to be in a specific folder. If there are other files present, usually an .exe will search within its own folder for those files. So, if you just cook everything straight into windows, you'll be good to go. It's easy enough to test: just move all the files from program files to windows after installing a cab, fix the shortcut in the start menu, and then try to run the app. It's always a good idea to do a soft reset and try again (found this out the hard way many times). The one thing you have to watch out for is settings files, like .dat files. These files frequently have to be archived (not read-only). Particularly with apps that use net 3.5, if there's a setting file that is read-only, the app won't boot and you'll get an error message. The fix is to name the file settings-1.txt (or whatever) and have an app.dat rename it to settings.txt (and keep it in \windows).
Also, remember to fix the shortcut path in the start menu, and examine the registry entries to see if there are any paths for files present-you may need to change them to point to \windows (this could also be true in settings files).
Click to expand...
Click to collapse
First of all, a small question about the underlined part, just to make sure that I got it right: it won't be exactly a rename just a copy with a different name, correct?
Some of the apps I use need a specific directory structure for the resources and files they use, so just dumping them in one big folder won't work.
Another possible issue that I think I'll run into is having two files sharing a generic name (let's say settings.xml) while each belongs to a different app. I didn't personally encounter such a situation just yet but my packages are still a work in progress and I did see a post or two about this while searching.
I was still hoping there would be a simple way to arrange the files in folders while keeping them under \windows\ but I can't find such a method either. Doesn't seem like I have other options than to decided on a firstboot customization method: Runcc, autorun, xda_uc or something that I haven't read about yet...
"Runcc" is currently used in the base kitchen so that gives it an edge right now.
Edit:
Remembered that I had another question, and it's probably not worth a new thread.
I was looking at how to manually create .lnk files and I noticed something that I didn't understand and couldn't find info about.
For example:
Code:
21#"\Windows\MSDict.htm"
What exactly does the "21" refer to?? I tried changing it randomly to other values a couple of times and it didn't effect anything.
NRGZ28 said:
The new file you copy over goes into the "user" partition of the file system and windows knows to use that file instead. Once you delete this newly copied file from \windows, the old one from the ROM will take its place back in the filesystem.
Click to expand...
Click to collapse
Ok now that makes a lot of sense. I guess I'm just use to Android and being able to see that separate partition. Thanks for the explanation.
That sort of leaves me to another question. Can't someone develop a way to overwrite directly to the "system" partition? It would almost be like a root/superuser for WinMo.
Sent from my HTC Evo 4G!
MusikMonk said:
First of all, a small question about the underlined part, just to make sure that I got it right: it won't be exactly a rename just a copy with a different name, correct?
Click to expand...
Click to collapse
Yup, that's correct. Another approach is to take all similar files that go into windows and stick them in a zip file that unzips to the windows directory. I do that in a few cases (power radio comes to mind; it has an ini file). What I do in most cases though is use a backup/restore mortscript. The backup copies all settings files (and similar things) on my device to my sd card. During customization, the restore copies them back. It's convenient for apps where I change the settings a lot and I don't want to have to constantly fuss with the packages.
Some of the apps I use need a specific directory structure for the resources and files they use, so just dumping them in one big folder won't work.
Click to expand...
Click to collapse
What you do in that case is move the sub-folders into windows. In this case, I'll use a zip file to unzip those folders into windows. Using app.dat files to copy large numbers of files blows. It increases the rom file count as well as the storage used. A zip file is a single file, and usually it saves space.
Another possible issue that I think I'll run into is having two files sharing a generic name (let's say settings.xml) while each belongs to a different app. I didn't personally encounter such a situation just yet but my packages are still a work in progress and I did see a post or two about this while searching.
Click to expand...
Click to collapse
In that case, you're screwed unless there's a registry key that lets you change the name. I've run into a few complications; tcpmp and OMarket both use a common.dll. My solution was to buy Core Player, lol.
I was still hoping there would be a simple way to arrange the files in folders while keeping them under \windows\ but I can't find such a method either. Doesn't seem like I have other options than to decided on a firstboot customization method: Runcc, autorun, xda_uc or something that I haven't read about yet...
"Runcc" is currently used in the base kitchen so that gives it an edge right now.
Click to expand...
Click to collapse
Using cabs or zip files is the way to go if you want to copy large folders in one shot (with a mortscript; you can also un-rar rar files, but I don't know how. Yet, lol). Zips are easier to make and edit than cabs, but you need to have mortscript cooked in and know how to write the simple script (aka cut-and-paste).
Edit:
Remembered that I had another question, and it's probably not worth a new thread.
I was looking at how to manually create .lnk files and I noticed something that I didn't understand and couldn't find info about.
For example:
Code:
21#"\Windows\MSDict.htm"
What exactly does the "21" refer to?? I tried changing it randomly to other values a couple of times and it didn't effect anything.
Click to expand...
Click to collapse
The 21 is the number of bytes after the #. It doesn't matter. I usually just change the first number to 1. It works fine. Counting bytes blows.
That was extremely helpful. Too bad these boards don't use a rep system
Farmer Ted said:
Yup, that's correct. Another approach is to take all similar files that go into windows and stick them in a zip file that unzips to the windows directory.
Click to expand...
Click to collapse
Well, if I'm going to follow this method, and it seems like I am, I don't see why I would still have to limit myself to the \windows folder. I can just put everything the way I originally wanted to do. I only looked at arranging files under \windows when I found out that there's no way to get rid of the duplicates.
Farmer Ted said:
Using cabs or zip files is the way to go if you want to copy large folders in one shot (with a mortscript; you can also un-rar rar files, but I don't know how. Yet, lol). Zips are easier to make and edit than cabs, but you need to have mortscript cooked in and know how to write the simple script (aka cut-and-paste).
Click to expand...
Click to collapse
I haven't tried writing mortscripts yet but I've seen enough to figure out the basic and notice how easy it is. I'm gonna check how usable is the WM version of 7zip, as long as it accepts arguments combining it with mortscript will be easy and perfect for me.
7z archives can get smaller in size than half of the zip archives for the same files. And cabs are too annoying to work with and keep updated later on.
Only issue remaining now is checking whether I should put the archived files under \windows or use the sdcard for customization. I'm leaning toward the first but I'll have to wait and see how much memory I would be sacrificing that way.
Farmer Ted said:
The 21 is the number of bytes after the #. It doesn't matter. I usually just change the first number to 1. It works fine. Counting bytes blows.
Click to expand...
Click to collapse
Ah! I thought about counting bytes/characters and noticed that it works sometimes. But I thought it was a coincidence after I experimented in changing the value and noticed that it wasn't always the right count in the .lnk files that I found.
[rant]
Nice, I was messing around with some packages to free up ram and storage and I seem to have ended up with a rather b0rked up xTask. And then there's still convincing Resco Explorer that the registry add-in IS in fact there.
Figuring out the causes should keep me happily busy for a while (and probably heavily pissed for another while afterwards).
[/rant]
Edit:
Just for the record, I ended up using xda_uc it's a lot easier than doing things manually. Although it would help if there was some kind of documentation available, took me a while to understand what .xda, xdai, xdas & .xdaz files are supposed to be.
hi by the way is it possible to convert ext packages of QVGA phones to one another?
Does anybody has Resco Explorer in ext package?
Tried to do it but i miss resco registry and resco ftp.
Thanks!!
What exactly do you want to get? I have it (selfmade).... But it's free for sure....
One more thing - I use OEM regular structure - not EXT (For OsBuilder). It's a normal package - with rgu and dsm.... Registry is a separate cab - you should add it to the package. FTP is a part of explorer - just added features.
AndrewSh said:
What exactly do you want to get? I have it (selfmade).... But it's free for sure....
One more thing - I use OEM regular structure - not EXT (For OsBuilder). It's a normal package - with rgu and dsm.... Registry is a separate cab - you should add it to the package. FTP is a part of explorer - just added features.
Click to expand...
Click to collapse
Well, in Resco site there is one cab for all the subprograms that are included in the resco 2010 8.10 version.
It is this cab I tried to convert to ext package.Everyrhing works except registry function.
Thanks anyway.
Attached is the app.reg (renamed to app.txt because of forums limitations) file that I use for Resco Explorer with FTP and Registry plugins added.
I didn't clean it up so it also contains the keys and values for the options and settings that I prefer having.
For future reference, I had the same issue as you at first then I used a tool called Kheb to monitor the registry changes that happen when I install cabs and customize everything. Kheb can also make diffs between different registry snapshots and even generate OEM packages based on such diffs.
I did apply your REG file, but Resco Registry not work yet, the problem is a SETUP.DLL in to the Resco Explorer CAB, it contains a secret instructions and I believe that is impossible to open it, anyway I saw some cooks with Resco Explorer and Registry in their ROMs, it's obvious that they know the secret.
I also want to know.....pleaseeeee
justintxu said:
I did apply your REG file, but Resco Registry not work yet, the problem is a SETUP.DLL in to the Resco Explorer CAB, it contains a secret instructions and I believe that is impossible to open it, anyway I saw some cooks with Resco Explorer and Registry in their ROMs, it's obvious that they know the secret.
I also want to know.....pleaseeeee
Click to expand...
Click to collapse
Make the package with cab to package software (there is in all kitchens) and then replace the reg and app.dat files with the ones attached and cook it.Works for me.
The idea goes to MusicMonk but his attached file doesnt work for me.
Just use Kheb like MusikMonk suggested; it will capture all of the reg keys that are installed by the setup.dll. You can also look in the setup.dll with notepad and probably see the keys that are installed.
If you're trying to backup you registration info, it's stored in a file in \windows called wmtrigger.dat. All of Resco's registration codes are stored in that file, so if you have several of their apps, that's all you need.
NIKOSXRI said:
Make the package with cab to package software (there is in all kitchens) and then replace the reg and app.dat files with the ones attached and cook it.Works for me.
The idea goes to MusicMonk but his attached file doesnt work for me.
Click to expand...
Click to collapse
I did apply your REG file but not works for me, anyway thanks for your help, mate.
I made a CAB file from the original Resco Explorer CAB, I deleted all files except SETUP.DLL and later run it and VOILA!!! the Resco Registry works !!!!!
Unfortunately I don't need it, I need the secret instructions in SETUP.DLL, I did open it using UltraEdit but I can't find nothing.
try this it should work, but your still gonna need the code as this is not cracked
Thank you, mate, but I found the secret reg keys in the setup.dll file. I used CeRegEditor to create a registry image, later install the cab with setup.dll and I created a image again, and finally I compared the first and second image to detect the differences.
I made a new reg and all works now
Thank you very much mates
fully working resco explorer package
Fixed some shortcuts added rtoday plugin, resco update, task manager that was missing and ftp in previous packages and is attached below.
Of course it needs the usual registration process.
NIKOSXRI said:
Fixed some shortcuts added rtoday plugin, resco update, task manager that was missing and ftp in previous packages and is attached below.
Of course it needs the usual registration process.
Click to expand...
Click to collapse
Have you managed to have in built registration code in it so that you dont have to feed the registration key after the installation?
c_shekhar said:
Have you managed to have in built registration code in it so that you dont have to feed the registration key after the installation?
Click to expand...
Click to collapse
The registration code is in the wmtrigger.dat file in windows folder which is created after registration.
So you have to copy this folder after registration and put it in your kitchen.
NIKOSXRI said:
The registration code is in the wmtrigger.dat file in windows folder which is created after registration.
So you have to copy this folder after registration and put it in your kitchen.
Click to expand...
Click to collapse
Thanks a lot. I was looking for this clue sinse ages.
BTW: how did you discover this?
c_shekhar said:
Thanks a lot. I was looking for this clue sinse ages.
BTW: how did you discover this?
Click to expand...
Click to collapse
All Resco products write registration to one file It's well known for ages and it's no need to discover anything. So if you decide to use several resco products - you should install and register them all and then save the summary wmtrigger.dat - it will be one for all installed Resco-s..... And for sure - system User name should be the same for all your roms - it's also fixed in that file...
One more tip: if you occasionally decide to use cracked resco products - you will get a conflict if you use for example one legal and one cracked program simultaneously in one rom. So better use all registered.
AndrewSh said:
All Resco products write registration to one file It's well known for ages and it's no need to discover anything. So if you decide to use several resco products - you should install and register them all and then save the summary wmtrigger.dat - it will be one for all installed Resco-s..... And for sure - system User name should be the same for all your roms - it's also fixed in that file...
One more tip: if you occasionally decide to use cracked resco products - you will get a conflict if you use for example one legal and one cracked program simultaneously in one rom. So better use all registered.
Click to expand...
Click to collapse
Thanks a lot. Added to my knowledge bank..
c_shekhar said:
Thanks a lot. I was looking for this clue sinse ages.
BTW: how did you discover this?
Click to expand...
Click to collapse
You can use sktracker in your phone.
This program traces the changes in registry and files so if you create a snapshot with the program and then install or register applications or change the options and user settings in applications (you better do it program by program) you can easily find the changes and apply them each time you change your rom.
I apply all mods with sashimi but there are other choices also.
NIKOSXRI said:
You can use sktracker in your phone.
This program traces the changes in registry and files so if you create a snapshot with the program and then install or register applications or change the options and user settings in applications (you better do it program by program) you can easily find the changes and apply them each time you change your rom.
I apply all mods with sashimi but there are other choices also.
Click to expand...
Click to collapse
I used to find the registry part of any cab or software by saving the registry and comparing the one before and after with the help of registry workshop on my PC, but did not know that there exists a utility with which wmtrakker.dat"" type of new file creation can also be found out.
Thanks a lot bro!!!
It's very good
Does anyone know how to backup Resco Customizations ( e.g ToollBar Shortcuts etc ? )