yashsingh1/xdaforums huggingface dataset:
[P3400 ROM Development] siddhesh1609:
i was trying to convert cab files to new kitchen by using crazys wm6.5 build 23016 but an errror is cming again n again sayin application failed to initialize!

wat shd i do? i m using windows xp sp 3!
[P3400 ROM Development] BesFen:
Do you already install net 2 or above and visual c++ redist 2008?
[P3400 ROM Development] Addicted2xda:
Organizing Start menu

Can some one please elaborate how to organize the start menu? Like in Multimedia folder you put everything related to multimedia, in Internet everything related to internet etc. etc. (while cooking, I can ofcourse use file manager to organize it later on :)).
[P3400 ROM Development] BesFen:
Every folder in EXT\Package have file app.dat, that is the location, open it by notepad, you will find, example: if you want put this app in utility folder in start menu just add word "Utility" like this:

Directory("\windows\start menu\programs[B]\Utility[/B]"):-File("BlackMe.lnk","\windows\BlackMe.lnk")

The bold word is the additional for go to internet folder:
[P3400 ROM Development] saurabh88:
plz help about manilla

hey plz tell me how to remove titenium and add manilla interface in any rom......
[P3400 ROM Development] deathgame:
Thats it!!

Remove this folders to remove titanium

-bronze

-Bronze_DPI_96

-BronzeNonEA

-CHome

-CHome_DPI_96

-CHome_Lang_0409

TO ADD MANILLA IN ROM

Download Bensef's or Krazy's kitchen and copy m2d(not exact name) folder from his kitchen's EXT Package folder to ur EXT FOLDER...

Best of luck for ur ROM
[P3400 ROM Development] Addicted2xda:
I have yesterday upgraded to vista Business SP2 (previously I was using XP SP3), now whenever I am trying to cook using krazy's 23009 kitchen, I am getting an error in the last part of process by htcrt, saying it was unable to backup and pagepool changer is not showing up, what am I doing Wrong?

Any help? ....

Thank you,
[P3400 ROM Development] saurabh88:
thanx bro.....thankyu very much..
[P3400 ROM Development] krazy_about_technology:
You have lost permissions over the files i guess. Check the security settings.
[P3400 ROM Development] Addicted2xda:
Thanks will check it out :)

EDIT:

Nah! Did not work, even re extracted the original kitchen - same error. :(.
[P3400 ROM Development] ankit360:
turnoff UAC + move your kitchen to non system drive.
[P3400 ROM Development] Addicted2xda:
Thanks will check it out, Yeah my kitchen was already in D: :)

EDIT:

Anyways, I have made my dual boot last night, so now I will use XP for cooking and Vista for Everything else :D.

(I guess disabling User Access control will be problematic since it will require a restart every time - and surfing without it turned on will make Vista vulnerable like XP)
[P3400 ROM Development] bnsnagesh:
hi

ur tutorial is a great effort very nice of you to be kind enough to impart your great knoledge to others but i think for some one who is a non techi like me it would take some time i will regularly save ur articles and read them many times and then try all when in 100% sure
[P3400 ROM Development] ramersonw:
Thanks bnsnagesh. As an advice, read a lot, but not only here. Read also in other subforuns. This way you will find answers to almost all your questions.
[P3400 ROM Development] deathgame:
EZINPUT2.1???

i observed bug in ezinput 2.1 last week

when we start typing names in messeges contact suggestion is disabled...

is this bug resolved?

Also size of setup of EzInput 2.1 is 8.02MB

how much space it takes on phone memory after installing??
[P3400 ROM Development] Addicted2xda:
How to copy a specific file from say... \windows\startmenu\programs to \windows\appbuttons ? Can anyone point out?
[P3400 ROM Development] krazy_about_technology:
Create an initflashfiles.txt in one of your packages if you are using ramerson'g manual method or his kitchen, or add these lines to the app.dat file (which is really the same initflashfiles.txt renamed to app.dat, as per the new specifications of EXT package format) if you are using platform rebuilder based kitchen.

Directory("\windows\appbuttons"):-File("Yourfile.extension","\windows\Start Menu\Programs\YourOriginalFIle.extension")

Its general form is :

Directory("target directory"):-File("target filename with extension","source filename with path and extension")

I hope this will help you out :)
[P3400 ROM Development] Addicted2xda:
Thanks a lot buddy :)
[P3400 ROM Development] siddhesh1609:
A request

how to put theme for titanium b4 cooking rom??
[P3400 ROM Development] deathgame:
S2u2 package

How to create Package for S2U2?(try to make it practically before posting)..
[P3400 ROM Development] pavanbaw:
Need Help

There are many quests :p:p

please answer them if any one can

thanx in advance

1.can u tell how to make wallpapers as default wallpapers for rom

means when i use new rom it will show up that wallpaper instead of theme's original wallpaper...

2.tell me one more thing how to change default theme which gets applied after booting rom for 1st time?

3.how to change the phone dialer pad?i wanna add new one. :p

4.How to add folders like sumit(krazy) has added in roms?
[P3400 ROM Development] Addicted2xda:
No offence buddy, but the first thing to do anything about cooking is reading,

for example,

for 4. See here http://xdaforums.com/report.php?p=4270057

or for 2. See here http://xdaforums.com/report.php?p=4224676

They are all in this thread only!!!
[P3400 ROM Development] Addicted2xda:
A request to all to be cooks

[size=+1]please study properly before posting a question. Most of queries are already answered, and there is a high chance that in this thread only.

Like the previous query.

Ask ankit / krazy / besfen how much they have read to become such great chefs[/size]
[P3400 ROM Development] pavanbaw:
ohh

sorry

i became lazy:p:p

could any one please answer 1st and 3rd quest?
[P3400 ROM Development] krazy_about_technology:
@pavan:

1. Deafult theme and wallpaper are set using the file mxipcold_wpc_2.provxml in SYS\base_dpi_96_resh_240_resv_320 folder. Open this file in notepad, you will see these lines at the bottom of the file :

<characteristic type="FileOperation">

<characteristic type="%CE2%" translation="install">

<characteristic type="stwater_240_320.jpg" translation="install">

<characteristic type="Copy">

<parm name="Source" value="%CE2%\classicblue_stwater_240_320.jpg" translation="install" />

</characteristic>

</characteristic>

<characteristic type="stwater_320_240.jpg" translation="install">

<characteristic type="Copy">

<parm name="Source" value="%CE2%\classicblue_stwater_320_240.jpg" translation="install" />

</characteristic>

</characteristic>

</characteristic>

</characteristic>

</wap-provisioningdoc>

Change the name of files marked in bold to your custom ones, first one is for portrait and the other one is for landscape.

3. Phone dialers usually come in form of packages, or cabs. You can use those to create OEMs. Plus, there are two possibilities, you can skin the default WM dialer by changing the graphics of buttons etc in the SYS\Phone_dpi_96_resh_240_resv_320 folder, like i have done in my kitchen, or you can use a custom dialer like the PhoneCanvas that comes with elfin, diamond etc. These come as cab files or packages as i said before. Skinning the default dialer goes easy on RAM, using a custom dialer usually takes 1.5-4 MB of RAM depending upon the technology used in dialer and its look-n-feel.
[P3400 ROM Development] pavanbaw:
WMP

can anybody tell?...?,,..

which are the files in kitchen that r related to windows media player..??
[P3400 ROM Development] deathgame:
Duplicate post
[P3400 ROM Development] deathgame:
These folders in SYS are rlated to media player...

MediaOS

MediaOS_dpi_96_resh_240_resv_320

MediaOS_Lang_0409

MediaOSFiles
[P3400 ROM Development] deathgame:
Sumit plz help...MANILA2D-

how to edit the position of "hh_hm_colon.png" manila2d configuration file "HTCHOMESETTINGS.XML"

because when i installed manila with new skin file "hh_hm_colon.png" is slightly moved for its original position

if any other user know how to do this plz help...
[P3400 ROM Development] deathgame:
anybody have audio manager suspend fix??i tried registry fix posted in vanila manila thread..but not worked for me...
[P3400 ROM Development] pavanbaw:
Audio manager

From where all the things like Shuffle,repeat buttons Images are put on ryte place?

means there must be one file deciding the postion of each image in Audio manager..Where is that file located?
[P3400 ROM Development] vaibhav_batra_the_techguy:
its audio manager.exe itself
[P3400 ROM Development] pavanbaw:
THen how to edit that?

i wanna change position of some images ..
[P3400 ROM Development] krazy_about_technology:
The positioning i think is controlled by the exe itself. The skin however can be customized using the 3 skin files : mm_skin.xml, mmr_skin.xml and mp3trimmer.xml. These control the look of portrait, landscape and mp3trimmer screens respectively. But control over positioning is not possible as far as i know.
[P3400 ROM Development] saurabh88:
how to cook mortscripts?plz guide...
[P3400 ROM Development] Addicted2xda:
Its a really bad idea, trust me, because mortscript slows down your device significantly, resulting in slower speed as well as faster battery drainage (for the mortscript you are running in the background).
[P3400 ROM Development] saurabh88:
thanx buddy for advice...
[P3400 ROM Development] deathgame:
mortscript only affect systems performance if it runs in background..
[P3400 ROM Development] tendulkardr:
nbhextract not recognised by my dos prompt

do not know what is the problem

i cannot cook for gene

whenever you have time please help me

thanku in advance
[P3400 ROM Development] saurabh88:
how to add manilla in 6.5 ?i tried thousand times but failed...tried jade manilla from sumit manilla v3.1.1...plz help....
[P3400 ROM Development] ramersonw:
Are you installed .Net 2.0 and visual c++ redistributable? Both are required for tools work. You can find them in microsoft' website.
[P3400 ROM Development] ramersonw:
You have to disable titanium. Are you tried manila from MEGA packages? That package could works ok.
[P3400 ROM Development] tendulkardr:
loaded

visual basic C++ redistributable 2008- X86 9.0.21022

and .net 2.0

but still

C:\>nbhextract

'nbhextract' is not recognized as an internal or external command,

operable program or batch file.

this is shown in the command prompt

any solution
[P3400 ROM Development] saurabh88:
just use sumit visual kitchen...
[P3400 ROM Development] ramersonw:
Sure. It's more easy.

@tendulkardr: If you're running from 'C:\', nbhextract should be in this directory or you have to put the complete path before running it. Ex.: C:\'path of nbhextract'\nbhextract ruu_signed.nbh
[P3400 ROM Development] Addicted2xda:
But its always better if you CD to the folder where you have extracted the tools (e.g. C:\MOD_ROM, then, at C:\ Prompt type: )

CD MOD_ROM

and press enter.

Then Run nbhextract from C:\MOD_ROM
[P3400 ROM Development] pavanbaw:
SRS wow HD

hey...

i want SRS wow HD in Music folder of start menu

and i want to change the icon also....

please provide the registry value and .dat file with respect to this ...

thanx in advanced
[P3400 ROM Development] vaibhav_batra_the_techguy:
open notepad and write the full path of your exe (as it would b after flashing) there the save as yourapp.lnk

assuming u r using sumits platform builder kitchen

now copy this lnk file to your kitchen (files) and create a instalfiles (app.dat) entry for this lnk file to put it to multimedia folder and also make the entries in registry file...

the icon should be a 45*45 png file

TIP: Examine the the file strcture in EXT folder
[P3400 ROM Development] pavanbaw:
hELLO EvERyONE!!!

HI TO ALL

I HAVE SOME QUERIES.

HERE IS LIST

1.IS IT POSSIBLE TO CHANGE THE TEXT LIKE "NEW TEXT MESSAGE"

2.FROM WHERE TO CHANGE THE SCROLL BAR?ANYBODY HAS GOOD SHARP SCROLL BARS FILES?

THATS IT.

aNYBODY KNOWS ANYTHNG.... PLEASE HELP:D:D:D
[P3400 ROM Development] ramersonw:
You want to change the softkey label? If yes, install advanced config. It have options to change soft key labels. If I'm not wrong you'll find an option to change the size of bars too. Take a look.
[P3400 ROM Development] pavanbaw:
no...when new message arrives it displays "NEW TEXT MESSAGE"

is it possible change this to anything new?
[P3400 ROM Development] ramersonw:
I don't know. Maybe searching in the registry you'll find something. Or other way is to open tmail.exe or shell.exe in resource hacker and verify some forms for that text.
[P3400 ROM Development] pavanbaw:
windows wait !

where is windows wait cursor located..??/

any .dll file? of that...

Edited:and one more i want to assign the XDashutdown program on long press of power button...please give me the registry value if possible.
[P3400 ROM Development] krazy_about_technology:
That would not be a form buddy, its a standard windows notification, its like for example we call the MessageBox() api. I dont remember the exact function name to create this notification coz in .NET we have a control for that but the text that is displayed is really a parameter to that function, not like a static control on a form.
[P3400 ROM Development] krazy_about_technology:
The wait cursor is located in the file shellres.96.dll.0409.mui. Its located in BITMAP section at offsets 4896 to 4911. You can use resource hacker to do the job of changing. Just remember that you would need to un-sign the DLL first, change the bitmaps and then resign it with SDK certificates to make it work. There are tools available for it, Multi-File Signer and Unsigner, both available on XDA, just a search away. :)

The shutdown thing i dont know presently, i will look for it, although i don't think its a a really good idea. Need to study more to comment further.
[P3400 ROM Development] pavanbaw:
ooh...ya..thanxs a lot man.:):)
[P3400 ROM Development] karan999:
do we have a cab creator software available? i wish to create a cab of my custom oem files.please help.
[P3400 ROM Development] sid.nir:
while trying to execute pkgtools i get an error....

pkgtools doesn't execute properly...

is there a solution to this?

running WinXP SP2

EDIT: Is it because its a protected rom?

but that should just leave all folders in DUMP folder as is, without organizing into OEM and SYS right? (since packaging data was deleted?)
[P3400 ROM Development] sid.nir:
do you mean something like CabPack

???
[P3400 ROM Development] vraj19:
P3400 vibrating when i statred my htc p3400

my hct p3400

onbl 1.07.0000

spl 1.07.0000

gsm 02.79.90

os 1.7.0.0

can u help me

when i update my rom WM5.0 to WM6.1 @ the updating time my phone vibrating till full rom update after that when i try 2 reboot my phone its again vibrate nd still vibrating no screen apear

plzzzzzz help me how can i repair my htc p3400
[P3400 ROM Development] Akshay Aggarwal:
A problem!!!!!

sorry that i didn't even know this

but can u tell me how to navigate to MOD_ROM folder from command prompt

Thank you
[P3400 ROM Development] imamit89:
just type 'cd \'

then type 'cd MOD_ROM'

(without single quote )that's it....
[P3400 ROM Development] lamborg:
I have some questions, if someone can answer.

Can we use ANY base ROM or is it device specific. Pl give a brief info for getting/making a base ROM.

On what factors does the battery consumption depends (Radio version etc), what can we do while cooking a new ROM to get a better backup?

Thanks
[P3400 ROM Development] krazy_about_technology:
@lamborg: Well, you cannot use any phone's ROM as "base ROM" in its true sense. You can use the SYS from any rom (just exclude the .ROM, .VM and Metadata folders, these should be used from your stock rom), but OEM folders differ from phone to phone as they contains drivers and apps specific to that phone. While some of these can be ported to your phone doing some mindjob, you cannot use it as it is.

Creating a ROM which provides good battery backup depends on a lot of things. First, its the OEM/EXT folder. Using the "latest components" is not always the right thing to do. People mostly go by version numbers and try to use the latest available. While this is OK for applications, system components like Directshow, various HTC dlls etc, specially those which are closely tied to radio functionality are very very device specific and shouldn't be replaced. The last 6.1 ROM I made incorporates this to a good extent, and thats why it has good battery backup, if not best.

Secondly, It depends on WM build also. Some builds tend to use more power, like 21051 (WM 6.1). But this is usually resolved in the next build.

Plus, Radio can also affect battery performance and again, its not really a game of version numbers. A radio with higher version no can consume more battery compared to one with lower version no.
[P3400 ROM Development] lamborg:
Thanks for answering the previous questions.

I read the tutorial and tried it doing too but I no where came across as how to add/remove the applications which will be already installed when the ROM is flashed and also how to change the today screen from the base ROM, Titanium, M2D + default themes and all.

Any link for that? Did I missed something?
[P3400 ROM Development] tuxhero:
Waiting...

ramersonw thank alot for your turorials. we will be waiting for your 2nd part.

Please include xip porting too in you 2nd part of the tutorials.
[P3400 ROM Development] Addicted2xda:
If I am not wrong, then XIP porting is pretty advanced issue, so it should better be dealt with later. I tried asking a few of very senior members in the Vox forum and none had any idea :confused:
[P3400 ROM Development] Addicted2xda:
There is nothing to apologize :). We all have our professional life. Its really great that pple like you are still allotting time to guide us and give us new and better ROMs.
[P3400 ROM Development] jyot:
i am unable to use pkg_cp

help me

thnx

:)
[P3400 ROM Development] jyot:
sorry for 2 postsss

really sorry
[P3400 ROM Development] Addicted2xda:
Some stupid antivirus softwares like Symantec detects this file as threat and immediately deletes it. Disable the antivirus, unzip the tools.zip again and retry :)
[P3400 ROM Development] jyot:
bro

i dont hav any antivirus in my pc.....lol:D
[P3400 ROM Development] ramersonw:
Hi Jyot

If you can't use the pkg_cp don't worry. You can build your ROM without it.
[P3400 ROM Development] jyot:
thnx brother

i made my own rom

HOORAY
[P3400 ROM Development] Addicted2xda:
@ramersonw:

Thank you so much. You are a Genius :). And I mean it!

BTW: Can I use ankit360's 6.5 ROM as base to use with these tools, I tried once but the BASE_ROM folder is not orgainzed, it has lots of folders, any idea ?

Also I was using Cab to OEM Package creator v 5.4, sometimes its working (for small cabs), some times not (large cabs, say 5 MB - Like D2G), any ideas?

Thanks for your time and effort to write such a great tutorial for pple like us :)
[P3400 ROM Development] ramersonw:
Thanks addicted2xda. With these tutorials I hope that more and more ROMs appear to Gene in this forum.

About your problem with ankit360's 6.5 ROM. He is protecting his ROMs. You can't dump this kind of ROM for cooking(DSMs and RGUs was deleted). Ask ankit360 for an unprotected version.

The DSMs are necessary to pkgtool make packages and RGUs to Buildos make the windows registry.
[P3400 ROM Development] Addicted2xda:
Two more questions :)

1. When I am adding 00_Extrom.nb file to htcrt.exe, it is saying file size is less than default do you want to assign anyway, if I click yes, it is adding whether it should be padded by zero or not. What to Do?

2. How do I know if a ROM is protected ?

Thanks in advance

EDIT:

Sorry, another question - How do I change the name of the ROM? Mine still shows SumitsVMUltimate :D (though I have removed M2D ;)) but the amount of free space didn't change its still 44 MB :confused:- As you can see I made my first ROM thanks to you and krazy.

@krazy: Hope you don't mind ?
[P3400 ROM Development] krazy_about_technology:
Hey Shaunak,

Let me answer some of your queries on behalf of Ramerson to ease him out a bit :) :

Cab2OEM can only make packages from cabs that are made with the XML based setup system. There exist two ways for creating cab, the older one uses an inf file present in the cab as a file with .000 extension and the newer way which uses XML schema to describe the cab installation process. Cab2OEM works only with the new one. You can check for such cabs by opening them in an archive manager like Winzip or 7zip and look for a file _setup.xml. If its present you can turn it into package using Cab2OEM. If its not, you have to use Ervius' package creator tool.

Also, cab2oem creates an option.xml inside the package, which by default, disables compiling of that package in BuildOS. So either delete that file or edit it to include the package in BuildOS.

1. There is no problem with that as Ramerson has made the ExtROM as small as possible, the default for Gene is 10 MB, hence the warning. And no need to use the padding, answer no for that question.

2. You can know a rom is protected simply by trying to dump it using the ramerson kitchen executable. Create a new folder and put the exe and the nbh file in it. Start Exe, on the top, browse for the rom, select it and Click Dump. If it dumps into packages successfully, its ok. Otherwise its not :D

actually if the rom is protected, the process fails where the kitchen tries to use imgfsview.exe to analyze the imgfs.bin file. Most of the time you can dump the imgfs of a protected ROM but cannot make packages out of it, so its nothing more that s*it for u.

3. No i dont mind, my roms are under open license so you can use, modify or redistribute them in anyway you want, but with your full liability :D I wont stand responsible if you by chance do something unlawful, i guess u know what i mean ;) just kidding. Anyways, for the ROM name matter, in OEM\OEMVERSION folder, there is an provxml file in which you can change the ROM date and time of creation. use that, its pretty self explanatory.
[P3400 ROM Development] Addicted2xda:
Thanks a lot for resolving the queries :). One last part you missed though - even after deleting m2d,Connection Setup, Office from the ROM, the free space was still around 44 MB, can you please tell me why, or how can I use the freed up space as available storage.

BTW since I cooked up the ROM without screwing up my device, you and ramersonw will be bombarded with questions from me whenever I am in Kolkata ;).
[P3400 ROM Development] ankit360:
its protected my dear friend :D

but don't worry I m going to release kitchen very soon :)
[P3400 ROM Development] krazy_about_technology:
:) ya actually what happens is that the filesystem on the imgfs.bin is compressed, packages always take less space when cooked in ROM. Manilla itself uses only 6 MB of ROM space instead of the usual 12-13 MB when installed in phone memory. so you'll get less space when you remove packages. To know how much space a package Actually takes, put it on a NTFS partition on your system and look at the Size on Disk property in its property sheet. this will be the approx size it will take in ROM, or give you free if you remove it for that matter.

Actually a very funny thing happened with me because of this. I tried to make my VMultimate rom to something which i can use both Manilla as well as HTC HOme on. These two cant be used together as some of the files they copy in windows folder have same name, but different contents. So i removed the files of manilla from the ROM and kept only the essentials to run manilla in it and cooked it, so now it was without manilla, but ready for it, or HTC Home to be installed. I gave a full day to design a program in C# and .NET CE to automatically install and uninstall remaining manilla files into phone mem on click of a button. So you can have manilla anytime you want. And its working. But when i saw the actual amount of space freed on rom and compared it with the amount of space the remaining files were taking, i laughed on meself :D about 5.5 MB was freed and on copying it was taking about 11 MB :D SO i dropped the idea then.

so thats that. And keep your questions coming, its what for i come to the forum after all :D