View Single Post
  #4 (permalink)  
Old 11-02-2007, 10:14 AM
dcd's Avatar
dcd
VIP Member
Offline
 
Join Date: May 2007
Posts: 575
Reputation: 2537
dcd is a VIPdcd is a VIPdcd is a VIPdcd is a VIPdcd is a VIPdcd is a VIPdcd is a VIPdcd is a VIPdcd is a VIPdcd is a VIPdcd is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by wandrerx View Post
I don't really know what to do after using BuildOS :P

@echo off

rem ** copy os image to temp **
copy .\ROM\os.nb.extra .\temp\os-new.nb.extra
copy .\ROM\os.nb.payload .\temp\
copy .\ROM\titan_nbh.txt .\temp\
cd temp
..\TOOLS\ImgfsFromNb OS.nb.payload imgfs.bin

rem ** create imgfs-new from dump **
..\TOOLS\imgfsfromdump imgfs.bin imgfs-new.bin

rem ** create os-new.nb.payload from imgfs-new.bin **
..\TOOLS\imgfstonb imgfs-new.bin os.nb.payload os-new.nb.payload

rem ** merge os-new.nb.payload&extra into os-new.nb
..\TOOLS\nbmerge -titan os-new.nb

rem ** generate ruu_signed.nbh containing os-new.nb **
..\TOOLS\nbhgen titan_nbh.txt

rem ** move nbh to root **
move ruu_signed.nbh ..\

cd ..
pause
rmdir /s /q temp
Reply With Quote