[Windows Mobile] onlyankush_s:
You only told me to tick Old style. If i dont check it the process goes smoothly and *.nbh gets created but when i flash it in my phone nothing happens. Phone doesn't even starts.

my kitchen_build _rom.bat is attached.

hey i dont know why but i edited -hermes to elfin but it changes by itself.

@echo off
cd..

REM........................
set IMGSTART=0
set ULDR=uldr
set PP=12
set NOCERT=nocert
REM........................

set SYSBUILD=23563
set XIPBUILD=23563
set EXTBUILD=23563

set MERGILO= ..\TOOLS\IMGFS\NBMerge -hermes OS-new.nb
set LOCALE=0409
set BUILD=Premium
set DPI=DPI_96
set RES=DPI_96_RESH_240_RESV_320
set DEVICE=ELFIN
set OLDKERNEL=1

set DEVICEID=ELF0*****
set VERSIONID=2.0.00.00
set LANGID=0409
set CHUNKSIZE=1024
set OSIDVALUE=0x400

set DSM=723fb954-d931-4348-b672-82a188e587b5.dsm

set ROMHDR=ROM\%device%\romhdr.bin

set XIP_PATTERNS=ROM\%DEVICE%\%xipbuild%\*;ROM\SHARED\%xipbuild%\*

set OEM_PATTERNS=OEM\%device%\COMMON\*;OEM\%device%\%locale%\*

set SYS_PATTERNS=SYS\%sysbuild%\SHARED\COMMON\*;SYS\%sysbuild%\SHARED\%LOCALE%\*;SYS\%sysbuild%\%dpi%\COMMON\*;SYS\%sysbuild%\%dpi%\%LOCALE%\*;SYS\%sysbuild%\%res%\COMMON\*;SYS\%sysbuild%\%res%\%LOCALE%\*

set EXT_PATTERNS=EXT\%DEVICE%\%EXTBUILD%\*\*;EXT\%DEVICE%\COMMON\*\*;EXT\SHARED\*\*

set DSM_TEMPLATE=%dsm%
set DSM_INCLUDES=*

REM **************** TOOLS\platformrebuilder.exe
REM if not "%errorlevel%"=="0" goto error

REM ===========================================================================================

@echo off
cd Temp
echo Copying OS.nb.payload...
copy ..\ROM\%device%\OS.nb.payload OS.nb.payload
if not "%errorlevel%"=="0" goto error

REM ===========================================================================================

echo.
..\TOOLS\implantxip.exe -xip xip.bin -payload OS.nb.payload -imgstart %imgstart% -%uldr% -pp %pp% -%nocert%
if not "%errorlevel%"=="0" goto error

REM ===========================================================================================

echo.
..\TOOLS\IMGFS\ImgfsFromNb.exe OS.nb.payload imgfs.bin
if not "%errorlevel%"=="0" goto error

..\TOOLS\IMGFS\ImgfsFromDump.exe imgfs.bin imgfs-new.bin
if not "%errorlevel%"=="0" goto error

..\TOOLS\IMGFS\ImgfsToNb.exe imgfs-new.bin OS.nb.payload OS-new.nb.payload -bigstoragemove
if not "%errorlevel%"=="0" goto error

rem -------------------------------------------------------------------------------------------
%mergilo%
rem -------------------------------------------------------------------------------------------

if not "%errorlevel%"=="0" goto error

REM ===========================================================================================

del imgfs-new.bin
del imgfs.bin
del OS.nb.payload
del OS-new.nb.payload

REM ===========================================================================================

REM ===========================================================================================

echo.
cd..
cd RELEASE_%device%
if exist "RUU_signed.nbh" del /q RUU_signed.nbh
if not "%errorlevel%"=="0" goto error
rem cd..
rem cd temp
echo executing NBHUtils to build nbh file...

rem ---------------------------------------------------
..\tools\nbhutil.exe -model %deviceid% -ver %versionid% -lang %langid% -chunk %chunksize% -nogui -e -i %osidvalue% ..\temp\os-new.nb -b ruu_signed.nbh
rem ---------------------------------------------------

if not "%errorlevel%"=="0" goto error

cd..
cd release_%device%

echo.
dir RUU_signed.nbh
echo.

REM ===========================================================================================

echo.
echo Done!!!
echo.

REM REM REM REM REM only this one is without ".exe" or it could be killed!!!!!

ROMUpdateUtility

cd..

goto end

:error
echo.
echo ERROR! (errorlevel: %errorlevel%)

:end

Thanks a lot guys for helping me and guiding me...:)

*.bat converted to *.txt for attachment...