PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Diamond > CDMA Diamond Development

Notices



Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-01-2009, 03:17 AM
ghettofreeryder's Avatar
Halfway to VIP Status
Offline
Pocket PC: HTC Diamond
Carrier: Telus
Location: Alberta
 
Join Date: Oct 2007
Posts: 618
Reputation: 1377
ghettofreeryder is halfway to VIP status based on repghettofreeryder is halfway to VIP status based on repghettofreeryder is halfway to VIP status based on repghettofreeryder is halfway to VIP status based on repghettofreeryder is halfway to VIP status based on repghettofreeryder is halfway to VIP status based on repghettofreeryder is halfway to VIP status based on repghettofreeryder is halfway to VIP status based on repghettofreeryder is halfway to VIP status based on repghettofreeryder is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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.
Reply With Quote
This post has been thanked 4 times.
  #2 (permalink)  
Old 05-01-2009, 03:23 AM
ghettofreeryder's Avatar
Halfway to VIP Status
Offline
Pocket PC: HTC Diamond
Carrier: Telus
Threadstarter
Location: Alberta
 
Join Date: Oct 2007
Posts: 618
Reputation: 1377
ghettofreeryder is halfway to VIP status based on repghettofreeryder is halfway to VIP status based on repghettofreeryder is halfway to VIP status based on repghettofreeryder is halfway to VIP status based on repghettofreeryder is halfway to VIP status based on repghettofreeryder is halfway to VIP status based on repghettofreeryder is halfway to VIP status based on repghettofreeryder is halfway to VIP status based on repghettofreeryder is halfway to VIP status based on repghettofreeryder is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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
Reply With Quote
This post has been thanked 2 times.
  #3 (permalink)  
Old 05-01-2009, 03:30 AM
conflipper's Avatar
MIA
Offline
Pocket PC: All HTC CDMA PPC
Carrier: Alltel
 
Join Date: Feb 2008
Posts: 1,888
Reputation: 12640
conflipper can't get a higher reputation levelconflipper can't get a higher reputation levelconflipper can't get a higher reputation levelconflipper can't get a higher reputation levelconflipper can't get a higher reputation levelconflipper can't get a higher reputation levelconflipper can't get a higher reputation levelconflipper can't get a higher reputation levelconflipper can't get a higher reputation levelconflipper can't get a higher reputation levelconflipper can't get a higher reputation level
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: How to use WMReloc instead of GReloc

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.
Attached Files
File Type: rar WMReloc61_Kernal.rar (47.9 KB, 124 views) Click for barcode!
File Type: rar WMReloc_6.5_Kernal.rar (48.5 KB, 181 views) Click for barcode!
Reply With Quote
This post has been thanked 2 times.
  #4 (permalink)  
Old 05-01-2009, 09:50 AM
KBZL's Avatar
SIR Flash-a-lot
Offline
Pocket PC: Hero
Carrier: Sprint
Location: WarChilds Backyard
 
Join Date: Oct 2008
Posts: 2,239
Reputation: 1900
KBZL is halfway to VIP status based on repKBZL is halfway to VIP status based on repKBZL is halfway to VIP status based on repKBZL is halfway to VIP status based on repKBZL is halfway to VIP status based on repKBZL is halfway to VIP status based on repKBZL is halfway to VIP status based on repKBZL is halfway to VIP status based on repKBZL is halfway to VIP status based on repKBZL is halfway to VIP status based on repKBZL is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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.
__________________


Thats how sweet the signal is in my office!!
Reply With Quote
  #5 (permalink)  
Old 05-01-2009, 02:32 PM
onlinespending's Avatar
PPCGeeks Regular
Offline
Pocket PC: Palm Pre
Carrier: Sprint
 
Join Date: Jun 2008
Posts: 116
Reputation: 240
onlinespending is keeping up the good workonlinespending is keeping up the good workonlinespending is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: How to use WMReloc instead of GReloc

same here. updated script to use wmreloc, but rom is unbootable.
Reply With Quote
  #6 (permalink)  
Old 05-01-2009, 05:06 PM
indagroove's Avatar
AWOL
Offline
Pocket PC: HTC TouchPro 2 and Samsung Moment
Carrier: Sprint
 
Join Date: Nov 2007
Posts: 3
Reputation: 120
indagroove is keeping up the good workindagroove is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: How to use WMReloc instead of GReloc

So, how is this better than using the dummy greloc to forward to wmreloc?
Reply With Quote
  #7 (permalink)  
Old 05-01-2009, 05:32 PM
KBZL's Avatar
SIR Flash-a-lot
Offline
Pocket PC: Hero
Carrier: Sprint
Location: WarChilds Backyard
 
Join Date: Oct 2008
Posts: 2,239
Reputation: 1900
KBZL is halfway to VIP status based on repKBZL is halfway to VIP status based on repKBZL is halfway to VIP status based on repKBZL is halfway to VIP status based on repKBZL is halfway to VIP status based on repKBZL is halfway to VIP status based on repKBZL is halfway to VIP status based on repKBZL is halfway to VIP status based on repKBZL is halfway to VIP status based on repKBZL is halfway to VIP status based on repKBZL is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: How to use WMReloc instead of GReloc

obviously not too much better cause it didn't work for me.
Reply With Quote
  #8 (permalink)  
Old 05-01-2009, 05:53 PM
indagroove's Avatar
AWOL
Offline
Pocket PC: HTC TouchPro 2 and Samsung Moment
Carrier: Sprint
 
Join Date: Nov 2007
Posts: 3
Reputation: 120
indagroove is keeping up the good workindagroove is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: How to use WMReloc instead of GReloc

Quote:
Originally Posted by kbussen View Post
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.
Reply With Quote
  #9 (permalink)  
Old 05-02-2009, 02:03 AM
scrosler's Avatar
VIP Member
Offline
Pocket PC: EVO 3D
Carrier: Sprint
Location: Fargo ND
 
Join Date: Aug 2007
Posts: 5,114
Reputation: 20875
scrosler can't get a higher reputation levelscrosler can't get a higher reputation levelscrosler can't get a higher reputation levelscrosler can't get a higher reputation levelscrosler can't get a higher reputation levelscrosler can't get a higher reputation levelscrosler can't get a higher reputation levelscrosler can't get a higher reputation levelscrosler can't get a higher reputation levelscrosler can't get a higher reputation levelscrosler can't get a higher reputation level
Mentioned: 8 Post(s)
Tagged: 0 Thread(s)
Re: How to use WMReloc instead of GReloc

Quote:
Originally Posted by indagroove View Post
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?
__________________


Donations always accepted but never expected!
Reply With Quote
  #10 (permalink)  
Old 05-02-2009, 02:03 AM
scrosler's Avatar
VIP Member
Offline
Pocket PC: EVO 3D
Carrier: Sprint
Location: Fargo ND
 
Join Date: Aug 2007
Posts: 5,114
Reputation: 20875
scrosler can't get a higher reputation levelscrosler can't get a higher reputation levelscrosler can't get a higher reputation levelscrosler can't get a higher reputation levelscrosler can't get a higher reputation levelscrosler can't get a higher reputation levelscrosler can't get a higher reputation levelscrosler can't get a higher reputation levelscrosler can't get a higher reputation levelscrosler can't get a higher reputation levelscrosler can't get a higher reputation level
Mentioned: 8 Post(s)
Tagged: 0 Thread(s)
Re: How to use WMReloc instead of GReloc

Quote:
Originally Posted by indagroove View Post
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?
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Diamond > CDMA Diamond Development

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 12:32 PM.


Powered by vBulletin® ©2000 - 2019, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com