[REQ] Create a "patch" for system files ? - Windows Mobile Development and Hacking General

Hello my friends !
I need to creat a patch, in order to patch some dll and exe in \windows ( wm6.1 )
How can i creat a patch which allow to replace system files ?
Great thanks my friend !
Nixeus

..why don't u make a cab file?

But with a cab file, can I replace SYSTEM file ???

Yes..you can replace system files

Ok, thanks for your answer, i have use WinCe Cab Manager in order to create my CAB, but the setup failed on my ppc !

Have you an idea in order to solve it ? I try to replace the file battdrvr.dll, and the cab failed, when i want to install !

No idea ? Is the window folder locked ?

Nixeus said:
Have you an idea in order to solve it ? I try to replace the file battdrvr.dll, and the cab failed, when i want to install !
Click to expand...
Click to collapse
This has been adressed in 's battery forum in herm's rom dev this specific driver needs to be kooked into a rom
http://forum.xda-developers.com/showthread.php?t=392051

Nixeus said:
No idea ? Is the window folder locked ?
Click to expand...
Click to collapse
Use something like Total Commander to replace the file... (You may need to change the one in \Windows to not be read only, again using Total Commander)

mmm, i will to teste with total Commander !Thanks !

But it will very godd if i could make a patch.....

Nixeus said:
mmm, i will to teste with total Commander !Thanks !
Click to expand...
Click to collapse
Good luck!

or just change the registry key to load your driver instead (HKLM\Drivers\BuiltIn\Battery -> Dll) maybe it should work, dont know

mmm good idea I will test Thanks

Related

Can we create the ultimate ROM???

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 ????

How To make a .cab file ??

Can somebody tell me how to make a cab file ?
Is there a special program for it ?
Thanks
Check out www.ocpsoftware.com
WinCE CAB Manager
Use WinCE CAB Manager
Re: WinCE CAB Manager
xda2jojo said:
Use WinCE CAB Manager
Click to expand...
Click to collapse
Where is it??? Could you send it to me please. My emai: [email protected] OR [email protected]
WinCE CAB Manager
WinCE CAB Manager homepage
http://www.ocpsoftware.com/
OCP CAB Manager sucks!!!
OCP CAB Manager sucks!!!
It is only good for opening other .cabs, if you want to extract something out of it... and it costs lots of MONEY for such a crap...
Use Cabwiz instead. It is free as it is part of the PocketPC SDK.
You will need to create .inf file, where you can specify, what should be copied, to which location and so on.
below is zipped version of one of my apps as a sample. )
Once you have your .inf ready, simply drag and drop it onto CabWiz icon...
Here (http://www.sundialsoft.freeserve.co.uk/cabinfo.htm) is a perfect guide, how to write .inf files for CabWiz....
)
buzz
Re: OCP CAB Manager sucks!!!
buzz_lightyear said:
OCP CAB Manager sucks!!!
It is only good for opening other .cabs, if you want to extract something out of it... and it costs lots of MONEY for such a crap...
Click to expand...
Click to collapse
I'm not sure where you got the idea that WinCE CAB Manager can't create new CAB files. It certainly can, and it's a whole lot easier than Cabwiz.
Try this new cab making utitlity. Its suppose to bypass most grueling issues of cab making... Havnt tried it out yet as I just downloaded 2 mins ago. its new from....tim kremer
sdlopez83 said:
Try this new cab making utitlity. Its suppose to bypass most grueling issues of cab making... Havnt tried it out yet as I just downloaded 2 mins ago. its new from....tim kremer
Click to expand...
Click to collapse
This was surprisingly good, definalty easier to use than cabwiz.exe.
sdlopez83 said:
Try this new cab making utitlity. Its suppose to bypass most grueling issues of cab making... Havnt tried it out yet as I just downloaded 2 mins ago. its new from....tim kremer
Click to expand...
Click to collapse
Hi!
If i just want to replace a edited file inside a cad archive, how can i do that?
I tried this but i realy don't understand what to do
ToddeSwe
ToddeSwe said:
Hi!
If i just want to replace a edited file inside a cad archive, how can i do that?
I tried this but i realy don't understand what to do
ToddeSwe
Click to expand...
Click to collapse
Use WinCE Cab Manager. It's simple as working with a ZIP/RAR archive. Drag & drop supported for file edition & replacements.
Any help
Ok guys, I downloaded the OCP Software, that is great and all, but I would actually like to know what code is used and if there is something that will allow me to learn how to write the code. I do know a little about writing in VB 6.0, I know that is not a widly used program code. So if anyone could help me please, that would be great. Thanks
Is there any other easiest technique?
davidtwhittle said:
Is there any other easiest technique?
Click to expand...
Click to collapse
Do a OEM package, it is super easy to do, and execute oem2cab. If you cant find it I can share it with you
Ye,its good if you share it with me.I ll be come at your facebook page but if you share here,then it will be good for me.
davidtwhittle said:
Ye,its good if you share it with me.I ll be come at your facebook page but if you share here,then it will be good for me.
Click to expand...
Click to collapse
http://www.4shared.com/file/6mxJ-EHQ/OEMS.html
here you go

Extracting an applet from a CAB file

is it possible to extract the "soft key applet" (the one with the pink icon) from this CAB file ?
if so ... could someone who knows how to, do it and post it here ?
many thanks !
http://forum.xda-developers.com/attachment.php?attachmentid=46949&stc=1&d=1186954521
Done for you mate.
Psi
thanks alot man !
it's the best soft key applet ever ! ....
although you are not able to select any program you want ... it allows you to choose from a dropdown list of every program installed including the windows' like file explorer and new SMS (which i use !)
anyway, thanks !
p.s.
really really fast man !
but how do i install a CPL file ?
dhob187 said:
but how do i install a CPL file ?
Click to expand...
Click to collapse
Drop it in the windows folder (you may get a warning about activating the appilet - say yes) and then look in the settings and it'll be there.
Psi
thanks again !
man you work fast

Rom cooking + welcome.exe

Hello everyones
I'm cooking a French ROM, so I've a problem with welcome.exe.
I've a shorcrut in startup folder so it start at each SR. So what the method for auto-delete the lnk file in startup after hard-reset ?
Sorry for my poor English.
Thanks in advance.
I'am certainly far from the problem, but in wm5 the welcome.exe is in the windows file (not start menu) but how it move i don't know
Normaly, welcome.exe have a link in startup but is auto-deleted after execution, in my ROM no (and you say that ) but I don't know why...
I'am not sure, but if you think it's an auto-delete, how can you do "align screen" after ? (i've not test it with ur rom )
No it only delete the link
xvx45 said:
No it only delete the link
Click to expand...
Click to collapse
make a cab that adds a welcome.lnk to startup folder but link it to some other exe this should overwrite the alignment link and add that cab to extrom
gullum said:
make a cab that adds a welcome.lnk to startup folder but link it to some other exe this should overwrite the alignment link and add that cab to extrom
Click to expand...
Click to collapse
Thanks Gullum, I'll test it !
Soved, your astuce work, thanks Gullum
Describe exactly what did the cab did
Problem solved...

How to use and install things on your HTC Diamond.

Hi.
Can anyone of u plz tell me how to use open gl and how to install thongs like Diamond cubes themes and more. Plz teach me how to do this cuz i cant get this things to work. I wana use me htc for something funny not just use it like a phone.
plz help me if u can.
I am not an experienced person, but I try to answer you.
you need a file called CAB. Download the CAB file for a particular program.
Never unzip it. The CAB file itself acts as a exe file.
1) Sync your diamond to the PC with active sync.
2) copy the cab file to your diamond
3) double click on the cab file.
4) Install either on your ROM or internal memory
Good luck!
Google is your friend.
If your new to Pocket PC devices, check this out.
Regards,
Carty..
Thx guys for great help
I have been all over this site, ppcgeeks and sprintusers and maybe I am on brain overload, but I do not understand how to install manila files. I have done programs and cabs. I have all sorts of tweaks and changes on my diamond. I am trying to change just my icons. i have downloaded many of the files that people create, but cannot figure out where to get them to install. any help anyone could pass on will be sooo appreciated. I have Diamond TF3D Config, I have Diamond Tweaks and I have PHM RegEdit...what am i missing?
I have the same question as Kndracing. Dont know what to do with the manila files.
lexster said:
I have the same question as Kndracing. Dont know what to do with the manila files.
Click to expand...
Click to collapse
Copy them to your \Windows folder with Resco Explorer or Total Commander.
so why use total commander and not just drag the manila into window\, pls. fill me out with more details. Thank you.
lexster said:
so why use total commander and not just drag the manila into window\, pls. fill me out with more details. Thank you.
Click to expand...
Click to collapse
Because ActiveSync/File Explorer can't copy files with System attribute and Total Commander can. Apart from that, it is a way better file manager than the system one. And unlike the desktop version, it is free.
Joppiz HTC LOVER said:
how to install thongs
Click to expand...
Click to collapse
Maybe because I'm tired, but this made me laugh.

Categories

Resources