yashsingh1/xdaforums huggingface dataset:
[Wing, P4350 ROM development] N3xt2N0N3:
i hope you could share your OEM packs...that would be great
[Wing, P4350 ROM development] l3v5y:
I'm going to release a Prophet kitchen soon... And, maybe a kitchen for other devices too! All I need to do is amass a collection of kitchens and clean ROMs, and then I can max out my upload bandwidth! :D
[Wing, P4350 ROM development] N3xt2N0N3:
wow that would be great...it would be like your updating these kitchens with the new software
[Wing, P4350 ROM development] l3v5y:
I'll do the Prophet one first and see where it goes from there...
[Wing, P4350 ROM development] ivanmmj:
I'm assuming your base XIP has files and the newer XIP's have modules instead? That tends to not work for me, either.
[Wing, P4350 ROM development] l3v5y:
Yes...

Although, I tried with the modules converted to files, but that didn't work either...
[Wing, P4350 ROM development] ivanmmj:
Converting never works for me either. You have to get a base that is all modules already. I'm not 100% sure how to fix it, so this is really just a cheap work around.
[Wing, P4350 ROM development] l3v5y:
Cr**... Now to go and download ROMs in search of the "good XIP"...
[Wing, P4350 ROM development] PURESKILLZZZ:
Congrads on becoming a mod mate .......
[Wing, P4350 ROM development] speedblaster@yahoo.com:
in Lesson 5, II.How To Port an SYS folder, i'm confused on what is referd to the old SYS folder and which one is the NEW one.

By the way, the tutorial works great, thanks. Help is greatly appreciated.
[Wing, P4350 ROM development] ivanmmj:
Sorry for the confusion. The Old SYS folder is the one that came out of the stock ROM that you took the OEM from. The New SYS is the one you are trying to port.

^_^ Great to hear!
[Wing, P4350 ROM development] l3v5y:
I've just noticed that if I extract a XIP from an OS.nb, and then use dumprom to dump it, I always get files (rather than modules) but if I use XIP port, and turn it into packages, I always get modules...

Could this be the cause of some problems with XIP porting?
[Wing, P4350 ROM development] ivanmmj:
I might repost this whole kitchen, but this time make it a thread that only I can post in and make this the question and answer thread. The reason is that I feel like starting a new ROM from scratch with a goal of getting 80MB free... no promises, though. I just figured that I might as well chronicle the voyage and it would serve as a class.
[Wing, P4350 ROM development] N3xt2N0N3:
that would be good in one sense but bad in another...since we all have started this one and stopped at your latest lesson which is 6...its going to leave us with an incomplete rom.

I say wrap this one up first than do the other one...i dont just my opinion.
[Wing, P4350 ROM development] ivanmmj:
No, I will be copying the first 6 lessons. It will just be a continuation of this. Except that I will not be using the same ROM base as you guys. Besides, practice makes perfect. For every ROM you release, you will create 4 or 5 on average. :p
[Wing, P4350 ROM development] pseudoproto:
I like that, I've been waiting for the last lesson so that I could copy all seven and work concurrently without having to wade through all the other posts.
[Wing, P4350 ROM development] ivanmmj:
If you look through the second post, you'll notice that I've conveniently set them up with links.
[Wing, P4350 ROM development] pseudoproto:
Aaaaah......you made it too easy. That's what I get for always going to the last page first. :D
[Wing, P4350 ROM development] PURESKILLZZZ:
I see you are on top of things teach ....
[Wing, P4350 ROM development] Noonski:
Any Change Quest Lectures for Lesson 7 are Accepted?

"Using Advanced Techniques to Cook a Clean Rom and getting rid of Autoshortcut.exe, initflashfiles, and loose PROVXML files to fix non stickie registry settings"
[Wing, P4350 ROM development] illi:
I have cooked a ROM (http://xdaforums.com/showthread.php?t=420396) and now I want to improve this ROM by removing the rgu and unnecessary files. Any help would be much appreciated. (Had serach for answers but couldnt find any or I may have missed it)

Thank you.
[Wing, P4350 ROM development] l3v5y:
AutoShorcut can be removed straight off... Just delete the OEM pack.

The provXML files that setup autoshortcut (the ones in every RAPHAEL_PACKAGE... OEM pack) have to have the data transfered either into initflashfiles.txt, or into initflashfiles.dat.

The provXML files have

<parm name="\Windows\ARLEHELP\CloseBook.bmp" value="\Windows\CloseBook.bmp" datatype="string" translation="install"/>

The parm name is the resultant file path, and the value is the current file path.

So, the above would become

Directory("\Windows\ARLEHELP"):-File("CloseBook.bmp","\windows\CloseBook.bmp")

in initflashfiles.
[Wing, P4350 ROM development] PURESKILLZZZ:
When is class going to resume ??????
[Wing, P4350 ROM development] Noonski:
Hey i said getting also rid of iniflasfiles.txt ;)

RGU

[HKEY_LOCAL_MACHINE\Software\Mortinstall\LNK]
"CommManager0409.lnk"=dword:1

Install Mortscript

if (RegRead( "HKLM", "Software\Mortinstall\LNK", "CommManager0409.lnk" ) eq 1)
CreateShortcut("\Windows\Start Menu\Programs\CommManager.lnk","\Windows\CommManager.exe")
CreateShortcut("\Windows\Appbuttons\CommManager.lnk","\Windows\CommManager.exe")
Else
WriteFile("\Windows\Appbuttons\CommManager.lnk", "99#""\Windows\wrlsmgr.exe""?shellres.192.dll,-13999")
WriteFile("\Windows\Start Menu\Programs\CommManager.lnk", "99#""\Windows\wrlsmgr.exe""?shellres.192.dll,-13999")
EndIf
[Wing, P4350 ROM development] PURESKILLZZZ:
Thats a valid addition ... What do you have on your wizard as the fields in your signature are empty ???
[Wing, P4350 ROM development] ivanmmj:
As it stands, I haven't gotten a good night sleep in a while, my homework is all late, I'm behind in my service learning hours, and my finals are coming up... Oh, and I'm getting married in 5 weeks and have to start moving in two weeks.... sooooooo, not any time soon... I'm stressed out, tired and just flat out exhausted.
[Wing, P4350 ROM development] Noonski:
Good eye need to fill that in indeed.

As for the more advanced MortCooking Method i had that explained here:

http://xdaforums.com/showpost.php?p=2887990&postcount=74
[Wing, P4350 ROM development] PURESKILLZZZ:
Well once again congradulations . Even tho I wont be there as I never recieved an invitation . But make sure I get the pictures. MAybe Levy & Noonski can continue or fill in for the next lesson as both seem very technical.. But anyways mate you know I am always here for you and we will wait paitently for the next lesson .......

AAhhhhh A sweet thread .... I also look forward to seeing what you do with your toy ....
[Wing, P4350 ROM development] l3v5y:
The only issue with that method I can see is that you need mortscript installed in the ROM for it to work - on older devices, it takes up space, and the majority of ROM users don't use it.

If I can be bothered in the future, I might write a startup program that handles the initflashfiles, autorun and maybe even replaces UC, and if I can get it to work, delete files/change file attributes (the rest I have working crudely, and slowly)...

Congratulations ivanmmj!
[Wing, P4350 ROM development] PURESKILLZZZ:
What you mean f you can be bothered ... You mentioned it I want to see it ... So whas good guy ? Havent seen you on aim lately ...
[Wing, P4350 ROM development] apathetic:
Sounds just like me (except for the getting married part, wont do that again :) And I just moved back to Fort Lauderdale so not happy with that. Thanks for this and good luck. And is there a way you can take all your lessons and put them in one post, it might be easier to do them. I've been on here for months and on here every night for a few days and the posts are really hard to tell what is what some times. I still have yet to flash anything because of that.
[Wing, P4350 ROM development] PURESKILLZZZ:
There are a lot of noob guides mate ...
[Wing, P4350 ROM development] apathetic:
Yes I know and I have read them all and it is why I know where you are from and most of everyone else and all sorts of facts about you all that I really did not need to know at this point (oh and I am not being a **** in any way by saying that). I was not asking for help just saying that it would be easy if everything was in order. So much I could say on this but it's not the place; I just think it would cut down on the same posts over and over again I had to go thru to get to what I needed. Although it did help me to see who to actually watch and who actually helps, who is friendly and etc.
[Wing, P4350 ROM development] l3v5y:
One issue with trying to combine everything into one post is that there is a limit on the size of posts (character wise). Maybe transferring it all to the wiki would be helpful, but then comments would be harder to insert, and the guide may be "sabotaged"...
[Wing, P4350 ROM development] l3v5y:
I have a large number of small applications that are rather buggy and all of them need to be run to get it to work...

I haven't been on aim much... I may be on later tonight though...
[Wing, P4350 ROM development] ivanmmj:
Read post 2. I have everything linked on that post. (It seems that no one ever sees that post... or reads it if they see it.)
[Wing, P4350 ROM development] apathetic:
Oh really? From all of my reading I noticed a limit on a few things but I either did not read or did not get that there was a limit to a post :( Not cool considering the type of forum :( but oh well. And I have heard about the wiki but not browsed it yet. Well maybe a new thread only he can post in. I did all of what he said and I don't know wtf I did but now that I have been doing things myself on a real phone I might understand it better so I might just copy all of the instructions and make .doc file for my self. And back to this thread: I noticed he mentioned two members taking this over (maybe) and I seen one of those names post something shortly after. Any news about that?

*EDIT* / he mentioned that two members Could take over, not might take over. It's my bday so I am a bit hammered right now sorry.
[Wing, P4350 ROM development] ivanmmj:
Read post #2... And click on the links... it has DIRECT links to each post that you need...

And happy bday.
[Wing, P4350 ROM development] PURESKILLZZZ:
Well happy b-day . I hope you enjoyed it ... Hit me up on aim i have a tech / chatroom ... All are welcome to chat and help others.....
[Wing, P4350 ROM development] apathetic:
Ahhhhhhh yes it does. I am sure I seen it the first time, but after lesson one I must have forgot it was there and then scrolled down to 2 and so forth and never went back. And thank you, one of the places I am going is Miami for a fetish party w/ mechanic theme. Hopefully it is not lame.
[Wing, P4350 ROM development] apathetic:
Thank you and will do. And lol "Interests

flying helicopters " so random I do not think I have seen that one until now.
[Wing, P4350 ROM development] xxxjoeshmoxxx:
Help me please!!!

Ivan, first off, good job on the clean rom. I love it. I want to make my own "Clean ROM" with windows 6.1. However, in lesson 2, i get stuck where i'm supposed to extract the renamed "windows.nb" to "os.nb". I renamed and copied it over to the correct folder, but when I run the dump batch file, it doesn't find it. Please help. Am I doing something wrong? Once again, thank you for making the clean windows mobile 6.0 rom.

In case you needed to know, i'm trying to "clean up" the tmobile wing windows mobile 6.1 rom. thanks.
[Wing, P4350 ROM development] ivanmmj:
You copied the os.nb to which folder? Also, are you using the stock Hypercore or the one I modified?

Make sure it's set to Herald as a device.
[Wing, P4350 ROM development] xxxjoeshmoxxx:
It says that the device is herald. I placed the file in the HyperCore\Extract\Source folder as you specified. And I'm using the kitchen you created.
[Wing, P4350 ROM development] ivanmmj:
Where is your Hypercore folder? It HAS to be on your desktop. And the Core folder HAS to be in your main drive under the root directory.
[Wing, P4350 ROM development] xxxjoeshmoxxx:
That's where I have them. :( It's a frigg'n mystery why this isn't working. I know you are already busy with the "JustStable" project. Any chance for you to make a clean Tmobile 6.1 rom?

For whatever reason, its not finding the os.nb file in the source folder. I even updated my .net stuff to the most current build. *sigh
[Wing, P4350 ROM development] Ashokav:
Thanks a ton
[Wing, P4350 ROM development] AF1969:
ROM for ZTE N61

Dear ivanmmj

I have a pda ZTE N61 (http://xdaforums.com/showthread.php?t=525813) and I whant cook a rom for my PDA.

But I don´t have a fresh rom for this pda.

What can I do?

Thank you
[Wing, P4350 ROM development] ivanmatz:
Greetings ivanmmj I just wanted to know can I make an Elf(in) ROM with your way of cooking.
[Wing, P4350 ROM development] ardeleanumihai:
thanks a lot ivan for this thread :love: hug:
[Wing, P4350 ROM development] PURESKILLZZZ:
Well you are up my alley ... I have worked and played on every o/s platform on the planet. Now routers are like the back of my hand and configuring them is more of a game that a test . Its good to meet a good tech supporter . I sale it for 99cents a minute on ebay ... but only to end-users had a company try to sucker me into workng for them at those prices ... LOL

Here is my present mobo set-up ......
[Wing, P4350 ROM development] N3xt2N0N3:
i cant wait for the fool lesson
[Wing, P4350 ROM development] PURESKILLZZZ:
fool lesson ???????
[Wing, P4350 ROM development] ivanmmj:
I want your monitor setup!! I'm much too poor to have more than one monitor. (Well... one of my 21in CRT died and the other 21in was taking too much space and electricity, so I'm stuck with a lowly 19in Widescreen LCD.) I'm glad to meet a geek in general. ^_^

Oh, and he probably meant "full" lesson. :-) It's coming soon.
[Wing, P4350 ROM development] PURESKILLZZZ:
thanks ..... Well actually that picture is missing the new printer from epson the rx680 thats the old one the rx580. I have 8TB of hard drive space so I collect a little bit of everything. All roms, software, cabs and files I downloaded from this site I still have to this day ..... Funny thing is I have been on this site reading and downloading longer than I was a memeber ... LOL
[Wing, P4350 ROM development] ivanmmj:
lol. Same here. (With the member thing.) I only use my brother 2070N laser network printer as I rarely print in color and my color printers' cartridges tend to dry out before I use them. All my harddrives died recently so right now I only have 160gb of storage.... *cry*
[Wing, P4350 ROM development] PURESKILLZZZ:
All ?? OUCH ..... I feel your pain ... I had such an event not too long ago and it was murder to me .. bloddy murder to be more exact . Luckily most was backed up on dvd but still was a bi blow .... Now I change all drives at least once a year or more.
[Wing, P4350 ROM development] ivanmmj:
Lesson 2: Breaking it down OEM style

Welcome to Lesson 2. Today, we will learn how to decompile a ROM using Hypercore. This will serve us in two ways.

1. You'll understand how to decompile a ROM and obtain files from it.

2. You'll be able to get started building your own OEM folder. This OEM folder will be the basis for every ROM that we will be building in these lessons.

To begin:

Go here and download the Hypercore.7z file. You'll need 7Zip in order to open the file. Uncompress the hypercore folder into your desktop. Uncompress the Core folder into your main drive (C for MOST people.) These are my personal folders so you'll get more tools, fixed batches, correct settings for the Herald... and probably some random junk.

Here is where the fun starts. Start by grabbing a base ROM. You can use either Tmobile's Wing ROM or HTC's Herald ROM. I'm sure you can find a copy somewhere...

If you've downloaded 7zip, you should be able to right click on the RUU file and extract it somewhere. You'll notice that one of the files is named RUU_signed.nbh. This is a ROM in its NBH format.

Extracting the files in your NBH.

Go to your newly created HyperCore folder, open up Tools, then NBH_Tools_v1.1.

On the first tab, you will notice one and only one button... Press it.

Search for your RUU_signed.nbh file and click Open.

Save the files somewhere.

As you can see... this isn't rocket science.... yet.

Blind Date with HyperCore

Just to tell you a few things about HyperCore:

You will be working with the HyperCore folder. The Core folder includes all the things that are done in the background. Don't touch it.

The Panel folder holds most if not all the batch files that make the kitchen possible.

The Build Folder is where you'll find your OEM folder once we're done with the next step.

Extracting your files

Find Windows.nb in the folder you just extracted everything to.

Rename this file to os.nb

Copy the os.nb file to your HyperCore/Extract/Source folder.

Go to HyperCore\Panel\Extract and launch DumpRom.

Press Enter and wait...

With any luck, you'll see:

Press 1 then Enter to Start the Package Tool. Press Enter again. Then 3 and Enter to do it manually.

Go to File, Open, open your HyperCore\Extract\Dump folder.

Click on Tools, then Build Packages but do not close that window.

Rename the Dump folder into Packages and then close the Package Tool.

Press 4 to move your OEM and SYS folders. Press N to bypass making a backup.

That's it. Now you have your very own OEM folder to play with. You can discard the SYS and ROM folders, as we will not be using them in this class. The next lesson will teach you about the OEM folder, what it does, how to clean it up, etc. Then we will be downloading our other kitchen. Bepe's kitchen... or maybe my own EasyBakeOven... anyhow, it's late and the only reason I'm still up is because I promised you guys a lesson. It might not be pretty, but it will get the job done. Maybe I'll fix it up and rewrite it later when I'm fully awake. lol
[Wing, P4350 ROM development] PURESKILLZZZ:
Sweet Lesson ...... Already made a folder for it and all files .....
[Wing, P4350 ROM development] CommZ:
Sry, the "here" link is dead.
[Wing, P4350 ROM development] ivanmmj:
hehe. I'm STILL awake.... it's 5:30am... I should go to sleep... but I almost feel like making lesson 3 just because of your comment. :-p

Oh oh... I hope I didn't kill his server...

EDIT: Link fixed.
[Wing, P4350 ROM development] PURESKILLZZZ:
Let me know if you want to use my ftp server mate .... Also the long awaited review of your rom is done .... I am upset that zcink didnt tell me ...... Its 5:49am here .. Where are you located mate ????? I am in nyc ......
[Wing, P4350 ROM development] CommZ:
Heey, the nbh tool 1.1 doesn't work for me...intitialization failed :mad:

Aren't some libraries required? I reinstalled my XP yesterday, so I may have some important libraries missing.
[Wing, P4350 ROM development] PURESKILLZZZ:
Just tested it working quiet fine .....

Edit : didnt click this page before ....
[Wing, P4350 ROM development] PURESKILLZZZ:
http://xdaforums.com/showthread.php?t=384519

goto post #14 .... you can download that tool with others there.....
[Wing, P4350 ROM development] CommZ:
Dl'ed it and it is the same - initialization error.
[Wing, P4350 ROM development] N3xt2N0N3:
great instructions word for word thanks a million
[Wing, P4350 ROM development] ivanmmj:
Make sure you've install .NET2.0.
[Wing, P4350 ROM development] CommZ:
Thanks, that's what I needed to know.

You just should say what is the corret result of this lesson. I guess the rom content should be /HyperCore/Build. I have cca 55 MB of stuff there, but most of it (53,3) is in Missing folder, which makes me feel uneasy. Btw, I'm toying with your Just2Clean (I hope it will work - I like it, I just would like to add some stuff like Office there to make it flashable through RUU. Tell me if I'm wrong pls).
[Wing, P4350 ROM development] ivanmmj:
The only folder we want to play with is the /HyperCore/Build/OEM folder.

If you want to use my ROM, I have to give you the actual kitchen files. My ROM is not extractable this way. The point of this lesson is to teach you how to extract your own OEM folder. OEM folders are a HUGE part of what a ROM is and are almost like a cook's signature. I want everyone to learn how to create their own.

I will release my own kitchen files later as well, but for now, I want everyone to use a STOCK OEM folder because you're forced to learn how to clean it, deal with all the junk and stuff that all cooks SHOULD go through to learn how ROM cooking really works. This is not going to be a "baking" class, this is a full fledged cooking class. You will be graduating as a full cook and in the long run will be taking over people like itje, Ttran and me. We'll retired eventually...

For now, when I get home, I'll upload the Just2Clean kitchen files so you can at least add Office and stuff to it if you wish to. You are not to rerelease it as your own ROM, though. I am going to act like a real teacher. You have to work towards that goal. :-p
[Wing, P4350 ROM development] PURESKILLZZZ:
I am with you boss . Thats the best way to learn .....
[Wing, P4350 ROM development] CommZ:
Now it is clear :) I just thought you would lear us how to extract a ROM and manipulate its file structure and pack it back. Sorry for being rebelious pupil :D
[Wing, P4350 ROM development] PURESKILLZZZ:
HE is teaching we are learning .... Maybe you just want more lessons ... LOL ..
[Wing, P4350 ROM development] ivanmmj:
This WILL be learned. Be patient, grasshopper. Be patient.

:-p

I think for the next lesson, I will teach you all there is to know about the OEM folder. There's quite a bit, too, as this includes the drivers, the apps, all the "customization", etc... I won't show you how to edit it, just yet, though... first I will show you how to use Bepe's kitchen or my kitchen to put a "stock hybrid 6.1 ROM" together. Then I will show you how to manipulate the file structure. All in due time.
[Wing, P4350 ROM development] PURESKILLZZZ:
Oh master we are not worthy but we must prevail to get thru all your lessons ... LOL
[Wing, P4350 ROM development] N3xt2N0N3:
lol great stuff
[Wing, P4350 ROM development] PURESKILLZZZ:
Thanks ..... LOL !
[Wing, P4350 ROM development] ivanmmj:
Good, now fetch me a large pizza: pepperoni, green peppers and extra cheese, a large glass of orange juice and my fuzzy slippers! Then and ONLY then, you shall have lesson 3 ready. :p
[Wing, P4350 ROM development] PURESKILLZZZ:
Well if you are close I would gladly buy you those things and pick you up a pair of fuzzy slippers ..... I amin nyc mate ...... But you bring the ladies ....
[Wing, P4350 ROM development] N3xt2N0N3:
lol i would bring the ladies im in nyc too
[Wing, P4350 ROM development] ivanmmj:
I'm in florida, and my fiancee would probably not appreciate the ladies... Then she wouldn't let me cook anymore. lol
[Wing, P4350 ROM development] pseudoproto:
Stay away from the ladies.....at least until all the lessons are done.
[Wing, P4350 ROM development] ivanmmj:
lol. I'll be sure to do so.
[Wing, P4350 ROM development] PURESKILLZZZ:
OK ... No ladies for you ....... Just cooking ... LOL .. And I have 3 wings in my possession time to flash them ......
[Wing, P4350 ROM development] nordika:
Hi you all Great and future chiefs.

Here's my question, call it stupid, but need to know if this cooking lessons only apply to Wizard or if the same may be applied to my device (Artemis).

As far as I can see they both share the same specification: OMAP 850, 64MB Ram ....etc, etc..

Can I join this class, or shall I join some other?

Thanks.
[Wing, P4350 ROM development] ivanmmj:
This isn't for the Wizard. It's for the Herald. The herald and the Artemis are almost the exact same device, so as long as you use the Artemis version of Bepe's kitchen and the the Artemis ROM for the OEM, you should be fine. :-)

EDIT: You'll have to edit one file in my HyperCore package. Change it from Herald to Artemis compatible... the ACK folder within the CORE folder. It has a device file, edit that.

EDIT2: Oh, yea, and the Artemis also has the GPS radio, I believe.
[Wing, P4350 ROM development] PURESKILLZZZ:
How long on lesson 3 chief ???