Have some questions i cant seem to find answers to. - 8525, TyTN, MDA Vario II, JasJam ROM Development

im new to this cooking thing and wanted to make sure of somethings.
1. what exactly goes into the SYS folder? i read somewhere on the forums that the only folders needed in this folder are the .ROM, .VM, and the shell folder with the shell32 folder is all that is needed in there. is this true.
2. does the my programs and games i want to cook into the rom go in the OEM folder after i use the cab2oem program? oh yeah and where do i put the cab files that dont want to seem to convert?
3. what would i need to make my rom a RBSC rom and how do i get rid of the ULD partition?
4. where would i put the files in for like the different shells so that it starts up on these shells after it is flashed like for example: the iphone shell or http://forum.xda-developers.com/showthread.php?t=354866&highlight=SCLPF
I think thats about it. Oh and before you start scolding me and say "its called a search box" or "maybe you should look"...well just know that i have and cant find anything. I have been seeking these answers for about three days now.

Many answers to wich i know the meaning and knowledge...
1.-In sys folder goes all the OS Base...
What do i mean by this? well it depends on the kitchen you use... if ou can see on the kitchen of Josh its a modified kitchen betwen ervius visual and bepes platform rebuilder so not so much folders in it! the sys hs two folders more... 0409 and common... in this original kitchens you can do many lang OS or many devices OS, so thats why there is more folders than OLD School way... so there are so much folders in it like the office... the bronzeres the manilla 2d and many more...
in old school the OEM folders becomes sys when dump again the rom so imagine how many things must be on SYS!!!
the .rom .vm and shell and shell 32 is a way to port the sys... but is not ported well with this method. and yes that folders must be on SYS anyways.
2.- Yes exactly the programs you wish to add to the rom must be on OEM folder... and the cabs that dont wants to be converted into OEM must be in OEMOPERATORS to install them on first UC... you must to edit the config file like the SD config way...
3.-RBSC is related to the os.nb.payload... so get a dumped rom with RBSC and get it's os.nb.payload... and add it where this file must be... On ROM folder of the kitchen, to get rid of changing the ULD partition many people is working on it... so the modules can be added there to have more storage... wel its not so much i thing 3 MB of storage not RAM.
4.- Well dude that link is not a shell... but what do you mean by "SHELL"?
This is a program that emulates... the htc cube... that was an app too so it is not a shel but if you said you want a new theme... home plugin... or UI use them as it is a programm add it via OEM or cab thats all.

thank man that was really helpful that cleared my everyting up

Related

How to cook?

Hi Chefs,
I want to cook a BigStorage/Light Edition of the new O2 Germany Rom. What should i do?
My my first thoughts: I extract the os.nb of the exe file, load it in the Rom Koch...OK, now, it's getting difficult...I want to remove for example Feedback, ringtones, example pics and vids, old office, games, windows live, homezone plugin etc. I don't know, which files i have to delete. Is there a list, which files belong to which programms?
Can i brick my phone, if i delete a wrong file?
Is it dangerous to flash my hermes with a selfcoocked rom (BADBLOCKS)?
Is that the right way to create a big storage rom?
What shouldnt i forget?
thnx
PS: pleas don't flame me...
Pello
Nobody can me help a little?
pello said:
Nobody can me help a little?
Click to expand...
Click to collapse
if you have HardSPL as the bootloader before you flash and are just flashing OS only upgrades you should be ok...
http://wiki.xda-developers.com/index.php?pagename=HTC_Hermes
jepp...ok, thats nice, so i can try without bricking my hermes.
can i just delete the files without changing user/default registry/flashinitfiles?
Is there a documentation for which files belong to which app, for example WindowsLive?
Windows live stuff is normally in directories called "WindowsLive*" inside the SYS folder.
Just play about, it's a fun way to learn and with HardSPL you shouldn't brick your device (for example I messed up a splash screen creation by not adding the padding required for the hermes. Looked horrible, didn't boot, but put it into three color bootloader screen and was able to flash a fixed version easily).
sorry I didn't reply in the other thread.
the software is somewhat modular - in that if you remove all of the Windows Live folders or Entertainment folders, you should remove all of that component.
Under /SYS/SQM is a .rgu file. The first entry is "Enabled"=dword:00000001. Change that to 00000000 to disable feedback.
Note that some kitchens uses an options.xml to allow BuildOS to determine what gets installed. The one for the files in /SYS uses a single one in /SYS.
I'd suggest grabbing a kitchen and following the directions. If you got HardSPL installed, and are careful, you should do well.
I "bricked" my phone twice in the first hour I started because I tried flashing a Wizard formated extended rom to the Hermes... gotta learn somehow
thnx mattk...
can i use the bepes rom kitchen or pandoras rom kitchen only with the included WM6Rom or can i swap the OEM,SYS Folders and the os.nb with the included?
What should i do with the XIP Folder?

1st time cook a little confused

Hi. I've read hundreds of posts and followed dozens of tutorials. I'm aiming to gain an understanding of what actually happens during the rom cooking process and I think I'm getting there. I've used loads of different toolkits and kitchens and most recently I've been using 'romdonalds' which has given me a better understanding.
However I'm a bit confused about the difference between the dump directory with loads of files and folders, and the OEM/SYS versions of these which I've seen when using packagetool and buildos. I know how to go from the 'flat' structure to the oem/sys structure, but I don't know how to go back again.
I'd also like is to know what really happens behind the scenes when you click the go button in buildos.exe.
TIA
Matt
I could really use a little help to understand what's going on here. If there's some clear explanation of what actually happens during cooking that I've missed, could someone point it out to me please? I've searched thoroughly, read extensively, and pulled my hair painfully... but I just don't get it. I've analysed batch files in just about every kitchen there is but I've reached a point where I need some help.
If there's some unwritten quid-pro-quo requirement that I've missed before I can ask a question then tell me that too - I'm no freeloader, I've just donated to Slither2006 for his cube, and when I've fully grokked the process I'll write up everything I've learned in a really clear guide, I promise.
I'm not an idiot either - I was a technical architect at a large UK ISP until recently, doing stuff like building a huge virtualised server farm with custom management tools and a homebrewed iSCSI /LVM2 snapshot system that blows away anything commercially available, and now I work for myself... I've used HTC devices since the Blue Angel, also an Exec and now a hermes... but I could really use a hand here.
Thanks!
I suspect you are quite a bit ahead of me here, but here goes.
The OEM/Sys folders are just part of the Dump folder, but extracted and turned into a more logically arranged order for manipulation.
When you run buildos it just takes these and a few other bits such as the XIP section and puts it back in a format for rebuilding.
Best I can do I am afraid.
Thanks for your reply crazyc. It's getting a little clearer now. Can anyone else shed any light? Ideally I'd like to know exactly what buildos does to turn the organised folders back into the dumped ones.
Piecing it all together:
A: I know how to get the dump folder from a source rom (nbhextract->nbsplit->imgfsfromnb->imgfstodump).
B: I know how to make changes to the dump directory manually (add/delete files; extract/convert .hv files to .rgu; edit .rgu files and reconvert to .hv; edit initflashfiles.dat to create shortcuts on first boot)
C: I know that instead of all that I could convert the dump directory to the organised oem/sys pair (pkgtool) and know that in theory I could manage that with BuildOS.exe to integrate oem packages with the option.xml file in them - but I don't understand what's happening here relative to (B) above
D: I can turn the dumped folder (but not the oem/sys folder) back into a flashable rom (imgfsfromdump->imgfstonb->nbhtool)
Can someone who really understands what's going on explain where I'm confused?
Thanks
Matt
Here is my take about cooking....
When the dumped OS has all the rgu files in tact then spliting the dump folder as OEM and SYS will work.
Where as some OS do not have rgu file in them (some cooks prefer to cook this way...all OEM OS have rgu files). In this case you would have to use only the dump folder and edit default and user.hv to add and delete stuff. You cannot use package tool for this method.
You sure can turn OEM and SYS back to ROM, just use the right kitchen (Pandora, Bepe Kitchen, etc)
Hope this helps.

New Old style kitchen based on Bepe's tools

Hi here i release an OLD style kitchen based on Bepes tools
I have taken bepe's kitchen and created some batch files to make it a one click extract and one click build and flash
I was so used to the old style kitchens and when they stoped working (failing at xip extract) i was looking for something that worked that i could use easly.
I found bepes kitchen, and it was nearly the same so i ported the batch files from diamond kitchen 0.4 to make this.
this kitchen uses the new style packages but has the look and feel of the diamond kitchen 0.4
I am still looking for the package creater that makes these NEW style packages but can't seem to find it now so if anyone has it please drop me a link so i can include it in the kitchen tools
download link ---->
http://rapidshare.com/files/217781904/Kitchen.rar
Instructions
1 place you RUU_Signed.nbh in the baserom folder
2 click on !Begin
3 Dont touch anything until extraction is finished (approx 5-10minutes)
4 Modify your packages
5 click on !Cook
6 wait until the htc rom tool loads
7 select diamond in device, os.new.nb as the source OS and save as kitchen/RUU_Signed.nbh
8 close htc rom tool and Custom RUU flash tool will load
9 flash and enjoy
......
will this kitchen group the OEM and SYS files properly. im having difficulty in using the new format or everything's in SYS\MSXIPKernel folder.
Is the Rom dump protected after cooking?
DefJamz said:
will this kitchen group the OEM and SYS files properly. im having difficulty in using the new format or everything's in SYS\MSXIPKernel folder.
Click to expand...
Click to collapse
this dumps the rom into the OEM, SYS and ROM Folders if you want the EXT folder download Bepe's tool below OEM2EXT
RideTheTube said:
Is the Rom dump protected after cooking?
Click to expand...
Click to collapse
not had time yet to try and test if i can rebuild a cooked rom, will have a go tonight and post my findings.
This is Bepe's Kitchen automated by batch files so he is the best person to talk to about protection
sorry to be a little blunt but i am a noob when it comes to cooking that why i found something that worked for me and made it a little easyer to use,
Protected Rom? Almost Rom when rebuilding, it will delete all dsm file, so you can't use package tool.
ok i have now tried the flashing, and the cooked roms won't pass the splash screen page, not getting the device info in bottom right corner.
anybody there who uses bepe's kitchen mind having a look for me.
also i can't open a re-cooked rom
garymeg said:
ok i have now tried the flashing, and the cooked roms won't pass the splash screen page, not getting the device info in bottom right corner.
anybody there who uses bepe's kitchen mind having a look for me.
also i can't open a re-cooked rom
Click to expand...
Click to collapse
I had the same problem and it was a XIP "mess-up". however I can't help you more than this.
try asking here: http://forum.xda-developers.com/showpost.php?p=3575850&postcount=131
i simply do NOT understand why build a tool that deletes stuffs that are important for cooking. isnt rom cooking supposed to be an open project for ALL? i mean some chef have the donate button in their sigs. but their rom's locked. it isnt fair to those (like myself) trying to learn how to cook a rom. i mean, i try to compare official roms and custom roms insides. what are the difference. it's by comparing that people learn to differenciate. and i would say BAHHH to missing rgu and dsm files!!
My thoughts exactly... Alas...
it is ironic, that NONE of the chefs who lock roms/doesn't supply kitchen/ask for donation wrote the code themselves. In short - everybody operates on stolen/leaked or any other way obtained code.
Ok, there are authors who created tools. And those guys have full right (and reason) to ask for donations fro that - TOOLS.
Otherwise - it's just funny. it's like stealing a car, and then asking police to protect it....
no panic.
at normaly old style kitchens never delete dsm'S.
and if you delete manualy dsm'S, you get all files in folder.
i think, with protect rom it means, no recookable roms.
it stops at point 1 or in the first step by using BEGIN! with a message like
"rom is smaller/bigger than/at starts" or so. excuise me, i've forgot the exactly words.
for checking of recookable rom i checked it with "htcRIE_0.5.0.12.exe".
it shows you all files with oem/sys - folders. but the oem can be empty. you find the oem-files than in sys-folder.
these points are my thinks that i see/learned by beginning flashing and cooking until now. other people can see/learn other thinks so dont dismiss me, if you are not my oppinien - but you can dismiss my english
Htc rom tool
Is it possible to use this for the Fuze?
EDIT: I found HTC tools with support for more phones on this thread a couple posts down

Any advice from 21828 AT&T 6.5???

Lets dump it hehehehehe
http://forum.xda-developers.com/showthread.php?t=538360
ooo sounds like a good idea unfortunately i have no idea how to dump roms, ive tried using the tools in the kitchen ive got but it never seems to work. but it looks extremely like 6.5 should have a final version soon if the phone operators are getting it. i think that microsoft are probably at the same stage with WM 6.5 as they are with windows 7
downloaded the file the nbh is 222mb lmao
ive dumped the rom into sys ext and oem folders although alot of stuff is going to have to be removed to get a working as the ext has over 200mb of stuff alot of which is probably special for the topaz, ill have a look through and see if i can get a 21828 sys build from it.
took the sys, switched over the dpi and resv files with ones from 23009, and changed shell32.exe and shellres.dll files with ones from 21222 build. also stripped out everything except necessary things. uploading now should take around 15mins.
Heres a link for the sys: http://www.4shared.com/file/121250776/189b396/21828_Sys_ported_from_topaz_att.html
Feel free to try it, as i havent tried using it yet, Enjoy
There is one problem with this sys, its 91mb so nearly double the size of normal sys i dont know whether this will make a difference, ive just built a rom with it and 21806 xip ill flash it and see how it goes.
Successfully flashed rom although the netcf needs changing to 3.5 and then i think it should work fine.
HUGHE, its hughe cause topaz has more memory... so we need to stripp it as much as we can.
So how many of memory do you have?
well it doesnt seem too bad, its flashed quite well although having problem with the start menu, ive still got 62mb of overall free memory. im just trying to port the xip for this aswell just need to build and flash it and then we'll have a fully working 21828 build
if it all works ill 7zip them and upload them for people to use
IT WORKS WOO!! 7ziping and uploading immediately
Holy ****! you are da man!!!!
Hehe im gonna put it in a new thread although it will need changing for the ervius kitchen so someone will need to do that.
I need to do that! hahaha
But if you have all the sys... and the xip ported is fine
cause we only need the MSXIPKERNEL folder plus the SYS folders common...
dod you add the shell and shellres into the upload?
ye you should be able to sort that out, ive seen the kitchen for it so that shouldnt take long to do. and yes ive changed the shell and dpi stuff so that it will boot and they're in the upload
Nice this thread can be deleted!
now moved to scotty's one...

Samsung SGH-i780 (and any other WM device for that matter!): Learn how to cook ROMS

Hi guys,
I decided to open a blog which explains how to cook roms for the i780. There are very few chefs, and cooking is a really hard science to learn without help! So, I decided that I take the time and write posts so that everyone could learn the process in a methodical manner and cook roms in the future!
I'd slowly write posts explaining each step of the process in detail, so that we can have more people learning how to cook and make the i780 community more happening
Head over to this URL to check out the first few posts -
http://i780romdev.blogspot.com
Update:
Attached core kitchen tools that you'll need to use! Enjoy!
cheers
San
I never was a fan of this forum, not sure why, maybe because I use a ASUS P527 and there are not proper instructions on how to create a custom ROM, I appreciate your taking the initiative
I think its good fun to try and figure out things on your own
Non-HTC devices do have a very small fan base unfortunately....and ironically, HTC makes the crappiest devices imo (highly crash prone, buggy, lousy drivers, useless qualcomm processor)!
You can apply the same tools and techniques even to cook asus roms....its not all that different
cheers
wooooooow thanks a lot buddy finally we have it also !!!
when will u release part 3? and also can u give the links of programs? like pkgtools_? coz i tried to download it from somewhere else and it had virus
benveq said:
when will u release part 3? and also can u give the links of programs? like pkgtools_? coz i tried to download it from somewhere else and it had virus
Click to expand...
Click to collapse
hi m8!
i'll try and upload the set of tools shortly. You can get it in any of the kitchens posted for the i780 here. I'll however consolidate them and add it in this post as an attachment!
Part 3 - very soon
cheers!
You guy thanks for sharing your experience at cook ROMS,I whink I need this for my SmartPhone.
Hey guys, just dropped the next part of the series on the blog. Check out http://i780romdev.blogspot.com
Of course, the same theory, tools and understanding goes to cook for any other device too
cheers
kitchen tools attached in the first post.
enjoy
dreamtheater39 said:
Hey guys, just dropped the next part of the series on the blog. Check out http://i780romdev.blogspot.com
Of course, the same theory, tools and understanding goes to cook for any other device too
cheers
Click to expand...
Click to collapse
yeah, now i am reading part 3 and u really teach very well! i think i will cook my own room soon with ur help i wanna ask a question if i dont want ms office and internet explorer in my rom which folders should i delete? i wanna add different office program
benveq said:
yeah, now i am reading part 3 and u really teach very well! i think i will cook my own room soon with ur help i wanna ask a question if i dont want ms office and internet explorer in my rom which folders should i delete? i wanna add different office program
Click to expand...
Click to collapse
To remove a package, you can get rid of the corresponding folders in your SYS folder. But its not recommended that you knock off office/ie as they might be referenced within other apps. You can always take it off, build a rom and see if everything works fine
For example, to remove IE, just delete your Browsing, Browsing_DPI_xx and Browsing_Lang_XXXX, BROWSINGCORE, browsingie, browsingie_LANG_XXXX folders. That should get rid of IE for you! Then you need to recreate your bin!
cheers
thanks a lot for kitchen tools and ur explanations! i read ur blog all the time great work!!
The next post is up
cheers
dreamtheater39 said:
The next post is up
cheers
Click to expand...
Click to collapse
yes i read it, and u r teaching with examples it is great
i have two problems while i am using ervius pkgtools
1. when i open dumo folder it shows
[Missing Manifests]
(Maybe):\ROM\XIP\45116509-e364-4775-9098-c25f0b1fbac2.dsm
(Maybe):\ROM\XIP\d92a4f0a-378a-4482-8fd3-bd127a05e4de.dsm
(Maybe):\ROM\XIP\723fb954-d931-4348-b672-82a188e587b5.dsm
(Maybe):\ROM\XIP\1a22bb67-d4c4-7bb4-c5d2-75cb3a85c45b.dsm
(Maybe):\ROM\XIP\449da4ef-e9c1-5cb4-2ec5-fb9b4c27a865.dsm
are these important dsm files?
2. when i press build packages it gives this error:
not found: select .os file to extract XIP
and i extract xip file using osbntool as xip.bin
any solutions for both of these?
benveq said:
i have two problems while i am using ervius pkgtools
1. when i open dumo folder it shows
[Missing Manifests]
(Maybe):\ROM\XIP\45116509-e364-4775-9098-c25f0b1fbac2.dsm
(Maybe):\ROM\XIP\d92a4f0a-378a-4482-8fd3-bd127a05e4de.dsm
(Maybe):\ROM\XIP\723fb954-d931-4348-b672-82a188e587b5.dsm
(Maybe):\ROM\XIP\1a22bb67-d4c4-7bb4-c5d2-75cb3a85c45b.dsm
(Maybe):\ROM\XIP\449da4ef-e9c1-5cb4-2ec5-fb9b4c27a865.dsm
are these important dsm files?
Click to expand...
Click to collapse
This is not important....ignore them, its normal
benveq said:
2. when i press build packages it gives this error:
not found: select .os file to extract XIP
and i extract xip file using osbntool as xip.bin
any solutions for both of these?
Click to expand...
Click to collapse
When you start, it asks if you would like to run build xip.bat.....just hit NO for that....
trojan reported in the attachment
Win32/TrojanDownloader.Zlob.NBP
false alarm?
well last night i finished my own wm6.1 build 20270 128dpi pdxib1 according to your guide i wanna tell what i did to complete it ;
1.i exctracted my rom using i780 kitchen and i got dump folder and i also added some extra tools like ervius buildos,osnbtool etc...then i used pkgbuildos to seperate folders into oem and sys
2. i used oem part from krizky82's kitchen and i add some extra packages using ervius package creator 2.7 and add them with oem_blahblah to oem folder.
3. i deleted windows live and msn messenger from sys folder and copied netcf 3.5 and flashlite v3.1 from krizky82 kitchen. i also used his initflash and rgu file coz i had same structure almost(oem totally same and sys programs also)
4.i looked at both efn's kitchen and krizky82 kitchen and i saw that they have this structure oem,sys and rom and in rom there is xip folder. when i looked at inside xip folder i saw that there is only coredll.dll folder and others are dsm rgu and boot files so my next step
5. i used osbn tool to exract xip.bin and after i got that xipkitchen_beta6 and i choosed the same donor and original and after extracting i got original xip files and i ordered in same structure like efn's kitchen
6.then i used pgkbuildos and let the process starti had some dsm duplicate errors and i delete duplicated ones and later i didnt start xip extract bat and flashable bin bat so after process again i had temp/dump folder
7. during buildos there wasnt any error and i was happy about it
8. using inputTXTFileMaker ( thanks to u dreamtheather93) i got input text and after that using these commands;
mgfsfromdump imgfs_raw_data.bin new_imgfs.bin
del imgfs_raw_data.bin
ren new_imgfs.bin imgfs_raw_data.bin
make_imgfs i780.nb0.payload.body -nosplit
merge i780.nb0.payload.header i780.nb0.payload.body i780.nb0.payload
nbmerge -data 2048 -extra 8 i780.nb0 -conservative
and conv3 input.txt > conv3_output.txt
ren i780.nb0.b000ff !!i780_flashable_bin.bin
i got my flashable bin file yupiiiii i controlled the size of flashable bin and it is 86.2 mb and the size of dump folder almost 125 mb i hope it is ok
now i will flash my phone but is there any possibility that my phone can be bricked ?
thanks a lot for ur guide again!!!
note: i already used i780.bin as 12mb page pool size i did it before kitchen using osbn tool
good job m8
You cant really brick your i780 because of this I've done way crazier stuff....like trying out omnia's xip, drivers of omnia on i780....and nothing's given way
However, i'm hoping you've ported your XIP accurately, and i'm unsure how've you've built your SYS folder.
but, go ahead and flash and see if it boots nothing to be paranoid if it doesnt boot/hangs at startup/throws an error and fails etc. etc. If any of this happens, then we could troubleshoot it together
cheers & good luck
Great job!
Nice start San!
Not even some days left from your first successful cooking and you already best gid on it!
Keep on do it. And we wait for new mods for our best touchphone!
I think now anyone is able to break Eagles wings =P

Categories

Resources