G'Reloc and other tools

misar

New member
Nov 5, 2005
2
0
0
Updated and added new version of tools.

1. G'Reloc - updated
Tool for boost rom cooking by autofixing and relocating ALL modules in IMGFS.

HOWTO:
1) Put it in to kitchen folder (one place with BuildOS)
2) StartUp, fill right values for slots 00 and 01 endings
3) Push - DoIt button and feel free :)


The tool have coomand line, use "G'Reloc -doit -dump".
-dump folder must be in /temp/dump

2. M'Reloc
Tool for relocating one module.

3. M'Reloc for nk
Tool for relocating a nk.exe Dont use it if dont know what is it.

and last new tool
4. reversmode
Simple tool for file-to-module conversion with .reloc section compression.

Many thanks to my friend freepk
Big thanks to: mamaich, bepe
 

Attachments

Last edited:

mamaich

Retired Recognized Developer
Apr 29, 2004
1,150
224
0
mamaich-eng.blogspot.ru
Great, I was too lasy to make such a tool myself :)

To clarify why it is needed.
When DLL in ROM is stored as a module, it occupies a fixed address space. So it starts faster, and can be loaded in slot 1, saving the virtual memory in a 32-mb virtual address space of all processes. There are some other benefits described in MSDN.

When you cook ROMs you may find that DLL from one ROM uses the same addresses as DLL from another. Previously to fix this you had to convert DLL to a file losing VM space. And not all DLLs worked after such conversion. Now we have an automated tool that can automatically fix all overlaps.

P.S. I have not tested this tool myself - too busy now :(
 
Last edited:

bepe

Retired Recognized Developer
Dec 18, 2005
1,115
64
0
Munich
Thank you so much!!!
This makes the ROM Kitchen perfect :D

You can use any SYS folder from any device now!
- Put it together with the OEM folder for your device into the ROM Kitchen
- Run this tool
And build the ROM... that’s it! ... no module overlappings... perfect ROM

already tried it and it works just perfect!
 

freepk

Member
May 4, 2007
20
0
0
Lo All :)

We test this tool on hp 4700, loox n560, dell x51, x51v, and all five roms works fine :)
Misar, u great man, great idea and great roms as result of your great work :)

P.S. Thank u all guys for help, support and fun :)
 

luv2chill

Senior Member
Apr 6, 2005
79
0
0
No more recmod! Thanks very much misar for this incredibly useful contribution. And already praised by mamaich and bepe? Can't get a higher endorsement than that :D
 

sp3dev

Senior Member
Jul 11, 2006
554
675
0
Kaluga/Moscow
you know it`s great, the betas were also great... it should work perfect with all roms. i personally tested with typhoon, tornado, asus p525, loox 520 - everything is cool)
 

liay

Senior Member
Nov 10, 2006
52
0
0
GREAT WORK!THX!
But there's something confused me, while I put all the things under OEM to SYS, the program cant recognize new added module, it still report as only with SYS like "Total 419".
Then I put only OEMDrivers folder to SYS, it report "Total 437", while I add another folder Drivers to it, report back to "Total 419"
 

hma4

Senior Member
Jun 5, 2007
651
0
0
Tools for boost rom cooking by autofixing and relocating ALL modules in IMGFS.

HOWTO:
1) Put it in to kitchen folder (one place with BuildOS)
2) StartUp, fill right values for slots 00 and 01 endings
3) Push - DoIt button and feel free :)

The tool have coomand line, use "G'Reloc -doit"

Many thanks to my friend freepk
Big thanks to: mamaich, bepe
how do I find the right value for slots 00 and 01 for Prophet ?:)
many thanks
 
Last edited:

latonars

Member
Jul 17, 2007
26
0
0
WOW~Cool misar
Thanks for ur efforts:D
But I got "Cannot open C:\...\SYS\SYS\.VM\imageinfo.bin" either place it in SYS directory or OEM:eek: