Why file.gru without Reg - Windows Mobile Development and Hacking General

Hi everyone
I converting cabs to package by Ervius Package Creator tool follow http://wiki.xda-developers.com/index.php?pagename=OEM Package Tutorial
But I don't why file. gru was created empty ?
I opned file.gru only REGEDIT4 in it without reg ? why that ?
Plz help me
thank

it's rgu. becase the cab file U try to convert doesnt contain any direct changes in registry, but U have to be aware that some cabs contains setup.dll(or smth similar) that make necessary changes thru the setup process.
I suggest to open rgu's not in Regedit but Notepad (u may edit it....) or RegistryWorkshop.

Related

Make registry modifying only Cab

How can I make a registry modifying only cab, that doesn't require files to be added??
So far, it seems that adding SourceDisksFiles and other required sections like this on the .inf files won't allow to create a registry modifying only cab file... :?
Yes those sections of the inf are mandatory.
To create a cab that only modifies registry you need to put your modifications in the form of an xml file, name it _setup.xml and use makecab.exe like this:
makecab /D COMPRESS=OFF _setup.xml mycab.cab
Do not try to use cabwiz because it will change the file name inside the cab.
To learn how to formulate registry changes as xml look in MSDN under Configuration Manager and Provisioning a device.

Instruction on how to generate working .reg files on WM5 ?

Hello,
can anyone tell me if there a good instruction somewhere about producing an executable .reg file for the WM5 platform (Qtek 9000 PPC as well as Qtek 8300 Smartphone) ?
It should contain modifications to the registry which should be applied upon exectuting this file.
(With thge help of a second such file I'd like to reset the initial reg values back.)
Thanks in advance.
well
just look inside a .reg file with notepad.
example:
[HKEY_CLASSES_ROOT]
[HKEY_CLASSES_ROOT\.2bp]
"Content Type"="image/bmp"
"Default"="bmpimage"
"PerceivedType"="image"
[HKEY_CLASSES_ROOT\.3gp]
"Default"="3gpfile"
that's it...
im sure u understood what should be done...
To make it executable you need to write a custom app or import the reg settings into a cab and load the cab.
V
How do i make a .reg file delete a value in the registry ??
I think you insert a - before the key
I'll have to google to confirm, but I'm cooking right now
V
vijay555 said:
To make it executable you need to write a custom app or import the reg settings into a cab and load the cab.
V
Click to expand...
Click to collapse
Thanks to all !
Yes, just this would be my prime question:
Is there any documentation on how to make it executable by "transforming it into a cab file" ?

How to implement new *.provxml in new ROM

Hi,
unfortunately I am not able to implement a new *provxml to a new ROM.
I know http://forum.xda-developers.com/showthread.php?t=398025
and some other threads, but all my entries (Mailaccounts, WiFi informations - which I got with rapiconfig) are not in my new ROM.
I am doing somewhere a mistake. It does not work:
I have done the following:
1. created an acconts.provxml
2. renamed to _setup.xml
3. Created an OEM package with Ervius Package Creator.
Have now 5 files in the OEM folder: _setup.xml, *.rgu, *.dsm (size 0k), option.xml and initflashfiles.txt
4. Moved option.xml out of the OEM folder
5. Drag and drop OEM folder over BuildDSM.exe. This creates a new *dsm (size 1k)
6. place back option.xml in OEM folder
7. copy OEM folder under \Packages - i have tested also the OEM folder
8. cooked and burned ROM
Does someone has a OEM package with a *.provxml (including email2 and wi-fi infos). All imported emai-addresses and wifi info van be deleted of course. ?
If I use "rapiconfig.exe /p _setup.xml" all my infos are ok.
Any help is welcome.
Regards
kuzco1
this is what works for me...
you have to name it:
mxipupdate_zz_oemoperators_100_PPC+All_filename.provxml​
you can replace 'filename' with whatever you wish.
(there should be no space in provxml, this editor isn't working right for some reason)
let us know if this works for you...
joemanb said:
this is what works for me...
you have to name it:
mxipupdate_zz_oemoperators_100_PPC+All_filename.provxml​
you can replace 'filename' with whatever you wish.
(there should be no space in provxml, this editor isn't working right for some reason)
let us know if this works for you...
Click to expand...
Click to collapse
Hello,
what do you really mean ?
I have renamed my _setup.xml to mxipupdate_zz_oemoperators_100_PPC+All_filename.provxml and put this file \OEM\OperatorPKG. After cooking and burning my Kaiser does not boot any longer - I have to reverted to my old ROM.
Regards
kuzco
have you tried creating a cab file with your _setup.xml?
see if that works, maybe your xml has errors.
as far as creating a dsm, all I did was drop the file into another oem folder that already had some provxml files.
the fact that your phone won't boot now would indicate to me that after the filename change the file is indeed being processed, but the xml has errors.
download the 'tmobileforromcooks.zip' file in the following post and compare the provxml files with yours.
http://forum.xda-developers.com/showpost.php?p=2237367&postcount=1
good luck
joemanb said:
have you tried creating a cab file with your _setup.xml?
see if that works, maybe your xml has errors.
as far as creating a dsm, all I did was drop the file into another oem folder that already had some provxml files.
the fact that your phone won't boot now would indicate to me that after the filename change the file is indeed being processed, but the xml has errors.
download the 'tmobileforromcooks.zip' file in the following post and compare the provxml files with yours.
http://forum.xda-developers.com/showpost.php?p=2237367&postcount=1
good luck
Click to expand...
Click to collapse
Thanks, but this zip does not work either. I will play more ....
kuzco1
hint hint: Try adding these settings to an already existing prov.
as i read somwhere you cannot add any provxml file in a dumped rom! but u can change and add reg edits in an existing provxml file. and theres another thing i think you should know: provxml files are the last reg based files that will get written in the cooked rom SO they have the ability to change and overwrite rgu files that you created if they both have the same reg path but diff values.

[HOWTO] Modify any DLL or EXE Files you want!!

Hello!
Now I found a way to Edit DLL, EXE, MUI and all other files for WM5 and WM6!
I ever had problems with the Signature in the Files bur now i have the Solution!
In This package i attached, there is a UnSigner, Signer, Editor and the Certificate for the Phone!
Step1:
First you must Unsign the file you want to edit!
Just go into the Unsign dir and drop the file over UnSigner.exe.
A DOS-Window will popup for a short time, the file is now unsigned!​Step2:
Now you can edit the file! I placed the reshacker into the package...​
Step3:
If you edited the file successfully, you must sign it again!
Go into the Sign dir and open siggner.exe. Then choose the file you edited and take the "SDKSamplePrivDeveloper" Certificate.
Press "Start sign process" and close it​
Viola, now your file is Modified and signed!!!
thx 4 tools in one place.
Method is rather..known, but good.
Hi,
thanks for your good work.
wfg
starbase64
thx nice works i need that
great software suite thanks
i tried this but still cant copy into the \windows\ directory, i can copy from from \windows\ dir tho
thx 4 share.....
gh0st- said:
i tried this but still cant copy into the \windows\ directory, i can copy from from \windows\ dir tho
Click to expand...
Click to collapse
I have not figured this out myself eather, i read "everywhere" to use activesync, but how do i copy a file trough activesync?
schreda said:
Hello!
Now I found a way to Edit DLL, EXE, MUI and all other files for WM5 and WM6!
I ever had problems with the Signature in the Files bur now i have the Solution!
In This package i attached, there is a UnSigner, Signer, Editor and the Certificate for the Phone!
Step1:
First you must Unsign the file you want to edit!
Just go into the Unsign dir and drop the file over UnSigner.exe.
A DOS-Window will popup for a short time, the file is now unsigned!​Step2:
Now you can edit the file! I placed the reshacker into the package...​
Step3:
If you edited the file successfully, you must sign it again!
Go into the Sign dir and open siggner.exe. Then choose the file you edited and take the "SDKSamplePrivDeveloper" Certificate.
Press "Start sign process" and close it​
Viola, now your file is Modified and signed!!!
Click to expand...
Click to collapse
THANKS! Your pakage was very helpful to me and the two certificate cab's did it for me. Now i can translate my M2D into Swedish.
ToddeSwe
i want to modify a dll file
hi, I want to modify a dll file called invdb32.dll in this file an option is block i want to open it, any body help me?
[email protected]
good job! thanx dude
Is there a way we can view the images instead of a bunch of numbers and stuff? BTW great job man! Thank you!
Thanks for sharing
Is this can work with Windows vista
modify the manilla2d exe with this to support animated weather other than rain???
Can i use this to change the Samsung Omnia Menu to different programs being shown? Instead of TouhPlayer Kinoma?
I was able to unsign, modify and then sign a DLL file. But when I opened it in PE Explorer to check it, it gives me errors that the file is now too long. Take it you can't make additions, only changes?
EDIT: Here's the exact error I'm receiving, not sure if it's fixable or not;
03.01.2009 21:03:04 : EOF Extra Data From: 0008C400h (574464)
03.01.2009 21:03:04 : Length of EOF Extra Data: 00001948h (6472) bytes.
03.01.2009 21:03:04 : EOF Position: 0008DD48h (580936)
03.01.2009 21:03:04 : Error! (Step: Examining Exports)
03.01.2009 21:03:04 : Errors detected! Opening file in SAFE MODE...
03.01.2009 21:03:04 : Done.
the original file showed the following;
03.01.2009 21:02:25 : EOF Position: 0008C400h (574464)
03.01.2009 21:02:25 : Done.
converting dll to VGA
hi, i need expert help from any of you to kindly convert this enclosed dll file to VGA 191dpi for my Raphael. this file is part of PHM ppc Plus to enable clibboard in SIP. thanks in advance for your help
MEditor: Simplicity
Hi guys,
I've decided to make it quite a bit easier. Just open up the attached .zip
file, extract the MEditor to Program Files, and double-click Install Context
Menus.reg (confirm if a warning pops up).
Now, to edit a dll, mui, or exe file, just right-click on it and press Edit with
ResHacker. Once you're done editing, just save the file, close ResHacker,
and it'll take care of re-signing the file for you
How it works
I didn't mean to make this post a big deal, but I'd just like to explain how this
thing works. I've added the necessary registry files for adding or removing
(if you choose) the Context Menus for "Edit with ResHacker". It calls
C:\Program Files\MEditor\open.bat, which opens a batch window (do not
close it until you're done editing, it will close itself) that removes the
readonly, archive, system, and hidden attributes off the file, then unsigns it,
then opens ResHacker.exe to edit it. When you close ResHacker.exe, it
automatically signs the file and adds the readonly and system attributes
(hidden and archive aren't necessary). Not very complicated if you think
about it, but it's what I use
smotrs said:
I was able to unsign, modify and then sign a DLL file. But when I opened it in PE Explorer to check it, it gives me errors that the file is now too long. Take it you can't make additions, only changes?
Click to expand...
Click to collapse
Same problem. Internal adresses are being messed up. Tried expanding array in IDA and adding complimentary bits in HEX Editor. No luck. This has to be possible right? Shifting the entire code a few bits as to add a few characters here and there? Please someone, this is driving me nuts.
Help On exrtacting the *.dll file from windows folder
Hello has any one been able to remove the file from the windows folder tried resco and total commander but in vain ..
Awaitin help...

[SOLVED]How to create a shortcut for mortscript

hello to all i have created a mortscript but i did not able to create a shortcut in startmenu with packages maker.....will anyone please help me how to create a shotcut with mortscript because packages maker only show the "exe" files.
thanks to all
1#"\Windows\Connections_OFF.mscr"
Like that. Just put in your script name, put it in a .txt file and change the extension to .lnk.
Total Commander is a great tool for making links.
Since you're using mortscript, you can also use the createshortcut command to make the shortcut, like this:
Code:
CreateShortCut("\Windows\Start Menu\Programs\MortScript\RestoreWeather.lnk","\Windows\RestoreWeather.mscr")
Farmer Ted said:
1#"\Windows\Connections_OFF.mscr"
Like that. Just put in your script name, put it in a .txt file and change the extension to .lnk.
Total Commander is a great tool for making links.
Since you're using mortscript, you can also use the createshortcut command to make the shortcut, like this:
CreateShortCut("\Windows\Start Menu\Programs\MortScript\RestoreWeather.lnk","\Windows\RestoreWeather.mscr")
Click to expand...
Click to collapse
thanks for ur reply when i add like this in my created script it does not create a shortcut
any solution??????
I didn't have the script in code tags, so it had a space in the second 'windows'; maybe that was the problem. It should work fine; my whole start menu (100+ shortcuts) is created that way. You just need to have the correct path to the script you want linked.
are i add these entries ina rgu or in my created script
They go in a mortscript; you also need to put an EXEC command into an add2config.txt file to get the script to run (and mortscript has to be cooked in).
Farmer Ted said:
They go in a mortscript; you also need to put an EXEC command into an add2config.txt file to get the script to run (and mortscript has to be cooked in).
Click to expand...
Click to collapse
Thanks once again ....i put m'y scripts into m'y Windows folder and i havé created a new note.txt and i add m'y entries like u havé marked and i rénamed thé txt to mscr but when i want to test thé script before cooking it gives a error ...i havé mortscript installed ...Will i add some thing Else in m'y script or ...is it possible to upload a sample script for creating shortcut?
Do the cheaters method, and find your file in the windows directory of your device, then select and copy, finally paste as shortcut in storage card. Move shortcut off storage card. Done.
indagroove said:
Do the cheaters method, and find your file in the windows directory of your device, then select and copy, finally paste as shortcut in storage card. Move shortcut off storage card. Done.
Click to expand...
Click to collapse
ok but i want to create a shortcut in my kitchen for cook with
shafizal said:
Thanks once again ....i put m'y scripts into m'y Windows folder and i havé created a new note.txt and i add m'y entries like u havé marked and i rénamed thé txt to mscr but when i want to test thé script before cooking it gives a error ...i havé mortscript installed ...Will i add some thing Else in m'y script or ...is it possible to upload a sample script for creating shortcut?
Click to expand...
Click to collapse
What's the error? I'm guessing there's just some syntax that's off. You should try each script one at a time (comment out all but one at a time with #'s).
Farmer Ted said:
What's the error? I'm guessing there's just some syntax that's off. You should try each script one at a time (comment out all but one at a time with #'s).
Click to expand...
Click to collapse
now its ok bro ur entries worked now and i added into config.text now its creates the shortcuts automatically after flash.....
thank u very much for ur help from begin..

Categories

Resources