yashsingh1/xdaforums huggingface dataset:
[Touch GSM ROM Development] pkoper:
registry question

Please correct me if wrong....

In regards to the registry we have the *.rgu files and the default.hv. If there is an entry both files, which one is used to create the registry? Will it just corrupt or will something else happen.

Does it play a role where you add registry entries, ie rgu or default.hv? Creating my own packages I dump the registry after an install to see what values were added. Do I need to make a rgu to add into the rom???

thanks
[Touch GSM ROM Development] Noonski:
RGU in OEM folders get parsed after Sys rgu's i think. And they both simply overwrite replace the .hv values.

Leave the .hv files alone unless your just removing whole lines.

All you need to do is make empty folder in OEM with empty .DSM file with UID number and .RGU with same UID number. Safe as Unicode and don't forget the empty line.

I love the way you can export the registries as wince in the correct format using phm regedit.
[Touch GSM ROM Development] tiggerbcn:
Is it known anybody in that file defines the program NetworkWizard?. The fact is that I have looked in initflashfiles, default.hv, user.hv, etc ... and do not find as it puts itself on the file of direct access Settings/Connections/NetworkWizard.

Thank you
[Touch GSM ROM Development] Noonski:
It's a .CPL file any of these that you drop into the windows folder withou registry settings into without using initflashes will go into windows and show in Settings> SysteM. But since there are allready registry settings in rom from HTC it will show up in Connections ;)

I would never have expected two months ago that i'd be paid hacking into WinCe devices not even knowing what the F i'm doing.

So i'm learning a lot about the start up process lately. And all of it's very usefull for my hobby to.
[Touch GSM ROM Development] tiggerbcn:
Ahh, ok, and these files (.CPL) as they are opened?

Thanks
[Touch GSM ROM Development] Noonski:
Bad thing is you can't make a link to them directly but if you check my new SPC add on pack you can see how i made the links with Icons.
[Touch GSM ROM Development] Pharaohnough:
Noonski,

Are you referring to your Glass ROM published Wednesday?

I have a somehow related query: where can I find any applications that I install on top of your ROM? If I switch to the classic WM start menu I can find them in the 'Programs' folder but when using Quickmenu (by far the preferred option) they aren't visible. I am guessing this is probably because you've told Quickmenu to look for a custom Programs folder...
[Touch GSM ROM Development] Noonski:
Part of that method is that you shoulnd't need tom install anything at all.

I had a small explanation somewhere what is needed to check if an app can run in this manner. What do you need to get installed?

I'll check if this can be made into an Install once pack.
[Touch GSM ROM Development] Pharaohnough:
I've given it some thought and you are right; there really is no need to install any additional apps. The one I was HTC Home Customiser because I like to use a specific icon set and re-arrange the tabs but I just ended up overwriting the image files and editing the registry keys: much simpler and less system resources involved. Great ROM by the way!
[Touch GSM ROM Development] Swiftblade:
This thread should be a Sticky...

Hey Noonski,

Just wanted to bring this wonderful thread up for those interested in cooking their own Elf ROMs!

IMHO This should be a Sticky! :D

Cheers, Swiftblade
[Touch GSM ROM Development] alexanders:
I Try to extract the ROM with the file in SOUrce folder anda presse comand DUMPROM but a folder is empyt anda nothing happens!!! Help me?
[Touch GSM ROM Development] suracha:
minimum size

I can not flash any built ROM that OS.nb size is smaller than 50MB.

Is there any limitation about the OS.nb size and how can I break that limitation?
[Touch GSM ROM Development] pkoper:
^^ I agree
[Touch GSM ROM Development] yannick85:
Thank you for this tutorial. Is it possible to implement a navigation program for my proper use. Cause the RAM is not big and I have some free space on my ROM memory that I don't use....

Just for my own use, I will not post the ROM
[Touch GSM ROM Development] vibranze:
Hello

Hello Guys,

I'm the new owner of HTC XL/Elfin and wanna join/participate in this class.:)

First of all, thanks to Noonski for creating this thread as a medium for all of us to learn how to cook/customize ROM for Elf/Elfin.

Got some questions regarding the cooking tutorial provided by Noonski.

1. I'm using Blue Elfin v3.0 as a based ROM and what should I do after I followed this instruction?

http://xdaforums.com/showpost.php?p=1599608&postcount=73

2. In the instruction, it mentioned RUU_Signed.nbh and since SwiftBlade use Blue_ELFin_ROM_V3.nbh as a filename, can I just copy it to Source folder and rename it accordingly?

3. Before I asked the ques no.1, I took a step ahead by doing HyperCore\Panel\Build\BuildOS, performed option 1 & 2 successfully. When it came to option 3, I choose Os.nbh under "System", Elf as "Device"

and left the other options as it is. Is it correct?

4. If the no.3 is correct, then can I just copy back the newly created RUU_Signed.nbh back to Blue Elfin v3.0 RUU folder, rename it and execute start.bat?

Kindly advise.

Cheers,

Vibranze
[Touch GSM ROM Development] vibranze:
Hi Noonski,

But I thought in HTC EndKey, there is a setting for a "Long Press End Key" that we can configure it?

Did you try AE Button Plus?

Cheers,

Vibranze
[Touch GSM ROM Development] vippie:
These instructions were written when when there was no Elfin yet. I don't know if everything is compatible with the Elfin. Maybe you will need a Elfin base rom or RUU, I don't know. Maybe you can ask Swiftblade or Cloudyfa about the differences between Elf and Elfin/ElfXL cooking.
[Touch GSM ROM Development] warriorvibhu:
hey ppl someone help me i am not able to download any of the files posted by noonski in the initial posts as they aer ftp i dont know tried using ftp clients but no use...

@ noonski Can you plzz attach them here esp ALK.zip and RUU.zip
[Touch GSM ROM Development] NetrunnerAT:
Question about OEM Packs!!

I am Building my first OEM Pack in the moment. Point 1-16 are no problem.

How can i define the place for the files in the rom?
[Touch GSM ROM Development] warriorvibhu:
GUYS check my post above and plzz anyone who could download the files from ftp plzz attach them here so that ppl like me who were not able to download from FTP can also contribute in cooking rom.... THANKS.....
[Touch GSM ROM Development] cstewart:
It is probably obvious by those who have followed Noonski's work, but he has been absent on the forum since early December (Dec 7, 2007). He said that that he had been consumed by the cooking and he needed to get some things in order.

Noonski made valuable contributions of innovative tools, concepts, and of course serious amounts of time. I hope that he will again find his way back to XDA-Developers.
[Touch GSM ROM Development] pkoper:
Files attached...
[Touch GSM ROM Development] warriorvibhu:
My god pkoper thanks a lot dude been waiting for it since long now i can take steps forward... Thank you...

Hey man long time where are you noonski.......
[Touch GSM ROM Development] Carty:
Anyone? Im searching for this too..

Regards,

Carty..
[Touch GSM ROM Development] warriorvibhu:
Noonski Did all as you suggested and got no errors while extracting... BUt when i run BuildOs.exe i get the warning the buidOS.exe has encountered a problem and needs to close i tried reinstalling hypercore any ideas..... or if some one can upload his/her working BuildOs.exe file....it wud be nice thanks...............OH YES I AM USING WINDOWS XP....
[Touch GSM ROM Development] Noonski:
Set PagePool to 0MB

Disable all start ups and extra services in registry.

Also disable as much as possible launchers from HKLM\INIT

(do this with a life rom playing around restart to see what the effect is)

That should free up as much ram as possible.

Remove as much from Rom as possible will also get you more free RAM memory.
[Touch GSM ROM Development] Noonski:
Now i'm not cooking yet but if i'm right there should be an error log in the Dump Folder about the crash

Could also be .Net framework version that needs update.

But ussually when it crashes emediatly it crashes on double DSM files. (DSM files with same name but in different folders or multiple DSM files in same folder.
[Touch GSM ROM Development] Noonski:
Cannot be done yet.

It would require to change the ROM partition size......... Methinks.

It's a requirement written into the Bootloader not the update util if i'm correct.

Maybe some Genius that knows how to Patch the Bootloader up in Dev forums might be able to crack this....

Would be great to make a WM6.1 SL (Super Light)
[Touch GSM ROM Development] Noonski:
Tene doens't like us cooking PocketCm......

So i sttopped looking into this.

But Touchpal doesn't seem to be bothering XDA..... yet.
[Touch GSM ROM Development] Noonski:
Inside a selfmade package you can ad a initflshes.txt file which will tell where the files will be COPIED to after flashing.

You could also do everything in the initflashes.dat file in one of the OEM folders but you would need to take out two bytes with a hex editor after that.
[Touch GSM ROM Development] bram_smulders:
Hey noonski, Ive edited the initflashfiles.dat file without removing the extra 2 bytes.

Before editing rename the file to initflashfiles.txt , edit the file you want then save it as initflashfiles.txt and then rename it back to initflashfiles.dat.

Works all the time!!

gr. bram
[Touch GSM ROM Development] Noonski:
Good trick, diodn't know that.

And now Which Base would you advice at the moment and where can i find it ;)
[Touch GSM ROM Development] bram_smulders:
I use the one from shadow's rom. But i've been experimenting with the kitchen from bepe, and this is a good stable rom also...

gr. bram
[Touch GSM ROM Development] pkoper:
Which part in the ROM is responsible for the communication with AS?

I am using the ROM from Hdubli and ported it to German. Everything works fine, except AS does not recognize the phone.
[Touch GSM ROM Development] Noonski:
Hmm haven't had this as being a fault in a Rom itself..

Most of the time i had this it had to do with Active Sync on PC.

Funny i was allready planning sort of the same.

Shadow looked like a good base but i like a more official rom without missing RGU's so i to am going to use parts of Vepe's kitchen.

But i'm not really familiar with the way he's set it up so i'm just going for his Packs and drivers and port them over the Shadow Rom.
[Touch GSM ROM Development] pkoper:
I'll give Bepe's kitchen a go.... still no luck with AS

BTW. What does PDAViet do to make the ROM not dumpable???
[Touch GSM ROM Development] Noonski:
Not Create DSM.

Which means when you extract it it will see loads of files but no DSM info where they belong. And the RGU files also are gone integrated into HV and initflashes.txt of course will be in initflashes.dat

Methinks.
[Touch GSM ROM Development] Noonski:
Exe Graphics Modification Tutorial

I used to use Reshack to edit some Windows Exes and to find out which number an icon would have inside a .DLL file.

But replacing graphics with it didn’t work for WinMob.

The files wouldn’t run and needed to be signed.

I then found this signing script on another thread but it would pump out an error and still not sign the files.

Read the thread and found another way.

Search And Download PE Explorer.

Install it.

Open it.

Open “TodayButton.dll” which I have added in the attachment.

This comes from the Prada Menu for instance.

Choose “View >> Resources” from the top menu.

This should give you a tree look of what’s inside.

Open Bitmap, then right click “110” and choose “Save resource as”, and save “Bitmap_110” to an easy to find folder.

Edit the Bitmap into whatever you want it to look like.

After that back in PE Explorer double click on “110”.

You should get a new window.

Click on the Browse/folder button and browse to the changed graphic.

Click yes to confirm.

Then File Save as, And overwrite original file.

Now you have to run a command prompt in this folder.

Type in “sign TodayButton.dll”

Without the quotes.

If it says Succeeded your done.

Replace the new file in your Rom.

Now I haven’t tried this in all circumstances yet.

But it seams you should be able to do this on any file.

Don’t like the icon of Active Sync?, Replace it.

Euhm..... and there's also another way of doing this using the tools in thye HyperCore Kitchen.

You'll find Reshacker and a signing tool in the Core>HyperCore>Panel>Extra folder.

If you have a fully security unlocked rom you don't need to resign every file, but in case you do need to...
[Touch GSM ROM Development] Darklandz:
Hi all,

Quite new on PDA flashing, i followed the tut in this thread and extracted a rom but i still have some questions (maybe i overlooked it just reading this long thread)

i followed this (http://xdaforums.com/showpost.php?p=1599608&postcount=73) and all went ok...

But where (directory) is the extracted rom ? and is that directory the place where to edit and customize the rom before repacking it ?
[Touch GSM ROM Development] Noonski:
The extracted rom should be in Core\Hypercore\Build\

Seperated into ROM, OEM and Sys folders.

This wopuld be after the extract XIP step.
[Touch GSM ROM Development] Darklandz:
hmm strange, in the build dir i have:

Missing - wich have a load of file/directory's in it

Rom

Tools

Package

EDIT : Could this problem be because i'm extracting a CUSTOM rom and not an ORIGINAL rom ??
[Touch GSM ROM Development] Noonski:
Defitly because it's a Custom Rom.

When .DSM files are Empty or incorrect this will happen when you extract a rom.

It's anice way to know no one will use your Rom as a base.

Your using a wrong base to cook from.
[Touch GSM ROM Development] Darklandz:
Yea indeed, well i tried it with an original rom and all went quite ok, now i need to figure out what the next steps are.
[Touch GSM ROM Development] Darklandz:
ok next step ...

I downloaded your 100_NewBatteryIcons, so if i think right i need to unzip it and place the directory into SYS directory ?

i'll try it and try to build the rom, see how it goes ...
[Touch GSM ROM Development] Noonski:
Correct.

But beware That package will also give an error when you run BUILDOS as it will replace a file in the OEM folders.

So you have to take that file from the specific OEM folder and place it in the red X Packages folder.

Also the 100% battery icon will also change the PIN keyboard layout as the battery icon graphics are in the same file ;)

Havne't used that packages for ages but it's a nice start.
[Touch GSM ROM Development] Darklandz:
Cool thanks for the quick reply, indeed BUILDOS gave me an error, i'll post it here so other new cookers can learn from it to ...

The error i got is :

The file "temp\dump\phcanoverbmp.dll" allready exists

If i look in the status panel (on the bottom of BUILDOS) i see:

Error , last status:"Processing: OEM\OEMAPPS"

So this would point me out to go to C:\Core\HyperCore\Build\OEM\OEMAPPS and move the phcanoverbmp.dll to the (red X) Packages folder...

The problem is in C:\Core\HyperCore\Build\ there is NO packages folder.

EDIT:

It seems that Packages and Tools folder is missing, gonna copy them there and see how it goes ...

Ok this error seems to be solved but now i get another one ...

Could not find a part of the path 'C:\Core\HyperCore\build\ROM\XIP

and the status panel ...

Error , last status:"Creating shadow order file...

Well like i suspected, the HyperCore Kitchen did not install itself like it should have. Fixed that and now the BUILDOS did fine with no errors reported.

... My baby is born :) Flashed my first custom rom :)
[Touch GSM ROM Development] Noonski:
Congrats.

And now you can move to the new Bepe's much easier kitchen.

Gehehe.
[Touch GSM ROM Development] Darklandz:
How can i edit the .hv files ? I think i read somewhere that i need to convert to .rgu and back when finished.

How to do that ?

EDIT:

Found the script in the batch directory that does the job :) HV and RGU.bat
[Touch GSM ROM Development] Noonski:
I haven't done that in some time and i remeber that somehow te script didn't work for me.
[Touch GSM ROM Development] suracha:
CERegEditor

Try CERegEditor, the latest version can edit hv.

http://ceregeditor.mdsoft.pl/
[Touch GSM ROM Development] Darklandz:
Thanks suracha, i'll dowload it and check it out.
[Touch GSM ROM Development] Darklandz:
I didn't work right at first, but that was my fault, i launched the script from the batch directory ( in fact it did work but placed directory's and files in the root of the hard drive) ...

Launching it from panel/extract worked fine.
[Touch GSM ROM Development] Noonski:
TNX always interestesd in new apps.
[Touch GSM ROM Development] pkoper:
Hopefully I am not making a complete idiot of myself.....

What does the XIP actually do?

One can just interchange it from different ROM's?

Just having a hard time trying to make 6.1 German as I can't find a base to work of. So after replacing the mui's and editing the RGU's and provxml's there is still some weird stuff happening.

Which part exactly is the core OS?

Any pointers, hints???
[Touch GSM ROM Development] nik_for_you:
I am completely new to this..

then also i am trying..

I extract the rom and dump the XIP.

everything is fine..

Now I read almost whole the thread and people are discussing changing rgu files and all.

I didnt find any rgu file in build folder. there are SYS and OEM folder in it but all dlls.

how do i modify rgu???

I think that to delete a item from base rom i need to delete it from OEM or SYS dir and to add some new program i need to convert cab to oem and put it in to OEM folder .. right ??
[Touch GSM ROM Development] pkoper:
If extracting a cooked rom you will most likely not find any rgu files, ie the rom will not be re-cookable.

correct if I am wrong
[Touch GSM ROM Development] nik_for_you:
I am using shadow 2.0 to customise
[Touch GSM ROM Development] pkoper:
you would not find any rgu's there

try Noonski's version of Bepe's kitchen....
[Touch GSM ROM Development] nik_for_you:
After doing build OS I see DSM files in temp folder ..

Is it the same i can modify..
[Touch GSM ROM Development] pkoper:
normally you would do all changes and modifications before running buildos
[Touch GSM ROM Development] nik_for_you:
So I must change the base?? or wht
[Touch GSM ROM Development] pkoper:
what do you want to do?
[Touch GSM ROM Development] nik_for_you:
I want to customize !!

I have got one big problem..

I removed some packages and add some new.. build the rom and flashed..

Now I am no longer able to start my phone..

what should i do??

quick help would be appreciated..
[Touch GSM ROM Development] bytespider:
I know its not helpful but THIS is why im worried about creating a rom... tho i thinking the mistake was by removing too much!

Oh by the way - im writing a wrapper for the batch file you lot use.

Nice GUI interface to run BuildOs and such sizzle :)

Update:

- Copies files from Base directory into the build directory

- Runs BuildOs in the background

Plan:

- Have the ability to have several bases WM6 WM6.1 etc..

- Have packages that can can be added

- build up a build dir that is in the appropriate fromat for BuildOs

- Some how work out the compiled size of the packages

Yes i know this sounds like what Bepe is doing in BuildOs already - this is mearly a stop gap, until he fully implements features.

Mainly for my own use but thought someone else might be interested in using it... let me know.
[Touch GSM ROM Development] pkoper:
Play with bepe's kitchen first. You cannot do what you are doing with cloudys rom. selecting packages in buil OS is like adding and removing packages

just flash a working rom to your phone
[Touch GSM ROM Development] nik_for_you:
phone is not starting at all..

ir shows starting splash screen so cant connect to computer...

help....!!!!!!!!!!!
[Touch GSM ROM Development] pkoper:
put it in bootloader mode and flash from there
[Touch GSM ROM Development] nik_for_you:
but how to put in this mode
[Touch GSM ROM Development] pkoper:
remove battery,

press and hold camera button and on button,

put battery in,

wait and you will get the three coloured screen ( ie the bootloader ),

now connect the USB cable

if USB appears in bottom left corner in red letters then you can just flas a rom known to work
[Touch GSM ROM Development] nik_for_you:
I tried to update shadow rom and blue rom but it says image file is corrupted..
[Touch GSM ROM Development] Noonski:
Good Question.

I don''t have a hundred percent anwser for that.

But the XIP contains the information for memory size and such methinks.

And Same Device specifc drivers to.

For instance i have sucesfully Ported the files from Bepe's kitchen in combination with an original ELF 4mbPP XIP.

Buhuuuuut. I didn't manage to take over the extra information succesfully.

So id did get a WM6.1 rom with 4MB PP but Blouetooth and Storage Card where not working because the the newer drivers did not get registered correctly.

I'm also just F-in around and breaking stuff and then trying to find what makes it tick.

Pkoper is right without the rgu the final rom will have mayor issues if it even starts.

This happens when DSM files are left empty or made blank or removed completely.

The dsm files help when extracting to say wchich files are in rom but most important which folders they belong in.

So with blank DSM files extraction will not know if there were and where the rgu files belong.

It doesn't really matter where you put your packages.

But if your using hypercore with a backup of the OEM and SYS folder.

You need to cut and paste all removed files from OEM folders into packages. Otherwise when building the rom they will be placed back into their original place.
[Touch GSM ROM Development] nik_for_you:
but anything can help my disabled device??
[Touch GSM ROM Development] bytespider:
DID someone say this wasnt a OH **** my device is ****ed thread? Sorry to be a lil ***** and all bit im intrested in learinf about building roms :) hehe
[Touch GSM ROM Development] nik_for_you:
you gotta pass throuth this to learn build.. ;)
[Touch GSM ROM Development] nik_for_you:
please help to recover my device
[Touch GSM ROM Development] nik_for_you:
anyone??? help/..
[Touch GSM ROM Development] pkoper:
Try USPL first before flashing a stock rom
[Touch GSM ROM Development] nik_for_you:
In boot loader mode i m not able to run USPL
[Touch GSM ROM Development] bytespider:
Read the thread on recovery from bootloader then...
[Touch GSM ROM Development] Noonski:
Find an original Provider Pre 2.2 STOCK rom, preverable your own provider.

Don’t flash a cooked version.

Follow above instructions to get in bootloader and REMOVE SIM and SD card.

Then flash Original Rom onto phone.

I’ve been there it’s fixable.

Also maybe you need to kill Active Sync.

I Hope you are on XP.
[Touch GSM ROM Development] nik_for_you:
thanks for your reply so atleast now i knw that can is fixable :)

where do i find these provider pre 2.2 stock rom !
[Touch GSM ROM Development] Noonski:
http://rapidshare.com/files/38179418/RUU_Elf_DOPODASIA_WWE_1.11.707.1B_4.1.13.42_02.93. 90_Ship.exe

Or Google for RUU Shipped ELF Dopod/kpn/htc/t-mobile
[Touch GSM ROM Development] nik_for_you:
I tried above one .. It gave me error..
[Touch GSM ROM Development] bytespider:
sheeesh

Duplicated info ...

http://rapidshare.com/files/38179418/RUU_Elf_DOPODASIA_WWE_1.11.707.1B_4.1.13.42_02.93.90_Ship.exe
[Touch GSM ROM Development] Noonski:
http://xdaforums.com/showthread.php?t=347700

Screw it,

MTTY
[Touch GSM ROM Development] nik_for_you:
read above thread.. It is not helping..

It restarts on ResetDevice..