PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Vogue Development (http://forum.ppcgeeks.com/forumdisplay.php?f=59)
-   -   How to Customize a Custom Rom: Adding/Removing Programs (http://forum.ppcgeeks.com/showthread.php?t=25529)

rstoyguy 07-10-2008 09:04 AM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Quote:

Originally Posted by Brock1909 (Post 342362)
ok thanks, i removed the bad file. i didnt get the error when it built. flashing now, hope it works.
first flash, build didnt work, stuck on 2nd splash of my previous build (ppcktchen build)
doing number 2 now, hope it works. nope. still getting wrong thing....dang!
try number 3, still stuck at 2nd splash screen...

also on the RUU it says i am updating to image version: 1.12 latti ??

Remember when I asked if there were .hv files? :) If the .hv are not present, it is a good indicator that the rom was built with the ppckitchen, and those you can't rebuild and flash using this method. Don't know why, you just can't.

and the 1.12 latti...you can change that, it is in ..\kitchen\tools\vogue_nbh.txt

Brock1909 07-10-2008 11:41 AM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
I see. so is there a way for me to import his drivers and stuff into the kitchen ?
maybe import the nbh file and only select what I want?

rstoyguy 07-10-2008 12:10 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Quote:

Originally Posted by Brock1909 (Post 342665)
I see. so is there a way for me to import his drivers and stuff into the kitchen ?
maybe import the nbh file and only select what I want?

Without advanced knowledge, you would have to ask the chef...

Brock1909 07-10-2008 04:57 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Quote:

Originally Posted by rstoyguy (Post 342708)
Without advanced knowledge, you would have to ask the chef...

geeze why is this so difficult for me haha

rstoyguy 07-10-2008 06:50 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Quote:

Originally Posted by Brock1909 (Post 343070)
geeze why is this so difficult for me haha

Chefs spend many hours developing their techniques, drivers, screens and what not. My experience has come from decompiling and playing around with countless roms since I got the bug, in January of 2008. I am willing to share my knowledge, but your general question about drivers and stuff...That's the whole rom er shall I say the soul of the chef. Keep reading and searching. You'll gain the knowledge soon enough!

Cobaltikus 07-19-2008 12:26 AM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
I have some OEMs (no cabs unfortunately for me) that I'd like to add to No2Chem's latest Titan rom [nueROM 2.2-5770-pre8] but since he has not graced us with a corresponding kitchen as of yet, I have been trying your method but I have not been successful. Do you know if your method should work on No2Chem's roms? Is there hope? He does have an AWESOME program built in that will install OEMs after the rom has already been flashed! But alas, it does not work on all OEMs. I also tried a program called WinCE Cab Manager to try and convert the OEMs to cabs but that did not work either.

jakdillard 07-19-2008 12:44 AM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Quote:

Originally Posted by Brock1909 (Post 343070)
geeze why is this so difficult for me haha

the ROM that you are using may be missing the .rgu file the vogue kitchen tools are not designed to decompile all roms some chefs use different techniques and tools to cook roms

notrock 07-19-2008 12:07 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Great info.

Videonut 08-09-2008 01:01 AM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
I just followed your guide and decompliled the voguimg.nbh from the new Bell Rom
The only part I'm worried about is after extracting the original .exe it contains some other files that look important. LaunchPPST.exe, PPST__.CAB, Special_4350_For_BM.NBH, TM31402.prl and maybe UI.dll
Any suggestions as to how to handle these files when rebuilding a new rom.

rstoyguy 08-09-2008 07:21 AM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Quote:

Originally Posted by Videonut (Post 376949)
I just followed your guide and decompliled the voguimg.nbh from the new Bell Rom
The only part I'm worried about is after extracting the original .exe it contains some other files that look important. LaunchPPST.exe, PPST__.CAB, Special_4350_For_BM.NBH, TM31402.prl and maybe UI.dll
Any suggestions as to how to handle these files when rebuilding a new rom.

Those files are not necessary except when you flash the whole package initially. With this tutorial, the only one you really need to be concerned with is the .nbh file out of the release .exe. If there are two .nbh files inside, then select the larger one of the two. I'll check it out as well..

Edit: You want to use VOGUIMG.nbh...Executing the new .EXE will upgrade your radio, prl and rom. Do this before flashing/playing with a custom rom from voguimg.nbh.

rose1 08-09-2008 08:37 AM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
How do you add/edit the startup splash images and startup animation?

rstoyguy 08-09-2008 09:14 AM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Quote:

Originally Posted by rose1 (Post 377104)
How do you add/edit the startup splash images and startup animation?

Follow this tutorial by dereknjenny04 to change the boot/splash screens. Doing so will be like hard resetting your device...

You can change the animation by replacing this file: \windows\SPCS_startup.gif using resco file explorer. (this will allow you to overwrite the system file)

Videonut 08-09-2008 10:50 AM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Quote:

Originally Posted by rstoyguy (Post 377075)
Those files are not necessary except when you flash the whole package initially. With this tutorial, the only one you really need to be concerned with is the .nbh file out of the release .exe. If there are two .nbh files inside, then select the larger one of the two. I'll check it out as well..

Edit: You want to use VOGUIMG.nbh...Executing the new .EXE will upgrade your radio, prl and rom. Do this before flashing/playing with a custom rom from voguimg.nbh.

Thanks for the info. I had figured that the radio was the special_4350_for_BM.nbh.
The files refering to ppst were concerning me since I want the ppst available in my new rom.
So I did use the voguimg.nbh and added a few oems and reflashed and as it turned out PPST.exe still installs at the "customization in 3 sec" portion after the flash.

Don't suppose you know what part of the stripped rom contains the after boot customizations?

BTW as I said b4, this tutorial of yours is really good.
Thanks

rstoyguy 08-09-2008 10:55 AM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Quote:

Originally Posted by Videonut (Post 377192)
Thanks for the info. I had figured that the radio was the special_4350_for_BM.nbh.
The files refering to ppst were concerning me since I want the ppst available in my new rom.
So I did use the voguimg.nbh and added a few oems and reflashed and as it turned out PPST.exe still installs at the "customization in 3 sec" portion after the flash.

Don't suppose you know what part of the stripped rom contains the after boot customizations?

BTW as I said b4, this tutorial of yours is really good.
Thanks

Don't have the "Brain" with me, but it should be ..\OEM\OperatorPKG_PT. And thank you for the compliment. I was a complete noob once and wish I had them then...

Videonut 08-09-2008 11:06 AM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Quote:

Originally Posted by rstoyguy (Post 377200)
Don't have the "Brain" with me, but it should be ..\OEM\OperatorPKG_PT. And thank you for the compliment. I was a complete noob once and wish I had them then...

Good call. Directory had some of the files that run during "customization" and a config.txt that showed all the programs installed during "customization" including ones not in that directory.
ppst.exe wasn't in there but it shows that it runs from /windows so it's likely in another oem directory. doesn't really matter but it's good to see how the customizations work. I'm thinking that any program that is cabbed and can't be OEM'd easily could likely be added to the config.txt here.
Thanks

lllboredlll 08-15-2008 12:49 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
How do you edit the ROM version shown in the device info screen. I already know how to change the version in the boot screen (Dutty's NBH Tool) but have failed to figure out how to change it in the device information screen.

rstoyguy 08-15-2008 01:10 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Quote:

Originally Posted by lllboredlll (Post 383604)
How do you edit the ROM version shown in the device info screen. I already know how to change the version in the boot screen (dutty's nbh tool) but have failed to figure out how to change it in the device information screen.

set in most Sprint stock roms inside mxipupdate_zzPIED_100.provxml

or in the registry @
HKLM\Software\OEM
"ROMVersion"="RSTG 3.03 v1.04"

lllboredlll 08-15-2008 01:21 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Quote:

Originally Posted by Videonut (Post 377192)
Thanks for the info. I had figured that the radio was the special_4350_for_BM.nbh.
The files refering to ppst were concerning me since I want the ppst available in my new rom.
So I did use the voguimg.nbh and added a few oems and reflashed and as it turned out PPST.exe still installs at the "customization in 3 sec" portion after the flash.

Don't suppose you know what part of the stripped rom contains the after boot customizations?

BTW as I said b4, this tutorial of yours is really good.
Thanks

I know in the Titan ROM's that the 4350 file IS NOT the radio. The radio is merged in the RUU_signed.nbh. It's easily extracted with Dutty's NBH Tool.

isamu49 08-16-2008 05:11 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
after you run the pkgtool to extract your oem and sys it looks like you are leaving some files behind. might be why a straight recompile breaks some stuff.

QkSi1ver 08-21-2008 01:51 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Thanks Great post!

rstoyguy 08-21-2008 11:24 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Quote:

Originally Posted by QkSi1ver (Post 390049)
Thanks Great post!

Why thanks! It apparently has become my new mission in life to help everyone learn how to make their own rom! It's definately one of the most semi-affordable hobbies I've ever had... :) And fun...

denasqu 09-06-2008 11:55 AM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
OEM questions.

After you run prepit.bat and fill the SYS folder, are the SYS sub-folders actually OEM's?

I thought I could just copy some OEM's that I wasn't sure about from \SYS\{subfldr} to the OEM folder then have the checkbox option in BuildOS. But that doesn't seem to work.

I also tried to copy the same folders over to PPCKitchen USER_OEM but it didn't see them either.

So, I assume the decompiled SYS sub-folders are not OEM's. Then the question is.... what they hell are they??

Thanks

rstoyguy 09-06-2008 12:14 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Quote:

Originally Posted by denasqu (Post 405684)
OEM questions.

After you run prepit.bat and fill the SYS folder, are the SYS sub-folders actually OEM's?

I thought I could just copy some OEM's that I wasn't sure about from \SYS\{subfldr} to the OEM folder then have the checkbox option in BuildOS. But that doesn't seem to work.

I also tried to copy the same folders over to PPCKitchen USER_OEM but it didn't see them either.

So, I assume the decompiled SYS sub-folders are not OEM's. Then the question is.... what they hell are they??

Thanks

Yes, they are OEM's...but they have been partially incorporated into the rom already. Incorporated means they are missing:

1. option.xml (needed by buildos for them checkboxes)
2. initflashfiles.txt (incorporated into initflashfiles.dat)
3. GUID*.RGU (sometimes...) (incorporated into user.hv and default.hv)

So, without those components, their no good really.

So yes they are OEM's, but only Partial OEM's...A search over @ xda-developers and ppcgeeks you might find a whole OEM...

rstoyguy 09-06-2008 12:25 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
When you run BuildOS the following happens to the "stuff" in the OEM and SYS folders of your kitchen:

..\OEM directory:
1. Processes initflashfiles.txt
2. Processes *.RGU
3. copies files into the ROM

..\SYS directory:
1. Copies files into the ROM

A lot more goes on behind the scene, but that's in super-layman's terms. The above is why you want to put new OEM's into the ..\OEM directory, so BuildOS processes it correctly...

denasqu 09-06-2008 12:36 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Next question.... :)

I know you can convert a CAB to an OEM but what about converting an EXE to an OEM?

I have a few programs that I want to cook in (Calligrapher, Flexmail, etc.) that install from an EXE. I'm assuming there is no direct way to go from an EXE to an OEM...... BUT, when I install Calligrapher or Flexmail, I see the last step of the install is a display on my Touch something like "copying flexmail.cab to device".

SO, obviously there is a cab file for these programs, but apparently it is temporary, or maybe hidden? I guess the question then is how do I extract the CAB file from the EXE?

gguruusa 09-06-2008 12:43 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Quote:

Originally Posted by rstoyguy (Post 405727)
When you run BuildOS the following happens to the "stuff" in the OEM and SYS folders of your kitchen:

..\OEM directory:
1. Processes initflashfiles.txt
2. Processes *.RGU
3. copies files into the ROM

..\SYS directory:
1. Copies files into the ROM

A lot more goes on behind the scene, but that's in super-layman's terms. The above is why you want to put new OEM's into the ..\OEM directory, so BuildOS processes it correctly...


Nope. The sys dir is processed just like the oem dir.

gguruusa 09-06-2008 12:48 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Quote:

Originally Posted by denasqu (Post 405743)
Next question.... :)

I know you can convert a CAB to an OEM but what about converting an EXE to an OEM?

I have a few programs that I want to cook in (Calligrapher, Flexmail, etc.) that install from an EXE. I'm assuming there is no direct way to go from an EXE to an OEM...... BUT, when I install Calligrapher or Flexmail, I see the last step of the install is a display on my Touch something like "copying flexmail.cab to device".

SO, obviously there is a cab file for these programs, but apparently it is temporary, or maybe hidden? I guess the question then is how do I extract the CAB file from the EXE?

Correct...it's temporary. You have to "catch it in the act". Watch the AS/WMDC directoy, and you'll see the .cab appear and dissapear.

Those types of apps generaly have setup.dlls that are difficult to OEM too.

denasqu 09-06-2008 01:47 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Quote:

Originally Posted by gguruusa (Post 405766)
Correct...it's temporary. You have to "catch it in the act". Watch the AS/WMDC directoy, and you'll see the .cab appear and dissapear.

Those types of apps generaly have setup.dlls that are difficult to OEM too.

Hmmmm... sounds like you're saying it might not be worth the trouble... and probably not work.

I did find that the folks at PhatWare were nice enough to offer a CAB install for Calligrapher, but WebIS seems to be restricted to EXE for PocketInformant and Flexmail. Figures. Those are the most complicated apps to setup! :disgust:

Still, cooking my own ROM is going to be a cool way to stay up-to-date without spending a day reconfiguring my device everytime I upgrade.

denasqu 09-06-2008 01:51 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
PPCKitchen question...

I reallly like using OMJ's ROM but there a couple things I don't need and a few I do. But I really don't want to "re-invent the wheel" here. I know (or think I do) that if someone built there ROM with PPCKitchen then I just need their selections.txt .... and any unique OEM's I assume... but OMJ didn't use PPCKitchen. OMJ already said we could cannibalize his ROM.

Can PPCKitchen "decompile" an nbh like Doguy's kitchen? ... or is it just for building from scratch?

.... um, Mr.President, I have a follow up question....

Can the "decompilation" from Doguy be utilized in PPCKitchen?

Gracias... I'm almost done with my questions (for now) and ready to start cooking!

gguruusa 09-06-2008 02:57 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Quote:

Originally Posted by denasqu (Post 405853)
Hmmmm... sounds like you're saying it might not be worth the trouble... and probably not work.

Not saying that at all...give it a shot. You'll know rapidly if it's going to be bad. I'm only saying that's a bad omen - developers who do that tend to intentionaly complicate their installs.

Quote:

Still, cooking my own ROM is going to be a cool way to stay up-to-date without spending a day reconfiguring my device everytime I upgrade.
pre-made roms blow :)

gguruusa 09-06-2008 03:06 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Quote:

Originally Posted by denasqu (Post 405857)
PPCKitchen question...

I reallly like using OMJ's ROM but there a couple things I don't need and a few I do. But I really don't want to "re-invent the wheel" here. I know (or think I do) that if someone built there ROM with PPCKitchen then I just need their selections.txt .... and any unique OEM's I assume... but OMJ didn't use PPCKitchen. OMJ already said we could cannibalize his ROM.

Can PPCKitchen "decompile" an nbh like Doguy's kitchen? ... or is it just for building from scratch?

No. Just for building

Quote:

.... um, Mr.President, I have a follow up question....

Can the "decompilation" from Doguy be utilized in PPCKitchen?
YES! But I don't think rstoyguy is going to get into that. It's not hard...

denasqu 09-06-2008 04:01 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Okay I think I have enough info now that I can do some serious damage. :silent:

Time to go have a lie-down and seriously ask myself "why is it that you want to get into this?" LOL

rstoyguy 09-06-2008 04:23 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
I set up a rom like that way back when the Alltel gps rom first came out...If I remember right you setup the pointer in your selections.txt to point to a directory instead of an archive.

You know, there should be a "how to" forum in the Rom/OS Core Functionality or somewhere dedicated to the ppckitchen. That way we would have a place to discuss tricks like that and whatever else. I'm sure alot of users could use that, and a place to point noobs. I would be interested in knowing how to do this...I was told how back when, but it's buried in the ol' noggin somewhere...

gguruusa 09-06-2008 04:50 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Quote:

Originally Posted by rstoyguy (Post 405962)
I set up a rom like that way back when the Alltel gps rom first came out...If I remember right you setup the pointer in your selections.txt to point to a directory instead of an archive.

something like that. It's a trace more complicated now, but same general prinicple.
Quote:

You know, there should be a "how to" forum in the Rom/OS Core Functionality or somewhere dedicated to the ppckitchen. That way we would have a place to discuss tricks like that and whatever else. I'm sure alot of users could use that, and a place to point noobs. I would be interested in knowing how to do this...I was told how back when, but it's buried in the ol' noggin somewhere...
Wouldn't that be nice? :)

As we get stuff typed up, you can get it by poking the ppckitchen logo in my signature.

avhokie 09-15-2008 01:32 AM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
rstoyguy, thanks for all of the info. I'm a noob when it comes to cooking ROMs and this thread has been very helpful. Let me know if you ever find out why you can't use some previously cooked ROMs as the base for your method. I'd love to use the ROM found here http://forum.ppcgeeks.com/showthread.php?t=36924 as my base, but like some others here I just get to the second startup screen and it locks up. And I don't see any .hv files in my kitchen directory either...

rstoyguy 09-15-2008 07:39 AM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Quote:

Originally Posted by avhokie (Post 416120)
rstoyguy, thanks for all of the info. I'm a noob when it comes to cooking ROMs and this thread has been very helpful. Let me know if you ever find out why you can't use some previously cooked ROMs as the base for your method. I'd love to use the ROM found here http://forum.ppcgeeks.com/showthread.php?t=36924 as my base, but like some others here I just get to the second startup screen and it locks up. And I don't see any .hv files in my kitchen directory either...

I can tell by the base:

Quote:

Originally Posted by wdm
CE OS 5.2.20273 (Build 20273.1.3.3)
ROM Version: 3.09.666.1

This rom was made with ppckitchen's Kitchen, these cannot be used with this method. Ask whosdaman for his kitchen, if he'll give them up.

Funny, whodamans using the ppckitchen, yet he kept a "bell" numbering system.

avhokie 09-15-2008 02:05 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Thanks again, rstoyguy. I guess I'll try the PPCKitchen method for now until I get more comfortable.

nokry56 09-15-2008 11:28 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
I'm trying to customize WDM's Full ROM, and found that rather than using the OEM folder he used the SYS folder for a lot of his OEMs. What can I do to remove those? They are neatly divided into folders so I know what I will be deleting...

EDIT: nvm, reading the post above me now.

rstoyguy 09-15-2008 11:53 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Remember, Roms you run prepit.bat on, the user added OEM's will show up in the ..\SYS directory minus the RGU, initflashfiles.txt and option.xml files... :) I'm glad you found it!

Whosdaman 09-16-2008 07:08 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Quote:

Originally Posted by rstoyguy (Post 416237)
I can tell by the base:



This rom was made with ppckitchen's Kitchen, these cannot be used with this method. Ask whosdaman for his kitchen, if he'll give them up.

Funny, whodamans using the ppckitchen, yet he kept a "bell" numbering system.

I have an answer for that....I changed the version number, but it kept the Bell version number instead.....so idk, personally I put my name in my ROM's wherever I can :D, and the version was going to be one of them ;)


All times are GMT -4. The time now is 01:22 AM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0