View Full Version : Kitchen Tools Source Code Request
mattk_r
7th July 2007, 11:38 AM
I'd like to get my hands on the source code for the kitchen tools that we're using. I'm posting it here because 1: It has the most traffic, and 2: It applies to the WM6 kitchens.
Specific applications are:
BuildOS.exe and nb2nbf_wizard.exe
I want to write a seamless user-interface that gives a single point of access to perform all the tasks that are manually executed now and include safety checks to prevent operator error.
The current process is:
Run BuildOS
Select packages
Click Green Arrow
Close BuildOS
Run CreateROM.bat
Close CreateROM.bat cmd window
Run nb2nbf_wizard.exe
Select Language
Select output file locatoin
Select OS
Select OS file name
Select OS image name
Select OS Start Address
Select Translate
Exit nb2nbf_wizard.exe
After accessing these three different programs, THEN you can run the flash utility.
I'm not complaining in any way, shape or form. I think the people that developed these tools did an excellent job, and gave us all the tools to customize our hardware.
In case the question comes up, batch filing the process helps, but it still leaves a lot to chance. I prefer to keep the process within a single executable.
Being that I'm an automation controls engineer and have been programming manufacturing automation for the past 10+ years, I think this process has a LOT of room for improvement, and hope to offer my services to do so.
It doesn't matter what language it's in, be it C++, C#, or VB (any flavor).
FYI - I had contacted bepe directly about BuildOS but he didn't think my needs were a vaild reason to get a copy from him. Maybe someone here can help out.
Please post or PM if you can assist.
Matt
anichillus
7th July 2007, 01:07 PM
In my kitchen i made some batch files with intensive error checking. Of course you'll have to press the green arrow...but all the process is autmatised.
I think all the tools are out there, and if you have just a little brain, it won't be difficult at all to use them. I don't understand why you want to make this even easier than it is. Surely that will raise more and more questions.
I would suggest making a ROM that asks you what you want to install (programs) when you first flash it...something like PC windows ... where user has the smallest amount of control over the installation rather than turning all this cooking deal into "press one button and you'll have your own home made rom" :)
Just my opinion. But i will help you as much as i can. Though i don't have extensive knowledge on programming, but i have friends that do.
Whiterat
7th July 2007, 03:09 PM
mattk_r:
I'll send BuildOS source when I next see you online. (gotta love .net langs hehe)
EDIT:
But dont share it ;)
Bepe obviously has reasons for not wanting to give the source out, so I will try not to tread on his toes too much.
nottoosmart
7th July 2007, 05:59 PM
Someone along time ago suggested a web interface for this function. It used to just ask what you wanted in the os then build and pack for you. then you downloaded an exe that would flash your phone. Why not bring that back matt. lol
mattk_r
7th July 2007, 07:08 PM
Someone along time ago suggested a web interface for this function. It used to just ask what you wanted in the os then build and pack for you. then you downloaded an exe that would flash your phone. Why not bring that back matt. lol
HTML wouldn't be a bad idea, but somewhere there will have to be a server to execute the build process, etc. I've got a Longhorn Server running .NET 3.0, but I just use it for testing Exchange Server and hosting a few sites. It doesn't have enough power / capacity to scrath the surface.
"press one button and you'll have your own home made rom" :)
No worries here. You'll stil have full control, but everything will be much more "user friendly". I'll be sure to have you in the beta test :)
mattk_r:
I'll send BuildOS source when I next see you online. (gotta love .net langs hehe)
EDIT:
But dont share it ;)
Bepe obviously has reasons for not wanting to give the source out, so I will try not to tread on his toes too much.
No worried there. I am happy to share community work, but no further ;)
schaps
17th July 2007, 01:22 PM
I am looking for the BuildOS source code since a long time, I also tried to develop an all-in-one user interface for ROM kitchen (http://forum.xda-developers.com/showthread.php?t=304461), but unfortunately I didn't have enough resources to be able to build packages, so I gave it up...
I asked Bepe for the source code of his tool but I never got any answer, I also tried to disassemble BuildOS but there are still missing or unclear parts in the code, and I can't do anything without that.
Now I care of the localized WM6 ROMs for Hermes, I developed my own system for ROM localization process but it's a pain that I have all the time to manually build the ROMs, integrating OS building process would save me a lot of time!
Could someone give me the source code of BuildOS, that's really important to me, but don't worry I won't give it to anybody, I understand that Bepe doesn't want to share his source and I have also a lot of respect for his great work!
Thanks in advance.
I would be glad to help in building a user-friendly interface for ROM kitchen, as you know I already thought about it, there are powerful tools on XDA-Devs but each developed appart, so I think it's time to gather all that work to make something more complete, user-friendly, fast and easy to use!
nandlal_mk
17th July 2007, 07:55 PM
Hi schaps
Not sure, but some guys from ppcgeeks may help u for sorce code of BuildOS.
contact vboyz103 in ppcgeeks, he made nice simple utility 'OEM Helper'.
ND4SPD
17th July 2007, 08:10 PM
I am looking for the BuildOS source code since a long time, I also tried to develop an all-in-one user interface for ROM kitchen (http://forum.xda-developers.com/showthread.php?t=304461), but unfortunately I didn't have enough resources to be able to build packages, so I gave it up...
Nice ROM kitchen! A lot better than the one I've made! See thread: http://forum.xda-developers.com/showthread.php?t=317508
btw, what did you use to disassemble BuildOS? I have a disassembled version of it and PKGTool using Dis# but am not going to use either of them without any permission. That's why my kitchen just calls those programs
schaps
17th July 2007, 09:18 PM
Hi schaps
Not sure, but some guys from ppcgeeks may help u for sorce code of BuildOS.
contact vboyz103 in ppcgeeks, he made nice simple utility 'OEM Helper'.
Sorry but I'm not looking for a tool to create packages, which is the easiest part to do, but I would like to build the OS ROM from packages, which is the purpose of BuildOS.
schaps
17th July 2007, 09:35 PM
Nice ROM kitchen! A lot better than the one I've made! See thread: http://forum.xda-developers.com/showthread.php?t=317508
btw, what did you use to disassemble BuildOS? I have a disassembled version of it and PKGTool using Dis# but am not going to use either of them without any permission. That's why my kitchen just calls those programs
I tried with various disassemblers, excepted this one that I don't know! I also don't want to release my tools without any permission, but it's for my personal use, to improve the development of my next releases, what's more it would help me to understand better this mysterious part of the ROM kitchen!
tekknogenius
17th July 2007, 09:48 PM
One option that would be nice in BuildOS is to have the ability to save the configuration (especially since you won't know if it's too large until you run the next step, or is some cases until you try to flash).
Actually, way back in the XDA I days there were kitchens that ran on Linux (php web page, tools ran in Linux) that calulated the space while selecting the various software options to include. That was nice becuause one see how much space was left to cook with and how much space each application would use.
Anyway, I'd like to be able to save the current "recepie" at least.
ND4SPD
18th July 2007, 04:21 AM
I tried with various disassemblers, excepted this one that I don't know!
Here are some links:
http://www.itshareware.com/prodview-code_4822--download-dis-net-decompiler.htm (this is for the dis# I mentioned)
http://www.remotesoft.com/salamander/index.html this is a java based decompiler
between the two trial versions of these programs, i was able to decompile the vital parts of BuildOS. All I had to do is reconstruct the easy missing parts but I think I still have a few missing as I tried to convert VB.NET to VB which I know.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.