I made a kitchen for the Herald that creates ROMs in both XPR and LZX compressions and I was wondering if you guys wanted it ported to your phones?
If you want it, I need a few things. This ROM is compatible with Bepe's Extended ROM kitchen. It won't come with OEM, ROM or XIP folders as you can get those yourselves.
The way the kitchen work is:
Run "RunMe.bat"
Choose compression algorithm. (XPR or LZX)
Follow the normal Bepe's kitchen process.
Wait as the kitchen creates the ROM (like Bepe's kitchen, but with whatever compression you chose.)
The kitchen will automatically open up the imgfs.bin in a hex editor and automatically adjust it for the wanted compression before it builds the ROM.
It automatically inserts the proper XIP drivers.
It will automatically set the Pagepool to 4MB but give you the option to change it to something else as it does.
It then automatically creates the NBH and then finally launches whatever flasher (CustomerRUU, FlashCenter, or whatever your devices use) to flash the ROM.
For those who don't know what LZX compression is:
It's a compression algorithm that, although slower (by 1-4% in real life use) gives a good amount of free storage space. In some case (like in the Herald) it makes the ROM so small that it has to be flashed through an SD card due to the Herald's flashing size requirements. On an average 50mb ROM, it takes off about 10mb. The actual cooking itself does take a LOT more CPU and RAM to do in your PC, though. Especially the RAM. (It's because the tools that actually do the compression weren't really optimized for the job.)
Anyhow, let me know if you want it.
I would like to view it
thanks
Oh yeah I would really love to try it!
Oh great , i would really like and need it to cook WM 6.5 rom , please tell us what you need .
I need to know the following:
What RUU/FlashCenter/Whatever you guys use and a link to it.
What the name of your NBH has to be when flashing through SD card (just an added bonus, not really needed.)
I need to understand what the hex editing is for in this thread.
I need a cook to volunteer a working ROM's kitchen files.
Lastely, I need two beta testers to test said ROM built in my kitchen. They'll be testing both the algorithms by testing two ROMs and reporting back to me.
EDIT: A few minutes later and I've modified the kitchen. I just need the info that I asked for above to finish it.
ivanmmj said:
I need to know the following:
What RUU/FlashCenter/Whatever you guys use and a link to it.
Click to expand...
Click to collapse
ROMUpdateUtility.exe, in the forum you can find it. I will search for it, but if you download any radio for trinity (in the wiki) you will have all needed files.
I said radio because of the size (smaller download)
What the name of your NBH has to be when flashing through SD card (just an added bonus, not really needed.)
Click to expand...
Click to collapse
TRINIMG.NBH (I think)
I need to understand what the hex editing is for in this thread.
Click to expand...
Click to collapse
It is for changing the id of the os partition. In the trinity standard is 0x400 (the same in most htc devices), for P3600i the id is 0x401. You will have to make in the bat a choice, and modify the line of inserting os.nb whith nbhutils
I need a cook to volunteer a working ROM's kitchen files.
Lastely, I need two beta testers to test said ROM built in my kitchen. They'll be testing both the algorithms by testing two ROMs and reporting back to me.
Click to expand...
Click to collapse
Sorry but the trinity is my work phone, and I can't flash it frequently
mac_es said:
ROMUpdateUtility.exe, in the forum you can find it. I will search for it, but if you download any radio for trinity (in the wiki) you will have all needed files.
I said radio because of the size (smaller download)
Click to expand...
Click to collapse
Awesome.
mac_es said:
TRINIMG.NBH (I think)
Click to expand...
Click to collapse
Thank you.
mac_es said:
It is for changing the id of the os partition. In the trinity standard is 0x400 (the same in most htc devices), for P3600i the id is 0x401. You will have to make in the bat a choice, and modify the line of inserting os.nb whith nbhutils
Click to expand...
Click to collapse
If this is not already a feature of your kitchen, I can EASILY make it so that if you choose trinity standard you get 0x400 and if you choose P3600i you get 0x401. So I guess this kitchen will have a dual purpose. Out of curiousity, what's the difference between the two devices? And this is done to an NBH file? Wouldn't it be easier to just create the NBH with the proper OS partition address in the first place?
mac_es said:
Sorry but the trinity is my work phone, and I can't flash it frequently
Click to expand...
Click to collapse
That's quite alright. ^_^ I appreciate the knowledge you have volunteered already.
If this is not already a feature of your kitchen, I can EASILY make it so that if you choose trinity standard you get 0x400 and if you choose P3600i you get 0x401.
Click to expand...
Click to collapse
Thanks, I cook for me so I don't need it.
So I guess this kitchen will have a dual purpose. Out of curiousity, what's the difference between the two devices? And this is done to an NBH file? Wouldn't it be easier to just create the NBH with the proper OS partition address in the first place?
Click to expand...
Click to collapse
The diffs are a more powerfull CPU (500 MHz) and more ram. Most cookers build for P3600 so the hex edit is for trying a rom cooked for P3600. Yeah, it is more clean to generate a new nbh but you will have to convince the cookers.
FYI, you should make a separate device in the xip section, in the OEMXIPKernel. The nk.exe for P3600i should be at least rev3, and most of cookers of P3600 use nk.exe rev0
Kitchen finished but before I upload it, I think I'm going to add a script to allow both P3600 and P3600i creation. If you can get me nk.exe rev3 and it works on all trinity's, I can go ahead and make it so that it automatically updates the nk.exe on all ROMs cooked in the kitchen. Make sure it's in module form.
If you can get me nk.exe rev3 and it works on all trinity's, I can go ahead and make it so that it automatically updates the nk.exe on all ROMs cooked in the kitchen
Click to expand...
Click to collapse
nk.exe rev3 works on all trinitys but it has an issue whith saving DPAPI keys in the file system. As result, after some resets you have lost all the passwords stored in the device.
To avoid this you should add a key in boot.rgu. (Take a look to the thread of P3600i or to chanvi's wm6.5 rom) Chanvi stated that even whith that key there are some issues (though it is working fine for me).
Also I prefer nk.exe rev0 to rev3. The device is better in response time (at least for me).
Also it has been appeared a "new" nk.exe, which chanvi use in his rom that should work in any trinity. I don't know if it is better or not than rev0...
Hmm... I now have to decide if it's worth the time, seeing as I'm making kitchens for EACH device and working on two Herald ROMs (while working full time). I've got two options, make it so that the right rev and registry keys go with the right device automatically, or let people do it themselves. Does anyone by any chance have both files already ready along with the registry keys? It would help a lot (since I'm already downloading kitchens and ROMs from EVERY device, it's a lot more work to research and download even more kitchens.
Here is info (ONLY FOR COOKS), how to make LZX compression work on our kitchen. This method is tested by myself and everything works fine.
Short step by step instruction:
1. Download fixed version of cecompr_nt.dll from HERE
2. Replace cecompr_nt.dll from kitchen to downloaded file.
3. Download from attachement cecompr.dll and replace it in your XIP section.
4. Open os.nb.payload in HEXeditor and find beginning of imgfs. Here is how it looks in my case (ULDR removed):
Code:
00280000 F8 AC 2C 9D E3 D4 2B 4D BD 30 91 6E D8 4F 31 DC ř¬,ťăÔ+M˝0‘nŘO1Ü
00280010 01 00 00 00 01 00 00 00 01 00 00 00 34 00 00 00 ............4...
00280020 08 00 00 00 00 02 00 00 00 10 00 00 58 50 52 00 ............XPR.
5. Replace XPR to LZX, and save this file.
6. Now you can cook with LZX compression = about 9-10 MB more free space on storage
Hi Tomme45i
Don't boot for me , what mean (ULDR removed) , i have he same HEWEditor that you but my os.nb.payload is a "reducer" , may be it's the error ?
chanvi93 said:
what mean (ULDR removed)
Click to expand...
Click to collapse
Hi chanvi93
You can read something more about ULDR HERE. Removing ULDR partition gives you about 3 MB more free space on internal storage. You can edit it by yourself manually, or you can use XipporterEx by Ervius & udK (it is implemented in visual kitchen by ervius). Ervius kitchen have also payload_reducer, so after removing ULDR and reducing size, my os.nb.payload have size 2.6 MB You must remember to change start insert address for XIP section, otherwise your device will hang on the second splashscreen.
tomme45i said:
Hi chanvi93
You can read something more about ULDR HERE. Removing ULDR partition gives you about 3 MB more free space on internal storage. You can edit it by yourself manually, or you can use XipporterEx by Ervius & udK (it is implemented in visual kitchen by ervius). Ervius kitchen have also payload_reducer, so after removing ULDR and reducing size, my os.nb.payload have size 2.6 MB You must remember to change start insert address for XIP section, otherwise your device will hang on the second splashscreenie.
Click to expand...
Click to collapse
finally some great news..
i will try that on my kitchen - thx ivan thx tommi
Thanks Tommi45i ,
Finaly , i use visual Ervius-Bepe kitchen and shared it with all .
Yea, sorry, I got somewhat swamped with xda "work."
I worked with Ervius to add LZX compression to his visual kitchen, so anyone using it can now enjoy LZX compression.
Hi ivanmmj,
I have a strange result trying to add LZX to my kitchen :
It seems to be partly working as building is much much slower while adding file but the resulting os.nb is 10Mo bigger than with XPR compression and storage at first boot falls from 20Mo.
Any idea on why it's not working as expected ?
Related
Hey there,
i decoded the newest o2 ROM and found out (using a hex editor on the decoded .fat-file) that at about 74% till about 99% it's all empty (just FF FF FF). NOW THAT'S A WASTE OF ROM! :evil:
Regards,
NiTeSHiFT
Sound good news to me.
A) Room for more code.
B) Room for bug fixes.
C) Perhaps efficient programming.
Better than a full rom with no room for fixes and extentions.
Then again you could argue that entended code with lots of goodies should be there already.
John
NiTeSHiFT said:
...I decoded the newest o2 ROM and found out (using a hex editor on the decoded .fat-file) that at about 74% till about 99% it's all empty (just 00 00 00)....
Click to expand...
Click to collapse
Does that mean that 25% of the previous ROM was that flabby o2 interface
Perhaps o2 were forced to get rid of their interface to make way for the forthcoming AKU2.
astage said:
Does that mean that 25% of the previous ROM was that flabby o2 interface
Click to expand...
Click to collapse
OK, I try to look it up in the shipping ROM as I go on vacancies for a week now... But that has to be done before ;-)
...
OK, same in the original ROM: from 02f0c250 it starts with FF FF FF FF till 3effffff where it ends with the FF FF FF FF. Seems to me as unused space.
Why didn't they add the new .Net CF 2.0 in that space for example?
NiTeSHiFT said:
astage said:
Does that mean that 25% of the previous ROM was that flabby o2 interface
Click to expand...
Click to collapse
OK, I try to look it up in the shipping ROM as I go on vacancies for a week now... But that has to be done before ;-)
...
OK, same in the original ROM: from 02f0c250 it starts with FF FF FF FF till 3effffff where it ends with the FF FF FF FF. Seems to me as unused space.
Why didn't they add the new .Net CF 2.0 in that space for example?
Click to expand...
Click to collapse
i injested my own files into that ROM.
nearly to 20MB of files in totaly can be injected and flashable to boot.
Nice to me!!
Asukal said:
i injested my own files into that ROM.
nearly to 20MB of files in totaly can be injected and flashable to boot.
Nice to me!!
Click to expand...
Click to collapse
Well, good for you ;-) Now I need any information how ->I<- can do that ;-)
Which Program can I use to inject files to the ROM? Would love to inject the .Net CF 2.0 and some other things I use often, like the never Changing Adobe Reader and such stuff ;-)
Regards,
NiTeSHiFT
NiTeSHiFT said:
Asukal said:
i injested my own files into that ROM.
nearly to 20MB of files in totaly can be injected and flashable to boot.
Nice to me!!
Click to expand...
Click to collapse
Well, good for you ;-) Now I need any information how ->I<- can do that ;-)
Which Program can I use to inject files to the ROM? Would love to inject the .Net CF 2.0 and some other things I use often, like the never Changing Adobe Reader and such stuff ;-)
Regards,
NiTeSHiFT
Click to expand...
Click to collapse
Hi! just inject files into windows filder, not any othe folders now.
*if you want to inject some programs, you must make Shortcut manually
after boot the new your ROM.(i made cab file to create short from Extrom,when you make hard reset)
* .Net CF 2.0 and Adobe, i think also work.....
*also delete the files you dont want.
For me, i injected wince.nls(national language support file) and japanese and Chinese fonts, and ClearVue PDF viewer,Japanese Input systems like them....
following is the stpes to you rown ROM
But pls do it carefully, if your steps were wrong, the new rom cant
boot.
But Sirial/USB mode never die even you failed flash ROM,
you can re-flash another one agai.
pls do this your own risk.
-----the way to MY_ROM----------
PLS use the HTC64-Extended rom-tool to encode/decode nbf-nb(fat) by
graphical interface by mr,ball666.
http://forum.xda-developers.com/viewtopic.php?p=191164#191164
Use this Decode to nbf to nb (default is xxxx.fat)
U can use both of fat / nb with mamaich ROm Editor.
U must save the Project file (xxx.prj) when decode.
this prj file need when you encode back nb(fat) to nbf.
1; decode nk.nbf to nk.nb(or nk.fat) with this tool.
then ROM editor by Mr,mamaich
http://forum.xda-developers.com/viewtopic.php?t=34171&highlight=
2; prepapearr_image.exe nk.nb(or nk.fat) -nosplit
*imgfs_raw_data.bin and imgfs_removed_data.bin were created(0KB)
add or delete files of imgfs_raw_data.bin (edit this)
3;(ex delfile.exe <filename>----u can delete files with this
4;(ex addfile.exe <filename>--u can add files with this
5:make_imgfs.exe nk.nb(or nk.fat) -nosplit ---imgfs_raw_data.bin will be remake to nk.nb(or nk.fat)
6; use HTC64 Extron tool again to encord the nk.nb(or nk.fat) to nk.nbf
again(if you have nk.nbf in same directry, it will be over write)
@the buildimgfs.exe from dumped&edited files with view_imgfs.exe is not work yet.
Good luck!
Hi Asukal,
I am really tempted to what you have done....
However, I understand that the time required is huge.
If possible, can you use the new O2 rom as a base and input the windows folder following:
1. wince.nls (chinese)
2. adobe reader ppc version 2
3. latest skype 1.20.89
4. .Net CF version 2
Merry Christmas and happy new year!!!
Cheers,
chris_khho said:
Hi Asukal,
I am really tempted to what you have done....
However, I understand that the time required is huge.
If possible, can you use the new O2 rom as a base and input the windows folder following:
1. wince.nls (chinese)
2. adobe reader ppc version 2
3. latest skype 1.20.89
4. .Net CF version 2
Merry Christmas and happy new year!!!
Cheers,
Click to expand...
Click to collapse
Merry Xmas to you!
i will try but can you wait for a while,
i must fly to Dalian in nothern china tommorow morning and
back to here shenzhe on 26th,
i will finish after my trip!
Good luck!
Of course no problem.
Good luck to your trip.
I will have another hardreset soon I think.
Cheers,
Hi all, cooperating with udk, and thanks to the author of the tricks into \mytools folder (I'd like to thank but I don't know who he is!), XipporterEx was born, how it works.....
easy:
you have to insert into:
old xip, new xip to port, and your payload.....
in one click you can port all xip or only MSXipkernel, done it, you can inster xip_out.bin into your os.nb.payload, and if you don't know where, the rightg offset where insert it into payload, you can find it only clicking on a button, and finally you have your new os.nb.payload updated, ported and ready to cook....
all infos and download here:
http://www.forumhtc.com/forum/showthread.php?t=3471
or here:
http://forum.xda-developers.com/showpost.php?p=2813417&postcount=9
bye!
ervius said:
Hi all, cooperating with udk, and thanks to the author of the tricks into \mytools folder (I'd like to thank but I don't know who he is!), XipporterEx was born, how it works.....
easy:
you have to insert into:
old xip, new xip to port, and your payload.....
in one click you can port all xip or only MSXipkernel, done it, you can inster xip_out.bin into your os.nb.payload, and if you don't know where, the rightg offset where insert it into payload, you can find it only clicking on a button, and finally you have your new os.nb.payload updated, ported and ready to cook....
all infos and download here:
http://www.forumhtc.com/forum/showthread.php?t=3471
bye!
Click to expand...
Click to collapse
Looks very cool, i will download it now..
danny_and_2 said:
Looks very cool, i will download it now..
Click to expand...
Click to collapse
yes, for me works well, ported all 2075x and 209xx xips and ever worked fine....
try it and report
bye!
Thanks, excellent news!!!
Public link: http://rapidshare.com/files/168872430/XipporterEx_new_find_xip_into_payload.rar
xxxelent tool it work very fine
Works good here too. Great work!
Awesome tool!!! Thanks a lot!
Hey Ervius. Using your tool (its ROCKING & AWESOME brother)
Couldnt port the 20759 XIP but maybe something is wrong with the bin that I have. Will try again on shipped XIP and check
mondilv said:
Thanks, excellent news!!!
Public link: <deleted>
Click to expand...
Click to collapse
You are probably best off to go to the thread in the op. This way you get the most recent version of the tools.
Best regards,
-boggsie
I have triyed it using as old xip Diamond XIP 1.97 and new XIP Blackstone 1.14 20757, to port only MXKERNEL, it works without anywarning, but when I dump the xip using XIPPort some module are missing like :
cachefilt.dll
mencfilt.dll
relfsd.dll
htcfsfilter.DLL
kd.dll
and some other for which I have read that they can be deleted
Is it normal ?
try again,,
TekTonik said:
I have triyed it using as old xip Diamond XIP 1.97 and new XIP Blackstone 1.14 20757, to port only MXKERNEL, it works without anywarning, but when I dump the xip using XIPPort some module are missing like :
cachefilt.dll
mencfilt.dll
relfsd.dll
htcfsfilter.DLL
kd.dll
and some other for which I have read that they can be deleted
Is it normal ?
Click to expand...
Click to collapse
yes, its normal!!!
I got xipporting.bat error
pawaj said:
I got xipporting.bat error
Click to expand...
Click to collapse
??? what mean xipport.bat, if there is an exe to port xip???
ervius said:
yes, its normal!!!
Click to expand...
Click to collapse
Hi Ervius what should we do with cleaned modules ?
put it manualy in the xip or un rom or never take care about these modules ?
Regards
ervius said:
??? what mean xipport.bat, if there is an exe to port xip???
Click to expand...
Click to collapse
Thankyou for your respond.I fix it already i forgot to install .net
by the way How can I use with Artemis?
TekTonik said:
Hi Ervius what should we do with cleaned modules ?
put it manualy in the xip or un rom or never take care about these modules ?
Regards
Click to expand...
Click to collapse
the xip have to works better without all the unused modules (on diamond!) but you can try on other devices, and report witch are useless and witch not!
last version: 1.2 revision 6, here:
http://forum.xda-developers.com/showpost.php?p=3007615&postcount=383
use your preferred os.nb.payload and your preferred xip (old and new!)
in this release you can port xips and now, remove uldr section, move xip and reduce unused space between xip and imgfd section, and your os.nb.payload will be reduced around 3.5 Mb, ready to be used to build new smaller (so more memory avaiable into rom on device ) roms
ervius said:
in this release you can port xips and now, remove uldr section, move xip and reduce unused space between xip and imgfd section, and your os.nb.payload will be reduced around 3.5 Mb, ready to be used to build new smaller (so more memory avaiable into rom on device) roms
Click to expand...
Click to collapse
The problem with this revision is the resulting payload being only 3.8MB. For the ULDR removal and IMGFS increase to work we need to use the -conservative switch on nbmerge and ImgfsToNb tools. This switch doesnt allow the higher size imgfs to be packed into the lower size template
Also the tool doesnt modify the LBA & no of sectors of IMGFS partition and needs to be done manually, but again the payload wont work since the nbmerge has to be with -conservative switch. Hope I am sounding clear without confusions
I Used HTC Rom Tool. to make the NBH file. and it worked fine. my os.nb.payload file is now 4.11 mb. xip os is 20764. Available memory before was 203.49, size after was 203.49. So I am not sure what i did wrong. aside from the smaller os.nb.payload file. everything seems to be the same.
It does boot and everything is fine there.
Hi friends!
I think the topic pretty much says it all;
This is a native WM 6.5 Hermes OEMXIPKernel/xip.bin/nk.exe - aware of the new Slot 60/Slot 61 virtual memory layout - what does this mean for you as a chef?
Now you don't have to recmod any modules in \SYS anymore, to port over WM 6.5! And you have 64mb free to convert more files to modules!
But you will need to use a relocation tool that is aware of the new memory layout;
Ervius Visual Kitchen + Bepe's New Kitchen do this with the "Real WM 6.5 AKU" checkbox
There's also a build of "WMReloc" 2.0 floating around that may support this, that would be compatible with the "old style" kitchen (buildos + g'reloc, it would replace g'reloc)
http://rapidshare.com/files/245803085/HTCHermes-WM65-nk-xip.zip
Da_G said:
Hi friends!
I think the topic pretty much says it all;
This is a native WM 6.5 Hermes OEMXIPKernel/xip.bin/nk.exe - aware of the new Slot 60/Slot 61 virtual memory layout - what does this mean for you as a chef?
Now you don't have to recmod any modules in \SYS anymore, to port over WM 6.5! And you have 64mb free to convert more files to modules!
But you will need to use a relocation tool that is aware of the new memory layout;
Ervius Visual Kitchen + Bepe's New Kitchen do this with the "Real WM 6.5 AKU" checkbox
There's also a build of "WMReloc" 2.0 floating around that may support this, that would be compatible with the "old style" kitchen (buildos + g'reloc, it would replace g'reloc)
http://rapidshare.com/files/245803085/HTCHermes-WM65-nk-xip.zip
Click to expand...
Click to collapse
wow thanx 4 this toolS!
Da_G said:
Hi friends!
I think the topic pretty much says it all;
This is a native WM 6.5 Hermes OEMXIPKernel/xip.bin/nk.exe - aware of the new Slot 60/Slot 61 virtual memory layout - what does this mean for you as a chef?
Now you don't have to recmod any modules in \SYS anymore, to port over WM 6.5! And you have 64mb free to convert more files to modules!
But you will need to use a relocation tool that is aware of the new memory layout;
Ervius Visual Kitchen + Bepe's New Kitchen do this with the "Real WM 6.5 AKU" checkbox
There's also a build of "WMReloc" 2.0 floating around that may support this, that would be compatible with the "old style" kitchen (buildos + g'reloc, it would replace g'reloc)
http://rapidshare.com/files/245803085/HTCHermes-WM65-nk-xip.zip
Click to expand...
Click to collapse
thank you. I have been following your topic for some time and I must admit its way over my head. So do we just not use the \SYS folder anymore? I'm really confused on this.
over my head too... does this mean improved memory performance for 6.5 ROMs on Hermes? Storage or RAM? Could use a RAM boost with most ROMs...
Thanks DA_G u rock! i'll see if i can get it working on my old hermes!
anyone got that new wmreloc kicking around?
Its just a .exe file right?
need somone to flash new nk.exe 6.5 kernal rom
Can someone let me know if it boots?
I'm uploading a rom HERE with new nk.exe from 6.5 kernal
it will be doné uploading in about 5 mins.. i gotta go hit the dentist and get a root canal.. just lemme know if it boots
peace.
joshkoss said:
Can someone let me know if it boots?
I'm uploading a rom HERE with new nk.exe from 6.5 kernal
it will be doné uploading in about 5 mins.. i gotta go hit the dentist and get a root canal.. just lemme know if it boots
peace.
Click to expand...
Click to collapse
Bad news...
Couldn't Boot
Only the right green led is on and nothing...
Ditto
Same here, flashed but would not boot. But I'm game for another try!
joshkoss said:
i gotta go hit the dentist and get a root canal.. just lemme know if it boots
Click to expand...
Click to collapse
OOOOOUUUUUUCCCCCCHHHHHHHHH!
jajajaja
yeah it sucks!!!! i just went to dentist once.. to have a middle implant to one tooth... what da heck is the worst i ever experiment!
hope this works at the end.
maybe a noob question but how do I add this to my kitchen?
just the xip.bin, or do I need to copy the contents of the OUT folder too?
Search for Manual XIP porting using the search link in my sign!
this is great news! hopefully tai / irfan / joshkoss release a new rom using this!
ok Da_G
Are you saying that the memory could be changed from 64 to 61?
And we could have 3Mb more to use?
Mmmm any link to learn a little more about this... of course and the usage of this.
Ok lets try this baby!
goona redo the kitchen for 21807 with the nk.exe that nurkamol gaves me... oemxipkernel here must do the trick inthe ervius last kitchen just lemme get rid of the big admin folders there! a little confusing... but with a nice master chef ould be posible...
SYS 21807... Josh with my NK.EXE by nurkamol
Xip With this oemkernel and lets see what happend
Edited: first try was a failure! i set all the kitchen with all the 21807 modded of course... The thing i change was... the nk that nurkamol gaves me, and I couldnt find where to place the .ROM folder (it was on the sys, but in new kitchen where to place it?) and set kitchen to Imagestart at 0 PP 6mb not works... then i Add tehe default wincenls of course it was verwrited by OEM and chenge Startimagfs at 340000 and PP to 8mb and not works...
Next attempt...
Dont delete any folder from 21807 and let the xip ported nk by josh...
night!
It works as expected! Thank you very, very much
For others: don't panic, it has 15MB of PP set so you have to change it. btw, implantxip can't do that, you have to do it with osnbtool - or manually
Once again: thank you!
upd.:
for all those who can't get pp right:
Edit your TOOLS\kitchen_build_rom.bat and find the line with implantxip and replace it with those two lines:
Code:
..\TOOLS\osnbtool -ap xip.bin %pp%MB -y
..\TOOLS\implantxip -xip xip.bin -payload OS.nb.payload -imgstart %imgstart% -%uldr% -%nocert%
Of course you have to have osnbtool.exe in your tools directory
Great!
So this kernel works?!!!! we must to check real aku as i red your post on Da_G's kitchen thread... use the lastest MSXIPkernel ... Use the Romhdr and os.nb.payload for any other build cause its special for Hermes... I ask you this cause the OEMxipkernel modules are different, are many more on this kernel by Da_G.
Will try this... wich pp do you use.. 8?
thanks a lot dude! you have wonderfull ideas... my rom boots and its efficient... with some troubles about initflashfiles but works fine, because of your advice there on raphael forum.
I've took from Da_G only nk.exe, ceddk.dll and flashdrv.dll. You have to either take his boot.rgu, too - or ensure you have this line in yours:
Code:
[HKEY_LOCAL_MACHINE\System\Loader]
"EnableUpperModules"=dword:1
Hi all,
I want to share my kitchen. Feel free to modify it.
Thanks to chanvi93 and xdmcdmc for their awesome work, and Da_G, whitealien and JoOoSs for Mega packages and cabs
New version 1.2
This is a hybrid Mega/Jade port. Known issues:
- "All settings" left soft key in M2D settings tab does not work
- Manually copy Recorder.lnk from Windows folder to Start Menu folder
- I used my HTCMenuLoader-BootLauncher, but I still have an issue: at first boot htc menus do not work. Workaround: start another program (also Start->Programs should be enough) then menu should start working.
- Do not start fingermenu and htc menus (with my loader) at the same time (fingermsgbox should work instead)
Download here v1.2
http://www.mediafire.com/?cymogzhamyo
Download here v1.1.
http://www.mediafire.com/?jmlzgmmzdon
ChangeLog
v1.1)
- EXT: Removed SMS.Scrollbar.Tweak (it does not work!)
- OEM: Added nueMassStorage (cpl modified by me) finally working on trinity.
v1.2)
- New packages from Mega
Remember to donate (link in my signature) if you like my work. Thank you for supporting me.
Hi
good job man .
,-)
Hi! Please put some photo with your work and tell us about the memory ram free.thank you.
Hi Francarl.
First of all, many thanks for sharing your work with us.
I am very excited at testing it, so when you have time, could you possibly upload a demo ROM that we can flash? Maybe a "Manila Version", and a "Non Manila Version"?
At some point I will try to create my own using your Kitchen but in the meantime I would be very grateful to test a ROM created by you.
Thanks again,
Mattster.
p.s. Is the ROM creation method that Chanvi & Oggi provided us (as demonstrated by Supersport in his video tutorial) available for this kitchen, i.e drop down menu, select ROM version, deselect unwanted components?
Hi
@goalex your question it ' not valabe.
size of ram for a rom
this is a kitchen memory.... is based on cooking
.
1 the size of the page pool ( example 2 or 3 or 4 or 6 for trinity )
2 of the different cache sizes. (example 4096 )
3 of the application that starts the launch of the bone ( example startups , services, size picture , exe , Dll ) if possible compress exe and Dll with upx.
4 Kitchen compressed yes or no ( lzx or xpr )
5 Big storage or remove uldr or both or not whether or not launch other services.
For the 21042 (xip and sys ) in generality it goes from 20 to 31 on the first start after that it all depends how the kitchen and cooking.
Example very light ( 27 - 31 mo )
Example full with manilla ( 20 -25 mo )....
Regard Oggi
Mattster_spv said:
Hi Francarl.
First of all, many thanks for sharing your work with us.
I am very excited at testing it, so when you have time, could you possibly upload a demo ROM that we can flash? Maybe a "Manila Version", and a "Non Manila Version"?
At some point I will try to create my own using your Kitchen but in the meantime I would be very grateful to test a ROM created by you.
Thanks again,
Mattster.
p.s. Is the ROM creation method that Chanvi & Oggi provided us (as demonstrated by Supersport in his video tutorial) available for this kitchen, i.e drop down menu, select ROM version, deselect unwanted components?
Click to expand...
Click to collapse
To generated standard rom, start ervius kitchen, then select TRINITY, then "create rom". That's all!
I strongly suggest to hard reset after flashing!
regards
oggi1969 said:
Hi
@goalex your question it ' not valabe.
size of ram for a rom
this is a kitchen memory.... is based on cooking
.
1 the size of the page pool ( example 2 or 3 or 4 or 6 for trinity )
2 of the different cache sizes. (example 4096 )
3 of the application that starts the launch of the bone ( example startups , services, size picture , exe , Dll ) if possible compress exe and Dll with upx.
4 Kitchen compressed yes or no ( lzx or xpr )
5 Big storage or remove uldr or both or not whether or not launch other services.
For the 21042 (xip and sys ) in generality it goes from 20 to 31 on the first start after that it all depends how the kitchen and cooking.
Example very light ( 27 - 31 mo )
Example full with manilla ( 20 -25 mo )....
Regard Oggi
Click to expand...
Click to collapse
thank you for your quick response and explanations. Now i understand how is going on.
francarl said:
To generated standard rom, start ervius kitchen, then select TRINITY, then "create rom". That's all!
I strongly suggest to hard reset after flashing!
regards
Click to expand...
Click to collapse
Thanks.
Just flashed it & did Hard reset as suggested.
Without installing anything else, the memory is at 77%?
Program: Total 49.10MB, In Use 37.97MB, Free 11.13MB
Storage: Total 48.22MB, In Use 8.71MB, Free 39.51MB
Current Free memory 9.528MB
Clean RAM tool: 8MB Saved! New Free Memory 18MB.
Played round with it a bit, suddenly memory was back up to 76%!
Clean RAM tool again: 8MB Saved again... New Free Memory 18MB.
Clean RAM Level 3: New Free Memory 21MB.
Where is the 8MB RAM getting lost to? Possible memory leak?
Mattster
Cannot send SMS message
Tryed the ROM one bug found!
Cannot send SMS message... Anyone with the same issue??
:: edit ::
Solved!!!
Create ROM without SMS.ScrollBar.Tweak ( COMMON: Trinity_External_Packages)
xdapocket said:
Tryed the ROM one bug found!
Cannot send SMS message... Anyone with the same issue??
:: edit ::
Solved!!!
Create ROM without SMS.ScrollBar.Tweak ( COMMON: Trinity_External_Packages)
Click to expand...
Click to collapse
thank you for bug reporting.
First post updated with new version 1.1
Hi Oggi! I can see that you are very good in cooking and i have one more question. Can you or is possible to increase memory program? Now i have 12MB after reset in memory program and 40 mb in storage.I don't need 40 mb in storage and i can quit for 15 mb from storage and put in program memory.
Thank you in advance!
Hi
Goalex
If not possible ... Because....
No this is not possible kitchen francarl is very good but it is not optimized for a maximum of memory.
So to have more memory with the kitchen francarl I advise you to change it.
1 delete packtages you do not.
2 download upx compress exe that starts in memory.
3 optimize all the bmp and png picture
4 to cooking with the tools ervius check compression lzx
This should save you almost 10 MB of memory.
Or try cooking 21042 that I did with Chanvi.
Or Mix kitchen Francarl and Kitchen Chanvi+oggi
Chanvi and me optimize Kitchen 21042 for max memory
http://www.mediafire.com/?sharekey=5330c72c2c98e20d7069484bded33bcd48c3279b870421d7
oggi1969 said:
Hi
Goalex
If not possible ... Because....
No this is not possible kitchen francarl is very good but it is not optimized for a maximum of memory.
So to have more memory with the kitchen francarl I advise you to change it.
1 delete packtages you do not.
2 download upx compress exe that starts in memory.
3 optimize all the bmp and png picture
4 to cooking with the tools ervius check compression lzx
This should save you almost 10 MB of memory.
Or try cooking 21042 that I did with Chanvi.
Or Mix kitchen Francarl and Kitchen Chanvi+oggi
Chanvi and me optimize Kitchen 21042 for max memory
First I want to say that my question is based on Windows Mobile 2003, where memory can be adjusted. Secondly, I wanna learn to make my self a rom and install programs that I interested.
Now I don't now how is working to
(1)delete packtages,
(2)download upx compress exe that starts in memory,
(3) optimize all the bmp and png picture,
(4)to cooking with the tools ervius check compression lzx
Big thanks for your quick response.When I manage to cook my own a rom, I will provide all, but this will take a while, I don't have very much time free.
Click to expand...
Click to collapse
Your welcome Francarl we should indeed provide some contribution...
How about the possible "memory leak"?
ROM seems to work well (beside of closing the M2D after some memory comsuption), very fast and nice.
Have tested most of the functions: Wifi, Internet, Gprs, 3G, Video Call, etc. and it worked. Maybe this is the best or at least one of the best WM 6.1 ROM for Trinity!
With more RAM definitely the nr.1!
But, it would be nice if some more RAM is available for programs...
Have seen that PagePool is 6MB which is nice and should not cause this.
Any ideas?
hi
for trinity 4 mo PP ... top pool
may have if possible 3 mo pp when it is optimized.
oggi1969 said:
hi
for trinity 4 mo PP ... top pool
may have if possible 3 mo pp when it is optimized.
Click to expand...
Click to collapse
So do you mean that we should change de PP to 4 MB?
Have seen/used/tested other ROM's with 6MB PP with more free RAM than this one.
But at least, with this ROM all things (wifi, active sync, bluetooth, and so on) do really function ok!
Hi
every body
Test this rom with 4 PP change with papepool changer and re-flash.
Velocity similary . and 2 mo memory for app exemple GPS.
Regard
Oggi
Use this ROM with 4MB PagePool
Yes! That should be the way...
Else, you can use M2D Config tool to free some memory, removing unneeded tabs from it
GPRS Icon Fix!
If you install Advanced Configuration Tool so that you can disable 3G, you must install this FIX for the GPRS Icon on top bar:
http://forum.xda-developers.com/showpost.php?p=2513718&postcount=172
Enjoy!
new version 1.2 added. This is a Jade/Mega port!
Hi Dev's!
after finding out how to create my own rom I will explain the progress for everyone.
[1st step - rebuild nbh with parts from different original roms]
At first of all make sure you have RSPL/HSPL installed before you try to create/flash your rom
Download a original rom for your device to start-up
Extract the contens of the *.exe and copy the RUU_signed.nbh to a directory you like (working direktory were you can collect all tools, data during our costumation process)
use nbhTool to extract the *.nb parts from the RUU_singed.nbh
e.g.
Code:
nbhtool.exe -split RUU_signed.nbh Schubert.txt
A textfile file for nbhTool is generated modify it forthe contens you like to rebuild afterwards (e.g radio or os) ==> see attachment for a demo txt file)
rebuild a RUU_unsigned.nbh with nbhTool
e.g.
Code:
nbhtool.exe Schubert.txt
and flash it with an RUU (maybe use a costum RUU for task 29 or 00)
finish
[2nd step modify registry ==> DeveloperUnlock]
Tested official Schubert rom's Nodo & Mango (Europe & Asia)
open htcrie_0.7.0.35 and open os.nb (Version includet in WP7 Costum Rom Manual Kitchen)
do not use other versions of htcRIE (e.g. htcRIE_0.7.0.46) cause there is a huge difference when inserting IMGFS into os.nb
click on IMGFS on the left side and click Image => Save Files...
IMGFS.bin should be saved at the location of your choice
use XiDump to extract the contens of IMGFS.bin
Code:
xidump.exe imgfs.bin
The contens should be extracted in the folder IMGFS
go into this folder and copy default.hv to a save place for modifications (thats a hidden file!!)
Drag&Drop default.hv over HVEdit.exe
now a new file is created called default.hvm
delete the default.vh to prevent convusion
edit default.hvm with a text editor
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg]
"PortalUrlProd"=""
"PortalUrlInt"=""
create Key wich doesn't exists at the moment
Code:
[HKEY_LOCAL_MACHINE\Comm\Security\LVMod]
"DeveloperUnlockState"=dword:1
you can also check/add the key for maximum unsigned apps
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg\Install]
"MaxUnsignedApp"=dword:7fffffff
save the file and drag&drop defaul.hvm over HVEdit.exe
a new default.hv is created wich contains you modifications
copy default.hv into the IMGFS folder wich was created before
In addition to that you can copy the CustClear.provxml into the root of the IMGFS folder
make sure it is hidden & write protected
the CustClear will be directly in the Windows folder after flashing
so no need to copy CustClear from Ringtones to Windows to unlock the phone after an update via Zune
Click to expand...
Click to collapse
rename IMGFS folder to "dump"
now rebuild imgfs with ImgFromDump
Code:
ImgfsFromDump.exe IMGFS.bin IMGFS-rebuild.bin
copy IMGFS-rebuild.bin to a save folder & rename it to IMGFS.bin
go to htcRIE-0.7.0.35) and implant IMGFS with following shell comando
Code:
htcrie.exe replace /I imgfs.bin os.nb
next open os.nb with a hex editor and search for following HEX-String
Code:
C7 14 02 80 01 04 00
rewrite the next 4 HEX-Numbers with
Code:
5D D6
save the file
finished
For information the hex code wich is generated from htcRIE compared with the original os.nb hex code.
If you search for differences in this two bin files this was the first one of 14 differences.
Don't know why the others are different but work
for NoDo
Code:
| htcRIE_0.7.0.35 | Original
012C72E8 | C7 14 02 80 01 04 00 8B | 012C72E8 | C7 14 02 80 01 04 00 5D |
012C72F0 | FE FF FF C0 20 00 00 FF | 012C72F0 | D6 FF FF C0 20 00 00 FF |
for Mango
Code:
| htcRIE_0.7.0.35 | Original
01106830 | C7 14 02 80 01 04 00 8B | 01106830 | C7 14 02 80 01 04 00 5D |
01106838 | FE FF FF C0 20 00 00 FF | 01106838 | D6 FF FF C0 20 00 00 FF |
[3rd step get ready for cab updates/customation]
Use DefaultCerts.dat & MSDefaultCerts.dat (from XBmod-Yuki's HD2 Rom) in your IMGFS to be ready for costum cab updates
[4th step adding OEM apps]
simply copy & overright the files from IMGFS Partition with the *.xap's, *.xml's,...
thanks to itje for mentioned that
thx to itje for the instruction how to dump IMGFS-Contens from OMEGA/ETERNITY roms
itje said:
dump ruu:
Code:
nbhTool -split ruu_signed.nbh Schubert.txt
dump os.nb:
Code:
xidump -b os.nb
Click to expand...
Click to collapse
[5th step adding additional languages]
thx to itje for extracting/preparing language packs from ETERNITY rom
Just copy & replace in IMGFS
Languages-Files
[6th step change wallpaper]
thx to -WP7User- to explain the necesarry steps for changing the wallpaper
Copy the pictures you like to have in your rom into IMGFS
add or modify values in default.hv
don't forget the comma if there is more than one wallpaper!!
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\WallpaperSets]
for changing the defauft lookscreen wallpaper look into user.hv and change
Code:
[HKEY_CURRENT_USER\Software\Microsoft\Photos\LockScreen]
XSPL
XSPL posted by Cotulla
Tools
nbhTool posted by ted973
Htcrie posted by Heathcliff74
NbhImageTool posted by DaG
XiDump posted by bepe
ImgfsfromDump posted by airextreme (v2.4.0 won't work for me)
HvEdit posted by ceesheim
Kitchen
WP7 Costum Rom Manual Kitchen posted by xda2_haseeb (instruction for IMGFS editing)
WP7build posted by tslany (only for information)
Registry Keys
Cab Updater
Omega OEM apps
FYI
The attached text file contains all nb entries to rebuild the whole rom expect the spl
You only need the line for radio.nb or os.nb, the rest could be deleted if you do not need them
flash devices only if you know what you are doing, i take no responsible for any damage
thx to itje for creating a nbhMerge textfile for HTC Trophy
where are all the rom coockers?
Are Ansar & DFT the only one who knows how to make a flashable rom?
Maybe we can use this thead to collect our testing progress
- what do we have tested (also to see wait leads in an corrupt *.nbh)
I think you meant "cookers" lol. I don't think there are any "publicly" available tools atm.
@sandman01: where did you get the unofficial untouched european HTC HD7 firmware?
I would also love to look inside the rom cooking process. AFAIK there are only a few tools here on XDA, that allow rom manipulation up to a certain degree. And the custom roms need the RSPL or HSPL boot loader to flash the unofficial roms, because the official roms are signed.
However, I did not ever see any of the original roms, which brings me to my first question: where can I get them?
Hi rudelm!
with RSPL/HSPL you can flash every official HD7 rom.
Look in the HD7 Rom development section for roms you like to analyse
My only requirement is the german language is included in the rom.
@drkfngthdragnlrd
thanks for correcting my mistake I've edited my post
Are these WP7 Rom Tools not what you're looking for?
thesecondsfade said:
Are these WP7 Rom Tools not what you're looking for?
Click to expand...
Click to collapse
Not really,
HTCrie is a good Tool but it isn't able to modify nbh files
If you want rom modifications you have to extract the contens and do you work.
e.g. extract os.nb or gsm.nb open it again with HTCrie and modify it
you can include other IMGFS, aso. when opend os.nb with the tool
Howerver you can't combine the *.nb files to a *.nbh when the work is done
For that operation you need something like the NbhImageTool from DaG, but with modifications (mayby the right certificat) to combine the *.nb files to an signed/correct flashabel *.nbh
see first post updated with the tools I already use
sandman01 said:
Hi rudelm!
with RSPL/HSPL you can flash every official HD7 rom.
Look in the HD7 Rom development section for roms you like to analyse
My only requirement is the german language is included in the rom.
@drkfngthdragnlrd
thanks for correcting my mistake I've edited my post
Click to expand...
Click to collapse
about the RSPL/HSPL stuff: I know, OSPL is the one that flashes only the official firmware files. I'm currently flooded with all these new links to more and more roms, it's so damn confusing
Maybe these tools are the right way to look for cooking roms? http://forum.xda-developers.com/showthread.php?t=1240455
rudelm said:
Maybe these tools are the right way to look for cooking roms? http://forum.xda-developers.com/showthread.php?t=1240455
Click to expand...
Click to collapse
You are right it's a little bit confusing.
The link you mentioned needs a Costum rom with two modified certificates to work for us.
(DefaultCerts.dat & MsDefaultCerts.dat)
So you wil need a costum rom to be able to make your own update packages. :-(
custom roms build process solved
see post 1 for tools
Guide
re-wrote my initial post to a guide for everyone!!
Just a quick question....
Could this be used on.... Say one of the HTC leaked mango roms to put in a reg key or 2, so when you flash it's pre-unlocked ?
For the moment I have only extract radios and os files and flash it for my purpose
tomorrow I will try to modify default.hv (regestry) to get an unlocked NoDo rom and if all seems good I will also try to flash mango from the official RUU on my HD7 (os only)
At the moment I don't know why it shouldn't work.
the issues with bricked bootloader in Cotullas XSPL thread comes from flashing the 4.x SPL which I do not include. So I think Mango isn't a problem only the new SPL 4.x
But if you were faster than me, try to flash an unmodifierd Mango os.nb and tell me if there could be built/flashed properly.
If you like to modify the regestry dump the imgfs from the os.bin andd edit the default.hv with HVEdit (see the links in the first post)
rebuild IMGFS & os.nb and than merge it together wit nbhMerge to get a flashable *.nbh
Hope that works
For now I will go to sleep
good night from austria
FYI:
yesturday I had troubles flashing a os only rom cause I use ansars costum NoDo rom wich leads in an error after flashing, don't know why.
The original RUU os.nb's worked today without issues.
At the moment I flashed the latest 1.69 NoDo rom with the 5.69 radio from the Mango rom ==> works great
Thanks, with my US HTC Trophy, there is no backup (NoDO) rom available.
I tried the leaked HTC mango rom and I liked the firmware updates/radio update. The problem is I can't unlock it. So, it would be a dream if I could take the mango rom and pre-unlock it so when it's flashed, it's already to go
Thanks for looking into this, can't wait to see if you have any luck here. Could make unlocking phones for people really easy.
[How to] for registry modification on the first post
Tested it with official Mango rom & implanted Developer Unlock & prevent from relocking
Also the trick with CustClear in /Windows
Work in the same way lik NoDo, only the hex offset were the differences are in os.nb is different
Have u been able to change the boot logo on the 4.05 mango rom?
Good guide, I missed a few parts with the hex editing to complete my rom, so thx mate
itje said:
Have u been able to change the boot logo on the 4.05 mango rom?
Good guide, I missed a few parts with the hex editing to complete my rom, so thx mate
Click to expand...
Click to collapse
Havn't tried it jet.
I will test to change the boot logo when I'm back from work
Did you mean the HTC boot logo or the Windows Phone Animation at the beginning?
I tested the boot logo, but I can't access the setting needed in htcrie to add new. I have not tested this on NoDo rom, so I am not sure if its something in my setup or if its "locked" in Mango
Have not looked for the animated one, but I imagine I will try change that too
itje said:
I tested the boot logo, but I can't access the setting needed in htcrie to add new. I have not tested this on NoDo rom, so I am not sure if its something in my setup or if its "locked" in Mango
Click to expand...
Click to collapse
Yesturday I tried to change the boot logo but failed also.
Extracting Logo.bin & the spash screens itself it not a problem, however reinserting with the right compression is.
imgfsFromDump says that the compressin DLL doesn's support the right compression methode.
(tried the v5 &v7 dll)
BTW. the Logo.bin is strange, because its very small compared to the 2 big pictures which it should contain.
And its mostly filld with 00 & FF (viewed in hex editor)
Maybe the pictures are stored on an other place as well