PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   CDMA Diamond Development (http://forum.ppcgeeks.com/forumdisplay.php?f=67)
-   -   How to use WMReloc instead of GReloc (http://forum.ppcgeeks.com/showthread.php?t=67102)

ghettofreeryder 05-01-2009 03:17 AM

How to use WMReloc instead of GReloc
 
Since the GReloc parser seems to be buggy, here is how to properly incorporate WMReloc into your kitchen scripts.

1. Delete GReloc from root and the tools folder.
2. Add WMReloc to the tools folder
3. Open your kitchen script
3. Find the line containing G'Reloc -doit dump
4. Change that code to read Tools\WMReloc.exe -gtemp\dump -lWMReloclog.txt

The -lWMReloclog.txt is not needed, so if you dont need the log for troubleshooting bad modules, you can delete it. If anyone needs a hand with the scripts, I can help.

ghettofreeryder 05-01-2009 03:23 AM

Re: How to use WMReloc instead of GReloc
 
For reference, here is my script

Code:

@BuildOS
@cls
@echo.
@echo Combining DSM Files into one
@Tools\all_packages_to_one
@echo Deleting rgu files
@del buildpkg.wrn
@echo Running G'Reloc
@del WMReloclog.txt
@Tools\WMReloc.exe -gtemp\dump -lWMReloclog.txt
@echo Rebuilding templates...
@mkdir .\Temp2
@cd .\Temp2
@..\Tools\imgfsfromnb.exe ..\ROM\os.nb.payload imgfs.old.bin
@echo .... Done.
@echo Building new imgfs.bin from dump...
@cd ..\Temp
@start /wait ..\Tools\imgfsfromdump.exe ..\Temp2\imgfs.old.bin ..\Temp2\imgfs.bin
@del ..\Temp2\imgfs.old.bin
@echo .... Done.
@echo Building OS-new.nb...
@cd ..\Temp2
@start /wait ..\Tools\imgfstonb.exe imgfs.bin ..\ROM\os.nb.payload OS.nb.payload -bigstoragemove
@del imgfs.bin
@start /wait ..\Tools\nbmerge.exe -kaiser OS.nb
@del OS.nb.payload
@ren OS.nb OS-new.nb
@cd ..
@mkdir .\Output
@move .\Temp2\OS-new.nb .\Output
@cd .\Output
@echo .... Done.
@echo Building RUU_signed.nbh...
@..\Tools\nbhgen.exe ..\Tools\victor_nbh.txt
@echo .... Done.
@echo Clean up time!
@cd ..
@rd /s /q .\Temp
@rd /s /q .\Temp2
@move .\Output\RUU_signed.nbh .\RUU
@rd /s /q .\Output
@echo .... Done.
@echo Flashing Rom
@pushd RUU
@ROMUpdateUtility.exe
@cls


conflipper 05-01-2009 03:30 AM

Re: How to use WMReloc instead of GReloc
 
2 Attachment(s)
fancy list nice write up has well.


if your device has a true 6.5 kernal(Currenly only the Fuze, GSM Touch Pro) then you need to use a differnent WMReloc. that tool is able to modify the reloc, so that it can take advantage of the extra slot in the nk.exe. so I uploaded both of them.

Most everyone will use the 6.1 Kernal, unless you are a GSM TP user, and you have a True nk.exe from a 6.5 rom, and if you have this then that means you work for Microsoft.

It will come in handy later on in the year when we get on to new devices that will recieve a free 6.5 upgrade.

KBZL 05-01-2009 09:50 AM

Re: How to use WMReloc instead of GReloc
 
Thank you for the info. Tried this but unfortunately still cannot get a bootable rom with 21215. Guess Ill be waiting for a new kitchen.

onlinespending 05-01-2009 02:32 PM

Re: How to use WMReloc instead of GReloc
 
same here. updated script to use wmreloc, but rom is unbootable.

indagroove 05-01-2009 05:06 PM

Re: How to use WMReloc instead of GReloc
 
So, how is this better than using the dummy greloc to forward to wmreloc?

KBZL 05-01-2009 05:32 PM

Re: How to use WMReloc instead of GReloc
 
obviously not too much better cause it didn't work for me.

indagroove 05-01-2009 05:53 PM

Re: How to use WMReloc instead of GReloc
 
Quote:

Originally Posted by kbussen (Post 889871)
obviously not too much better cause it didn't work for me.

Just because it's not booting doesn't mean it's a reloc issue. Did you try swapping out .rom, .vm, and wincenls folders from a working sys?

I have booted 21502 and 21215 successfully.

scrosler 05-02-2009 02:03 AM

Re: How to use WMReloc instead of GReloc
 
Quote:

Originally Posted by indagroove (Post 889908)
Just because it's not booting doesn't mean it's a reloc issue. Did you try swapping out .rom, .vm, and wincenls folders from a working sys?

I have booted 21502 and 21215 successfully.

Did you say 21502?

scrosler 05-02-2009 02:03 AM

Re: How to use WMReloc instead of GReloc
 
Quote:

Originally Posted by indagroove (Post 889908)
Just because it's not booting doesn't mean it's a reloc issue. Did you try swapping out .rom, .vm, and wincenls folders from a working sys?

I have booted 21502 and 21215 successfully.

Did you say 21502?


All times are GMT -4. The time now is 08:34 AM.

Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0