[Kitchen]Nike WM6.5 Kitchen HTC Mega packages - Touch Dual, MDA Touch Plus ROM Development

Build is 23016
download and extract to a folder with no space maybe Nike_kitchen
Kitchen part 1 base
Kitchen part2 EXT folder and Extra Tools put inside kitchen folder if named Nike_kitchen just put this inside that folder
open Erviuskitchen.exe
press load ROM and choose nike then scroll down and set the keyboard you need and what languages
press Create ROM now wait
when finished just close Erviuskitchen.exe
now goto RELEASE_Nike folder and use the custom_ruu.exe to flash your new rom
In Extra_tools folder I have added some other apps found on XDA
EXT Package maker
Put you OEM package in the EXT Package maker folder then drag and drop it on the EXT_PAckages_rebuilder.exe and you should have a EXT package ready to put in you kitchen.
note that some oem packages you download are separated into 2 folders exsample PACKAGE_MEGA_Album and PACKAGE_MEGA_Album_0409
just drag the PACKAGE_MEGA_Album_0409 (language pack) onto EXT_PAckages_rebuilder.exe and it will a folder called 0409 inside PACKAGE_MEGA_Album
now just drag and drop PACKAGE_MEGA_Album onto EXT_PAckages_rebuilder.exe and you have a finished EXT package with language files inside.
The package will be named appname then followed by the build number of the app
CAB Converter by Jason8
How to use:
open CAB_Converter.exe brows for you cab
then choose cab -> OEM or cab->EXT wait for dosbox to close and you have a new OEM or EXT ready to use.
althought it a good app some cabs don't work
Have questions go here for suport
cabdump it is actualy Package Converter by Ervius
that is in most of the older kitchens and works with most all cabs
dubble click on cabConverter.CMD and follow the instructions in the dos box
you should now have a OEM in the same location as where the cab was located
some links most of them are from development and hacking
Get the newest wm6.5 build here and many other usefull tips
Get the newest wm6.1 build here
porting the newest XIP/SYS here
Change the name in the bootscreen and build date of the rom
Open Ervius kitchen and coose the XIP you are going to modify
now press Xipporterex & rom tool
press find date/Version on\ROM\XIP\
change rom date and rom version press change for bouth and you have a new name in bootscreen and rom is set to new date
Change rom info in settings/Device information
go to Nike_Kitchen\EXT\SHARED\Mods\my mods\files
open mxipupdate_OEMVERSION_100.provxml with notepad
Code:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\Software\OEM">
<parm name="ROMVersion" value="5.2.23016" datatype="string"/>
</characteristic>
<characteristic type="HKLM\Software\OEM">
<parm name="OperatorVersion" value="gullum" datatype="string"/>
</characteristic>
<characteristic type="HKLM\Software\OEM">
<parm name="ROMDate" value="20/08/09" datatype="string"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
change the info to what you want it to be

taking this one too

Why not just take this also

Here are the links of gullum's kitchen, with permission of gullum. (Thanks gullum)
Part 1
Part 2
Have fun

Cool I think I will try next week when I have some more time. Thanks again Gullum!

Hi Gullum...
thanks for sharing your kitchen... i will compare with mine because i dont know why my device does not boot when adding notifications or dialer with build 23016 or superior. With previous builds it boots perfectly.
Thanks again.
PS - by the way which build is your kitchen based: 23016 or 23017... in the post you have 230176

thyogo said:
Hi Gullum...
thanks for sharing your kitchen... i will compare with mine because i dont know why my device does not boot when adding notifications or dialer with build 23016 or superior. With previous builds it boots perfectly.
Thanks again.
PS - by the way which build is your kitchen based: 23016 or 23017... in the post you have 230176
Click to expand...
Click to collapse
sorry big finger or small keyboard it's 23016

Very good kitchen, thanks.

Last week I 've builded my first rom with it, works really easy and fast. Again great work.
One question though where can I remove the shortcuts (in startmenu) to packages/ windows components (like microsoft marketplace) I remove from the rom. Is that in the OEM folder?

Gr8 kitchen
Gr8 work gullum.congrats & thanks for sharing with us.
just wanted to know where,in which folder,do i keep other pkgs or prgrms made by pkg builder.
and how to change the sys boss?
hope u will respond!
again hats off to u for such nice work

Help
Help please
I can't find how to chnage languages and keyboard.
Can you help me?

Great Work
Thx alot for your great work
WELL DONE
Keep it up

Re do links
Can anyone redo the link on the first page as there no working
so i can downnload and start cooking....PLEASE PLEASE PLEASE and one more PLEASE.

Invalid or deleted file.... could someone reupload the files....
Thanks.

Yeah, same here.

Added links on post 4 with permission of gullum.

Thank you Rataplan, and of course, thanks to Gullum.

Related

Creating Own .cab files for settings etc...

Ive been messing about with my TyTN lately and just find it a right royal pain to put my settings back in etc...
...what im asking is is there any way to make a .cab installer that will let me reinstate all my GPRS/MMS/EMAIL settings etc... and copy a few files to the windows folders etc...(ringtones and sounds)???
Just in the event of needing to do a hard reset away from the PC a .cab installer on my SD card would be a godsend!
anyone?
yes, WINCAB CE is a 15 use free application that lets you create and view .cab files. If you search the forums there a numerus threads that contain registry keys for your setings etc
If you download the .cab files for your network provider again from the threads on this forum you can then import them into your own custom cab file using this software.
attached is a file that i use to set name, brightness levels, pIE homepage, and a couple of other tweaks, just edit this one and/or add your own. this should work on all WM2005 devices as it uses the same program language. hope this helps....
I spent the first 3 days after having my tytn making a cab of all my programs and settings cos I hard reset quite a lot, I made a big cab file with everything i like to install on internal storage and with all the settings of the programs I keep in the storage card. I think it is worth to spend the time initially.
What i found most useful was RegDiff to generate .reg files out of two exported registry dumps, registry workshop to browse / export the registry on the PocketPC from the computer and compare current regitry settings on PocketPC with a previously dumped registry file and WinCE Cab Manager to combine the cabs of all the programs I install, set the registry settings, and put shorcuts to all applications into the right places.
Forgive me for digging up an old thread, but this is exactly what I need, a tool that can make a backup of my MMS, GPRS and Email settings. I just got my X01HT yesterday and I've been playing around with different WM6 ROMs and it seriously is a pain to manually enter all my MMS, GPRS, and email settings for every ROM install I do. I also plan on doing the keyboard layout registry fix for the slide out keyboard, and I would but a lot easier to have that registry fix backed up.
pof posted how to do it with three seperate programs, I'm just wondering if there is a program that can do it all in one? I know it's been over six months since this thread was started and I'm just hoping that a simpler way has been made to do this. Any input and help on this matter is appreciated, thanks
Does anybody have the Wincab ce program that they can upload, it seems that the download site is having problems, I am unable to download from them and I can't seem to find it anywhere else, googled and it brings up very little.
Thanks
Lurch3559 said:
Does anybody have the Wincab ce program that they can upload, it seems that the download site is having problems, I am unable to download from them and I can't seem to find it anywhere else, googled and it brings up very little.
Thanks
Click to expand...
Click to collapse
Here is this great app at Megaupload
http://www.megaupload.com/?d=FHNS3KUA
Thank you for the site.
Thanks for posting it.
Can anybody direct me to a thread or WIKI to get more on this. I tried searching but returned nothing helpful. I just want to create a simple cab file with my operator settings.
Thanks
Lurch3559 said:
Does anybody have the Wincab ce program that they can upload, it seems that the download site is having problems, I am unable to download from them and I can't seem to find it anywhere else, googled and it brings up very little.
Thanks
Click to expand...
Click to collapse
Another alternative here:
http://teksoftco.com/index.php?section=airwizard
Sniper258 said:
Can anybody direct me to a thread or WIKI to get more on this. I tried searching but returned nothing helpful. I just want to create a simple cab file with my operator settings.
Thanks
Click to expand...
Click to collapse
I have posted this under http://forum.xda-developers.com/showthread.php?t=299023&page=14
I found this one usefull too: http://forum.xda-developers.com/showthread.php?t=295889
good luck!
what i did is google for wap-provisioningdoc gprs and got this
http://msdn2.microsoft.com/en-us/library/aa456052.aspx and around that area.
Further searches in the forum got me to look&browse in the other files already made; helped a lot in doing mine! credits to wpbear who lend me a hand!
It should get you to a xml file that can be tranformed into a cab.
A bit of warning: is a lot of trial&error and frustrations - took me about two weeks to make it from scratch. I am not specialist so a bit of luck is needed also. It is best to try on a fresh OS install or after a HR.
Hope it helps.
cheers,
dan
__________________
Thanks Dan for the info.
I'll look through it and repotr back.
Has anyone tried the airinstaller?
I saw this a while ago and dl the trial. You can only make one file in the trial and have not done it.
I will try it and post but just curious if anyone already has.
Hey Mr. Pof:
I used Registry Workshop 2.61 to export the following keys (for T-mobile US/Rogers Canada settings):
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Comm\RasBook\ROGERS GPRS] (and subkeys)
[HKEY_CURRENT_USER\Comm\RasBook\ROGERS MMS] (and subkeys)
[HKEY_CURRENT_USER\Comm\RasBook\T-mobile GPRS] (and subkeys)
[HKEY_LOCAL_MACHINE\Comm\ConnMgr\Destinations] (and subkeys)
[HKEY_LOCAL_MACHINE\Comm\ConnMgr\Planner] (and subkeys)
[HKEY_LOCAL_MACHINE\Comm\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\Connections] (and subkeys, since below this had the 3 names of GPRS/MMS/GPRS as listed above).
[HKEY_LOCAL_MACHINE\Software\Arcsoft\ArcSoft MMS UA\Config\mm1\MMSCSetting] (and subkeys)
Are there other registry keys that need to be exported via Registry Workshop regarding the settings for my 2 providers?
Assuming I have all the settings I need from the registry so that when I import them into a new ROM, the configuation is correct. How do I convert the .REG file from Registry Workshop 2.61 into some form that is or leads to a CAB?
Thanks.
pof said:
I spent the first 3 days after having my tytn making a cab of all my programs and settings cos I hard reset quite a lot, I made a big cab file with everything i like to install on internal storage and with all the settings of the programs I keep in the storage card. I think it is worth to spend the time initially.
What i found most useful was RegDiff to generate .reg files out of two exported registry dumps, registry workshop to browse / export the registry on the PocketPC from the computer and compare current regitry settings on PocketPC with a previously dumped registry file and WinCE Cab Manager to combine the cabs of all the programs I install, set the registry settings, and put shorcuts to all applications into the right places.
Click to expand...
Click to collapse
i found this tool was awesome .................................
crazyut said:
How do I convert the .REG file from Registry Workshop 2.61 into some form that is or leads to a CAB?
Click to expand...
Click to collapse
use wince cab manager.
pof said:
use wince cab manager.
Click to expand...
Click to collapse
this program does not run using vista period i tried
every setting i could such as run as admin and also run as XP nothing seemed to work. does anyone know a cab maker that will run with Vista?
Hi POF
When I click on File, Import, Import from REG, it says 'The Data Is Invalid' then 'The .REG file could not be imported'
I tried it with the Windows Registry Editor Version 5.00 line at the top of the .REG file and also without. Same results. I believe the files are saved in UTF-8 format.
The files contain numerous settings as one file instead of many separate files.
Any ideas, suggestions?
pof said:
use wince cab manager.
Click to expand...
Click to collapse
Okay, I was able to add other .CAB files and my registry edits. Do I need to fill out anything regarding provisioning in order to run the .CAB file on a new ROM?
I don't quite understand what provisioning is for (Pre XML/Post XML).
Thanks again.
pof said:
use wince cab manager.
Click to expand...
Click to collapse
This is how to create a CAB for your WIFI settings
Okay, so after fiddling about all day with various sample xml codes from MSDN, I was finally able to create a CAB to configure my WIFI connection to my home router (including WPA passkey), so that I can just run the CAB every time I flash / hard-reset.
STEP 1. Open Notepad and copy the code below to it
Code:
<wap-provisioningdoc>
<characteristic type="CM_WiFiEntries">
<characteristic type="[B]SSID: REPLACE_WITH_YOUR_SSID[/B]">
<parm name="DestID" value="[B]Destination GUID: SEE NOTE 1 BELOW[/B]"/>
</characteristic>
</characteristic>
<characteristic type="Wi-Fi">
<characteristic type="[B]CONNECTION TYPE: SEE NOTE 2 BELOW[/B]">
<characteristic type="[B]SSID: REPLACE_WITH_YOUR_SSID[/B]">
<parm name="DestId" value="[B]GUID: SEE NOTE 1 BELOW[/B]"/>
<parm name="Encryption" value="[B]SEE NOTE 3 BELOW[/B]"/>
<parm name="Authentication" value="[B]SEE NOTE 4 BELOW[/B]"/>
<parm name="NetworkKey" value="[B]REPLACE WITH YOUR NETWORK KEY, SEE NOTE 5[/B]"/>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
STEP 2. Replace the parameters in the sample code depending on the connection you want to configure:
SSID: Self-explanatory
Note 1
Destination GUID
For a connection to "The Internet", use this GUID
{436EF144-B4FB-4863-A041-8F905A62C572}
For a connection to "Work", use this GUID
{A1182988-0D73-439e-87AD-2A5B369F808B}
Note 2
Connection Type
"access-point" for infrastructure connection
"ad-hoc" for computer-to-computer
Note 3
Encryption
0 = WEP
1 = No encryption
4 = TKIP
Note 4
Authentication
0 = Open authentication mode
1 = Shared authentication mode
3 = Specifies Wi-Fi Protected Access (WPA) authentication
4 = Specifies WPA-PSK authentication
5 = Specifies WPA-NONE
Note 5
Network Key
Put your WPA or WEP network key here, just as you would enter in the settings screen. However, make sure that the key does not contain either the ",< or > characters, since this will screw up the XML code.
STEP 3. Save the Notepad file as .provxml.xml
Choose "ALL FILES" in the "SAVE AS TYPE" box and "UNICODE" in the "ENCODING" dialog box
STEP 4. Open a command-line window, go to the folder where you saved the xml file and type:
makecab /D COMPRESS=OFF .provxml.xml wifi.cab
STEP 5. Copy the CAB file to your device and run it. You should now see your Wifi connection under the settings Wi-Fi control Panel
You will have to manually check the "Hidden Network" box if your router is hiding the SSID (I have not figured out the parameter to do this automatically yet)
Voilá!
Note: If you use WEP, you need some additional lines of code to specify things like the KeyIndex. See these pages for more info:
http://msdn2.microsoft.com/en-us/library/aa455986.aspx
http://msdn2.microsoft.com/en-us/library/aa456208.aspx
By way of example, below is a sample code for an access-point connection connection to the internet, using WPA-PSK authentication.
Code:
<wap-provisioningdoc>
<characteristic type="CM_WiFiEntries">
<characteristic type="My_SSID">
<parm name="DestID" value="{436EF144-B4FB-4863-A041-8F905A62C572}"/>
</characteristic>
</characteristic>
<characteristic type="Wi-Fi">
<characteristic type="access-point">
<characteristic type="My_SSID">
<parm name="DestId" value="{436EF144-B4FB-4863-A041-8F905A62C572}"/>
<parm name="Encryption" value="4"/>
<parm name="Authentication" value="4"/>
<parm name="NetworkKey" value="My_Network_Key"/>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
I hope this works for you. Let me know if you have any problems / questions.

Editing Atom Life Pagepool - HowTo at post #8

After months of learning and digging deep inside the Atom Life, I think now it's time for a newer Rombuild.
Cooking the imgfs is not the problem, but I didn't understand the XIP from Atom Life.
We have 2 XIP parts, compressed in SRPX format.
Grabbing them is no problem with Scoter Kitchen Tool MSFLSHTOOL.exe.
The kitchen contains 2 tools to change from SRPX to XIP and reverse.
As I described in the Atom Life Kitchen thread, repacking the XIP.bin to SRPX causes a smaler file than the source file.
The cooked OS doesn't boot.
That's the first big problem.
The second one are the two XIP sections. The first one is bigger and contains some files, the second one didn't has.
But some files are existing in both sections with different sizes.
So cooking the Atom Life XIP seems more complicated than in other devices.
Here are the 2 XIP sections. Hope someone has an Idea, how we can work with these files:
http://rapidshare.com/files/79622471/LifeXIP.rar.html
Edit:
The first problem is solved. I have compared the original XIP part with the new one in a hexeditor.
I've simply hexedited the beginning and filled the end of the new file with FF to match the needed filesize.
After comparing both, now the new file is identical.
Maybe later, we can use the space of 300kb to encrease the memory of Atom Life .
I wonder, where all the ROM-Cookers for Atom Life devices are hidden.
Another positive aspect is, now we can change the Pagepool of the Atom Life.
After changing the PP from 8MB to 4 MB, my device has a total Program memory of 52.41 MB. After a fresh setup and some tweaking with SKTools, I have, after a softreset more than 29 MB free Programmemory.
I know someone who can handle these files,and he has cooked a 18538 rom for atom life,here is the link:http://www.pdaclan.com/forum-7-1.html, btw,can you tell how to change pageing pool of life?Thanks and sorry for my poor english,hope you can understand what i mean
qq108108108 said:
I know someone who can handle these files,and he has cooked a 18538 rom for atom life,here is the link:http://www.pdaclan.com/forum-7-1.html, btw,can you tell how to change pageing pool of life?Thanks and sorry for my poor english,hope you can understand what i mean
Click to expand...
Click to collapse
Thank you for the hint.
As I can see (or guess, because I can't chinese) there are some ROMs for Atom Life. Even some Pagepool changed.
You can change pagepool only, if you extraxt the XIP, edit it and cook the new ROM and flash it.
But if there are already some ROMs, there is no need to explain, just download the OS of your choise.
I wonder, why nobody of the Rom cooker offers his work for english speaking people ?
As I can't read chinese, please can you or someone else post download links to the Atom Life ROMs of this site ?
Thank you
I want to help you,First,you should log in,use account:qq108108 password:aaaaaaaa,when you log in,simply chick the post,you will see the download link, you would not miss it!I have a problem:when I use Atom Life Simplified Kitchen - Sdh, I got a wrong message:The output sign-buffer is to smal for encrypted signs.Encryption from Unicode (UTF-8) in dodgeposition System.Text.DecoderReplacementFalback." I wonder how to solve this problem and make my rom bootable,Have you have a MSN or something,maybe we can talk about how to make a bootable using the rom Kitchen !!
qq108108108 said:
I have a problem:when I use Atom Life Simplified Kitchen - Sdh, I got a wrong message:The output sign-buffer is to smal for encrypted signs.Encryption from Unicode (UTF-8) in dodgeposition System.Text.DecoderReplacementFalback."
Click to expand...
Click to collapse
Thank you for helping
That's the same problem, I have with my german XDA Comet ROM.
Unfortunatly I have no idea to fix it.
If I find further solutions, I 'll post it.
The Atom Life WWE ROM runns fine with the kitchen. So I'll use this ROM .
I will take o look at pdaclan. Maybe google translation gives me more informations.
Bye
So can you just tell me how to change the pp please?Thank you!!
Of course
Hope I can explain it that everybody can understand. Because it's hard for me to explain thinks in a foreign language.
1. You need an original Atom Life FLASH.dio
2. remove the 12 bytes header with a hexeditor and rename the file to AL1.dio (you don't need these step, if your file is already prepared for MiniSD card flashing. Only for original ROMs from official Updates)
3. download Scoter Romkitchen.
http://rapidshare.com/files/15460590/Scoter_Kitchen_1.0.exe.html
or http://www.megashare.com/107480
4. You need the SRPX tools from this kitchen.
5. put the ROM in the SRPX folder
6. in commandline change in SRPX folder and type:
Code:
msflshtool AL1.dio -d -p 1
7. You'll get a new file called AL1.dio.part1
8. Now type:
Code:
SRPX2XIP AL1.dio.part1 xip.bin
this will produce xip.bin
The SRPX compressed XIP will be changed in the regular XIP format.
9. Locate the following hexstring with an hexeditor:
Code:
FFFFFFFFFFFFFFFF9B4FFFFF64B00000
One line below, you will see:
Code:
00008000
That's the actual pagepool from 8 MB
10. change the value to:
Code:
00004000
or an other prefered pagepoolsize. Save the file first.
11. Now the tricky part, I don't know an easier way yet.
12. type:
Code:
XIP2SRPX xip.bin
You will get a new file called: xip.bin.xiporg
13. As you can see the new file is much smaller than the original one part1.
So you must fix it with the hexeditor. You must compare the original file with the new one.
14. the beginning of the new file should look like the original one, so you must edit the values in the new one till the word SRPX.
After I take a learning lesson by my "teacher" ferryboat, I found out that steps 15 - 17 are not neccessary !! Jump to 18.
(Will edit the howto, after further compare)
15. the old file is bigger and the end is filled with the value FF.
16. just copy the FF -block and paste it to the end of the new one. Save it.
17. Compare if the new file has the same size like the old one.
18. type
Code:
msflshtool AL1.dio -r xip.bin.xiporg -p 1
19. the new file will be written in the AL1.dio ROM image.
20. put the image to the MiniSD . Bring the Atom Life in bootloader-mode and flash it.
Done and ready
You can test several pagepool sizes.
CU
scorpio16v
Thank you!!!Now I have download the new 18538 rom,BUT the Programmemory only have 22MB free,So I need to do something to make it larger.Thanks for you great work!!If you need any help,just tell me!!!And pdaclan have a new rom kitchen for atom life too.
After reading your stuff,It seem that a little bit diffcult for me to understand,But since you explain so well,I think i can make it happen!!
qq108108108 said:
After reading your stuff,It seem that a little bit diffcult for me to understand,But since you explain so well,I think i can make it happen!!
Click to expand...
Click to collapse
You need only to copy and paste the quoted commands in commandline.
The whole procedure needs only about 10 minutest from editing the ROM till to the ready flashed device.
Even the hexeditor is included in Scoter Kitchen, so you have all tools that you need.
The hexeditor in Scoter Kitchen called XVI32. For editing, just open it twice and load the original SRPX.part1 in one and the edited in the other opened instance.
At the beginning of the file, you will see the difference. Only edit the values that are different, till the text "SRPX" (you'll see it).
To copy the "FF" block, just go to the end of the edited file, you'll see where the file ends.
At the original file, there is the beginning of the "FF" block.
Go to first "FF" value,
press CTRL+B , goto the last "FF" value, press CTRL+B again, you will see the block red marked.
Go to "copy to clipboard" button and push.
Now go to the end of the new file and press the "paste from clipboard" button and save.
Hope that some of the new ROMS, tools and knowledge from PDAClan find the way to XDA-Developers, because that'll be bring "life" in the Atom Life comunity.
Thank you for YOUR help.
I hope so,The one who made the 18538 atom life rom had ask you question before.If I meet him ,I will tell him to come here and teach both of us the method to port the xip!!
Done!!Thanks for your tutor!!
I don't understand what it's mean:"cut the 12 bytes header with a hexeditor and rename it to AL1.dio". Could you please explain it more? I'm a new with Atom Life. Thank so much Mr. scorpio16v.
nhathoa said:
I don't understand what it's mean:"cut the 12 bytes header with a hexeditor and rename it to AL1.dio". Could you please explain it more?
Click to expand...
Click to collapse
Sorry, but if you don't know what an hexeditor is and how you should use it and you even can't simply rename a file, it's not the right thing for you to do these job.
Sorry, I tried to make everything you told, rename Flash.dio to AL1.dio and put AL1.dio into SRPX tools folder, then run cmd with command: msflshtool AL1.dio -p 1. Final, it show: "the file is not msflsh50 format" ??? and there is no file "AL1.dio.part1" was generated in SRPX tool folder???
Maybe I don't undersatand "cut 12 bytes header"
nhathoa said:
Sorry, I tried to make everything you told, rename Flash.dio to AL1.dio and put AL1.dio into SRPX tools folder, then run cmd with command: msflshtool AL1.dio -p 1. Final, it show: "the file is not msflsh50 format" ??? and there is no file "AL1.dio.part1" was generated in SRPX tool folder???
Maybe I don't undersatand "cut 12 bytes header"
Click to expand...
Click to collapse
Just open the file with the hexeditor and cut the first 12 bytes to remove the header of the file. than save it.
For example:
XX XX XX XX XX XX XX XX XX XX XX XX E9 FD FF 00
You must delete the XX.
So the new file beginns now with E9.
Thats only an example, maybe your file looks different at the beginning, but you must cut the header.
(XX are only placeholder. You'll see other entries in Your file)
Okok just "remove" 12 bytes header, not "cut" 12 bytes header. Now I can do that. Thank you very much.
An idea: there is a simple tool to change papetool only for "Hermes". With this tool, just load Os.nbh and set 4/6/8/12 Mb, then you will get a new OS.nbh file with papepool you want. That's so easy... You will make a tool like that? I hope so, great man.
nhathoa said:
That's so easy... You will make a tool like that? I hope so, great man.
Click to expand...
Click to collapse
I'm not a programmer or IT expert. So someone other will do that.
I was told that the guy who made 18538 ROM would make a WWE 18538 rom for atom life.So you can just wait for the new rom.Also ,he told me that if we want to edit XIP part ,just need to edit the part1.

Diamond FileAttribute.exe

Change some ROM file attribute on Hard-reset
Here a file that I've found in the Diamond ROM.
AutoAttribute remove read-only file attribute after Hard reset to let users delete somes unecessary files cooked in ROM like image template or anything you want.
Caution : don't change attribute to all file, user can make catastrofic experiences.
For use it, just take the package in your OEM folder and add in your Config.txt :
Code:
EXEC:\Windows\AutoAttribute.exe \Windows\MASD_RemoveReadOnly.txt
Now just take a look in MASD_RemoveReadOnly.txt, you'll understand how it work :
example
Code:
\My Documents\UAContents\Templates\MMSTemplates????.inf
[COLOR=red]Here each "?" is a char[/COLOR]
\My Documents\UAContents\Templates\*.*
[COLOR=red]* is for varchar here it's any files of any extension how are in "My Documents\UAContents\Templates\"[/COLOR]
\Program Files\OrangePhoto\*
[COLOR=red]Here all files and folders how are in "Program Files\OrangePhoto"[/COLOR]
good cooking
xvx45 said:
Change some ROM file attribute on Hard-reset
Here a file that I've found in the Diamond ROM.
AutoAttribute remove read-only file attribute after Hard reset to let users delete somes unecessary files cooked in ROM like image template or anything you want.
Caution : don't change attribute to all file, user can make catastrofic experiences.
For use it, just take the package in your OEM folder and add in your Config.txt :
Code:
EXEC:\Windows\AutoAttribute.exe \Windows\MASD_RemoveReadOnly.txt
Now just take a look in MASD_RemoveReadOnly.txt, you'll understand how it work :
example
Code:
\My Documents\UAContents\Templates\MMSTemplates????.inf
[COLOR=red]Here each "?" is a char[/COLOR]
\My Documents\UAContents\Templates\*.*
[COLOR=red]* is for varchar here it's any files of any extension how are in "My Documents\UAContents\Templates\"[/COLOR]
\Program Files\OrangePhoto\*
[COLOR=red]Here all files and folders how are in "Program Files\OrangePhoto"[/COLOR]
good cooking
Click to expand...
Click to collapse
Good find! I'm currently working on ripping some new apps as well!
l3v5y said:
Good find! I'm currently working on ripping some new apps as well!
Click to expand...
Click to collapse
If you found working please share with coockers
Nope tried it.
If i run it in Autorun as the first EXEC: then Autorun doesn't parse the rest of the Autorun commands.
Now set it to last command in Autorun but it didn't change the atributes i could not delete the files using a mortscript then set in SDAutorun and Autorun and also Manually.
I'll recheck.
Also this file looks familiar to another similar named file i found in an ELF extrom once.
Nope running this in Autorun kills all Commands that come after it also in UC SDAutorun.
Anyone got this working?
The File was
ChgScutAttribute
http://forum.xda-developers.com/attachment.php?attachmentid=52827&d=1191352085
Change Shortcut Attributes
Supposedly should change Shortcut Atributes (duh)
But never found how and which Shortcuts?!
I just looked at it in Reshacker and it appears to have some dialog that indicate this.
Or does it really only change the startmenu shortcuts?
But this is out of my Cupcake reach Maybe someone else can find out how it works..
Also in the Diamond OEM eacht file mentioned in the MASD_RemoveReadOnly Is also accompanied by some Provisioning file operations.
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\SOFTWARE\HTC\AutoShortcut">
<parm name="|%csidl_mypictures%\album sample_*.jpg" value="RemoveReadOnly" datatype="string" translation="install"/>
<parm name="|%csidl_mypictures%\album sample_04.3gp" value="RemoveReadOnly" datatype="string" translation="install"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
Frick it i simply use a mortscript to change the atributes and then deletes itself at startup.
Same effect with Clean up.

[QUESTION] Cooking some 'non-functioning' ingredients....

I'm cooking a localised ROM (DUTCH) build 20931 (and in the future 20954).
I got ROM up and running quite smotely as i may say BUT....
2 problems I really do not understand:
1) I always used the same package "FInixNOverBattery". I didn't change a thing in the package but somehow it shows the original battery icon again...
2) Kinda the same thing happened with the enlarged system status. Ever since I used the baserom 1.95.502.5 it does not show anymore. I already checked registry and touchflo settings and it should be enabled. But I still get 'normal' popups when I hit volume/reception/etc and not the enlarged one which you have to choose again from
somebody got a sollution?
Thanx in advance....
Greetz Merten3000
merten3000 said:
I'm cooking a localised ROM (DUTCH) build 20931 (and in the future 20954).
I got ROM up and running quite smotely as i may say BUT....
2 problems I really do not understand:
1) I always used the same package "FInixNOverBattery". I didn't change a thing in the package but somehow it shows the original battery icon again...
2) Kinda the same thing happened with the enlarged system status. Ever since I used the baserom 1.95.502.5 it does not show anymore. I already checked registry and touchflo settings and it should be enabled. But I still get 'normal' popups when I hit volume/reception/etc and not the enlarged one which you have to choose again from
somebody got a sollution?
Thanx in advance....
Greetz Merten3000
Click to expand...
Click to collapse
1) FInixNOverBattery needs it's SDKCerts to work. Cook the registry settings and it will work. You may also want to remove the phcanoverbmp in your phone canvas.
2) Do you have the EnlargeStartMenu cooked? You also need one from the Blackstone build.
pfcsabre said:
1) FInixNOverBattery needs it's SDKCerts to work. Cook the registry settings and it will work. You may also want to remove the phcanoverbmp in your phone canvas.
2) Do you have the EnlargeStartMenu cooked? You also need one from the Blackstone build.
Click to expand...
Click to collapse
Thnx!! System Status is working. I had EnlargeStartmenu/EnlargedTitlebar cooked but after I replaced the enlargedTitlebar with another on it worked again!
For the battery icon package:
I got the following in the RGU:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\security\ResOver\Bitmaps]
"BatteryIconLevels"=dword:00000065
"BatteryIconIdStart"=dword:000003e9
"BaseDll"="phcanOverbmp.dll"
"BaseId"=dword:00000000
And I have a xml which is as follows
Code:
- <characteristic type="CertificateStore">
- <characteristic type="Privileged Execution Trust Authorities">
- <!--
SDK Failsafe Priv Root
-->
- <characteristic type="1c28a327d2dc579d241f2f83e98c1ef8ffbf1e82">
<parm name="EncodedCertificate" value="MIIEfzCCA2ugAwIBAgIQTQC040UA3pJF4GZVmWLkbzAJBgUrDgMCHQUAMIGQMYGNMIGKBgNVBAMegYIAVABFAFMAVAAgAFUAUwBFACAATwBOAEwAWQAgIBMARgBhAGkAbABzAGEAZgBlACAAQwBvAG4AZgBpAGcAdQByAGEAdABpAG8AbgAgAFIAbwBvAHQAIABmAG8AcgAgAFcAaQBuAGQAbwB3AHMAIABNAG8AYgBpAGwAZQAgAFMARABLMB4XDTA0MTEwODIzMDA1M1oXDTA5MTIzMTA4MDAwMFowgZAxgY0wgYoGA1UEAx6BggBUAEUAUwBUACAAVQBTAEUAIABPAE4ATABZACAgEwBGAGEAaQBsAHMAYQBmAGUAIABDAG8AbgBmAGkAZwB1AHIAYQB0AGkAbwBuACAAUgBvAG8AdAAgAGYAbwByACAAVwBpAG4AZABvAHcAcwAgAE0AbwBiAGkAbABlACAAUwBEAEswggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDK+lwE9mOuPjhBCmbgkKTm/bqW8st0EJuYle3wLRfZKQ8jr2oU5dxg1CAZhThXdZZLFFIHwf8KvaQDRsx4OcMEd8CZF1tKAMu+ye3irsEhzwK8qkHaWM2SMSI8YyuuClOZMBzQOAe2Z9niKyuwzNmZ24EjjxLMsAJ3H/rFAVTIVLALxf34vV4855vXczdeBr6pv1MCXi0gWXnBrFt74R8DWEZGtrj80nrFX3EpBlgVm94k8dig61S5C+nWh9+F3pCpSYWE8yc0AVyCAWtowDa7Sg4Q292ZwTC2cMRWk025LAyemegRAOPN3TaqwhW9y14zmOhK0JGpZq7rJIhA88dJAgMBAAGjgdowgdcwDQYDVR0KBAYwBAMCB4AwgcUGA1UdAQSBvTCBuoAQyMFxH213dj3Lcp1n/thJrKGBkzCBkDGBjTCBigYDVQQDHoGCAFQARQBTAFQAIABVAFMARQAgAE8ATgBMAFkAICATAEYAYQBpAGwAcwBhAGYAZQAgAEMAbwBuAGYAaQBnAHUAcgBhAHQAaQBvAG4AIABSAG8AbwB0ACAAZgBvAHIAIABXAGkAbgBkAG8AdwBzACAATQBvAGIAaQBsAGUAIABTAEQAS4IQTQC040UA3pJF4GZVmWLkbzAJBgUrDgMCHQUAA4IBAQCzbN5MZGnx4QR1Mnr0AEI9DYtBtVGserpgj8nK9jVykSz8eIIt9Fc2txieAGh7pZA9X8yoRlzO50AKSrxxHB2Rnd/PbUEMtmHNNFYj0uP2LgdYLXed8NNzW4VV6DjQ6HdDfqLA2Drp7QniYw6TMIxAqttTyETxl0LP5mAwRxk3pAyJ1Bbtim1SlDJSWe1AxkXnOt1nEzju6Z37Cnfba06Xtco1KiaB8Lku0dVUrVeA+RiiKaa/dJZOWjwOmgBjKIHb39qU9F2PumCH4Pd/IVWRUvzgVd4cLb2r8lJ3jXnuGs9dKSFnmoAYoRRcxLmxupOaU5peY5GMa6K/BAJoRt4h" />
</characteristic>
- <!--
SDK Priv App Root
-->
- <characteristic type="d4fb8924cfba6c9c67360e7d6512ffde99d2d283">
<parm name="EncodedCertificate" value="MIIDoDCCAoygAwIBAgIQ8gy25VyTNaxKTY+BkIAXsTAJBgUrDgMCHQUAMEgxRjBEBgNVBAMTPVRFU1QgVVNFIE9OTFkgLSBTYW1wbGUgUHJpdmlsZWdlZCBSb290IGZvciBXaW5kb3dzIE1vYmlsZSBTREswHhcNMDQxMTA1MDAwNjQyWhcNMDkxMjMxMDgwMDAwWjBIMUYwRAYDVQQDEz1URVNUIFVTRSBPTkxZIC0gU2FtcGxlIFByaXZpbGVnZWQgUm9vdCBmb3IgV2luZG93cyBNb2JpbGUgU0RLMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyTRPgw3DBwztRltEsMwPObJRI/NMwcz/7f01HluHpQx+LcqR10dLZvwOX3UGprOZeobSRYk99Oa0xiFuXXVf+XAoEycdb1hjuFO/L7o2e/xfqX6FLBCVtl79ekXUbj+wyEKZZBBfsFUoQfQj0Qg7seSpD+YWjQJ7cLrMLyMNZHrBYEX/J8+qPR5PCT7zO0qlfmOjvyBCdb1x3FxCZZrSVN1TJDdm2+6gUDEf99nZHE/15A1uOwWWRb16+Mn2Bk8gven8lflQ1occ+/AXhTfjKqNxApf8MPESjkcf5+RKZLlnYx0sgTmR7Oz7ZPO4ox7igzaPJ63QfhlufNhMeG2pxQIDAQABo4GNMIGKMA0GA1UdCgQGMAQDAgeAMHkGA1UdAQRyMHCAEFXN9dXzTpRiYNFtrL4y+5ihSjBIMUYwRAYDVQQDEz1URVNUIFVTRSBPTkxZIC0gU2FtcGxlIFByaXZpbGVnZWQgUm9vdCBmb3IgV2luZG93cyBNb2JpbGUgU0RLghDyDLblXJM1rEpNj4GQgBexMAkGBSsOAwIdBQADggEBAC53q9xWAdlbyIQsAJK5OrMqMme1cA3EH+AzYY/E0S7BK8sWc5rRSotOcjIQP+uK7pMTvBzCphopqJuF5N2RJ8ZDm6DkIHH4gWtmCIKYgLYUKIojFeNcHucWCrhsU6qLb/eOjg2/MnGPxaswmvzlrKtsyDtmUecB/P7Fx2Ka9+F8wqjA6YeUnX0/QxZsWyHkrwKmOsO2H/20FS2MzM4fZIyUOr6eMavjg3DX70JWJLg0CkQD8jnHxieShdOF2oeGhbzoBjQ3H4C2st/UgAh/QN13+pWBAeO1dmvd+rzeLgI1v6TPNyam3ndKJftTAP1fxNFfDfNxG6WzmCP7vA0SULE=" />
</characteristic>
</characteristic>
</characteristic>
- <!--
Microsoft Visual Studio Signing Authority
-->
- <characteristic type="CertificateStore">
- <characteristic type="Privileged Execution Trust Authorities">
- <characteristic type="884B8CDDB6FF1A3D2FF4BC09EC45E2AE2CCB244C">
<parm name="EncodedCertificate" value="MIIEjTCCA/agAwIBAgIQuCykvf6s9KVL7HIysc7nszANBgkqhkiG9w0BAQQFADCBuTELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEiMCAGA1UECxMZVmlzdWFsIFN0dWRpbyBmb3IgRGV2aWNlczE/MD0GA1UEAxM2TWljcm9zb2Z0IFZpc3VhbCBTdHVkaW8gSW50ZXJtZWRpYXRlIFNpZ25pbmcgQXV0aG9yaXR5MB4XDTA0MTAxMTIyNTIwMFoXDTM5MTIzMTIzNTk1OVowgawxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xIjAgBgNVBAsTGVZpc3VhbCBTdHVkaW8gZm9yIERldmljZXMxMjAwBgNVBAMTKU1pY3Jvc29mdCBWaXN1YWwgU3R1ZGlvIFNpZ25pbmcgQXV0aG9yaXR5MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDjXYPMN5De4mQVThwxT1uNZRsH53LFfgMuJJEUDs3igYwd+hj0O+q+yM6WwC/BEa/eTvN0yXdWBa9/VFYQ3lqbcMTMF/vPTWqBzY/aOhq2hHE5ikqsT3yIUKB42QTpKT8yoprbOOkdJ097bDqJEa6jsikrZlkQfXTYasSFo6gf6QIDAQABo4IBnzCCAZswDQYDVR0KBAYwBAMCBkAwewYDVQQDBHQecgBNAGkAYwByAG8AcwBvAGYAdAAgAFYAaQBzAHUAYQBsACAAUwB0AHUAZABpAG8AIABQAHIAaQB2AGkAbABlAGQAZwBlAGQAIABFAHgAZQBjAHUAdABpAG8AbgAgAEMAZQByAHQAaQBmAGkAYwBhAHQAZTAkBgNVHSUEHTAbBgEBBgEDBgEGBgEBBgEFBgEFBgEHBgEDBgEDMIHmBgNVHQEEgd4wgduAEMTFNerp58rQqJZku7LMpYOhgbQwgbExCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xIjAgBgNVBAsTGVZpc3VhbCBTdHVkaW8gZm9yIERldmljZXMxNzA1BgNVBAMTLk1pY3Jvc29mdCBWaXN1YWwgU3R1ZGlvIFJvb3QgU2lnbmluZyBBdXRob3JpdHmCEGNH1pJnhsmsTfxzVt0hidcwDQYJKoZIhvcNAQEEBQADgYEATRX+ejR5NxLpQpOVHpguVt8xFS/DcbHZ/tptmYdZ3YNydWEsTWP7JI84c87vxzCB02fcQNOMaBwwlIuLQyz8vBITRpLlHVaF4SggjkjQNCnDNskI1iKV3C6tjBmRPblfMhXQWjiIigUzPnyavTc3k0bT3WwdI0l/NNJeyN0VxaQ=" />
</characteristic>
</characteristic>
</characteristic>
- <!--
=================================================================
The above code is not complete because of board limititations but it shows certs are installed I guess...
Any more suggestions? Or do you gave a working package?
Thanks again for your help!!
merten3000 said:
Thnx!! System Status is working. I had EnlargeStartmenu/EnlargedTitlebar cooked but after I replaced the enlargedTitlebar with another on it worked again!
For the battery icon package:
I got the following in the RGU:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\security\ResOver\Bitmaps]
"BatteryIconLevels"=dword:00000065
"BatteryIconIdStart"=dword:000003e9
"BaseDll"="phcanOverbmp.dll"
"BaseId"=dword:00000000
And I have a xml which is as follows
The above code is not complete because of board limititations but it shows certs are installed I guess...
Any more suggestions? Or do you gave a working package?
Thanks again for your help!!
Click to expand...
Click to collapse
Just cook it with the rest. Add the registry to any .rgu file and the xml to any .provxml file. Do not create one as for some reason the .provxml will not be executed. Validate your .provxml file afterwards (open it in IE or FF-- sohuld show a valid xml).
pfcsabre said:
Just cook it with the rest. Add the registry to any .rgu file and the xml to any .provxml file. Do not create one as for some reason the .provxml will not be executed. Validate your .provxml file afterwards (open it in IE or FF-- sohuld show a valid xml).
Click to expand...
Click to collapse
Damn did it all but no luck....still the same old battery indicator
merten3000 said:
Damn did it all but no luck....still the same old battery indicator
Click to expand...
Click to collapse
try putting it in mxipupdate_oemoperators_100.provxml at the very beginning.. not at the end
just an fyi, you dont need certs for stuff that's cooked in, ROM files are automagically trusted.. so look elsewhere for the issue with this loading.
Da_G said:
just an fyi, you dont need certs for stuff that's cooked in, ROM files are automagically trusted.. so look elsewhere for the issue with this loading.
Click to expand...
Click to collapse
I don't know that well he may have duplicate phcanoverbmp and BuildOS is overwritting it Merten, try renaming your battery icon to another dll and point
[HKEY_LOCAL_MACHINE\security\ResOver\Bitmaps]
"BaseDll"="<name of your dll>"
Da_G said:
just an fyi, you dont need certs for stuff that's cooked in, ROM files are automagically trusted.. so look elsewhere for the issue with this loading.
Click to expand...
Click to collapse
You have been a great help....I appreciate it!!
Keep up the good work!
Glad to see You back and testing...
If You are in need of a beta tester, I'll be available once more
(but not before Monday afternoon, can't have the gf unhappy )

[Question] Cooking a personal Rom

Is it possible for me to cook a personal ROM? I have tried alot of ROMs here but ever since HTC's new official ROM was out (asia) , I find it really good for me. One thing i hate from the ROM compared to cooked roms are that everything is disorganised. Everything is in 1 program file. In cooked Roms, the chefs have already taken the liberty to assign each app to their appropriate folders (apps,connection,multimedia, etc)
I would like to do the same , however it takes alot of time for me to do so but I can manage that. What i really want to do is, after organising the apps to their respected folders, and installing all of my needed softwares on the phone, how do i make a complete backup of the ROM, and then save it on my computer perhaps. So then i could flash my phone with the backup ROM and the next time i were to flash my phone, everything would be there (my apps, my organised folder).
Will it be possible (i'm sure it's possible, i just need the right software / app to do it)
You're going to need a Kitchen to cook your own ROM; assuming you have a Raphael device, have a look at this thread:
Useful Links Thread
http://forum.xda-developers.com/showthread.php?t=439783
Many folks use Da_G's Kitchen ... but there are other great Chefs that have made their Kitchens avalaible.
HTH,
Thank you for the link hilaireg. It's very helpful.
After reading the available tutorials, i have a question. Most of the kitchens are using pre-existing ROMS.
I would like to use a new official HTC ROM to start with. "-HTC Touch Pro-MRII-RUU_Raphael_hTC_Asia_WWE_5.07.707.2_Radio_Signed_Raphael_52.58.25.30_1.11.25.01_Ship"
I noticed that all the tutorial require a .nb file which they say comes in the package. However, when i extracted the .exe file , a few files were extracted alongside a .nbh file. But there is no .nb file. What do i do?
arvin2212 said:
Thank you for the link hilaireg. It's very helpful.
After reading the available tutorials, i have a question. Most of the kitchens are using pre-existing ROMS.
I would like to use a new official HTC ROM to start with. "-HTC Touch Pro-MRII-RUU_Raphael_hTC_Asia_WWE_5.07.707.2_Radio_Signed_Raphael_52.58.25.30_1.11.25.01_Ship"
I noticed that all the tutorial require a .nb file which they say comes in the package. However, when i extracted the .exe file , a few files were extracted alongside a .nbh file. But there is no .nb file. What do i do?
Click to expand...
Click to collapse
You need to have NBHextract Tool it will be in include in kitchen...me too trying to cook on same build with no results. It's no easy try try that's it...
krish_nank, Is this your first time building a ROM?
If so, we're on the same boat...
I tried using NBHextract Tool but when i run the .exe a pop up cmd window comes out and then dissappears. I added the program manually in cmd, and here is what it says , but it doesn't do anything although i have place my .nbh file in the same folder with it.
"
C:\Users\xda>C:\Users\xda\NBHextract.exe
=== NBHextract v1.0
=== Extract contents from HTC NBH files
=== (c)2007 xda-developers.com
=== by: pof & TheBlasphemer based on itsme perl scripts
Usage: C:\Users\xda\NBHextract.exe <nbh file> [-v]
C:\Users\xda>
"
arvin2212 said:
organising the apps to their respected folders, and installing all of my needed softwares on the phone
Click to expand...
Click to collapse
If you just want to organize your existing app then all you have to do is go to this folder,
\\\Windows\Start Menu
This folder has all the icons for the programs. So now you can arrange/ rearrange icons, create folder and move the links to the respective folders as you see fit. Total Commander can be used for this.
If you want a way to install apps after installing a new ROM, you can use UC you can read about it here
http://forum.xda-developers.com/showthread.php?t=366337
But if you just want to build custom ROM then the easiest kitchen is Da G's. If you want a fully loaded kitchen try At0mAng - Advance Kitchen - V2
nnkumar73 said:
If you just want to organize your existing app then all you have to do is go to this folder,
\\\Windows\Start Menu
This folder has all the icons for the programs. So now you can arrange/ rearrange icons, create folder and move the links to the respective folders as you see fit. Total Commander can be used for this.
If you want a way to install apps after installing a new ROM, you can use UC you can read about it here
http://forum.xda-developers.com/showthread.php?t=366337
But if you just want to build custom ROM then the easiest kitchen is Da G's. If you want a fully loaded kitchen try At0mAng - Advance Kitchen - V2
Click to expand...
Click to collapse
Both Da_g's & AtomAng kitchen or based on some OS build we ...we want to dump a ROM & Rebuild it on our own way we want.......
krish_nank said:
Both Da_g's & AtomAng kitchen or based on some OS build we ...we want to dump a ROM & Rebuild it on our own way we want.......
Click to expand...
Click to collapse
okay, my bad. Then I am sure you have seen the ROM reconstruct thread. Hope that thread helps you.
Have a look at the first three posts in the following thread:
[TUT] Sous-Chef's Guide to Da_G's Simple Kitchen
http://forum.xda-developers.com/showthread.php?t=490787
Essentially, once you unpack the "-HTC Touch Pro-MRII-RUU_Raphael_hTC_Asia_WWE_5.07.707.2_Radio_Signed_R aphael_52.58.25.30_1.11.25.01_Ship" executable, you run a script that performs the actions required to prepare the NBH file for custom cooking.
That should get you started.
HTH,
krish_nank said:
Both Da_g's & AtomAng kitchen or based on some OS build we ...we want to dump a ROM & Rebuild it on our own way we want.......
Click to expand...
Click to collapse
With my kitchen do this...
Backup the OEM and SYS folder...
If you have the NBH file already place it in the BaseROM folder
If you do not have the NBH file then run the EXE downloaded from HTC, let it go all the way to the first install screen and dont do anything yet, go to your temp folder on the computer, dig around the folders if there are many, you will see ruu_signed.NBH, copy and paste into the BaseROM folder of kitchen.
Once NBH is in the baserom folder start my kitchen
Select 2, 1, 1 and let it do its thing
When extraction is completed and you are back at main menu select option 8, move dumped OEM/SYS from Temp
When that is done select option 6 Copy Extracted ROM XIP from Temp
When that is done your new dumped ROM is ready to be built.
Delete or do not select any duplicate packages
Clean out the new OEM/SYS folders. There is a lot of junk in there that can be removed, welcome folder, do a search in the OEM/SYS folders for *.3gp and remove the welcome movie and blah blah blah...
If you take the time to look at the folder structure of the OEM and SYS folder you should be able to figure it out pretty quickly.
If you need further help you may ask in my kitchen thread.
Hope this is a start for you guys...
nnkumar73, Thank you for your suggestion but i already known about manually doing it from the start menu folder. However it's not practical as , i would have to do it everytime i reflash my phone. If there is a new rom available, and i were to try it and somehow wanted to go back with my older ROM, i would have to do all the moving etc all again.
hilaireg once again, thank you for the link..
At0mAng, Thank you very much as well. I will follow your steps and see how it goes. I appreciate your effort of posting the right steps for it. Thank you.
DELETED.......................
Just an addition to previous posts
arvin2212 said:
C:\Users\xda>C:\Users\xda\NBHextract.exe
Click to expand...
Click to collapse
I can see u missed out the command : nbhextract ruu_signed.nbh
arvin2212 said:
3.If you do not have the NBH file then run the EXE downloaded from HTC, let it go all the way to the first install screen and dont do anything yet, go to your temp folder on the computer, dig around the folders if there are many, you will see ruu_signed.NBH, copy and paste into the BaseROM folder of kitchen.
Click to expand...
Click to collapse
The easiest way is to use any packer apps like winrar. u can extract the nbh directly. if u r using total commander will be a lot easier. just press ctrl+pg dn & u can extract the file instantly.
Thanks to everyone's help especially At0mAng,
I finally extracted the ROM. I can see aloto of files in SYS and OEM folder.
What i would like to know now is, how do i create folders (icons are not neccessary for the folders) so that i can group installed apps in them according to category? Example is, A multimedia, navigation and games folder is created and , my apps are stored in the folders according to their functions. Like GPS tool goes into navigation and so on..
To simply copy files from \Windows to another directory, you can use an initflashfiles.txt in the OEM. Syntax is:
Directory("\Windows\Start Menu\Programs\Tools"):-File("Enable Proxy.lnk","\Windows\Enable Proxy.lnk")
If you are trying to just place Start Menu items in different folders, it's a bit more complicated. There are many places that this can happen.
1) In \OEM\OEM_Lang_0409\initflashfiles.dat
You can edit this file in Notepad if you remove the ReadOnly bit in Windows. Once you've edited it in Notepad and saved it, you need to re-open it in a Hex editor and delete the first 2 bytes "ff fe". Once you delete those first 2 bytes, save the file and reset the ReadOnly flag. In this file is where I define the Folders I want to use in my "Start Menu" folder like this:
; Start Menu contents
Directory("\Windows\Start Menu")ermDir("Programs")
Directory("\Windows\Start Menu")ermDir("Settings")
Directory("\Windows\Start Menu\Programs"):-Directory("Games")
Directory("\Windows\Start Menu\Programs"):-Directory("Navigation")
Directory("\Windows\Start Menu\Programs"):-Directory("Internet")
Directory("\Windows\Start Menu\Programs"):-Directory("Multimedia")
Directory("\Windows\Start Menu\Programs"):-Directory("Office")
Directory("\Windows\Start Menu\Programs"):-Directory("Phone")
Directory("\Windows\Start Menu\Programs"):-Directory("Tweaks")
Directory("\Windows\Start Menu\Programs"):-Directory("Tools")​2) *.provxml files
You need to edit these files with a unicode editor. Personally I use EmEditor. You'll notice that in mose packages in \OEM and \SYS there is a _Lang_0409 dir that goes along with it. It's "usually" in this folder where you'll see a *.provxml file. If you open these in EmEditor you'll see that there are lots of file operations. You want to seach or the line containing the *.lnk. In that line you can set the patch of where you'd like the icon installed.
There may be other places that this happens as well, but that's just off the top of my head.
Good Luck!
-e
eras2r said:
To simply copy files from \Windows to another directory, you can use an initflashfiles.txt in the OEM. Syntax is:
Directory("\Windows\Start Menu\Programs\Tools"):-File("Enable Proxy.lnk","\Windows\Enable Proxy.lnk")
If you are trying to just place Start Menu items in different folders, it's a bit more complicated. There are many places that this can happen.
1) In \OEM\OEM_Lang_0409\initflashfiles.dat
You can edit this file in Notepad if you remove the ReadOnly bit in Windows. Once you've edited it in Notepad and saved it, you need to re-open it in a Hex editor and delete the first 2 bytes "ff fe". Once you delete those first 2 bytes, save the file and reset the ReadOnly flag. In this file is where I define the Folders I want to use in my "Start Menu" folder like this:
; Start Menu contents
Directory("\Windows\Start Menu")ermDir("Programs")
Directory("\Windows\Start Menu")ermDir("Settings")
Directory("\Windows\Start Menu\Programs"):-Directory("Games")
Directory("\Windows\Start Menu\Programs"):-Directory("Navigation")
Directory("\Windows\Start Menu\Programs"):-Directory("Internet")
Directory("\Windows\Start Menu\Programs"):-Directory("Multimedia")
Directory("\Windows\Start Menu\Programs"):-Directory("Office")
Directory("\Windows\Start Menu\Programs"):-Directory("Phone")
Directory("\Windows\Start Menu\Programs"):-Directory("Tweaks")
Directory("\Windows\Start Menu\Programs"):-Directory("Tools")​2) *.provxml files
You need to edit these files with a unicode editor. Personally I use EmEditor. You'll notice that in mose packages in \OEM and \SYS there is a _Lang_0409 dir that goes along with it. It's "usually" in this folder where you'll see a *.provxml file. If you open these in EmEditor you'll see that there are lots of file operations. You want to seach or the line containing the *.lnk. In that line you can set the patch of where you'd like the icon installed.
There may be other places that this happens as well, but that's just off the top of my head.
Good Luck!
-e
Click to expand...
Click to collapse
Somehow, i am not able to find this file , initflashfiles.dat in my OEM_Lang_0409 folder. :?
Do you have Windows Explorer setup to view all system/hidden files? (Tools->Folder Options-->View)
If using a kitchen that supports it (mine does for sure) you can create a new, blank text file in a package folder, initflashfiles.txt
it uses the same format eras2r posted above, but gets appended to initflashfiles.dat during the cooking process
in this manner you can have initflashfiles.dat changed on a per-package basis, it's also easier because you don't have to worry about the first 2 bytes etc.
e.g. \Packages\beer\initflashfiles.txt
When cooking rom check box next to package "beer"
now the contents of \Packages\beer\initflashfiles.txt get appended to initflashfiles.dat automatically during cooking, don't get applied if box is not checked
similarly this initflashfiles.txt can go in any folder in \OEM and \SYS as well
eras2r, yes , it has already been configured to show hidden files & folders
Da_G, i get what you mean, roughly. What you're saying basically is that i can manually create a txt file for initflashfiles and leave it in the packages folder?
Also i am not sure about the syntax that eras2r posted. I find it alittle well above my level of knowledge. Maybe someone can guide / explain to me regarding this?
Right right, an initflashfiles.txt can go in any subfolder under \OEM \SYS or \Packages
You can create the file with notepad, no need to worry about removing things with a hex editor or otherwise using anything other than notepad.
The syntax is as follows:
using this example to create a directory:
Code:
Directory("\Windows\Start Menu\Programs"):-Directory("Tools")
Directory("\Path\to\create\directory\in\goes\here"):-Directory("Name_Of_Directory_To_create_in_path") - essentially you're saying "Switch to the folder named \Path\to\create\directory\in\goes\here and create a new folder named Name_Of_Directory_To_create_in_path inside of it.
similar syntax to copy a file from one directory to another:
Code:
Directory("\Windows\Start Menu\Programs\Tools\"):-File("Fieldtest.lnk","\Windows\Fieldtest.lnk")
Directory("\Path\to\copy\file\in\goes\here"):-File("destination_file_name.ext","\source\path\to\filename.ext") - here you're saying "navigate to \Path\to\copy\file\in\goes\here, copy file from source \source\path\to\filename.ext, rename it to destination_file_name.ext when copying (you can use the same filename here if you don't want it renamed, renaming is useful for files that might be indexed by windows media player, or the windows help system, etc.
That should clear it up a bit, let me know if it doesnt

Categories

Resources