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 09-16-2008 07:55 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
It just caught my eye... :) You can number it however you see fit, sprint does!

Whosdaman 09-16-2008 08:04 PM

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

Originally Posted by rstoyguy (Post 418877)
It just caught my eye... :) You can number it however you see fit, sprint does!

I know where to change it....but it doesn't change....idk why, but I might throw the regsitry in somewhere else just so it adds it to my ROM

rstoyguy 09-16-2008 08:09 PM

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

Originally Posted by Whosdaman (Post 418886)
I know where to change it....but it doesn't change....idk why, but I might throw the regsitry in somewhere else just so it adds it to my ROM

Well, hurry up and finger it out. Looks like dan is out getting his diamond, so your the big dawg now... :)

Whosdaman 09-16-2008 09:23 PM

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

Originally Posted by rstoyguy (Post 418895)
Well, hurry up and finger it out. Looks like dan is out getting his diamond, so your the big dawg now... :)

lol I don't need to change my ROM verison, the 3.09.666.1 nmber is kewl...it shows it's the latest version at least lol....maybe when the new SYS comes out I will work on it

rstoyguy 09-17-2008 08:38 AM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
did you happen to check the other ..\OEM\OperatorPKG\mxipupdate_oemoperators_10*.pro vxml files? That's where carriers set "their" stuff nowadays.

boggsie 09-17-2008 12:58 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
riddle me this, rstoyguy ...

How do you eliminate redundant or move Control Panel items around ?

For example, I have selected a few nueTools ...

nueDeviceLock
nuePowerCPL
nueStorageCP

Each of these items comes with a nue and improved control panel item, so I want to eliminate the existing system / OEM control panel item.

... and the preferred approach is to handle this with a USER_OEM so that I do not modify the existing Kitchens in PPCKitchen.

Thank you, kind sir!

Best regards,
-boggsie

rstoyguy 09-17-2008 01:26 PM

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

Originally Posted by boggsie (Post 420038)
riddle me this, rstoyguy ...

How do you eliminate redundant or move Control Panel items around ?

For example, I have selected a few nueTools ...

nueDeviceLock
nuePowerCPL
nueStorageCP

Each of these items comes with a nue and improved control panel item, so I want to eliminate the existing system / OEM control panel item.

... and the preferred approach is to handle this with a USER_OEM so that I do not modify the existing Kitchens in PPCKitchen.

Thank you, kind sir!

Best regards,
-boggsie

NEVER, EVER, NEVER go into the RAR FILES. :)

They are registered with registry entries. I don't have my laptop with me, so I'll have to get back with you on that. :) Check out some OEM's that make an entry like that. (search in ppckitchen_oem.rar for *.cpl)...one like the softkey applet, or one of the comm managers. Or can even look inside what your adding to see how it does it, then search your registry for the devicelock.cpl or whatever....

rstoyguy 09-17-2008 01:47 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
edit:You might find the following keys
HKLM\ControlPanel
and
HKLM\ControlPanel\MyCPL
to be of interest to ya...

boggsie 09-17-2008 02:11 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Ah, ok - ok ... go to the source and find out where it is being inserted and then remove those (hopefully) with provxml or reg files of my own.

If required, the items will still make it to \Windows\ but their visibility in the Control Panel area will have been removed.

Excellent strategy ... thanks so much!

Best regards,
-boggsie

tstack77 10-07-2008 08:29 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
I am trying to modify whosdaman's diamond ROM (v1.6 full) but can't get past the "PrepIt" stage with the vogue kitchen tools.

cmd.exe output:

Processing Input.nbh
Cleaning up prior runs....
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
.... Done.
Locating Starting .nbh...
.... Done.
Extracting the OS from the ROM...
C:\Vogue_Kitchen_tools\Temp\extract\02_OS.nb
.... Done.
1 file(s) copied.
Pulling boot.rgu....

In dumprom.exe I get an endless stream of this:

Error: could not find pointer for ofs 69685431
Error: could not find pointer for ofs 69685432
Error: could not find pointer for ofs 69685433
Error: could not find pointer for ofs 69685434
...(repeated indefinitely)

If I close out the dumprom window I'm prompted to terminate the batch job, if I select no it moves on to the other steps and everything seems fine. However, the modified ROM stalls on first boot when loading the OS after flashing.

This is the first and only ROM that I have had any issues with...is there something I am doing wrong or can somebody else replicate/solve this?

rstoyguy 10-07-2008 08:52 PM

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

Originally Posted by tstack77 (Post 449723)
I am trying to modify whosdaman's diamond ROM (v1.6 full) but can't get past the "PrepIt" stage with the vogue kitchen tools.

cmd.exe output:

Processing Input.nbh
Cleaning up prior runs....
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
.... Done.
Locating Starting .nbh...
.... Done.
Extracting the OS from the ROM...
C:\Vogue_Kitchen_tools\Temp\extract\02_OS.nb
.... Done.
1 file(s) copied.
Pulling boot.rgu....

In dumprom.exe I get an endless stream of this:

Error: could not find pointer for ofs 69685431
Error: could not find pointer for ofs 69685432
Error: could not find pointer for ofs 69685433
Error: could not find pointer for ofs 69685434
...(repeated indefinitely)

If I close out the dumprom window I'm prompted to terminate the batch job, if I select no it moves on to the other steps and everything seems fine. However, the modified ROM stalls on first boot when loading the OS after flashing.

This is the first and only ROM that I have had any issues with...is there something I am doing wrong or can somebody else replicate/solve this?

whodaman uses bepe's rom protection so you can't modify his rom. Why? I dunno. All the components are free.... Ask whodaman to release his kitchen.

spetrillo 10-09-2008 12:39 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
I tried using your tutorial to customize a ROM I wanted to work on, but I got continuous errors when the ROM was trying to be pulled apart. Does that mean it is locked?

Steve

PS - great tutorial.

rstoyguy 10-09-2008 01:03 PM

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

Originally Posted by spetrillo (Post 452095)
I tried using your tutorial to customize a ROM I wanted to work on, but I got continuous errors when the ROM was trying to be pulled apart. Does that mean it is locked?

Steve

PS - great tutorial.

Let me guess...whosdaman's rom? While he denies it/blames it on the ppckitchen, he uses protection on his roms. And these methods won't work because the build files have been modified and deletes the packaging information from the rom. I was gonna rebuild dharvey's rom for the community, but after looking at it, it was a standard rom that only had some image files replaced. Nothing spectacular. A standard ppckitchen build. Sometimes starting clean is the way to go. I always start with a stock rom now, but I used to start with old_man_jenkins roms

Who's rom was it?

spetrillo 10-09-2008 01:16 PM

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

Originally Posted by rstoyguy (Post 452135)
Let me guess...whosdaman's rom? While he denies it/blames it on the ppckitchen, he uses protection on his roms. And these methods won't work because the build files have been modified and deletes the packaging information from the rom. I was gonna rebuild dharvey's rom for the community, but after looking at it, it was a standard rom that only had some image files replaced. Nothing spectacular. A standard ppckitchen build. Sometimes starting clean is the way to go. I always start with a stock rom now, but I used to start with old_man_jenkins roms

Who's rom was it?

I should have read the msg above mine. Yes it is whosdaman. No worries. I now know the answer.

Regarding your ROM have you had any reports of devices hanging after the flash? I took yours and customized it for my use (thanks!), and after the flash it stuck right at the HTC screen.

Steve

rstoyguy 10-09-2008 03:15 PM

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

Originally Posted by spetrillo (Post 452153)
I should have read the msg above mine. Yes it is whosdaman. No worries. I now know the answer.

Regarding your ROM have you had any reports of devices hanging after the flash? I took yours and customized it for my use (thanks!), and after the flash it stuck right at the HTC screen.

Steve

I haven't heard of it hanging at the HTC screen, this usually happens if you decompile a ppckitchen build, rebuild it, then flash it. I beleive that this is when the rom copies the files around. Depends on what you have added it may take a minute. If you still are having problems, let me know what you have added/deleted and I'll see what I can help you with...

Whosdaman 10-09-2008 04:07 PM

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

Originally Posted by rstoyguy (Post 449746)
whodaman uses bepe's rom protection so you can't modify his rom. Why? I dunno. All the components are free.... Ask whodaman to release his kitchen.

Wrong again rstoyguy.....if you flash my rom and look at the favorites pages for PIE, you will see PPCGeeks.org is one of the favorites cause Colonel has added it somewhere in the kitchen to automatically put it in....if I was using NFSFAN's kitchen then that would not be in there, and I was using dogguys kitchen with Bebe's I would be using the Sprint ROM (or the new Alltel ROM) as my base and it would not contain the ppckitchen mods to the rom....

You can think I use NFSFAN's kitchen all you want, but I'm using PPCKitchen's and they have increased their ROM Protection so only thy can decompile it correct and know exactly where everything is.....

vetvito 10-09-2008 05:21 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
no such thing as protection

spetrillo 10-09-2008 06:03 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
I have only had the issue with WDM's ROM, which is what pushed me to think its protected. I have read a number of threads, both here and on XDA, about ROM protection.

I am not here to cast a vote in either direction, just to understand why the errors when I dont get it with any other ROM.

Steve

Whosdaman 10-09-2008 06:10 PM

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

Originally Posted by spetrillo (Post 452566)
I have only had the issue with WDM's ROM, which is what pushed me to think its protected. I have read a number of threads, both here and on XDA, about ROM protection.

I am not here to cast a vote in either direction, just to understand why the errors when I dont get it with any other ROM.

Steve

no idea....I am not doing anything different, all I do is update the ppckitchen everytime it says to do so, and I just make my oems and build my roms....thats it, I haven't do anything different since I started

Also Vet yes there is......thats why your ROMs can't be decomped, so cant DCD, and so can't mine now, except there is a way around it cause PPCKitchen can do it and it sets it up so they know where everything is.....

rstoyguy 10-09-2008 06:17 PM

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

Originally Posted by Whosdaman (Post 452414)
Wrong again rstoyguy.....if you flash my rom and look at the favorites pages for PIE, you will see PPCGeeks.org is one of the favorites cause Colonel has added it somewhere in the kitchen to automatically put it in....if I was using NFSFAN's kitchen then that would not be in there, and I was using dogguys kitchen with Bebe's I would be using the Sprint ROM (or the new Alltel ROM) as my base and it would not contain the ppckitchen mods to the rom....

You can think I use NFSFAN's kitchen all you want, but I'm using PPCKitchen's and they have increased their ROM Protection so only thy can decompile it correct and know exactly where everything is.....

See below...

Quote:

Originally Posted by vetvito (Post 452522)
no such thing as protection

Yep.

Quote:

Originally Posted by spetrillo (Post 452566)
I have only had the issue with WDM's ROM, which is what pushed me to think its protected. I have read a number of threads, both here and on XDA, about ROM protection.

I am not here to cast a vote in either direction, just to understand why the errors when I dont get it with any other ROM.

Steve

Let me rephrase what I have said. While whodamans rom may not have "protection", his rom has something that is preventing it from being de-compiled and reassembled into a base rom from which to build on.

spetrillo: I too do not have any problems when decompiling any other rom on here. Whether it was built with the ppckitchen, or dogguy's kitchen. That is why i chose the general word "protection". He has assured us there is none in his rom. Just choose a different base.

I'm not going to talk anymore about this now, other than the methods used in this thread will not work with whodamans roms.

spetrillo 10-11-2008 08:19 AM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Why do I get the following errors when running Prepit:

Processing Input.nbh
Cleaning up prior runs....
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
.... Done.
Locating Starting .nbh...

Should I be concerned or are they normal?

Thanks,
Steve

rstoyguy 10-11-2008 08:24 AM

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

Originally Posted by spetrillo (Post 454452)
Why do I get the following errors when running Prepit:

Processing Input.nbh
Cleaning up prior runs....
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
.... Done.
Locating Starting .nbh...

Should I be concerned or are they normal?

Thanks,
Steve

If you are starting with a clean kitchen, no. If you look inside "prepit.bat" here is what it is doing...


Code:


@REM
@REM Clean up anything prior
@REM
 
@echo Cleaning up prior runs....
 
@rd /s /q .\OEM
@rd /s /q .\SYS
@rd /s /q .\ROM
@rd /s /q .\Temp
@rd /s /q .\Temp2
@rd /s /q .\Output
@rd /s /q .\Logs


@mkdir .\Temp
@echo .... Done.
@echo Locating Starting .nbh...

With a clean kitchen and a new .nbh, it just can't delete the old directories is all. No worries...

spetrillo 10-11-2008 10:23 AM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Ok new one...

Got an error during the flash that the flash was corrupted. I am back to the bootloader screen. Why would this happen, and do I just need to flash a good ROM to be ok?

Steve

rstoyguy 10-11-2008 10:31 AM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Doing something cpu intensive while building/flashing, or running buildit.bat with buildos.exe still open would be things that I've run into before...rebuild and you should be fine.

spetrillo 10-11-2008 10:53 AM

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

Originally Posted by rstoyguy (Post 454507)
Doing something cpu intensive while building/flashing, or running buildit.bat with buildos.exe still open would be things that I've run into before...rebuild and you should be fine.

Yup I was backing up a hard drive while the flash was going. Ok next question...how can I change the name of Image Version to something I would want?

Steve

Update: nope it got to 100% and then told me it was corrupted with an error 270. Any other ideas?

spetrillo 10-11-2008 01:14 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Ok some more info...

I have taken another custom ROM and broke it apart and then put it back together and flashed it. It is hung at the boot screen. This is now the second one I am having the same issue (yours was the first). I am able to successfully flash the ROM straight away without splitting it apart.

So the question is...am I doing something wrong when I flash?

Steve

rstoyguy 10-11-2008 02:20 PM

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

Originally Posted by spetrillo (Post 454638)
Ok some more info...

I have taken another custom ROM and broke it apart and then put it back together and flashed it. It is hung at the boot screen. This is now the second one I am having the same issue (yours was the first). I am able to successfully flash the ROM straight away without splitting it apart.

So the question is...am I doing something wrong when I flash?

Steve

This doesn't work with all roms. With mine it should have worked... So you might post the steps you are taking when your processing the roms.

Roms that hang at the boot screens are usually roms made with the ppckitchen. You can identify those by looking in ..\kitchen\SYS\MetaData and see if there is a user.hv file there. If it's not there, don't waste your time on the rom...

wud_e 11-04-2008 02:27 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Hi, Thanks for this. I can't find OEM_PPCGeeks.rar though. I clicked on the link in a response you gave to a guy in the first page but it says the directory is not there. Do you know where I can find this? I also looked on the Kitchen Website.

Thanks in advance.

rstoyguy 11-04-2008 02:32 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
It is now called PPCKitchen_OEM.rar and available at ppckitchens manual downloads site.

mattdahack 11-08-2008 09:32 PM

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

Originally Posted by rstoyguy (Post 496077)
It is now called PPCKitchen_OEM.rar and available at ppckitchens manual downloads site.

that file is NOT there please check before you post

rstoyguy 11-08-2008 09:39 PM

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

Originally Posted by mattdahack (Post 506594)
that file is NOT there please check before you post

Um yes it is....Here is a direct link since you are having trouble...

I clicked on the above mentioned link, and copied the link to the file....hmmm... (thought you had me there for a minute, cause that original post was all from memory...)
http://ppckitchen.org/Downloads/PPCkitchen_OEM.rar

puff 11-09-2008 01:05 PM

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

Originally Posted by mattdahack (Post 506594)
that file is NOT there please check before you post

unless the ppckitchen crew did some updates or something, it should be exactly where rstoyguy said.

http://ppckitchen.org/Downloads/PPCkitchen_OEM.rar

oh look, i found it there :D

ivan1.ruiz 11-10-2008 10:48 PM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
Any way I can get a kitchen for the DIAMOND??? not the GF/TC kitchen though.

rstoyguy 11-10-2008 10:52 PM

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

Originally Posted by ivan1.ruiz (Post 510433)
Any way I can get a kitchen for the DIAMOND??? not the GF/TC kitchen though.

That's what theirs is based off of I beleive. You should be able to take their rom, copy prepit.bat over from this kitchen and you could work on a nice stock rom using all the same methods from here. That's what I've been doing...just no device to flash it too. :(

rstoyguy 11-11-2008 10:01 AM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
1 Attachment(s)
Here is prepit.bat so that you can play with the stock rom. Be sure to use their kitchen to start off with, it has a few changes to make it work on your specific device...

Just unarchive it into the root kitchen directory, copy the nbh you want to play with into the root as well, run prepit and voila! This will delete their SYS, ROM, and OEM directories and create new ones from your donor rom...

spetrillo 11-15-2008 11:10 AM

Re: How to Customize a Custom Rom: Adding/Removing Programs
 
I am trying to add my own dialer to a ROM, and when I run BuildOS I get an error saying one of the dialer images is already there, and then it dies. Is there anyway to just let it overwrite what is there, or what do I have to delete in order to let my dialer build correctly?

Ok some more info...it seems that you get the conflict when things exist in \OEM\OEMAPPS. So the real question is can I delete what is in OEMAPPS so that the conflicts dont happen. I am trying to use the leaked VZW ROM for this.

Steve

rstoyguy 11-15-2008 12:23 PM

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

Originally Posted by spetrillo (Post 520988)
I am trying to add my own dialer to a ROM, and when I run BuildOS I get an error saying one of the dialer images is already there, and then it dies. Is there anyway to just let it overwrite what is there, or what do I have to delete in order to let my dialer build correctly?

Ok some more info...it seems that you get the conflict when things exist in \OEM\OEMAPPS. So the real question is can I delete what is in OEMAPPS so that the conflicts dont happen. I am trying to use the leaked VZW ROM for this.

Steve

There will be duplicates. The best way to handle these is this.
- I have buildos open on the right half, and explorer open on the left with the OEM directory selected.
- As buildos pops up those "already exists" file errors, I type in the offending name into the search input box in explorer. Then delete the files that are usually in OEMAPPS.

But you don't want to delete the whole OEMAPPS, there is quite a bit of other stuff in there.

spetrillo 11-15-2008 02:44 PM

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

Originally Posted by rstoyguy (Post 521091)
There will be duplicates. The best way to handle these is this.
- I have buildos open on the right half, and explorer open on the left with the OEM directory selected.
- As buildos pops up those "already exists" file errors, I type in the offending name into the search input box in explorer. Then delete the files that are usually in OEMAPPS.

But you don't want to delete the whole OEMAPPS, there is quite a bit of other stuff in there.

This is way cool. So basically I can take this VZW stock ROM and then customize it to my liking.

One other thing..is it possible that BuildOS is double loading the OEMs. Some of the duplicates that I am running into look like they are coming from the OEMs I am trying to introduce. Based on that I am seeing BuildOS goes through SYS, then custom OEMS, OEMAPPS, and OEMDrivers.

Steve

rstoyguy 11-15-2008 04:23 PM

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

Originally Posted by spetrillo (Post 521250)
This is way cool. So basically I can take this VZW stock ROM and then customize it to my liking.

One other thing..is it possible that BuildOS is double loading the OEMs. Some of the duplicates that I am running into look like they are coming from the OEMs I am trying to introduce. Based on that I am seeing BuildOS goes through SYS, then custom OEMS, OEMAPPS, and OEMDrivers.

Steve

Yes, the duplicates are from your OEM's that you've added usually. The files in them will sometimes conflict with a file that your carrier has included. Usually files associated with a skinned application, such as your dialer.

Beware: It is addictive once you get the hang of it. If you click on my kitchen thread in my signature, I've already seperated out most of the commonly replaced components in my OEM packages...

spetrillo 11-15-2008 04:34 PM

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

Originally Posted by rstoyguy (Post 521397)
Yes, the duplicates are from your OEM's that you've added usually. The files in them will sometimes conflict with a file that your carrier has included. Usually files associated with a skinned application, such as your dialer.

Beware: It is addictive once you get the hang of it. If you click on my kitchen thread in my signature, I've already seperated out most of the commonly replaced components in my OEM packages...

It is incredibly addicting but very empowering at the same time. I am loving it and want my signature on my OWN ROM...thanks for all this!

One other question...where does the name of the image version come from? Right now it says 1.12.latti but I would like to put my own image name on it.

Steve


All times are GMT -4. The time now is 07:28 PM.

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


Content Relevant URLs by vBSEO 3.6.0