Adding to the Ext. Rom - 8525, TyTN, MDA Vario II, JasJam ROM Development

I am not sure if this has been covered, but how do I add a cab file to the ext. rom on me phone so when I do a hard reset the cab files runs? Thank you folks

Well, first, you have to mount your ExtROM and make it writable by either making your device SuperCID or using Olipro's patched dll - please see http://wiki.xda-developers.com/index.php?pagename=Hermes_Unhide_Extrom.
Then you have to follow the structure of the existing ExtROM and modify the XML file in it accordingly. That file must reference all CABs you want to install. I'm not 100% sure about this part -- the ROM itself may need to reference the ExtROM's AutoRun application in order for it to start. If that is indeed the case, then you are dependent on the respective ROM cooks to put in that reference. I hope I didn't get any facts wrong here, I haven't actually done this myself.

Thanks, but that unhide the ext rom. When I tried to copy a cab file it tells me that the media is write protected.

You have some options. You can unlock the extended_rom by following the directions in the threads mentioned. Since that didn't work for you, you must have missed something in those threads. This will allow you to read and write from the extended rom like another sd card. However it will not address your issue of wanting it to run automatically on hard-reset. This is done by specifying it in the original "cooking" of the main OS rom as mentioned above.
Spend some time with the Wiki, and also in the upgrading section and with the stickys for more information.
Best wishes,

Related

how to change files in windows directory

I connect universal to my pc w/ usb and want to rename/delete files in windows directory. It told me some pemmisson error. How can I do such things?
I can create new folds in the directory.
Seems a new bie question. thanks in advance.
Files in the windows folder are generally ROM files, so you can't really delete them, they'll just come back from ROM when you reset.
So - you can use the old technique, normally, of using something like gsfinder, rename the file you want to change, eg ctlpnl.exe to ctlpnl.orig, then copy a new file into the windows folder and rename it to ctlpnl.exe.
That works well with some files, but not all.
To do some heavy duty modding, you would have to make your own rom. Find RomTools by Mamaich.
V
But I can't rename any files belong to original rom. When I use GSfinder to rename the file, it also reported "Cannot rename file.". I checked the property of the file, it has "rom" property and the checkbox of "rom" property is gray.
How?
I attached a jpg file when I want to change the name of "smartdialing.dll".
My device info:
ROM: 1.30.111 WWE
Radio: 1.11.00
Protocal: 42.45.P8
ExtROM: 1.30.230 WWE
T-Mobile Germany version
As you say, if it's a proper ROM file that wants to be stubborn (it may already be in use. Try closing the app using a good task manager first) then your other option could just be burning a new rom.
Why do you need to rename it?
V
vijay555 said:
As you say, if it's a proper ROM file that wants to be stubborn (it may already be in use. Try closing the app using a good task manager first) then your other option could just be burning a new rom.
Why do you need to rename it?
V
Click to expand...
Click to collapse
It seems that's not the reason. I can't even rename a htm or gif file with ROM property.
I want to localize smartdialing.dll.
Thanks for your quick response!
I think there's already a tutorial/solution to a localized smartdialler.
Can't remember the poster, check Buzz's site.
V
yes, I want to create a Chinese version of smartdialing based on their tutorial.
However, I tried to replace the original dll with my modified one, and FAILED. That's really troublesome. Seems nobody else has the same issue as mine.
Got a simular problem.
I'm trying to install OZVGA and according to the instructions you need to copy some files (Backlight.exe Camera.exe etc.) into the windows directory, but i'm not allowed to do so. Files are read only or in use.
Some suggestions?
Use TotalCommander.
ady said:
Use TotalCommander.
Click to expand...
Click to collapse
useless.
Any one knows why?
I had the ozvga issue. I installed the extended ROM unlocker (from buzzdev.net I think) and then it let me replace them.
Hope this helps.
Coincidentally, I've just upgraded to the latest T-Mobile ROM and need to re-apply ozvga but I can't find the files/instructions anymore. Got a link handy?

RomDump to SD card possible on Artemis

This is a long shot, but there was a cab file knocking around the forums, I remember it from the days when i had a HTC Blue Angel. there was a cab file or file that was installed on the SD card that could take a ROM image from the device and then you could install back onto a device if the upgrade failed.
Im just wondering if this is possible and it would help those people out who have bricked there devices.
What im saying is, if i can find this cab file, i could try and get my rom dumped and maybe someone could use this to get an original o2 uk rom back onto there devices.
what do you guys think ?
joey jojo said:
This is a long shot, but there was a cab file knocking around the forums, I remember it from the days when i had a HTC Blue Angel. there was a cab file or file that was installed on the SD card that could take a ROM image from the device and then you could install back onto a device if the upgrade failed.
Im just wondering if this is possible and it would help those people out who have bricked there devices.
What im saying is, if i can find this cab file, i could try and get my rom dumped and maybe someone could use this to get an original o2 uk rom back onto there devices.
what do you guys think ?
Click to expand...
Click to collapse
this would be great if you would manage.. would save my orbit!!!!!
please let me know how you get on!...
joey jojo said:
This is a long shot, but there was a cab file knocking around the forums, I remember it from the days when i had a HTC Blue Angel. there was a cab file or file that was installed on the SD card that could take a ROM image from the device and then you could install back onto a device if the upgrade failed.
Im just wondering if this is possible and it would help those people out who have bricked there devices.
What im saying is, if i can find this cab file, i could try and get my rom dumped and maybe someone could use this to get an original o2 uk rom back onto there devices.
what do you guys think ?
Click to expand...
Click to collapse
hey joey jo jo... done some searches on this and came up with this link.. don't know if it's what you're thinking of - the instructions aren't for the artemis - but maybe a start?
http://www.modaco.com/Backup_your_Typhoon_ROM-t201334.html
i found this on the Hermes wiki
http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoDumpRom
not sure if this is anything that will/can work, im going to have a look but im still trying to locate that cab file that i used on my years old xda 2s/ Blue angel.
i hope it does work for all you people that have paper weights
any comments from the guru's ??
Try this post http://forum.xda-developers.com/showthread.php?t=279446&page=3 talk about 3 programs...
Pocha said:
Try this post http://forum.xda-developers.com/showthread.php?t=279446&page=3 talk about 3 programs...
Click to expand...
Click to collapse
interesting,
ill look at this, cheers.
i only have a 256 mb card and i need someone to let me know if that is big enough for a rom dump....... any one help with this?
seemed ok, just backing rom up now.... will try and put it into a format that can be uploaded, mine is the original rom that came with the o2 uk xda orbit, and will/should help bricked devices back to original rom.
im, currently uploading my dump to the ftp, for anyone who knows how to convert this into something flashable.
i have no idea how to do this, so if anyone knows, please do this or pm me with instructions or link and ill do it tomorrow after work.
What program you use to make the dump? I used WM5 test, and I could make a copy of active ROM, but where this progam saves the files? I can't find any folder with these copied files.
Pocha said:
What program you use to make the dump? I used WM5 test, and I could make a copy of active ROM, but where this progam saves the files? I can't find any folder with these copied files.
Click to expand...
Click to collapse
i used grab_it.exe from your prev link mate, i now have an image of the rom, but now need to work out how to turn it into something we can upgrade from.
http://forum.xda-developers.com/showthread.php?t=238945
In which form grab_it dump ROM file?, I could only used WM5test and this program copy file per file, doesn't create nb or nbh file or something like that...
all it created for me was dump.bin i have no idea what to do with it, but im searching the forums for help.......
joey jojo said:
all it created for me was dump.bin i have no idea what to do with it, but im searching the forums for help.......
Click to expand...
Click to collapse
hey... i found this..
http://forum.xda-developers.com/archive/index.php/t-256380.html
hope it helps!
joey jojo said:
all it created for me was dump.bin i have no idea what to do with it, but im searching the forums for help.......
Click to expand...
Click to collapse
hope this helps too..
http://buzzdev.net/index.php?option=com_content&task=view&id=65&Itemid=1
i'm totally new to this but maybe if you use the htc wm5 rom as a base and then decode that to put your image on top, then encode, it will work?
see for nbh format of decoded roms..http://forum.xda-developers.com/showthread.php?t=289830
chickyd said:
hey... i found this..
http://forum.xda-developers.com/archive/index.php/t-256380.html
hope it helps!
Click to expand...
Click to collapse
on that link, there is a coment,
Please use the SEARCH button as this has been discussed already.
ANyway to help you do the following:
1. Download the latest T-Mobile ROM (the exe file) from the XDA Dev FTP site. Then extract this to a folder, say EXPERIMENT
2. Put the BIN file there
3. Go to Buzzdev.net nad follow the procedure to ENCODE/DECODE ROM. This will change the original nk.nbf (the OS) with your BIN file. using HTC64 Extended ROM Tool.exe
4. Then just put the MaUpgradeUt_noID.exe file into this directory also.
Now you have your OS backed up ready to install to a device in the EXPERIMENT directory. Now just make sure the T-Mobile ROM you downloaded has the same radio ROM. If not, download a verison with same radio rom and replace the radio_.nbf file with the downloaded version.
Backing up the ExtendedROm has to be done manually. Just transfer all contents to a alternate directory in the PC then just put it back to replace what's already there.
Hope this helps
Click to expand...
Click to collapse
i think this will only work with an original o2 rom, which isnt available, and i doubt it would work using another operator rom , will give it a go though.
joey jojo said:
on that link, there is a coment,
i think this will only work with an original o2 rom, which isnt available, and i doubt it would work using another operator rom , will give it a go though.
Click to expand...
Click to collapse
problem is also that the encode / decode is discussed re nbf compressed files... and the artemis uses the nbh format. this is what the second link was i posted.
looks tough!
chickyd said:
problem is also that the encode / decode is discussed re nbf compressed files... and the artemis uses the nbh format. this is what the second link was i posted.
looks tough!
Click to expand...
Click to collapse
it is tough, i have no experience in this, and i tried, ive pm'd a couple of people and awaiting some responses, but i cant see it happening in the sense that it may not be possible to do the upgrade while in bootloader..
but . . . . the mission continues
hi!
Currently there is no way to make a backup other than with pdocread.exe from itsme (istutils). You can make a backup of the OS, SPL, GSM and Extended ROM with it. The problem begins with flashing it back, I'm still trying to figure out how to do it when the phone is fully functional, there is no way to do it when you r phone is stuck in bootloader mode. The only way would be by reconstructing a .nbh file. The problem is that none of the tools that can make a .nbh file work for the Artemis, because the use a wrong signature size. The one who can help us out here is pof but he is a VERY busy man.
rvbcrs said:
hi!
Currently there is no way to make a backup other than with pdocread.exe from itsme (istutils). You can make a backup of the OS, SPL, GSM and Extended ROM with it. The problem begins with flashing it back, I'm still trying to figure out how to do it when the phone is fully functional, there is no way to do it when you r phone is stuck in bootloader mode. The only way would be by reconstructing a .nbh file. The problem is that none of the tools that can make a .nbh file work for the Artemis, because the use a wrong signature size. The one who can help us out here is pof but he is a VERY busy man.
Click to expand...
Click to collapse
Then how is possible that bepe could make a custom ROM for arthemis? I thought if you use nbhtool you can make custom ROM for arthemis, btw I posted a msg in original nbhtool post, about what parameters I need to introduce in order to make a fully operational ROM, because when I entered in bootloader mode, and using putty's tool to comunicate with PDA, my device return this msg:
cmd: getdevingo
ARTE10000 HTCE... (and in nbhtool, parameters are only ARTE1000 or ARTE1100)
Signature size when you decompresing a original NBH file is 128 (in original post some people talk about 1024, but when I cooked ROMs with 1024 I have an upgrade failure, and I must reboot PDA), but I really need to know if in nbhtool on Device I Must enter "ARTE10000" and in CID type "HTCE" or not...

Associated Files

I know this is a stretch but is there any way (other than trial and error) to determine which files are associated with an application so that they can be removed during the cooking process. When deleting an application I want to make sure that I don't leave any dead files behind...
There is a free tool called Dependency walker.
It shows what DLLs an exe or a DLL is linked to, but there is no way to be completely sure what data files a given app may need.
One option is to use IDA or other disassembler to look for strings referencing files in code.
thank you for the tips, looking to make a rom for the herald with the barest minimum. will make this task much easier.
cheers

Delete File in Windows Mobile 6

Hi, how can I delete a file in \Windows folder? it seems complaining that the file is in ROM, I had tried many way even using other File Explorer or via ActiveSync. None of them work.
How can I delete a file in \Windows folder in my Microsoft Windows Mobile 6?
Maybe Resco Explorer or Total Commander CE will help.
if it's built in the rom, you might be unable to delete that file.
Please be more specific: which file do you wish to delete?
Maybe you'd have to recook the ROM without that file.
Regards,
EquinoXe
Things built into the rom are "READ ONLY MEMORY" therefore cannot be deleted. if the file is only marked as system and readonly though you can change its atributes using total commander. just long click on item to bring up menu and go to properties. there you need to uncheck everything and delete
I had downloaded Total Commander and installed it, the checked file attributes are 'read only' and 'in rom'; so I guess the file shall be consider undeleteable.
Now I had to learn how to recook, any good guide how can I recook the ROM that I have?
similar problem
I downloaded some software and it came up as being faulty software. The file was a zip folder titled : res_ppc-custom.icons
I tried through my windows mobile device center to uninstall it, but it was never actually installed completely in the first place.
I then tried to delete the file a few times. Once directly from my pda, once through the device center and again through my pc windows explorer. All three attempts were unsuccessful.
How can I get rid of this thing?
Thanks in advance
perhaps you may want to check if the file being accessed by other software, easiest way is to soft reset and try to delete it.
That did the trick! Thanks so much
Move files to storage card
OK I want to move some files (not ROM) in Windows and keep getting error. For example Opera.exe is not marked as anything in properties yet I can't seem to delete the file. I did copy it to my storage card without any issue but can't delete the original from Windows directory. Any suggestions since Total Commander won't delete it. Will edit registry to find it on the Storage Card.
Deleting files in Windows folder
mynullvoid said:
Hi, how can I delete a file in \Windows folder? it seems complaining that the file is in ROM, I had tried many way even using other File Explorer or via ActiveSync. None of them work.
How can I delete a file in \Windows folder in my Microsoft Windows Mobile 6?
Click to expand...
Click to collapse
I have the same problem - I have colpilot.wm6ppc.cab in my Windows directory. It's 12.6mb, I don't want it, and it's taking up a lot of storage space. My phone is a T-Mobile MDA and it obviously came with CoPilot as an option, but I think it's really unfair that the cab is right there in the Windows dir and I can't get rid of it....
Any help gratefully received....
Cheers,
Ed.
The cab is cooked in as part of the rom; there's nothing you can do about it, except flash a custom rom (this is one of the main reasons people flash custom roms). Be glad it was installed as a cab and not as a full package-at least cabs are compressed are a single file.
Farmer Ted said:
The cab is cooked in as part of the rom; there's nothing you can do about it, except flash a custom rom (this is one of the main reasons people flash custom roms). Be glad it was installed as a cab and not as a full package-at least cabs are compressed are a single file.
Click to expand...
Click to collapse
I think the issue is not on the files in ROM.
I have the same problem. I've copied a file under Windows folder and after that I'm unable to delete it.
Strangely I'm able to rename it, which should mean that file is not in use, however deletion is not possible.
I've used TotalCommander, the built-in Explorer and also connected the phone via ActiveSync, but still nothing happens and access seems to be denied.
The exact message is "deletion error".
Any idea?
Thanks.
Cheers...
-nOra-
A very common problem with Windows explorer is reported on all Windows help forums. I've seen people complaining about problem with long path files deletion.
Some common problems with Windows Explorer people talk about:
- Doesn't allow to delete files with long path names
- Pops up error while deleting unwanted files or unnecessary files
- Errors like: Access denied, sharing violation, source in use etc.
I've found a very simple but smart solution for all these above mentioned common problems. A very simple but powerful tool to overcome these problems. Everyone who plays with the files must have this tool. Its compatible with all versions of Microsoft Windows.
johnylog.software said:
A very common problem with Windows explorer is reported on all Windows help forums. I've seen people complaining about problem with long path files deletion.
Some common problems with Windows Explorer people talk about:
- Doesn't allow to delete files with long path names
- Pops up error while deleting unwanted files or unnecessary files
- Errors like: Access denied, sharing violation, source in use etc.
I've found a very simple but smart solution for all these above mentioned common problems. A very simple but powerful tool to overcome these problems. Everyone who plays with the files must have this tool. Its compatible with all versions of Microsoft Windows.
Click to expand...
Click to collapse
Could you please tell us the name of this wonderfull tool, and how to have?
djulen said:
Could you please tell us the name of this wonderfull tool, and how to have?
Click to expand...
Click to collapse
Based on how he said it, I have to really wonder if he really does have such a tool...
badbwoydes said:
Based on how he said it, I have to really wonder if he really does have such a tool...
Click to expand...
Click to collapse
Use Total Commander to modify the contents of the \Windows directory.
Yes, but you won't be able to delete a ROM file anyway.
In the \Windows folder, you commonly encounter three kinds of files :
- Pure ROM files (can't be deleted nor renamed nor moved, nor even copied, but can be overwritten, consuming internal storage memory space in the process to store the new copy, that will become used instead) ;
- Files put there by installation CABs or else (can be freely deleted, renamed or moved, provided they're not currently used by a running process) ;
- Files put on top of previously existing ROM files, wearing the same name (deleting, renaming or moving them will thus make the original ROM file undertneath to reappear with its original contents and attributes).
Once you've understood that, you'll be more aware of what's cooking there.
ROM files can't even be copied, but you can use ROMExtractor to copy them elsewhere, in case you want to study them, or use them in your own ROM (useful to get up-to date versions from another HTC device to cook your own ROM).
Since ROMExtractor is a very minimalistic tool (you have to type in all the files names with their path, same for the target copy, all one by one !) manually extracting hundreds (even thousands) of files is a very tedious taks, I made a MortScript to automate the process in order to extract all those DLLs, EXEs, MUIs, etc. files that can't be directly copied from a phone's ROM.
On the other hand, you absolutely can't delete a ROM file to make room. Overwriting it with a file wearing the same name will jut result in actually adding the new file, thus consuming even more room. The new file will just be used instead of the original one (so you can still update or personalize the ROM).
As a direct consequence, the only way to get rid of unwanted ROM files or permanently replacing them with up-to-date ones is to cook a ROM and flash it to the device to replace the old one.
That's way how operating systems can become better and better, and save space at the same time.
And no, Windows Mobile isn't dead : I'm not quite finished with fixing it until it's perfect, so it's not over yet. LOL

Where do I put the .cab's that I want to be autoinstalled on custom ROM?

I'm a little new to this but I'm not TOTALLY new. I've flashed other people's ROMS before but never have I done my own. I've downloaded everything that the creator of "Pandora Naked 9b1 w/Big Storage - WM6.1" stated that I would need. But where do I put the cabs that I would like to be installed automatically? Also, if one of my desired programs is a .exe file that I have to install off of my computer, can this be automated somehow or will that have to be done old fashion way -- by me? Thanks for any help you can provide and I'm sorry if this is the wrong thread to post this issue in...
the cabs can be automatically installed if you put them on the root of your storage card the create a config.txt to instruct it to install them do so. it will then install them like the ext rom when you turn on for the first time
Actually you'll want to name the file SDConfig.txt
Search the kitchen for a file called "PreConfig.txt"
Hopefully that get's you pointed in the right direction.

Categories

Resources