Can we create the ultimate ROM??? - MDA, XDA, 1010 Software Upgrading

We have the technology we can rebuilt it.
It occured to me that we should be able to build the ultimte "base" rom to use in the kitchen.
I would propose that it be based on the TMO 4.01.16 but make the installation of all the additional apps such as TMO toolbar, myemail, pdf and ppt viewers optional. I would also propose that sample windows media files and be removed.
Such a rom would give us the maximum space into which to add the appilications we chose but still allow us the flexibility to add some of the apps and settings that service providers supply. (much as the old Devlopers ROM did)
Just a thought
maudc
PS 3 cheers for Lumpistefan and Makis!!! :!: :!: :!:

That is a good idea. I think we can do it with mkrom.zip. We will need a linux op. but I think it will do the job under windows with cygwin.
I started to see the txt files, ini files etc, but I am at the beginning.
I want to make a good rom, like you. With no helps, no unneccesarry files, custom files (my ringtones for example) in the rom.
I only need time.

how
can you actually remove files from ROM ?
I couldn`t do it.
It will be great indeed.

Re: how
decebal said:
can you actually remove files from ROM ?
We want to build a ROM without some files. Not to remove files from a working ROM in the devices flash memory.
There is a file in the mkrom/cfg folder:
initobj.txt
It contains a filelist. I think there is a place to delete the files. But I have not tried. I have not time now.
Gabor
Click to expand...
Click to collapse
Click to expand...
Click to collapse

Re: how
decebal said:
can you actually remove files from ROM ?
Click to expand...
Click to collapse
I think this is the big problem.....
Until now it´s not possible to remove Files from the rom....
What should be able is overwriting files from the ROm. But i think this doesn´t make much sense....
Stefan

Re: how
LumpiStefan said:
decebal said:
can you actually remove files from ROM ?
Click to expand...
Click to collapse
I think this is the big problem.....
Until now it´s not possible to remove Files from the rom....
What should be able is overwriting files from the ROm. But i think this doesn´t make much sense....
Stefan
Click to expand...
Click to collapse
So what do we do in that case?

Re: how
Sallala said:
There is a file in the mkrom/cfg folder:
initobj.txt
It contains a filelist. I think there is a place to delete the files. But I have not tried. I have not time now.
Click to expand...
Click to collapse
You're wrong.the initobj.txt file just conatins a list where to copy some files out of the rom. All Files are located in \Windows. The initobj.txt files contains the list, which file should be moved to wihich directory.
90% of this are the files in "Start Menu" and Help ....
So i see now chance to delete files out of the rom....
Stefan

Re: how
LumpiStefan said:
Sallala said:
There is a file in the mkrom/cfg folder:
initobj.txt
It contains a filelist. I think there is a place to delete the files. But I have not tried. I have not time now.
Click to expand...
Click to collapse
You're wrong.the initobj.txt file just conatins a list where to copy some files out of the rom. All Files are located in \Windows. The initobj.txt files contains the list, which file should be moved to wihich directory.
90% of this are the files in "Start Menu" and Help ....
So i see now chance to delete files out of the rom....
Stefan
Click to expand...
Click to collapse
Stefan I can get from you this file is like the Config.txt in the Extended_Rom in Himalaya. I can understand now how you could remove the Msn messenger shortcut into \WINDOWS\START MENU\PROGRAMS\INTERNET\CHAT & IM ????

Related

Remove files from ROM

How can I remove from the original ROM some files like T-Mobile, AIM ... etc. ?
I cooked up a 4.00.10 T-Mobile with GPRS monitor and batterypack but i want some more addons.
Can someone tell me what steps are required to remove from the ROM some files ?
Thanks,
Decebal
ROM = Read Only Memory.
But, i've we're able to add Programs to the ROM in the ROMkitchen, i think we're also able to remove programs.
Regards
Stefan
cruisin-thru said:
ROM = Read Only Memory.
Click to expand...
Click to collapse
obviously i do not deserve that
i was talking about the ROM image and since i've already succeded in putting into the ROM two apps i want to try something else.
so if anyone know how to remove at least T-mobile and AIM files from the image i'll be happy.
thanks,
Decebal
I believe they are in an area not able to be modified.
I was just quoting from that site, it does state that it cannot be erased, modified etc, no offence meant here. :roll:
The mkrom tools will allow you to 'unpack' a rom, i.e. extract all the files that are in it.
A rom, to the best of my understanding, has a 'native' or stock part to it, and then a series of XIP chains -- programs that are added into the free spaces of the rom.
I dont know what happens if you try to remove files from a rom that are part of the standard build...
Maybe the TMobile stuff is in a 'removeable' section of the ROM... there is also the 'operator' section... I am assuming that is a location that will give the 'operator' or creator of the rom space to put specialized programs, such as TMobiles phone apps, etc.
So, it seems that your best bet is to get the mkrom tools and read about how to extract/remove files/rebuild a rom.
Hey, it may even work!
J
You can rebuild a rom image from extracted files and leave some files out but Mkrom does not use compression and therefore the rom you end up with will probably be bigger than the rom you started with.
Richard
If I am correct, an eeprom is something else than a flash-rom.
so the article at least states it incorrectly.
if it is flash, you should be able to modify it.
XDA developer Itsme said:
If I am correct, an eeprom is something else than a flash-rom.
so the article at least states it incorrectly.
if it is flash, you should be able to modify it.
Click to expand...
Click to collapse
Now, I do think that the real question is "How do we unlock the 'ROM' so that it can be modified being that it is an eeprom?"
Misterdollymaker
you need backup the ROM to *.nb1 or *.nbf file, than using tools to add/delete file to *.nb1 , write the new file back to XDA ROM. it is fun to add/delete file to your personized ROM!
cgigate said:
you need backup the ROM to *.nb1 or *.nbf file, than using tools to add/delete file to *.nb1 , write the new file back to XDA ROM. it is fun to add/delete file to your personized ROM!
Click to expand...
Click to collapse
this is quite interesting...can you elaborate further?? I wish to learn more...
cgigate said:
you need backup the ROM to *.nb1 or *.nbf file, than using tools to add/delete file to *.nb1 , write the new file back to XDA ROM. it is fun to add/delete file to your personized ROM!
Click to expand...
Click to collapse
Yes, please! I wish to learn more too! I am looking to remove the standard sounds and replace them with my own (using same names) as well as the boot image and desktop.
yea, no kiddin, i'd like to know how too!
im sure its not impossible, 'they' did it the first time arround.
why not hacking it? and since its all at no charge (no profit) are we realy breaking any patents?
I wanted to know if there is an easy :wink: way around, to put our own programs in the rom. xda-developers certainly can't put ezwap2.5, and the total commander appears to be older version, while new version is much better. There are some more freeware application I'd love to put in there
xda-developers already posted some tools to do job, such as MKROM ...
cgigate said:
you need backup the ROM to *.nb1 or *.nbf file, than using tools to add/delete file to *.nb1 , write the new file back to XDA ROM. it is fun to add/delete file to your personized ROM!
Click to expand...
Click to collapse
I'm interested too
How can i add/delete file from nb1 file?
Thanks
Fabio
I've used mkrom suite to do this (even for Smartphone2002). This are great tools.
Unfortunately it's not as easy as you might think. It's nearly impossible to build a ZERO-KNOWLEDGE ROM file explorer which can add or delete files "on the fly".
You will still have to look for valid gap's in the original rom where you can add a new XIP block.
All .exe and .dll files are "fixed up" that means they MUST run at THE fixed ROM position where they have been initially placed (execute in place). If you dump an exe or dll file you can't use it for other than disassembly to see how things work.
Removing files is a very hard task (they are splitted over the whole rom). And the resulting gap's are mostly not more than 10-16 kB. All you can do is to "hide" files (simply patch the directory entry).
So you see compression is not the real problem (see programers corner for a .bib file which can be used with romimage.exe - a Microsoft Tool to build XIP blocks, this tool supports compression)
John Smith
only the kernel actually runs in the virtual memory area mapped to rom,
all the other XIP stuff runs from a virtual memory area mapped somewhere
in the top of each processes memory space.
( look at the 'real=' values in the output of dumprom )
so for all the other modules it should be possible to move them around
in rom a bit, I think you only need to keep the pagealignment the same.
Hi,
The virtual memory address is also fixed in the module. (That's why I've to rebuild all the stuff I want to copy from other roms).
Since all relocation info is gone the module can't run from another memory position. So the only thing you can do is to move it in it's own XIP section...
John

Backlight.exe & Power.exe.. Please?

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 .

Deleting Files in Windows-Folder

Hi Guys!
Is it possible to delete files in the Windows-Folder, which are marked as "rom" ??
Because:
I'm using the M-Opal Rom. This ROM is including the new Manila 2D...so there is a file called "GXDMA.dll" in the windows folder. The Problem is, i have to delete this file, otherwise i cannot play a lot of games...but i cannot delete it, because it's marked as "rom"...i've tried resco explorer, but it can't delete the file also..
infernalshade said:
Hi Guys!
Is it possible to delete files in the Windows-Folder, which are marked as "rom" ??
Because:
I'm using the M-Opal Rom. This ROM is including the new Manila 2D...so there is a file called "GXDMA.dll" in the windows folder. The Problem is, i have to delete this file, otherwise i cannot play a lot of games...but i cannot delete it, because it's marked as "rom"...i've tried resco explorer, but it can't delete the file also..
Click to expand...
Click to collapse
Try with Total Commander
claus1953 said:
Try with Total Commander
Click to expand...
Click to collapse
didn't work
System files ROM EDITOR only
LazaPasi said:
System files ROM EDITOR only
Click to expand...
Click to collapse
i dont know, what do you mean
did you mean, the file can only be deleted while the rom is created/edited
or
did you mean, i need a special software to delete the file?

how do i install files in a folder and out of the folder is registry file?

how do i install files in a folder and out of the folder is registry file?
when i down load a file. some of them come not as a cab file but it comes it contains a folder and a registry file out of the folder. i believe folder contains program file. where do i put which and where? can u help.
tazwik said:
how do i install files in a folder and out of the folder is registry file?
when i down load a file. some of them come not as a cab file but it comes it contains a folder and a registry file out of the folder. i believe folder contains program file. where do i put which and where? can u help.
Click to expand...
Click to collapse
What are you trying to install?...and where? I am sorry if I am miss understanding you but it sounds like you have a file with a reg file and another folder named files? is this right?
something like that. when i down load a file its not a cab file.it is a zip file. when i unzip. it has a folder with program with some files in the folder, but out of the folder or root directory there is 2to 3 files look like reg file. i do not know where to place these file.
tazwik said:
something like that. when i down load a file its not a cab file.it is a zip file. when i unzip. it has a folder with program with some files in the folder, but out of the folder or root directory there is 2to 3 files look like reg file. i do not know where to place these file.
Click to expand...
Click to collapse
Could you link me to the file so I can see it?
im tryin to install it in to my htc hd2 phone. its a program i downloaded. from xda. like camara hack. ther is a folder and files on the root directory. in the folder though there is a camara icon or program.
tazwik said:
im tryin to install it in to my htc hd2 phone. its a program i downloaded. from xda. like camara hack. ther is a folder and files on the root directory. in the folder though there is a camara icon or program.
Click to expand...
Click to collapse
Post the file or link me to where you got it please. I want to make sure I give you good info so it works.
sounds like a cracked app, where you get the prog folder and a reg file to crack it.
samsamuel said:
sounds like a cracked app, where you get the prog folder and a reg file to crack it.
Click to expand...
Click to collapse
I thought so as well till he\she said they got it on xda, that made me think maybe a kitchen ext package
The cab files can be opened with winzip on your PC. The contents of a cab file is usually an xml file, icon file and other files for installation. Are you sure you are not opening a cab file in winzip?
zelendel said:
I thought so as well till he\she said they got it on xda, that made me think maybe a kitchen ext package
Click to expand...
Click to collapse
ahh yea.that makes sense.
ok for example. forum.xda-developers.com/showthread.php?t=611007
CUSTOM-djet-CameraSettingsPatch , it is a rar file costum patch. when i down load it has a folder and a files where do i place the folder and where do i place the files on my THC HD2
Thats an OEM package for use in kitchens when cooking ROMS. You cant install it to a running system. (Well, not in that form anyway)
tazwik said:
ok for example. forum.xda-developers.com/showthread.php?t=611007
CUSTOM-djet-CameraSettingsPatch , it is a rar file costum patch. when i down load it has a folder and a files where do i place the folder and where do i place the files on my THC HD2
Click to expand...
Click to collapse
I made the files into a cab for you.
zelendel said:
I made the files into a cab for you.
Click to expand...
Click to collapse
What does that one do exactly?
sirphunkee said:
What does that one do exactly?
Click to expand...
Click to collapse
From the look of the reg it enables one of the hidden functions in the camera. I thought most cooks enabled all the functions when they cooked up the rom but could be wrong. I know I do
zelendel said:
From the look of the reg it enables one of the hidden functions in the camera. I thought most cooks enabled all the functions when they cooked up the rom but could be wrong. I know I do
Click to expand...
Click to collapse
Gotcha, thanks man! Just wanted to be sure I wasn't missing anything I don't already have
icons
can u help me with one more thing. i downloaded some icons. it does not have any other files but icons and album file. when i place the file into the windows directory. gives me an message that it can not be overitten due to not enough space and file is being used. how do i change go around it.
thks jelendel. for making file in to cab.
similar problems/questions
most cab files/apps i download and install are very straight forward and I save to storage card and there are right there on my "start" screen. others I download and I cant find them? I look through the file explorer but either cant find them or dont know what to do if I do find the file.
example, egg timer 1.0 -I can find it listed on "remove programs" page page so I know I got it. but how do I get it to a more 'usable' location.
another example. I want to get the Bluetooth toggle (BTtoggle) from pocketnow site. I downloaded the app, then it says I need to edit my registry (I understand the dangers of this) at
"HKLM\software\HTC\Manilla" and change the value of HomeLSKPath to the path to your BTtoggle.exe .....etc.....
First time editing registry, so sounds like I need to get a registry editor. I looked for a free one. CeRegEdit version 5.2.exe file. looks like it downloaded ok but I cant find on device??
LASTLY, I use CoOkies home editor and I really like it, but does that mean I cant do other changes/app installs to any HTC sense items/lock screen/home screen/etc? thanks for reading this far....steve
Or if you know of easier to get bluetooth toggle or any kind of timer applications so I dont burn food at the fire station, feel free to reccomend...Thanks
808Granato said:
Or if you know of easier to get bluetooth toggle or any kind of timer applications so I dont burn food at the fire station, feel free to reccomend...Thanks
Click to expand...
Click to collapse
Aloha, and just because you're in civil service like that, I'll give you a hand with this one here...but it's usually best to open a new thread with a bunch of questions like that. You can just edit your post above to just say "moved to new thread", and then copy all that you wrote into a new thread you start...you'll probably get more views/responses that way too
These cabs will give you a toggle for bluetooth, wifi, and a reset button. Once you run the cab, you can find them in your start menu, but they're most useful when you assign them to one of the quicklink spots (on your home tab), just like you would any other program.
P.S. you'll find a lot more useful stuff for your new phone right here in these forums, and 99% of it is free, and known to work on the HD2 (unless stated otherwise). Start HERE and HERE

[SOLVED] How to cook in a set of folders with duplicate files

Ok heres my dilema:
I wan't to cook in loads of manila files, but theres a few different versions of each one, and they aren't going into windows.
its better I explain it, heres an example:
Root Folder
\Folder 1
¬FileX
\Folder 2
¬FileX
\Folder 3
¬FileX
How can I do this? is I cant put the same file (FileX) in the files folder of a package as it has the same file name... The only way I can think of is to have a seperate package for each invidual file, and considering theres over 40 files, its going to take a long time!
Are there anymore efficient ways to do this? Thanks
SOLVED: AIRXTREME HAS MADE A UTILITY FOR CHEFS TO FIX THIS VERY PROBLEM:
[GET IT HERE]
THANKS AIRXTREME!!!
[★] said:
Ok heres my dilema:
I wan't to cook in loads of manila files, but theres a few different versions of each one, and they aren't going into windows.
its better I explain it, heres an example:
Root Folder
\Folder 1
¬FileX
\Folder 2
¬FileX
\Folder 3
¬FileX
How can I do this? is I cant put the same file (FileX) in the files folder of a package as it has the same file name... The only way I can think of is to have a seperate package for each invidual file, and considering theres over 40 files, its going to take a long time!
Are there anymore efficient ways to do this? Thanks
Click to expand...
Click to collapse
If all these files go into "\Windows", there will be only one in the end ... not 40. Meaning the last "FileX" your kitchen finds will have overwritten all the others ...
You can't end up with all these files, without doing a little bit of legwork.
When you cook a ROM, all the files end up in \Windows, and are then moved around as required.
So, you could either cook all the files in with different names (so they don't overwrite) and then move them using a provxml or initflashfiles.dat, or you could cab up all the files, and run the cab after first boot.
The easiest way is to use a cab or to put everything in a zip file and use an 'inzipall' mortscript to unzip the folders wherever you want during customization.
Diegis0n said:
If all these files go into "\Windows", there will be only one in the end ... not 40. Meaning the last "FileX" your kitchen finds will have overwritten all the others ...
Click to expand...
Click to collapse
Yeah thats what I thought , althought I didnt know they went into windows first, thanks.
l3v5y said:
You can't end up with all these files, without doing a little bit of legwork.
When you cook a ROM, all the files end up in \Windows, and are then moved around as required.
So, you could either cook all the files in with different names (so they don't overwrite) and then move them using a provxml or initflashfiles.dat, or you could cab up all the files, and run the cab after first boot.
Click to expand...
Click to collapse
Hmm the cab sounds like a good aproach, although still I wouldn't be able to have more than one manila file with the same name in the cab.
Farmer Ted said:
The easiest way is to use a cab or to put everything in a zip file and use an 'inzipall' mortscript to unzip the folders wherever you want during customization.
Click to expand...
Click to collapse
hmm thats a good idea, could you point me to that script please
[★] said:
Yeah thats what I thought , althought I didnt know they went into windows first, thanks.
Hmm the cab sounds like a good aproach, although still I wouldn't be able to have more than one manila file with the same name in the cab.
Click to expand...
Click to collapse
Cab files do allow you to specify the paths, so they do allow you to have files with the same name. WinCE CAB Manager is a good choice to create cabs. You can then use RunCC / Autorun/ XDA_UC to install it during the first boot.
[★] said:
hmm thats a good idea, could you point me to that script please
Click to expand...
Click to collapse
Just take a look at this package; it has a zip file, a mortscript, and the add2config that you need. Here's a mortscript package that you can use.
You could also rename the files for example "1_FileX", "2_FileX" and have initflashfiles.dat rename it to the filename you want it to be, like so:
Directory("\Folder_1"):-File("FileX","\Windows\1_FileX")
Directory("\Folder_2"):-File("FileX","\Windows\2_FileX")
Click to expand...
Click to collapse
But that would really clog up your ROM, so the mortscript way is better.
ock said:
Cab files do allow you to specify the paths, so they do allow you to have files with the same name. WinCE CAB Manager is a good choice to create cabs. You can then use RunCC / Autorun/ XDA_UC to install it during the first boot.
Click to expand...
Click to collapse
Yes but putting the files in will overwrite eachother, as they have to have the same file name
Farmer Ted said:
Just take a look at this package; it has a zip file, a mortscript, and the add2config that you need. Here's a mortscript package that you can use.
Click to expand...
Click to collapse
Thanks I dont understand what the mortscript for is (the one from 4shared) but Im using the add2config package, I think I get it I will let you know when its finished cooking. Although I am having a problem where none of my add2config packages are working so it might be useless
seeM_ZA said:
You could also rename the files for example "1_FileX", "2_FileX" and have initflashfiles.dat rename it to the filename you want it to be, like so:
But that would really clog up your ROM, so the mortscript way is better.
Click to expand...
Click to collapse
Yeah but the files have to keep the same name
You need mortscript support cooked into your rom one way or another if you're going to use zip files; that's what the 4shared package is for.
l3v5y said:
So, you could either cook all the files in with different names (so they don't overwrite) and then move them using a provxml or initflashfiles.dat
Click to expand...
Click to collapse
+1 for this...
ai6908 said:
+1 for this...
Click to expand...
Click to collapse
That's ok if you're talking a couple of files, but if you're talking a few dozen (or more), then putting together all the initflashes scripts will get tedious.
Farmer Ted said:
That's ok if you're talking a couple of files, but if you're talking a few dozen (or more), then putting together all the initflashes scripts will get tedious.
Click to expand...
Click to collapse
Did you get my message?
and yeah, it seems your mortscript may be easier If I can get add2config to work lol
SOLVED: AIRXTREME HAS MADE A UTILITY FOR CHEFS TO FIX THIS VERY PROBLEM:
[GET IT HERE]
THANKS AIRXTREME!!!

Categories

Resources