Cooking a Rom: What files can be deleted from the Rom? - 8125, K-JAM, P4300, MDA Vario Software Upgrading

I want to test some stuff before I want to cook a new Rom (that will be released to the community).
I'm gonna add some files to the Rom, but I also want to delete some files from the Rom. I already have some ideas of the files I am going to delete, but I want to delete as much as possible from the Rom that is not needed.
So I want to create a list here with files that can permenantly be deleted from a Rom (in my opinion).
For starters:
- Pictures in \My Documents\My Pictures
- Music in \My Documents\My Music
- Video in \My Documents\ My Videos
- Wifi_Init.lnk
- Init_Tray.lnk
- IA_Zip.exe
- Zip.lnk
- Help_Zip.lnk
- Zip_(ht).html
- Flower.jpg
- Waterfall.jpg
- Downloadagent.exe
- dlagent.exe
- Download Agent.lnk
- HTCABOUTLOGO.bmp
Who will make this list complete....
Molski

What for do you want to delete link files? Maybe there not needed but they are only few bytes...

ell82 said:
What for do you want to delete link files? Maybe there not needed but they are only few bytes...
Click to expand...
Click to collapse
The Wifi_Init.lnk and Init_Tray.lnk are the 2 links I delete first after a hard-reset, on my Roms not needed (I dont need a taskbar with a battery meter or other shortcuts in it) and saves a little bit of memory.
The links for downloadAgent and Zip are removed because I want to remove the complete programs (Dont need DL-agent at all and rather use Pocket RAR instead of the WM5 Zip functionality).
I am also playing with the idea of moving Pocket Word, Excel and PowerPoint to \Windows\Start Menu\Programs\MS Office, so you will get an extra folder in Programs with these 3 programs in it (just like the Games folder in Start Menu).
Molski

molski said:
I am also playing with the idea of moving Pocket Word, Excel and PowerPoint to \Windows\Start Menu\Programs\MS Office, so you will get an extra folder in Programs with these 3 programs in it (just like the Games folder in Start Menu).
Molski
Click to expand...
Click to collapse
Why not delete them completely, are there people who use this, specially ?Powerpoint?

Vilem said:
Why not delete them completely, are there people who use this, specially ?Powerpoint?
Click to expand...
Click to collapse
Yea....your right with that
Molski

yes u can delete those files , but word exel and others have reg keys in .rgu/dsm files and need to be edited.no an easy task,if not done properly it may create problems in future.
removing the files will not increase storage in any way,unless u are mking space to other files.if u just want to remove those links simply remove the entrys in the initflashes.dat file.
you can remove all the clearvue pdf fonts if u dont want this app in the rom
u can also remove IntelliPad.dlls language files that u dont need.

faria said:
yes u can delete those files , but word exel and others have reg keys in .rgu/dsm files and need to be edited.no an easy task,if not done properly it may create problems in future.
Click to expand...
Click to collapse
I am doing everything step by step, so I am not touching any .rgu/.dsm files at the moment
faria said:
removing the files will not increase storage in any way,unless u are mking space to other files.if u just want to remove those links simply remove the entrys in the initflashes.dat file.
Click to expand...
Click to collapse
This was important for me, clearing out files does not increase the storage.
But can you tell me HOW to increase storage on Main Memory?
So for now I am just gonna change some things (links/themes and things like that) and don't delete things (except for the standard stuff in My Pictures, My Videos and My Music).
faria said:
you can remove all the clearvue pdf fonts if u dont want this app in the rom
u can also remove IntelliPad.dlls language files that u dont need.
Click to expand...
Click to collapse
Sounds great, gonna check it out right now.
Thanks pal,
Molski

has anyone been able to expand on this list for WM6?

How
I am new t this but Love it I want to build in a kitchen But dont know how to cook....
thanks in advance
thanks CK

Related

Killing My5 files...

I'm working on my ROM and I know how to disable My5 from starting, but what about the My5 files? Do they need to stay there? Which files are My5? How much space are they taking? Which can I take out? Etc.
Also, is there a CAB with My5 on it? That would allow me to set an option on my kitchen to either install or not install it...
I think the only way to do this is to cook the ROM yourself and delete these files prior to building it. I'm waiting for ITJE to upload his cooking folders so I can do this myself and free up about 1.5M of space.
mikenaustin said:
I think the only way to do this is to cook the ROM yourself and delete these files prior to building it. I'm waiting for ITJE to upload his cooking folders so I can do this myself and free up about 1.5M of space.
Click to expand...
Click to collapse
You dont have to wait.
Extract the stripped version
using my tutorial
Thats the version you are gonna get either by extracting it, or wait for me to upload folders, witch might take awhile.
cheers
But which files are safe to delete from the extracted folders? My kitchen would warn me of the files, if I could just get a cab with My5 n it... (It checks for duplicate files.)
I don't have the time right now, but I have to hunt down all the files I need to kill on your ROM in order for it to work on my kitchen. (The Comm manager for example (as you can choose between 4 or 5 different comm managers on the kitchen, but it'll give you an error if the ROM already has its own because of duplicate files.) And I still don't know what the differences between the Wing and the Herald are. Is it a simple registry entry that changes the keyboard layout? Any files change?

TO: c_shekhar

1. You must be seeing a folder \ExtROM here which has few cabs and tsk files. Place this folder on \Storage Card of your device.
2. You can add the files which you wish to autoinstall after hard reset to this folder. But, dont forget to modify the \Storage Card\ExtROM\Config.txt accordingly.
3. Mark all cab files as read only.
You now have the Extended ROM back on your device but on the storage card this time.... Enjoy.
4. Install PPCPimbackup utility by Dotfred on your existing ROM and backup your SMS using that. And then flash the new ROM.The utility is available in this folder also.
C_shekhar
Click to expand...
Click to collapse
Hi C_shekhar,
I have two questions in upgrading your ROM and the ExtROM
1) How to do this step ->Mark all cab files as read only
2) Can i flash the ROM first, the copy all ExtROM files to the SD card, and then do a Hardreset -> i have done this but seems not work.
Thank you.
you can mark the files read only using a file explorer utility like resco explorer. and as long as u add the appropriate entries to config.txt whenever u hard reset the cabs will get installed.
n btw im sorry im not c_shekhar but i think the answers correct
xPreSiDenT said:
you can mark the files read only using a file explorer utility like resco explorer. and as long as u add the appropriate entries to config.txt whenever u hard reset the cabs will get installed.
n btw im sorry im not c_shekhar but i think the answers correct
Click to expand...
Click to collapse
thank you very much for your quick reply.
now i have reflashed the ROM and the ExtROM works now.
I am wondering why we have to hide the files in the ExtROM folder, as i found all CAB files still there after the installing.
another question: can we hide teh ExtROM folder not the files inside?
Thanks.
yeah sure again that could be done with resco file explorer or something similar... although i dont think hiding is one of the requirements. the only thing required is marking them readonly.

Gain extra space in ROM for cooking.....

Today I just tried this, I compressed my softwares which I have cooked in my ROM using UPX4PPC and cooked them in the ROM. As I have a small 32MB ROM, if this is possible to do with the default OS dll & exe files, it would be very useful. As I noticed, there is no big difference in the loading time of compressed files & the original. I searched the forum, but found nothing on compression of system OS files. Is there anyone who have done this before? Is this ok to do with .net CF dll & other large dll & exe files in ROM...?
making a smaller rom dont give more storage you know?
so compressing it will just give you more empty rom space nobody an use
Yeah..and most of the time the ROM won evenstart..blv me i tried to UPX the whole DUMP folder but the rom didnt even start
Rudegar said:
making a smaller rom dont give more storage you know?
so compressing it will just give you more empty rom space nobody an use
Click to expand...
Click to collapse
Actually I meant, If you can compress the originam OS files in ROM, there would be more free space in rom. We can use that free space to add more OEM packages.... Sorry if my english is not clear.
ather90 said:
Yeah..and most of the time the ROM won evenstart..blv me i tried to UPX the whole DUMP folder but the rom didnt even start
Click to expand...
Click to collapse
Try to use UPX only in exe files. More safe to be use in EXEs that are loaded after the booting & intended only in doing the settings (backlight.exe, MicAGC, Device info, CSD line type, CommManager, faxView.......) and on OEM exe files. Try not to use on dll files on first shot. But because already these files are very small, you will gain only a very small space. It works. If we can do the same on large dll files, it would be cool.....
shiranmotha said:
Actually I meant, If you can compress the originam OS files in ROM, there would be more free space in rom. We can use that free space to add more OEM packages.... Sorry if my english is not clear.
Click to expand...
Click to collapse
You are right. Thats how I had been able to pack so much extra stuff (many dont like that) in the ROM since a long time. But you have to be very carefully choosy about the files you have to UPX.
And, of course this method is for cooks only...
c_shekhar said:
But you have to be very carefully choosy about the files you have to UPX
Click to expand...
Click to collapse
What files can we compress. What I found ws, when I compress certain dll files, some items in menus related to them are blank. But when clicked they still work. Compressing Today dll files work, but if they have option configuration, they show some nunsence text. DLLs related to the .NET CF are the largest files i find in the ROM, can we compress them?
shiranmotha said:
What files can we compress. What I found ws, when I compress certain dll files, some items in menus related to them are blank. But when clicked they still work. Compressing Today dll files work, but if they have option configuration, they show some nunsence text. DLLs related to the .NET CF are the largest files i find in the ROM, can we compress them?
Click to expand...
Click to collapse
use the option for not compresing the resources

Shift rom kitchen + liberated rom

Hi,
let's keep the rom development topic in here. Here is my romkitchen, from kaiserkitchen 0.3. There is no flash utility, but you can use customruu for that.
The included rom is a base for localisation, or customisation. Click on first step (prepare), make your changes, then click on step 2 (cook). You have a Signed_RUU ready for flashing.
In my experience, it is best to delete the RUU_Signed before creating a new one
Also, the custom ruu will not flash the new rom if you do not change the folder between each flashing on vista. I use a name identation (folder1 then folder2, etc...)
Happy cooking. Please use this to help finding stuff about drivers
Warning: you cannot add or remove from sys folder without doing a greloc. DO it before doing anything. Notge the value, then relaunch it when you added or removed something. Put back previous value then click on go!
http://rapidshare.com/files/142122071/shiftkitchen.rar.html
thank you.
thaihugo said:
Hi,
let's keep the rom development topic in here. Here is my romkitchen, from kaiserkitchen 0.3. There is no flash utility, but you can use customruu for that.
The included rom is a base for localisation, or customisation. Click on first step (prepare), make your changes, then click on step 2 (cook). You have a Signed_RUU ready for flashing.
In my experience, it is best to delete the RUU_Signed before creating a new one
Also, the custom ruu will not flash the new rom if you do not change the folder between each flashing on vista. I use a name identation (folder1 then folder2, etc...)
Happy cooking. Please use this to help finding stuff about drivers
Warning: you cannot add or remove from sys folder without doing a greloc. DO it before doing anything. Notge the value, then relaunch it when you added or removed something. Put back previous value then click on go!
http://rapidshare.com/files/142122071/shiftkitchen.rar.html
Click to expand...
Click to collapse
Hi
Thank you very much.
Ram
Thank you for your hard work and dedication we put it. Best regards
thaihugo said:
Warning: you cannot add or remove from sys folder without doing a greloc. DO it before doing anything. Notge the value, then relaunch it when you added or removed something. Put back previous value then click on go!
http://rapidshare.com/files/142122071/shiftkitchen.rar.html
Click to expand...
Click to collapse
you mean that we have to extract sys folder from RUU_Signed.nbh file... then execute greloc and take note of the value... then copy files in the sys folder like OEMAPPS and OEMDrivers... and when we finish adding files in the sys folder... before we execute cook process and NBHutils we have to run the greloc again and reinsert the previous values... then click doit! in the greloc?
davidgreen said:
you mean that we have to extract sys folder from RUU_Signed.nbh file... then execute greloc and take note of the value... then copy files in the sys folder like OEMAPPS and OEMDrivers... and when we finish adding files in the sys folder... before we execute cook process and NBHutils we have to run the greloc again and reinsert the previous values... then click doit! in the greloc?
Click to expand...
Click to collapse
Make sure you keep your langugage specific folders intact.
Thanks
Ram
G'Reloc Situation
thaihugo said:
Hi,
Warning: you cannot add or remove from sys folder without doing a greloc. DO it before doing anything. Notge the value, then relaunch it when you added or removed something. Put back previous value then click on go!
http://rapidshare.com/files/142122071/shiftkitchen.rar.html
Click to expand...
Click to collapse
Hi thaihugo
My G'Reloc posts the same numbers always before and after, and strangely they are same for kaiser and SnapVUE. Am I doing anything wrong there?
Slot 0: 01F90000
Slot 1: 03DD0000
Size of ROM: 83400000
Unknown: 00000000
These are the numbers I have seen in ImageInfo.txt under .VM folder in SYS
Thanks
Ram
Most of the time, greloc sees the same numbers, but is needed for the few DLL's you have added. So even if you (as me) get the same number everytime, just run it to make sure everything is in place.
If you put say a full sys from another device, you will get slightly different numbers. You will have to put back the value you posted here in that case.
Morality: If you add any dll folder or exe folder in the SYS folder (not a simple dll or exe), do a preventive g'reloc before cooking.
thaihugo said:
Most of the time, greloc sees the same numbers, but is needed for the few DLL's you have added. So even if you (as me) get the same number everytime, just run it to make sure everything is in place.
If you put say a full sys from another device, you will get slightly different numbers. You will have to put back the value you posted here in that case.
Morality: If you add any dll folder or exe folder in the SYS folder (not a simple dll or exe), do a preventive g'reloc before cooking.
Click to expand...
Click to collapse
oh. Thank you
Ram
Help needed...
After all...i decided to cook my own rom...
Read alot , did everything i have read...
"cab oem" ing
"initflashfiles.dat" modification
but when it came to the end , buildos gives an error such as
The target file "temp\dump\mstscax.dll is a directory not a file"
Mind do wake me up for what i am missing ?
Safak
Help #2 for the noob
I have found out the problem about the previous tab... It was about wrong configuration of Remote Desktop...
I have overcome it but came a new one which is
Buildos gives this error
"Error building default.hv and user.hv"
and now , what ?
Help this poor lamer :-(
eh...
I ignored the latest error and have my own rom...and i m now flashing it to my Shift...
Will let yo know whn done...to be honest i m a little nervous about the result...
Urgent Help
I m in deep trouble...
I messed everything and now i m dead...Winmo side does not even boot...tell me what to do...tell me if there is a way to go back ?!?
how about flashing working rom to it?
omg
Recovered....thanks alot for your patience...
Average Joe
Hi guys,
I recently bought a HTC shift which SnapVue came out to be in Chinese, i really need to change the language and liberate it ASAP. I 've read so many replies on many different threads that i'm just completely confused right now. I barely understand all the technical words used out here. I need help please. Thank you.
What is the max size the rom can be?
I'm getting my Shift this week and I'm prepering for it with a cooked rom
EDIT: I saw that UDK's rom was 64mb in size so I know I'm safe if I'm within that limit
gullum said:
What is the max size the rom can be?
I'm getting my Shift this week and I'm prepering for it with a cooked rom
EDIT: I saw that UDK's rom was 64mb in size so I know I'm safe if I'm within that limit
Click to expand...
Click to collapse
Welcome Gullum.
64mb is the limit IMHO. Some NBH files over 50 mb have problems, and I have to reduce them.
thaihugo said:
Welcome Gullum.
64mb is the limit IMHO. Some NBH files over 50 mb have problems, and I have to reduce them.
Click to expand...
Click to collapse
ok first problem now ... I made my first atempt to flash a rom and now snap vue only gives a black screen what to do now?
edit maybe it should be added to first post that to recover from bad cooked flash then just flast the included rom
I now have a working own cooked rom on my shift just need to do some finetuning and I'll upload a rom for everyone to try... next step is to port a newer build.
i'm typing this on my snapvue side of my **** with opera mini
I have added some apps from blakstone and opal
google maps, rsshub, streaming media, calculator skined, thumbcal and some more
gullum said:
I now have a working own cooked rom on my shift just need to do some finetuning and I'll upload a rom for everyone to try... next step is to port a newer build.
i'm typing this on my snapvue side of my **** with opera mini
I have added some apps from blakstone and opal
google maps, rsshub, streaming media, calculator skined, thumbcal and some more
Click to expand...
Click to collapse
Hi
Can't wait. Could you check whether you are able to attach to audio to notes etc.
Thanks
Ram

Delete files from windows folder?

I'm running short of storage space on my Diamond, and while browsing around in File Explorer I noticed that there are copies of all the HTC demo media (album samples, mp3 files) in the Windows folder - there's easily 2-3mb worth and I could do with deleting them. However it won't let me, is there a way to get rid of them?
Kind regards
Dave
maybe this help
http://forum.ppcgeeks.com/showthread.php?t=38008&highlight=touch+diamond+guide
Thanks, that was helpful - but although they talk about deleting files from the Windows folder in the thread, it doesn't exactly detail how :-(
Kind regards
Dave
most files in the win dir are not in storage but in the rom itself
and can only be deleted by cooking ones own rom
also rom space not used is not merged with storage
so i would not really help you
if you want more space
You can do it by replacing them with some 0 KB files that have the exact same file names and extensions. I just posted this thread for 46 useless files in the Windows directory that will free up more than 10 MB. If there are any other files that you want to delete, just create a new text file, rename it to the file that you want to delete, then copy it to the Windows directory to overwrite the original file. Always backup the original ones in your computer just in case you want to restore them.
I was also thinking about this, but didnt test it yet . Very helpful.
vale|46 said:
Always backup the original ones in your computer just in case you want to restore them.
Click to expand...
Click to collapse
No need to! They are on the ROM! All you need to do it delete them and poof the one on the ROM reappears!
defaria said:
No need to! They are on the ROM! All you need to do it delete them and poof the one on the ROM reappears!
Click to expand...
Click to collapse
That's good to know, thanks.
If, as I understand from reading earlier posts, the files are indeed in the ROM and they don't actually take up storage space then I might as well leave them where they are.
Thanks!
Dave

Categories

Resources